From 40a52c8ecf2c296d2a47e02f3e218a6fbfb1f169 Mon Sep 17 00:00:00 2001 From: ocobleseqx Date: Thu, 19 Oct 2023 23:59:30 +0200 Subject: [PATCH 1/5] bump go version to 1.20 and pulumi and terraform provider to latest Signed-off-by: ocobleseqx --- .devcontainer/Dockerfile | 2 +- .github/workflows/release.yml | 2 +- Makefile | 1 - examples/metal/generate.sh | 27 - .../cmd/pulumi-resource-equinix/schema.json | 9914 ++++++----------- provider/go.mod | 169 +- provider/go.sum | 1011 +- provider/resources.go | 51 + 8 files changed, 4421 insertions(+), 6756 deletions(-) delete mode 100755 examples/metal/generate.sh diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index c23b1a30..29a3e177 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -14,7 +14,7 @@ RUN apt-get update && \ # See README.md # Install go -ARG GO_VERSION=1.18.3 +ARG GO_VERSION=1.20.6 RUN rm -rf /usr/local/go && \ wget -O ${GO_VERSION}.tar.gz https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf ${GO_VERSION}.tar.gz && \ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da8c423a..bfab3294 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: - v*.*.* env: DOTNETVERSION: 7.0.x - GOVERSION: 1.19.x + GOVERSION: 1.20.x JAVAVERSION: "11" NODEVERSION: 16.x PYTHONVERSION: "3.9" diff --git a/Makefile b/Makefile index b2c53b48..f4b6f661 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,6 @@ build_nodejs:: cd sdk/nodejs/ && \ yarn install && \ yarn run tsc && \ - cp -R scripts/ bin && \ cp ../../README.md ../../LICENSE package.json yarn.lock ./bin/ && \ sed -i.bak -e "s/\$${VERSION}/$(VERSION)/g" ./bin/package.json diff --git a/examples/metal/generate.sh b/examples/metal/generate.sh deleted file mode 100755 index 8f8b0930..00000000 --- a/examples/metal/generate.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -pulumi convert --language python --out python --generate-only || true -pulumi convert --language typescript --out typescript --generate-only || true -pulumi convert --language java --out java --generate-only || true -pulumi convert --language go --out go || true -pulumi convert --language csharp --out csharp || true - -# Read each source file -TS_SRC=$(cat typescript/index.ts) -PY_SRC=$(cat python/__main__.py) -GO_SRC=$(cat go/main.go) -CS_SRC=$(cat csharp/Program.cs) -JAVA_SRC=$(cat java/src/main/java/generated_program/App.java) -## Skip first 3 lines -YAML_SRC=$(cat Pulumi.yaml | tail -n +4) - -CHOOSER='{{< chooser language "typescript,python,go,csharp,java,yaml" / >}}' -TS_BLOCK=$(printf "%s\n" '{{% choosable language "javascript,typescript" %}}' '' '```typescript' "$TS_SRC" '```' '' '{{% /choosable %}}') -PY_BLOCK=$(printf "%s\n" '{{% choosable language python %}}' '' '```python' "$PY_SRC" '```' '' '{{% /choosable %}}') -GO_BLOCK=$(printf "%s\n" '{{% choosable language go %}}' '' '```go' "$GO_SRC" '```' '' '{{% /choosable %}}') -CS_BLOCK=$(printf "%s\n" '{{% choosable language csharp %}}' '' '```csharp' "$CS_SRC" '```' '' '{{% /choosable %}}') -JAVA_BLOCK=$(printf "%s\n" '{{% choosable language java %}}' '' '```java' "$JAVA_SRC" '```' '' '{{% /choosable %}}') -YAML_BLOCK=$(printf "%s\n" '{{% choosable language yaml %}}' '' '```yaml' "$YAML_SRC" '```' '' '{{% /choosable %}}') - -# Write out to a file -printf "%s\n" "$CHOOSER" "" "$TS_BLOCK" "" "$PY_BLOCK" "" "$GO_BLOCK" "" "$CS_BLOCK" "" "$JAVA_BLOCK" "" "$YAML_BLOCK" > example.md diff --git a/provider/cmd/pulumi-resource-equinix/schema.json b/provider/cmd/pulumi-resource-equinix/schema.json index d2e953d1..24da79e5 100644 --- a/provider/cmd/pulumi-resource-equinix/schema.json +++ b/provider/cmd/pulumi-resource-equinix/schema.json @@ -19,30 +19,33 @@ }, "language": { "csharp": { - "compatibility": "tfbridge20", + "packageReferences": { + "Pulumi": "3.*" + }, "namespaces": { "equinix": "Equinix", "fabric": "Fabric", "metal": "Metal", "networkedge": "NetworkEdge" }, - "packageReferences": { - "Pulumi": "3.*" - }, + "compatibility": "tfbridge20", "rootNamespace": "Pulumi" }, "go": { - "generateExtraInputTypes": true, + "importBasePath": "github.com/equinix/pulumi-equinix/sdk/go/equinix", "generateResourceContainerTypes": true, - "importBasePath": "github.com/equinix/pulumi-equinix/sdk/go/equinix" + "generateExtraInputTypes": true }, "java": { "basePackage": "com.equinix", "buildFiles": "gradle", - "gradleNexusPublishPluginVersion": "" + "gradleNexusPublishPluginVersion": "", + "gradleTest": "" }, "nodejs": { - "compatibility": "tfbridge20", + "packageName": "@equinix-labs/pulumi-equinix", + "packageDescription": "A Pulumi package for creating and managing equinix cloud resources.", + "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/equinix/terraform-provider-equinix)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-equinix` repo](https://github.com/equinix/pulumi-equinix/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-equinix` repo](https://github.com/equinix/terraform-provider-equinix/issues).", "dependencies": { "@pulumi/pulumi": "^3.0.0" }, @@ -50,19 +53,17 @@ "@types/mime": "^2.0.0", "@types/node": "^10.0.0" }, - "disableUnionOutputTypes": true, - "packageDescription": "A Pulumi package for creating and managing equinix cloud resources.", - "packageName": "@equinix-labs/pulumi-equinix", - "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/equinix/terraform-provider-equinix)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-equinix` repo](https://github.com/equinix/pulumi-equinix/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-equinix` repo](https://github.com/equinix/terraform-provider-equinix/issues).", - "typescriptVersion": "" + "compatibility": "tfbridge20", + "disableUnionOutputTypes": true }, "python": { - "compatibility": "tfbridge20", "packageName": "pulumi_equinix", - "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/equinix/terraform-provider-equinix)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-equinix` repo](https://github.com/equinix/pulumi-equinix/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-equinix` repo](https://github.com/equinix/terraform-provider-equinix/issues).", "requires": { "pulumi": "\u003e=3.0.0,\u003c4.0.0" - } + }, + "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/equinix/terraform-provider-equinix)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-equinix` repo](https://github.com/equinix/pulumi-equinix/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-equinix` repo](https://github.com/equinix/terraform-provider-equinix/issues).", + "compatibility": "tfbridge20", + "pyproject": {} } }, "config": { @@ -104,37 +105,214 @@ } }, "types": { + "equinix:fabric/CloudRouterAccount:CloudRouterAccount": { + "properties": { + "accountNumber": { + "type": "integer", + "description": "Account Number\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "accountNumber" + ] + } + } + }, + "equinix:fabric/CloudRouterChangeLog:CloudRouterChangeLog": { + "properties": { + "createdBy": { + "type": "string" + }, + "createdByEmail": { + "type": "string" + }, + "createdByFullName": { + "type": "string" + }, + "createdDateTime": { + "type": "string" + }, + "deletedBy": { + "type": "string" + }, + "deletedByEmail": { + "type": "string" + }, + "deletedByFullName": { + "type": "string" + }, + "deletedDateTime": { + "type": "string" + }, + "updatedBy": { + "type": "string" + }, + "updatedByEmail": { + "type": "string" + }, + "updatedByFullName": { + "type": "string" + }, + "updatedDateTime": { + "type": "string" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "createdBy", + "createdByEmail", + "createdByFullName", + "createdDateTime", + "deletedBy", + "deletedByEmail", + "deletedByFullName", + "deletedDateTime", + "updatedBy", + "updatedByEmail", + "updatedByFullName", + "updatedDateTime" + ] + } + } + }, + "equinix:fabric/CloudRouterLocation:CloudRouterLocation": { + "properties": { + "ibx": { + "type": "string", + "description": "IBX Code\n" + }, + "metroCode": { + "type": "string", + "description": "Access point metro code\n" + }, + "metroName": { + "type": "string", + "description": "Access point metro name\n" + }, + "region": { + "type": "string", + "description": "Access point region\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "ibx", + "metroCode", + "metroName", + "region" + ] + } + } + }, + "equinix:fabric/CloudRouterNotification:CloudRouterNotification": { + "properties": { + "emails": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of contact emails\n" + }, + "sendInterval": { + "type": "string", + "description": "Send interval\n" + }, + "type": { + "type": "string", + "description": "Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS\n" + } + }, + "type": "object", + "required": [ + "emails", + "type" + ] + }, + "equinix:fabric/CloudRouterOrder:CloudRouterOrder": { + "properties": { + "billingTier": { + "type": "string", + "description": "Billing tier for connection bandwidth\n" + }, + "orderId": { + "type": "string", + "description": "Order Identification\n" + }, + "orderNumber": { + "type": "string", + "description": "Order Reference Number\n" + }, + "purchaseOrderNumber": { + "type": "string", + "description": "Purchase order number\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "orderId", + "orderNumber" + ] + } + } + }, + "equinix:fabric/CloudRouterPackage:CloudRouterPackage": { + "properties": { + "code": { + "type": "string", + "description": "Fabric Cloud Router package code\n" + } + }, + "type": "object", + "required": [ + "code" + ] + }, + "equinix:fabric/CloudRouterProject:CloudRouterProject": { + "properties": { + "href": { + "type": "string", + "description": "Unique Resource URL\n" + }, + "projectId": { + "type": "string", + "description": "Project Id\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "href", + "projectId" + ] + } + } + }, "equinix:fabric/ConnectionASide:ConnectionASide": { "properties": { "accessPoint": { "$ref": "#/types/equinix:fabric/ConnectionASideAccessPoint:ConnectionASideAccessPoint", - "description": "Point of access details\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Point of access details\n" }, "additionalInfo": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/ConnectionASideAdditionalInfo:ConnectionASideAdditionalInfo" }, - "description": "Connection side additional information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Connection side additional information\n" }, "serviceToken": { "$ref": "#/types/equinix:fabric/ConnectionASideServiceToken:ConnectionASideServiceToken", - "description": "For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets\n" } }, "type": "object" @@ -143,52 +321,30 @@ "properties": { "account": { "$ref": "#/types/equinix:fabric/ConnectionASideAccessPointAccount:ConnectionASideAccessPointAccount", - "description": "Customer account information that is associated with this connection\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Account\n" }, "authenticationKey": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Authentication key for provider based connections\n" }, "gateway": { "$ref": "#/types/equinix:fabric/ConnectionASideAccessPointGateway:ConnectionASideAccessPointGateway", - "language": { - "python": { - "mapCase": false - } - } + "deprecationMessage": "use router attribute instead; gateway is no longer a part of the supported backend" }, "interface": { "$ref": "#/types/equinix:fabric/ConnectionASideAccessPointInterface:ConnectionASideAccessPointInterface", - "language": { - "python": { - "mapCase": false - } - } + "description": "Virtual device interface\n" }, "linkProtocol": { "$ref": "#/types/equinix:fabric/ConnectionASideAccessPointLinkProtocol:ConnectionASideAccessPointLinkProtocol", - "language": { - "python": { - "mapCase": false - } - } + "description": "Connection link protocol\n" }, "location": { "$ref": "#/types/equinix:fabric/ConnectionASideAccessPointLocation:ConnectionASideAccessPointLocation", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point location\n" + }, + "network": { + "$ref": "#/types/equinix:fabric/ConnectionASideAccessPointNetwork:ConnectionASideAccessPointNetwork" }, "peeringType": { "type": "string", @@ -201,54 +357,34 @@ "$ref": "#/types/equinix:fabric/accessPointPeeringType:AccessPointPeeringType" } ], - "language": { - "python": { - "mapCase": false - } - } + "description": "Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL\n" }, "port": { "$ref": "#/types/equinix:fabric/ConnectionASideAccessPointPort:ConnectionASideAccessPointPort", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port access point information\n" }, "profile": { "$ref": "#/types/equinix:fabric/ConnectionASideAccessPointProfile:ConnectionASideAccessPointProfile", - "language": { - "python": { - "mapCase": false - } - } + "description": "Service Profile\n" }, "providerConnectionId": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Provider assigned Connection Id\n" + }, + "router": { + "$ref": "#/types/equinix:fabric/ConnectionASideAccessPointRouter:ConnectionASideAccessPointRouter", + "description": "Cloud Router access point information that replaces `gateway` (refers to below for nested schema)\n" }, "routingProtocols": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/ConnectionASideAccessPointRoutingProtocol:ConnectionASideAccessPointRoutingProtocol" }, - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point routing protocols configuration\n" }, "sellerRegion": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point seller region\n" }, "type": { "type": "string", @@ -261,20 +397,11 @@ "$ref": "#/types/equinix:fabric/accessPointType:AccessPointType" } ], - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "virtualDevice": { "$ref": "#/types/equinix:fabric/ConnectionASideAccessPointVirtualDevice:ConnectionASideAccessPointVirtualDevice", - "language": { - "python": { - "mapCase": false - } - } + "description": "Virtual device\n" } }, "type": "object", @@ -290,60 +417,25 @@ "equinix:fabric/ConnectionASideAccessPointAccount:ConnectionASideAccessPointAccount": { "properties": { "accountName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "accountNumber": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "globalCustId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrgId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrganizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "orgId": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "organizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -365,20 +457,11 @@ "properties": { "href": { "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique Resource Identifier\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -394,29 +477,15 @@ "properties": { "id": { "type": "string", - "description": "The ID of this resource.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "id\n" }, "type": { "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -441,36 +510,19 @@ "$ref": "#/types/equinix:fabric/accessPointLinkProtocolType:AccessPointLinkProtocolType" } ], - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "vlanCTag": { "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "description": "Vlan Customer Tag information, vlanCTag value specified for QINQ connections\n" }, "vlanSTag": { "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "description": "Vlan Provider Tag information, vlanSTag value specified for QINQ connections\n" }, "vlanTag": { "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "description": "Vlan Tag information, vlanTag value specified for DOT1Q connections\n" } }, "type": "object", @@ -488,11 +540,7 @@ "properties": { "ibx": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "IBX Code\n" }, "metroCode": { "type": "string", @@ -505,27 +553,15 @@ "$ref": "#/types/equinix:index/metro:Metro" } ], - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point metro code\n" }, "metroName": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point metro name\n" }, "region": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point region\n" } }, "type": "object", @@ -540,45 +576,46 @@ } } }, + "equinix:fabric/ConnectionASideAccessPointNetwork:ConnectionASideAccessPointNetwork": { + "properties": { + "href": { + "type": "string", + "description": "Unique Resource Identifier\n" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned interface identifier\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "href" + ] + } + } + }, "equinix:fabric/ConnectionASideAccessPointPort:ConnectionASideAccessPointPort": { "properties": { "href": { "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique Resource Identifier\n" }, "name": { "type": "string", - "description": "Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port name\n" }, "redundancies": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/ConnectionASideAccessPointPortRedundancy:ConnectionASideAccessPointPortRedundancy" }, - "description": "Redundancy Information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Redundancy Information\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -597,12 +634,7 @@ "properties": { "priority": { "type": "string", - "description": "Priority type- PRIMARY, SECONDARY\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Priority type- PRIMARY, SECONDARY\n" } }, "type": "object", @@ -621,37 +653,19 @@ "items": { "$ref": "#/types/equinix:fabric/ConnectionASideAccessPointProfileAccessPointTypeConfig:ConnectionASideAccessPointProfileAccessPointTypeConfig" }, - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point config information\n" }, "description": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "User-provided service description\n" }, "href": { "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique Resource Identifier\n" }, "name": { "type": "string", - "description": "Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port name\n" }, "type": { "type": "string", @@ -664,20 +678,11 @@ "$ref": "#/types/equinix:fabric/profileType:ProfileType" } ], - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -702,20 +707,11 @@ "properties": { "type": { "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -728,33 +724,39 @@ } } }, + "equinix:fabric/ConnectionASideAccessPointRouter:ConnectionASideAccessPointRouter": { + "properties": { + "href": { + "type": "string", + "description": "Unique Resource Identifier\n" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned interface identifier\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "href" + ] + } + } + }, "equinix:fabric/ConnectionASideAccessPointRoutingProtocol:ConnectionASideAccessPointRoutingProtocol": { "properties": { "state": { "type": "string", - "description": "Connection overall state\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Routing protocol instance state\n" }, "type": { "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object" @@ -763,29 +765,15 @@ "properties": { "href": { "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique Resource Identifier\n" }, "type": { "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -801,21 +789,11 @@ "properties": { "key": { "type": "string", - "description": "Additional information key\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Additional information key\n" }, "value": { "type": "string", - "description": "Additional information value\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Additional information value\n" } }, "type": "object" @@ -824,20 +802,11 @@ "properties": { "description": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "User-provided service description\n" }, "href": { "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique Resource Identifier\n" }, "type": { "type": "string", @@ -850,20 +819,11 @@ "$ref": "#/types/equinix:fabric/serviceTokenType:ServiceTokenType" } ], - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -879,60 +839,25 @@ "equinix:fabric/ConnectionAccount:ConnectionAccount": { "properties": { "accountName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "accountNumber": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "globalCustId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrgId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrganizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "orgId": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "organizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -950,126 +875,43 @@ } } }, - "equinix:fabric/ConnectionAdditionalInfo:ConnectionAdditionalInfo": { - "properties": { - "key": { - "type": "string", - "description": "Additional information key\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "value": { - "type": "string", - "description": "Additional information value\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object" - }, "equinix:fabric/ConnectionChangeLog:ConnectionChangeLog": { "properties": { "createdBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -1099,21 +941,11 @@ "items": { "type": "string" }, - "description": "Array of contact emails\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Array of contact emails\n" }, "sendInterval": { "type": "string", - "description": "Send interval\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Send interval\n" }, "type": { "type": "string", @@ -1126,12 +958,7 @@ "$ref": "#/types/equinix:fabric/notificationsType:NotificationsType" } ], - "description": "Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS\n" } }, "type": "object", @@ -1143,31 +970,16 @@ "equinix:fabric/ConnectionOperation:ConnectionOperation": { "properties": { "equinixStatus": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "errors": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/ConnectionOperationError:ConnectionOperationError" - }, - "language": { - "python": { - "mapCase": false - } } }, "providerStatus": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -1188,52 +1000,22 @@ "items": { "$ref": "#/types/equinix:fabric/ConnectionOperationErrorAdditionalInfo:ConnectionOperationErrorAdditionalInfo" }, - "description": "Connection additional information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Connection side additional information\n" }, "correlationId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "details": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "errorCode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "errorMessage": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "help": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -1253,20 +1035,10 @@ "equinix:fabric/ConnectionOperationErrorAdditionalInfo:ConnectionOperationErrorAdditionalInfo": { "properties": { "property": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "reason": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -1283,39 +1055,19 @@ "properties": { "billingTier": { "type": "string", - "description": "Billing tier for connection bandwidth\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Billing tier for connection bandwidth\n" }, "orderId": { "type": "string", - "description": "Order Identification\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Order Identification\n" }, "orderNumber": { "type": "string", - "description": "Order Reference Number\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Order Reference Number\n" }, "purchaseOrderNumber": { "type": "string", - "description": "Purchase order number\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Purchase order number\n" } }, "type": "object", @@ -1332,21 +1084,11 @@ "properties": { "href": { "type": "string", - "description": "Unique Resource URL\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique Resource URL\n" }, "projectId": { "type": "string", - "description": "Project Id\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Project Id\n" } }, "type": "object", @@ -1363,21 +1105,11 @@ "properties": { "group": { "type": "string", - "description": "Redundancy group identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Redundancy group identifier\n" }, "priority": { "type": "string", - "description": "Priority type- PRIMARY, SECONDARY\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Priority type- PRIMARY, SECONDARY\n" } }, "type": "object", @@ -1393,33 +1125,18 @@ "properties": { "accessPoint": { "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPoint:ConnectionZSideAccessPoint", - "description": "Point of access details\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Point of access details\n" }, "additionalInfo": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/ConnectionZSideAdditionalInfo:ConnectionZSideAdditionalInfo" }, - "description": "Connection side additional information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Connection side additional information\n" }, "serviceToken": { "$ref": "#/types/equinix:fabric/ConnectionZSideServiceToken:ConnectionZSideServiceToken", - "description": "For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets\n" } }, "type": "object" @@ -1428,52 +1145,30 @@ "properties": { "account": { "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPointAccount:ConnectionZSideAccessPointAccount", - "description": "Customer account information that is associated with this connection\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Account\n" }, "authenticationKey": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Authentication key for provider based connections\n" }, "gateway": { "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPointGateway:ConnectionZSideAccessPointGateway", - "language": { - "python": { - "mapCase": false - } - } + "deprecationMessage": "use router attribute instead; gateway is no longer a part of the supported backend" }, "interface": { "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPointInterface:ConnectionZSideAccessPointInterface", - "language": { - "python": { - "mapCase": false - } - } + "description": "Virtual device interface\n" }, "linkProtocol": { "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPointLinkProtocol:ConnectionZSideAccessPointLinkProtocol", - "language": { - "python": { - "mapCase": false - } - } + "description": "Connection link protocol\n" }, "location": { "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPointLocation:ConnectionZSideAccessPointLocation", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point location\n" + }, + "network": { + "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPointNetwork:ConnectionZSideAccessPointNetwork" }, "peeringType": { "type": "string", @@ -1486,54 +1181,34 @@ "$ref": "#/types/equinix:fabric/accessPointPeeringType:AccessPointPeeringType" } ], - "language": { - "python": { - "mapCase": false - } - } + "description": "Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL\n" }, "port": { "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPointPort:ConnectionZSideAccessPointPort", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port access point information\n" }, "profile": { "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPointProfile:ConnectionZSideAccessPointProfile", - "language": { - "python": { - "mapCase": false - } - } + "description": "Service Profile\n" }, "providerConnectionId": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Provider assigned Connection Id\n" + }, + "router": { + "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPointRouter:ConnectionZSideAccessPointRouter", + "description": "Cloud Router access point information that replaces `gateway` (refers to below for nested schema)\n" }, "routingProtocols": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPointRoutingProtocol:ConnectionZSideAccessPointRoutingProtocol" }, - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point routing protocols configuration\n" }, "sellerRegion": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point seller region\n" }, "type": { "type": "string", @@ -1546,20 +1221,11 @@ "$ref": "#/types/equinix:fabric/accessPointType:AccessPointType" } ], - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "virtualDevice": { "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPointVirtualDevice:ConnectionZSideAccessPointVirtualDevice", - "language": { - "python": { - "mapCase": false - } - } + "description": "Virtual device\n" } }, "type": "object", @@ -1575,60 +1241,25 @@ "equinix:fabric/ConnectionZSideAccessPointAccount:ConnectionZSideAccessPointAccount": { "properties": { "accountName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "accountNumber": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "globalCustId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrgId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrganizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "orgId": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "organizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -1650,20 +1281,11 @@ "properties": { "href": { "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique Resource Identifier\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -1679,29 +1301,15 @@ "properties": { "id": { "type": "string", - "description": "The ID of this resource.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "id\n" }, "type": { "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -1726,36 +1334,19 @@ "$ref": "#/types/equinix:fabric/accessPointLinkProtocolType:AccessPointLinkProtocolType" } ], - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "vlanCTag": { "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "description": "Vlan Customer Tag information, vlanCTag value specified for QINQ connections\n" }, "vlanSTag": { "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "description": "Vlan Provider Tag information, vlanSTag value specified for QINQ connections\n" }, "vlanTag": { "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "description": "Vlan Tag information, vlanTag value specified for DOT1Q connections\n" } }, "type": "object", @@ -1773,11 +1364,7 @@ "properties": { "ibx": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "IBX Code\n" }, "metroCode": { "type": "string", @@ -1790,27 +1377,15 @@ "$ref": "#/types/equinix:index/metro:Metro" } ], - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point metro code\n" }, "metroName": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point metro name\n" }, "region": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point region\n" } }, "type": "object", @@ -1825,45 +1400,46 @@ } } }, + "equinix:fabric/ConnectionZSideAccessPointNetwork:ConnectionZSideAccessPointNetwork": { + "properties": { + "href": { + "type": "string", + "description": "Unique Resource Identifier\n" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned interface identifier\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "href" + ] + } + } + }, "equinix:fabric/ConnectionZSideAccessPointPort:ConnectionZSideAccessPointPort": { "properties": { "href": { "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique Resource Identifier\n" }, "name": { "type": "string", - "description": "Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port name\n" }, "redundancies": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPointPortRedundancy:ConnectionZSideAccessPointPortRedundancy" }, - "description": "Redundancy Information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Redundancy Information\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -1882,12 +1458,7 @@ "properties": { "priority": { "type": "string", - "description": "Priority type- PRIMARY, SECONDARY\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Priority type- PRIMARY, SECONDARY\n" } }, "type": "object", @@ -1906,37 +1477,19 @@ "items": { "$ref": "#/types/equinix:fabric/ConnectionZSideAccessPointProfileAccessPointTypeConfig:ConnectionZSideAccessPointProfileAccessPointTypeConfig" }, - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point config information\n" }, "description": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "User-provided service description\n" }, "href": { "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique Resource Identifier\n" }, "name": { "type": "string", - "description": "Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port name\n" }, "type": { "type": "string", @@ -1949,20 +1502,11 @@ "$ref": "#/types/equinix:fabric/profileType:ProfileType" } ], - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -1987,20 +1531,11 @@ "properties": { "type": { "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -2013,33 +1548,39 @@ } } }, + "equinix:fabric/ConnectionZSideAccessPointRouter:ConnectionZSideAccessPointRouter": { + "properties": { + "href": { + "type": "string", + "description": "Unique Resource Identifier\n" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned interface identifier\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "href" + ] + } + } + }, "equinix:fabric/ConnectionZSideAccessPointRoutingProtocol:ConnectionZSideAccessPointRoutingProtocol": { "properties": { "state": { "type": "string", - "description": "Connection overall state\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Routing protocol instance state\n" }, "type": { "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object" @@ -2048,29 +1589,15 @@ "properties": { "href": { "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique Resource Identifier\n" }, "type": { "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -2086,21 +1613,11 @@ "properties": { "key": { "type": "string", - "description": "Additional information key\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Additional information key\n" }, "value": { "type": "string", - "description": "Additional information value\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Additional information value\n" } }, "type": "object" @@ -2109,20 +1626,11 @@ "properties": { "description": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "User-provided service description\n" }, "href": { "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique Resource Identifier\n" }, "type": { "type": "string", @@ -2135,20 +1643,11 @@ "$ref": "#/types/equinix:fabric/serviceTokenType:ServiceTokenType" } ], - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Interface type\n" }, "uuid": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix-assigned interface identifier\n" } }, "type": "object", @@ -2161,118 +1660,308 @@ } } }, - "equinix:fabric/ServiceProfileAccessPointTypeConfig:ServiceProfileAccessPointTypeConfig": { + "equinix:fabric/RoutingProtocolBfd:RoutingProtocolBfd": { "properties": { - "allowBandwidthAutoApproval": { - "type": "boolean", - "description": "Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "allowBandwidthUpgrade": { + "enabled": { "type": "boolean", - "description": "Availability of a bandwidth upgrade. The default is false\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Bidirectional Forwarding Detection enablement\n" }, - "allowCustomBandwidth": { - "type": "boolean", - "description": "Setting to enable or disable the ability of the buyer to customize the bandwidth\n", - "language": { - "python": { - "mapCase": false - } - } + "interval": { + "type": "string", + "description": "Interval range between the received BFD control packets\n" + } + }, + "type": "object", + "required": [ + "enabled" + ] + }, + "equinix:fabric/RoutingProtocolBgpIpv4:RoutingProtocolBgpIpv4": { + "properties": { + "customerPeerIp": { + "type": "string", + "description": "Customer side peering ip\n" }, - "allowRemoteConnections": { + "enabled": { "type": "boolean", - "description": "Setting to allow or prohibit remote connections to the service profile\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "apiConfig": { - "$ref": "#/types/equinix:fabric/ServiceProfileAccessPointTypeConfigApiConfig:ServiceProfileAccessPointTypeConfigApiConfig", - "description": "Api configuration details\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "authenticationKey": { - "$ref": "#/types/equinix:fabric/ServiceProfileAccessPointTypeConfigAuthenticationKey:ServiceProfileAccessPointTypeConfigAuthenticationKey", - "description": "Authentication key details\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "bandwidthAlertThreshold": { - "type": "number", - "description": "Percentage of port bandwidth at which an allocation alert is generated\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Admin status for the BGP session\n" }, - "connectionLabel": { + "equinixPeerIp": { "type": "string", - "description": "Custom name for Connection\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "connectionRedundancyRequired": { - "type": "boolean", - "description": "Mandate redundant connections\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix side peering ip\n" + } + }, + "type": "object", + "required": [ + "customerPeerIp" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "customerPeerIp", + "equinixPeerIp" + ] + } + } + }, + "equinix:fabric/RoutingProtocolBgpIpv6:RoutingProtocolBgpIpv6": { + "properties": { + "customerPeerIp": { + "type": "string", + "description": "Customer side peering ip\n" }, - "enableAutoGenerateServiceKey": { + "enabled": { "type": "boolean", - "description": "Enable auto generate service key\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Admin status for the BGP session\n" }, - "linkProtocolConfig": { - "$ref": "#/types/equinix:fabric/ServiceProfileAccessPointTypeConfigLinkProtocolConfig:ServiceProfileAccessPointTypeConfigLinkProtocolConfig", - "description": "Link protocol configuration details\n", - "language": { - "python": { - "mapCase": false - } + "equinixPeerIp": { + "type": "string", + "description": "Equinix side peering ip\n" + } + }, + "type": "object", + "required": [ + "customerPeerIp" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "customerPeerIp", + "equinixPeerIp" + ] + } + } + }, + "equinix:fabric/RoutingProtocolChange:RoutingProtocolChange": { + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "href", + "type", + "uuid" + ] + } + } + }, + "equinix:fabric/RoutingProtocolChangeLog:RoutingProtocolChangeLog": { + "properties": { + "createdBy": { + "type": "string" + }, + "createdByEmail": { + "type": "string" + }, + "createdByFullName": { + "type": "string" + }, + "createdDateTime": { + "type": "string" + }, + "deletedBy": { + "type": "string" + }, + "deletedByEmail": { + "type": "string" + }, + "deletedByFullName": { + "type": "string" + }, + "deletedDateTime": { + "type": "string" + }, + "updatedBy": { + "type": "string" + }, + "updatedByEmail": { + "type": "string" + }, + "updatedByFullName": { + "type": "string" + }, + "updatedDateTime": { + "type": "string" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "createdBy", + "createdByEmail", + "createdByFullName", + "createdDateTime", + "deletedBy", + "deletedByEmail", + "deletedByFullName", + "deletedDateTime", + "updatedBy", + "updatedByEmail", + "updatedByFullName", + "updatedDateTime" + ] + } + } + }, + "equinix:fabric/RoutingProtocolDirectIpv4:RoutingProtocolDirectIpv4": { + "properties": { + "equinixIfaceIp": { + "type": "string", + "description": "Equinix side Interface IP address\n" + } + }, + "type": "object", + "required": [ + "equinixIfaceIp" + ] + }, + "equinix:fabric/RoutingProtocolDirectIpv6:RoutingProtocolDirectIpv6": { + "properties": { + "equinixIfaceIp": { + "type": "string", + "description": "Equinix side Interface IP address\n" + } + }, + "type": "object" + }, + "equinix:fabric/RoutingProtocolOperation:RoutingProtocolOperation": { + "properties": { + "errors": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/RoutingProtocolOperationError:RoutingProtocolOperationError" } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "errors" + ] + } + } + }, + "equinix:fabric/RoutingProtocolOperationError:RoutingProtocolOperationError": { + "properties": { + "additionalInfos": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/RoutingProtocolOperationErrorAdditionalInfo:RoutingProtocolOperationErrorAdditionalInfo" + } + }, + "correlationId": { + "type": "string" + }, + "details": { + "type": "string" + }, + "errorCode": { + "type": "string" + }, + "errorMessage": { + "type": "string" + }, + "help": { + "type": "string" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "additionalInfos", + "correlationId", + "details", + "errorCode", + "errorMessage", + "help" + ] + } + } + }, + "equinix:fabric/RoutingProtocolOperationErrorAdditionalInfo:RoutingProtocolOperationErrorAdditionalInfo": { + "properties": { + "property": { + "type": "string" + }, + "reason": { + "type": "string" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "property", + "reason" + ] + } + } + }, + "equinix:fabric/ServiceProfileAccessPointTypeConfig:ServiceProfileAccessPointTypeConfig": { + "properties": { + "allowBandwidthAutoApproval": { + "type": "boolean", + "description": "Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller\n" + }, + "allowBandwidthUpgrade": { + "type": "boolean", + "description": "Availability of a bandwidth upgrade. The default is false\n" + }, + "allowCustomBandwidth": { + "type": "boolean", + "description": "Setting to enable or disable the ability of the buyer to customize the bandwidth\n" + }, + "allowRemoteConnections": { + "type": "boolean", + "description": "Setting to allow or prohibit remote connections to the service profile\n" + }, + "apiConfig": { + "$ref": "#/types/equinix:fabric/ServiceProfileAccessPointTypeConfigApiConfig:ServiceProfileAccessPointTypeConfigApiConfig", + "description": "Api configuration details\n" + }, + "authenticationKey": { + "$ref": "#/types/equinix:fabric/ServiceProfileAccessPointTypeConfigAuthenticationKey:ServiceProfileAccessPointTypeConfigAuthenticationKey", + "description": "Authentication key details\n" + }, + "bandwidthAlertThreshold": { + "type": "number", + "description": "Percentage of port bandwidth at which an allocation alert is generated\n" + }, + "connectionLabel": { + "type": "string", + "description": "Custom name for Connection\n" + }, + "connectionRedundancyRequired": { + "type": "boolean", + "description": "Mandate redundant connections\n" + }, + "enableAutoGenerateServiceKey": { + "type": "boolean", + "description": "Enable auto generate service key\n" + }, + "linkProtocolConfig": { + "$ref": "#/types/equinix:fabric/ServiceProfileAccessPointTypeConfigLinkProtocolConfig:ServiceProfileAccessPointTypeConfigLinkProtocolConfig", + "description": "Link protocol configuration details\n" }, "supportedBandwidths": { "type": "array", "items": { "type": "integer" }, - "description": "Supported bandwidths\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Supported bandwidths\n" }, "type": { "type": "string", @@ -2285,21 +1974,11 @@ "$ref": "#/types/equinix:fabric/profileAccessPointType:ProfileAccessPointType" } ], - "description": "Type of access point type config - VD, COLO\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Type of access point type config - VD, COLO\n" }, "uuid": { "type": "string", - "description": "Colo/Port Uuid\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Colo/Port Uuid\n" } }, "type": "object", @@ -2319,59 +1998,31 @@ "properties": { "allowOverSubscription": { "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "description": "Setting showing that oversubscription support is available (true) or not (false). The default is false\n" }, "apiAvailable": { "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "description": "Setting indicating whether the API is available (true) or not (false)\n" }, "bandwidthFromApi": { "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "description": "Bandwidth from api\n" }, "equinixManagedPort": { "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "description": "Setting indicating that the port is managed by Equinix (true) or not (false)\n" }, "equinixManagedVlan": { "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "description": "Setting indicating that the VLAN is managed by Equinix (true) or not (false)\n" }, "integrationId": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Integration id\n" }, "overSubscriptionLimit": { "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "description": "A cap on over subscription\n" } }, "type": "object" @@ -2380,28 +2031,15 @@ "properties": { "description": { "type": "string", - "description": "User-provided service description\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Description\n" }, "label": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Label\n" }, "required": { "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "description": "Required\n" } }, "type": "object" @@ -2410,27 +2048,15 @@ "properties": { "encapsulation": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port Encapsulation\n" }, "encapsulationStrategy": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Encapsulation strategy\n" }, "reuseVlanSTag": { "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "description": "Reuse vlan sTag\n" } }, "type": "object" @@ -2439,75 +2065,35 @@ "properties": { "accountName": { "type": "string", - "description": "Account Name\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Account Name\n" }, "accountNumber": { "type": "integer", - "description": "Account Number\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Account Number\n" }, "globalCustId": { "type": "string", - "description": "Global Customer organization identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Global Customer organization identifier\n" }, "globalOrgId": { "type": "string", - "description": "Global organization identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Global organization identifier\n" }, "globalOrganizationName": { "type": "string", - "description": "Global organization name\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Global organization name\n" }, "orgId": { "type": "integer", - "description": "Customer organization identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Customer organization identifier\n" }, "organizationName": { "type": "string", - "description": "Customer organization name\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Customer organization name\n" }, "ucmId": { "type": "string", - "description": "Enterprise datastore id\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Enterprise datastore id\n" } }, "type": "object" @@ -2515,100 +2101,40 @@ "equinix:fabric/ServiceProfileChangeLog:ServiceProfileChangeLog": { "properties": { "createdBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -2635,60 +2161,30 @@ "properties": { "captureInEmail": { "type": "boolean", - "description": "Required field\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Required field\n" }, "dataType": { "type": "string", - "description": "Data type\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Data type\n" }, "description": { "type": "string", - "description": "Description\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Description\n" }, "label": { "type": "string", - "description": "Label\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Label\n" }, "options": { "type": "array", "items": { "type": "string" }, - "description": "Options\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Options\n" }, "required": { "type": "boolean", - "description": "Required field\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Required field\n" } }, "type": "object", @@ -2702,33 +2198,18 @@ "properties": { "logo": { "type": "string", - "description": "Logo\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Logo\n" }, "processSteps": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/ServiceProfileMarketingInfoProcessStep:ServiceProfileMarketingInfoProcessStep" }, - "description": "Process Step\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Process Step\n" }, "promotion": { "type": "boolean", - "description": "Promotion\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Promotion\n" } }, "type": "object" @@ -2737,28 +2218,15 @@ "properties": { "description": { "type": "string", - "description": "User-provided service description\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Description\n" }, "subTitle": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Sub Title\n" }, "title": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Title\n" } }, "type": "object" @@ -2767,63 +2235,33 @@ "properties": { "code": { "type": "string", - "description": "Metro Code - Example SV\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Metro Code - Example SV\n" }, "displayName": { "type": "string", - "description": "Display Name\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Display Name\n" }, "ibxs": { "type": "array", "items": { "type": "string" }, - "description": "IBX- Equinix International Business Exchange list\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "IBX- Equinix International Business Exchange list\n" }, "inTrail": { "type": "boolean", - "description": "In Trail\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "In Trail\n" }, "name": { "type": "string", - "description": "Metro Name\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Metro Name\n" }, "sellerRegions": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "Seller Regions\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Seller Regions\n" } }, "type": "object" @@ -2835,21 +2273,11 @@ "items": { "type": "string" }, - "description": "Array of contact emails\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Array of contact emails\n" }, "sendInterval": { "type": "string", - "description": "Send interval\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Send interval\n" }, "type": { "type": "string", @@ -2862,12 +2290,7 @@ "$ref": "#/types/equinix:fabric/notificationsType:NotificationsType" } ], - "description": "Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS\n" } }, "type": "object", @@ -2880,57 +2303,27 @@ "properties": { "crossConnectId": { "type": "string", - "description": "Cross Connect Id\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Cross Connect Id\n" }, "location": { "$ref": "#/types/equinix:fabric/ServiceProfilePortLocation:ServiceProfilePortLocation", - "description": "Colo/Port Location\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Colo/Port Location\n" }, "sellerRegion": { "type": "string", - "description": "Seller Region\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Seller Region\n" }, "sellerRegionDescription": { "type": "string", - "description": "Seller Region details\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Seller Region details\n" }, "type": { "type": "string", - "description": "Colo/Port Type\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Colo/Port Type\n" }, "uuid": { "type": "string", - "description": "Colo/Port Uuid\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Colo/Port Uuid\n" } }, "type": "object", @@ -2943,35 +2336,19 @@ "properties": { "ibx": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "IBX Code\n" }, "metroCode": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point metro code\n" }, "metroName": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point metro name\n" }, "region": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point region\n" } }, "type": "object", @@ -2990,21 +2367,11 @@ "properties": { "href": { "type": "string", - "description": "Unique Resource URL\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique Resource URL\n" }, "projectId": { "type": "string", - "description": "Project Id\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Project Id\n" } }, "type": "object", @@ -3021,39 +2388,19 @@ "properties": { "interfaceUuid": { "type": "string", - "description": "Device Interface Uuid\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device Interface Uuid\n" }, "location": { "$ref": "#/types/equinix:fabric/ServiceProfileVirtualDeviceLocation:ServiceProfileVirtualDeviceLocation", - "description": "Device Location\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device Location\n" }, "type": { "type": "string", - "description": "Virtual Device Type\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Virtual Device Type\n" }, "uuid": { "type": "string", - "description": "Virtual Device Uuid\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Virtual Device Uuid\n" } }, "type": "object", @@ -3066,35 +2413,19 @@ "properties": { "ibx": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "IBX Code\n" }, "metroCode": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point metro code\n" }, "metroName": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point metro name\n" }, "region": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Access point region\n" } }, "type": "object", @@ -3217,29 +2548,39 @@ } ] }, - "equinix:fabric/getConnectionASide:getConnectionASide": { + "equinix:fabric/getCloudRouterAccount:getCloudRouterAccount": { "properties": { - "accessPoint": { - "$ref": "#/types/equinix:fabric/getConnectionASideAccessPoint:getConnectionASideAccessPoint", - "language": { - "python": { - "mapCase": false - } - } + "accountName": { + "type": "string" }, - "serviceToken": { - "$ref": "#/types/equinix:fabric/getConnectionASideServiceToken:getConnectionASideServiceToken", - "language": { - "python": { - "mapCase": false - } - } + "accountNumber": { + "type": "integer" + }, + "globalCustId": { + "type": "string" + }, + "globalOrgId": { + "type": "string" + }, + "globalOrganizationName": { + "type": "string" + }, + "orgId": { + "type": "integer" + }, + "organizationName": { + "type": "string" } }, "type": "object", "required": [ - "accessPoint", - "serviceToken" + "accountName", + "accountNumber", + "globalCustId", + "globalOrgId", + "globalOrganizationName", + "orgId", + "organizationName" ], "language": { "nodejs": { @@ -3247,136 +2588,282 @@ } } }, - "equinix:fabric/getConnectionASideAccessPoint:getConnectionASideAccessPoint": { + "equinix:fabric/getCloudRouterChangeLog:getCloudRouterChangeLog": { "properties": { - "accounts": { - "type": "array", - "items": { - "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointAccount:getConnectionASideAccessPointAccount" - }, - "description": "Customer account information that is associated with this connection\n", - "language": { - "python": { - "mapCase": false - } - } + "createdBy": { + "type": "string" }, - "authenticationKey": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "createdByEmail": { + "type": "string" }, - "gateways": { - "type": "array", - "items": { - "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointGateway:getConnectionASideAccessPointGateway" - }, - "language": { - "python": { - "mapCase": false - } - } + "createdByFullName": { + "type": "string" }, - "interfaces": { - "type": "array", - "items": { - "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointInterface:getConnectionASideAccessPointInterface" - }, - "language": { - "python": { - "mapCase": false - } - } + "createdDateTime": { + "type": "string" }, - "linkProtocols": { - "type": "array", - "items": { - "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointLinkProtocol:getConnectionASideAccessPointLinkProtocol" - }, - "language": { - "python": { - "mapCase": false - } - } + "deletedBy": { + "type": "string" }, - "locations": { - "type": "array", - "items": { - "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointLocation:getConnectionASideAccessPointLocation" - }, - "language": { - "python": { - "mapCase": false - } - } + "deletedByEmail": { + "type": "string" }, - "peeringType": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "deletedByFullName": { + "type": "string" }, - "ports": { - "type": "array", - "items": { - "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointPort:getConnectionASideAccessPointPort" - }, - "language": { - "python": { - "mapCase": false - } - } + "deletedDateTime": { + "type": "string" }, - "profiles": { - "type": "array", - "items": { - "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointProfile:getConnectionASideAccessPointProfile" - }, - "language": { - "python": { - "mapCase": false - } - } + "updatedBy": { + "type": "string" }, - "providerConnectionId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "updatedByEmail": { + "type": "string" }, - "sellerRegion": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "updatedByFullName": { + "type": "string" }, - "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } + "updatedDateTime": { + "type": "string" + } + }, + "type": "object", + "required": [ + "createdBy", + "createdByEmail", + "createdByFullName", + "createdDateTime", + "deletedBy", + "deletedByEmail", + "deletedByFullName", + "deletedDateTime", + "updatedBy", + "updatedByEmail", + "updatedByFullName", + "updatedDateTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getCloudRouterLocation:getCloudRouterLocation": { + "properties": { + "href": { + "type": "string" + }, + "ibx": { + "type": "string" + }, + "metroCode": { + "type": "string" + }, + "metroName": { + "type": "string" + }, + "region": { + "type": "string" + } + }, + "type": "object", + "required": [ + "href", + "ibx", + "metroCode", + "metroName", + "region" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getCloudRouterNotification:getCloudRouterNotification": { + "properties": { + "emails": { + "type": "array", + "items": { + "type": "string" + } + }, + "sendInterval": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "required": [ + "emails", + "sendInterval", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getCloudRouterOrder:getCloudRouterOrder": { + "properties": { + "billingTier": { + "type": "string" + }, + "orderId": { + "type": "string" + }, + "orderNumber": { + "type": "string" + }, + "purchaseOrderNumber": { + "type": "string" + } + }, + "type": "object", + "required": [ + "billingTier", + "orderId", + "orderNumber", + "purchaseOrderNumber" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getCloudRouterPackage:getCloudRouterPackage": { + "properties": { + "code": { + "type": "string" + } + }, + "type": "object", + "required": [ + "code" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getCloudRouterProject:getCloudRouterProject": { + "properties": { + "href": { + "type": "string", + "description": "Unique Resource URL\n" + }, + "projectId": { + "type": "string", + "description": "Project Id\n" + } + }, + "type": "object", + "required": [ + "href", + "projectId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getConnectionASide:getConnectionASide": { + "properties": { + "accessPoint": { + "$ref": "#/types/equinix:fabric/getConnectionASideAccessPoint:getConnectionASideAccessPoint" + }, + "serviceToken": { + "$ref": "#/types/equinix:fabric/getConnectionASideServiceToken:getConnectionASideServiceToken" + } + }, + "type": "object", + "required": [ + "accessPoint", + "serviceToken" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getConnectionASideAccessPoint:getConnectionASideAccessPoint": { + "properties": { + "accounts": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointAccount:getConnectionASideAccessPointAccount" } }, + "authenticationKey": { + "type": "string" + }, + "gateways": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointGateway:getConnectionASideAccessPointGateway" + }, + "deprecationMessage": "router attribute will be returned instead" + }, + "interfaces": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointInterface:getConnectionASideAccessPointInterface" + } + }, + "linkProtocols": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointLinkProtocol:getConnectionASideAccessPointLinkProtocol" + } + }, + "locations": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointLocation:getConnectionASideAccessPointLocation" + } + }, + "peeringType": { + "type": "string" + }, + "ports": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointPort:getConnectionASideAccessPointPort" + } + }, + "profiles": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointProfile:getConnectionASideAccessPointProfile" + } + }, + "providerConnectionId": { + "type": "string" + }, + "routers": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointRouter:getConnectionASideAccessPointRouter" + }, + "description": "CloudRouter; Replaces `gateway` attribute (Set of Object)\n" + }, + "sellerRegion": { + "type": "string" + }, + "type": { + "type": "string" + }, "virtualDevices": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointVirtualDevice:getConnectionASideAccessPointVirtualDevice" - }, - "language": { - "python": { - "mapCase": false - } } } }, @@ -3392,6 +2879,7 @@ "ports", "profiles", "providerConnectionId", + "routers", "sellerRegion", "type", "virtualDevices" @@ -3405,60 +2893,25 @@ "equinix:fabric/getConnectionASideAccessPointAccount:getConnectionASideAccessPointAccount": { "properties": { "accountName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "accountNumber": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "globalCustId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrgId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrganizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "orgId": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "organizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -3480,31 +2933,13 @@ "equinix:fabric/getConnectionASideAccessPointGateway:getConnectionASideAccessPointGateway": { "properties": { "href": { - "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "state": { - "type": "string", - "description": "Connection overall state\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -3522,31 +2957,13 @@ "equinix:fabric/getConnectionASideAccessPointInterface:getConnectionASideAccessPointInterface": { "properties": { "id": { - "type": "string", - "description": "The ID of this resource.\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -3564,37 +2981,16 @@ "equinix:fabric/getConnectionASideAccessPointLinkProtocol:getConnectionASideAccessPointLinkProtocol": { "properties": { "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "vlanCTag": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "vlanSTag": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "vlanTag": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" } }, "type": "object", @@ -3613,45 +3009,19 @@ "equinix:fabric/getConnectionASideAccessPointLocation:getConnectionASideAccessPointLocation": { "properties": { "href": { - "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "ibx": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "metroCode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "metroName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "region": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -3671,43 +3041,19 @@ "equinix:fabric/getConnectionASideAccessPointPort:getConnectionASideAccessPointPort": { "properties": { "href": { - "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "name": { - "type": "string", - "description": "Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "redundancies": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointPortRedundancy:getConnectionASideAccessPointPortRedundancy" - }, - "description": "Redundancy Information\n", - "language": { - "python": { - "mapCase": false - } } }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -3726,12 +3072,7 @@ "equinix:fabric/getConnectionASideAccessPointPortRedundancy:getConnectionASideAccessPointPortRedundancy": { "properties": { "priority": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -3750,57 +3091,22 @@ "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointProfileAccessPointTypeConfig:getConnectionASideAccessPointProfileAccessPointTypeConfig" - }, - "language": { - "python": { - "mapCase": false - } } }, "description": { - "type": "string", - "description": "Customer-provided connection description\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "href": { - "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "name": { - "type": "string", - "description": "Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -3821,130 +3127,58 @@ "equinix:fabric/getConnectionASideAccessPointProfileAccessPointTypeConfig:getConnectionASideAccessPointProfileAccessPointTypeConfig": { "properties": { "allowBandwidthAutoApproval": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "allowBandwidthUpgrade": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "allowCustomBandwidth": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "allowRemoteConnections": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "apiConfigs": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig:getConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig" - }, - "language": { - "python": { - "mapCase": false - } } }, "authenticationKeys": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey:getConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey" - }, - "language": { - "python": { - "mapCase": false - } } }, "bandwidthAlertThreshold": { - "type": "number", - "language": { - "python": { - "mapCase": false - } - } + "type": "number" }, "connectionLabel": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "connectionRedundancyRequired": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "enableAutoGenerateServiceKey": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "linkProtocolConfigs": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig:getConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig" - }, - "language": { - "python": { - "mapCase": false - } } }, "supportedBandwidths": { "type": "array", "items": { "type": "integer" - }, - "language": { - "python": { - "mapCase": false - } } }, "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -3973,60 +3207,25 @@ "equinix:fabric/getConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig:getConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig": { "properties": { "allowOverSubscription": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "apiAvailable": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "bandwidthFromApi": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "equinixManagedPort": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "equinixManagedVlan": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "integrationId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "overSubscriptionLimit": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" } }, "type": "object", @@ -4047,30 +3246,14 @@ }, "equinix:fabric/getConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey:getConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey": { "properties": { - "description": { - "type": "string", - "description": "Customer-provided connection description\n", - "language": { - "python": { - "mapCase": false - } - } + "description": { + "type": "string" }, "label": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "required": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" } }, "type": "object", @@ -4088,28 +3271,13 @@ "equinix:fabric/getConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig:getConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig": { "properties": { "encapsulation": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "encapsulationStrategy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "reuseVlanSTag": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" } }, "type": "object", @@ -4124,34 +3292,40 @@ } } }, + "equinix:fabric/getConnectionASideAccessPointRouter:getConnectionASideAccessPointRouter": { + "properties": { + "href": { + "type": "string" + }, + "state": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "type": "object", + "required": [ + "href", + "state", + "uuid" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "equinix:fabric/getConnectionASideAccessPointVirtualDevice:getConnectionASideAccessPointVirtualDevice": { "properties": { "href": { - "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -4169,40 +3343,16 @@ "equinix:fabric/getConnectionASideServiceToken:getConnectionASideServiceToken": { "properties": { "description": { - "type": "string", - "description": "Customer-provided connection description\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "href": { - "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -4221,60 +3371,25 @@ "equinix:fabric/getConnectionAccount:getConnectionAccount": { "properties": { "accountName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "accountNumber": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "globalCustId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrgId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrganizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "orgId": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "organizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -4296,20 +3411,10 @@ "equinix:fabric/getConnectionAdditionalInfo:getConnectionAdditionalInfo": { "properties": { "key": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "value": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -4326,100 +3431,40 @@ "equinix:fabric/getConnectionChangeLog:getConnectionChangeLog": { "properties": { "createdBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -4449,29 +3494,13 @@ "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, "sendInterval": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -4489,31 +3518,16 @@ "equinix:fabric/getConnectionOperation:getConnectionOperation": { "properties": { "equinixStatus": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "errors": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionOperationError:getConnectionOperationError" - }, - "language": { - "python": { - "mapCase": false - } } }, "providerStatus": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -4534,53 +3548,22 @@ "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionOperationErrorAdditionalInfo:getConnectionOperationErrorAdditionalInfo" - }, - "description": "Connection additional information\n", - "language": { - "python": { - "mapCase": false - } } }, "correlationId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "details": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "errorCode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "errorMessage": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "help": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -4601,20 +3584,10 @@ "equinix:fabric/getConnectionOperationErrorAdditionalInfo:getConnectionOperationErrorAdditionalInfo": { "properties": { "property": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "reason": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -4631,36 +3604,16 @@ "equinix:fabric/getConnectionOrder:getConnectionOrder": { "properties": { "billingTier": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "orderId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "orderNumber": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "purchaseOrderNumber": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -4680,21 +3633,11 @@ "properties": { "href": { "type": "string", - "description": "Unique Resource URL\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique Resource URL\n" }, "projectId": { "type": "string", - "description": "Project Id\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Project Id\n" } }, "type": "object", @@ -4711,20 +3654,10 @@ "equinix:fabric/getConnectionRedundancy:getConnectionRedundancy": { "properties": { "group": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "priority": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -4741,20 +3674,10 @@ "equinix:fabric/getConnectionZSide:getConnectionZSide": { "properties": { "accessPoint": { - "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPoint:getConnectionZSideAccessPoint", - "language": { - "python": { - "mapCase": false - } - } + "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPoint:getConnectionZSideAccessPoint" }, "serviceToken": { - "$ref": "#/types/equinix:fabric/getConnectionZSideServiceToken:getConnectionZSideServiceToken", - "language": { - "python": { - "mapCase": false - } - } + "$ref": "#/types/equinix:fabric/getConnectionZSideServiceToken:getConnectionZSideServiceToken" } }, "type": "object", @@ -4774,130 +3697,71 @@ "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointAccount:getConnectionZSideAccessPointAccount" - }, - "description": "Customer account information that is associated with this connection\n", - "language": { - "python": { - "mapCase": false - } } }, "authenticationKey": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "gateways": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointGateway:getConnectionZSideAccessPointGateway" }, - "language": { - "python": { - "mapCase": false - } - } + "deprecationMessage": "router attribute will be returned instead" }, "interfaces": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointInterface:getConnectionZSideAccessPointInterface" - }, - "language": { - "python": { - "mapCase": false - } } }, "linkProtocols": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointLinkProtocol:getConnectionZSideAccessPointLinkProtocol" - }, - "language": { - "python": { - "mapCase": false - } } }, "locations": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointLocation:getConnectionZSideAccessPointLocation" - }, - "language": { - "python": { - "mapCase": false - } - } - }, - "peeringType": { - "type": "string", - "language": { - "python": { - "mapCase": false - } } }, + "peeringType": { + "type": "string" + }, "ports": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointPort:getConnectionZSideAccessPointPort" - }, - "language": { - "python": { - "mapCase": false - } } }, "profiles": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointProfile:getConnectionZSideAccessPointProfile" - }, - "language": { - "python": { - "mapCase": false - } } }, "providerConnectionId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" + }, + "routers": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointRouter:getConnectionZSideAccessPointRouter" + }, + "description": "CloudRouter; Replaces `gateway` attribute (Set of Object)\n" }, "sellerRegion": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "virtualDevices": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointVirtualDevice:getConnectionZSideAccessPointVirtualDevice" - }, - "language": { - "python": { - "mapCase": false - } } } }, @@ -4913,6 +3777,7 @@ "ports", "profiles", "providerConnectionId", + "routers", "sellerRegion", "type", "virtualDevices" @@ -4926,60 +3791,25 @@ "equinix:fabric/getConnectionZSideAccessPointAccount:getConnectionZSideAccessPointAccount": { "properties": { "accountName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "accountNumber": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "globalCustId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrgId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrganizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "orgId": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "organizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -5001,31 +3831,13 @@ "equinix:fabric/getConnectionZSideAccessPointGateway:getConnectionZSideAccessPointGateway": { "properties": { "href": { - "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "state": { - "type": "string", - "description": "Connection overall state\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -5043,31 +3855,13 @@ "equinix:fabric/getConnectionZSideAccessPointInterface:getConnectionZSideAccessPointInterface": { "properties": { "id": { - "type": "string", - "description": "The ID of this resource.\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -5085,37 +3879,16 @@ "equinix:fabric/getConnectionZSideAccessPointLinkProtocol:getConnectionZSideAccessPointLinkProtocol": { "properties": { "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "vlanCTag": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "vlanSTag": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "vlanTag": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" } }, "type": "object", @@ -5134,45 +3907,19 @@ "equinix:fabric/getConnectionZSideAccessPointLocation:getConnectionZSideAccessPointLocation": { "properties": { "href": { - "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "ibx": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "metroCode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "metroName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "region": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -5192,43 +3939,19 @@ "equinix:fabric/getConnectionZSideAccessPointPort:getConnectionZSideAccessPointPort": { "properties": { "href": { - "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "name": { - "type": "string", - "description": "Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "redundancies": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointPortRedundancy:getConnectionZSideAccessPointPortRedundancy" - }, - "description": "Redundancy Information\n", - "language": { - "python": { - "mapCase": false - } } }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -5247,12 +3970,7 @@ "equinix:fabric/getConnectionZSideAccessPointPortRedundancy:getConnectionZSideAccessPointPortRedundancy": { "properties": { "priority": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -5271,57 +3989,22 @@ "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointProfileAccessPointTypeConfig:getConnectionZSideAccessPointProfileAccessPointTypeConfig" - }, - "language": { - "python": { - "mapCase": false - } } }, "description": { - "type": "string", - "description": "Customer-provided connection description\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "href": { - "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "name": { - "type": "string", - "description": "Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -5342,130 +4025,58 @@ "equinix:fabric/getConnectionZSideAccessPointProfileAccessPointTypeConfig:getConnectionZSideAccessPointProfileAccessPointTypeConfig": { "properties": { "allowBandwidthAutoApproval": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "allowBandwidthUpgrade": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "allowCustomBandwidth": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "allowRemoteConnections": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "apiConfigs": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig:getConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig" - }, - "language": { - "python": { - "mapCase": false - } } }, "authenticationKeys": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey:getConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey" - }, - "language": { - "python": { - "mapCase": false - } } }, "bandwidthAlertThreshold": { - "type": "number", - "language": { - "python": { - "mapCase": false - } - } + "type": "number" }, "connectionLabel": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "connectionRedundancyRequired": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "enableAutoGenerateServiceKey": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "linkProtocolConfigs": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig:getConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig" - }, - "language": { - "python": { - "mapCase": false - } } }, "supportedBandwidths": { "type": "array", "items": { "type": "integer" - }, - "language": { - "python": { - "mapCase": false - } } }, "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -5494,60 +4105,25 @@ "equinix:fabric/getConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig:getConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig": { "properties": { "allowOverSubscription": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "apiAvailable": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "bandwidthFromApi": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "equinixManagedPort": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "equinixManagedVlan": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "integrationId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "overSubscriptionLimit": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" } }, "type": "object", @@ -5569,29 +4145,13 @@ "equinix:fabric/getConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey:getConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey": { "properties": { "description": { - "type": "string", - "description": "Customer-provided connection description\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "label": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "required": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" } }, "type": "object", @@ -5606,38 +4166,47 @@ } } }, - "equinix:fabric/getConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig:getConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig": { + "equinix:fabric/getConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig:getConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig": { + "properties": { + "encapsulation": { + "type": "string" + }, + "encapsulationStrategy": { + "type": "string" + }, + "reuseVlanSTag": { + "type": "boolean" + } + }, + "type": "object", + "required": [ + "encapsulation", + "encapsulationStrategy", + "reuseVlanSTag" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getConnectionZSideAccessPointRouter:getConnectionZSideAccessPointRouter": { "properties": { - "encapsulation": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "href": { + "type": "string" }, - "encapsulationStrategy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "state": { + "type": "string" }, - "reuseVlanSTag": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "uuid": { + "type": "string" } }, "type": "object", "required": [ - "encapsulation", - "encapsulationStrategy", - "reuseVlanSTag" + "href", + "state", + "uuid" ], "language": { "nodejs": { @@ -5648,31 +4217,13 @@ "equinix:fabric/getConnectionZSideAccessPointVirtualDevice:getConnectionZSideAccessPointVirtualDevice": { "properties": { "href": { - "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -5690,40 +4241,16 @@ "equinix:fabric/getConnectionZSideServiceToken:getConnectionZSideServiceToken": { "properties": { "description": { - "type": "string", - "description": "Customer-provided connection description\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "href": { - "type": "string", - "description": "Connection URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -5742,60 +4269,25 @@ "equinix:fabric/getPortAccount:getPortAccount": { "properties": { "accountName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "accountNumber": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "globalCustId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrgId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrganizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "orgId": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "organizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -5817,100 +4309,40 @@ "equinix:fabric/getPortChangeLog:getPortChangeLog": { "properties": { "createdBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -5937,24 +4369,12 @@ "equinix:fabric/getPortDevice:getPortDevice": { "properties": { "name": { - "type": "string", - "description": "Port name\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "redundancies": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getPortDeviceRedundancy:getPortDeviceRedundancy" - }, - "description": "Port redundancy information\n", - "language": { - "python": { - "mapCase": false - } } } }, @@ -5972,20 +4392,10 @@ "equinix:fabric/getPortDeviceRedundancy:getPortDeviceRedundancy": { "properties": { "group": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "priority": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -6002,21 +4412,10 @@ "equinix:fabric/getPortEncapsulation:getPortEncapsulation": { "properties": { "tagProtocolId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "description": "Port type\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -6030,98 +4429,22 @@ } } }, - "equinix:fabric/getPortLag:getPortLag": { - "properties": { - "enabled": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - }, - "id": { - "type": "string", - "description": "The ID of this resource.\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "memberStatus": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "name": { - "type": "string", - "description": "Port name\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "required": [ - "enabled", - "id", - "memberStatus", - "name" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, "equinix:fabric/getPortLocation:getPortLocation": { "properties": { "href": { - "type": "string", - "description": "Port URI information\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "ibx": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "metroCode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "metroName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "region": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -6141,28 +4464,13 @@ "equinix:fabric/getPortOperation:getPortOperation": { "properties": { "connectionCount": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "opStatusChangedAt": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "operationalStatus": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -6180,28 +4488,13 @@ "equinix:fabric/getPortRedundancy:getPortRedundancy": { "properties": { "enabled": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "group": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "priority": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -6222,169 +4515,76 @@ "type": "array", "items": { "$ref": "#/types/equinix:fabric/getPortsDatumAccount:getPortsDatumAccount" - }, - "language": { - "python": { - "mapCase": false - } } }, "availableBandwidth": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "bandwidth": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "changeLogs": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getPortsDatumChangeLog:getPortsDatumChangeLog" - }, - "language": { - "python": { - "mapCase": false - } } }, "description": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "devices": { "type": "array", "items": { - "$ref": "#/types/equinix:fabric/getPortsDatumDevice:getPortsDatumDevice" - }, - "language": { - "python": { - "mapCase": false - } - } - }, - "encapsulations": { - "type": "array", - "items": { - "$ref": "#/types/equinix:fabric/getPortsDatumEncapsulation:getPortsDatumEncapsulation" - }, - "language": { - "python": { - "mapCase": false - } - } - }, - "href": { - "type": "string", - "language": { - "python": { - "mapCase": false - } + "$ref": "#/types/equinix:fabric/getPortsDatumDevice:getPortsDatumDevice" } }, - "lags": { + "encapsulations": { "type": "array", "items": { - "$ref": "#/types/equinix:fabric/getPortsDatumLag:getPortsDatumLag" - }, - "language": { - "python": { - "mapCase": false - } + "$ref": "#/types/equinix:fabric/getPortsDatumEncapsulation:getPortsDatumEncapsulation" } }, + "href": { + "type": "string" + }, + "lagEnabled": { + "type": "boolean" + }, "locations": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getPortsDatumLocation:getPortsDatumLocation" - }, - "language": { - "python": { - "mapCase": false - } } }, "name": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "operations": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getPortsDatumOperation:getPortsDatumOperation" - }, - "language": { - "python": { - "mapCase": false - } } }, "redundancies": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getPortsDatumRedundancy:getPortsDatumRedundancy" - }, - "language": { - "python": { - "mapCase": false - } } }, "serviceType": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "state": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "usedBandwidth": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "uuid": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -6397,7 +4597,7 @@ "devices", "encapsulations", "href", - "lags", + "lagEnabled", "locations", "name", "operations", @@ -6416,60 +4616,25 @@ "equinix:fabric/getPortsDatumAccount:getPortsDatumAccount": { "properties": { "accountName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "accountNumber": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "globalCustId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrgId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrganizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "orgId": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "organizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -6491,116 +4656,199 @@ "equinix:fabric/getPortsDatumChangeLog:getPortsDatumChangeLog": { "properties": { "createdBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } + "type": "string" + }, + "updatedDateTime": { + "type": "string" + } + }, + "type": "object", + "required": [ + "createdBy", + "createdByEmail", + "createdByFullName", + "createdDateTime", + "deletedBy", + "deletedByEmail", + "deletedByFullName", + "deletedDateTime", + "updatedBy", + "updatedByEmail", + "updatedByFullName", + "updatedDateTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getPortsDatumDevice:getPortsDatumDevice": { + "properties": { + "name": { + "type": "string" + }, + "redundancies": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getPortsDatumDeviceRedundancy:getPortsDatumDeviceRedundancy" } + } + }, + "type": "object", + "required": [ + "name", + "redundancies" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getPortsDatumDeviceRedundancy:getPortsDatumDeviceRedundancy": { + "properties": { + "group": { + "type": "string" + }, + "priority": { + "type": "string" + } + }, + "type": "object", + "required": [ + "group", + "priority" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getPortsDatumEncapsulation:getPortsDatumEncapsulation": { + "properties": { + "tagProtocolId": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "required": [ + "tagProtocolId", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getPortsDatumLocation:getPortsDatumLocation": { + "properties": { + "href": { + "type": "string" + }, + "ibx": { + "type": "string" + }, + "metroCode": { + "type": "string" + }, + "metroName": { + "type": "string" + }, + "region": { + "type": "string" + } + }, + "type": "object", + "required": [ + "href", + "ibx", + "metroCode", + "metroName", + "region" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getPortsDatumOperation:getPortsDatumOperation": { + "properties": { + "connectionCount": { + "type": "integer" + }, + "opStatusChangedAt": { + "type": "string" + }, + "operationalStatus": { + "type": "string" + } + }, + "type": "object", + "required": [ + "connectionCount", + "opStatusChangedAt", + "operationalStatus" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getPortsDatumRedundancy:getPortsDatumRedundancy": { + "properties": { + "enabled": { + "type": "boolean" + }, + "group": { + "type": "string" }, - "updatedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "priority": { + "type": "string" } }, "type": "object", "required": [ - "createdBy", - "createdByEmail", - "createdByFullName", - "createdDateTime", - "deletedBy", - "deletedByEmail", - "deletedByFullName", - "deletedDateTime", - "updatedBy", - "updatedByEmail", - "updatedByFullName", - "updatedDateTime" + "enabled", + "group", + "priority" ], "language": { "nodejs": { @@ -6608,141 +4856,104 @@ } } }, - "equinix:fabric/getPortsDatumDevice:getPortsDatumDevice": { + "equinix:fabric/getPortsFilter:getPortsFilter": { "properties": { "name": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Query Parameter to Get Ports By Name\n" + } + }, + "type": "object" + }, + "equinix:fabric/getRoutingProtocolBfd:getRoutingProtocolBfd": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Bidirectional Forwarding Detection enablement\n" }, - "redundancies": { - "type": "array", - "items": { - "$ref": "#/types/equinix:fabric/getPortsDatumDeviceRedundancy:getPortsDatumDeviceRedundancy" - }, - "language": { - "python": { - "mapCase": false - } - } + "interval": { + "type": "string", + "description": "Interval range between the received BFD control packets\n" } }, "type": "object", "required": [ - "name", - "redundancies" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + "enabled" + ] }, - "equinix:fabric/getPortsDatumDeviceRedundancy:getPortsDatumDeviceRedundancy": { + "equinix:fabric/getRoutingProtocolBgpIpv4:getRoutingProtocolBgpIpv4": { "properties": { - "group": { + "customerPeerIp": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Customer side peering ip\n" }, - "priority": { + "enabled": { + "type": "boolean", + "description": "Admin status for the BGP session\n" + }, + "equinixPeerIp": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix side peering ip\n" } }, "type": "object", "required": [ - "group", - "priority" + "customerPeerIp", + "equinixPeerIp" ], "language": { "nodejs": { - "requiredInputs": [] + "requiredInputs": [ + "customerPeerIp" + ] } } }, - "equinix:fabric/getPortsDatumEncapsulation:getPortsDatumEncapsulation": { + "equinix:fabric/getRoutingProtocolBgpIpv6:getRoutingProtocolBgpIpv6": { "properties": { - "tagProtocolId": { + "customerPeerIp": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Customer side peering ip\n" }, - "type": { + "enabled": { + "type": "boolean", + "description": "Admin status for the BGP session\n" + }, + "equinixPeerIp": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "description": "Equinix side peering ip\n" } }, "type": "object", "required": [ - "tagProtocolId", - "type" + "customerPeerIp", + "equinixPeerIp" ], "language": { "nodejs": { - "requiredInputs": [] + "requiredInputs": [ + "customerPeerIp" + ] } } }, - "equinix:fabric/getPortsDatumLag:getPortsDatumLag": { + "equinix:fabric/getRoutingProtocolChange:getRoutingProtocolChange": { "properties": { - "enabled": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - }, - "id": { - "type": "string", - "description": "The ID of this resource.\n", - "language": { - "python": { - "mapCase": false - } - } + "href": { + "type": "string" }, - "memberStatus": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": { + "type": "string" }, - "name": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "uuid": { + "type": "string" } }, "type": "object", "required": [ - "enabled", - "id", - "memberStatus", - "name" + "href", + "type", + "uuid" ], "language": { "nodejs": { @@ -6750,56 +4961,59 @@ } } }, - "equinix:fabric/getPortsDatumLocation:getPortsDatumLocation": { + "equinix:fabric/getRoutingProtocolChangeLog:getRoutingProtocolChangeLog": { "properties": { - "href": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "createdBy": { + "type": "string" }, - "ibx": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "createdByEmail": { + "type": "string" }, - "metroCode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "createdByFullName": { + "type": "string" }, - "metroName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "createdDateTime": { + "type": "string" }, - "region": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "deletedBy": { + "type": "string" + }, + "deletedByEmail": { + "type": "string" + }, + "deletedByFullName": { + "type": "string" + }, + "deletedDateTime": { + "type": "string" + }, + "updatedBy": { + "type": "string" + }, + "updatedByEmail": { + "type": "string" + }, + "updatedByFullName": { + "type": "string" + }, + "updatedDateTime": { + "type": "string" } }, "type": "object", "required": [ - "href", - "ibx", - "metroCode", - "metroName", - "region" + "createdBy", + "createdByEmail", + "createdByFullName", + "createdDateTime", + "deletedBy", + "deletedByEmail", + "deletedByFullName", + "deletedDateTime", + "updatedBy", + "updatedByEmail", + "updatedByFullName", + "updatedDateTime" ], "language": { "nodejs": { @@ -6807,38 +5021,39 @@ } } }, - "equinix:fabric/getPortsDatumOperation:getPortsDatumOperation": { + "equinix:fabric/getRoutingProtocolDirectIpv4:getRoutingProtocolDirectIpv4": { "properties": { - "connectionCount": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } - }, - "opStatusChangedAt": { + "equinixIfaceIp": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "operationalStatus": { + "description": "Equinix side Interface IP address\n" + } + }, + "type": "object", + "required": [ + "equinixIfaceIp" + ] + }, + "equinix:fabric/getRoutingProtocolDirectIpv6:getRoutingProtocolDirectIpv6": { + "properties": { + "equinixIfaceIp": { "type": "string", - "language": { - "python": { - "mapCase": false - } + "description": "Equinix side Interface IP address\n" + } + }, + "type": "object" + }, + "equinix:fabric/getRoutingProtocolOperation:getRoutingProtocolOperation": { + "properties": { + "errors": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolOperationError:getRoutingProtocolOperationError" } } }, "type": "object", "required": [ - "connectionCount", - "opStatusChangedAt", - "operationalStatus" + "errors" ], "language": { "nodejs": { @@ -6846,38 +5061,38 @@ } } }, - "equinix:fabric/getPortsDatumRedundancy:getPortsDatumRedundancy": { + "equinix:fabric/getRoutingProtocolOperationError:getRoutingProtocolOperationError": { "properties": { - "enabled": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } + "additionalInfos": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolOperationErrorAdditionalInfo:getRoutingProtocolOperationErrorAdditionalInfo" } }, - "group": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "correlationId": { + "type": "string" }, - "priority": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "details": { + "type": "string" + }, + "errorCode": { + "type": "string" + }, + "errorMessage": { + "type": "string" + }, + "help": { + "type": "string" } }, "type": "object", "required": [ - "enabled", - "group", - "priority" + "additionalInfos", + "correlationId", + "details", + "errorCode", + "errorMessage", + "help" ], "language": { "nodejs": { @@ -6885,147 +5100,81 @@ } } }, - "equinix:fabric/getPortsFilter:getPortsFilter": { + "equinix:fabric/getRoutingProtocolOperationErrorAdditionalInfo:getRoutingProtocolOperationErrorAdditionalInfo": { "properties": { - "name": { - "type": "string", - "description": "Query Parameter to Get Ports By Name\n", - "language": { - "python": { - "mapCase": false - } - } + "property": { + "type": "string" + }, + "reason": { + "type": "string" + } + }, + "type": "object", + "required": [ + "property", + "reason" + ], + "language": { + "nodejs": { + "requiredInputs": [] } - }, - "type": "object" + } }, "equinix:fabric/getServiceProfileAccessPointTypeConfig:getServiceProfileAccessPointTypeConfig": { "properties": { "allowBandwidthAutoApproval": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "allowBandwidthUpgrade": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "allowCustomBandwidth": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "allowRemoteConnections": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "apiConfigs": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfileAccessPointTypeConfigApiConfig:getServiceProfileAccessPointTypeConfigApiConfig" - }, - "language": { - "python": { - "mapCase": false - } } }, "authenticationKeys": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfileAccessPointTypeConfigAuthenticationKey:getServiceProfileAccessPointTypeConfigAuthenticationKey" - }, - "language": { - "python": { - "mapCase": false - } } }, "bandwidthAlertThreshold": { - "type": "number", - "language": { - "python": { - "mapCase": false - } - } + "type": "number" }, "connectionLabel": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "connectionRedundancyRequired": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "enableAutoGenerateServiceKey": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "linkProtocolConfigs": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfileAccessPointTypeConfigLinkProtocolConfig:getServiceProfileAccessPointTypeConfigLinkProtocolConfig" - }, - "language": { - "python": { - "mapCase": false - } } }, "supportedBandwidths": { "type": "array", "items": { "type": "integer" - }, - "language": { - "python": { - "mapCase": false - } } }, "type": { - "type": "string", - "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix assigned service profile identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -7054,60 +5203,25 @@ "equinix:fabric/getServiceProfileAccessPointTypeConfigApiConfig:getServiceProfileAccessPointTypeConfigApiConfig": { "properties": { "allowOverSubscription": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "apiAvailable": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "bandwidthFromApi": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "equinixManagedPort": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "equinixManagedVlan": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "integrationId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "overSubscriptionLimit": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" } }, "type": "object", @@ -7129,29 +5243,13 @@ "equinix:fabric/getServiceProfileAccessPointTypeConfigAuthenticationKey:getServiceProfileAccessPointTypeConfigAuthenticationKey": { "properties": { "description": { - "type": "string", - "description": "User-provided service description\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "label": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "required": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" } }, "type": "object", @@ -7169,28 +5267,13 @@ "equinix:fabric/getServiceProfileAccessPointTypeConfigLinkProtocolConfig:getServiceProfileAccessPointTypeConfigLinkProtocolConfig": { "properties": { "encapsulation": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "encapsulationStrategy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "reuseVlanSTag": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" } }, "type": "object", @@ -7208,68 +5291,28 @@ "equinix:fabric/getServiceProfileAccount:getServiceProfileAccount": { "properties": { "accountName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "accountNumber": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "globalCustId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrgId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrganizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "orgId": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "organizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "ucmId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -7292,100 +5335,40 @@ "equinix:fabric/getServiceProfileChangeLog:getServiceProfileChangeLog": { "properties": { "createdBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -7412,56 +5395,25 @@ "equinix:fabric/getServiceProfileCustomField:getServiceProfileCustomField": { "properties": { "captureInEmail": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "dataType": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "description": { - "type": "string", - "description": "User-provided service description\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "label": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "options": { "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, "required": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" } }, "type": "object", @@ -7482,31 +5434,16 @@ "equinix:fabric/getServiceProfileMarketingInfo:getServiceProfileMarketingInfo": { "properties": { "logo": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "processSteps": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfileMarketingInfoProcessStep:getServiceProfileMarketingInfoProcessStep" - }, - "language": { - "python": { - "mapCase": false - } } }, "promotion": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" } }, "type": "object", @@ -7524,29 +5461,13 @@ "equinix:fabric/getServiceProfileMarketingInfoProcessStep:getServiceProfileMarketingInfoProcessStep": { "properties": { "description": { - "type": "string", - "description": "User-provided service description\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "subTitle": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "title": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -7564,58 +5485,27 @@ "equinix:fabric/getServiceProfileMetro:getServiceProfileMetro": { "properties": { "code": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "displayName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "ibxs": { "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, "inTrail": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "name": { - "type": "string", - "description": "Customer-assigned service profile name\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "sellerRegions": { "type": "object", "additionalProperties": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } } }, @@ -7640,29 +5530,13 @@ "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } - } - }, - "sendInterval": { - "type": "string", - "language": { - "python": { - "mapCase": false - } } }, + "sendInterval": { + "type": "string" + }, "type": { - "type": "string", - "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -7680,57 +5554,25 @@ "equinix:fabric/getServiceProfilePort:getServiceProfilePort": { "properties": { "crossConnectId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "locations": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilePortLocation:getServiceProfilePortLocation" - }, - "language": { - "python": { - "mapCase": false - } } }, "sellerRegion": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "sellerRegionDescription": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "description": "Equinix assigned service profile identifier\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -7751,36 +5593,16 @@ "equinix:fabric/getServiceProfilePortLocation:getServiceProfilePortLocation": { "properties": { "ibx": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "metroCode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "metroName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "region": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -7799,21 +5621,10 @@ "equinix:fabric/getServiceProfileProject:getServiceProfileProject": { "properties": { "href": { - "type": "string", - "description": "Service Profile URI response attribute\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "projectId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -7833,186 +5644,91 @@ "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumAccessPointTypeConfig:getServiceProfilesDatumAccessPointTypeConfig" - }, - "language": { - "python": { - "mapCase": false - } } }, "accounts": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumAccount:getServiceProfilesDatumAccount" - }, - "language": { - "python": { - "mapCase": false - } } }, "allowedEmails": { "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, "changeLogs": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumChangeLog:getServiceProfilesDatumChangeLog" - }, - "language": { - "python": { - "mapCase": false - } } }, "customFields": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumCustomField:getServiceProfilesDatumCustomField" - }, - "language": { - "python": { - "mapCase": false - } } }, "description": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "href": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "marketingInfos": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumMarketingInfo:getServiceProfilesDatumMarketingInfo" - }, - "language": { - "python": { - "mapCase": false - } } }, "metros": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumMetro:getServiceProfilesDatumMetro" - }, - "language": { - "python": { - "mapCase": false - } } }, "name": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "notifications": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumNotification:getServiceProfilesDatumNotification" - }, - "language": { - "python": { - "mapCase": false - } } }, "ports": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumPort:getServiceProfilesDatumPort" - }, - "language": { - "python": { - "mapCase": false - } } }, "projects": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumProject:getServiceProfilesDatumProject" - }, - "language": { - "python": { - "mapCase": false - } } }, "selfProfile": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "state": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "tags": { "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, "type": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "visibility": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -8044,128 +5760,58 @@ "equinix:fabric/getServiceProfilesDatumAccessPointTypeConfig:getServiceProfilesDatumAccessPointTypeConfig": { "properties": { "allowBandwidthAutoApproval": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "allowBandwidthUpgrade": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "allowCustomBandwidth": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "allowRemoteConnections": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "apiConfigs": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumAccessPointTypeConfigApiConfig:getServiceProfilesDatumAccessPointTypeConfigApiConfig" - }, - "language": { - "python": { - "mapCase": false - } } }, "authenticationKeys": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumAccessPointTypeConfigAuthenticationKey:getServiceProfilesDatumAccessPointTypeConfigAuthenticationKey" - }, - "language": { - "python": { - "mapCase": false - } } }, "bandwidthAlertThreshold": { - "type": "number", - "language": { - "python": { - "mapCase": false - } - } + "type": "number" }, "connectionLabel": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "connectionRedundancyRequired": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "enableAutoGenerateServiceKey": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "linkProtocolConfigs": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig:getServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig" - }, - "language": { - "python": { - "mapCase": false - } } }, "supportedBandwidths": { "type": "array", "items": { "type": "integer" - }, - "language": { - "python": { - "mapCase": false - } } }, "type": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -8194,60 +5840,25 @@ "equinix:fabric/getServiceProfilesDatumAccessPointTypeConfigApiConfig:getServiceProfilesDatumAccessPointTypeConfigApiConfig": { "properties": { "allowOverSubscription": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "apiAvailable": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "bandwidthFromApi": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "equinixManagedPort": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "equinixManagedVlan": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "integrationId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "overSubscriptionLimit": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" } }, "type": "object", @@ -8269,28 +5880,13 @@ "equinix:fabric/getServiceProfilesDatumAccessPointTypeConfigAuthenticationKey:getServiceProfilesDatumAccessPointTypeConfigAuthenticationKey": { "properties": { "description": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "label": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "required": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" } }, "type": "object", @@ -8308,28 +5904,13 @@ "equinix:fabric/getServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig:getServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig": { "properties": { "encapsulation": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "encapsulationStrategy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "reuseVlanSTag": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" } }, "type": "object", @@ -8347,68 +5928,28 @@ "equinix:fabric/getServiceProfilesDatumAccount:getServiceProfilesDatumAccount": { "properties": { "accountName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "accountNumber": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "globalCustId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrgId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "globalOrganizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "orgId": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "organizationName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "ucmId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -8431,100 +5972,40 @@ "equinix:fabric/getServiceProfilesDatumChangeLog:getServiceProfilesDatumChangeLog": { "properties": { "createdBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "createdDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "deletedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" + }, + "deletedBy": { + "type": "string" }, "deletedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "deletedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedBy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByEmail": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedByFullName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "updatedDateTime": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -8551,55 +6032,25 @@ "equinix:fabric/getServiceProfilesDatumCustomField:getServiceProfilesDatumCustomField": { "properties": { "captureInEmail": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "dataType": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "description": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "label": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "options": { "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, "required": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" } }, "type": "object", @@ -8620,31 +6071,16 @@ "equinix:fabric/getServiceProfilesDatumMarketingInfo:getServiceProfilesDatumMarketingInfo": { "properties": { "logo": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "processSteps": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumMarketingInfoProcessStep:getServiceProfilesDatumMarketingInfoProcessStep" - }, - "language": { - "python": { - "mapCase": false - } } }, "promotion": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" } }, "type": "object", @@ -8662,28 +6098,13 @@ "equinix:fabric/getServiceProfilesDatumMarketingInfoProcessStep:getServiceProfilesDatumMarketingInfoProcessStep": { "properties": { "description": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "subTitle": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "title": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -8701,57 +6122,27 @@ "equinix:fabric/getServiceProfilesDatumMetro:getServiceProfilesDatumMetro": { "properties": { "code": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "displayName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "ibxs": { "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, "inTrail": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "name": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "sellerRegions": { "type": "object", "additionalProperties": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } } }, @@ -8776,28 +6167,13 @@ "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, "sendInterval": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -8815,55 +6191,25 @@ "equinix:fabric/getServiceProfilesDatumPort:getServiceProfilesDatumPort": { "properties": { "crossConnectId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "locations": { "type": "array", "items": { "$ref": "#/types/equinix:fabric/getServiceProfilesDatumPortLocation:getServiceProfilesDatumPortLocation" - }, - "language": { - "python": { - "mapCase": false - } } }, "sellerRegion": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "sellerRegionDescription": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "uuid": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -8884,36 +6230,16 @@ "equinix:fabric/getServiceProfilesDatumPortLocation:getServiceProfilesDatumPortLocation": { "properties": { "ibx": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "metroCode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "metroName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "region": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -8932,20 +6258,10 @@ "equinix:fabric/getServiceProfilesDatumProject:getServiceProfilesDatumProject": { "properties": { "href": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "projectId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -8963,33 +6279,18 @@ "properties": { "operator": { "type": "string", - "description": "Possible operator to use on filters = - equal\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Possible operator to use on filters = - equal\n" }, "property": { "type": "string", - "description": "Search Criteria for Service Profile - /name, /uuid, /state, /metros/code, /visibility, /type\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Search Criteria for Service Profile - /name, /uuid, /state, /metros/code, /visibility, /type\n" }, "values": { "type": "array", "items": { "type": "string" }, - "description": "Values\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Values\n" } }, "type": "object" @@ -8998,21 +6299,11 @@ "properties": { "direction": { "type": "string", - "description": "Priority type- DESC, ASC\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Priority type- DESC, ASC\n" }, "property": { "type": "string", - "description": "Search operation sort criteria /name /state /changeLog/createdDateTime /changeLog/updatedDateTime\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Search operation sort criteria /name /state /changeLog/createdDateTime /changeLog/updatedDateTime\n" } }, "type": "object" @@ -9337,12 +6628,7 @@ "items": { "type": "string" }, - "description": "List of attributes that are allowed to change without recreating the instance. Supported attributes: `custom_data`, `user_data`\"\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "List of attributes that are allowed to change without recreating the instance. Supported attributes: `custom_data`, `user_data`\"\n" } }, "type": "object" @@ -9351,33 +6637,18 @@ "properties": { "cidr": { "type": "integer", - "description": "CIDR suffix for IP address block to be assigned, i.e. amount of addresses.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "CIDR suffix for IP address block to be assigned, i.e. amount of addresses.\n" }, "reservationIds": { "type": "array", "items": { "type": "string" }, - "description": "List of UUIDs of IP block reservations\nfrom which the public IPv4 address should be taken.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "List of UUIDs of IP block reservations\nfrom which the public IPv4 address should be taken.\n\nYou can supply one `ip_address` block per IP address type. If you use the `ip_address` you must\nalways pass a block for `private_ipv4`.\n\nTo learn more about using the reserved IP addresses for new devices, see the examples in the\nequinix.metal.ReservedIpBlock documentation.\n" }, "type": { "type": "string", - "description": "One of `private_ipv4`, `public_ipv4`, `public_ipv6`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "One of `private_ipv4`, `public_ipv4`, `public_ipv6`.\n" } }, "type": "object", @@ -9389,48 +6660,23 @@ "properties": { "address": { "type": "string", - "description": "IPv4 or IPv6 address string.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "IPv4 or IPv6 address string.\n" }, "cidr": { "type": "integer", - "description": "CIDR suffix for IP address block to be assigned, i.e. amount of addresses.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "CIDR suffix for IP address block to be assigned, i.e. amount of addresses.\n" }, "family": { "type": "integer", - "description": "IP version. One of `4`, `6`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "IP version. One of `4`, `6`.\n" }, "gateway": { "type": "string", - "description": "Address of router.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Address of router.\n" }, "public": { "type": "boolean", - "description": "Whether the address is routable from the Internet.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Whether the address is routable from the Internet.\n" } }, "type": "object", @@ -9450,48 +6696,23 @@ "properties": { "bonded": { "type": "boolean", - "description": "Whether this port is part of a bond in bonded network setup.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Whether this port is part of a bond in bonded network setup.\n" }, "id": { "type": "string", - "description": "ID of the port.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "ID of the port.\n" }, "mac": { "type": "string", - "description": "MAC address assigned to the port.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "MAC address assigned to the port.\n" }, "name": { "type": "string", - "description": "Name of the port (e.g. `eth0`, or `bond0`).\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Name of the port (e.g. `eth0`, or `bond0`).\n" }, "type": { "type": "string", - "description": "One of `private_ipv4`, `public_ipv4`, `public_ipv6`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "One of `private_ipv4`, `public_ipv4`, `public_ipv6`.\n" } }, "type": "object", @@ -9511,30 +6732,15 @@ "properties": { "deprovisionFast": { "type": "boolean", - "description": "Whether the OS disk should be filled with `00h` bytes before reinstall.\nDefaults to `false`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Whether the OS disk should be filled with `00h` bytes before reinstall.\nDefaults to `false`.\n" }, "enabled": { "type": "boolean", - "description": "Whether the provider should favour reinstall over destroy and create. Defaults to\n`false`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Whether the provider should favour reinstall over destroy and create. Defaults to\n`false`.\n" }, "preserveData": { "type": "boolean", - "description": "Whether the non-OS disks should be kept or wiped during reinstall.\nDefaults to `false`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Whether the non-OS disks should be kept or wiped during reinstall.\nDefaults to `false`.\n" } }, "type": "object" @@ -9542,65 +6748,30 @@ "equinix:metal/InterconnectionPort:InterconnectionPort": { "properties": { "id": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "linkStatus": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "name": { "type": "string", - "description": "Name of the connection resource\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Name of the connection resource\n" }, "role": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "speed": { "type": "integer", - "description": "Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps.\n" }, "status": { "type": "string", - "description": "Status of the connection resource.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Status of the connection resource.\n" }, "virtualCircuitIds": { "type": "array", "items": { "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } } } }, @@ -9622,53 +6793,23 @@ "equinix:metal/InterconnectionServiceToken:InterconnectionServiceToken": { "properties": { "expiresAt": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "id": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "maxAllowedSpeed": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "role": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "state": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { "type": "string", - "description": "Connection type - dedicated or shared.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Connection type - dedicated or shared.\n" } }, "type": "object", @@ -9689,48 +6830,23 @@ "properties": { "address": { "type": "string", - "description": "Postal address.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Postal address.\n" }, "city": { "type": "string", - "description": "City name.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "City name.\n" }, "country": { "type": "string", - "description": "Two letter country code (ISO 3166-1 alpha-2), e.g. US.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Two letter country code (ISO 3166-1 alpha-2), e.g. US.\n" }, "state": { "type": "string", - "description": "State name.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "State name.\n" }, "zipCode": { "type": "string", - "description": "Zip Code.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Zip Code.\n" } }, "type": "object", @@ -9744,50 +6860,25 @@ "equinix:metal/ProjectBgpConfig:ProjectBgpConfig": { "properties": { "asn": { - "type": "integer", - "description": "Autonomous System Number for local BGP deployment.\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer", + "description": "Autonomous System Number for local BGP deployment.\n" }, "deploymentType": { "type": "string", - "description": "`local` or `global`, the `local` is likely to be usable immediately, the\n`global` will need to be reviewed by Equinix Metal engineers.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "`local` or `global`, the `local` is likely to be usable immediately, the\n`global` will need to be reviewed by Equinix Metal engineers.\n" }, "maxPrefix": { "type": "integer", - "description": "The maximum number of route filters allowed per server.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "The maximum number of route filters allowed per server.\n" }, "md5": { "type": "string", "description": "Password for BGP session in plaintext (not a checksum).\n", - "language": { - "python": { - "mapCase": false - } - }, "secret": true }, "status": { "type": "string", - "description": "status of BGP configuration in the project.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "status of BGP configuration in the project.\n" } }, "type": "object", @@ -9809,137 +6900,66 @@ "equinix:metal/SpotMarketRequestInstanceParameters:SpotMarketRequestInstanceParameters": { "properties": { "alwaysPxe": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "billingCycle": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "customdata": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "description": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "features": { "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, "hostname": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "ipxeScriptUrl": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "locked": { "type": "boolean", - "description": "Blocks deletion of the SpotMarketRequest device until the lock is disabled.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Blocks deletion of the SpotMarketRequest device until the lock is disabled.\n" }, "operatingSystem": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "plan": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "projectSshKeys": { "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, "tags": { "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, + "terminationTime": { + "type": "string" + }, "termintationTime": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "deprecationMessage": "Use instance_parameters.termination_time instead" }, "userSshKeys": { "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, "userdata": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -9956,6 +6976,7 @@ "hostname", "operatingSystem", "plan", + "terminationTime", "termintationTime" ] } @@ -10194,103 +7215,53 @@ "properties": { "addressFamily": { "type": "integer", - "description": "IP address version, 4 or 6.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "IP address version, 4 or 6.\n" }, "customerAs": { "type": "integer", - "description": "Local autonomous system number.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Local autonomous system number.\n" }, "customerIp": { "type": "string", - "description": "Local used peer IP address.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Local used peer IP address.\n" }, "md5Enabled": { "type": "boolean", - "description": "Whether BGP session is password enabled.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Whether BGP session is password enabled.\n" }, "md5Password": { "type": "string", "description": "BGP session password in plaintext (not a checksum).\n", - "language": { - "python": { - "mapCase": false - } - }, "secret": true }, "multihop": { "type": "boolean", - "description": "Whether the neighbor is in EBGP multihop session.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Whether the neighbor is in EBGP multihop session.\n" }, "peerAs": { "type": "integer", - "description": "Peer AS number (different than customer_as for EBGP).\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Peer AS number (different than customer_as for EBGP).\n" }, "peerIps": { "type": "array", "items": { "type": "string" }, - "description": "Array of IP addresses of this neighbor's peers.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Array of IP addresses of this neighbor's peers.\n" }, "routesIns": { "type": "array", "items": { "$ref": "#/types/equinix:metal/getDeviceBgpNeighborsBgpNeighborRoutesIn:getDeviceBgpNeighborsBgpNeighborRoutesIn" }, - "description": "Array of incoming routes.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Array of incoming routes.\n" }, "routesOuts": { "type": "array", "items": { "$ref": "#/types/equinix:metal/getDeviceBgpNeighborsBgpNeighborRoutesOut:getDeviceBgpNeighborsBgpNeighborRoutesOut" }, - "description": "Array of outgoing routes in the same format.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Array of outgoing routes in the same format.\n" } }, "type": "object", @@ -10315,21 +7286,11 @@ "properties": { "exact": { "type": "boolean", - "description": "(bool) Whether the route is exact.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "(bool) Whether the route is exact.\n" }, "route": { "type": "string", - "description": "CIDR expression of route (IP/mask).\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "CIDR expression of route (IP/mask).\n" } }, "type": "object", @@ -10347,21 +7308,11 @@ "properties": { "exact": { "type": "boolean", - "description": "(bool) Whether the route is exact.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "(bool) Whether the route is exact.\n" }, "route": { "type": "string", - "description": "CIDR expression of route (IP/mask).\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "CIDR expression of route (IP/mask).\n" } }, "type": "object", @@ -10375,52 +7326,215 @@ } } }, - "equinix:metal/getDeviceNetwork:getDeviceNetwork": { + "equinix:metal/getDeviceNetwork:getDeviceNetwork": { + "properties": { + "address": { + "type": "string", + "description": "IPv4 or IPv6 address string.\n" + }, + "cidr": { + "type": "integer", + "description": "Bit length of the network mask of the address.\n" + }, + "family": { + "type": "integer", + "description": "IP version. One of `4`, `6`.\n" + }, + "gateway": { + "type": "string", + "description": "Address of router.\n" + }, + "public": { + "type": "boolean", + "description": "Whether the address is routable from the Internet.\n" + } + }, + "type": "object", + "required": [ + "address", + "cidr", + "family", + "gateway", + "public" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:metal/getDevicePort:getDevicePort": { + "properties": { + "bonded": { + "type": "boolean", + "description": "Whether this port is part of a bond in bonded network setup.\n" + }, + "id": { + "type": "string", + "description": "ID of the port.\n" + }, + "mac": { + "type": "string", + "description": "MAC address assigned to the port.\n" + }, + "name": { + "type": "string", + "description": "Name of the port (e.g. `eth0`, or `bond0`).\n" + }, + "type": { + "type": "string", + "description": "Type of the port (e.g. `NetworkPort` or `NetworkBondPort`).\n" + } + }, + "type": "object", + "required": [ + "bonded", + "id", + "mac", + "name", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:metal/getDevicesDevice:getDevicesDevice": { + "properties": { + "accessPrivateIpv4": { + "type": "string" + }, + "accessPublicIpv4": { + "type": "string" + }, + "accessPublicIpv6": { + "type": "string" + }, + "alwaysPxe": { + "type": "boolean" + }, + "billingCycle": { + "type": "string" + }, + "description": { + "type": "string" + }, + "deviceId": { + "type": "string" + }, + "facility": { + "type": "string", + "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" + }, + "hardwareReservationId": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "ipxeScriptUrl": { + "type": "string" + }, + "metro": { + "type": "string" + }, + "networkType": { + "type": "string" + }, + "networks": { + "type": "array", + "items": { + "$ref": "#/types/equinix:metal/getDevicesDeviceNetwork:getDevicesDeviceNetwork" + } + }, + "operatingSystem": { + "type": "string" + }, + "plan": { + "type": "string" + }, + "ports": { + "type": "array", + "items": { + "$ref": "#/types/equinix:metal/getDevicesDevicePort:getDevicesDevicePort" + } + }, + "projectId": { + "type": "string", + "description": "ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set.\n" + }, + "rootPassword": { + "type": "string", + "secret": true + }, + "sshKeyIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "state": { + "type": "string" + }, + "storage": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "accessPrivateIpv4", + "accessPublicIpv4", + "accessPublicIpv6", + "alwaysPxe", + "billingCycle", + "description", + "deviceId", + "facility", + "hardwareReservationId", + "hostname", + "ipxeScriptUrl", + "metro", + "networks", + "networkType", + "operatingSystem", + "plan", + "ports", + "projectId", + "rootPassword", + "sshKeyIds", + "state", + "storage", + "tags" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:metal/getDevicesDeviceNetwork:getDevicesDeviceNetwork": { "properties": { "address": { - "type": "string", - "description": "IPv4 or IPv6 address string.\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "cidr": { - "type": "integer", - "description": "Bit length of the network mask of the address.\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "family": { - "type": "integer", - "description": "IP version. One of `4`, `6`.\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "gateway": { - "type": "string", - "description": "Address of router.\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "public": { - "type": "boolean", - "description": "Whether the address is routable from the Internet.\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" } }, "type": "object", @@ -10437,52 +7551,22 @@ } } }, - "equinix:metal/getDevicePort:getDevicePort": { + "equinix:metal/getDevicesDevicePort:getDevicesDevicePort": { "properties": { "bonded": { - "type": "boolean", - "description": "Whether this port is part of a bond in bonded network setup.\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "id": { - "type": "string", - "description": "ID of the port.\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "mac": { - "type": "string", - "description": "MAC address assigned to the port.\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "name": { - "type": "string", - "description": "Name of the port (e.g. `eth0`, or `bond0`).\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "description": "Type of the port (e.g. `NetworkPort` or `NetworkBondPort`).\n", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -10499,25 +7583,58 @@ } } }, + "equinix:metal/getDevicesFilter:getDevicesFilter": { + "properties": { + "all": { + "type": "boolean", + "description": "If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`.\n\nAll fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks.\n" + }, + "attribute": { + "type": "string", + "description": "The attribute used to filter. Filter attributes are case-sensitive\n" + }, + "matchBy": { + "type": "string", + "description": "The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`.\n" + }, + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values\n" + } + }, + "type": "object", + "required": [ + "attribute", + "values" + ] + }, + "equinix:metal/getDevicesSort:getDevicesSort": { + "properties": { + "attribute": { + "type": "string", + "description": "The attribute used to filter. Filter attributes are case-sensitive\n" + }, + "direction": { + "type": "string" + } + }, + "type": "object", + "required": [ + "attribute" + ] + }, "equinix:metal/getFacilityCapacity:getFacilityCapacity": { "properties": { "plan": { "type": "string", - "description": "Device plan that must be available in selected location.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device plan that must be available in selected location.\n" }, "quantity": { "type": "integer", - "description": "Minimun number of devices that must be available in selected location.\nDefault is `1`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Minimun number of devices that must be available in selected location.\nDefault is `1`.\n" } }, "type": "object", @@ -10529,69 +7646,34 @@ "properties": { "id": { "type": "string", - "description": "Port UUID.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port UUID.\n" }, "linkStatus": { "type": "string", - "description": "Port link status.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port link status.\n" }, "name": { "type": "string", - "description": "Port name.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port name.\n" }, "role": { "type": "string", - "description": "Port role - primary or secondary.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port role - primary or secondary.\n" }, "speed": { "type": "integer", - "description": "Port speed in bits per second.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port speed in bits per second.\n" }, "status": { "type": "string", - "description": "Port status.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port status.\n" }, "virtualCircuitIds": { "type": "array", "items": { "$ref": "pulumi.json#/Any" }, - "description": "List of IDs of virtual cicruits attached to this port.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "List of IDs of virtual cicruits attached to this port.\n" } }, "type": "object", @@ -10614,56 +7696,26 @@ "properties": { "expiresAt": { "type": "string", - "description": "Expiration date of the service token.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Expiration date of the service token.\n" }, "id": { "type": "string", - "description": "Port UUID.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port UUID.\n" }, "maxAllowedSpeed": { "type": "string", - "description": "Maximum allowed speed for the service token, string like in the `speed` attribute.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Maximum allowed speed for the service token, string like in the `speed` attribute.\n" }, "role": { "type": "string", - "description": "Port role - primary or secondary.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Port role - primary or secondary.\n" }, "state": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { "type": "string", - "description": "Token type, `a_side` or `z_side`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Token type, `a_side` or `z_side`.\n" } }, "type": "object", @@ -10685,21 +7737,11 @@ "properties": { "plan": { "type": "string", - "description": "Device plan that must be available in selected location.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device plan that must be available in selected location.\n" }, "quantity": { "type": "integer", - "description": "Minimum number of devices that must be available in selected location.\nDefault is `1`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Minimum number of devices that must be available in selected location.\nDefault is `1`.\n" } }, "type": "object", @@ -10711,48 +7753,23 @@ "properties": { "address": { "type": "string", - "description": "Postal address.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Postal address.\n" }, "city": { "type": "string", - "description": "City name.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "City name.\n" }, "country": { "type": "string", - "description": "Two letter country code (ISO 3166-1 alpha-2), e.g. US.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Two letter country code (ISO 3166-1 alpha-2), e.g. US.\n" }, "state": { "type": "string", - "description": "State name.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "State name.\n" }, "zipCode": { "type": "string", - "description": "Zip Code.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Zip Code.\n" } }, "type": "object", @@ -10773,42 +7790,22 @@ "properties": { "all": { "type": "boolean", - "description": "If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`.\n\nAll fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks.\n" }, "attribute": { "type": "string", - "description": "The attribute used to filter. Filter attributes are case-sensitive\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "The attribute used to filter. Filter attributes are case-sensitive\n" }, "matchBy": { "type": "string", - "description": "The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`.\n" }, "values": { "type": "array", "items": { "type": "string" }, - "description": "The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values\n" } }, "type": "object", @@ -10824,12 +7821,7 @@ "items": { "type": "string" }, - "description": "list of metros where the plan is available\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "list of metros where the plan is available\n" }, "availableIns": { "type": "array", @@ -10837,105 +7829,50 @@ "type": "string" }, "description": "(**Deprecated**) list of facilities where the plan is available\n", - "deprecationMessage": "Use available_in_metros instead. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices", - "language": { - "python": { - "mapCase": false - } - } + "deprecationMessage": "Use available_in_metros instead. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" }, "class": { "type": "string", - "description": "plan class\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "plan class\n" }, "deploymentTypes": { "type": "array", "items": { "type": "string" }, - "description": "list of deployment types, e.g. on_demand, spot_market\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "list of deployment types, e.g. on_demand, spot_market\n" }, "description": { "type": "string", - "description": "description of the plan\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "description of the plan\n" }, "id": { "type": "string", - "description": "id of the plan\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "id of the plan\n" }, "legacy": { "type": "boolean", - "description": "flag showing if it's a legacy plan\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "flag showing if it's a legacy plan\n" }, "line": { "type": "string", - "description": "plan line, e.g. baremetal\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "plan line, e.g. baremetal\n" }, "name": { "type": "string", - "description": "name of the plan\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "name of the plan\n" }, "pricingHour": { "type": "number", - "description": "plan hourly price\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "plan hourly price\n" }, "pricingMonth": { "type": "number", - "description": "plan monthly price\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "plan monthly price\n" }, "slug": { "type": "string", - "description": "plan slug\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "plan slug\n" } }, "type": "object", @@ -10963,21 +7900,11 @@ "properties": { "attribute": { "type": "string", - "description": "The attribute used to filter. Filter attributes are case-sensitive\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "The attribute used to filter. Filter attributes are case-sensitive\n" }, "direction": { "type": "string", - "description": "Sort results in ascending or descending order. Strings are sorted in alphabetical order. One of: asc, desc\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Sort results in ascending or descending order. Strings are sorted in alphabetical order. One of: asc, desc\n" } }, "type": "object", @@ -10989,49 +7916,24 @@ "properties": { "asn": { "type": "integer", - "description": "Autonomous System Number for local BGP deployment.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Autonomous System Number for local BGP deployment.\n" }, "deploymentType": { "type": "string", - "description": "One of `private`, `public`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "One of `private`, `public`.\n" }, "maxPrefix": { "type": "integer", - "description": "The maximum number of route filters allowed per server.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "The maximum number of route filters allowed per server.\n" }, "md5": { "type": "string", "description": "Password for BGP session in plaintext (not a checksum).\n", - "language": { - "python": { - "mapCase": false - } - }, "secret": true }, "status": { "type": "string", - "description": "Status of BGP configuration in the project.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Status of BGP configuration in the project.\n" } }, "type": "object", @@ -11489,30 +8391,15 @@ "properties": { "aclStatus": { "type": "string", - "description": "Device ACL provisioning status where template was applied. One of `PROVISIONING`,\n`PROVISIONED`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device ACL provisioning status where template was applied. One of `PROVISIONING`,\n`PROVISIONED`.\n" }, "name": { "type": "string", - "description": "ACL template name.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "ACL template name.\n" }, "uuid": { "type": "string", - "description": "Device uuid.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device uuid.\n" } }, "type": "object", @@ -11530,21 +8417,11 @@ "properties": { "description": { "type": "string", - "description": "Inbound rule description, up to 200 characters.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Inbound rule description, up to 200 characters.\n" }, "dstPort": { "type": "string", - "description": "Inbound traffic destination ports. Allowed values are a comma separated\nlist of ports, e.g., `20,22,23`, port range, e.g., `1023-1040` or word `any`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Inbound traffic destination ports. Allowed values are a comma separated\nlist of ports, e.g., `20,22,23`, port range, e.g., `1023-1040` or word `any`.\n" }, "protocol": { "type": "string", @@ -11557,47 +8434,22 @@ "$ref": "#/types/equinix:networkedge/aclRuleProtocolType:AclRuleProtocolType" } ], - "description": "Inbound traffic protocol. One of `IP`, `TCP`, `UDP`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Inbound traffic protocol. One of `IP`, `TCP`, `UDP`.\n" }, "sequenceNumber": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "sourceType": { "type": "string", - "deprecationMessage": "Source Type will not be returned", - "language": { - "python": { - "mapCase": false - } - } + "deprecationMessage": "Source Type will not be returned" }, "srcPort": { "type": "string", - "description": "Inbound traffic source ports. Allowed values are a comma separated list\nof ports, e.g., `20,22,23`, port range, e.g., `1023-1040` or word `any`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Inbound traffic source ports. Allowed values are a comma separated list\nof ports, e.g., `20,22,23`, port range, e.g., `1023-1040` or word `any`.\n" }, "subnet": { "type": "string", - "description": "Inbound traffic source IP subnet in CIDR format.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Inbound traffic source IP subnet in CIDR format.\n" }, "subnets": { "type": "array", @@ -11605,12 +8457,7 @@ "type": "string" }, "description": "Inbound traffic source IP subnets in CIDR format.\n", - "deprecationMessage": "Use Subnet instead", - "language": { - "python": { - "mapCase": false - } - } + "deprecationMessage": "Use Subnet instead" } }, "type": "object", @@ -11635,48 +8482,23 @@ "properties": { "clusterId": { "type": "string", - "description": "The ID of the cluster.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "The ID of the cluster.\n" }, "clusterName": { "type": "string", - "description": "The name of the cluster device\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "The name of the cluster device\n" }, "node0": { "$ref": "#/types/equinix:networkedge/DeviceClusterDetailsNode0:DeviceClusterDetailsNode0", - "description": "An object that has `node0` configuration.\nSee Cluster Details - Nodes below for more details.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "An object that has `node0` configuration.\nSee Cluster Details - Nodes below for more details.\n" }, "node1": { "$ref": "#/types/equinix:networkedge/DeviceClusterDetailsNode1:DeviceClusterDetailsNode1", - "description": "An object that has `node1` configuration.\nSee Cluster Details - Nodes below for more details.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "An object that has `node1` configuration.\nSee Cluster Details - Nodes below for more details.\n" }, "numOfNodes": { "type": "integer", - "description": "The number of nodes in the cluster.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "The number of nodes in the cluster.\n" } }, "type": "object", @@ -11702,50 +8524,25 @@ "licenseFileId": { "type": "string", "description": "Identifier of a license file that will be applied on the device.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "licenseToken": { "type": "string", "description": "License Token applicable for some device types in BYOL licensing\nmode.\n", - "language": { - "python": { - "mapCase": false - } - }, "secret": true, "willReplaceOnChanges": true }, "name": { "type": "string", - "description": "Device name.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device name.\n" }, "uuid": { "type": "string", - "description": "Device unique identifier.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device unique identifier.\n" }, "vendorConfiguration": { "$ref": "#/types/equinix:networkedge/DeviceClusterDetailsNode0VendorConfiguration:DeviceClusterDetailsNode0VendorConfiguration", "description": "Map of vendor specific configuration parameters for a device\n(controller1, activationKey, managementType, siteId, systemIpAddress)\n* `ssh-key` - (Optional) Definition of SSH key that will be provisioned\non a device (max one key). See SSH Key below for more details.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true } }, @@ -11764,63 +8561,33 @@ "activationKey": { "type": "string", "description": "Activation key. This is required for Velocloud clusters.\n", - "language": { - "python": { - "mapCase": false - } - }, "secret": true, "willReplaceOnChanges": true }, "adminPassword": { "type": "string", "description": "The administrative password of the device. You can use it to log in\nto the console. This field is not available for all device types.\n", - "language": { - "python": { - "mapCase": false - } - }, "secret": true, "willReplaceOnChanges": true }, "controller1": { "type": "string", "description": "System IP Address. Mandatory for the Fortinet SDWAN cluster device.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "controllerFqdn": { "type": "string", "description": "Controller fqdn. This is required for Velocloud clusters.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "hostname": { "type": "string", "description": "Hostname. This is necessary for Palo Alto, Juniper, and Fortinet clusters.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "rootPassword": { "type": "string", "description": "The CLI password of the device. This field is relevant only for the\nVelocloud SDWAN cluster.\n", - "language": { - "python": { - "mapCase": false - } - }, "secret": true, "willReplaceOnChanges": true } @@ -11839,50 +8606,25 @@ "licenseFileId": { "type": "string", "description": "Identifier of a license file that will be applied on the device.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "licenseToken": { "type": "string", "description": "License Token applicable for some device types in BYOL licensing\nmode.\n", - "language": { - "python": { - "mapCase": false - } - }, "secret": true, "willReplaceOnChanges": true }, "name": { "type": "string", - "description": "Device name.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device name.\n" }, "uuid": { "type": "string", - "description": "Device unique identifier.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device unique identifier.\n" }, "vendorConfiguration": { "$ref": "#/types/equinix:networkedge/DeviceClusterDetailsNode1VendorConfiguration:DeviceClusterDetailsNode1VendorConfiguration", "description": "Map of vendor specific configuration parameters for a device\n(controller1, activationKey, managementType, siteId, systemIpAddress)\n* `ssh-key` - (Optional) Definition of SSH key that will be provisioned\non a device (max one key). See SSH Key below for more details.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true } }, @@ -11901,63 +8643,33 @@ "activationKey": { "type": "string", "description": "Activation key. This is required for Velocloud clusters.\n", - "language": { - "python": { - "mapCase": false - } - }, "secret": true, "willReplaceOnChanges": true }, "adminPassword": { "type": "string", "description": "The administrative password of the device. You can use it to log in\nto the console. This field is not available for all device types.\n", - "language": { - "python": { - "mapCase": false - } - }, "secret": true, "willReplaceOnChanges": true }, "controller1": { "type": "string", "description": "System IP Address. Mandatory for the Fortinet SDWAN cluster device.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "controllerFqdn": { "type": "string", "description": "Controller fqdn. This is required for Velocloud clusters.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "hostname": { "type": "string", "description": "Hostname. This is necessary for Palo Alto, Juniper, and Fortinet clusters.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "rootPassword": { "type": "string", "description": "The CLI password of the device. This field is relevant only for the\nVelocloud SDWAN cluster.\n", - "language": { - "python": { - "mapCase": false - } - }, "secret": true, "willReplaceOnChanges": true } @@ -11975,75 +8687,35 @@ "properties": { "assignedType": { "type": "string", - "description": "interface management type (Equinix Managed or empty).\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface management type (Equinix Managed or empty).\n" }, "id": { "type": "integer", - "description": "interface identifier.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface identifier.\n" }, "ipAddress": { "type": "string", - "description": "interface IP address.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface IP address.\n" }, "macAddress": { "type": "string", - "description": "interface MAC address.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface MAC address.\n" }, "name": { "type": "string", - "description": "Device name.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device name.\n" }, "operationalStatus": { "type": "string", - "description": "interface operational status. One of `up`, `down`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface operational status. One of `up`, `down`.\n" }, "status": { "type": "string", - "description": "interface status. One of `AVAILABLE`, `RESERVED`, `ASSIGNED`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface status. One of `AVAILABLE`, `RESERVED`, `ASSIGNED`.\n" }, "type": { "type": "string", - "description": "interface type.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface type.\n" } }, "type": "object", @@ -12066,49 +8738,24 @@ "properties": { "asn": { "type": "integer", - "description": "Device ASN number. Not required for self configured devices.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device ASN number. Not required for self configured devices.\n" }, "id": { "type": "string", - "description": "Device identifier.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device identifier.\n" }, "interfaceId": { "type": "integer", "description": "Device network interface identifier to use for device link\nconnection.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "ipAddress": { "type": "string", - "description": "IP address from device link subnet that was assigned to the device\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "IP address from device link subnet that was assigned to the device\n" }, "status": { "type": "string", - "description": "device link provisioning status on a given device. One of `PROVISIONING`,\n`PROVISIONED`, `DEPROVISIONING`, `DEPROVISIONED`, `FAILED`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "device link provisioning status on a given device. One of `PROVISIONING`,\n`PROVISIONED`, `DEPROVISIONING`, `DEPROVISIONED`, `FAILED`.\n" } }, "type": "object", @@ -12129,68 +8776,33 @@ "properties": { "accountNumber": { "type": "string", - "description": "billing account number to be used for\nconnection charges\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "billing account number to be used for\nconnection charges\n" }, "dstMetroCode": { "type": "string", - "description": "connection destination metro code.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "connection destination metro code.\n" }, "dstZoneCode": { "type": "string", "description": "connection destination zone code is not required.\n", - "deprecationMessage": "DestinationZoneCode is not required", - "language": { - "python": { - "mapCase": false - } - } + "deprecationMessage": "DestinationZoneCode is not required" }, "srcMetroCode": { "type": "string", - "description": "connection source metro code.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "connection source metro code.\n" }, "srcZoneCode": { "type": "string", "description": "connection source zone code is not required.\n", - "deprecationMessage": "SourceZoneCode is not required", - "language": { - "python": { - "mapCase": false - } - } + "deprecationMessage": "SourceZoneCode is not required" }, "throughput": { "type": "string", - "description": "connection throughput.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "connection throughput.\n" }, "throughputUnit": { "type": "string", - "description": "connection throughput unit (Mbps or Gbps).\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "connection throughput unit (Mbps or Gbps).\n" } }, "type": "object", @@ -12207,231 +8819,111 @@ "accountNumber": { "type": "string", "description": "Billing account number for secondary device.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "aclTemplateId": { "type": "string", - "description": "Identifier of a WAN interface ACL template that will be applied\non a secondary device.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Identifier of a WAN interface ACL template that will be applied\non a secondary device.\n" }, "additionalBandwidth": { "type": "integer", - "description": "Additional Internet bandwidth, in Mbps, for a secondary\ndevice.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Additional Internet bandwidth, in Mbps, for a secondary\ndevice.\n" }, "asn": { "type": "integer", - "description": "(Autonomous System Number) Unique identifier for a network on the internet.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "(Autonomous System Number) Unique identifier for a network on the internet.\n" }, "cloudInitFileId": { "type": "string", "description": "Identifier of a cloud init file that will be applied on a secondary device.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "hostname": { "type": "string", "description": "Secondary device hostname.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "ibx": { "type": "string", - "description": "Device location Equinix Business Exchange name.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device location Equinix Business Exchange name.\n" }, "interfaces": { "type": "array", "items": { "$ref": "#/types/equinix:networkedge/DeviceSecondaryDeviceInterface:DeviceSecondaryDeviceInterface" }, - "description": "List of device interfaces. See Interface Attribute below\nfor more details.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "List of device interfaces. See Interface Attribute below\nfor more details.\n" }, "licenseFile": { "type": "string", "description": "Path to the license file that will be uploaded and applied on a\nsecondary device. Applicable for some device types in BYOL licensing mode.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "licenseFileId": { "type": "string", "description": "Identifier of a license file that will be applied on a secondary device.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "licenseStatus": { "type": "string", - "description": "Device license registration status. Possible values are `APPLYING_LICENSE`,\n`REGISTERED`, `APPLIED`, `WAITING_FOR_CLUSTER_SETUP`, `REGISTRATION_FAILED`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device license registration status. Possible values are `APPLYING_LICENSE`,\n`REGISTERED`, `APPLIED`, `WAITING_FOR_CLUSTER_SETUP`, `REGISTRATION_FAILED`.\n" }, "licenseToken": { "type": "string", "description": "License Token can be provided for some device types o the device.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "metroCode": { "type": "string", "description": "Metro location of a secondary device.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "mgmtAclTemplateUuid": { "type": "string", - "description": "Identifier of an MGMT interface ACL template that will be\napplied on a secondary device.\n* `ssh-key` - (Optional) Up to one definition of SSH key that will be provisioned on a secondary\ndevice.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Identifier of an MGMT interface ACL template that will be\napplied on a secondary device.\n* `ssh-key` - (Optional) Up to one definition of SSH key that will be provisioned on a secondary\ndevice.\n" }, "name": { "type": "string", - "description": "Secondary device name.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Secondary device name.\n" }, "notifications": { "type": "array", "items": { "type": "string" }, - "description": "List of email addresses that will receive notifications about\nsecondary device.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "List of email addresses that will receive notifications about\nsecondary device.\n" }, "redundancyType": { "type": "string", - "description": "Device redundancy type applicable for HA devices, either\nprimary or secondary.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device redundancy type applicable for HA devices, either\nprimary or secondary.\n" }, "redundantId": { "type": "string", - "description": "Unique identifier for a redundant device applicable for HA devices.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique identifier for a redundant device applicable for HA devices.\n" }, "region": { "type": "string", - "description": "Device location region.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device location region.\n" }, "sshIpAddress": { "type": "string", - "description": "IP address of SSH enabled interface on the device.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "IP address of SSH enabled interface on the device.\n" }, "sshIpFqdn": { "type": "string", - "description": "FQDN of SSH enabled interface on the device.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "FQDN of SSH enabled interface on the device.\n" }, "sshKey": { "$ref": "#/types/equinix:networkedge/DeviceSecondaryDeviceSshKey:DeviceSecondaryDeviceSshKey", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "status": { "type": "string", - "description": "interface status. One of `AVAILABLE`, `RESERVED`, `ASSIGNED`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface status. One of `AVAILABLE`, `RESERVED`, `ASSIGNED`.\n" }, "uuid": { "type": "string", - "description": "Device unique identifier.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device unique identifier.\n" }, "vendorConfiguration": { "type": "object", @@ -12439,30 +8931,15 @@ "type": "string" }, "description": "Key/Value pairs of vendor specific configuration parameters\nfor a secondary device. Key values are `controller1`, `activationKey`, `managementType`, `siteId`,\n`systemIpAddress`.\n", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "wanInterfaceId": { "type": "string", - "language": { - "python": { - "mapCase": false - } - }, "willReplaceOnChanges": true }, "zoneCode": { "type": "string", - "description": "Device location zone code.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device location zone code.\n" } }, "type": "object", @@ -12502,75 +8979,35 @@ "properties": { "assignedType": { "type": "string", - "description": "interface management type (Equinix Managed or empty).\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface management type (Equinix Managed or empty).\n" }, "id": { "type": "integer", - "description": "interface identifier.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface identifier.\n" }, "ipAddress": { "type": "string", - "description": "interface IP address.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface IP address.\n" }, "macAddress": { "type": "string", - "description": "interface MAC address.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface MAC address.\n" }, "name": { "type": "string", - "description": "Device name.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device name.\n" }, "operationalStatus": { "type": "string", - "description": "interface operational status. One of `up`, `down`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface operational status. One of `up`, `down`.\n" }, "status": { "type": "string", - "description": "interface status. One of `AVAILABLE`, `RESERVED`, `ASSIGNED`.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface status. One of `AVAILABLE`, `RESERVED`, `ASSIGNED`.\n" }, "type": { "type": "string", - "description": "interface type.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "interface type.\n" } }, "type": "object", @@ -12592,21 +9029,11 @@ "equinix:networkedge/DeviceSecondaryDeviceSshKey:DeviceSecondaryDeviceSshKey": { "properties": { "keyName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "username": { "type": "string", - "description": "username associated with given key.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "username associated with given key.\n" } }, "type": "object", @@ -12618,21 +9045,11 @@ "equinix:networkedge/DeviceSshKey:DeviceSshKey": { "properties": { "keyName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "username": { "type": "string", - "description": "username associated with given key.\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "username associated with given key.\n" } }, "type": "object", @@ -12675,51 +9092,26 @@ "properties": { "clusterId": { "type": "string", - "description": "The id of the cluster\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "The id of the cluster\n" }, "clusterName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "node0s": { "type": "array", "items": { "$ref": "#/types/equinix:networkedge/getDeviceClusterDetailNode0:getDeviceClusterDetailNode0" - }, - "language": { - "python": { - "mapCase": false - } } }, "node1s": { "type": "array", "items": { "$ref": "#/types/equinix:networkedge/getDeviceClusterDetailNode1:getDeviceClusterDetailNode1" - }, - "language": { - "python": { - "mapCase": false - } } }, "numOfNodes": { "type": "integer", - "description": "The number of nodes in the cluster\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "The number of nodes in the cluster\n" } }, "type": "object", @@ -12741,48 +9133,23 @@ "licenseFileId": { "type": "string", "description": "Unique identifier of applied license file\n", - "language": { - "python": { - "mapCase": false - } - }, "secret": true }, "licenseToken": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "name": { "type": "string", - "description": "Name of an existing Equinix Network Edge device\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Name of an existing Equinix Network Edge device\n" }, "uuid": { "type": "string", - "description": "UUID of an existing Equinix Network Edge device\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "UUID of an existing Equinix Network Edge device\n" }, "vendorConfigurations": { "type": "array", "items": { "$ref": "#/types/equinix:networkedge/getDeviceClusterDetailNode0VendorConfiguration:getDeviceClusterDetailNode0VendorConfiguration" - }, - "language": { - "python": { - "mapCase": false - } } } }, @@ -12804,53 +9171,23 @@ "properties": { "activationKey": { "type": "string", - "language": { - "python": { - "mapCase": false - } - }, "secret": true }, "adminPassword": { "type": "string", - "language": { - "python": { - "mapCase": false - } - }, "secret": true }, "controller1": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "controllerFqdn": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "hostname": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "rootPassword": { "type": "string", - "language": { - "python": { - "mapCase": false - } - }, "secret": true } }, @@ -12874,48 +9211,23 @@ "licenseFileId": { "type": "string", "description": "Unique identifier of applied license file\n", - "language": { - "python": { - "mapCase": false - } - }, "secret": true }, "licenseToken": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "name": { "type": "string", - "description": "Name of an existing Equinix Network Edge device\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Name of an existing Equinix Network Edge device\n" }, "uuid": { "type": "string", - "description": "UUID of an existing Equinix Network Edge device\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "UUID of an existing Equinix Network Edge device\n" }, "vendorConfigurations": { "type": "array", "items": { "$ref": "#/types/equinix:networkedge/getDeviceClusterDetailNode1VendorConfiguration:getDeviceClusterDetailNode1VendorConfiguration" - }, - "language": { - "python": { - "mapCase": false - } } } }, @@ -12937,53 +9249,23 @@ "properties": { "activationKey": { "type": "string", - "language": { - "python": { - "mapCase": false - } - }, "secret": true }, "adminPassword": { "type": "string", - "language": { - "python": { - "mapCase": false - } - }, "secret": true }, "controller1": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "controllerFqdn": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "hostname": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "rootPassword": { "type": "string", - "language": { - "python": { - "mapCase": false - } - }, "secret": true } }, @@ -13005,70 +9287,30 @@ "equinix:networkedge/getDeviceInterface:getDeviceInterface": { "properties": { "assignedType": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "id": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "ipAddress": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "macAddress": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "name": { "type": "string", - "description": "Name of an existing Equinix Network Edge device\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Name of an existing Equinix Network Edge device\n" }, "operationalStatus": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "status": { "type": "string", - "description": "Device provisioning status\n* INITIALIZING\n* PROVISIONING\n* PROVISIONED (**NOTE: By default data source will only return devices in this state. To include other states see `valid_state_list`**)\n* WAITING_FOR_PRIMARY\n* WAITING_FOR_SECONDARY\n* WAITING_FOR_REPLICA_CLUSTER_NODES\n* CLUSTER_SETUP_IN_PROGRESS\n* FAILED\n* DEPROVISIONING\n* DEPROVISIONED\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device provisioning status\n* INITIALIZING\n* PROVISIONING\n* PROVISIONED (**NOTE: By default data source will only return devices in this state. To include other states see `valid_state_list`**)\n* WAITING_FOR_PRIMARY\n* WAITING_FOR_SECONDARY\n* WAITING_FOR_REPLICA_CLUSTER_NODES\n* CLUSTER_SETUP_IN_PROGRESS\n* FAILED\n* DEPROVISIONING\n* DEPROVISIONED\n" }, "type": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -13091,239 +9333,112 @@ "equinix:networkedge/getDeviceSecondaryDevice:getDeviceSecondaryDevice": { "properties": { "accountNumber": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "aclTemplateId": { "type": "string", - "description": "Unique identifier of applied ACL template\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique identifier of applied ACL template\n" }, "additionalBandwidth": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "asn": { "type": "integer", - "description": "Autonomous system number\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Autonomous system number\n" }, - "hostname": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "cloudInitFileId": { + "type": "string" + }, + "hostname": { + "type": "string" }, "ibx": { "type": "string", - "description": "Device location Equinix Business Exchange name\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device location Equinix Business Exchange name\n" }, "interfaces": { "type": "array", "items": { "$ref": "#/types/equinix:networkedge/getDeviceSecondaryDeviceInterface:getDeviceSecondaryDeviceInterface" }, - "description": "List of device interfaces\n* `interface.#.id` - interface identifier\n* `interface.#.name` - interface name\n* `interface.#.status` - interface status (AVAILABLE, RESERVED, ASSIGNED)\n* `interface.#.operational_status` - interface operational status (up or down)\n* `interface.#.mac_address` - interface MAC address\n* `interface.#.ip_address` - interface IP address\n* `interface.#.assigned_type` - interface management type (Equinix Managed or empty)\n* `interface.#.type` - interface type\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "List of device interfaces\n* `interface.#.id` - interface identifier\n* `interface.#.name` - interface name\n* `interface.#.status` - interface status (AVAILABLE, RESERVED, ASSIGNED)\n* `interface.#.operational_status` - interface operational status (up or down)\n* `interface.#.mac_address` - interface MAC address\n* `interface.#.ip_address` - interface IP address\n* `interface.#.assigned_type` - interface management type (Equinix Managed or empty)\n* `interface.#.type` - interface type\n" }, "licenseFile": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "licenseFileId": { "type": "string", - "description": "Unique identifier of applied license file\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique identifier of applied license file\n" }, "licenseStatus": { "type": "string", - "description": "Device license registration status\n* APPLYING_LICENSE\n* REGISTERED\n* APPLIED\n* WAITING_FOR_CLUSTER_SETUP\n* REGISTRATION_FAILED\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device license registration status\n* APPLYING_LICENSE\n* REGISTERED\n* APPLIED\n* WAITING_FOR_CLUSTER_SETUP\n* REGISTRATION_FAILED\n* NA\n" }, "licenseToken": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "metroCode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "mgmtAclTemplateUuid": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "name": { "type": "string", - "description": "Name of an existing Equinix Network Edge device\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Name of an existing Equinix Network Edge device\n" }, "notifications": { "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, "redundancyType": { "type": "string", - "description": "Device redundancy type applicable for HA devices, either\nprimary or secondary\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device redundancy type applicable for HA devices, either\nprimary or secondary\n" }, "redundantId": { "type": "string", - "description": "Unique identifier for a redundant device applicable for HA devices\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Unique identifier for a redundant device applicable for HA devices\n" }, "region": { "type": "string", - "description": "Device location region\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device location region\n" }, "sshIpAddress": { "type": "string", - "description": "IP address of SSH enabled interface on the device\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "IP address of SSH enabled interface on the device\n" }, "sshIpFqdn": { "type": "string", - "description": "FQDN of SSH enabled interface on the device\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "FQDN of SSH enabled interface on the device\n" }, "sshKeys": { "type": "array", "items": { "$ref": "#/types/equinix:networkedge/getDeviceSecondaryDeviceSshKey:getDeviceSecondaryDeviceSshKey" - }, - "language": { - "python": { - "mapCase": false - } } }, "status": { "type": "string", - "description": "Device provisioning status\n* INITIALIZING\n* PROVISIONING\n* PROVISIONED (**NOTE: By default data source will only return devices in this state. To include other states see `valid_state_list`**)\n* WAITING_FOR_PRIMARY\n* WAITING_FOR_SECONDARY\n* WAITING_FOR_REPLICA_CLUSTER_NODES\n* CLUSTER_SETUP_IN_PROGRESS\n* FAILED\n* DEPROVISIONING\n* DEPROVISIONED\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device provisioning status\n* INITIALIZING\n* PROVISIONING\n* PROVISIONED (**NOTE: By default data source will only return devices in this state. To include other states see `valid_state_list`**)\n* WAITING_FOR_PRIMARY\n* WAITING_FOR_SECONDARY\n* WAITING_FOR_REPLICA_CLUSTER_NODES\n* CLUSTER_SETUP_IN_PROGRESS\n* FAILED\n* DEPROVISIONING\n* DEPROVISIONED\n" }, "uuid": { "type": "string", - "description": "UUID of an existing Equinix Network Edge device\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "UUID of an existing Equinix Network Edge device\n" }, "vendorConfiguration": { "type": "object", "additionalProperties": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, "wanInterfaceId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "zoneCode": { "type": "string", - "description": "Device location zone code\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device location zone code\n" } }, "type": "object", @@ -13332,6 +9447,7 @@ "aclTemplateId", "additionalBandwidth", "asn", + "cloudInitFileId", "hostname", "ibx", "interfaces", @@ -13364,70 +9480,30 @@ "equinix:networkedge/getDeviceSecondaryDeviceInterface:getDeviceSecondaryDeviceInterface": { "properties": { "assignedType": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "id": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "ipAddress": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "macAddress": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "name": { "type": "string", - "description": "Name of an existing Equinix Network Edge device\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Name of an existing Equinix Network Edge device\n" }, "operationalStatus": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "status": { "type": "string", - "description": "Device provisioning status\n* INITIALIZING\n* PROVISIONING\n* PROVISIONED (**NOTE: By default data source will only return devices in this state. To include other states see `valid_state_list`**)\n* WAITING_FOR_PRIMARY\n* WAITING_FOR_SECONDARY\n* WAITING_FOR_REPLICA_CLUSTER_NODES\n* CLUSTER_SETUP_IN_PROGRESS\n* FAILED\n* DEPROVISIONING\n* DEPROVISIONED\n", - "language": { - "python": { - "mapCase": false - } - } + "description": "Device provisioning status\n* INITIALIZING\n* PROVISIONING\n* PROVISIONED (**NOTE: By default data source will only return devices in this state. To include other states see `valid_state_list`**)\n* WAITING_FOR_PRIMARY\n* WAITING_FOR_SECONDARY\n* WAITING_FOR_REPLICA_CLUSTER_NODES\n* CLUSTER_SETUP_IN_PROGRESS\n* FAILED\n* DEPROVISIONING\n* DEPROVISIONED\n" }, "type": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -13450,20 +9526,10 @@ "equinix:networkedge/getDeviceSecondaryDeviceSshKey:getDeviceSecondaryDeviceSshKey": { "properties": { "keyName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "username": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -13480,20 +9546,10 @@ "equinix:networkedge/getDeviceSshKey:getDeviceSshKey": { "properties": { "keyName": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "username": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -13559,44 +9615,238 @@ "description": "API token from the developer sandbox\n" } }, - "inputProperties": { - "authToken": { - "type": "string", - "description": "The Equinix Metal API auth key for API operations\n" - }, - "clientId": { - "type": "string", - "description": "API Consumer Key available under My Apps section in developer portal\n" - }, - "clientSecret": { - "type": "string", - "description": "API Consumer secret available under My Apps section in developer portal\n" - }, - "endpoint": { - "type": "string", - "description": "The Equinix API base URL to point out desired environment. Defaults to https://api.equinix.com\n" - }, - "maxRetries": { - "type": "integer" - }, - "maxRetryWaitSeconds": { - "type": "integer" - }, - "requestTimeout": { - "type": "integer", - "description": "The duration of time, in seconds, that the Equinix Platform API Client should wait before canceling an API request.\nDefaults to 30\n" - }, - "responseMaxPageSize": { - "type": "integer", - "description": "The maximum number of records in a single response for REST queries that produce paginated responses\n" - }, - "token": { - "type": "string", - "description": "API token from the developer sandbox\n" - } - } - }, - "resources": { + "inputProperties": { + "authToken": { + "type": "string", + "description": "The Equinix Metal API auth key for API operations\n" + }, + "clientId": { + "type": "string", + "description": "API Consumer Key available under My Apps section in developer portal\n" + }, + "clientSecret": { + "type": "string", + "description": "API Consumer secret available under My Apps section in developer portal\n" + }, + "endpoint": { + "type": "string", + "description": "The Equinix API base URL to point out desired environment. Defaults to https://api.equinix.com\n" + }, + "maxRetries": { + "type": "integer" + }, + "maxRetryWaitSeconds": { + "type": "integer" + }, + "requestTimeout": { + "type": "integer", + "description": "The duration of time, in seconds, that the Equinix Platform API Client should wait before canceling an API request.\nDefaults to 30\n" + }, + "responseMaxPageSize": { + "type": "integer", + "description": "The maximum number of records in a single response for REST queries that produce paginated responses\n" + }, + "token": { + "type": "string", + "description": "API token from the developer sandbox\n" + } + } + }, + "resources": { + "equinix:fabric/cloudRouter:CloudRouter": { + "description": "{{% examples %}}\n## Example Usage\n\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\n\nconst config = new pulumi.Config();\nconst metro = config.get(\"metro\") || \"FR\";\nconst accountNum = config.requireNumber(\"accountNum\");\nconst router = new equinix.fabric.CloudRouter(\"router\", {\n name: \"My-Fabric-Cloud-Router\",\n type: \"XF_ROUTER\",\n location: {\n metroCode: metro,\n },\n \"package\": {\n code: \"BASIC\",\n },\n notifications: [{\n type: \"ALL\",\n emails: [\"example@equinix.com\"],\n }],\n account: {\n accountNumber: 272010,\n },\n});\nexport const routerId = router.id;\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nconfig = pulumi.Config()\nmetro = config.get(\"metro\")\nif metro is None:\n metro = \"FR\"\naccount_num = config.require_int(\"accountNum\")\nrouter = equinix.fabric.CloudRouter(\"router\",\n name=\"My-Fabric-Cloud-Router\",\n type=\"XF_ROUTER\",\n location=equinix.fabric.CloudRouterLocationArgs(\n metro_code=metro,\n ),\n package=equinix.fabric.CloudRouterPackageArgs(\n code=\"BASIC\",\n ),\n notifications=[equinix.fabric.CloudRouterNotificationArgs(\n type=\"ALL\",\n emails=[\"example@equinix.com\"],\n )],\n account=equinix.fabric.CloudRouterAccountArgs(\n account_number=272010,\n ))\npulumi.export(\"routerId\", router.id)\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\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tmetro := \"FR\"\n\t\tif param := cfg.Get(\"metro\"); param != \"\" {\n\t\t\tmetro = param\n\t\t}\n\t\taccountNum := cfg.RequireInt(\"accountNum\")\n\t\trouter, err := fabric.NewCloudRouter(ctx, \"router\", \u0026fabric.CloudRouterArgs{\n\t\t\tName: pulumi.String(\"My-Fabric-Cloud-Router\"),\n\t\t\tType: pulumi.String(\"XF_ROUTER\"),\n\t\t\tLocation: \u0026fabric.CloudRouterLocationArgs{\n\t\t\t\tMetroCode: pulumi.String(metro),\n\t\t\t},\n\t\t\tPackage: \u0026fabric.CloudRouterPackageArgs{\n\t\t\t\tCode: pulumi.String(\"BASIC\"),\n\t\t\t},\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},\n\t\t\t\t},\n\t\t\t},\n\t\t\tAccount: \u0026fabric.CloudRouterAccountArgs{\n\t\t\t\tAccountNumber: pulumi.Int(272010),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"routerId\", router.ID())\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 config = new Config();\n var metro = config.Get(\"metro\") ?? \"FR\";\n var accountNum = config.RequireInt32(\"accountNum\");\n var router = new Equinix.Fabric.CloudRouter(\"router\", new()\n {\n Name = \"My-Fabric-Cloud-Router\",\n Type = \"XF_ROUTER\",\n Location = new Equinix.Fabric.Inputs.CloudRouterLocationArgs\n {\n MetroCode = metro,\n },\n Package = new Equinix.Fabric.Inputs.CloudRouterPackageArgs\n {\n Code = \"BASIC\",\n },\n Notifications = new[]\n {\n new Equinix.Fabric.Inputs.CloudRouterNotificationArgs\n {\n Type = \"ALL\",\n Emails = new[]\n {\n \"example@equinix.com\",\n },\n },\n },\n Account = new Equinix.Fabric.Inputs.CloudRouterAccountArgs\n {\n AccountNumber = 272010,\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"routerId\"] = router.Id,\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.CloudRouterLocationArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterPackageArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterNotificationArgs;\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 final var config = ctx.config();\n final var metro = config.get(\"metro\").orElse(\"FR\");\n final var accountNum = config.get(\"accountNum\");\n var router = new CloudRouter(\"router\", CloudRouterArgs.builder() \n .name(\"My-Fabric-Cloud-Router\")\n .type(\"XF_ROUTER\")\n .location(CloudRouterLocationArgs.builder()\n .metroCode(metro)\n .build())\n .package_(CloudRouterPackageArgs.builder()\n .code(\"BASIC\")\n .build())\n .notifications(CloudRouterNotificationArgs.builder()\n .type(\"ALL\")\n .emails(\"example@equinix.com\")\n .build())\n .account(CloudRouterAccountArgs.builder()\n .accountNumber(272010)\n .build())\n .build());\n\n ctx.export(\"routerId\", router.id());\n }\n}\n```\n```yaml\nconfig:\n metro:\n type: string\n default: FR\n accountNum:\n type: integer\nresources:\n router:\n type: equinix:fabric:CloudRouter\n properties:\n name: My-Fabric-Cloud-Router\n type: XF_ROUTER\n location:\n metroCode: ${metro}\n package:\n code: BASIC\n notifications:\n - type: ALL\n emails:\n - example@equinix.com\n account:\n accountNumber: 272010\noutputs:\n routerId: ${router.id}\n```\n{{% /example %}}\n\n{{% /examples %}}", + "properties": { + "account": { + "$ref": "#/types/equinix:fabric/CloudRouterAccount:CloudRouterAccount", + "description": "Customer account information that is associated with this Fabric Cloud Router\n" + }, + "changeLogs": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/CloudRouterChangeLog:CloudRouterChangeLog" + }, + "description": "Captures Fabric Cloud Router lifecycle change information\n" + }, + "description": { + "type": "string", + "description": "Customer-provided Fabric Cloud Router description\n" + }, + "equinixAsn": { + "type": "integer", + "description": "Equinix ASN\n" + }, + "href": { + "type": "string", + "description": "Unique Resource URL\n" + }, + "location": { + "$ref": "#/types/equinix:fabric/CloudRouterLocation:CloudRouterLocation", + "description": "Fabric Cloud Router location\n" + }, + "name": { + "type": "string", + "description": "Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" + }, + "notifications": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/CloudRouterNotification:CloudRouterNotification" + }, + "description": "Preferences for notifications on Fabric Cloud Router configuration or status changes\n" + }, + "order": { + "$ref": "#/types/equinix:fabric/CloudRouterOrder:CloudRouterOrder", + "description": "Order information related to this Fabric Cloud Router\n" + }, + "package": { + "$ref": "#/types/equinix:fabric/CloudRouterPackage:CloudRouterPackage", + "description": "Fabric Cloud Router package\n" + }, + "projects": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/CloudRouterProject:CloudRouterProject" + }, + "description": "Fabric Cloud Router project\n" + }, + "state": { + "type": "string", + "description": "Fabric Cloud Router overall state\n" + }, + "type": { + "type": "string", + "description": "Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS\n" + } + }, + "required": [ + "changeLogs", + "equinixAsn", + "href", + "location", + "name", + "notifications", + "package", + "state", + "type" + ], + "inputProperties": { + "account": { + "$ref": "#/types/equinix:fabric/CloudRouterAccount:CloudRouterAccount", + "description": "Customer account information that is associated with this Fabric Cloud Router\n" + }, + "description": { + "type": "string", + "description": "Customer-provided Fabric Cloud Router description\n" + }, + "location": { + "$ref": "#/types/equinix:fabric/CloudRouterLocation:CloudRouterLocation", + "description": "Fabric Cloud Router location\n" + }, + "name": { + "type": "string", + "description": "Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" + }, + "notifications": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/CloudRouterNotification:CloudRouterNotification" + }, + "description": "Preferences for notifications on Fabric Cloud Router configuration or status changes\n" + }, + "order": { + "$ref": "#/types/equinix:fabric/CloudRouterOrder:CloudRouterOrder", + "description": "Order information related to this Fabric Cloud Router\n" + }, + "package": { + "$ref": "#/types/equinix:fabric/CloudRouterPackage:CloudRouterPackage", + "description": "Fabric Cloud Router package\n" + }, + "projects": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/CloudRouterProject:CloudRouterProject" + }, + "description": "Fabric Cloud Router project\n" + }, + "type": { + "type": "string", + "description": "Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS\n" + } + }, + "requiredInputs": [ + "location", + "notifications", + "package", + "type" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering CloudRouter resources.\n", + "properties": { + "account": { + "$ref": "#/types/equinix:fabric/CloudRouterAccount:CloudRouterAccount", + "description": "Customer account information that is associated with this Fabric Cloud Router\n" + }, + "changeLogs": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/CloudRouterChangeLog:CloudRouterChangeLog" + }, + "description": "Captures Fabric Cloud Router lifecycle change information\n" + }, + "description": { + "type": "string", + "description": "Customer-provided Fabric Cloud Router description\n" + }, + "equinixAsn": { + "type": "integer", + "description": "Equinix ASN\n" + }, + "href": { + "type": "string", + "description": "Unique Resource URL\n" + }, + "location": { + "$ref": "#/types/equinix:fabric/CloudRouterLocation:CloudRouterLocation", + "description": "Fabric Cloud Router location\n" + }, + "name": { + "type": "string", + "description": "Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" + }, + "notifications": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/CloudRouterNotification:CloudRouterNotification" + }, + "description": "Preferences for notifications on Fabric Cloud Router configuration or status changes\n" + }, + "order": { + "$ref": "#/types/equinix:fabric/CloudRouterOrder:CloudRouterOrder", + "description": "Order information related to this Fabric Cloud Router\n" + }, + "package": { + "$ref": "#/types/equinix:fabric/CloudRouterPackage:CloudRouterPackage", + "description": "Fabric Cloud Router package\n" + }, + "projects": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/CloudRouterProject:CloudRouterProject" + }, + "description": "Fabric Cloud Router project\n" + }, + "state": { + "type": "string", + "description": "Fabric Cloud Router overall state\n" + }, + "type": { + "type": "string", + "description": "Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS\n" + } + }, + "type": "object" + } + }, "equinix:fabric/connection:Connection": { "description": "{{% examples %}}\n## Example Usage\n\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\n\nconst config = new pulumi.Config();\nconst metro = config.get(\"metro\") || \"FR\";\nconst speedInMbps = config.getNumber(\"speedInMbps\") || 50;\nconst fabricPortName = config.require(\"fabricPortName\");\nconst awsRegion = config.get(\"awsRegion\") || \"eu-central-1\";\nconst awsAccountId = config.require(\"awsAccountId\");\nconst serviceProfileId = equinix.fabric.getServiceProfiles({\n filter: {\n property: \"/name\",\n operator: \"=\",\n values: [\"AWS Direct Connect\"],\n },\n}).then(invoke =\u003e invoke.data?.[0]?.uuid!);\nconst portId = equinix.fabric.getPorts({\n filter: {\n name: fabricPortName,\n },\n}).then(invoke =\u003e invoke.data?.[0]?.uuid!);\nconst colo2Aws = new equinix.fabric.Connection(\"colo2Aws\", {\n name: \"Pulumi-colo2Aws\",\n type: \"EVPL_VC\",\n notifications: [{\n type: \"ALL\",\n emails: [\"example@equinix.com\"],\n }],\n bandwidth: speedInMbps,\n redundancy: {\n priority: \"PRIMARY\",\n },\n aSide: {\n accessPoint: {\n type: \"COLO\",\n port: {\n uuid: portId,\n },\n linkProtocol: {\n type: \"DOT1Q\",\n vlanTag: 1234,\n },\n },\n },\n zSide: {\n accessPoint: {\n type: \"SP\",\n authenticationKey: awsAccountId,\n sellerRegion: awsRegion,\n profile: {\n type: \"L2_PROFILE\",\n uuid: serviceProfileId,\n },\n location: {\n metroCode: metro,\n },\n },\n },\n});\nexport const connectionId = colo2Aws.id;\nexport const connectionStatus = colo2Aws.operation.apply(operation =\u003e operation.equinixStatus);\nexport const connectionProviderStatus = colo2Aws.operation.apply(operation =\u003e operation.providerStatus);\nexport const awsDirectConnectId = colo2Aws.zSide.apply(zSide =\u003e zSide.accessPoint?.providerConnectionId);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nconfig = pulumi.Config()\nmetro = config.get(\"metro\")\nif metro is None:\n metro = \"FR\"\nspeed_in_mbps = config.get_int(\"speedInMbps\")\nif speed_in_mbps is None:\n speed_in_mbps = 50\nfabric_port_name = config.require(\"fabricPortName\")\naws_region = config.get(\"awsRegion\")\nif aws_region is None:\n aws_region = \"eu-central-1\"\naws_account_id = config.require(\"awsAccountId\")\nservice_profile_id = equinix.fabric.get_service_profiles(filter=equinix.fabric.GetServiceProfilesFilterArgs(\n property=\"/name\",\n operator=\"=\",\n values=[\"AWS Direct Connect\"],\n)).data[0].uuid\nport_id = equinix.fabric.get_ports(filter=equinix.fabric.GetPortsFilterArgs(\n name=fabric_port_name,\n)).data[0].uuid\ncolo2_aws = equinix.fabric.Connection(\"colo2Aws\",\n name=\"Pulumi-colo2Aws\",\n type=\"EVPL_VC\",\n notifications=[equinix.fabric.ConnectionNotificationArgs(\n type=\"ALL\",\n emails=[\"example@equinix.com\"],\n )],\n bandwidth=speed_in_mbps,\n redundancy=equinix.fabric.ConnectionRedundancyArgs(\n priority=\"PRIMARY\",\n ),\n a_side=equinix.fabric.ConnectionASideArgs(\n access_point=equinix.fabric.ConnectionASideAccessPointArgs(\n type=\"COLO\",\n port=equinix.fabric.ConnectionASideAccessPointPortArgs(\n uuid=port_id,\n ),\n link_protocol=equinix.fabric.ConnectionASideAccessPointLinkProtocolArgs(\n type=\"DOT1Q\",\n vlan_tag=1234,\n ),\n ),\n ),\n z_side=equinix.fabric.ConnectionZSideArgs(\n access_point=equinix.fabric.ConnectionZSideAccessPointArgs(\n type=\"SP\",\n authentication_key=aws_account_id,\n seller_region=aws_region,\n profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs(\n type=\"L2_PROFILE\",\n uuid=service_profile_id,\n ),\n location=equinix.fabric.ConnectionZSideAccessPointLocationArgs(\n metro_code=metro,\n ),\n ),\n ))\npulumi.export(\"connectionId\", colo2_aws.id)\npulumi.export(\"connectionStatus\", colo2_aws.operation.equinix_status)\npulumi.export(\"connectionProviderStatus\", colo2_aws.operation.provider_status)\npulumi.export(\"awsDirectConnectId\", colo2_aws.z_side.access_point.provider_connection_id)\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\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tmetro := \"FR\"\n\t\tif param := cfg.Get(\"metro\"); param != \"\" {\n\t\t\tmetro = param\n\t\t}\n\t\tspeedInMbps := 50\n\t\tif param := cfg.GetInt(\"speedInMbps\"); param != 0 {\n\t\t\tspeedInMbps = param\n\t\t}\n\t\tfabricPortName := cfg.Require(\"fabricPortName\")\n\t\tawsRegion := \"eu-central-1\"\n\t\tif param := cfg.Get(\"awsRegion\"); param != \"\" {\n\t\t\tawsRegion = param\n\t\t}\n\t\tawsAccountId := cfg.Require(\"awsAccountId\")\n\t\tserviceProfileId := fabric.GetServiceProfiles(ctx, \u0026fabric.GetServiceProfilesArgs{\n\t\t\tFilter: fabric.GetServiceProfilesFilter{\n\t\t\t\tProperty: pulumi.StringRef(\"/name\"),\n\t\t\t\tOperator: pulumi.StringRef(\"=\"),\n\t\t\t\tValues: []string{\n\t\t\t\t\t\"AWS Direct Connect\",\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil).Data[0].Uuid\n\t\tportId := fabric.GetPorts(ctx, \u0026fabric.GetPortsArgs{\n\t\t\tFilter: fabric.GetPortsFilter{\n\t\t\t\tName: pulumi.StringRef(fabricPortName),\n\t\t\t},\n\t\t}, nil).Data[0].Uuid\n\t\tcolo2Aws, err := fabric.NewConnection(ctx, \"colo2Aws\", \u0026fabric.ConnectionArgs{\n\t\t\tName: pulumi.String(\"Pulumi-colo2Aws\"),\n\t\t\tType: pulumi.String(\"EVPL_VC\"),\n\t\t\tNotifications: fabric.ConnectionNotificationArray{\n\t\t\t\t\u0026fabric.ConnectionNotificationArgs{\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},\n\t\t\t\t},\n\t\t\t},\n\t\t\tBandwidth: pulumi.Int(speedInMbps),\n\t\t\tRedundancy: \u0026fabric.ConnectionRedundancyArgs{\n\t\t\t\tPriority: pulumi.String(\"PRIMARY\"),\n\t\t\t},\n\t\t\tASide: \u0026fabric.ConnectionASideArgs{\n\t\t\t\tAccessPoint: \u0026fabric.ConnectionASideAccessPointArgs{\n\t\t\t\t\tType: pulumi.String(\"COLO\"),\n\t\t\t\t\tPort: \u0026fabric.ConnectionASideAccessPointPortArgs{\n\t\t\t\t\t\tUuid: *pulumi.String(portId),\n\t\t\t\t\t},\n\t\t\t\t\tLinkProtocol: \u0026fabric.ConnectionASideAccessPointLinkProtocolArgs{\n\t\t\t\t\t\tType: pulumi.String(\"DOT1Q\"),\n\t\t\t\t\t\tVlanTag: pulumi.Int(1234),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tZSide: \u0026fabric.ConnectionZSideArgs{\n\t\t\t\tAccessPoint: \u0026fabric.ConnectionZSideAccessPointArgs{\n\t\t\t\t\tType: pulumi.String(\"SP\"),\n\t\t\t\t\tAuthenticationKey: pulumi.String(awsAccountId),\n\t\t\t\t\tSellerRegion: pulumi.String(awsRegion),\n\t\t\t\t\tProfile: \u0026fabric.ConnectionZSideAccessPointProfileArgs{\n\t\t\t\t\t\tType: pulumi.String(\"L2_PROFILE\"),\n\t\t\t\t\t\tUuid: *pulumi.String(serviceProfileId),\n\t\t\t\t\t},\n\t\t\t\t\tLocation: \u0026fabric.ConnectionZSideAccessPointLocationArgs{\n\t\t\t\t\t\tMetroCode: pulumi.String(metro),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"connectionId\", colo2Aws.ID())\n\t\tctx.Export(\"connectionStatus\", colo2Aws.Operation.ApplyT(func(operation fabric.ConnectionOperation) (*string, error) {\n\t\t\treturn \u0026operation.EquinixStatus, nil\n\t\t}).(pulumi.StringPtrOutput))\n\t\tctx.Export(\"connectionProviderStatus\", colo2Aws.Operation.ApplyT(func(operation fabric.ConnectionOperation) (*string, error) {\n\t\t\treturn \u0026operation.ProviderStatus, nil\n\t\t}).(pulumi.StringPtrOutput))\n\t\tctx.Export(\"awsDirectConnectId\", colo2Aws.ZSide.ApplyT(func(zSide fabric.ConnectionZSide) (*string, error) {\n\t\t\treturn \u0026zSide.AccessPoint.ProviderConnectionId, nil\n\t\t}).(pulumi.StringPtrOutput))\n\t\treturn nil\n\t})\n}\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n var metro = config.Get(\"metro\") ?? \"FR\";\n var speedInMbps = config.GetNumber(\"speedInMbps\") ?? 50;\n var fabricPortName = config.Require(\"fabricPortName\");\n var awsRegion = config.Get(\"awsRegion\") ?? \"eu-central-1\";\n var awsAccountId = config.Require(\"awsAccountId\");\n var serviceProfileId = Equinix.Fabric.GetServiceProfiles.Invoke(new()\n {\n Filter = new Equinix.Fabric.Inputs.GetServiceProfilesFilterInputArgs\n {\n Property = \"/name\",\n Operator = \"=\",\n Values = new[]\n {\n \"AWS Direct Connect\",\n },\n },\n }).Apply(invoke =\u003e invoke.Data[0]?.Uuid);\n\n var portId = Equinix.Fabric.GetPorts.Invoke(new()\n {\n Filter = new Equinix.Fabric.Inputs.GetPortsFilterInputArgs\n {\n Name = fabricPortName,\n },\n }).Apply(invoke =\u003e invoke.Data[0]?.Uuid);\n\n var colo2Aws = new Equinix.Fabric.Connection(\"colo2Aws\", new()\n {\n Name = \"Pulumi-colo2Aws\",\n Type = \"EVPL_VC\",\n Notifications = new[]\n {\n new Equinix.Fabric.Inputs.ConnectionNotificationArgs\n {\n Type = \"ALL\",\n Emails = new[]\n {\n \"example@equinix.com\",\n },\n },\n },\n Bandwidth = speedInMbps,\n Redundancy = new Equinix.Fabric.Inputs.ConnectionRedundancyArgs\n {\n Priority = \"PRIMARY\",\n },\n ASide = new Equinix.Fabric.Inputs.ConnectionASideArgs\n {\n AccessPoint = new Equinix.Fabric.Inputs.ConnectionASideAccessPointArgs\n {\n Type = \"COLO\",\n Port = new Equinix.Fabric.Inputs.ConnectionASideAccessPointPortArgs\n {\n Uuid = portId,\n },\n LinkProtocol = new Equinix.Fabric.Inputs.ConnectionASideAccessPointLinkProtocolArgs\n {\n Type = \"DOT1Q\",\n VlanTag = 1234,\n },\n },\n },\n ZSide = new Equinix.Fabric.Inputs.ConnectionZSideArgs\n {\n AccessPoint = new Equinix.Fabric.Inputs.ConnectionZSideAccessPointArgs\n {\n Type = \"SP\",\n AuthenticationKey = awsAccountId,\n SellerRegion = awsRegion,\n Profile = new Equinix.Fabric.Inputs.ConnectionZSideAccessPointProfileArgs\n {\n Type = \"L2_PROFILE\",\n Uuid = serviceProfileId,\n },\n Location = new Equinix.Fabric.Inputs.ConnectionZSideAccessPointLocationArgs\n {\n MetroCode = metro,\n },\n },\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"connectionId\"] = colo2Aws.Id,\n [\"connectionStatus\"] = colo2Aws.Operation.Apply(operation =\u003e operation.EquinixStatus),\n [\"connectionProviderStatus\"] = colo2Aws.Operation.Apply(operation =\u003e operation.ProviderStatus),\n [\"awsDirectConnectId\"] = colo2Aws.ZSide.Apply(zSide =\u003e zSide.AccessPoint?.ProviderConnectionId),\n };\n});\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.equinix.pulumi.fabric.Connection;\nimport com.equinix.pulumi.fabric.ConnectionArgs;\nimport com.equinix.pulumi.fabric.inputs.ConnectionNotificationArgs;\nimport com.equinix.pulumi.fabric.inputs.ConnectionRedundancyArgs;\nimport com.equinix.pulumi.fabric.inputs.ConnectionASideArgs;\nimport com.equinix.pulumi.fabric.inputs.ConnectionASideAccessPointArgs;\nimport com.equinix.pulumi.fabric.inputs.ConnectionASideAccessPointPortArgs;\nimport com.equinix.pulumi.fabric.inputs.ConnectionASideAccessPointLinkProtocolArgs;\nimport com.equinix.pulumi.fabric.inputs.ConnectionZSideArgs;\nimport com.equinix.pulumi.fabric.inputs.ConnectionZSideAccessPointArgs;\nimport com.equinix.pulumi.fabric.inputs.ConnectionZSideAccessPointProfileArgs;\nimport com.equinix.pulumi.fabric.inputs.ConnectionZSideAccessPointLocationArgs;\nimport com.equinix.pulumi.fabric.inputs.GetServiceProfilesArgs;\nimport com.equinix.pulumi.fabric.inputs.GetServiceProfilesFilterArgs;\nimport com.equinix.pulumi.fabric.inputs.GetPortsArgs;\nimport com.equinix.pulumi.fabric.inputs.GetPortsFilterArgs;\nimport com.equinix.pulumi.fabric.FabricFunctions;\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 config = ctx.config();\n final var metro = config.get(\"metro\").orElse(\"FR\");\n final var speedInMbps = Integer.parseInt(config.get(\"speedInMbps\").orElse(\"50\"));\n final var fabricPortName = config.get(\"fabricPortName\").get().toString();\n final var awsRegion = config.get(\"awsRegion\").orElse(\"eu-central-1\");\n final var awsAccountId = config.get(\"awsAccountId\").get().toString();\n System.out.println(System.getProperty(\"java.classpath\"));\n final var serviceProfileId = FabricFunctions.getServiceProfiles(GetServiceProfilesArgs.builder()\n .filter(GetServiceProfilesFilterArgs.builder()\n .property(\"/name\")\n .operator(\"=\")\n .values(\"AWS Direct Connect\")\n .build())\n .build()).applyValue(data -\u003e data.data().get(0).uuid().get());\n\n final var portId = FabricFunctions.getPorts(GetPortsArgs.builder()\n .filter(GetPortsFilterArgs.builder()\n .name(fabricPortName)\n .build())\n .build()).applyValue(data -\u003e data.data().get(0).uuid().get());\n\n var colo2Aws = new Connection(\"colo2Aws\", ConnectionArgs.builder() \n .name(\"Pulumi-colo2Aws\")\n .type(\"EVPL_VC\")\n .notifications(ConnectionNotificationArgs.builder()\n .type(\"ALL\")\n .emails(\"example@equinix.com\")\n .build())\n .bandwidth(speedInMbps)\n .redundancy(ConnectionRedundancyArgs.builder()\n .priority(\"PRIMARY\")\n .build())\n .aSide(ConnectionASideArgs.builder()\n .accessPoint(ConnectionASideAccessPointArgs.builder()\n .type(\"COLO\")\n .port(ConnectionASideAccessPointPortArgs.builder()\n .uuid(portId)\n .build())\n .linkProtocol(ConnectionASideAccessPointLinkProtocolArgs.builder()\n .type(\"DOT1Q\")\n .vlanTag(1234)\n .build())\n .build())\n .build())\n .zSide(ConnectionZSideArgs.builder()\n .accessPoint(ConnectionZSideAccessPointArgs.builder()\n .type(\"SP\")\n .authenticationKey(awsAccountId)\n .sellerRegion(awsRegion)\n .profile(ConnectionZSideAccessPointProfileArgs.builder()\n .type(\"L2_PROFILE\")\n .uuid(serviceProfileId)\n .build())\n .location(ConnectionZSideAccessPointLocationArgs.builder()\n .metroCode(metro)\n .build())\n .build())\n .build())\n .build());\n\n ctx.export(\"connectionId\", colo2Aws.id());\n ctx.export(\"connectionStatus\", colo2Aws.operation().applyValue(operation -\u003e operation.equinixStatus()));\n ctx.export(\"connectionProviderStatus\", colo2Aws.operation().applyValue(operation -\u003e operation.providerStatus()));\n ctx.export(\"awsDirectConnectId\", colo2Aws.zSide().applyValue(zSide -\u003e zSide.accessPoint().get().providerConnectionId()));\n }\n}\n```\n```yaml\nconfig:\n metro:\n type: string\n default: FR\n speedInMbps:\n type: integer\n default: 50\n fabricPortName:\n type: string\n awsRegion:\n type: string\n default: eu-central-1\n awsAccountId:\n type: string\nvariables:\n serviceProfileId:\n fn::invoke:\n function: equinix:fabric:getServiceProfiles\n arguments:\n filter:\n property: /name\n operator: \"=\"\n values:\n - AWS Direct Connect\n return: data[0].uuid\n portId:\n fn::invoke:\n function: equinix:fabric:getPorts\n arguments:\n filter:\n name: ${fabricPortName}\n return: data[0].uuid\nresources:\n colo2Aws:\n type: equinix:fabric:Connection\n properties:\n name: Pulumi-colo2Aws\n type: EVPL_VC\n notifications:\n - type: ALL\n emails:\n - example@equinix.com\n bandwidth: ${speedInMbps}\n redundancy:\n priority: PRIMARY\n aSide:\n accessPoint:\n type: COLO\n port:\n uuid: ${portId}\n linkProtocol:\n type: DOT1Q\n vlanTag: 1234\n zSide:\n accessPoint:\n type: SP\n authenticationKey: ${awsAccountId}\n sellerRegion: ${awsRegion}\n profile:\n type: L2_PROFILE\n uuid: ${serviceProfileId}\n location:\n metroCode: ${metro}\noutputs:\n connectionId: ${colo2Aws.id}\n connectionStatus: ${colo2Aws.operation.equinixStatus}\n connectionProviderStatus: ${colo2Aws.operation.providerStatus}\n awsDirectConnectId: ${colo2Aws.zSide.accessPoint.providerConnectionId}\n```\n{{% /example %}}\n\n{{% /examples %}}", "properties": { @@ -13606,14 +9856,17 @@ }, "account": { "$ref": "#/types/equinix:fabric/ConnectionAccount:ConnectionAccount", - "description": "Customer account information that is associated with this connection\n" + "description": "Account\n" }, "additionalInfo": { "type": "array", "items": { - "$ref": "#/types/equinix:fabric/ConnectionAdditionalInfo:ConnectionAdditionalInfo" + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } }, - "description": "Connection additional information\n" + "description": "Connection side additional information\n" }, "bandwidth": { "type": "integer", @@ -13629,7 +9882,7 @@ }, "href": { "type": "string", - "description": "Connection URI information\n" + "description": "Unique Resource Identifier\n" }, "isRemote": { "type": "boolean", @@ -13637,7 +9890,7 @@ }, "name": { "type": "string", - "description": "Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" + "description": "Port name\n" }, "notifications": { "type": "array", @@ -13664,11 +9917,11 @@ }, "state": { "type": "string", - "description": "Connection overall state\n" + "description": "Routing protocol instance state\n" }, "type": { "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n" + "description": "Interface type\n" }, "zSide": { "$ref": "#/types/equinix:fabric/ConnectionZSide:ConnectionZSide", @@ -13698,9 +9951,12 @@ "additionalInfo": { "type": "array", "items": { - "$ref": "#/types/equinix:fabric/ConnectionAdditionalInfo:ConnectionAdditionalInfo" + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } }, - "description": "Connection additional information\n" + "description": "Connection side additional information\n" }, "bandwidth": { "type": "integer", @@ -13708,7 +9964,7 @@ }, "name": { "type": "string", - "description": "Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" + "description": "Port name\n" }, "notifications": { "type": "array", @@ -13740,7 +9996,7 @@ "$ref": "#/types/equinix:fabric/connectionType:ConnectionType" } ], - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n" + "description": "Interface type\n" }, "zSide": { "$ref": "#/types/equinix:fabric/ConnectionZSide:ConnectionZSide", @@ -13763,14 +10019,17 @@ }, "account": { "$ref": "#/types/equinix:fabric/ConnectionAccount:ConnectionAccount", - "description": "Customer account information that is associated with this connection\n" + "description": "Account\n" }, "additionalInfo": { "type": "array", "items": { - "$ref": "#/types/equinix:fabric/ConnectionAdditionalInfo:ConnectionAdditionalInfo" + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } }, - "description": "Connection additional information\n" + "description": "Connection side additional information\n" }, "bandwidth": { "type": "integer", @@ -13786,7 +10045,7 @@ }, "href": { "type": "string", - "description": "Connection URI information\n" + "description": "Unique Resource Identifier\n" }, "isRemote": { "type": "boolean", @@ -13794,7 +10053,7 @@ }, "name": { "type": "string", - "description": "Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" + "description": "Port name\n" }, "notifications": { "type": "array", @@ -13821,7 +10080,7 @@ }, "state": { "type": "string", - "description": "Connection overall state\n" + "description": "Routing protocol instance state\n" }, "type": { "type": "string", @@ -13834,7 +10093,7 @@ "$ref": "#/types/equinix:fabric/connectionType:ConnectionType" } ], - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n" + "description": "Interface type\n" }, "zSide": { "$ref": "#/types/equinix:fabric/ConnectionZSide:ConnectionZSide", @@ -13844,6 +10103,243 @@ "type": "object" } }, + "equinix:fabric/routingProtocol:RoutingProtocol": { + "description": "{{% examples %}}\n## Example Usage\n\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\n\nconst config = new pulumi.Config();\nconst connectionId = config.require(\"connectionId\");\nconst routingProtocol = new equinix.fabric.RoutingProtocol(\"RoutingProtocol\", {\n connectionUuid: connectionId,\n name: \"My-Direct-route-1\",\n type: \"DIRECT\",\n directIpv4: {\n equinixIfaceIp: \"192.168.100.1/30\",\n },\n});\nexport const routingProtocolId = routingProtocol.id;\nexport const routingProtocolState = routingProtocol.state;\nexport const routingProtocolEquinixAsn = routingProtocol.equinixAsn;\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nconfig = pulumi.Config()\nconnection_id = config.require(\"connectionId\")\nrouting_protocol = equinix.fabric.RoutingProtocol(\"RoutingProtocol\",\n connection_uuid=connection_id,\n name=\"My-Direct-route-1\",\n type=\"DIRECT\",\n direct_ipv4=equinix.fabric.RoutingProtocolDirectIpv4Args(\n equinix_iface_ip=\"192.168.100.1/30\",\n ))\npulumi.export(\"routingProtocolId\", routing_protocol.id)\npulumi.export(\"routingProtocolState\", routing_protocol.state)\npulumi.export(\"routingProtocolEquinixAsn\", routing_protocol.equinix_asn)\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\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tconnectionId := cfg.Require(\"connectionId\")\n\t\troutingProtocol, err := fabric.NewRoutingProtocol(ctx, \"RoutingProtocol\", \u0026fabric.RoutingProtocolArgs{\n\t\t\tConnectionUuid: pulumi.String(connectionId),\n\t\t\tName: pulumi.String(\"My-Direct-route-1\"),\n\t\t\tType: pulumi.String(\"DIRECT\"),\n\t\t\tDirectIpv4: \u0026fabric.RoutingProtocolDirectIpv4Args{\n\t\t\t\tEquinixIfaceIp: pulumi.String(\"192.168.100.1/30\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"routingProtocolId\", routingProtocol.ID())\n\t\tctx.Export(\"routingProtocolState\", routingProtocol.State)\n\t\tctx.Export(\"routingProtocolEquinixAsn\", routingProtocol.EquinixAsn)\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 config = new Config();\n var connectionId = config.Require(\"connectionId\");\n var routingProtocol = new Equinix.Fabric.RoutingProtocol(\"RoutingProtocol\", new()\n {\n ConnectionUuid = connectionId,\n Name = \"My-Direct-route-1\",\n Type = \"DIRECT\",\n DirectIpv4 = new Equinix.Fabric.Inputs.RoutingProtocolDirectIpv4Args\n {\n EquinixIfaceIp = \"192.168.100.1/30\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"routingProtocolId\"] = routingProtocol.Id,\n [\"routingProtocolState\"] = routingProtocol.State,\n [\"routingProtocolEquinixAsn\"] = routingProtocol.EquinixAsn,\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.RoutingProtocol;\nimport com.pulumi.equinix.fabric.RoutingProtocolArgs;\nimport com.pulumi.equinix.fabric.inputs.RoutingProtocolDirectIpv4Args;\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 config = ctx.config();\n final var connectionId = config.get(\"connectionId\");\n var routingProtocol = new RoutingProtocol(\"routingProtocol\", RoutingProtocolArgs.builder() \n .connectionUuid(connectionId)\n .name(\"My-Direct-route-1\")\n .type(\"DIRECT\")\n .directIpv4(RoutingProtocolDirectIpv4Args.builder()\n .equinixIfaceIp(\"192.168.100.1/30\")\n .build())\n .build());\n\n ctx.export(\"routingProtocolId\", routingProtocol.id());\n ctx.export(\"routingProtocolState\", routingProtocol.state());\n ctx.export(\"routingProtocolEquinixAsn\", routingProtocol.equinixAsn());\n }\n}\n```\n```yaml\nconfig:\n connectionId:\n type: string\nresources:\n RoutingProtocol:\n type: equinix:fabric:RoutingProtocol\n properties:\n connectionUuid: ${connectionId}\n name: My-Direct-route-1\n type: DIRECT\n directIpv4:\n equinixIfaceIp: 192.168.100.1/30\noutputs:\n routingProtocolId: ${RoutingProtocol.id}\n routingProtocolState: ${RoutingProtocol.state}\n routingProtocolEquinixAsn: ${RoutingProtocol.equinixAsn}\n```\n{{% /example %}}\n\n{{% /examples %}}", + "properties": { + "bfd": { + "$ref": "#/types/equinix:fabric/RoutingProtocolBfd:RoutingProtocolBfd", + "description": "Bidirectional Forwarding Detection\n" + }, + "bgpAuthKey": { + "type": "string", + "description": "BGP authorization key\n" + }, + "bgpIpv4": { + "$ref": "#/types/equinix:fabric/RoutingProtocolBgpIpv4:RoutingProtocolBgpIpv4", + "description": "Routing Protocol BGP IPv4\n" + }, + "bgpIpv6": { + "$ref": "#/types/equinix:fabric/RoutingProtocolBgpIpv6:RoutingProtocolBgpIpv6", + "description": "Routing Protocol BGP IPv6\n" + }, + "changeLogs": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/RoutingProtocolChangeLog:RoutingProtocolChangeLog" + }, + "description": "Captures Routing Protocol lifecycle change information\n" + }, + "changes": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/RoutingProtocolChange:RoutingProtocolChange" + }, + "description": "Routing Protocol configuration Changes\n" + }, + "connectionUuid": { + "type": "string", + "description": "Connection URI associated with Routing Protocol\n" + }, + "customerAsn": { + "type": "integer", + "description": "Customer-provided ASN\n" + }, + "description": { + "type": "string", + "description": "Customer-provided Fabric Routing Protocol description\n" + }, + "directIpv4": { + "$ref": "#/types/equinix:fabric/RoutingProtocolDirectIpv4:RoutingProtocolDirectIpv4", + "description": "Routing Protocol Direct IPv4\n" + }, + "directIpv6": { + "$ref": "#/types/equinix:fabric/RoutingProtocolDirectIpv6:RoutingProtocolDirectIpv6", + "description": "Routing Protocol Direct IPv6\n" + }, + "equinixAsn": { + "type": "integer", + "description": "Equinix ASN\n" + }, + "href": { + "type": "string", + "description": "Routing Protocol URI information\n" + }, + "name": { + "type": "string", + "description": "Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" + }, + "operations": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/RoutingProtocolOperation:RoutingProtocolOperation" + }, + "description": "Routing Protocol type-specific operational data\n" + }, + "state": { + "type": "string", + "description": "Routing Protocol overall state\n" + }, + "type": { + "type": "string", + "description": "Defines the routing protocol type like BGP or DIRECT\n" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned routing protocol identifier\n" + } + }, + "required": [ + "changes", + "changeLogs", + "connectionUuid", + "equinixAsn", + "href", + "name", + "operations", + "state", + "uuid" + ], + "inputProperties": { + "bfd": { + "$ref": "#/types/equinix:fabric/RoutingProtocolBfd:RoutingProtocolBfd", + "description": "Bidirectional Forwarding Detection\n" + }, + "bgpAuthKey": { + "type": "string", + "description": "BGP authorization key\n" + }, + "bgpIpv4": { + "$ref": "#/types/equinix:fabric/RoutingProtocolBgpIpv4:RoutingProtocolBgpIpv4", + "description": "Routing Protocol BGP IPv4\n" + }, + "bgpIpv6": { + "$ref": "#/types/equinix:fabric/RoutingProtocolBgpIpv6:RoutingProtocolBgpIpv6", + "description": "Routing Protocol BGP IPv6\n" + }, + "connectionUuid": { + "type": "string", + "description": "Connection URI associated with Routing Protocol\n" + }, + "customerAsn": { + "type": "integer", + "description": "Customer-provided ASN\n" + }, + "description": { + "type": "string", + "description": "Customer-provided Fabric Routing Protocol description\n" + }, + "directIpv4": { + "$ref": "#/types/equinix:fabric/RoutingProtocolDirectIpv4:RoutingProtocolDirectIpv4", + "description": "Routing Protocol Direct IPv4\n" + }, + "directIpv6": { + "$ref": "#/types/equinix:fabric/RoutingProtocolDirectIpv6:RoutingProtocolDirectIpv6", + "description": "Routing Protocol Direct IPv6\n" + }, + "name": { + "type": "string", + "description": "Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" + }, + "type": { + "type": "string", + "description": "Defines the routing protocol type like BGP or DIRECT\n" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned routing protocol identifier\n" + } + }, + "requiredInputs": [ + "connectionUuid" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering RoutingProtocol resources.\n", + "properties": { + "bfd": { + "$ref": "#/types/equinix:fabric/RoutingProtocolBfd:RoutingProtocolBfd", + "description": "Bidirectional Forwarding Detection\n" + }, + "bgpAuthKey": { + "type": "string", + "description": "BGP authorization key\n" + }, + "bgpIpv4": { + "$ref": "#/types/equinix:fabric/RoutingProtocolBgpIpv4:RoutingProtocolBgpIpv4", + "description": "Routing Protocol BGP IPv4\n" + }, + "bgpIpv6": { + "$ref": "#/types/equinix:fabric/RoutingProtocolBgpIpv6:RoutingProtocolBgpIpv6", + "description": "Routing Protocol BGP IPv6\n" + }, + "changeLogs": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/RoutingProtocolChangeLog:RoutingProtocolChangeLog" + }, + "description": "Captures Routing Protocol lifecycle change information\n" + }, + "changes": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/RoutingProtocolChange:RoutingProtocolChange" + }, + "description": "Routing Protocol configuration Changes\n" + }, + "connectionUuid": { + "type": "string", + "description": "Connection URI associated with Routing Protocol\n" + }, + "customerAsn": { + "type": "integer", + "description": "Customer-provided ASN\n" + }, + "description": { + "type": "string", + "description": "Customer-provided Fabric Routing Protocol description\n" + }, + "directIpv4": { + "$ref": "#/types/equinix:fabric/RoutingProtocolDirectIpv4:RoutingProtocolDirectIpv4", + "description": "Routing Protocol Direct IPv4\n" + }, + "directIpv6": { + "$ref": "#/types/equinix:fabric/RoutingProtocolDirectIpv6:RoutingProtocolDirectIpv6", + "description": "Routing Protocol Direct IPv6\n" + }, + "equinixAsn": { + "type": "integer", + "description": "Equinix ASN\n" + }, + "href": { + "type": "string", + "description": "Routing Protocol URI information\n" + }, + "name": { + "type": "string", + "description": "Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" + }, + "operations": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/RoutingProtocolOperation:RoutingProtocolOperation" + }, + "description": "Routing Protocol type-specific operational data\n" + }, + "state": { + "type": "string", + "description": "Routing Protocol overall state\n" + }, + "type": { + "type": "string", + "description": "Defines the routing protocol type like BGP or DIRECT\n" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned routing protocol identifier\n" + } + }, + "type": "object" + } + }, "equinix:fabric/serviceProfile:ServiceProfile": { "description": "{{% examples %}}\n## Example Usage\n\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\n\nconst profile = new equinix.fabric.ServiceProfile(\"profile\", {\n name: \"Example Cloud Provider\",\n description: \"50 to 500 Mbps Hosted Connection to Example Cloud\",\n type: \"L2_PROFILE\",\n accessPointTypeConfigs: [{\n type: \"COLO\",\n supportedBandwidths: [\n 50,\n 100,\n 200,\n 500,\n ],\n allowRemoteConnections: true,\n allowCustomBandwidth: false,\n allowBandwidthAutoApproval: false,\n linkProtocolConfig: {\n encapsulationStrategy: \"CTAGED\",\n reuseVlanSTag: false,\n encapsulation: \"DOT1Q\",\n },\n enableAutoGenerateServiceKey: \"false,\",\n connectionRedundancyRequired: \"false,\",\n apiConfig: {\n apiAvailable: true,\n integrationId: \"Example-Connect-01\",\n bandwidthFromApi: false,\n },\n connectionLabel: \"Virtual Circuit Name\",\n authenticationKey: {\n required: true,\n label: \"Example ACCOUNT ID\",\n },\n }],\n account: {\n organizationName: \"Example Cloud\",\n globalOrganizationName: \"Example Global\",\n },\n metros: undefined,\n visibility: \"PUBLIC\",\n marketingInfo: {\n promotion: true,\n },\n});\nexport const profileId = profile.id;\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nprofile = equinix.fabric.ServiceProfile(\"profile\",\n name=\"Example Cloud Provider\",\n description=\"50 to 500 Mbps Hosted Connection to Example Cloud\",\n type=\"L2_PROFILE\",\n access_point_type_configs=[equinix.fabric.ServiceProfileAccessPointTypeConfigArgs(\n type=\"COLO\",\n supported_bandwidths=[\n 50,\n 100,\n 200,\n 500,\n ],\n allow_remote_connections=True,\n allow_custom_bandwidth=False,\n allow_bandwidth_auto_approval=False,\n link_protocol_config=equinix.fabric.ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs(\n encapsulation_strategy=\"CTAGED\",\n reuse_vlan_s_tag=False,\n encapsulation=\"DOT1Q\",\n ),\n enable_auto_generate_service_key=\"false,\",\n connection_redundancy_required=\"false,\",\n api_config=equinix.fabric.ServiceProfileAccessPointTypeConfigApiConfigArgs(\n api_available=True,\n integration_id=\"Example-Connect-01\",\n bandwidth_from_api=False,\n ),\n connection_label=\"Virtual Circuit Name\",\n authentication_key=equinix.fabric.ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs(\n required=True,\n label=\"Example ACCOUNT ID\",\n ),\n )],\n account=equinix.fabric.ServiceProfileAccountArgs(\n organization_name=\"Example Cloud\",\n global_organization_name=\"Example Global\",\n ),\n metros=None,\n visibility=\"PUBLIC\",\n marketing_info=equinix.fabric.ServiceProfileMarketingInfoArgs(\n promotion=True,\n ))\npulumi.export(\"profileId\", profile.id)\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\tprofile, err := fabric.NewServiceProfile(ctx, \"profile\", \u0026fabric.ServiceProfileArgs{\n\t\t\tName: pulumi.String(\"Example Cloud Provider\"),\n\t\t\tDescription: pulumi.String(\"50 to 500 Mbps Hosted Connection to Example Cloud\"),\n\t\t\tType: pulumi.String(\"L2_PROFILE\"),\n\t\t\tAccessPointTypeConfigs: fabric.ServiceProfileAccessPointTypeConfigArray{\n\t\t\t\t\u0026fabric.ServiceProfileAccessPointTypeConfigArgs{\n\t\t\t\t\tType: pulumi.String(\"COLO\"),\n\t\t\t\t\tSupportedBandwidths: pulumi.IntArray{\n\t\t\t\t\t\tpulumi.Int(50),\n\t\t\t\t\t\tpulumi.Int(100),\n\t\t\t\t\t\tpulumi.Int(200),\n\t\t\t\t\t\tpulumi.Int(500),\n\t\t\t\t\t},\n\t\t\t\t\tAllowRemoteConnections: pulumi.Bool(true),\n\t\t\t\t\tAllowCustomBandwidth: pulumi.Bool(false),\n\t\t\t\t\tAllowBandwidthAutoApproval: pulumi.Bool(false),\n\t\t\t\t\tLinkProtocolConfig: \u0026fabric.ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs{\n\t\t\t\t\t\tEncapsulationStrategy: pulumi.String(\"CTAGED\"),\n\t\t\t\t\t\tReuseVlanSTag: pulumi.Bool(false),\n\t\t\t\t\t\tEncapsulation: pulumi.String(\"DOT1Q\"),\n\t\t\t\t\t},\n\t\t\t\t\tEnableAutoGenerateServiceKey: pulumi.Bool(\"false,\"),\n\t\t\t\t\tConnectionRedundancyRequired: pulumi.Bool(\"false,\"),\n\t\t\t\t\tApiConfig: \u0026fabric.ServiceProfileAccessPointTypeConfigApiConfigArgs{\n\t\t\t\t\t\tApiAvailable: pulumi.Bool(true),\n\t\t\t\t\t\tIntegrationId: pulumi.String(\"Example-Connect-01\"),\n\t\t\t\t\t\tBandwidthFromApi: pulumi.Bool(false),\n\t\t\t\t\t},\n\t\t\t\t\tConnectionLabel: pulumi.String(\"Virtual Circuit Name\"),\n\t\t\t\t\tAuthenticationKey: \u0026fabric.ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs{\n\t\t\t\t\t\tRequired: pulumi.Bool(true),\n\t\t\t\t\t\tLabel: pulumi.String(\"Example ACCOUNT ID\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tAccount: \u0026fabric.ServiceProfileAccountArgs{\n\t\t\t\tOrganizationName: pulumi.String(\"Example Cloud\"),\n\t\t\t\tGlobalOrganizationName: pulumi.String(\"Example Global\"),\n\t\t\t},\n\t\t\tMetros: nil,\n\t\t\tVisibility: pulumi.String(\"PUBLIC\"),\n\t\t\tMarketingInfo: \u0026fabric.ServiceProfileMarketingInfoArgs{\n\t\t\t\tPromotion: pulumi.Bool(true),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"profileId\", profile.ID())\n\t\treturn nil\n\t})\n}\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var profile = new Equinix.Fabric.ServiceProfile(\"profile\", new()\n {\n Name = \"Example Cloud Provider\",\n Description = \"50 to 500 Mbps Hosted Connection to Example Cloud\",\n Type = \"L2_PROFILE\",\n AccessPointTypeConfigs = new[]\n {\n new Equinix.Fabric.Inputs.ServiceProfileAccessPointTypeConfigArgs\n {\n Type = \"COLO\",\n SupportedBandwidths = new[]\n {\n 50,\n 100,\n 200,\n 500,\n },\n AllowRemoteConnections = true,\n AllowCustomBandwidth = false,\n AllowBandwidthAutoApproval = false,\n LinkProtocolConfig = new Equinix.Fabric.Inputs.ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs\n {\n EncapsulationStrategy = \"CTAGED\",\n ReuseVlanSTag = false,\n Encapsulation = \"DOT1Q\",\n },\n EnableAutoGenerateServiceKey = \"false,\",\n ConnectionRedundancyRequired = \"false,\",\n ApiConfig = new Equinix.Fabric.Inputs.ServiceProfileAccessPointTypeConfigApiConfigArgs\n {\n ApiAvailable = true,\n IntegrationId = \"Example-Connect-01\",\n BandwidthFromApi = false,\n },\n ConnectionLabel = \"Virtual Circuit Name\",\n AuthenticationKey = new Equinix.Fabric.Inputs.ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs\n {\n Required = true,\n Label = \"Example ACCOUNT ID\",\n },\n },\n },\n Account = new Equinix.Fabric.Inputs.ServiceProfileAccountArgs\n {\n OrganizationName = \"Example Cloud\",\n GlobalOrganizationName = \"Example Global\",\n },\n Metros = null,\n Visibility = \"PUBLIC\",\n MarketingInfo = new Equinix.Fabric.Inputs.ServiceProfileMarketingInfoArgs\n {\n Promotion = true,\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"profileId\"] = profile.Id,\n };\n});\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.equinix.pulumi.fabric.ServiceProfile;\nimport com.equinix.pulumi.fabric.ServiceProfileArgs;\nimport com.equinix.pulumi.fabric.inputs.ServiceProfileAccessPointTypeConfigArgs;\nimport com.equinix.pulumi.fabric.inputs.ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs;\nimport com.equinix.pulumi.fabric.inputs.ServiceProfileAccessPointTypeConfigApiConfigArgs;\nimport com.equinix.pulumi.fabric.inputs.ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs;\nimport com.equinix.pulumi.fabric.inputs.ServiceProfileAccountArgs;\nimport com.equinix.pulumi.fabric.inputs.ServiceProfileMarketingInfoArgs;\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 profile = new ServiceProfile(\"profile\", ServiceProfileArgs.builder() \n .name(\"Example Cloud Provider\")\n .description(\"50 to 500 Mbps Hosted Connection to Example Cloud\")\n .type(\"L2_PROFILE\")\n .accessPointTypeConfigs(ServiceProfileAccessPointTypeConfigArgs.builder()\n .type(\"COLO\")\n .supportedBandwidths( \n 50,\n 100,\n 200,\n 500)\n .allowRemoteConnections(true)\n .allowCustomBandwidth(false)\n .allowBandwidthAutoApproval(false)\n .linkProtocolConfig(ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs.builder()\n .encapsulationStrategy(\"CTAGED\")\n .reuseVlanSTag(false)\n .encapsulation(\"DOT1Q\")\n .build())\n .enableAutoGenerateServiceKey(false)\n .connectionRedundancyRequired(false)\n .apiConfig(ServiceProfileAccessPointTypeConfigApiConfigArgs.builder()\n .apiAvailable(true)\n .integrationId(\"Example-Connect-01\")\n .bandwidthFromApi(false)\n .build())\n .connectionLabel(\"Virtual Circuit Name\")\n .authenticationKey(ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs.builder()\n .required(true)\n .label(\"Example ACCOUNT ID\")\n .build())\n .build())\n .account(ServiceProfileAccountArgs.builder()\n .organizationName(\"Example Cloud\")\n .globalOrganizationName(\"Example Global\")\n .build())\n .visibility(\"PUBLIC\")\n .marketingInfo(ServiceProfileMarketingInfoArgs.builder()\n .promotion(true)\n .build())\n .build());\n\n ctx.export(\"profileId\", profile.id());\n }\n}\n```\n```yaml\nresources:\n profile:\n type: equinix:fabric:ServiceProfile\n properties:\n name: Example Cloud Provider\n description: 50 to 500 Mbps Hosted Connection to Example Cloud\n type: L2_PROFILE\n accessPointTypeConfigs:\n - type: COLO\n supportedBandwidths: [ 50, 100, 200, 500]\n allowRemoteConnections: true\n allowCustomBandwidth: false\n allowBandwidthAutoApproval: false\n linkProtocolConfig:\n encapsulationStrategy: CTAGED\n reuseVlanSTag: false\n encapsulation: DOT1Q\n enableAutoGenerateServiceKey: false,\n connectionRedundancyRequired: false,\n apiConfig:\n apiAvailable: true\n integrationId: Example-Connect-01\n bandwidthFromApi: false\n connectionLabel: Virtual Circuit Name\n authenticationKey:\n required: true\n label: Example ACCOUNT ID\n account:\n organizationName: Example Cloud\n globalOrganizationName: Example Global\n metros:\n visibility: PUBLIC\n marketingInfo:\n promotion: true\noutputs:\n profileId: ${profile.id}\n```\n{{% /example %}}\n\n{{% /examples %}}", "properties": { @@ -13878,11 +10374,11 @@ }, "description": { "type": "string", - "description": "User-provided service description\n" + "description": "Description\n" }, "href": { "type": "string", - "description": "Service Profile URI response attribute\n" + "description": "Unique Resource URL\n" }, "marketingInfo": { "$ref": "#/types/equinix:fabric/ServiceProfileMarketingInfo:ServiceProfileMarketingInfo", @@ -13897,7 +10393,7 @@ }, "name": { "type": "string", - "description": "Customer-assigned service profile name\n" + "description": "Metro Name\n" }, "notifications": { "type": "array", @@ -13934,11 +10430,11 @@ }, "type": { "type": "string", - "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE\n" + "description": "Type of access point type config - VD, COLO\n" }, "uuid": { "type": "string", - "description": "Equinix assigned service profile identifier\n" + "description": "Colo/Port Uuid\n" }, "virtualDevices": { "type": "array", @@ -13988,7 +10484,7 @@ }, "description": { "type": "string", - "description": "User-provided service description\n" + "description": "Description\n" }, "marketingInfo": { "$ref": "#/types/equinix:fabric/ServiceProfileMarketingInfo:ServiceProfileMarketingInfo", @@ -14003,7 +10499,7 @@ }, "name": { "type": "string", - "description": "Customer-assigned service profile name\n" + "description": "Metro Name\n" }, "notifications": { "type": "array", @@ -14058,7 +10554,7 @@ "$ref": "#/types/equinix:fabric/profileType:ProfileType" } ], - "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE\n" + "description": "Type of access point type config - VD, COLO\n" }, "virtualDevices": { "type": "array", @@ -14119,11 +10615,11 @@ }, "description": { "type": "string", - "description": "User-provided service description\n" + "description": "Description\n" }, "href": { "type": "string", - "description": "Service Profile URI response attribute\n" + "description": "Unique Resource URL\n" }, "marketingInfo": { "$ref": "#/types/equinix:fabric/ServiceProfileMarketingInfo:ServiceProfileMarketingInfo", @@ -14138,7 +10634,7 @@ }, "name": { "type": "string", - "description": "Customer-assigned service profile name\n" + "description": "Metro Name\n" }, "notifications": { "type": "array", @@ -14193,11 +10689,11 @@ "$ref": "#/types/equinix:fabric/profileType:ProfileType" } ], - "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE\n" + "description": "Type of access point type config - VD, COLO\n" }, "uuid": { "type": "string", - "description": "Equinix assigned service profile identifier\n" + "description": "Colo/Port Uuid\n" }, "virtualDevices": { "type": "array", @@ -14333,7 +10829,7 @@ }, "deployedFacility": { "type": "string", - "description": "The facility where the device is deployed\n", + "description": "(**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" }, "deployedHardwareReservationId": { @@ -14349,7 +10845,7 @@ "items": { "type": "string" }, - "description": "List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your\ndevice to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility\ncode, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the\ntop of the page and see JSON from the API response. Conflicts with metro\n", + "description": "List of facility codes with deployment preferences. Equinix Metal API will go\nthrough the list and will deploy your device to first facility with free capacity. List items must\nbe facility codes or `any` (a wildcard). To find the facility code, visit\n[Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth\ntoken in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" }, "forceDetachVolumes": { @@ -14419,7 +10915,7 @@ "items": { "type": "string" }, - "description": "Array of IDs of the project SSH keys which should be added to the device.\nIf you omit this, SSH keys of all the members of the parent project will be added to the device. If\nyou specify this array, only the listed project SSH keys will be added. Project SSH keys can be\ncreated with the equinix.metal.ProjectSshKey resource.\n" + "description": "Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource.\n" }, "reinstall": { "$ref": "#/types/equinix:metal/DeviceReinstall:DeviceReinstall", @@ -14470,7 +10966,7 @@ "items": { "type": "string" }, - "description": "Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource\n" + "description": "Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource.\n" }, "waitForReservationDeprovision": { "type": "boolean", @@ -14544,7 +11040,7 @@ } ] }, - "description": "List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your\ndevice to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility\ncode, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the\ntop of the page and see JSON from the API response. Conflicts with metro\n", + "description": "List of facility codes with deployment preferences. Equinix Metal API will go\nthrough the list and will deploy your device to first facility with free capacity. List items must\nbe facility codes or `any` (a wildcard). To find the facility code, visit\n[Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth\ntoken in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices", "willReplaceOnChanges": true }, @@ -14614,7 +11110,7 @@ "items": { "type": "string" }, - "description": "Array of IDs of the project SSH keys which should be added to the device.\nIf you omit this, SSH keys of all the members of the parent project will be added to the device. If\nyou specify this array, only the listed project SSH keys will be added. Project SSH keys can be\ncreated with the equinix.metal.ProjectSshKey resource.\n", + "description": "Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource.\n", "willReplaceOnChanges": true }, "reinstall": { @@ -14647,7 +11143,7 @@ "items": { "type": "string" }, - "description": "Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource\n", + "description": "Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource.\n", "willReplaceOnChanges": true }, "waitForReservationDeprovision": { @@ -14708,7 +11204,7 @@ }, "deployedFacility": { "type": "string", - "description": "The facility where the device is deployed\n", + "description": "(**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" }, "deployedHardwareReservationId": { @@ -14733,7 +11229,7 @@ } ] }, - "description": "List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your\ndevice to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility\ncode, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the\ntop of the page and see JSON from the API response. Conflicts with metro\n", + "description": "List of facility codes with deployment preferences. Equinix Metal API will go\nthrough the list and will deploy your device to first facility with free capacity. List items must\nbe facility codes or `any` (a wildcard). To find the facility code, visit\n[Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth\ntoken in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices", "willReplaceOnChanges": true }, @@ -14835,7 +11331,7 @@ "items": { "type": "string" }, - "description": "Array of IDs of the project SSH keys which should be added to the device.\nIf you omit this, SSH keys of all the members of the parent project will be added to the device. If\nyou specify this array, only the listed project SSH keys will be added. Project SSH keys can be\ncreated with the equinix.metal.ProjectSshKey resource.\n", + "description": "Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource.\n", "willReplaceOnChanges": true }, "reinstall": { @@ -14888,7 +11384,7 @@ "items": { "type": "string" }, - "description": "Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource\n", + "description": "Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource.\n", "willReplaceOnChanges": true }, "waitForReservationDeprovision": { @@ -15045,13 +11541,17 @@ "equinix:metal/interconnection:Interconnection": { "description": "{{% examples %}}\nUse this resource to request the creation an Interconnection asset to connect with other parties using [Equinix Fabric - software-defined interconnections](https://metal.equinix.com/developers/docs/networking/fabric/).\n\n\u003e Equinix Metal connection with with Service Token A-side / Z-side (service_token_type) is not generally available and may not be enabled yet for your organization.\n\n## Example Usage\n\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\n\nconst config = new pulumi.Config();\nconst projectId = config.require(\"projectId\");\nconst metro = config.get(\"metro\") || \"SV\";\nconst speedInMbps = config.getNumber(\"speedInMbps\") || 200;\nconst connection = new equinix.metal.Interconnection(\"connection\", {\n name: \"fabric-port-to-metal\",\n projectId: projectId,\n type: \"shared\",\n redundancy: \"primary\",\n metro: metro,\n speed: `${speedInMbps}Mbps`,\n serviceTokenType: \"z_side\",\n});\nexport const connectionStatus = connection.status;\nexport const connectionTokens = connection.serviceTokens;\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nconfig = pulumi.Config()\nproject_id = config.require(\"projectId\")\nmetro = config.get(\"metro\")\nif metro is None:\n metro = \"SV\"\nspeed_in_mbps = config.get_int(\"speedInMbps\")\nif speed_in_mbps is None:\n speed_in_mbps = 200\nconnection = equinix.metal.Interconnection(\"connection\",\n name=\"fabric-port-to-metal\",\n project_id=project_id,\n type=\"shared\",\n redundancy=\"primary\",\n metro=metro,\n speed=f\"{speed_in_mbps}Mbps\",\n service_token_type=\"z_side\")\npulumi.export(\"connectionStatus\", connection.status)\npulumi.export(\"connectionTokens\", connection.service_tokens)\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tcfg := config.New(ctx, \"\")\n\t\tprojectId := cfg.Require(\"projectId\")\n\t\tmetro := \"SV\"\n\t\tif param := cfg.Get(\"metro\"); param != \"\" {\n\t\t\tmetro = param\n\t\t}\n\t\tspeedInMbps := 200\n\t\tif param := cfg.GetInt(\"speedInMbps\"); param != 0 {\n\t\t\tspeedInMbps = param\n\t\t}\n\t\tconnection, err := metal.NewInterconnection(ctx, \"connection\", \u0026metal.InterconnectionArgs{\n\t\t\tName: pulumi.String(\"fabric-port-to-metal\"),\n\t\t\tProjectId: pulumi.String(projectId),\n\t\t\tType: pulumi.String(\"shared\"),\n\t\t\tRedundancy: pulumi.String(\"primary\"),\n\t\t\tMetro: pulumi.String(metro),\n\t\t\tSpeed: pulumi.String(fmt.Sprintf(\"%vMbps\", speedInMbps)),\n\t\t\tServiceTokenType: pulumi.String(\"z_side\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"connectionStatus\", connection.Status)\n\t\tctx.Export(\"connectionTokens\", connection.ServiceTokens)\n\t\treturn nil\n\t})\n}\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var config = new Config();\n var projectId = config.Require(\"projectId\");\n var metro = config.Get(\"metro\") ?? \"SV\";\n var speedInMbps = config.GetNumber(\"speedInMbps\") ?? 200;\n var connection = new Equinix.Metal.Interconnection(\"connection\", new()\n {\n Name = \"fabric-port-to-metal\",\n ProjectId = projectId,\n Type = \"shared\",\n Redundancy = \"primary\",\n Metro = metro,\n Speed = $\"{speedInMbps}Mbps\",\n ServiceTokenType = \"z_side\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"connectionStatus\"] = connection.Status,\n [\"connectionTokens\"] = connection.ServiceTokens,\n };\n});\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.equinix.pulumi.metal.Interconnection;\nimport com.equinix.pulumi.metal.InterconnectionArgs;\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 config = ctx.config();\n final var projectId = config.get(\"projectId\").get();\n final var metro = config.get(\"metro\").orElse(\"SV\");\n final var speedInMbps = Integer.parseInt(config.get(\"speedInMbps\").orElse(\"200\"));\n var connection = new Interconnection(\"connection\", InterconnectionArgs.builder() \n .name(\"fabric-port-to-metal\")\n .projectId(projectId)\n .type(\"shared\")\n .redundancy(\"primary\")\n .metro(metro)\n .speed(String.format(\"%sMbps\", speedInMbps))\n .serviceTokenType(\"z_side\")\n .build());\n\n ctx.export(\"connectionStatus\", connection.status());\n ctx.export(\"connectionTokens\", connection.serviceTokens());\n }\n}\n```\n```yaml\nconfig:\n projectId:\n type: string\n metro:\n type: string\n default: SV\n speedInMbps:\n type: integer\n default: 200\nresources:\n connection:\n type: equinix:metal:Interconnection\n properties:\n name: fabric-port-to-metal\n projectId: ${projectId}\n type: shared\n redundancy: primary\n metro: ${metro}\n speed: ${speedInMbps}Mbps\n serviceTokenType: z_side\noutputs:\n connectionStatus: ${connection.status}\n connectionTokens: ${connection.serviceTokens}\n```\n{{% /example %}}\n\n{{% /examples %}}", "properties": { + "contactEmail": { + "type": "string", + "description": "The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key.\n" + }, "description": { "type": "string", "description": "Description for the connection resource.\n" }, "facility": { "type": "string", - "description": "Facility where the connection will be created\n", + "description": "Facility where the connection will be created. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" }, "metro": { @@ -15129,6 +11629,7 @@ } }, "required": [ + "contactEmail", "facility", "metro", "name", @@ -15142,13 +11643,18 @@ "type" ], "inputProperties": { + "contactEmail": { + "type": "string", + "description": "The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key.\n", + "willReplaceOnChanges": true + }, "description": { "type": "string", "description": "Description for the connection resource.\n" }, "facility": { "type": "string", - "description": "Facility where the connection will be created\n", + "description": "Facility where the connection will be created. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices", "willReplaceOnChanges": true }, @@ -15210,19 +11716,23 @@ }, "requiredInputs": [ "redundancy", - "speed", "type" ], "stateInputs": { "description": "Input properties used for looking up and filtering Interconnection resources.\n", "properties": { + "contactEmail": { + "type": "string", + "description": "The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key.\n", + "willReplaceOnChanges": true + }, "description": { "type": "string", "description": "Description for the connection resource.\n" }, "facility": { "type": "string", - "description": "Facility where the connection will be created\n", + "description": "Facility where the connection will be created. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices", "willReplaceOnChanges": true }, @@ -16024,7 +12534,7 @@ }, "bgpConfig": { "$ref": "#/types/equinix:metal/ProjectBgpConfig:ProjectBgpConfig", - "description": "Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/).\n" + "description": "Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/).\n\n\u003e **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in\nthe Equinix Metal API). It can be updated.\n" }, "created": { "type": "string", @@ -16032,11 +12542,11 @@ }, "name": { "type": "string", - "description": "The name of the project.\n" + "description": "The name of the project. The maximum length is 80 characters\n" }, "organizationId": { "type": "string", - "description": "The UUID of organization under which you want to create the project. If you\nleave it out, the project will be create under your the default organization of your account.\n" + "description": "The UUID of organization under which you want to create the project. If you\nleave it out, the project will be created under your the default organization of your account.\n" }, "paymentMethodId": { "type": "string", @@ -16061,15 +12571,15 @@ }, "bgpConfig": { "$ref": "#/types/equinix:metal/ProjectBgpConfig:ProjectBgpConfig", - "description": "Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/).\n" + "description": "Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/).\n\n\u003e **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in\nthe Equinix Metal API). It can be updated.\n" }, "name": { "type": "string", - "description": "The name of the project.\n" + "description": "The name of the project. The maximum length is 80 characters\n" }, "organizationId": { "type": "string", - "description": "The UUID of organization under which you want to create the project. If you\nleave it out, the project will be create under your the default organization of your account.\n", + "description": "The UUID of organization under which you want to create the project. If you\nleave it out, the project will be created under your the default organization of your account.\n", "willReplaceOnChanges": true }, "paymentMethodId": { @@ -16086,7 +12596,7 @@ }, "bgpConfig": { "$ref": "#/types/equinix:metal/ProjectBgpConfig:ProjectBgpConfig", - "description": "Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/).\n" + "description": "Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/).\n\n\u003e **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in\nthe Equinix Metal API). It can be updated.\n" }, "created": { "type": "string", @@ -16094,11 +12604,11 @@ }, "name": { "type": "string", - "description": "The name of the project.\n" + "description": "The name of the project. The maximum length is 80 characters\n" }, "organizationId": { "type": "string", - "description": "The UUID of organization under which you want to create the project. If you\nleave it out, the project will be create under your the default organization of your account.\n", + "description": "The UUID of organization under which you want to create the project. If you\nleave it out, the project will be created under your the default organization of your account.\n", "willReplaceOnChanges": true }, "paymentMethodId": { @@ -16315,7 +12825,7 @@ }, "facility": { "type": "string", - "description": "Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for\ntype==global_ipv4, conflicts with metro\n" + "description": "Facility where to allocate the public IP address block, makes sense only\nif type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide\n" }, "gateway": { "type": "string" @@ -16414,7 +12924,7 @@ "$ref": "#/types/equinix:metal/facility:Facility" } ], - "description": "Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for\ntype==global_ipv4, conflicts with metro\n", + "description": "Facility where to allocate the public IP address block, makes sense only\nif type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide\n", "willReplaceOnChanges": true }, "metro": { @@ -16509,7 +13019,7 @@ "$ref": "#/types/equinix:metal/facility:Facility" } ], - "description": "Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for\ntype==global_ipv4, conflicts with metro\n", + "description": "Facility where to allocate the public IP address block, makes sense only\nif type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide\n", "willReplaceOnChanges": true }, "gateway": { @@ -16603,12 +13113,12 @@ "items": { "type": "string" }, - "description": "Facility IDs where devices should be created\n", + "description": "Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" }, "instanceParameters": { "$ref": "#/types/equinix:metal/SpotMarketRequestInstanceParameters:SpotMarketRequestInstanceParameters", - "description": "Key/Value pairs of parameters for devices provisioned from\nthis request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`,\n`termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`,\n`user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter\ndescription in equinix.metal.Device docs.\n" + "description": "Key/Value pairs of parameters for devices provisioned from\nthis request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`,\n`termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`,\n`user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter\ndescription in equinix.metal.Device docs.\n" }, "maxBidPrice": { "type": "number", @@ -16651,13 +13161,13 @@ "items": { "type": "string" }, - "description": "Facility IDs where devices should be created\n", + "description": "Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices", "willReplaceOnChanges": true }, "instanceParameters": { "$ref": "#/types/equinix:metal/SpotMarketRequestInstanceParameters:SpotMarketRequestInstanceParameters", - "description": "Key/Value pairs of parameters for devices provisioned from\nthis request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`,\n`termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`,\n`user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter\ndescription in equinix.metal.Device docs.\n", + "description": "Key/Value pairs of parameters for devices provisioned from\nthis request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`,\n`termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`,\n`user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter\ndescription in equinix.metal.Device docs.\n", "willReplaceOnChanges": true }, "maxBidPrice": { @@ -16706,13 +13216,13 @@ "items": { "type": "string" }, - "description": "Facility IDs where devices should be created\n", + "description": "Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices", "willReplaceOnChanges": true }, "instanceParameters": { "$ref": "#/types/equinix:metal/SpotMarketRequestInstanceParameters:SpotMarketRequestInstanceParameters", - "description": "Key/Value pairs of parameters for devices provisioned from\nthis request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`,\n`termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`,\n`user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter\ndescription in equinix.metal.Device docs.\n", + "description": "Key/Value pairs of parameters for devices provisioned from\nthis request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`,\n`termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`,\n`user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter\ndescription in equinix.metal.Device docs.\n", "willReplaceOnChanges": true }, "maxBidPrice": { @@ -17155,7 +13665,7 @@ }, "facility": { "type": "string", - "description": "Facility where to create the VLAN\n", + "description": "Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" }, "metro": { @@ -17192,7 +13702,7 @@ "$ref": "#/types/equinix:metal/facility:Facility" } ], - "description": "Facility where to create the VLAN\n", + "description": "Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices", "willReplaceOnChanges": true }, @@ -17234,7 +13744,7 @@ "$ref": "#/types/equinix:metal/facility:Facility" } ], - "description": "Facility where to create the VLAN\n", + "description": "Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices", "willReplaceOnChanges": true }, @@ -17389,7 +13899,7 @@ "items": { "$ref": "#/types/equinix:networkedge/AclTemplateInboundRule:AclTemplateInboundRule" }, - "description": "One or more rules to specify allowed inbound traffic.\nRules are ordered, matching traffic rule stops processing subsequent ones.\n" + "description": "One or more rules to specify allowed inbound traffic.\nRules are ordered, matching traffic rule stops processing subsequent ones.\n\nThe `inbound_rule` block has below fields:\n" }, "metroCode": { "type": "string", @@ -17423,7 +13933,7 @@ "items": { "$ref": "#/types/equinix:networkedge/AclTemplateInboundRule:AclTemplateInboundRule" }, - "description": "One or more rules to specify allowed inbound traffic.\nRules are ordered, matching traffic rule stops processing subsequent ones.\n" + "description": "One or more rules to specify allowed inbound traffic.\nRules are ordered, matching traffic rule stops processing subsequent ones.\n\nThe `inbound_rule` block has below fields:\n" }, "metroCode": { "type": "string", @@ -17466,7 +13976,7 @@ "items": { "$ref": "#/types/equinix:networkedge/AclTemplateInboundRule:AclTemplateInboundRule" }, - "description": "One or more rules to specify allowed inbound traffic.\nRules are ordered, matching traffic rule stops processing subsequent ones.\n" + "description": "One or more rules to specify allowed inbound traffic.\nRules are ordered, matching traffic rule stops processing subsequent ones.\n\nThe `inbound_rule` block has below fields:\n" }, "metroCode": { "type": "string", @@ -17656,6 +14166,10 @@ "$ref": "#/types/equinix:networkedge/DeviceClusterDetails:DeviceClusterDetails", "description": "An object that has the cluster details. See\nCluster Details below for more details.\n" }, + "connectivity": { + "type": "string", + "description": "Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT).\nIf not specified, default will be INTERNET-ACCESS\n" + }, "coreCount": { "type": "integer", "description": "Number of CPU cores used by device.\n" @@ -17859,6 +14373,11 @@ "description": "An object that has the cluster details. See\nCluster Details below for more details.\n", "willReplaceOnChanges": true }, + "connectivity": { + "type": "string", + "description": "Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT).\nIf not specified, default will be INTERNET-ACCESS\n", + "willReplaceOnChanges": true + }, "coreCount": { "type": "integer", "description": "Number of CPU cores used by device.\n", @@ -18031,6 +14550,11 @@ "description": "An object that has the cluster details. See\nCluster Details below for more details.\n", "willReplaceOnChanges": true }, + "connectivity": { + "type": "string", + "description": "Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT).\nIf not specified, default will be INTERNET-ACCESS\n", + "willReplaceOnChanges": true + }, "coreCount": { "type": "integer", "description": "Number of CPU cores used by device.\n", @@ -18618,41 +15142,175 @@ "willReplaceOnChanges": true } }, - "requiredInputs": [ - "deviceIds", - "password", - "username" - ], - "stateInputs": { - "description": "Input properties used for looking up and filtering SshUser resources.\n", + "requiredInputs": [ + "deviceIds", + "password", + "username" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering SshUser resources.\n", + "properties": { + "deviceIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "list of device identifiers to which user will have access.\n" + }, + "password": { + "type": "string", + "description": "SSH user password.\n", + "secret": true + }, + "username": { + "type": "string", + "description": "SSH user login name.\n", + "willReplaceOnChanges": true + }, + "uuid": { + "type": "string", + "description": "SSH user unique identifier.\n" + } + }, + "type": "object" + } + } + }, + "functions": { + "equinix:fabric/getCloudRouter:getCloudRouter": { + "inputs": { + "description": "A collection of arguments for invoking getCloudRouter.\n", + "properties": { + "projects": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getCloudRouterProject:getCloudRouterProject" + }, + "description": "Project information\n" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned Fabric Cloud Router identifier\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getCloudRouter.\n", "properties": { - "deviceIds": { + "accounts": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/equinix:fabric/getCloudRouterAccount:getCloudRouterAccount" }, - "description": "list of device identifiers to which user will have access.\n" + "description": "Customer account information that is associated with this Fabric Cloud Router\n" }, - "password": { + "bgpIpv4RoutesCount": { + "type": "integer" + }, + "bgpIpv6RoutesCount": { + "type": "integer" + }, + "changeLogs": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getCloudRouterChangeLog:getCloudRouterChangeLog" + }, + "description": "Captures Fabric Cloud Router lifecycle change information\n" + }, + "connectionsCount": { + "type": "integer" + }, + "description": { "type": "string", - "description": "SSH user password.\n", - "secret": true + "description": "Customer-provided Fabric Cloud Router description\n" }, - "username": { + "equinixAsn": { + "type": "integer", + "description": "Equinix ASN\n" + }, + "href": { "type": "string", - "description": "SSH user login name.\n", - "willReplaceOnChanges": true + "description": "Fabric Cloud Router URI information\n" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "locations": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getCloudRouterLocation:getCloudRouterLocation" + }, + "description": "Fabric Cloud Router location\n" + }, + "name": { + "type": "string", + "description": "Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" + }, + "notifications": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getCloudRouterNotification:getCloudRouterNotification" + }, + "description": "Preferences for notifications on Fabric Cloud Router configuration or status changes\n" + }, + "orders": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getCloudRouterOrder:getCloudRouterOrder" + }, + "description": "Order information related to this Fabric Cloud Router\n" + }, + "packages": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getCloudRouterPackage:getCloudRouterPackage" + }, + "description": "Fabric Cloud Router package information\n" + }, + "projects": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getCloudRouterProject:getCloudRouterProject" + }, + "description": "Project information\n" + }, + "state": { + "type": "string", + "description": "Fabric Cloud Router overall state\n" + }, + "type": { + "type": "string", + "description": "Defines the Fabric Cloud Router type like XF_GATEWAY\n" }, "uuid": { "type": "string", - "description": "SSH user unique identifier.\n" + "description": "Equinix-assigned Fabric Cloud Router identifier\n" } }, - "type": "object" + "type": "object", + "required": [ + "accounts", + "bgpIpv4RoutesCount", + "bgpIpv6RoutesCount", + "changeLogs", + "connectionsCount", + "description", + "equinixAsn", + "href", + "locations", + "name", + "notifications", + "orders", + "packages", + "projects", + "state", + "type", + "id" + ] } - } - }, - "functions": { + }, "equinix:fabric/getConnection:getConnection": { "inputs": { "description": "A collection of arguments for invoking getConnection.\n", @@ -18662,8 +15320,7 @@ "description": "Project information\n" }, "uuid": { - "type": "string", - "description": "Equinix-assigned connection identifier\n" + "type": "string" } }, "type": "object" @@ -18747,7 +15404,7 @@ }, "type": { "type": "string", - "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC\n" + "description": "Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, IP*VC, ACCESS*EPL_VC\n" }, "uuid": { "type": "string", @@ -18834,9 +15491,8 @@ "type": "string", "description": "The provider-assigned unique ID for this managed resource.\n" }, - "lag": { - "$ref": "#/types/equinix:fabric/getPortLag:getPortLag", - "description": "Port Lag\n" + "lagEnabled": { + "type": "boolean" }, "location": { "$ref": "#/types/equinix:fabric/getPortLocation:getPortLocation", @@ -18885,7 +15541,7 @@ "device", "encapsulation", "href", - "lag", + "lagEnabled", "location", "name", "operation", @@ -18936,6 +15592,165 @@ ] } }, + "equinix:fabric/getRoutingProtocol:getRoutingProtocol": { + "inputs": { + "description": "A collection of arguments for invoking getRoutingProtocol.\n", + "properties": { + "bfd": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolBfd:getRoutingProtocolBfd", + "description": "Bidirectional Forwarding Detection\n" + }, + "bgpAuthKey": { + "type": "string", + "description": "BGP authorization key\n" + }, + "bgpIpv4": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolBgpIpv4:getRoutingProtocolBgpIpv4", + "description": "Routing Protocol BGP IPv4\n" + }, + "bgpIpv6": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolBgpIpv6:getRoutingProtocolBgpIpv6", + "description": "Routing Protocol BGP IPv6\n" + }, + "connectionUuid": { + "type": "string", + "description": "Connection URI associated with Routing Protocol\n" + }, + "customerAsn": { + "type": "integer", + "description": "Customer-provided ASN\n" + }, + "description": { + "type": "string", + "description": "Customer-provided Fabric Routing Protocol description\n" + }, + "directIpv4": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolDirectIpv4:getRoutingProtocolDirectIpv4", + "description": "Routing Protocol Direct IPv4\n" + }, + "directIpv6": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolDirectIpv6:getRoutingProtocolDirectIpv6", + "description": "Routing Protocol Direct IPv6\n" + }, + "name": { + "type": "string", + "description": "Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" + }, + "type": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "type": "object", + "required": [ + "connectionUuid" + ] + }, + "outputs": { + "description": "A collection of values returned by getRoutingProtocol.\n", + "properties": { + "bfd": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolBfd:getRoutingProtocolBfd", + "description": "Bidirectional Forwarding Detection\n" + }, + "bgpAuthKey": { + "type": "string", + "description": "BGP authorization key\n" + }, + "bgpIpv4": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolBgpIpv4:getRoutingProtocolBgpIpv4", + "description": "Routing Protocol BGP IPv4\n" + }, + "bgpIpv6": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolBgpIpv6:getRoutingProtocolBgpIpv6", + "description": "Routing Protocol BGP IPv6\n" + }, + "changeLogs": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolChangeLog:getRoutingProtocolChangeLog" + }, + "description": "Captures Routing Protocol lifecycle change information\n" + }, + "changes": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolChange:getRoutingProtocolChange" + }, + "description": "Routing Protocol configuration Changes\n" + }, + "connectionUuid": { + "type": "string", + "description": "Connection URI associated with Routing Protocol\n" + }, + "customerAsn": { + "type": "integer", + "description": "Customer-provided ASN\n" + }, + "description": { + "type": "string", + "description": "Customer-provided Fabric Routing Protocol description\n" + }, + "directIpv4": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolDirectIpv4:getRoutingProtocolDirectIpv4", + "description": "Routing Protocol Direct IPv4\n" + }, + "directIpv6": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolDirectIpv6:getRoutingProtocolDirectIpv6", + "description": "Routing Protocol Direct IPv6\n" + }, + "equinixAsn": { + "type": "integer", + "description": "Equinix ASN\n" + }, + "href": { + "type": "string", + "description": "Routing Protocol URI information\n" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "name": { + "type": "string", + "description": "Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" + }, + "operations": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getRoutingProtocolOperation:getRoutingProtocolOperation" + }, + "description": "Routing Protocol type-specific operational data\n" + }, + "state": { + "type": "string", + "description": "Routing Protocol overall state\n" + }, + "type": { + "type": "string", + "description": "Defines the routing protocol type like BGP or DIRECT\n" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned routing protocol identifier\n" + } + }, + "type": "object", + "required": [ + "changes", + "changeLogs", + "connectionUuid", + "equinixAsn", + "href", + "operations", + "state", + "uuid", + "id" + ] + } + }, "equinix:fabric/getServiceProfile:getServiceProfile": { "description": "Fabric V4 API compatible data resource that allow user to fetch Service Profile by UUID filter criteria\n\n\u003e **Note** Equinix Fabric v4 resources and datasources are currently in Beta. The interfaces related to `equinix_fabric_` resources and datasources may change ahead of general availability\n", "inputs": { @@ -18946,8 +15761,7 @@ "description": "Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED\n" }, "uuid": { - "type": "string", - "description": "Equinix assigned service profile identifier\n" + "type": "string" } }, "type": "object", @@ -19098,6 +15912,10 @@ "$ref": "#/types/equinix:fabric/getServiceProfilesSort:getServiceProfilesSort" }, "description": "Service Profile Sort criteria for Search Request response payload\n" + }, + "viewPoint": { + "type": "string", + "description": "Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide.\n" } }, "type": "object" @@ -19126,6 +15944,10 @@ "$ref": "#/types/equinix:fabric/getServiceProfilesSort:getServiceProfilesSort" }, "description": "Service Profile Sort criteria for Search Request response payload\n" + }, + "viewPoint": { + "type": "string", + "description": "Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide.\n" } }, "type": "object", @@ -19136,13 +15958,13 @@ } }, "equinix:metal/getDevice:getDevice": { - "description": "Provides an Equinix Metal device datasource.\n\n\u003e **Note:** All arguments including the `root_password` and `user_data` will be stored in\n the raw state as plain-text.\n[Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst test = equinix.metal.getDevice({\n projectId: local.project_id,\n hostname: \"mydevice\",\n});\nexport const id = test.then(test =\u003e test.id);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ntest = equinix.metal.get_device(project_id=local[\"project_id\"],\n hostname=\"mydevice\")\npulumi.export(\"id\", test.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Equinix.Metal.GetDevice.Invoke(new()\n {\n ProjectId = local.Project_id,\n Hostname = \"mydevice\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"id\"] = test.Apply(getDeviceResult =\u003e getDeviceResult.Id),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := metal.LookupDevice(ctx, \u0026metal.LookupDeviceArgs{\n\t\t\tProjectId: pulumi.StringRef(local.Project_id),\n\t\t\tHostname: pulumi.StringRef(\"mydevice\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"id\", test.Id)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetDeviceArgs;\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 test = MetalFunctions.getDevice(GetDeviceArgs.builder()\n .projectId(local.project_id())\n .hostname(\"mydevice\")\n .build());\n\n ctx.export(\"id\", test.applyValue(getDeviceResult -\u003e getDeviceResult.id()));\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: equinix:metal:getDevice\n Arguments:\n projectId: ${local.project_id}\n hostname: mydevice\noutputs:\n id: ${test.id}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst test = equinix.metal.getDevice({\n deviceId: \"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\",\n});\nexport const ipv4 = test.then(test =\u003e test.accessPublicIpv4);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ntest = equinix.metal.get_device(device_id=\"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\")\npulumi.export(\"ipv4\", test.access_public_ipv4)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Equinix.Metal.GetDevice.Invoke(new()\n {\n DeviceId = \"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"ipv4\"] = test.Apply(getDeviceResult =\u003e getDeviceResult.AccessPublicIpv4),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := metal.LookupDevice(ctx, \u0026metal.LookupDeviceArgs{\n\t\t\tDeviceId: pulumi.StringRef(\"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"ipv4\", test.AccessPublicIpv4)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetDeviceArgs;\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 test = MetalFunctions.getDevice(GetDeviceArgs.builder()\n .deviceId(\"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\")\n .build());\n\n ctx.export(\"ipv4\", test.applyValue(getDeviceResult -\u003e getDeviceResult.accessPublicIpv4()));\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: equinix:metal:getDevice\n Arguments:\n deviceId: 4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\noutputs:\n ipv4: ${test.accessPublicIpv4}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "The datasource can be used to fetch a single device.\n\nIf you need to fetch a list of devices which meet filter criteria, you can use the equinix.metal.getDevices datasource.\n\n\u003e **Note:** All arguments including the `root_password` and `user_data` will be stored in\n the raw state as plain-text.\n[Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst test = equinix.metal.getDevice({\n projectId: local.project_id,\n hostname: \"mydevice\",\n});\nexport const id = test.then(test =\u003e test.id);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ntest = equinix.metal.get_device(project_id=local[\"project_id\"],\n hostname=\"mydevice\")\npulumi.export(\"id\", test.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 test = Equinix.Metal.GetDevice.Invoke(new()\n {\n ProjectId = local.Project_id,\n Hostname = \"mydevice\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"id\"] = test.Apply(getDeviceResult =\u003e getDeviceResult.Id),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := metal.LookupDevice(ctx, \u0026metal.LookupDeviceArgs{\n\t\t\tProjectId: pulumi.StringRef(local.Project_id),\n\t\t\tHostname: pulumi.StringRef(\"mydevice\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"id\", test.Id)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetDeviceArgs;\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 test = MetalFunctions.getDevice(GetDeviceArgs.builder()\n .projectId(local.project_id())\n .hostname(\"mydevice\")\n .build());\n\n ctx.export(\"id\", test.applyValue(getDeviceResult -\u003e getDeviceResult.id()));\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: equinix:metal:getDevice\n Arguments:\n projectId: ${local.project_id}\n hostname: mydevice\noutputs:\n id: ${test.id}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst test = equinix.metal.getDevice({\n deviceId: \"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\",\n});\nexport const ipv4 = test.then(test =\u003e test.accessPublicIpv4);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ntest = equinix.metal.get_device(device_id=\"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\")\npulumi.export(\"ipv4\", test.access_public_ipv4)\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 test = Equinix.Metal.GetDevice.Invoke(new()\n {\n DeviceId = \"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"ipv4\"] = test.Apply(getDeviceResult =\u003e getDeviceResult.AccessPublicIpv4),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := metal.LookupDevice(ctx, \u0026metal.LookupDeviceArgs{\n\t\t\tDeviceId: pulumi.StringRef(\"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"ipv4\", test.AccessPublicIpv4)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetDeviceArgs;\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 test = MetalFunctions.getDevice(GetDeviceArgs.builder()\n .deviceId(\"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\")\n .build());\n\n ctx.export(\"ipv4\", test.applyValue(getDeviceResult -\u003e getDeviceResult.accessPublicIpv4()));\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: equinix:metal:getDevice\n Arguments:\n deviceId: 4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\noutputs:\n ipv4: ${test.accessPublicIpv4}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getDevice.\n", "properties": { "deviceId": { "type": "string", - "description": "Device ID.\n" + "description": "Device ID.\n\n\u003e **NOTE:** You should pass either `device_id`, or both `project_id` and `hostname`.\n" }, "hostname": { "type": "string", @@ -19186,6 +16008,7 @@ }, "facility": { "type": "string", + "description": "(**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" }, "hardwareReservationId": { @@ -19292,7 +16115,7 @@ } }, "equinix:metal/getDeviceBgpNeighbors:getDeviceBgpNeighbors": { - "description": "Use this datasource to retrieve list of BGP neighbors of a device in the Equinix Metal host.\n\nTo have any BGP neighbors listed, the device must be in BGP-enabled project\nand have a BGP session assigned.\n\nTo learn more about using BGP in Equinix Metal, see the\nequinix.metal.BgpSession resource documentation.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst test = equinix.metal.getDeviceBgpNeighbors({\n deviceId: \"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\",\n});\nexport const bgpNeighborsListing = test.then(test =\u003e test.bgpNeighbors);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ntest = equinix.metal.get_device_bgp_neighbors(device_id=\"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\")\npulumi.export(\"bgpNeighborsListing\", test.bgp_neighbors)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Equinix.Metal.GetDeviceBgpNeighbors.Invoke(new()\n {\n DeviceId = \"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"bgpNeighborsListing\"] = test.Apply(getDeviceBgpNeighborsResult =\u003e getDeviceBgpNeighborsResult.BgpNeighbors),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := metal.GetDeviceBgpNeighbors(ctx, \u0026metal.GetDeviceBgpNeighborsArgs{\n\t\t\tDeviceId: \"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"bgpNeighborsListing\", test.BgpNeighbors)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetDeviceBgpNeighborsArgs;\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 test = MetalFunctions.getDeviceBgpNeighbors(GetDeviceBgpNeighborsArgs.builder()\n .deviceId(\"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\")\n .build());\n\n ctx.export(\"bgpNeighborsListing\", test.applyValue(getDeviceBgpNeighborsResult -\u003e getDeviceBgpNeighborsResult.bgpNeighbors()));\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: equinix:metal:getDeviceBgpNeighbors\n Arguments:\n deviceId: 4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\noutputs:\n bgpNeighborsListing: ${test.bgpNeighbors}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this datasource to retrieve list of BGP neighbors of a device in the Equinix Metal host.\n\nTo have any BGP neighbors listed, the device must be in BGP-enabled project\nand have a BGP session assigned.\n\nTo learn more about using BGP in Equinix Metal, see the\nequinix.metal.BgpSession resource documentation.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst test = equinix.metal.getDeviceBgpNeighbors({\n deviceId: \"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\",\n});\nexport const bgpNeighborsListing = test.then(test =\u003e test.bgpNeighbors);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ntest = equinix.metal.get_device_bgp_neighbors(device_id=\"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\")\npulumi.export(\"bgpNeighborsListing\", test.bgp_neighbors)\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 test = Equinix.Metal.GetDeviceBgpNeighbors.Invoke(new()\n {\n DeviceId = \"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"bgpNeighborsListing\"] = test.Apply(getDeviceBgpNeighborsResult =\u003e getDeviceBgpNeighborsResult.BgpNeighbors),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := metal.GetDeviceBgpNeighbors(ctx, \u0026metal.GetDeviceBgpNeighborsArgs{\n\t\t\tDeviceId: \"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"bgpNeighborsListing\", test.BgpNeighbors)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetDeviceBgpNeighborsArgs;\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 test = MetalFunctions.getDeviceBgpNeighbors(GetDeviceBgpNeighborsArgs.builder()\n .deviceId(\"4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\")\n .build());\n\n ctx.export(\"bgpNeighborsListing\", test.applyValue(getDeviceBgpNeighborsResult -\u003e getDeviceBgpNeighborsResult.bgpNeighbors()));\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: equinix:metal:getDeviceBgpNeighbors\n Arguments:\n deviceId: 4c641195-25e5-4c3c-b2b7-4cd7a42c7b40\noutputs:\n bgpNeighborsListing: ${test.bgpNeighbors}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getDeviceBgpNeighbors.\n", "properties": { @@ -19332,7 +16155,84 @@ ] } }, + "equinix:metal/getDevices:getDevices": { + "description": "The datasource can be used to find a list of devices which meet filter criteria.\n\nIf you need to fetch a single device by ID or by project ID and hostname, use the equinix.metal.Device datasource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst example = equinix.metal.getDevices({\n projectId: local.project_id,\n filters: [\n {\n attribute: \"plan\",\n values: [\"c3.small.x86\"],\n },\n {\n attribute: \"metro\",\n values: [\n \"da\",\n \"sv\",\n ],\n },\n ],\n});\nexport const devices = example.then(example =\u003e example.devices);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample = equinix.metal.get_devices(project_id=local[\"project_id\"],\n filters=[\n equinix.metal.GetDevicesFilterArgs(\n attribute=\"plan\",\n values=[\"c3.small.x86\"],\n ),\n equinix.metal.GetDevicesFilterArgs(\n attribute=\"metro\",\n values=[\n \"da\",\n \"sv\",\n ],\n ),\n ])\npulumi.export(\"devices\", example.devices)\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 example = Equinix.Metal.GetDevices.Invoke(new()\n {\n ProjectId = local.Project_id,\n Filters = new[]\n {\n new Equinix.Metal.Inputs.GetDevicesFilterInputArgs\n {\n Attribute = \"plan\",\n Values = new[]\n {\n \"c3.small.x86\",\n },\n },\n new Equinix.Metal.Inputs.GetDevicesFilterInputArgs\n {\n Attribute = \"metro\",\n Values = new[]\n {\n \"da\",\n \"sv\",\n },\n },\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"devices\"] = example.Apply(getDevicesResult =\u003e getDevicesResult.Devices),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := metal.GetDevices(ctx, \u0026metal.GetDevicesArgs{\n\t\t\tProjectId: pulumi.StringRef(local.Project_id),\n\t\t\tFilters: []metal.GetDevicesFilter{\n\t\t\t\t{\n\t\t\t\t\tAttribute: \"plan\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"c3.small.x86\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tAttribute: \"metro\",\n\t\t\t\t\tValues: []string{\n\t\t\t\t\t\t\"da\",\n\t\t\t\t\t\t\"sv\",\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"devices\", example.Devices)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetDevicesArgs;\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 example = MetalFunctions.getDevices(GetDevicesArgs.builder()\n .projectId(local.project_id())\n .filters( \n GetDevicesFilterArgs.builder()\n .attribute(\"plan\")\n .values(\"c3.small.x86\")\n .build(),\n GetDevicesFilterArgs.builder()\n .attribute(\"metro\")\n .values( \n \"da\",\n \"sv\")\n .build())\n .build());\n\n ctx.export(\"devices\", example.applyValue(getDevicesResult -\u003e getDevicesResult.devices()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: equinix:metal:getDevices\n Arguments:\n projectId: ${local.project_id}\n filters:\n - attribute: plan\n values:\n - c3.small.x86\n - attribute: metro\n values:\n - da\n - sv\noutputs:\n devices: ${example.devices}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst example = equinix.metal.getDevices({\n search: \"database\",\n});\nexport const devices = example.then(example =\u003e example.devices);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample = equinix.metal.get_devices(search=\"database\")\npulumi.export(\"devices\", example.devices)\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 example = Equinix.Metal.GetDevices.Invoke(new()\n {\n Search = \"database\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"devices\"] = example.Apply(getDevicesResult =\u003e getDevicesResult.Devices),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := metal.GetDevices(ctx, \u0026metal.GetDevicesArgs{\n\t\t\tSearch: pulumi.StringRef(\"database\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"devices\", example.Devices)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetDevicesArgs;\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 example = MetalFunctions.getDevices(GetDevicesArgs.builder()\n .search(\"database\")\n .build());\n\n ctx.export(\"devices\", example.applyValue(getDevicesResult -\u003e getDevicesResult.devices()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: equinix:metal:getDevices\n Arguments:\n search: database\noutputs:\n devices: ${example.devices}\n```\n{{% /example %}}\n{{% /examples %}}\n## search vs filter\n\nThe difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The \"filter\" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider.\n", + "inputs": { + "description": "A collection of arguments for invoking getDevices.\n", + "properties": { + "filters": { + "type": "array", + "items": { + "$ref": "#/types/equinix:metal/getDevicesFilter:getDevicesFilter" + }, + "description": "One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource.\n" + }, + "organizationId": { + "type": "string", + "description": "ID of organization containing the devices.\n" + }, + "projectId": { + "type": "string", + "description": "ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set.\n" + }, + "search": { + "type": "string", + "description": "Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses.\n" + }, + "sorts": { + "type": "array", + "items": { + "$ref": "#/types/equinix:metal/getDevicesSort:getDevicesSort" + } + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getDevices.\n", + "properties": { + "devices": { + "type": "array", + "items": { + "$ref": "#/types/equinix:metal/getDevicesDevice:getDevicesDevice" + }, + "description": "list of resources with attributes like in the equninix_metal_device datasources.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/equinix:metal/getDevicesFilter:getDevicesFilter" + } + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "organizationId": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "search": { + "type": "string" + }, + "sorts": { + "type": "array", + "items": { + "$ref": "#/types/equinix:metal/getDevicesSort:getDevicesSort" + } + } + }, + "type": "object", + "required": [ + "devices", + "id" + ] + } + }, "equinix:metal/getFacility:getFacility": { + "description": "\u003e **Deprecated** Use `equinix.metal.getMetro` instead. For more information, refer to the facility to metro migration guide.\n\nProvides an Equinix Metal facility datasource.\n", "inputs": { "description": "A collection of arguments for invoking getFacility.\n", "properties": { @@ -19409,7 +16309,7 @@ } }, "equinix:metal/getGateway:getGateway": { - "description": "Use this datasource to retrieve Metal Gateway resources in Equinix Metal.\n\n\u003e VRF features are not generally available. The interfaces related to VRF resources may change ahead of general availability.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\nimport * as equinix from \"@pulumi/equinix\";\n\n// Create Metal Gateway for a VLAN with a private IPv4 block with 8 IP addresses\nconst testVlan = new equinix.metal.Vlan(\"testVlan\", {\n description: \"test VLAN in SV\",\n metro: \"sv\",\n projectId: local.project_id,\n});\nconst testGateway = equinix.metal.getGateway({\n gatewayId: local.gateway_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\n# Create Metal Gateway for a VLAN with a private IPv4 block with 8 IP addresses\ntest_vlan = equinix.metal.Vlan(\"testVlan\",\n description=\"test VLAN in SV\",\n metro=\"sv\",\n project_id=local[\"project_id\"])\ntest_gateway = equinix.metal.get_gateway(gateway_id=local[\"gateway_id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create Metal Gateway for a VLAN with a private IPv4 block with 8 IP addresses\n var testVlan = new Equinix.Metal.Vlan(\"testVlan\", new()\n {\n Description = \"test VLAN in SV\",\n Metro = \"sv\",\n ProjectId = local.Project_id,\n });\n\n var testGateway = Equinix.Metal.GetGateway.Invoke(new()\n {\n GatewayId = local.Gateway_id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.NewVlan(ctx, \"testVlan\", \u0026metal.VlanArgs{\n\t\t\tDescription: pulumi.String(\"test VLAN in SV\"),\n\t\t\tMetro: pulumi.String(\"sv\"),\n\t\t\tProjectId: pulumi.Any(local.Project_id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = metal.LookupGateway(ctx, \u0026metal.LookupGatewayArgs{\n\t\t\tGatewayId: local.Gateway_id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.Vlan;\nimport com.pulumi.equinix.metal.VlanArgs;\nimport com.pulumi.equinix.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetGatewayArgs;\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 testVlan = new Vlan(\"testVlan\", VlanArgs.builder() \n .description(\"test VLAN in SV\")\n .metro(\"sv\")\n .projectId(local.project_id())\n .build());\n\n final var testGateway = MetalFunctions.getGateway(GetGatewayArgs.builder()\n .gatewayId(local.gateway_id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create Metal Gateway for a VLAN with a private IPv4 block with 8 IP addresses\n testVlan:\n type: equinix:metal:Vlan\n properties:\n description: test VLAN in SV\n metro: sv\n projectId: ${local.project_id}\nvariables:\n testGateway:\n fn::invoke:\n Function: equinix:metal:getGateway\n Arguments:\n gatewayId: ${local.gateway_id}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this datasource to retrieve Metal Gateway resources in Equinix Metal.\n\n\u003e VRF features are not generally available. The interfaces related to VRF resources may change ahead of general availability.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\nimport * as equinix from \"@pulumi/equinix\";\n\n// Create Metal Gateway for a VLAN with a private IPv4 block with 8 IP addresses\nconst testVlan = new equinix.metal.Vlan(\"testVlan\", {\n description: \"test VLAN in SV\",\n metro: \"sv\",\n projectId: local.project_id,\n});\nconst testGateway = equinix.metal.getGateway({\n gatewayId: local.gateway_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\n# Create Metal Gateway for a VLAN with a private IPv4 block with 8 IP addresses\ntest_vlan = equinix.metal.Vlan(\"testVlan\",\n description=\"test VLAN in SV\",\n metro=\"sv\",\n project_id=local[\"project_id\"])\ntest_gateway = equinix.metal.get_gateway(gateway_id=local[\"gateway_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 // Create Metal Gateway for a VLAN with a private IPv4 block with 8 IP addresses\n var testVlan = new Equinix.Metal.Vlan(\"testVlan\", new()\n {\n Description = \"test VLAN in SV\",\n Metro = \"sv\",\n ProjectId = local.Project_id,\n });\n\n var testGateway = Equinix.Metal.GetGateway.Invoke(new()\n {\n GatewayId = local.Gateway_id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.NewVlan(ctx, \"testVlan\", \u0026metal.VlanArgs{\n\t\t\tDescription: pulumi.String(\"test VLAN in SV\"),\n\t\t\tMetro: pulumi.String(\"sv\"),\n\t\t\tProjectId: pulumi.Any(local.Project_id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = metal.LookupGateway(ctx, \u0026metal.LookupGatewayArgs{\n\t\t\tGatewayId: local.Gateway_id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.Vlan;\nimport com.pulumi.equinix.metal.VlanArgs;\nimport com.pulumi.equinix.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetGatewayArgs;\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 testVlan = new Vlan(\"testVlan\", VlanArgs.builder() \n .description(\"test VLAN in SV\")\n .metro(\"sv\")\n .projectId(local.project_id())\n .build());\n\n final var testGateway = MetalFunctions.getGateway(GetGatewayArgs.builder()\n .gatewayId(local.gateway_id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create Metal Gateway for a VLAN with a private IPv4 block with 8 IP addresses\n testVlan:\n type: equinix:metal:Vlan\n properties:\n description: test VLAN in SV\n metro: sv\n projectId: ${local.project_id}\nvariables:\n testGateway:\n fn::invoke:\n Function: equinix:metal:getGateway\n Arguments:\n gatewayId: ${local.gateway_id}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getGateway.\n", "properties": { @@ -19472,7 +16372,7 @@ } }, "equinix:metal/getHardwareReservation:getHardwareReservation": { - "description": "Use this data source to retrieve a [hardware reservation resource from Equinix Metal](https://metal.equinix.com/developers/docs/deploy/reserved/).\n\nYou can look up hardware reservation by its ID or by ID of device which occupies it.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst example = equinix.metal.getHardwareReservation({\n id: \"4347e805-eb46-4699-9eb9-5c116e6a0172\",\n});\nconst exampleByDeviceId = equinix.metal.getHardwareReservation({\n deviceId: \"ff85aa58-c106-4624-8f1c-7c64554047ea\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample = equinix.metal.get_hardware_reservation(id=\"4347e805-eb46-4699-9eb9-5c116e6a0172\")\nexample_by_device_id = equinix.metal.get_hardware_reservation(device_id=\"ff85aa58-c106-4624-8f1c-7c64554047ea\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Equinix.Metal.GetHardwareReservation.Invoke(new()\n {\n Id = \"4347e805-eb46-4699-9eb9-5c116e6a0172\",\n });\n\n var exampleByDeviceId = Equinix.Metal.GetHardwareReservation.Invoke(new()\n {\n DeviceId = \"ff85aa58-c106-4624-8f1c-7c64554047ea\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.GetHardwareReservation(ctx, \u0026metal.GetHardwareReservationArgs{\n\t\t\tId: pulumi.StringRef(\"4347e805-eb46-4699-9eb9-5c116e6a0172\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = metal.GetHardwareReservation(ctx, \u0026metal.GetHardwareReservationArgs{\n\t\t\tDeviceId: pulumi.StringRef(\"ff85aa58-c106-4624-8f1c-7c64554047ea\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetHardwareReservationArgs;\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 example = MetalFunctions.getHardwareReservation(GetHardwareReservationArgs.builder()\n .id(\"4347e805-eb46-4699-9eb9-5c116e6a0172\")\n .build());\n\n final var exampleByDeviceId = MetalFunctions.getHardwareReservation(GetHardwareReservationArgs.builder()\n .deviceId(\"ff85aa58-c106-4624-8f1c-7c64554047ea\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: equinix:metal:getHardwareReservation\n Arguments:\n id: 4347e805-eb46-4699-9eb9-5c116e6a0172\n exampleByDeviceId:\n fn::invoke:\n Function: equinix:metal:getHardwareReservation\n Arguments:\n deviceId: ff85aa58-c106-4624-8f1c-7c64554047ea\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve a [hardware reservation resource from Equinix Metal](https://metal.equinix.com/developers/docs/deploy/reserved/).\n\nYou can look up hardware reservation by its ID or by ID of device which occupies it.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst example = equinix.metal.getHardwareReservation({\n id: \"4347e805-eb46-4699-9eb9-5c116e6a0172\",\n});\nconst exampleByDeviceId = equinix.metal.getHardwareReservation({\n deviceId: \"ff85aa58-c106-4624-8f1c-7c64554047ea\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample = equinix.metal.get_hardware_reservation(id=\"4347e805-eb46-4699-9eb9-5c116e6a0172\")\nexample_by_device_id = equinix.metal.get_hardware_reservation(device_id=\"ff85aa58-c106-4624-8f1c-7c64554047ea\")\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 example = Equinix.Metal.GetHardwareReservation.Invoke(new()\n {\n Id = \"4347e805-eb46-4699-9eb9-5c116e6a0172\",\n });\n\n var exampleByDeviceId = Equinix.Metal.GetHardwareReservation.Invoke(new()\n {\n DeviceId = \"ff85aa58-c106-4624-8f1c-7c64554047ea\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.GetHardwareReservation(ctx, \u0026metal.GetHardwareReservationArgs{\n\t\t\tId: pulumi.StringRef(\"4347e805-eb46-4699-9eb9-5c116e6a0172\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = metal.GetHardwareReservation(ctx, \u0026metal.GetHardwareReservationArgs{\n\t\t\tDeviceId: pulumi.StringRef(\"ff85aa58-c106-4624-8f1c-7c64554047ea\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetHardwareReservationArgs;\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 example = MetalFunctions.getHardwareReservation(GetHardwareReservationArgs.builder()\n .id(\"4347e805-eb46-4699-9eb9-5c116e6a0172\")\n .build());\n\n final var exampleByDeviceId = MetalFunctions.getHardwareReservation(GetHardwareReservationArgs.builder()\n .deviceId(\"ff85aa58-c106-4624-8f1c-7c64554047ea\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: equinix:metal:getHardwareReservation\n Arguments:\n id: 4347e805-eb46-4699-9eb9-5c116e6a0172\n exampleByDeviceId:\n fn::invoke:\n Function: equinix:metal:getHardwareReservation\n Arguments:\n deviceId: ff85aa58-c106-4624-8f1c-7c64554047ea\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getHardwareReservation.\n", "properties": { @@ -19496,6 +16396,7 @@ }, "facility": { "type": "string", + "description": "(**Deprecated**) Facility for the reservation. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" }, "id": { @@ -19542,7 +16443,7 @@ } }, "equinix:metal/getInterconnection:getInterconnection": { - "description": "Use this data source to retrieve a [connection resource](https://metal.equinix.com/developers/docs/networking/fabric/)\n\n\u003e Equinix Metal connection with with Service Token A-side / Z-side (service_token_type) is not generally available and may not be enabled yet for your organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst example = equinix.metal.getInterconnection({\n connectionId: \"4347e805-eb46-4699-9eb9-5c116e6a017d\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample = equinix.metal.get_interconnection(connection_id=\"4347e805-eb46-4699-9eb9-5c116e6a017d\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Equinix.Metal.GetInterconnection.Invoke(new()\n {\n ConnectionId = \"4347e805-eb46-4699-9eb9-5c116e6a017d\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.LookupInterconnection(ctx, \u0026metal.LookupInterconnectionArgs{\n\t\t\tConnectionId: \"4347e805-eb46-4699-9eb9-5c116e6a017d\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetInterconnectionArgs;\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 example = MetalFunctions.getInterconnection(GetInterconnectionArgs.builder()\n .connectionId(\"4347e805-eb46-4699-9eb9-5c116e6a017d\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: equinix:metal:getInterconnection\n Arguments:\n connectionId: 4347e805-eb46-4699-9eb9-5c116e6a017d\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve a [connection resource](https://metal.equinix.com/developers/docs/networking/fabric/)\n\n\u003e Equinix Metal connection with with Service Token A-side / Z-side (service_token_type) is not generally available and may not be enabled yet for your organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst example = equinix.metal.getInterconnection({\n connectionId: \"4347e805-eb46-4699-9eb9-5c116e6a017d\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample = equinix.metal.get_interconnection(connection_id=\"4347e805-eb46-4699-9eb9-5c116e6a017d\")\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 example = Equinix.Metal.GetInterconnection.Invoke(new()\n {\n ConnectionId = \"4347e805-eb46-4699-9eb9-5c116e6a017d\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.LookupInterconnection(ctx, \u0026metal.LookupInterconnectionArgs{\n\t\t\tConnectionId: \"4347e805-eb46-4699-9eb9-5c116e6a017d\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetInterconnectionArgs;\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 example = MetalFunctions.getInterconnection(GetInterconnectionArgs.builder()\n .connectionId(\"4347e805-eb46-4699-9eb9-5c116e6a017d\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: equinix:metal:getInterconnection\n Arguments:\n connectionId: 4347e805-eb46-4699-9eb9-5c116e6a017d\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getInterconnection.\n", "properties": { @@ -19562,12 +16463,17 @@ "connectionId": { "type": "string" }, + "contactEmail": { + "type": "string", + "description": "The preferred email used for communication and notifications about the Equinix Fabric interconnection.\n" + }, "description": { "type": "string", "description": "Description of the connection resource.\n" }, "facility": { "type": "string", + "description": "(**Deprecated**) Slug of a facility to which the connection belongs. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" }, "id": { @@ -19651,6 +16557,7 @@ "type": "object", "required": [ "connectionId", + "contactEmail", "description", "facility", "metro", @@ -19673,12 +16580,13 @@ } }, "equinix:metal/getIpBlockRanges:getIpBlockRanges": { - "description": "Use this datasource to get CIDR expressions for allocated IP blocks of all the types in a project, optionally filtered by facility or metro.\n\nThere are four types of IP blocks in Equinix: equinix_metal_global IPv4, public IPv4, private IPv4 and IPv6. Both global and public IPv4 are routable from the Internet. Public IPv4 blocks are allocated in a facility or metro, and addresses from it can only be assigned to devices in that location. Addresses from Global IPv4 block can be assigned to a device in any metro.\n\nThe datasource has 4 list attributes: `global_ipv4`, `public_ipv4`, `private_ipv4` and `ipv6`, each listing CIDR notation (`\u003cnetwork\u003e/\u003cmask\u003e`) of respective blocks from the project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst projectId = \"\u003cUUID_of_your_project\u003e\";\nconst test = equinix.metal.getIpBlockRanges({\n projectId: projectId,\n});\nexport const out = test;\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nproject_id = \"\u003cUUID_of_your_project\u003e\"\ntest = equinix.metal.get_ip_block_ranges(project_id=project_id)\npulumi.export(\"out\", test)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var projectId = \"\u003cUUID_of_your_project\u003e\";\n\n var test = Equinix.Metal.GetIpBlockRanges.Invoke(new()\n {\n ProjectId = projectId,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"out\"] = test,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tprojectId := \"\u003cUUID_of_your_project\u003e\"\n\t\ttest, err := metal.GetIpBlockRanges(ctx, \u0026metal.GetIpBlockRangesArgs{\n\t\t\tProjectId: projectId,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"out\", test)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetIpBlockRangesArgs;\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 projectId = \"\u003cUUID_of_your_project\u003e\";\n\n final var test = MetalFunctions.getIpBlockRanges(GetIpBlockRangesArgs.builder()\n .projectId(projectId)\n .build());\n\n ctx.export(\"out\", test.applyValue(getIpBlockRangesResult -\u003e getIpBlockRangesResult));\n }\n}\n```\n```yaml\nvariables:\n projectId: \u003cUUID_of_your_project\u003e\n test:\n fn::invoke:\n Function: equinix:metal:getIpBlockRanges\n Arguments:\n projectId: ${projectId}\noutputs:\n out: ${test}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this datasource to get CIDR expressions for allocated IP blocks of all the types in a project, optionally filtered by facility or metro.\n\nThere are four types of IP blocks in Equinix: equinix_metal_global IPv4, public IPv4, private IPv4 and IPv6. Both global and public IPv4 are routable from the Internet. Public IPv4 blocks are allocated in a facility or metro, and addresses from it can only be assigned to devices in that location. Addresses from Global IPv4 block can be assigned to a device in any metro.\n\nThe datasource has 4 list attributes: `global_ipv4`, `public_ipv4`, `private_ipv4` and `ipv6`, each listing CIDR notation (`\u003cnetwork\u003e/\u003cmask\u003e`) of respective blocks from the project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst projectId = \"\u003cUUID_of_your_project\u003e\";\nconst test = equinix.metal.getIpBlockRanges({\n projectId: projectId,\n});\nexport const out = test;\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nproject_id = \"\u003cUUID_of_your_project\u003e\"\ntest = equinix.metal.get_ip_block_ranges(project_id=project_id)\npulumi.export(\"out\", test)\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 projectId = \"\u003cUUID_of_your_project\u003e\";\n\n var test = Equinix.Metal.GetIpBlockRanges.Invoke(new()\n {\n ProjectId = projectId,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"out\"] = test,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tprojectId := \"\u003cUUID_of_your_project\u003e\"\n\t\ttest, err := metal.GetIpBlockRanges(ctx, \u0026metal.GetIpBlockRangesArgs{\n\t\t\tProjectId: projectId,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"out\", test)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetIpBlockRangesArgs;\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 projectId = \"\u003cUUID_of_your_project\u003e\";\n\n final var test = MetalFunctions.getIpBlockRanges(GetIpBlockRangesArgs.builder()\n .projectId(projectId)\n .build());\n\n ctx.export(\"out\", test.applyValue(getIpBlockRangesResult -\u003e getIpBlockRangesResult));\n }\n}\n```\n```yaml\nvariables:\n projectId: \u003cUUID_of_your_project\u003e\n test:\n fn::invoke:\n Function: equinix:metal:getIpBlockRanges\n Arguments:\n projectId: ${projectId}\noutputs:\n out: ${test}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getIpBlockRanges.\n", "properties": { "facility": { "type": "string", + "description": "Facility code filtering the IP blocks. Global IPv4 blocks will be listed\nanyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" }, "metro": { @@ -19809,7 +16717,7 @@ } }, "equinix:metal/getOperatingSystem:getOperatingSystem": { - "description": "Use this data source to get Equinix Metal Operating System image.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst example = equinix.metal.getOperatingSystem({\n distro: \"ubuntu\",\n version: \"20.04\",\n provisionableOn: \"c3.medium.x86\",\n});\nconst server = new equinix.metal.Device(\"server\", {\n hostname: \"tf.ubuntu\",\n plan: \"c3.medium.x86\",\n metro: \"ny\",\n operatingSystem: example.then(example =\u003e example.id).apply((x) =\u003e @equinix-labs/pulumi-equinix.metal.operatingsystem.OperatingSystem[x]),\n billingCycle: \"hourly\",\n projectId: local.project_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample = equinix.metal.get_operating_system(distro=\"ubuntu\",\n version=\"20.04\",\n provisionable_on=\"c3.medium.x86\")\nserver = equinix.metal.Device(\"server\",\n hostname=\"tf.ubuntu\",\n plan=\"c3.medium.x86\",\n metro=\"ny\",\n operating_system=example.id.apply(lambda x: equinix.metal/operatingsystem.OperatingSystem(x)),\n billing_cycle=\"hourly\",\n project_id=local[\"project_id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Equinix.Metal.GetOperatingSystem.Invoke(new()\n {\n Distro = \"ubuntu\",\n Version = \"20.04\",\n ProvisionableOn = \"c3.medium.x86\",\n });\n\n var server = new Equinix.Metal.Device(\"server\", new()\n {\n Hostname = \"tf.ubuntu\",\n Plan = \"c3.medium.x86\",\n Metro = \"ny\",\n OperatingSystem = example.Apply(getOperatingSystemResult =\u003e getOperatingSystemResult.Id).Apply(System.Enum.Parse\u003cEquinix.Metal/operatingSystem.OperatingSystem\u003e),\n BillingCycle = \"hourly\",\n ProjectId = local.Project_id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := metal.GetOperatingSystem(ctx, \u0026metal.GetOperatingSystemArgs{\n\t\t\tDistro: pulumi.StringRef(\"ubuntu\"),\n\t\t\tVersion: pulumi.StringRef(\"20.04\"),\n\t\t\tProvisionableOn: pulumi.StringRef(\"c3.medium.x86\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = metal.NewDevice(ctx, \"server\", \u0026metal.DeviceArgs{\n\t\t\tHostname: pulumi.String(\"tf.ubuntu\"),\n\t\t\tPlan: pulumi.String(\"c3.medium.x86\"),\n\t\t\tMetro: pulumi.String(\"ny\"),\n\t\t\tOperatingSystem: example.Id.ApplyT(func(x *string) metal.OperatingSystem { return metal.OperatingSystem(*x) }).(metal.OperatingSystemOutput),\n\t\t\tBillingCycle: pulumi.String(\"hourly\"),\n\t\t\tProjectId: pulumi.Any(local.Project_id),\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```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.equinix.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetOperatingSystemArgs;\nimport com.pulumi.equinix.metal.Device;\nimport com.pulumi.equinix.metal.DeviceArgs;\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 example = MetalFunctions.getOperatingSystem(GetOperatingSystemArgs.builder()\n .distro(\"ubuntu\")\n .version(\"20.04\")\n .provisionableOn(\"c3.medium.x86\")\n .build());\n\n var server = new Device(\"server\", DeviceArgs.builder() \n .hostname(\"tf.ubuntu\")\n .plan(\"c3.medium.x86\")\n .metro(\"ny\")\n .operatingSystem(example.applyValue(getOperatingSystemResult -\u003e getOperatingSystemResult.id()))\n .billingCycle(\"hourly\")\n .projectId(local.project_id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n server:\n type: equinix:metal:Device\n properties:\n hostname: tf.ubuntu\n plan: c3.medium.x86\n metro: ny\n operatingSystem: ${example.id}\n billingCycle: hourly\n projectId: ${local.project_id}\nvariables:\n example:\n fn::invoke:\n Function: equinix:metal:getOperatingSystem\n Arguments:\n distro: ubuntu\n version: '20.04'\n provisionableOn: c3.medium.x86\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to get Equinix Metal Operating System image.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst example = equinix.metal.getOperatingSystem({\n distro: \"ubuntu\",\n version: \"20.04\",\n provisionableOn: \"c3.medium.x86\",\n});\nconst server = new equinix.metal.Device(\"server\", {\n hostname: \"tf.ubuntu\",\n plan: \"c3.medium.x86\",\n metro: \"ny\",\n operatingSystem: example.then(example =\u003e example.id).apply((x) =\u003e equinix.metal.operatingsystem.OperatingSystem[x]),\n billingCycle: \"hourly\",\n projectId: local.project_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample = equinix.metal.get_operating_system(distro=\"ubuntu\",\n version=\"20.04\",\n provisionable_on=\"c3.medium.x86\")\nserver = equinix.metal.Device(\"server\",\n hostname=\"tf.ubuntu\",\n plan=\"c3.medium.x86\",\n metro=\"ny\",\n operating_system=example.id.apply(lambda x: equinix.metal/operatingsystem.OperatingSystem(x)),\n billing_cycle=\"hourly\",\n project_id=local[\"project_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 example = Equinix.Metal.GetOperatingSystem.Invoke(new()\n {\n Distro = \"ubuntu\",\n Version = \"20.04\",\n ProvisionableOn = \"c3.medium.x86\",\n });\n\n var server = new Equinix.Metal.Device(\"server\", new()\n {\n Hostname = \"tf.ubuntu\",\n Plan = \"c3.medium.x86\",\n Metro = \"ny\",\n OperatingSystem = example.Apply(getOperatingSystemResult =\u003e getOperatingSystemResult.Id).Apply(System.Enum.Parse\u003cEquinix.Metal/operatingSystem.OperatingSystem\u003e),\n BillingCycle = \"hourly\",\n ProjectId = local.Project_id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := metal.GetOperatingSystem(ctx, \u0026metal.GetOperatingSystemArgs{\n\t\t\tDistro: pulumi.StringRef(\"ubuntu\"),\n\t\t\tVersion: pulumi.StringRef(\"20.04\"),\n\t\t\tProvisionableOn: pulumi.StringRef(\"c3.medium.x86\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = metal.NewDevice(ctx, \"server\", \u0026metal.DeviceArgs{\n\t\t\tHostname: pulumi.String(\"tf.ubuntu\"),\n\t\t\tPlan: pulumi.String(\"c3.medium.x86\"),\n\t\t\tMetro: pulumi.String(\"ny\"),\n\t\t\tOperatingSystem: example.Id.ApplyT(func(x *string) metal.OperatingSystem { return metal.OperatingSystem(*x) }).(metal.OperatingSystemOutput),\n\t\t\tBillingCycle: pulumi.String(\"hourly\"),\n\t\t\tProjectId: pulumi.Any(local.Project_id),\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```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.equinix.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetOperatingSystemArgs;\nimport com.pulumi.equinix.metal.Device;\nimport com.pulumi.equinix.metal.DeviceArgs;\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 example = MetalFunctions.getOperatingSystem(GetOperatingSystemArgs.builder()\n .distro(\"ubuntu\")\n .version(\"20.04\")\n .provisionableOn(\"c3.medium.x86\")\n .build());\n\n var server = new Device(\"server\", DeviceArgs.builder() \n .hostname(\"tf.ubuntu\")\n .plan(\"c3.medium.x86\")\n .metro(\"ny\")\n .operatingSystem(example.applyValue(getOperatingSystemResult -\u003e getOperatingSystemResult.id()))\n .billingCycle(\"hourly\")\n .projectId(local.project_id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n server:\n type: equinix:metal:Device\n properties:\n hostname: tf.ubuntu\n plan: c3.medium.x86\n metro: ny\n operatingSystem: ${example.id}\n billingCycle: hourly\n projectId: ${local.project_id}\nvariables:\n example:\n fn::invoke:\n Function: equinix:metal:getOperatingSystem\n Arguments:\n distro: ubuntu\n version: '20.04'\n provisionableOn: c3.medium.x86\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getOperatingSystem.\n", "properties": { @@ -19864,7 +16772,7 @@ } }, "equinix:metal/getOrganization:getOrganization": { - "description": "Provides an Equinix Metal organization datasource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst test = equinix.metal.getOrganization({\n organizationId: local.org_id,\n});\nexport const projectsInTheOrg = test.then(test =\u003e test.projectIds);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ntest = equinix.metal.get_organization(organization_id=local[\"org_id\"])\npulumi.export(\"projectsInTheOrg\", test.project_ids)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Equinix.Metal.GetOrganization.Invoke(new()\n {\n OrganizationId = local.Org_id,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"projectsInTheOrg\"] = test.Apply(getOrganizationResult =\u003e getOrganizationResult.ProjectIds),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := metal.LookupOrganization(ctx, \u0026metal.LookupOrganizationArgs{\n\t\t\tOrganizationId: pulumi.StringRef(local.Org_id),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"projectsInTheOrg\", test.ProjectIds)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetOrganizationArgs;\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 test = MetalFunctions.getOrganization(GetOrganizationArgs.builder()\n .organizationId(local.org_id())\n .build());\n\n ctx.export(\"projectsInTheOrg\", test.applyValue(getOrganizationResult -\u003e getOrganizationResult.projectIds()));\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: equinix:metal:getOrganization\n Arguments:\n organizationId: ${local.org_id}\noutputs:\n projectsInTheOrg: ${test.projectIds}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides an Equinix Metal organization datasource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst test = equinix.metal.getOrganization({\n organizationId: local.org_id,\n});\nexport const projectsInTheOrg = test.then(test =\u003e test.projectIds);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ntest = equinix.metal.get_organization(organization_id=local[\"org_id\"])\npulumi.export(\"projectsInTheOrg\", test.project_ids)\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 test = Equinix.Metal.GetOrganization.Invoke(new()\n {\n OrganizationId = local.Org_id,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"projectsInTheOrg\"] = test.Apply(getOrganizationResult =\u003e getOrganizationResult.ProjectIds),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := metal.LookupOrganization(ctx, \u0026metal.LookupOrganizationArgs{\n\t\t\tOrganizationId: pulumi.StringRef(local.Org_id),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"projectsInTheOrg\", test.ProjectIds)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetOrganizationArgs;\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 test = MetalFunctions.getOrganization(GetOrganizationArgs.builder()\n .organizationId(local.org_id())\n .build());\n\n ctx.export(\"projectsInTheOrg\", test.applyValue(getOrganizationResult -\u003e getOrganizationResult.projectIds()));\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: equinix:metal:getOrganization\n Arguments:\n organizationId: ${local.org_id}\noutputs:\n projectsInTheOrg: ${test.projectIds}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getOrganization.\n", "properties": { @@ -19874,7 +16782,7 @@ }, "organizationId": { "type": "string", - "description": "The UUID of the organization resource.\n" + "description": "The UUID of the organization resource.\n\nExactly one of `name` or `organization_id` must be given.\n" } }, "type": "object" @@ -19989,7 +16897,7 @@ } }, "equinix:metal/getPort:getPort": { - "description": "Use this data source to read ports of existing devices. You can read port by either its UUID,\nor by a device UUID and port name.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nCreate a device and read it's eth0 port to the datasource.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst projectId = \"\u003cUUID_of_your_project\u003e\";\nconst testDevice = new equinix.metal.Device(\"testDevice\", {\n hostname: \"tfacc-test-device-port\",\n plan: \"c3.medium.x86\",\n metro: \"sv\",\n operatingSystem: \"ubuntu_20_04\",\n billingCycle: \"hourly\",\n projectId: projectId,\n});\nconst testPort = equinix.metal.getPortOutput({\n deviceId: testDevice.id,\n name: \"eth0\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nproject_id = \"\u003cUUID_of_your_project\u003e\"\ntest_device = equinix.metal.Device(\"testDevice\",\n hostname=\"tfacc-test-device-port\",\n plan=\"c3.medium.x86\",\n metro=\"sv\",\n operating_system=\"ubuntu_20_04\",\n billing_cycle=\"hourly\",\n project_id=project_id)\ntest_port = equinix.metal.get_port_output(device_id=test_device.id,\n name=\"eth0\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var projectId = \"\u003cUUID_of_your_project\u003e\";\n\n var testDevice = new Equinix.Metal.Device(\"testDevice\", new()\n {\n Hostname = \"tfacc-test-device-port\",\n Plan = \"c3.medium.x86\",\n Metro = \"sv\",\n OperatingSystem = \"ubuntu_20_04\",\n BillingCycle = \"hourly\",\n ProjectId = projectId,\n });\n\n var testPort = Equinix.Metal.GetPort.Invoke(new()\n {\n DeviceId = testDevice.Id,\n Name = \"eth0\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tprojectId := \"\u003cUUID_of_your_project\u003e\"\n\t\ttestDevice, err := metal.NewDevice(ctx, \"testDevice\", \u0026metal.DeviceArgs{\n\t\t\tHostname: pulumi.String(\"tfacc-test-device-port\"),\n\t\t\tPlan: pulumi.String(\"c3.medium.x86\"),\n\t\t\tMetro: pulumi.String(\"sv\"),\n\t\t\tOperatingSystem: pulumi.String(\"ubuntu_20_04\"),\n\t\t\tBillingCycle: pulumi.String(\"hourly\"),\n\t\t\tProjectId: pulumi.String(projectId),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = metal.LookupPortOutput(ctx, metal.GetPortOutputArgs{\n\t\t\tDeviceId: testDevice.ID(),\n\t\t\tName: pulumi.String(\"eth0\"),\n\t\t}, nil)\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.metal.Device;\nimport com.pulumi.equinix.metal.DeviceArgs;\nimport com.pulumi.equinix.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetPortArgs;\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 projectId = \"\u003cUUID_of_your_project\u003e\";\n\n var testDevice = new Device(\"testDevice\", DeviceArgs.builder() \n .hostname(\"tfacc-test-device-port\")\n .plan(\"c3.medium.x86\")\n .metro(\"sv\")\n .operatingSystem(\"ubuntu_20_04\")\n .billingCycle(\"hourly\")\n .projectId(projectId)\n .build());\n\n final var testPort = MetalFunctions.getPort(GetPortArgs.builder()\n .deviceId(testDevice.id())\n .name(\"eth0\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDevice:\n type: equinix:metal:Device\n properties:\n hostname: tfacc-test-device-port\n plan: c3.medium.x86\n metro: sv\n operatingSystem: ubuntu_20_04\n billingCycle: hourly\n projectId: ${projectId}\nvariables:\n projectId: \u003cUUID_of_your_project\u003e\n testPort:\n fn::invoke:\n Function: equinix:metal:getPort\n Arguments:\n deviceId: ${testDevice.id}\n name: eth0\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to read ports of existing devices. You can read port by either its UUID,\nor by a device UUID and port name.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nCreate a device and read it's eth0 port to the datasource.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst projectId = \"\u003cUUID_of_your_project\u003e\";\nconst testDevice = new equinix.metal.Device(\"testDevice\", {\n hostname: \"tfacc-test-device-port\",\n plan: \"c3.medium.x86\",\n metro: \"sv\",\n operatingSystem: \"ubuntu_20_04\",\n billingCycle: \"hourly\",\n projectId: projectId,\n});\nconst testPort = equinix.metal.getPortOutput({\n deviceId: testDevice.id,\n name: \"eth0\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nproject_id = \"\u003cUUID_of_your_project\u003e\"\ntest_device = equinix.metal.Device(\"testDevice\",\n hostname=\"tfacc-test-device-port\",\n plan=\"c3.medium.x86\",\n metro=\"sv\",\n operating_system=\"ubuntu_20_04\",\n billing_cycle=\"hourly\",\n project_id=project_id)\ntest_port = equinix.metal.get_port_output(device_id=test_device.id,\n name=\"eth0\")\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 projectId = \"\u003cUUID_of_your_project\u003e\";\n\n var testDevice = new Equinix.Metal.Device(\"testDevice\", new()\n {\n Hostname = \"tfacc-test-device-port\",\n Plan = \"c3.medium.x86\",\n Metro = \"sv\",\n OperatingSystem = \"ubuntu_20_04\",\n BillingCycle = \"hourly\",\n ProjectId = projectId,\n });\n\n var testPort = Equinix.Metal.GetPort.Invoke(new()\n {\n DeviceId = testDevice.Id,\n Name = \"eth0\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tprojectId := \"\u003cUUID_of_your_project\u003e\"\n\t\ttestDevice, err := metal.NewDevice(ctx, \"testDevice\", \u0026metal.DeviceArgs{\n\t\t\tHostname: pulumi.String(\"tfacc-test-device-port\"),\n\t\t\tPlan: pulumi.String(\"c3.medium.x86\"),\n\t\t\tMetro: pulumi.String(\"sv\"),\n\t\t\tOperatingSystem: pulumi.String(\"ubuntu_20_04\"),\n\t\t\tBillingCycle: pulumi.String(\"hourly\"),\n\t\t\tProjectId: pulumi.String(projectId),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = metal.LookupPortOutput(ctx, metal.GetPortOutputArgs{\n\t\t\tDeviceId: testDevice.ID(),\n\t\t\tName: pulumi.String(\"eth0\"),\n\t\t}, nil)\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.metal.Device;\nimport com.pulumi.equinix.metal.DeviceArgs;\nimport com.pulumi.equinix.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetPortArgs;\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 projectId = \"\u003cUUID_of_your_project\u003e\";\n\n var testDevice = new Device(\"testDevice\", DeviceArgs.builder() \n .hostname(\"tfacc-test-device-port\")\n .plan(\"c3.medium.x86\")\n .metro(\"sv\")\n .operatingSystem(\"ubuntu_20_04\")\n .billingCycle(\"hourly\")\n .projectId(projectId)\n .build());\n\n final var testPort = MetalFunctions.getPort(GetPortArgs.builder()\n .deviceId(testDevice.id())\n .name(\"eth0\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDevice:\n type: equinix:metal:Device\n properties:\n hostname: tfacc-test-device-port\n plan: c3.medium.x86\n metro: sv\n operatingSystem: ubuntu_20_04\n billingCycle: hourly\n projectId: ${projectId}\nvariables:\n projectId: \u003cUUID_of_your_project\u003e\n testPort:\n fn::invoke:\n Function: equinix:metal:getPort\n Arguments:\n deviceId: ${testDevice.id}\n name: eth0\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getPort.\n", "properties": { @@ -20102,7 +17010,8 @@ "description": "4 or 6, depending on which block you are looking for.\n" }, "facility": { - "type": "string" + "type": "string", + "description": "Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide\n" }, "global": { "type": "boolean", @@ -20209,7 +17118,7 @@ } }, "equinix:metal/getProject:getProject": { - "description": "Use this datasource to retrieve attributes of the Project API resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst tfProject1 = equinix.metal.getProject({\n name: \"Terraform Fun\",\n});\nexport const usersOfTerraformFun = tfProject1.then(tfProject1 =\u003e tfProject1.userIds);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ntf_project1 = equinix.metal.get_project(name=\"Terraform Fun\")\npulumi.export(\"usersOfTerraformFun\", tf_project1.user_ids)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var tfProject1 = Equinix.Metal.GetProject.Invoke(new()\n {\n Name = \"Terraform Fun\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"usersOfTerraformFun\"] = tfProject1.Apply(getProjectResult =\u003e getProjectResult.UserIds),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttfProject1, err := metal.LookupProject(ctx, \u0026metal.LookupProjectArgs{\n\t\t\tName: pulumi.StringRef(\"Terraform Fun\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"usersOfTerraformFun\", tfProject1.UserIds)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetProjectArgs;\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 tfProject1 = MetalFunctions.getProject(GetProjectArgs.builder()\n .name(\"Terraform Fun\")\n .build());\n\n ctx.export(\"usersOfTerraformFun\", tfProject1.applyValue(getProjectResult -\u003e getProjectResult.userIds()));\n }\n}\n```\n```yaml\nvariables:\n tfProject1:\n fn::invoke:\n Function: equinix:metal:getProject\n Arguments:\n name: Terraform Fun\noutputs:\n usersOfTerraformFun: ${tfProject1.userIds}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this datasource to retrieve attributes of the Project API resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst tfProject1 = equinix.metal.getProject({\n name: \"Terraform Fun\",\n});\nexport const usersOfTerraformFun = tfProject1.then(tfProject1 =\u003e tfProject1.userIds);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ntf_project1 = equinix.metal.get_project(name=\"Terraform Fun\")\npulumi.export(\"usersOfTerraformFun\", tf_project1.user_ids)\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 tfProject1 = Equinix.Metal.GetProject.Invoke(new()\n {\n Name = \"Terraform Fun\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"usersOfTerraformFun\"] = tfProject1.Apply(getProjectResult =\u003e getProjectResult.UserIds),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttfProject1, err := metal.LookupProject(ctx, \u0026metal.LookupProjectArgs{\n\t\t\tName: pulumi.StringRef(\"Terraform Fun\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"usersOfTerraformFun\", tfProject1.UserIds)\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetProjectArgs;\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 tfProject1 = MetalFunctions.getProject(GetProjectArgs.builder()\n .name(\"Terraform Fun\")\n .build());\n\n ctx.export(\"usersOfTerraformFun\", tfProject1.applyValue(getProjectResult -\u003e getProjectResult.userIds()));\n }\n}\n```\n```yaml\nvariables:\n tfProject1:\n fn::invoke:\n Function: equinix:metal:getProject\n Arguments:\n name: Terraform Fun\noutputs:\n usersOfTerraformFun: ${tfProject1.userIds}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getProject.\n", "properties": { @@ -20285,7 +17194,7 @@ } }, "equinix:metal/getProjectSshKey:getProjectSshKey": { - "description": "Use this datasource to retrieve attributes of a Project SSH Key API resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst myKey = equinix.metal.getProjectSshKey({\n search: \"username@hostname\",\n projectId: local.project_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nmy_key = equinix.metal.get_project_ssh_key(search=\"username@hostname\",\n project_id=local[\"project_id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myKey = Equinix.Metal.GetProjectSshKey.Invoke(new()\n {\n Search = \"username@hostname\",\n ProjectId = local.Project_id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.LookupProjectSshKey(ctx, \u0026metal.LookupProjectSshKeyArgs{\n\t\t\tSearch: pulumi.StringRef(\"username@hostname\"),\n\t\t\tProjectId: local.Project_id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetProjectSshKeyArgs;\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 myKey = MetalFunctions.getProjectSshKey(GetProjectSshKeyArgs.builder()\n .search(\"username@hostname\")\n .projectId(local.project_id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myKey:\n fn::invoke:\n Function: equinix:metal:getProjectSshKey\n Arguments:\n search: username@hostname\n projectId: ${local.project_id}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this datasource to retrieve attributes of a Project SSH Key API resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst myKey = equinix.metal.getProjectSshKey({\n search: \"username@hostname\",\n projectId: local.project_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nmy_key = equinix.metal.get_project_ssh_key(search=\"username@hostname\",\n project_id=local[\"project_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 myKey = Equinix.Metal.GetProjectSshKey.Invoke(new()\n {\n Search = \"username@hostname\",\n ProjectId = local.Project_id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.LookupProjectSshKey(ctx, \u0026metal.LookupProjectSshKeyArgs{\n\t\t\tSearch: pulumi.StringRef(\"username@hostname\"),\n\t\t\tProjectId: local.Project_id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetProjectSshKeyArgs;\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 myKey = MetalFunctions.getProjectSshKey(GetProjectSshKeyArgs.builder()\n .search(\"username@hostname\")\n .projectId(local.project_id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n myKey:\n fn::invoke:\n Function: equinix:metal:getProjectSshKey\n Arguments:\n search: username@hostname\n projectId: ${local.project_id}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getProjectSshKey.\n", "properties": { @@ -20295,7 +17204,7 @@ }, "projectId": { "type": "string", - "description": "The Equinix Metal project id of the Equinix Metal SSH Key.\n" + "description": "The Equinix Metal project id of the Equinix Metal SSH Key.\n\n\u003e **NOTE:** One of either `search` or `id` must be provided along with `project_id`.\n" }, "search": { "type": "string", @@ -20370,7 +17279,7 @@ }, "ipAddress": { "type": "string", - "description": "Block containing this IP address will be returned.\n" + "description": "Block containing this IP address will be returned.\n\n\u003e **NOTE:** You should pass either `id`, or both `project_id` and `ip_address`.\n" }, "projectId": { "type": "string", @@ -20466,12 +17375,13 @@ } }, "equinix:metal/getSpotMarketPrice:getSpotMarketPrice": { - "description": "Use this data source to get Equinix Metal Spot Market Price for a plan.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nLookup by metro:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst example = equinix.metal.getSpotMarketPrice({\n metro: \"sv\",\n plan: \"c3.small.x86\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample = equinix.metal.get_spot_market_price(metro=\"sv\",\n plan=\"c3.small.x86\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Equinix.Metal.GetSpotMarketPrice.Invoke(new()\n {\n Metro = \"sv\",\n Plan = \"c3.small.x86\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.GetSpotMarketPrice(ctx, \u0026metal.GetSpotMarketPriceArgs{\n\t\t\tMetro: pulumi.StringRef(\"sv\"),\n\t\t\tPlan: \"c3.small.x86\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetSpotMarketPriceArgs;\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 example = MetalFunctions.getSpotMarketPrice(GetSpotMarketPriceArgs.builder()\n .metro(\"sv\")\n .plan(\"c3.small.x86\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: equinix:metal:getSpotMarketPrice\n Arguments:\n metro: sv\n plan: c3.small.x86\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to get Equinix Metal Spot Market Price for a plan.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nLookup by metro:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst example = equinix.metal.getSpotMarketPrice({\n metro: \"sv\",\n plan: \"c3.small.x86\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample = equinix.metal.get_spot_market_price(metro=\"sv\",\n plan=\"c3.small.x86\")\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 example = Equinix.Metal.GetSpotMarketPrice.Invoke(new()\n {\n Metro = \"sv\",\n Plan = \"c3.small.x86\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.GetSpotMarketPrice(ctx, \u0026metal.GetSpotMarketPriceArgs{\n\t\t\tMetro: pulumi.StringRef(\"sv\"),\n\t\t\tPlan: \"c3.small.x86\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetSpotMarketPriceArgs;\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 example = MetalFunctions.getSpotMarketPrice(GetSpotMarketPriceArgs.builder()\n .metro(\"sv\")\n .plan(\"c3.small.x86\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: equinix:metal:getSpotMarketPrice\n Arguments:\n metro: sv\n plan: c3.small.x86\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getSpotMarketPrice.\n", "properties": { "facility": { "type": "string", + "description": "Name of the facility. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" }, "metro": { @@ -20559,6 +17469,7 @@ "items": { "type": "string" }, + "description": "(**Deprecated**) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide\n", "deprecationMessage": "Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices" }, "id": { @@ -20602,7 +17513,7 @@ } }, "equinix:metal/getVirtualCircuit:getVirtualCircuit": { - "description": "Use this data source to retrieve a virtual circuit resource from\n[Equinix Fabric - software-defined interconnections](https://metal.equinix.com/developers/docs/networking/fabric/)\n\n\u003e VRF features are not generally available. The interfaces related to VRF resources may change ahead of general availability.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst exampleConnection = equinix.metal.getInterconnection({\n connectionId: \"4347e805-eb46-4699-9eb9-5c116e6a017d\",\n});\nconst exampleVc = exampleConnection.then(exampleConnection =\u003e equinix.metal.getVirtualCircuit({\n virtualCircuitId: exampleConnection.ports?.[1]?.virtualCircuitIds?.[0],\n}));\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample_connection = equinix.metal.get_interconnection(connection_id=\"4347e805-eb46-4699-9eb9-5c116e6a017d\")\nexample_vc = equinix.metal.get_virtual_circuit(virtual_circuit_id=example_connection.ports[1].virtual_circuit_ids[0])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleConnection = Equinix.Metal.GetInterconnection.Invoke(new()\n {\n ConnectionId = \"4347e805-eb46-4699-9eb9-5c116e6a017d\",\n });\n\n var exampleVc = Equinix.Metal.GetVirtualCircuit.Invoke(new()\n {\n VirtualCircuitId = exampleConnection.Apply(getInterconnectionResult =\u003e getInterconnectionResult.Ports[1]?.VirtualCircuitIds[0]),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleConnection, err := metal.LookupInterconnection(ctx, \u0026metal.LookupInterconnectionArgs{\n\t\t\tConnectionId: \"4347e805-eb46-4699-9eb9-5c116e6a017d\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = metal.LookupVirtualCircuit(ctx, \u0026metal.LookupVirtualCircuitArgs{\n\t\t\tVirtualCircuitId: exampleConnection.Ports[1].VirtualCircuitIds[0],\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetInterconnectionArgs;\nimport com.pulumi.equinix.metal.inputs.GetVirtualCircuitArgs;\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 exampleConnection = MetalFunctions.getInterconnection(GetInterconnectionArgs.builder()\n .connectionId(\"4347e805-eb46-4699-9eb9-5c116e6a017d\")\n .build());\n\n final var exampleVc = MetalFunctions.getVirtualCircuit(GetVirtualCircuitArgs.builder()\n .virtualCircuitId(exampleConnection.applyValue(getInterconnectionResult -\u003e getInterconnectionResult.ports()[1].virtualCircuitIds()[0]))\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n exampleConnection:\n fn::invoke:\n Function: equinix:metal:getInterconnection\n Arguments:\n connectionId: 4347e805-eb46-4699-9eb9-5c116e6a017d\n exampleVc:\n fn::invoke:\n Function: equinix:metal:getVirtualCircuit\n Arguments:\n virtualCircuitId: ${exampleConnection.ports[1].virtualCircuitIds[0]}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve a virtual circuit resource from\n[Equinix Fabric - software-defined interconnections](https://metal.equinix.com/developers/docs/networking/fabric/)\n\n\u003e VRF features are not generally available. The interfaces related to VRF resources may change ahead of general availability.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst exampleConnection = equinix.metal.getInterconnection({\n connectionId: \"4347e805-eb46-4699-9eb9-5c116e6a017d\",\n});\nconst exampleVc = exampleConnection.then(exampleConnection =\u003e equinix.metal.getVirtualCircuit({\n virtualCircuitId: exampleConnection.ports?.[1]?.virtualCircuitIds?.[0],\n}));\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample_connection = equinix.metal.get_interconnection(connection_id=\"4347e805-eb46-4699-9eb9-5c116e6a017d\")\nexample_vc = equinix.metal.get_virtual_circuit(virtual_circuit_id=example_connection.ports[1].virtual_circuit_ids[0])\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 exampleConnection = Equinix.Metal.GetInterconnection.Invoke(new()\n {\n ConnectionId = \"4347e805-eb46-4699-9eb9-5c116e6a017d\",\n });\n\n var exampleVc = Equinix.Metal.GetVirtualCircuit.Invoke(new()\n {\n VirtualCircuitId = exampleConnection.Apply(getInterconnectionResult =\u003e getInterconnectionResult.Ports[1]?.VirtualCircuitIds[0]),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleConnection, err := metal.LookupInterconnection(ctx, \u0026metal.LookupInterconnectionArgs{\n\t\t\tConnectionId: \"4347e805-eb46-4699-9eb9-5c116e6a017d\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = metal.LookupVirtualCircuit(ctx, \u0026metal.LookupVirtualCircuitArgs{\n\t\t\tVirtualCircuitId: exampleConnection.Ports[1].VirtualCircuitIds[0],\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetInterconnectionArgs;\nimport com.pulumi.equinix.metal.inputs.GetVirtualCircuitArgs;\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 exampleConnection = MetalFunctions.getInterconnection(GetInterconnectionArgs.builder()\n .connectionId(\"4347e805-eb46-4699-9eb9-5c116e6a017d\")\n .build());\n\n final var exampleVc = MetalFunctions.getVirtualCircuit(GetVirtualCircuitArgs.builder()\n .virtualCircuitId(exampleConnection.applyValue(getInterconnectionResult -\u003e getInterconnectionResult.ports()[1].virtualCircuitIds()[0]))\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n exampleConnection:\n fn::invoke:\n Function: equinix:metal:getInterconnection\n Arguments:\n connectionId: 4347e805-eb46-4699-9eb9-5c116e6a017d\n exampleVc:\n fn::invoke:\n Function: equinix:metal:getVirtualCircuit\n Arguments:\n virtualCircuitId: ${exampleConnection.ports[1].virtualCircuitIds[0]}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getVirtualCircuit.\n", "properties": { @@ -20726,7 +17637,7 @@ } }, "equinix:metal/getVlan:getVlan": { - "description": "Provides an Equinix Metal Virtual Network datasource. VLANs data sources can be\nsearched by VLAN UUID, or project UUID and vxlan number.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nFetch a vlan by ID:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst foovlan = new equinix.metal.Vlan(\"foovlan\", {\n projectId: local.project_id,\n metro: \"sv\",\n vxlan: 5,\n});\nconst dsvlan = equinix.metal.getVlanOutput({\n vlanId: foovlan.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nfoovlan = equinix.metal.Vlan(\"foovlan\",\n project_id=local[\"project_id\"],\n metro=\"sv\",\n vxlan=5)\ndsvlan = equinix.metal.get_vlan_output(vlan_id=foovlan.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foovlan = new Equinix.Metal.Vlan(\"foovlan\", new()\n {\n ProjectId = local.Project_id,\n Metro = \"sv\",\n Vxlan = 5,\n });\n\n var dsvlan = Equinix.Metal.GetVlan.Invoke(new()\n {\n VlanId = foovlan.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoovlan, err := metal.NewVlan(ctx, \"foovlan\", \u0026metal.VlanArgs{\n\t\t\tProjectId: pulumi.Any(local.Project_id),\n\t\t\tMetro: pulumi.String(\"sv\"),\n\t\t\tVxlan: pulumi.Int(5),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = metal.LookupVlanOutput(ctx, metal.GetVlanOutputArgs{\n\t\t\tVlanId: foovlan.ID(),\n\t\t}, nil)\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.metal.Vlan;\nimport com.pulumi.equinix.metal.VlanArgs;\nimport com.pulumi.equinix.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetVlanArgs;\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 foovlan = new Vlan(\"foovlan\", VlanArgs.builder() \n .projectId(local.project_id())\n .metro(\"sv\")\n .vxlan(5)\n .build());\n\n final var dsvlan = MetalFunctions.getVlan(GetVlanArgs.builder()\n .vlanId(foovlan.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foovlan:\n type: equinix:metal:Vlan\n properties:\n projectId: ${local.project_id}\n metro: sv\n vxlan: 5\nvariables:\n dsvlan:\n fn::invoke:\n Function: equinix:metal:getVlan\n Arguments:\n vlanId: ${foovlan.id}\n```\n\nFetch a vlan by project ID, vxlan and metro\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst dsvlan = equinix.metal.getVlan({\n projectId: local.project_id,\n vxlan: 5,\n metro: \"sv\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ndsvlan = equinix.metal.get_vlan(project_id=local[\"project_id\"],\n vxlan=5,\n metro=\"sv\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var dsvlan = Equinix.Metal.GetVlan.Invoke(new()\n {\n ProjectId = local.Project_id,\n Vxlan = 5,\n Metro = \"sv\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.LookupVlan(ctx, \u0026metal.LookupVlanArgs{\n\t\t\tProjectId: pulumi.StringRef(local.Project_id),\n\t\t\tVxlan: pulumi.IntRef(5),\n\t\t\tMetro: pulumi.StringRef(\"sv\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetVlanArgs;\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 dsvlan = MetalFunctions.getVlan(GetVlanArgs.builder()\n .projectId(local.project_id())\n .vxlan(5)\n .metro(\"sv\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n dsvlan:\n fn::invoke:\n Function: equinix:metal:getVlan\n Arguments:\n projectId: ${local.project_id}\n vxlan: 5\n metro: sv\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides an Equinix Metal Virtual Network datasource. VLANs data sources can be\nsearched by VLAN UUID, or project UUID and vxlan number.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nFetch a vlan by ID:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst foovlan = new equinix.metal.Vlan(\"foovlan\", {\n projectId: local.project_id,\n metro: \"sv\",\n vxlan: 5,\n});\nconst dsvlan = equinix.metal.getVlanOutput({\n vlanId: foovlan.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nfoovlan = equinix.metal.Vlan(\"foovlan\",\n project_id=local[\"project_id\"],\n metro=\"sv\",\n vxlan=5)\ndsvlan = equinix.metal.get_vlan_output(vlan_id=foovlan.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 foovlan = new Equinix.Metal.Vlan(\"foovlan\", new()\n {\n ProjectId = local.Project_id,\n Metro = \"sv\",\n Vxlan = 5,\n });\n\n var dsvlan = Equinix.Metal.GetVlan.Invoke(new()\n {\n VlanId = foovlan.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoovlan, err := metal.NewVlan(ctx, \"foovlan\", \u0026metal.VlanArgs{\n\t\t\tProjectId: pulumi.Any(local.Project_id),\n\t\t\tMetro: pulumi.String(\"sv\"),\n\t\t\tVxlan: pulumi.Int(5),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = metal.LookupVlanOutput(ctx, metal.GetVlanOutputArgs{\n\t\t\tVlanId: foovlan.ID(),\n\t\t}, nil)\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.metal.Vlan;\nimport com.pulumi.equinix.metal.VlanArgs;\nimport com.pulumi.equinix.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetVlanArgs;\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 foovlan = new Vlan(\"foovlan\", VlanArgs.builder() \n .projectId(local.project_id())\n .metro(\"sv\")\n .vxlan(5)\n .build());\n\n final var dsvlan = MetalFunctions.getVlan(GetVlanArgs.builder()\n .vlanId(foovlan.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foovlan:\n type: equinix:metal:Vlan\n properties:\n projectId: ${local.project_id}\n metro: sv\n vxlan: 5\nvariables:\n dsvlan:\n fn::invoke:\n Function: equinix:metal:getVlan\n Arguments:\n vlanId: ${foovlan.id}\n```\n\nFetch a vlan by project ID, vxlan and metro\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst dsvlan = equinix.metal.getVlan({\n projectId: local.project_id,\n vxlan: 5,\n metro: \"sv\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ndsvlan = equinix.metal.get_vlan(project_id=local[\"project_id\"],\n vxlan=5,\n metro=\"sv\")\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 dsvlan = Equinix.Metal.GetVlan.Invoke(new()\n {\n ProjectId = local.Project_id,\n Vxlan = 5,\n Metro = \"sv\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.LookupVlan(ctx, \u0026metal.LookupVlanArgs{\n\t\t\tProjectId: pulumi.StringRef(local.Project_id),\n\t\t\tVxlan: pulumi.IntRef(5),\n\t\t\tMetro: pulumi.StringRef(\"sv\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetVlanArgs;\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 dsvlan = MetalFunctions.getVlan(GetVlanArgs.builder()\n .projectId(local.project_id())\n .vxlan(5)\n .metro(\"sv\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n dsvlan:\n fn::invoke:\n Function: equinix:metal:getVlan\n Arguments:\n projectId: ${local.project_id}\n vxlan: 5\n metro: sv\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getVlan.\n", "properties": { @@ -20737,7 +17648,7 @@ }, "metro": { "type": "string", - "description": "Metro where the VLAN is deployed.\n" + "description": "Metro where the VLAN is deployed.\n\n\u003e **NOTE:** You must set either `vlan_id` or a combination of `vxlan`, `project_id`, and, `metro` or `facility`.\n" }, "projectId": { "type": "string", @@ -20803,7 +17714,7 @@ } }, "equinix:metal/getVrf:getVrf": { - "description": "Use this data source to retrieve a VRF resource.\n\n\u003e VRF features are not generally available. The interfaces related to VRF resources may change ahead of general availability.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst exampleVrf = equinix.metal.getVrf({\n vrfId: \"48630899-9ff2-4ce6-a93f-50ff4ebcdf6e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample_vrf = equinix.metal.get_vrf(vrf_id=\"48630899-9ff2-4ce6-a93f-50ff4ebcdf6e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleVrf = Equinix.Metal.GetVrf.Invoke(new()\n {\n VrfId = \"48630899-9ff2-4ce6-a93f-50ff4ebcdf6e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.LookupVrf(ctx, \u0026metal.LookupVrfArgs{\n\t\t\tVrfId: \"48630899-9ff2-4ce6-a93f-50ff4ebcdf6e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetVrfArgs;\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 exampleVrf = MetalFunctions.getVrf(GetVrfArgs.builder()\n .vrfId(\"48630899-9ff2-4ce6-a93f-50ff4ebcdf6e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n exampleVrf:\n fn::invoke:\n Function: equinix:metal:getVrf\n Arguments:\n vrfId: 48630899-9ff2-4ce6-a93f-50ff4ebcdf6e\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve a VRF resource.\n\n\u003e VRF features are not generally available. The interfaces related to VRF resources may change ahead of general availability.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst exampleVrf = equinix.metal.getVrf({\n vrfId: \"48630899-9ff2-4ce6-a93f-50ff4ebcdf6e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample_vrf = equinix.metal.get_vrf(vrf_id=\"48630899-9ff2-4ce6-a93f-50ff4ebcdf6e\")\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 exampleVrf = Equinix.Metal.GetVrf.Invoke(new()\n {\n VrfId = \"48630899-9ff2-4ce6-a93f-50ff4ebcdf6e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\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 := metal.LookupVrf(ctx, \u0026metal.LookupVrfArgs{\n\t\t\tVrfId: \"48630899-9ff2-4ce6-a93f-50ff4ebcdf6e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetVrfArgs;\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 exampleVrf = MetalFunctions.getVrf(GetVrfArgs.builder()\n .vrfId(\"48630899-9ff2-4ce6-a93f-50ff4ebcdf6e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n exampleVrf:\n fn::invoke:\n Function: equinix:metal:getVrf\n Arguments:\n vrfId: 48630899-9ff2-4ce6-a93f-50ff4ebcdf6e\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getVrf.\n", "properties": { @@ -20869,7 +17780,7 @@ } }, "equinix:networkedge/getAccount:getAccount": { - "description": "Use this data source to get number and identifier of Equinix Network Edge\nbilling account in a given metro location.\n\nBilling account reference is required to create Network Edge virtual device\nin corresponding metro location.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst dc = equinix.networkedge.getAccount({\n metroCode: \"DC\",\n status: \"Active\",\n});\nexport const number = dc.then(dc =\u003e dc.number);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ndc = equinix.networkedge.get_account(metro_code=\"DC\",\n status=\"Active\")\npulumi.export(\"number\", dc.number)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var dc = Equinix.NetworkEdge.GetAccount.Invoke(new()\n {\n MetroCode = \"DC\",\n Status = \"Active\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"number\"] = dc.Apply(getAccountResult =\u003e getAccountResult.Number),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/networkedge\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tdc, err := networkedge.GetAccount(ctx, \u0026networkedge.GetAccountArgs{\n\t\t\tMetroCode: \"DC\",\n\t\t\tStatus: pulumi.StringRef(\"Active\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"number\", dc.Number)\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.networkedge.NetworkedgeFunctions;\nimport com.pulumi.equinix.networkedge.inputs.GetAccountArgs;\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 dc = NetworkedgeFunctions.getAccount(GetAccountArgs.builder()\n .metroCode(\"DC\")\n .status(\"Active\")\n .build());\n\n ctx.export(\"number\", dc.applyValue(getAccountResult -\u003e getAccountResult.number()));\n }\n}\n```\n```yaml\nvariables:\n dc:\n fn::invoke:\n Function: equinix:networkedge:getAccount\n Arguments:\n metroCode: DC\n status: Active\noutputs:\n number: ${dc.number}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to get number and identifier of Equinix Network Edge\nbilling account in a given metro location.\n\nBilling account reference is required to create Network Edge virtual device\nin corresponding metro location.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst dc = equinix.networkedge.getAccount({\n metroCode: \"DC\",\n status: \"Active\",\n});\nexport const number = dc.then(dc =\u003e dc.number);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ndc = equinix.networkedge.get_account(metro_code=\"DC\",\n status=\"Active\")\npulumi.export(\"number\", dc.number)\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 dc = Equinix.NetworkEdge.GetAccount.Invoke(new()\n {\n MetroCode = \"DC\",\n Status = \"Active\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"number\"] = dc.Apply(getAccountResult =\u003e getAccountResult.Number),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/networkedge\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tdc, err := networkedge.GetAccount(ctx, \u0026networkedge.GetAccountArgs{\n\t\t\tMetroCode: \"DC\",\n\t\t\tStatus: pulumi.StringRef(\"Active\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"number\", dc.Number)\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.networkedge.NetworkedgeFunctions;\nimport com.pulumi.equinix.networkedge.inputs.GetAccountArgs;\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 dc = NetworkedgeFunctions.getAccount(GetAccountArgs.builder()\n .metroCode(\"DC\")\n .status(\"Active\")\n .build());\n\n ctx.export(\"number\", dc.applyValue(getAccountResult -\u003e getAccountResult.number()));\n }\n}\n```\n```yaml\nvariables:\n dc:\n fn::invoke:\n Function: equinix:networkedge:getAccount\n Arguments:\n metroCode: DC\n status: Active\noutputs:\n number: ${dc.number}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getAccount.\n", "properties": { @@ -20928,7 +17839,7 @@ } }, "equinix:networkedge/getDevice:getDevice": { - "description": "Use this data source to get Equinix Network Edge device details.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst byUuid = equinix.networkedge.getDevice({\n uuid: \"f0b5c553-cdeb-4bc3-95b8-23db9ccfd5ee\",\n});\nconst byName = equinix.networkedge.getDevice({\n name: \"Arcus-Gateway-A1\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nby_uuid = equinix.networkedge.get_device(uuid=\"f0b5c553-cdeb-4bc3-95b8-23db9ccfd5ee\")\nby_name = equinix.networkedge.get_device(name=\"Arcus-Gateway-A1\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var byUuid = Equinix.NetworkEdge.GetDevice.Invoke(new()\n {\n Uuid = \"f0b5c553-cdeb-4bc3-95b8-23db9ccfd5ee\",\n });\n\n var byName = Equinix.NetworkEdge.GetDevice.Invoke(new()\n {\n Name = \"Arcus-Gateway-A1\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/networkedge\"\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 := networkedge.LookupDevice(ctx, \u0026networkedge.LookupDeviceArgs{\n\t\t\tUuid: pulumi.StringRef(\"f0b5c553-cdeb-4bc3-95b8-23db9ccfd5ee\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = networkedge.LookupDevice(ctx, \u0026networkedge.LookupDeviceArgs{\n\t\t\tName: pulumi.StringRef(\"Arcus-Gateway-A1\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.networkedge.NetworkedgeFunctions;\nimport com.pulumi.equinix.networkedge.inputs.GetDeviceArgs;\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 byUuid = NetworkedgeFunctions.getDevice(GetDeviceArgs.builder()\n .uuid(\"f0b5c553-cdeb-4bc3-95b8-23db9ccfd5ee\")\n .build());\n\n final var byName = NetworkedgeFunctions.getDevice(GetDeviceArgs.builder()\n .name(\"Arcus-Gateway-A1\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byUuid:\n fn::invoke:\n Function: equinix:networkedge:getDevice\n Arguments:\n uuid: f0b5c553-cdeb-4bc3-95b8-23db9ccfd5ee\n byName:\n fn::invoke:\n Function: equinix:networkedge:getDevice\n Arguments:\n name: Arcus-Gateway-A1\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to get Equinix Network Edge device details.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst byUuid = equinix.networkedge.getDevice({\n uuid: \"f0b5c553-cdeb-4bc3-95b8-23db9ccfd5ee\",\n});\nconst byName = equinix.networkedge.getDevice({\n name: \"Arcus-Gateway-A1\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nby_uuid = equinix.networkedge.get_device(uuid=\"f0b5c553-cdeb-4bc3-95b8-23db9ccfd5ee\")\nby_name = equinix.networkedge.get_device(name=\"Arcus-Gateway-A1\")\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 byUuid = Equinix.NetworkEdge.GetDevice.Invoke(new()\n {\n Uuid = \"f0b5c553-cdeb-4bc3-95b8-23db9ccfd5ee\",\n });\n\n var byName = Equinix.NetworkEdge.GetDevice.Invoke(new()\n {\n Name = \"Arcus-Gateway-A1\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/networkedge\"\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 := networkedge.LookupDevice(ctx, \u0026networkedge.LookupDeviceArgs{\n\t\t\tUuid: pulumi.StringRef(\"f0b5c553-cdeb-4bc3-95b8-23db9ccfd5ee\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = networkedge.LookupDevice(ctx, \u0026networkedge.LookupDeviceArgs{\n\t\t\tName: pulumi.StringRef(\"Arcus-Gateway-A1\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.networkedge.NetworkedgeFunctions;\nimport com.pulumi.equinix.networkedge.inputs.GetDeviceArgs;\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 byUuid = NetworkedgeFunctions.getDevice(GetDeviceArgs.builder()\n .uuid(\"f0b5c553-cdeb-4bc3-95b8-23db9ccfd5ee\")\n .build());\n\n final var byName = NetworkedgeFunctions.getDevice(GetDeviceArgs.builder()\n .name(\"Arcus-Gateway-A1\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n byUuid:\n fn::invoke:\n Function: equinix:networkedge:getDevice\n Arguments:\n uuid: f0b5c553-cdeb-4bc3-95b8-23db9ccfd5ee\n byName:\n fn::invoke:\n Function: equinix:networkedge:getDevice\n Arguments:\n name: Arcus-Gateway-A1\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getDevice.\n", "properties": { @@ -20942,7 +17853,7 @@ }, "validStatusList": { "type": "string", - "description": "Device states to be considered valid when searching for a device by name\n" + "description": "Device states to be considered valid when searching for a device by name\n\nNOTE: Exactly one of either `uuid` or `name` must be specified.\n" } }, "type": "object" @@ -20973,6 +17884,10 @@ "$ref": "#/types/equinix:networkedge/getDeviceClusterDetail:getDeviceClusterDetail" } }, + "connectivity": { + "type": "string", + "description": "Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT)\n" + }, "coreCount": { "type": "integer" }, @@ -21006,7 +17921,7 @@ }, "licenseStatus": { "type": "string", - "description": "Device license registration status\n* APPLYING_LICENSE\n* REGISTERED\n* APPLIED\n* WAITING_FOR_CLUSTER_SETUP\n* REGISTRATION_FAILED\n" + "description": "Device license registration status\n* APPLYING_LICENSE\n* REGISTERED\n* APPLIED\n* WAITING_FOR_CLUSTER_SETUP\n* REGISTRATION_FAILED\n* NA\n" }, "licenseToken": { "type": "string" @@ -21119,6 +18034,7 @@ "asn", "byol", "clusterDetails", + "connectivity", "coreCount", "hostname", "ibx", @@ -21158,7 +18074,7 @@ } }, "equinix:networkedge/getDevicePlatform:getDevicePlatform": { - "description": "Use this data source to get Equinix Network Edge device platform configuration details\nfor a given device type. For further details, check supported\n[Network Edge Vendors and Devices](https://docs.equinix.com/en-us/Content/Interconnection/NE/user-guide/NE-vendors-devices.htm).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst csrLarge = equinix.networkedge.getDevicePlatform({\n deviceType: \"CSR1000V\",\n flavor: \"large\",\n packages: [\"IPBASE\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ncsr_large = equinix.networkedge.get_device_platform(device_type=\"CSR1000V\",\n flavor=\"large\",\n packages=[\"IPBASE\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var csrLarge = Equinix.NetworkEdge.GetDevicePlatform.Invoke(new()\n {\n DeviceType = \"CSR1000V\",\n Flavor = \"large\",\n Packages = new[]\n {\n \"IPBASE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/networkedge\"\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 := networkedge.GetDevicePlatform(ctx, \u0026networkedge.GetDevicePlatformArgs{\n\t\t\tDeviceType: \"CSR1000V\",\n\t\t\tFlavor: pulumi.StringRef(\"large\"),\n\t\t\tPackages: []string{\n\t\t\t\t\"IPBASE\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.networkedge.NetworkedgeFunctions;\nimport com.pulumi.equinix.networkedge.inputs.GetDevicePlatformArgs;\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 csrLarge = NetworkedgeFunctions.getDevicePlatform(GetDevicePlatformArgs.builder()\n .deviceType(\"CSR1000V\")\n .flavor(\"large\")\n .packages(\"IPBASE\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n csrLarge:\n fn::invoke:\n Function: equinix:networkedge:getDevicePlatform\n Arguments:\n deviceType: CSR1000V\n flavor: large\n packages:\n - IPBASE\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to get Equinix Network Edge device platform configuration details\nfor a given device type. For further details, check supported\n[Network Edge Vendors and Devices](https://docs.equinix.com/en-us/Content/Interconnection/NE/user-guide/NE-vendors-devices.htm).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst csrLarge = equinix.networkedge.getDevicePlatform({\n deviceType: \"CSR1000V\",\n flavor: \"large\",\n packages: [\"IPBASE\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ncsr_large = equinix.networkedge.get_device_platform(device_type=\"CSR1000V\",\n flavor=\"large\",\n packages=[\"IPBASE\"])\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 csrLarge = Equinix.NetworkEdge.GetDevicePlatform.Invoke(new()\n {\n DeviceType = \"CSR1000V\",\n Flavor = \"large\",\n Packages = new[]\n {\n \"IPBASE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/networkedge\"\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 := networkedge.GetDevicePlatform(ctx, \u0026networkedge.GetDevicePlatformArgs{\n\t\t\tDeviceType: \"CSR1000V\",\n\t\t\tFlavor: pulumi.StringRef(\"large\"),\n\t\t\tPackages: []string{\n\t\t\t\t\"IPBASE\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.networkedge.NetworkedgeFunctions;\nimport com.pulumi.equinix.networkedge.inputs.GetDevicePlatformArgs;\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 csrLarge = NetworkedgeFunctions.getDevicePlatform(GetDevicePlatformArgs.builder()\n .deviceType(\"CSR1000V\")\n .flavor(\"large\")\n .packages(\"IPBASE\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n csrLarge:\n fn::invoke:\n Function: equinix:networkedge:getDevicePlatform\n Arguments:\n deviceType: CSR1000V\n flavor: large\n packages:\n - IPBASE\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getDevicePlatform.\n", "properties": { @@ -21259,7 +18175,7 @@ } }, "equinix:networkedge/getDeviceSoftware:getDeviceSoftware": { - "description": "Use this data source to get Equinix Network Edge device software details for a given\ndevice type. For further details, check supported\n[Network Edge Vendors and Devices](https://docs.equinix.com/en-us/Content/Interconnection/NE/user-guide/NE-vendors-devices.htm).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst csrLatest1609 = equinix.networkedge.getDeviceSoftware({\n deviceType: \"CSR1000V\",\n mostRecent: true,\n packages: [\"IPBASE\"],\n versionRegex: \"^16.09.+\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ncsr_latest1609 = equinix.networkedge.get_device_software(device_type=\"CSR1000V\",\n most_recent=True,\n packages=[\"IPBASE\"],\n version_regex=\"^16.09.+\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var csrLatest1609 = Equinix.NetworkEdge.GetDeviceSoftware.Invoke(new()\n {\n DeviceType = \"CSR1000V\",\n MostRecent = true,\n Packages = new[]\n {\n \"IPBASE\",\n },\n VersionRegex = \"^16.09.+\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/networkedge\"\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 := networkedge.GetDeviceSoftware(ctx, \u0026networkedge.GetDeviceSoftwareArgs{\n\t\t\tDeviceType: \"CSR1000V\",\n\t\t\tMostRecent: pulumi.BoolRef(true),\n\t\t\tPackages: []string{\n\t\t\t\t\"IPBASE\",\n\t\t\t},\n\t\t\tVersionRegex: pulumi.StringRef(\"^16.09.+\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.networkedge.NetworkedgeFunctions;\nimport com.pulumi.equinix.networkedge.inputs.GetDeviceSoftwareArgs;\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 csrLatest1609 = NetworkedgeFunctions.getDeviceSoftware(GetDeviceSoftwareArgs.builder()\n .deviceType(\"CSR1000V\")\n .mostRecent(true)\n .packages(\"IPBASE\")\n .versionRegex(\"^16.09.+\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n csrLatest1609:\n fn::invoke:\n Function: equinix:networkedge:getDeviceSoftware\n Arguments:\n deviceType: CSR1000V\n mostRecent: true\n packages:\n - IPBASE\n versionRegex: ^16.09.+\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to get Equinix Network Edge device software details for a given\ndevice type. For further details, check supported\n[Network Edge Vendors and Devices](https://docs.equinix.com/en-us/Content/Interconnection/NE/user-guide/NE-vendors-devices.htm).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst csrLatest1609 = equinix.networkedge.getDeviceSoftware({\n deviceType: \"CSR1000V\",\n mostRecent: true,\n packages: [\"IPBASE\"],\n versionRegex: \"^16.09.+\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ncsr_latest1609 = equinix.networkedge.get_device_software(device_type=\"CSR1000V\",\n most_recent=True,\n packages=[\"IPBASE\"],\n version_regex=\"^16.09.+\")\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 csrLatest1609 = Equinix.NetworkEdge.GetDeviceSoftware.Invoke(new()\n {\n DeviceType = \"CSR1000V\",\n MostRecent = true,\n Packages = new[]\n {\n \"IPBASE\",\n },\n VersionRegex = \"^16.09.+\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/networkedge\"\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 := networkedge.GetDeviceSoftware(ctx, \u0026networkedge.GetDeviceSoftwareArgs{\n\t\t\tDeviceType: \"CSR1000V\",\n\t\t\tMostRecent: pulumi.BoolRef(true),\n\t\t\tPackages: []string{\n\t\t\t\t\"IPBASE\",\n\t\t\t},\n\t\t\tVersionRegex: pulumi.StringRef(\"^16.09.+\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.networkedge.NetworkedgeFunctions;\nimport com.pulumi.equinix.networkedge.inputs.GetDeviceSoftwareArgs;\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 csrLatest1609 = NetworkedgeFunctions.getDeviceSoftware(GetDeviceSoftwareArgs.builder()\n .deviceType(\"CSR1000V\")\n .mostRecent(true)\n .packages(\"IPBASE\")\n .versionRegex(\"^16.09.+\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n csrLatest1609:\n fn::invoke:\n Function: equinix:networkedge:getDeviceSoftware\n Arguments:\n deviceType: CSR1000V\n mostRecent: true\n packages:\n - IPBASE\n versionRegex: ^16.09.+\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getDeviceSoftware.\n", "properties": { @@ -21353,7 +18269,7 @@ } }, "equinix:networkedge/getDeviceType:getDeviceType": { - "description": "Use this data source to get Equinix Network Edge device type details. For further details, check supported\n[Network Edge Vendors and Devices](https://docs.equinix.com/en-us/Content/Interconnection/NE/user-guide/NE-vendors-devices.htm).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst ciscoRouter = equinix.networkedge.getDeviceType({\n category: \"Router\",\n metroCodes: [\n \"DC\",\n \"SV\",\n ],\n vendor: \"Cisco\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ncisco_router = equinix.networkedge.get_device_type(category=\"Router\",\n metro_codes=[\n \"DC\",\n \"SV\",\n ],\n vendor=\"Cisco\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ciscoRouter = Equinix.NetworkEdge.GetDeviceType.Invoke(new()\n {\n Category = \"Router\",\n MetroCodes = new[]\n {\n \"DC\",\n \"SV\",\n },\n Vendor = \"Cisco\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/networkedge\"\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 := networkedge.GetDeviceType(ctx, \u0026networkedge.GetDeviceTypeArgs{\n\t\t\tCategory: pulumi.StringRef(\"Router\"),\n\t\t\tMetroCodes: []string{\n\t\t\t\t\"DC\",\n\t\t\t\t\"SV\",\n\t\t\t},\n\t\t\tVendor: pulumi.StringRef(\"Cisco\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.networkedge.NetworkedgeFunctions;\nimport com.pulumi.equinix.networkedge.inputs.GetDeviceTypeArgs;\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 ciscoRouter = NetworkedgeFunctions.getDeviceType(GetDeviceTypeArgs.builder()\n .category(\"Router\")\n .metroCodes( \n \"DC\",\n \"SV\")\n .vendor(\"Cisco\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n ciscoRouter:\n fn::invoke:\n Function: equinix:networkedge:getDeviceType\n Arguments:\n category: Router\n metroCodes:\n - DC\n - SV\n vendor: Cisco\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to get Equinix Network Edge device type details. For further details, check supported\n[Network Edge Vendors and Devices](https://docs.equinix.com/en-us/Content/Interconnection/NE/user-guide/NE-vendors-devices.htm).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst ciscoRouter = equinix.networkedge.getDeviceType({\n category: \"Router\",\n metroCodes: [\n \"DC\",\n \"SV\",\n ],\n vendor: \"Cisco\",\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\ncisco_router = equinix.networkedge.get_device_type(category=\"Router\",\n metro_codes=[\n \"DC\",\n \"SV\",\n ],\n vendor=\"Cisco\")\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 ciscoRouter = Equinix.NetworkEdge.GetDeviceType.Invoke(new()\n {\n Category = \"Router\",\n MetroCodes = new[]\n {\n \"DC\",\n \"SV\",\n },\n Vendor = \"Cisco\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/networkedge\"\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 := networkedge.GetDeviceType(ctx, \u0026networkedge.GetDeviceTypeArgs{\n\t\t\tCategory: pulumi.StringRef(\"Router\"),\n\t\t\tMetroCodes: []string{\n\t\t\t\t\"DC\",\n\t\t\t\t\"SV\",\n\t\t\t},\n\t\t\tVendor: pulumi.StringRef(\"Cisco\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\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.networkedge.NetworkedgeFunctions;\nimport com.pulumi.equinix.networkedge.inputs.GetDeviceTypeArgs;\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 ciscoRouter = NetworkedgeFunctions.getDeviceType(GetDeviceTypeArgs.builder()\n .category(\"Router\")\n .metroCodes( \n \"DC\",\n \"SV\")\n .vendor(\"Cisco\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n ciscoRouter:\n fn::invoke:\n Function: equinix:networkedge:getDeviceType\n Arguments:\n category: Router\n metroCodes:\n - DC\n - SV\n vendor: Cisco\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getDeviceType.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index 0dcbe353..3860457d 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,26 +1,27 @@ module github.com/equinix/pulumi-equinix/provider -go 1.18 +go 1.20 -replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9 +replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e require ( - github.com/equinix/terraform-provider-equinix v1.14.1 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.42.1 - github.com/pulumi/pulumi/pkg/v3 v3.57.0 - github.com/pulumi/pulumi/sdk/v3 v3.57.0 + github.com/equinix/terraform-provider-equinix v1.18.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0 + github.com/pulumi/pulumi/pkg/v3 v3.89.0 + github.com/pulumi/pulumi/sdk/v3 v3.89.0 ) require ( - cloud.google.com/go v0.107.0 // indirect - cloud.google.com/go/compute v1.15.1 // indirect + cloud.google.com/go v0.110.4 // indirect + cloud.google.com/go/compute v1.20.1 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/iam v0.8.0 // indirect - cloud.google.com/go/kms v1.6.0 // indirect - cloud.google.com/go/logging v1.6.1 // indirect - cloud.google.com/go/longrunning v0.3.0 // indirect - cloud.google.com/go/storage v1.27.0 // indirect - github.com/AlecAivazis/survey/v2 v2.0.5 // indirect + cloud.google.com/go/iam v1.1.1 // indirect + cloud.google.com/go/kms v1.12.1 // indirect + cloud.google.com/go/logging v1.7.0 // indirect + cloud.google.com/go/longrunning v0.5.1 // indirect + cloud.google.com/go/storage v1.30.1 // indirect + dario.cat/mergo v1.0.0 // indirect + github.com/AlecAivazis/survey/v2 v2.3.7 // indirect github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect @@ -37,20 +38,23 @@ require ( github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect + github.com/BurntSushi/toml v1.2.1 // indirect github.com/Masterminds/goutils v1.1.1 // indirect + github.com/Masterminds/semver v1.5.0 // indirect github.com/Masterminds/semver/v3 v3.1.1 // indirect github.com/Masterminds/sprig/v3 v3.2.2 // indirect - github.com/Microsoft/go-winio v0.5.2 // indirect - github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect - github.com/acomagu/bufpipe v1.0.3 // indirect + github.com/Microsoft/go-winio v0.6.1 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect + github.com/acomagu/bufpipe v1.0.4 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/antihax/optional v1.0.0 // indirect github.com/apparentlymart/go-cidr v1.1.0 // indirect - github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect + github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect github.com/armon/go-metrics v0.4.0 // indirect github.com/armon/go-radix v1.0.0 // indirect - github.com/aws/aws-sdk-go v1.44.122 // indirect + github.com/atotto/clipboard v0.1.4 // indirect + github.com/aws/aws-sdk-go v1.44.298 // indirect github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect @@ -70,57 +74,64 @@ require ( github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect github.com/aws/smithy-go v1.13.5 // indirect + github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/bgentry/speakeasy v0.1.0 // indirect github.com/blang/semver v3.5.1+incompatible // indirect github.com/cenkalti/backoff/v3 v3.2.2 // indirect + github.com/charmbracelet/bubbles v0.16.1 // indirect + github.com/charmbracelet/bubbletea v0.24.2 // indirect + github.com/charmbracelet/lipgloss v0.7.1 // indirect github.com/cheggaaa/pb v1.0.29 // indirect - github.com/cloudflare/circl v1.1.0 // indirect + github.com/cloudflare/circl v1.3.3 // indirect + github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/djherbis/times v1.5.0 // indirect - github.com/dustin/go-humanize v1.0.0 // indirect + github.com/dustin/go-humanize v1.0.1 // indirect github.com/edsrzf/mmap-go v1.1.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect - github.com/equinix-labs/fabric-go v0.4.0 // indirect - github.com/equinix/ecx-go/v2 v2.3.0 // indirect - github.com/equinix/ne-go v1.10.0 // indirect + github.com/equinix-labs/fabric-go v0.7.0 // indirect + github.com/equinix-labs/metal-go v0.16.0 // indirect + github.com/equinix/ecx-go/v2 v2.3.1 // indirect + github.com/equinix/ne-go v1.11.0 // indirect github.com/equinix/oauth2-go v1.0.0 // indirect github.com/equinix/rest-go v1.3.0 // indirect github.com/ettle/strcase v0.1.1 // indirect github.com/fatih/color v1.13.0 // indirect github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect - github.com/go-git/gcfg v1.5.0 // indirect - github.com/go-git/go-billy/v5 v5.4.0 // indirect - github.com/go-git/go-git/v5 v5.6.0 // indirect + github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect + github.com/go-git/go-billy/v5 v5.4.1 // indirect + github.com/go-git/go-git/v5 v5.8.1 // indirect github.com/go-resty/resty/v2 v2.3.0 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang-jwt/jwt v3.2.1+incompatible // indirect github.com/golang-jwt/jwt/v4 v4.4.2 // indirect - github.com/golang/glog v1.0.0 // indirect + github.com/golang/glog v1.1.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/golang/protobuf v1.5.2 // indirect + github.com/golang/protobuf v1.5.3 // indirect github.com/golang/snappy v0.0.4 // indirect github.com/google/go-cmp v0.5.9 // indirect github.com/google/go-querystring v1.1.0 // indirect + github.com/google/s2a-go v0.1.4 // indirect github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect github.com/google/uuid v1.3.0 // indirect github.com/google/wire v0.5.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.2.0 // indirect - github.com/googleapis/gax-go/v2 v2.7.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect + github.com/googleapis/gax-go/v2 v2.11.0 // indirect github.com/gorilla/mux v1.8.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-checkpoint v0.5.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect - github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect - github.com/hashicorp/go-getter v1.7.0 // indirect - github.com/hashicorp/go-hclog v1.2.2 // indirect + github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637 // indirect + github.com/hashicorp/go-getter v1.7.1 // indirect + github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/go-plugin v1.4.6 // indirect - github.com/hashicorp/go-retryablehttp v0.7.1 // indirect + github.com/hashicorp/go-plugin v1.5.1 // indirect + github.com/hashicorp/go-retryablehttp v0.7.4 // indirect github.com/hashicorp/go-rootcerts v1.0.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-secure-stdlib/mlock v0.1.2 // indirect @@ -130,26 +141,26 @@ require ( github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect - github.com/hashicorp/hc-install v0.4.0 // indirect + github.com/hashicorp/hc-install v0.6.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.16.1 // indirect + github.com/hashicorp/hcl/v2 v2.18.0 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect - github.com/hashicorp/terraform-exec v0.17.2 // indirect - github.com/hashicorp/terraform-json v0.14.0 // indirect - github.com/hashicorp/terraform-plugin-go v0.14.1 // indirect - github.com/hashicorp/terraform-plugin-log v0.7.0 // indirect - github.com/hashicorp/terraform-plugin-sdk/v2 v2.19.0 // indirect - github.com/hashicorp/terraform-registry-address v0.0.0-20220623143253-7d51757b572c // indirect - github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect + github.com/hashicorp/terraform-exec v0.19.0 // indirect + github.com/hashicorp/terraform-json v0.17.1 // indirect + github.com/hashicorp/terraform-plugin-go v0.19.0 // indirect + github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect + github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0 // indirect + github.com/hashicorp/terraform-registry-address v0.2.2 // indirect + github.com/hashicorp/terraform-svchost v0.1.1 // indirect github.com/hashicorp/vault/api v1.8.2 // indirect github.com/hashicorp/vault/sdk v0.6.1 // indirect github.com/hashicorp/yamux v0.1.1 // indirect github.com/huandu/xstrings v1.3.2 // indirect github.com/iancoleman/strcase v0.2.0 // indirect github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect - github.com/imdario/mergo v0.3.13 // indirect - github.com/inconshreveable/mousetrap v1.0.1 // indirect + github.com/imdario/mergo v0.3.15 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/json-iterator/go v1.1.12 // indirect @@ -157,11 +168,13 @@ require ( github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/klauspost/compress v1.15.11 // indirect github.com/kylelemons/godebug v1.1.0 // indirect - github.com/mattn/go-colorable v0.1.12 // indirect - github.com/mattn/go-isatty v0.0.14 // indirect - github.com/mattn/go-runewidth v0.0.13 // indirect + github.com/lucasb-eyer/go-colorful v1.2.0 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.18 // indirect + github.com/mattn/go-localereader v0.0.1 // indirect + github.com/mattn/go-runewidth v0.0.14 // indirect github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect - github.com/mitchellh/cli v1.1.4 // indirect + github.com/mitchellh/cli v1.1.5 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/go-ps v1.0.0 // indirect @@ -172,12 +185,15 @@ require ( github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect github.com/muesli/cancelreader v0.2.2 // indirect + github.com/muesli/reflow v0.3.0 // indirect + github.com/muesli/termenv v0.15.1 // indirect github.com/natefinch/atomic v1.0.1 // indirect github.com/oklog/run v1.1.0 // indirect github.com/opentracing/basictracer-go v1.1.0 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect - github.com/packethost/packngo v0.28.1 // indirect + github.com/packethost/packngo v0.30.0 // indirect github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect @@ -186,59 +202,64 @@ require ( github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/posener/complete v1.2.3 // indirect - github.com/pulumi/pulumi-java/pkg v0.8.0 // indirect - github.com/pulumi/pulumi-yaml v1.0.4 // indirect + github.com/pulumi/esc v0.5.2 // indirect + github.com/pulumi/pulumi-java/pkg v0.9.8 // indirect + github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 // indirect + github.com/pulumi/pulumi-yaml v1.2.2 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect - github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e // indirect - github.com/rivo/uniseg v0.2.0 // indirect - github.com/rogpeppe/go-internal v1.9.0 // indirect + github.com/pulumi/terraform-diff-reader v0.0.2 // indirect + github.com/rivo/uniseg v0.4.4 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/ryanuber/go-glob v1.0.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/segmentio/asm v1.1.3 // indirect github.com/segmentio/encoding v0.3.5 // indirect - github.com/sergi/go-diff v1.2.0 // indirect + github.com/sergi/go-diff v1.3.1 // indirect github.com/shopspring/decimal v1.3.1 // indirect - github.com/skeema/knownhosts v1.1.0 // indirect - github.com/spf13/afero v1.6.0 // indirect + github.com/skeema/knownhosts v1.2.0 // indirect + github.com/spf13/afero v1.9.5 // indirect github.com/spf13/cast v1.5.0 // indirect - github.com/spf13/cobra v1.6.1 // indirect + github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/testify v1.8.2 // indirect + github.com/stretchr/testify v1.8.4 // 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/ulikunitz/xz v0.5.10 // indirect github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect - github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect - github.com/vmihailenco/tagparser v0.1.1 // indirect + github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect + github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect - github.com/zclconf/go-cty v1.12.1 // indirect + github.com/zclconf/go-cty v1.14.0 // indirect go.opencensus.io v0.24.0 // indirect go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.27.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect golang.org/x/crypto v0.14.0 // indirect - golang.org/x/exp v0.0.0-20221126150942-6ab00d035af9 // indirect - golang.org/x/mod v0.8.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/mod v0.13.0 // indirect golang.org/x/net v0.17.0 // indirect - golang.org/x/oauth2 v0.4.0 // indirect - golang.org/x/sync v0.1.0 // indirect + golang.org/x/oauth2 v0.13.0 // indirect + golang.org/x/sync v0.4.0 // indirect golang.org/x/sys v0.13.0 // indirect golang.org/x/term v0.13.0 // indirect golang.org/x/text v0.13.0 // indirect - golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect + golang.org/x/time v0.3.0 // indirect + golang.org/x/tools v0.14.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/api v0.103.0 // indirect + google.golang.org/api v0.126.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect - google.golang.org/grpc v1.53.0 // indirect - google.golang.org/protobuf v1.28.1 // indirect + google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect + google.golang.org/grpc v1.57.0 // indirect + google.golang.org/protobuf v1.31.0 // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/provider/go.sum b/provider/go.sum index 57c2a01f..0be30bf5 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -5,6 +5,7 @@ cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= @@ -17,6 +18,7 @@ cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOY cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= +cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= @@ -35,24 +37,87 @@ cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+ cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= cloud.google.com/go v0.103.0/go.mod h1:vwLx1nqLrzLX/fpwSMOXmFIqBOyHsvHbnAdbGSJ+mKk= cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= -cloud.google.com/go v0.107.0 h1:qkj22L7bgkl6vIeZDlOY2po43Mx/TIa2Wsa7VR+PEww= +cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= +cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= +cloud.google.com/go v0.110.4 h1:1JYyxKMN9hd5dR2MYTPWkGUgcoxVVhg0LKNKEo0qvmk= +cloud.google.com/go v0.110.4/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= +cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= +cloud.google.com/go/accessapproval v1.6.0/go.mod h1:R0EiYnwV5fsRFiKZkPHr6mwyk2wxUJ30nL4j2pcFY2E= +cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o= +cloud.google.com/go/accesscontextmanager v1.4.0/go.mod h1:/Kjh7BBu/Gh83sv+K60vN9QE5NJcd80sU33vIe2IFPE= +cloud.google.com/go/accesscontextmanager v1.6.0/go.mod h1:8XCvZWfYw3K/ji0iVnp+6pu7huxoQTLmxAbVjbloTtM= +cloud.google.com/go/accesscontextmanager v1.7.0/go.mod h1:CEGLewx8dwa33aDAZQujl7Dx+uYhS0eay198wB/VumQ= cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= +cloud.google.com/go/aiplatform v1.27.0/go.mod h1:Bvxqtl40l0WImSb04d0hXFU7gDOiq9jQmorivIiWcKg= +cloud.google.com/go/aiplatform v1.35.0/go.mod h1:7MFT/vCaOyZT/4IIFfxH4ErVg/4ku6lKv3w0+tFTgXQ= +cloud.google.com/go/aiplatform v1.36.1/go.mod h1:WTm12vJRPARNvJ+v6P52RDHCNe4AhvjcIZ/9/RRHy/k= +cloud.google.com/go/aiplatform v1.37.0/go.mod h1:IU2Cv29Lv9oCn/9LkFiiuKfwrRTq+QQMbW+hPCxJGZw= cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4= +cloud.google.com/go/analytics v0.17.0/go.mod h1:WXFa3WSym4IZ+JiKmavYdJwGG/CvpqiqczmL59bTD9M= +cloud.google.com/go/analytics v0.18.0/go.mod h1:ZkeHGQlcIPkw0R/GW+boWHhCOR43xz9RN/jn7WcqfIE= +cloud.google.com/go/analytics v0.19.0/go.mod h1:k8liqf5/HCnOUkbawNtrWWc+UAzyDlW89doe8TtoDsE= +cloud.google.com/go/apigateway v1.3.0/go.mod h1:89Z8Bhpmxu6AmUxuVRg/ECRGReEdiP3vQtk4Z1J9rJk= +cloud.google.com/go/apigateway v1.4.0/go.mod h1:pHVY9MKGaH9PQ3pJ4YLzoj6U5FUDeDFBllIz7WmzJoc= +cloud.google.com/go/apigateway v1.5.0/go.mod h1:GpnZR3Q4rR7LVu5951qfXPJCHquZt02jf7xQx7kpqN8= +cloud.google.com/go/apigeeconnect v1.3.0/go.mod h1:G/AwXFAKo0gIXkPTVfZDd2qA1TxBXJ3MgMRBQkIi9jc= +cloud.google.com/go/apigeeconnect v1.4.0/go.mod h1:kV4NwOKqjvt2JYR0AoIWo2QGfoRtn/pkS3QlHp0Ni04= +cloud.google.com/go/apigeeconnect v1.5.0/go.mod h1:KFaCqvBRU6idyhSNyn3vlHXc8VMDJdRmwDF6JyFRqZ8= +cloud.google.com/go/apigeeregistry v0.4.0/go.mod h1:EUG4PGcsZvxOXAdyEghIdXwAEi/4MEaoqLMLDMIwKXY= +cloud.google.com/go/apigeeregistry v0.5.0/go.mod h1:YR5+s0BVNZfVOUkMa5pAR2xGd0A473vA5M7j247o1wM= +cloud.google.com/go/apigeeregistry v0.6.0/go.mod h1:BFNzW7yQVLZ3yj0TKcwzb8n25CFBri51GVGOEUcgQsc= +cloud.google.com/go/apikeys v0.4.0/go.mod h1:XATS/yqZbaBK0HOssf+ALHp8jAlNHUgyfprvNcBIszU= +cloud.google.com/go/apikeys v0.5.0/go.mod h1:5aQfwY4D+ewMMWScd3hm2en3hCj+BROlyrt3ytS7KLI= +cloud.google.com/go/apikeys v0.6.0/go.mod h1:kbpXu5upyiAlGkKrJgQl8A0rKNNJ7dQ377pdroRSSi8= +cloud.google.com/go/appengine v1.4.0/go.mod h1:CS2NhuBuDXM9f+qscZ6V86m1MIIqPj3WC/UoEuR1Sno= +cloud.google.com/go/appengine v1.5.0/go.mod h1:TfasSozdkFI0zeoxW3PTBLiNqRmzraodCWatWI9Dmak= +cloud.google.com/go/appengine v1.6.0/go.mod h1:hg6i0J/BD2cKmDJbaFSYHFyZkgBEfQrDg/X0V5fJn84= +cloud.google.com/go/appengine v1.7.0/go.mod h1:eZqpbHFCqRGa2aCdope7eC0SWLV1j0neb/QnMJVWx6A= +cloud.google.com/go/appengine v1.7.1/go.mod h1:IHLToyb/3fKutRysUlFO0BPt5j7RiQ45nrzEJmKTo6E= cloud.google.com/go/area120 v0.5.0/go.mod h1:DE/n4mp+iqVyvxHN41Vf1CR602GiHQjFPusMFW6bGR4= cloud.google.com/go/area120 v0.6.0/go.mod h1:39yFJqWVgm0UZqWTOdqkLhjoC7uFfgXRC8g/ZegeAh0= +cloud.google.com/go/area120 v0.7.0/go.mod h1:a3+8EUD1SX5RUcCs3MY5YasiO1z6yLiNLRiFrykbynY= +cloud.google.com/go/area120 v0.7.1/go.mod h1:j84i4E1RboTWjKtZVWXPqvK5VHQFJRF2c1Nm69pWm9k= cloud.google.com/go/artifactregistry v1.6.0/go.mod h1:IYt0oBPSAGYj/kprzsBjZ/4LnG/zOcHyFHjWPCi6SAQ= cloud.google.com/go/artifactregistry v1.7.0/go.mod h1:mqTOFOnGZx8EtSqK/ZWcsm/4U8B77rbcLP6ruDU2Ixk= +cloud.google.com/go/artifactregistry v1.8.0/go.mod h1:w3GQXkJX8hiKN0v+at4b0qotwijQbYUqF2GWkZzAhC0= +cloud.google.com/go/artifactregistry v1.9.0/go.mod h1:2K2RqvA2CYvAeARHRkLDhMDJ3OXy26h3XW+3/Jh2uYc= +cloud.google.com/go/artifactregistry v1.11.1/go.mod h1:lLYghw+Itq9SONbCa1YWBoWs1nOucMH0pwXN1rOBZFI= +cloud.google.com/go/artifactregistry v1.11.2/go.mod h1:nLZns771ZGAwVLzTX/7Al6R9ehma4WUEhZGWV6CeQNQ= +cloud.google.com/go/artifactregistry v1.12.0/go.mod h1:o6P3MIvtzTOnmvGagO9v/rOjjA0HmhJ+/6KAXrmYDCI= +cloud.google.com/go/artifactregistry v1.13.0/go.mod h1:uy/LNfoOIivepGhooAUpL1i30Hgee3Cu0l4VTWHUC08= cloud.google.com/go/asset v1.5.0/go.mod h1:5mfs8UvcM5wHhqtSv8J1CtxxaQq3AdBxxQi2jGW/K4o= cloud.google.com/go/asset v1.7.0/go.mod h1:YbENsRK4+xTiL+Ofoj5Ckf+O17kJtgp3Y3nn4uzZz5s= cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjbytpUaW0= +cloud.google.com/go/asset v1.9.0/go.mod h1:83MOE6jEJBMqFKadM9NLRcs80Gdw76qGuHn8m3h8oHQ= +cloud.google.com/go/asset v1.10.0/go.mod h1:pLz7uokL80qKhzKr4xXGvBQXnzHn5evJAEAtZiIb0wY= +cloud.google.com/go/asset v1.11.1/go.mod h1:fSwLhbRvC9p9CXQHJ3BgFeQNM4c9x10lqlrdEUYXlJo= +cloud.google.com/go/asset v1.12.0/go.mod h1:h9/sFOa4eDIyKmH6QMpm4eUK3pDojWnUhTgJlk762Hg= +cloud.google.com/go/asset v1.13.0/go.mod h1:WQAMyYek/b7NBpYq/K4KJWcRqzoalEsxz/t/dTk4THw= cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY= cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw= cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI= +cloud.google.com/go/assuredworkloads v1.8.0/go.mod h1:AsX2cqyNCOvEQC8RMPnoc0yEarXQk6WEKkxYfL6kGIo= +cloud.google.com/go/assuredworkloads v1.9.0/go.mod h1:kFuI1P78bplYtT77Tb1hi0FMxM0vVpRC7VVoJC3ZoT0= +cloud.google.com/go/assuredworkloads v1.10.0/go.mod h1:kwdUQuXcedVdsIaKgKTp9t0UJkE5+PAVNhdQm4ZVq2E= cloud.google.com/go/automl v1.5.0/go.mod h1:34EjfoFGMZ5sgJ9EoLsRtdPSNZLcfflJR39VbVNS2M0= cloud.google.com/go/automl v1.6.0/go.mod h1:ugf8a6Fx+zP0D59WLhqgTDsQI9w07o64uf/Is3Nh5p8= +cloud.google.com/go/automl v1.7.0/go.mod h1:RL9MYCCsJEOmt0Wf3z9uzG0a7adTT1fe+aObgSpkCt8= +cloud.google.com/go/automl v1.8.0/go.mod h1:xWx7G/aPEe/NP+qzYXktoBSDfjO+vnKMGgsApGJJquM= +cloud.google.com/go/automl v1.12.0/go.mod h1:tWDcHDp86aMIuHmyvjuKeeHEGq76lD7ZqfGLN6B0NuU= +cloud.google.com/go/baremetalsolution v0.3.0/go.mod h1:XOrocE+pvK1xFfleEnShBlNAXf+j5blPPxrhjKgnIFc= +cloud.google.com/go/baremetalsolution v0.4.0/go.mod h1:BymplhAadOO/eBa7KewQ0Ppg4A4Wplbn+PsFKRLo0uI= +cloud.google.com/go/baremetalsolution v0.5.0/go.mod h1:dXGxEkmR9BMwxhzBhV0AioD0ULBmuLZI8CdwalUxuss= +cloud.google.com/go/batch v0.3.0/go.mod h1:TR18ZoAekj1GuirsUsR1ZTKN3FC/4UDnScjT8NXImFE= +cloud.google.com/go/batch v0.4.0/go.mod h1:WZkHnP43R/QCGQsZ+0JyG4i79ranE2u8xvjq/9+STPE= +cloud.google.com/go/batch v0.7.0/go.mod h1:vLZN95s6teRUqRQ4s3RLDsH8PvboqBK+rn1oevL159g= +cloud.google.com/go/beyondcorp v0.2.0/go.mod h1:TB7Bd+EEtcw9PCPQhCJtJGjk/7TC6ckmnSFS+xwTfm4= +cloud.google.com/go/beyondcorp v0.3.0/go.mod h1:E5U5lcrcXMsCuoDNyGrpyTm/hn7ne941Jz2vmksAxW8= +cloud.google.com/go/beyondcorp v0.4.0/go.mod h1:3ApA0mbhHx6YImmuubf5pyW8srKnCEPON32/5hj+RmM= +cloud.google.com/go/beyondcorp v0.5.0/go.mod h1:uFqj9X+dSfrheVp7ssLTaRHd2EHqSL4QZmH4e8WXGGU= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= @@ -60,12 +125,44 @@ cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUM cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= cloud.google.com/go/bigquery v1.42.0/go.mod h1:8dRTJxhtG+vwBKzE5OseQn/hiydoQN3EedCaOdYmxRA= +cloud.google.com/go/bigquery v1.43.0/go.mod h1:ZMQcXHsl+xmU1z36G2jNGZmKp9zNY5BUua5wDgmNCfw= +cloud.google.com/go/bigquery v1.44.0/go.mod h1:0Y33VqXTEsbamHJvJHdFmtqHvMIY28aK1+dFsvaChGc= +cloud.google.com/go/bigquery v1.47.0/go.mod h1:sA9XOgy0A8vQK9+MWhEQTY6Tix87M/ZurWFIxmF9I/E= +cloud.google.com/go/bigquery v1.48.0/go.mod h1:QAwSz+ipNgfL5jxiaK7weyOhzdoAy1zFm0Nf1fysJac= +cloud.google.com/go/bigquery v1.49.0/go.mod h1:Sv8hMmTFFYBlt/ftw2uN6dFdQPzBlREY9yBh7Oy7/4Q= +cloud.google.com/go/bigquery v1.50.0/go.mod h1:YrleYEh2pSEbgTBZYMJ5SuSr0ML3ypjRB1zgf7pvQLU= cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY= cloud.google.com/go/billing v1.5.0/go.mod h1:mztb1tBc3QekhjSgmpf/CV4LzWXLzCArwpLmP2Gm88s= +cloud.google.com/go/billing v1.6.0/go.mod h1:WoXzguj+BeHXPbKfNWkqVtDdzORazmCjraY+vrxcyvI= +cloud.google.com/go/billing v1.7.0/go.mod h1:q457N3Hbj9lYwwRbnlD7vUpyjq6u5U1RAOArInEiD5Y= +cloud.google.com/go/billing v1.12.0/go.mod h1:yKrZio/eu+okO/2McZEbch17O5CB5NpZhhXG6Z766ss= +cloud.google.com/go/billing v1.13.0/go.mod h1:7kB2W9Xf98hP9Sr12KfECgfGclsH3CQR0R08tnRlRbc= cloud.google.com/go/binaryauthorization v1.1.0/go.mod h1:xwnoWu3Y84jbuHa0zd526MJYmtnVXn0syOjaJgy4+dM= cloud.google.com/go/binaryauthorization v1.2.0/go.mod h1:86WKkJHtRcv5ViNABtYMhhNWRrD1Vpi//uKEy7aYEfI= +cloud.google.com/go/binaryauthorization v1.3.0/go.mod h1:lRZbKgjDIIQvzYQS1p99A7/U1JqvqeZg0wiI5tp6tg0= +cloud.google.com/go/binaryauthorization v1.4.0/go.mod h1:tsSPQrBd77VLplV70GUhBf/Zm3FsKmgSqgm4UmiDItk= +cloud.google.com/go/binaryauthorization v1.5.0/go.mod h1:OSe4OU1nN/VswXKRBmciKpo9LulY41gch5c68htf3/Q= +cloud.google.com/go/certificatemanager v1.3.0/go.mod h1:n6twGDvcUBFu9uBgt4eYvvf3sQ6My8jADcOVwHmzadg= +cloud.google.com/go/certificatemanager v1.4.0/go.mod h1:vowpercVFyqs8ABSmrdV+GiFf2H/ch3KyudYQEMM590= +cloud.google.com/go/certificatemanager v1.6.0/go.mod h1:3Hh64rCKjRAX8dXgRAyOcY5vQ/fE1sh8o+Mdd6KPgY8= +cloud.google.com/go/channel v1.8.0/go.mod h1:W5SwCXDJsq/rg3tn3oG0LOxpAo6IMxNa09ngphpSlnk= +cloud.google.com/go/channel v1.9.0/go.mod h1:jcu05W0my9Vx4mt3/rEHpfxc9eKi9XwsdDL8yBMbKUk= +cloud.google.com/go/channel v1.11.0/go.mod h1:IdtI0uWGqhEeatSB62VOoJ8FSUhJ9/+iGkJVqp74CGE= +cloud.google.com/go/channel v1.12.0/go.mod h1:VkxCGKASi4Cq7TbXxlaBezonAYpp1GCnKMY6tnMQnLU= +cloud.google.com/go/cloudbuild v1.3.0/go.mod h1:WequR4ULxlqvMsjDEEEFnOG5ZSRSgWOywXYDb1vPE6U= +cloud.google.com/go/cloudbuild v1.4.0/go.mod h1:5Qwa40LHiOXmz3386FrjrYM93rM/hdRr7b53sySrTqA= +cloud.google.com/go/cloudbuild v1.6.0/go.mod h1:UIbc/w9QCbH12xX+ezUsgblrWv+Cv4Tw83GiSMHOn9M= +cloud.google.com/go/cloudbuild v1.7.0/go.mod h1:zb5tWh2XI6lR9zQmsm1VRA+7OCuve5d8S+zJUul8KTg= +cloud.google.com/go/cloudbuild v1.9.0/go.mod h1:qK1d7s4QlO0VwfYn5YuClDGg2hfmLZEb4wQGAbIgL1s= +cloud.google.com/go/clouddms v1.3.0/go.mod h1:oK6XsCDdW4Ib3jCCBugx+gVjevp2TMXFtgxvPSee3OM= +cloud.google.com/go/clouddms v1.4.0/go.mod h1:Eh7sUGCC+aKry14O1NRljhjyrr0NFC0G2cjwX0cByRk= +cloud.google.com/go/clouddms v1.5.0/go.mod h1:QSxQnhikCLUw13iAbffF2CZxAER3xDGNHjsTAkQJcQA= cloud.google.com/go/cloudtasks v1.5.0/go.mod h1:fD92REy1x5woxkKEkLdvavGnPJGEn8Uic9nWuLzqCpY= cloud.google.com/go/cloudtasks v1.6.0/go.mod h1:C6Io+sxuke9/KNRkbQpihnW93SWDU3uXt92nu85HkYI= +cloud.google.com/go/cloudtasks v1.7.0/go.mod h1:ImsfdYWwlWNJbdgPIIGJWC+gemEGTBK/SunNQQNCAb4= +cloud.google.com/go/cloudtasks v1.8.0/go.mod h1:gQXUIwCSOI4yPVK7DgTVFiiP0ZW/eQkydWzwVMdHxrI= +cloud.google.com/go/cloudtasks v1.9.0/go.mod h1:w+EyLsVkLWHcOaqNEyvcKAsWp9p29dL6uL9Nst1cI7Y= +cloud.google.com/go/cloudtasks v1.10.0/go.mod h1:NDSoTLkZ3+vExFEWu2UJV1arUyzVDAiZtdWcsUyNwBs= cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= @@ -73,146 +170,467 @@ cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= -cloud.google.com/go/compute v1.15.1 h1:7UGq3QknM33pw5xATlpzeoomNxsacIVvTqTTvbfajmE= +cloud.google.com/go/compute v1.12.0/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= +cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= +cloud.google.com/go/compute v1.13.0/go.mod h1:5aPTS0cUNMIc1CE546K+Th6weJUNQErARyZtRXDJ8GE= +cloud.google.com/go/compute v1.14.0/go.mod h1:YfLtxrj9sU4Yxv+sXzZkyPjEyPBZfXHUvjxega5vAdo= cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63rR+SXhcpA= +cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs= +cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU= +cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE= +cloud.google.com/go/compute v1.20.1 h1:6aKEtlUiwEpJzM001l0yFkpXmUVXaN8W+fbkb2AZNbg= +cloud.google.com/go/compute v1.20.1/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= +cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= +cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= +cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY= +cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck= +cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w= +cloud.google.com/go/container v1.6.0/go.mod h1:Xazp7GjJSeUYo688S+6J5V+n/t+G5sKBTFkKNudGRxg= +cloud.google.com/go/container v1.7.0/go.mod h1:Dp5AHtmothHGX3DwwIHPgq45Y8KmNsgN3amoYfxVkLo= +cloud.google.com/go/container v1.13.1/go.mod h1:6wgbMPeQRw9rSnKBCAJXnds3Pzj03C4JHamr8asWKy4= +cloud.google.com/go/container v1.14.0/go.mod h1:3AoJMPhHfLDxLvrlVWaK57IXzaPnLaZq63WX59aQBfM= +cloud.google.com/go/container v1.15.0/go.mod h1:ft+9S0WGjAyjDggg5S06DXj+fHJICWg8L7isCQe9pQA= cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= +cloud.google.com/go/containeranalysis v0.7.0/go.mod h1:9aUL+/vZ55P2CXfuZjS4UjQ9AgXoSw8Ts6lemfmxBxI= +cloud.google.com/go/containeranalysis v0.9.0/go.mod h1:orbOANbwk5Ejoom+s+DUCTTJ7IBdBQJDcSylAx/on9s= cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0= cloud.google.com/go/datacatalog v1.5.0/go.mod h1:M7GPLNQeLfWqeIm3iuiruhPzkt65+Bx8dAKvScX8jvs= cloud.google.com/go/datacatalog v1.6.0/go.mod h1:+aEyF8JKg+uXcIdAmmaMUmZ3q1b/lKLtXCmXdnc0lbc= +cloud.google.com/go/datacatalog v1.7.0/go.mod h1:9mEl4AuDYWw81UGc41HonIHH7/sn52H0/tc8f8ZbZIE= +cloud.google.com/go/datacatalog v1.8.0/go.mod h1:KYuoVOv9BM8EYz/4eMFxrr4DUKhGIOXxZoKYF5wdISM= +cloud.google.com/go/datacatalog v1.8.1/go.mod h1:RJ58z4rMp3gvETA465Vg+ag8BGgBdnRPEMMSTr5Uv+M= +cloud.google.com/go/datacatalog v1.12.0/go.mod h1:CWae8rFkfp6LzLumKOnmVh4+Zle4A3NXLzVJ1d1mRm0= +cloud.google.com/go/datacatalog v1.13.0/go.mod h1:E4Rj9a5ZtAxcQJlEBTLgMTphfP11/lNaAshpoBgemX8= cloud.google.com/go/dataflow v0.6.0/go.mod h1:9QwV89cGoxjjSR9/r7eFDqqjtvbKxAK2BaYU6PVk9UM= cloud.google.com/go/dataflow v0.7.0/go.mod h1:PX526vb4ijFMesO1o202EaUmouZKBpjHsTlCtB4parQ= +cloud.google.com/go/dataflow v0.8.0/go.mod h1:Rcf5YgTKPtQyYz8bLYhFoIV/vP39eL7fWNcSOyFfLJE= cloud.google.com/go/dataform v0.3.0/go.mod h1:cj8uNliRlHpa6L3yVhDOBrUXH+BPAO1+KFMQQNSThKo= cloud.google.com/go/dataform v0.4.0/go.mod h1:fwV6Y4Ty2yIFL89huYlEkwUPtS7YZinZbzzj5S9FzCE= +cloud.google.com/go/dataform v0.5.0/go.mod h1:GFUYRe8IBa2hcomWplodVmUx/iTL0FrsauObOM3Ipr0= +cloud.google.com/go/dataform v0.6.0/go.mod h1:QPflImQy33e29VuapFdf19oPbE4aYTJxr31OAPV+ulA= +cloud.google.com/go/dataform v0.7.0/go.mod h1:7NulqnVozfHvWUBpMDfKMUESr+85aJsC/2O0o3jWPDE= +cloud.google.com/go/datafusion v1.4.0/go.mod h1:1Zb6VN+W6ALo85cXnM1IKiPw+yQMKMhB9TsTSRDo/38= +cloud.google.com/go/datafusion v1.5.0/go.mod h1:Kz+l1FGHB0J+4XF2fud96WMmRiq/wj8N9u007vyXZ2w= +cloud.google.com/go/datafusion v1.6.0/go.mod h1:WBsMF8F1RhSXvVM8rCV3AeyWVxcC2xY6vith3iw3S+8= cloud.google.com/go/datalabeling v0.5.0/go.mod h1:TGcJ0G2NzcsXSE/97yWjIZO0bXj0KbVlINXMG9ud42I= cloud.google.com/go/datalabeling v0.6.0/go.mod h1:WqdISuk/+WIGeMkpw/1q7bK/tFEZxsrFJOJdY2bXvTQ= +cloud.google.com/go/datalabeling v0.7.0/go.mod h1:WPQb1y08RJbmpM3ww0CSUAGweL0SxByuW2E+FU+wXcM= +cloud.google.com/go/dataplex v1.3.0/go.mod h1:hQuRtDg+fCiFgC8j0zV222HvzFQdRd+SVX8gdmFcZzA= +cloud.google.com/go/dataplex v1.4.0/go.mod h1:X51GfLXEMVJ6UN47ESVqvlsRplbLhcsAt0kZCCKsU0A= +cloud.google.com/go/dataplex v1.5.2/go.mod h1:cVMgQHsmfRoI5KFYq4JtIBEUbYwc3c7tXmIDhRmNNVQ= +cloud.google.com/go/dataplex v1.6.0/go.mod h1:bMsomC/aEJOSpHXdFKFGQ1b0TDPIeL28nJObeO1ppRs= +cloud.google.com/go/dataproc v1.7.0/go.mod h1:CKAlMjII9H90RXaMpSxQ8EU6dQx6iAYNPcYPOkSbi8s= +cloud.google.com/go/dataproc v1.8.0/go.mod h1:5OW+zNAH0pMpw14JVrPONsxMQYMBqJuzORhIBfBn9uI= +cloud.google.com/go/dataproc v1.12.0/go.mod h1:zrF3aX0uV3ikkMz6z4uBbIKyhRITnxvr4i3IjKsKrw4= cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4cK3vbhkeo= cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA= +cloud.google.com/go/dataqna v0.7.0/go.mod h1:Lx9OcIIeqCrw1a6KdO3/5KMP1wAmTc0slZWwP12Qq3c= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/datastore v1.10.0/go.mod h1:PC5UzAmDEkAmkfaknstTYbNpgE49HAgW2J1gcgUfmdM= +cloud.google.com/go/datastore v1.11.0/go.mod h1:TvGxBIHCS50u8jzG+AW/ppf87v1of8nwzFNgEZU1D3c= cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo= cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ= +cloud.google.com/go/datastream v1.4.0/go.mod h1:h9dpzScPhDTs5noEMQVWP8Wx8AFBRyS0s8KWPx/9r0g= +cloud.google.com/go/datastream v1.5.0/go.mod h1:6TZMMNPwjUqZHBKPQ1wwXpb0d5VDVPl2/XoS5yi88q4= +cloud.google.com/go/datastream v1.6.0/go.mod h1:6LQSuswqLa7S4rPAOZFVjHIG3wJIjZcZrw8JDEDJuIs= +cloud.google.com/go/datastream v1.7.0/go.mod h1:uxVRMm2elUSPuh65IbZpzJNMbuzkcvu5CjMqVIUHrww= +cloud.google.com/go/deploy v1.4.0/go.mod h1:5Xghikd4VrmMLNaF6FiRFDlHb59VM59YoDQnOUdsH/c= +cloud.google.com/go/deploy v1.5.0/go.mod h1:ffgdD0B89tToyW/U/D2eL0jN2+IEV/3EMuXHA0l4r+s= +cloud.google.com/go/deploy v1.6.0/go.mod h1:f9PTHehG/DjCom3QH0cntOVRm93uGBDt2vKzAPwpXQI= +cloud.google.com/go/deploy v1.8.0/go.mod h1:z3myEJnA/2wnB4sgjqdMfgxCA0EqC3RBTNcVPs93mtQ= cloud.google.com/go/dialogflow v1.15.0/go.mod h1:HbHDWs33WOGJgn6rfzBW1Kv807BE3O1+xGbn59zZWI4= cloud.google.com/go/dialogflow v1.16.1/go.mod h1:po6LlzGfK+smoSmTBnbkIZY2w8ffjz/RcGSS+sh1el0= cloud.google.com/go/dialogflow v1.17.0/go.mod h1:YNP09C/kXA1aZdBgC/VtXX74G/TKn7XVCcVumTflA+8= +cloud.google.com/go/dialogflow v1.18.0/go.mod h1:trO7Zu5YdyEuR+BhSNOqJezyFQ3aUzz0njv7sMx/iek= +cloud.google.com/go/dialogflow v1.19.0/go.mod h1:JVmlG1TwykZDtxtTXujec4tQ+D8SBFMoosgy+6Gn0s0= +cloud.google.com/go/dialogflow v1.29.0/go.mod h1:b+2bzMe+k1s9V+F2jbJwpHPzrnIyHihAdRFMtn2WXuM= +cloud.google.com/go/dialogflow v1.31.0/go.mod h1:cuoUccuL1Z+HADhyIA7dci3N5zUssgpBJmCzI6fNRB4= +cloud.google.com/go/dialogflow v1.32.0/go.mod h1:jG9TRJl8CKrDhMEcvfcfFkkpp8ZhgPz3sBGmAUYJ2qE= +cloud.google.com/go/dlp v1.6.0/go.mod h1:9eyB2xIhpU0sVwUixfBubDoRwP+GjeUoxxeueZmqvmM= +cloud.google.com/go/dlp v1.7.0/go.mod h1:68ak9vCiMBjbasxeVD17hVPxDEck+ExiHavX8kiHG+Q= +cloud.google.com/go/dlp v1.9.0/go.mod h1:qdgmqgTyReTz5/YNSSuueR8pl7hO0o9bQ39ZhtgkWp4= cloud.google.com/go/documentai v1.7.0/go.mod h1:lJvftZB5NRiFSX4moiye1SMxHx0Bc3x1+p9e/RfXYiU= cloud.google.com/go/documentai v1.8.0/go.mod h1:xGHNEB7CtsnySCNrCFdCyyMz44RhFEEX2Q7UD0c5IhU= +cloud.google.com/go/documentai v1.9.0/go.mod h1:FS5485S8R00U10GhgBC0aNGrJxBP8ZVpEeJ7PQDZd6k= +cloud.google.com/go/documentai v1.10.0/go.mod h1:vod47hKQIPeCfN2QS/jULIvQTugbmdc0ZvxxfQY1bg4= +cloud.google.com/go/documentai v1.16.0/go.mod h1:o0o0DLTEZ+YnJZ+J4wNfTxmDVyrkzFvttBXXtYRMHkM= +cloud.google.com/go/documentai v1.18.0/go.mod h1:F6CK6iUH8J81FehpskRmhLq/3VlwQvb7TvwOceQ2tbs= cloud.google.com/go/domains v0.6.0/go.mod h1:T9Rz3GasrpYk6mEGHh4rymIhjlnIuB4ofT1wTxDeT4Y= cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg= +cloud.google.com/go/domains v0.8.0/go.mod h1:M9i3MMDzGFXsydri9/vW+EWz9sWb4I6WyHqdlAk0idE= cloud.google.com/go/edgecontainer v0.1.0/go.mod h1:WgkZ9tp10bFxqO8BLPqv2LlfmQF1X8lZqwW4r1BTajk= cloud.google.com/go/edgecontainer v0.2.0/go.mod h1:RTmLijy+lGpQ7BXuTDa4C4ssxyXT34NIuHIgKuP4s5w= +cloud.google.com/go/edgecontainer v0.3.0/go.mod h1:FLDpP4nykgwwIfcLt6zInhprzw0lEi2P1fjO6Ie0qbc= +cloud.google.com/go/edgecontainer v1.0.0/go.mod h1:cttArqZpBB2q58W/upSG++ooo6EsblxDIolxa3jSjbY= +cloud.google.com/go/errorreporting v0.3.0/go.mod h1:xsP2yaAp+OAW4OIm60An2bbLpqIhKXdWR/tawvl7QzU= +cloud.google.com/go/essentialcontacts v1.3.0/go.mod h1:r+OnHa5jfj90qIfZDO/VztSFqbQan7HV75p8sA+mdGI= +cloud.google.com/go/essentialcontacts v1.4.0/go.mod h1:8tRldvHYsmnBCHdFpvU+GL75oWiBKl80BiqlFh9tp+8= +cloud.google.com/go/essentialcontacts v1.5.0/go.mod h1:ay29Z4zODTuwliK7SnX8E86aUF2CTzdNtvv42niCX0M= +cloud.google.com/go/eventarc v1.7.0/go.mod h1:6ctpF3zTnaQCxUjHUdcfgcA1A2T309+omHZth7gDfmc= +cloud.google.com/go/eventarc v1.8.0/go.mod h1:imbzxkyAU4ubfsaKYdQg04WS1NvncblHEup4kvF+4gw= +cloud.google.com/go/eventarc v1.10.0/go.mod h1:u3R35tmZ9HvswGRBnF48IlYgYeBcPUCjkr4BTdem2Kw= +cloud.google.com/go/eventarc v1.11.0/go.mod h1:PyUjsUKPWoRBCHeOxZd/lbOOjahV41icXyUY5kSTvVY= +cloud.google.com/go/filestore v1.3.0/go.mod h1:+qbvHGvXU1HaKX2nD0WEPo92TP/8AQuCVEBXNY9z0+w= +cloud.google.com/go/filestore v1.4.0/go.mod h1:PaG5oDfo9r224f8OYXURtAsY+Fbyq/bLYoINEK8XQAI= +cloud.google.com/go/filestore v1.5.0/go.mod h1:FqBXDWBp4YLHqRnVGveOkHDf8svj9r5+mUDLupOWEDs= +cloud.google.com/go/filestore v1.6.0/go.mod h1:di5unNuss/qfZTw2U9nhFqo8/ZDSc466dre85Kydllg= cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= +cloud.google.com/go/firestore v1.9.0/go.mod h1:HMkjKHNTtRyZNiMzu7YAsLr9K3X2udY2AMwDaMEQiiE= cloud.google.com/go/functions v1.6.0/go.mod h1:3H1UA3qiIPRWD7PeZKLvHZ9SaQhR26XIJcC0A5GbvAk= cloud.google.com/go/functions v1.7.0/go.mod h1:+d+QBcWM+RsrgZfV9xo6KfA1GlzJfxcfZcRPEhDDfzg= +cloud.google.com/go/functions v1.8.0/go.mod h1:RTZ4/HsQjIqIYP9a9YPbU+QFoQsAlYgrwOXJWHn1POY= +cloud.google.com/go/functions v1.9.0/go.mod h1:Y+Dz8yGguzO3PpIjhLTbnqV1CWmgQ5UwtlpzoyquQ08= +cloud.google.com/go/functions v1.10.0/go.mod h1:0D3hEOe3DbEvCXtYOZHQZmD+SzYsi1YbI7dGvHfldXw= +cloud.google.com/go/functions v1.12.0/go.mod h1:AXWGrF3e2C/5ehvwYo/GH6O5s09tOPksiKhz+hH8WkA= +cloud.google.com/go/functions v1.13.0/go.mod h1:EU4O007sQm6Ef/PwRsI8N2umygGqPBS/IZQKBQBcJ3c= cloud.google.com/go/gaming v1.5.0/go.mod h1:ol7rGcxP/qHTRQE/RO4bxkXq+Fix0j6D4LFPzYTIrDM= cloud.google.com/go/gaming v1.6.0/go.mod h1:YMU1GEvA39Qt3zWGyAVA9bpYz/yAhTvaQ1t2sK4KPUA= +cloud.google.com/go/gaming v1.7.0/go.mod h1:LrB8U7MHdGgFG851iHAfqUdLcKBdQ55hzXy9xBJz0+w= +cloud.google.com/go/gaming v1.8.0/go.mod h1:xAqjS8b7jAVW0KFYeRUxngo9My3f33kFmua++Pi+ggM= +cloud.google.com/go/gaming v1.9.0/go.mod h1:Fc7kEmCObylSWLO334NcO+O9QMDyz+TKC4v1D7X+Bc0= +cloud.google.com/go/gkebackup v0.2.0/go.mod h1:XKvv/4LfG829/B8B7xRkk8zRrOEbKtEam6yNfuQNH60= +cloud.google.com/go/gkebackup v0.3.0/go.mod h1:n/E671i1aOQvUxT541aTkCwExO/bTer2HDlj4TsBRAo= +cloud.google.com/go/gkebackup v0.4.0/go.mod h1:byAyBGUwYGEEww7xsbnUTBHIYcOPy/PgUWUtOeRm9Vg= cloud.google.com/go/gkeconnect v0.5.0/go.mod h1:c5lsNAg5EwAy7fkqX/+goqFsU1Da/jQFqArp+wGNr/o= cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A= +cloud.google.com/go/gkeconnect v0.7.0/go.mod h1:SNfmVqPkaEi3bF/B3CNZOAYPYdg7sU+obZ+QTky2Myw= cloud.google.com/go/gkehub v0.9.0/go.mod h1:WYHN6WG8w9bXU0hqNxt8rm5uxnk8IH+lPY9J2TV7BK0= cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0= +cloud.google.com/go/gkehub v0.11.0/go.mod h1:JOWHlmN+GHyIbuWQPl47/C2RFhnFKH38jH9Ascu3n0E= +cloud.google.com/go/gkehub v0.12.0/go.mod h1:djiIwwzTTBrF5NaXCGv3mf7klpEMcST17VBTVVDcuaw= +cloud.google.com/go/gkemulticloud v0.3.0/go.mod h1:7orzy7O0S+5kq95e4Hpn7RysVA7dPs8W/GgfUtsPbrA= +cloud.google.com/go/gkemulticloud v0.4.0/go.mod h1:E9gxVBnseLWCk24ch+P9+B2CoDFJZTyIgLKSalC7tuI= +cloud.google.com/go/gkemulticloud v0.5.0/go.mod h1:W0JDkiyi3Tqh0TJr//y19wyb1yf8llHVto2Htf2Ja3Y= cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= +cloud.google.com/go/gsuiteaddons v1.3.0/go.mod h1:EUNK/J1lZEZO8yPtykKxLXI6JSVN2rg9bN8SXOa0bgM= +cloud.google.com/go/gsuiteaddons v1.4.0/go.mod h1:rZK5I8hht7u7HxFQcFei0+AtfS9uSushomRlg+3ua1o= +cloud.google.com/go/gsuiteaddons v1.5.0/go.mod h1:TFCClYLd64Eaa12sFVmUyG62tk4mdIsI7pAnSXRkcFo= cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= -cloud.google.com/go/iam v0.8.0 h1:E2osAkZzxI/+8pZcxVLcDtAQx/u+hZXVryUaYQ5O0Kk= +cloud.google.com/go/iam v0.6.0/go.mod h1:+1AH33ueBne5MzYccyMHtEKqLE4/kJOibtffMHDMFMc= +cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQEYOeg= cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGESjkE= +cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY= +cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY= +cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= +cloud.google.com/go/iam v1.1.1 h1:lW7fzj15aVIXYHREOqjRBV9PsH0Z6u8Y46a1YGvQP4Y= +cloud.google.com/go/iam v1.1.1/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= +cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= +cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= +cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk= +cloud.google.com/go/iap v1.7.0/go.mod h1:beqQx56T9O1G1yNPph+spKpNibDlYIiIixiqsQXxLIo= +cloud.google.com/go/iap v1.7.1/go.mod h1:WapEwPc7ZxGt2jFGB/C/bm+hP0Y6NXzOYGjpPnmMS74= +cloud.google.com/go/ids v1.1.0/go.mod h1:WIuwCaYVOzHIj2OhN9HAwvW+DBdmUAdcWlFxRl+KubM= +cloud.google.com/go/ids v1.2.0/go.mod h1:5WXvp4n25S0rA/mQWAg1YEEBBq6/s+7ml1RDCW1IrcY= +cloud.google.com/go/ids v1.3.0/go.mod h1:JBdTYwANikFKaDP6LtW5JAi4gubs57SVNQjemdt6xV4= +cloud.google.com/go/iot v1.3.0/go.mod h1:r7RGh2B61+B8oz0AGE+J72AhA0G7tdXItODWsaA2oLs= +cloud.google.com/go/iot v1.4.0/go.mod h1:dIDxPOn0UvNDUMD8Ger7FIaTuvMkj+aGk94RPP0iV+g= +cloud.google.com/go/iot v1.5.0/go.mod h1:mpz5259PDl3XJthEmh9+ap0affn/MqNSP4My77Qql9o= +cloud.google.com/go/iot v1.6.0/go.mod h1:IqdAsmE2cTYYNO1Fvjfzo9po179rAtJeVGUvkLN3rLE= cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= -cloud.google.com/go/kms v1.6.0 h1:OWRZzrPmOZUzurjI2FBGtgY2mB1WaJkqhw6oIwSj0Yg= +cloud.google.com/go/kms v1.5.0/go.mod h1:QJS2YY0eJGBg3mnDfuaCyLauWwBJiHRboYxJ++1xJNg= cloud.google.com/go/kms v1.6.0/go.mod h1:Jjy850yySiasBUDi6KFUwUv2n1+o7QZFyuUJg6OgjA0= +cloud.google.com/go/kms v1.8.0/go.mod h1:4xFEhYFqvW+4VMELtZyxomGSYtSQKzM178ylFW4jMAg= +cloud.google.com/go/kms v1.9.0/go.mod h1:qb1tPTgfF9RQP8e1wq4cLFErVuTJv7UsSC915J8dh3w= +cloud.google.com/go/kms v1.10.0/go.mod h1:ng3KTUtQQU9bPX3+QGLsflZIHlkbn8amFAMY63m8d24= +cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI= +cloud.google.com/go/kms v1.12.1 h1:xZmZuwy2cwzsocmKDOPu4BL7umg8QXagQx6fKVmf45U= +cloud.google.com/go/kms v1.12.1/go.mod h1:c9J991h5DTl+kg7gi3MYomh12YEENGrf48ee/N/2CDM= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= +cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE= +cloud.google.com/go/language v1.8.0/go.mod h1:qYPVHf7SPoNNiCL2Dr0FfEFNil1qi3pQEyygwpgVKB8= +cloud.google.com/go/language v1.9.0/go.mod h1:Ns15WooPM5Ad/5no/0n81yUetis74g3zrbeJBE+ptUY= cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= -cloud.google.com/go/logging v1.6.1 h1:ZBsZK+JG+oCDT+vaxwqF2egKNRjz8soXiS6Xv79benI= +cloud.google.com/go/lifesciences v0.8.0/go.mod h1:lFxiEOMqII6XggGbOnKiyZ7IBwoIqA84ClvoezaA/bo= cloud.google.com/go/logging v1.6.1/go.mod h1:5ZO0mHHbvm8gEmeEUHrmDlTDSu5imF6MUP9OfilNXBw= -cloud.google.com/go/longrunning v0.3.0 h1:NjljC+FYPV3uh5/OwWT6pVU+doBqMg2x/rZlE+CamDs= +cloud.google.com/go/logging v1.7.0 h1:CJYxlNNNNAMkHp9em/YEXcfJg+rPDg7YfwoRpMU+t5I= +cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M= +cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE= cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= +cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo= +cloud.google.com/go/longrunning v0.5.1 h1:Fr7TXftcqTudoyRJa113hyaqlGdiBQkp0Gq7tErFDWI= +cloud.google.com/go/longrunning v0.5.1/go.mod h1:spvimkwdz6SPWKEt/XBij79E9fiTkHSQl/fRUUQJYJc= +cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= +cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= +cloud.google.com/go/managedidentities v1.5.0/go.mod h1:+dWcZ0JlUmpuxpIDfyP5pP5y0bLdRwOS4Lp7gMni/LA= +cloud.google.com/go/maps v0.1.0/go.mod h1:BQM97WGyfw9FWEmQMpZ5T6cpovXXSd1cGmFma94eubI= +cloud.google.com/go/maps v0.6.0/go.mod h1:o6DAMMfb+aINHz/p/jbcY+mYeXBoZoxTfdSQ8VAJaCw= +cloud.google.com/go/maps v0.7.0/go.mod h1:3GnvVl3cqeSvgMcpRlQidXsPYuDGQ8naBis7MVzpXsY= cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= +cloud.google.com/go/mediatranslation v0.7.0/go.mod h1:LCnB/gZr90ONOIQLgSXagp8XUW1ODs2UmUMvcgMfI2I= cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= cloud.google.com/go/memcache v1.5.0/go.mod h1:dk3fCK7dVo0cUU2c36jKb4VqKPS22BTkf81Xq617aWM= +cloud.google.com/go/memcache v1.6.0/go.mod h1:XS5xB0eQZdHtTuTF9Hf8eJkKtR3pVRCcvJwtm68T3rA= +cloud.google.com/go/memcache v1.7.0/go.mod h1:ywMKfjWhNtkQTxrWxCkCFkoPjLHPW6A7WOTVI8xy3LY= +cloud.google.com/go/memcache v1.9.0/go.mod h1:8oEyzXCu+zo9RzlEaEjHl4KkgjlNDaXbCQeQWlzNFJM= cloud.google.com/go/metastore v1.5.0/go.mod h1:2ZNrDcQwghfdtCwJ33nM0+GrBGlVuh8rakL3vdPY3XY= cloud.google.com/go/metastore v1.6.0/go.mod h1:6cyQTls8CWXzk45G55x57DVQ9gWg7RiH65+YgPsNh9s= +cloud.google.com/go/metastore v1.7.0/go.mod h1:s45D0B4IlsINu87/AsWiEVYbLaIMeUSoxlKKDqBGFS8= +cloud.google.com/go/metastore v1.8.0/go.mod h1:zHiMc4ZUpBiM7twCIFQmJ9JMEkDSyZS9U12uf7wHqSI= +cloud.google.com/go/metastore v1.10.0/go.mod h1:fPEnH3g4JJAk+gMRnrAnoqyv2lpUCqJPWOodSaf45Eo= cloud.google.com/go/monitoring v1.1.0/go.mod h1:L81pzz7HKn14QCMaCs6NTQkdBnE87TElyanS95vIcl4= cloud.google.com/go/monitoring v1.5.0/go.mod h1:/o9y8NYX5j91JjD/JvGLYbi86kL11OjyJXq2XziLJu4= +cloud.google.com/go/monitoring v1.7.0/go.mod h1:HpYse6kkGo//7p6sT0wsIC6IBDET0RhIsnmlA53dvEk= +cloud.google.com/go/monitoring v1.8.0/go.mod h1:E7PtoMJ1kQXWxPjB6mv2fhC5/15jInuulFdYYtlcvT4= +cloud.google.com/go/monitoring v1.12.0/go.mod h1:yx8Jj2fZNEkL/GYZyTLS4ZtZEZN8WtDEiEqG4kLK50w= +cloud.google.com/go/monitoring v1.13.0/go.mod h1:k2yMBAB1H9JT/QETjNkgdCGD9bPF712XiLTVr+cBrpw= cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA= cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o= +cloud.google.com/go/networkconnectivity v1.6.0/go.mod h1:OJOoEXW+0LAxHh89nXd64uGG+FbQoeH8DtxCHVOMlaM= +cloud.google.com/go/networkconnectivity v1.7.0/go.mod h1:RMuSbkdbPwNMQjB5HBWD5MpTBnNm39iAVpC3TmsExt8= +cloud.google.com/go/networkconnectivity v1.10.0/go.mod h1:UP4O4sWXJG13AqrTdQCD9TnLGEbtNRqjuaaA7bNjF5E= +cloud.google.com/go/networkconnectivity v1.11.0/go.mod h1:iWmDD4QF16VCDLXUqvyspJjIEtBR/4zq5hwnY2X3scM= +cloud.google.com/go/networkmanagement v1.4.0/go.mod h1:Q9mdLLRn60AsOrPc8rs8iNV6OHXaGcDdsIQe1ohekq8= +cloud.google.com/go/networkmanagement v1.5.0/go.mod h1:ZnOeZ/evzUdUsnvRt792H0uYEnHQEMaz+REhhzJRcf4= +cloud.google.com/go/networkmanagement v1.6.0/go.mod h1:5pKPqyXjB/sgtvB5xqOemumoQNB7y95Q7S+4rjSOPYY= cloud.google.com/go/networksecurity v0.5.0/go.mod h1:xS6fOCoqpVC5zx15Z/MqkfDwH4+m/61A3ODiDV1xmiQ= cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU= +cloud.google.com/go/networksecurity v0.7.0/go.mod h1:mAnzoxx/8TBSyXEeESMy9OOYwo1v+gZ5eMRnsT5bC8k= +cloud.google.com/go/networksecurity v0.8.0/go.mod h1:B78DkqsxFG5zRSVuwYFRZ9Xz8IcQ5iECsNrPn74hKHU= cloud.google.com/go/notebooks v1.2.0/go.mod h1:9+wtppMfVPUeJ8fIWPOq1UnATHISkGXGqTkxeieQ6UY= cloud.google.com/go/notebooks v1.3.0/go.mod h1:bFR5lj07DtCPC7YAAJ//vHskFBxA5JzYlH68kXVdk34= +cloud.google.com/go/notebooks v1.4.0/go.mod h1:4QPMngcwmgb6uw7Po99B2xv5ufVoIQ7nOGDyL4P8AgA= +cloud.google.com/go/notebooks v1.5.0/go.mod h1:q8mwhnP9aR8Hpfnrc5iN5IBhrXUy8S2vuYs+kBJ/gu0= +cloud.google.com/go/notebooks v1.7.0/go.mod h1:PVlaDGfJgj1fl1S3dUwhFMXFgfYGhYQt2164xOMONmE= +cloud.google.com/go/notebooks v1.8.0/go.mod h1:Lq6dYKOYOWUCTvw5t2q1gp1lAp0zxAxRycayS0iJcqQ= +cloud.google.com/go/optimization v1.1.0/go.mod h1:5po+wfvX5AQlPznyVEZjGJTMr4+CAkJf2XSTQOOl9l4= +cloud.google.com/go/optimization v1.2.0/go.mod h1:Lr7SOHdRDENsh+WXVmQhQTrzdu9ybg0NecjHidBq6xs= +cloud.google.com/go/optimization v1.3.1/go.mod h1:IvUSefKiwd1a5p0RgHDbWCIbDFgKuEdB+fPPuP0IDLI= +cloud.google.com/go/orchestration v1.3.0/go.mod h1:Sj5tq/JpWiB//X/q3Ngwdl5K7B7Y0KZ7bfv0wL6fqVA= +cloud.google.com/go/orchestration v1.4.0/go.mod h1:6W5NLFWs2TlniBphAViZEVhrXRSMgUGDfW7vrWKvsBk= +cloud.google.com/go/orchestration v1.6.0/go.mod h1:M62Bevp7pkxStDfFfTuCOaXgaaqRAga1yKyoMtEoWPQ= +cloud.google.com/go/orgpolicy v1.4.0/go.mod h1:xrSLIV4RePWmP9P3tBl8S93lTmlAxjm06NSm2UTmKvE= +cloud.google.com/go/orgpolicy v1.5.0/go.mod h1:hZEc5q3wzwXJaKrsx5+Ewg0u1LxJ51nNFlext7Tanwc= +cloud.google.com/go/orgpolicy v1.10.0/go.mod h1:w1fo8b7rRqlXlIJbVhOMPrwVljyuW5mqssvBtU18ONc= cloud.google.com/go/osconfig v1.7.0/go.mod h1:oVHeCeZELfJP7XLxcBGTMBvRO+1nQ5tFG9VQTmYS2Fs= cloud.google.com/go/osconfig v1.8.0/go.mod h1:EQqZLu5w5XA7eKizepumcvWx+m8mJUhEwiPqWiZeEdg= +cloud.google.com/go/osconfig v1.9.0/go.mod h1:Yx+IeIZJ3bdWmzbQU4fxNl8xsZ4amB+dygAwFPlvnNo= +cloud.google.com/go/osconfig v1.10.0/go.mod h1:uMhCzqC5I8zfD9zDEAfvgVhDS8oIjySWh+l4WK6GnWw= +cloud.google.com/go/osconfig v1.11.0/go.mod h1:aDICxrur2ogRd9zY5ytBLV89KEgT2MKB2L/n6x1ooPw= cloud.google.com/go/oslogin v1.4.0/go.mod h1:YdgMXWRaElXz/lDk1Na6Fh5orF7gvmJ0FGLIs9LId4E= cloud.google.com/go/oslogin v1.5.0/go.mod h1:D260Qj11W2qx/HVF29zBg+0fd6YCSjSqLUkY/qEenQU= +cloud.google.com/go/oslogin v1.6.0/go.mod h1:zOJ1O3+dTU8WPlGEkFSh7qeHPPSoxrcMbbK1Nm2iX70= +cloud.google.com/go/oslogin v1.7.0/go.mod h1:e04SN0xO1UNJ1M5GP0vzVBFicIe4O53FOfcixIqTyXo= +cloud.google.com/go/oslogin v1.9.0/go.mod h1:HNavntnH8nzrn8JCTT5fj18FuJLFJc4NaZJtBnQtKFs= cloud.google.com/go/phishingprotection v0.5.0/go.mod h1:Y3HZknsK9bc9dMi+oE8Bim0lczMU6hrX0UpADuMefr0= cloud.google.com/go/phishingprotection v0.6.0/go.mod h1:9Y3LBLgy0kDTcYET8ZH3bq/7qni15yVUoAxiFxnlSUA= +cloud.google.com/go/phishingprotection v0.7.0/go.mod h1:8qJI4QKHoda/sb/7/YmMQ2omRLSLYSu9bU0EKCNI+Lk= +cloud.google.com/go/policytroubleshooter v1.3.0/go.mod h1:qy0+VwANja+kKrjlQuOzmlvscn4RNsAc0e15GGqfMxg= +cloud.google.com/go/policytroubleshooter v1.4.0/go.mod h1:DZT4BcRw3QoO8ota9xw/LKtPa8lKeCByYeKTIf/vxdE= +cloud.google.com/go/policytroubleshooter v1.5.0/go.mod h1:Rz1WfV+1oIpPdN2VvvuboLVRsB1Hclg3CKQ53j9l8vw= +cloud.google.com/go/policytroubleshooter v1.6.0/go.mod h1:zYqaPTsmfvpjm5ULxAyD/lINQxJ0DDsnWOP/GZ7xzBc= cloud.google.com/go/privatecatalog v0.5.0/go.mod h1:XgosMUvvPyxDjAVNDYxJ7wBW8//hLDDYmnsNcMGq1K0= cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI= +cloud.google.com/go/privatecatalog v0.7.0/go.mod h1:2s5ssIFO69F5csTXcwBP7NPFTZvps26xGzvQ2PQaBYg= +cloud.google.com/go/privatecatalog v0.8.0/go.mod h1:nQ6pfaegeDAq/Q5lrfCQzQLhubPiZhSaNhIgfJlnIXs= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= cloud.google.com/go/pubsub v1.24.0/go.mod h1:rWv09Te1SsRpRGPiWOMDKraMQTJyJps4MkUCoMGUgqw= +cloud.google.com/go/pubsub v1.26.0/go.mod h1:QgBH3U/jdJy/ftjPhTkyXNj543Tin1pRYcdcPRnFIRI= +cloud.google.com/go/pubsub v1.27.1/go.mod h1:hQN39ymbV9geqBnfQq6Xf63yNhUAhv9CZhzp5O6qsW0= +cloud.google.com/go/pubsub v1.28.0/go.mod h1:vuXFpwaVoIPQMGXqRyUQigu/AX1S3IWugR9xznmcXX8= +cloud.google.com/go/pubsub v1.30.0/go.mod h1:qWi1OPS0B+b5L+Sg6Gmc9zD1Y+HaM0MdUr7LsupY1P4= +cloud.google.com/go/pubsublite v1.5.0/go.mod h1:xapqNQ1CuLfGi23Yda/9l4bBCKz/wC3KIJ5gKcxveZg= +cloud.google.com/go/pubsublite v1.6.0/go.mod h1:1eFCS0U11xlOuMFV/0iBqw3zP12kddMeCbj/F3FSj9k= +cloud.google.com/go/pubsublite v1.7.0/go.mod h1:8hVMwRXfDfvGm3fahVbtDbiLePT3gpoiJYJY+vxWxVM= cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4= cloud.google.com/go/recaptchaenterprise/v2 v2.1.0/go.mod h1:w9yVqajwroDNTfGuhmOjPDN//rZGySaf6PtFVcSCa7o= cloud.google.com/go/recaptchaenterprise/v2 v2.2.0/go.mod h1:/Zu5jisWGeERrd5HnlS3EUGb/D335f9k51B/FVil0jk= cloud.google.com/go/recaptchaenterprise/v2 v2.3.0/go.mod h1:O9LwGCjrhGHBQET5CA7dd5NwwNQUErSgEDit1DLNTdo= +cloud.google.com/go/recaptchaenterprise/v2 v2.4.0/go.mod h1:Am3LHfOuBstrLrNCBrlI5sbwx9LBg3te2N6hGvHn2mE= +cloud.google.com/go/recaptchaenterprise/v2 v2.5.0/go.mod h1:O8LzcHXN3rz0j+LBC91jrwI3R+1ZSZEWrfL7XHgNo9U= +cloud.google.com/go/recaptchaenterprise/v2 v2.6.0/go.mod h1:RPauz9jeLtB3JVzg6nCbe12qNoaa8pXc4d/YukAmcnA= +cloud.google.com/go/recaptchaenterprise/v2 v2.7.0/go.mod h1:19wVj/fs5RtYtynAPJdDTb69oW0vNHYDBTbB4NvMD9c= cloud.google.com/go/recommendationengine v0.5.0/go.mod h1:E5756pJcVFeVgaQv3WNpImkFP8a+RptV6dDLGPILjvg= cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4= +cloud.google.com/go/recommendationengine v0.7.0/go.mod h1:1reUcE3GIu6MeBz/h5xZJqNLuuVjNg1lmWMPyjatzac= cloud.google.com/go/recommender v1.5.0/go.mod h1:jdoeiBIVrJe9gQjwd759ecLJbxCDED4A6p+mqoqDvTg= cloud.google.com/go/recommender v1.6.0/go.mod h1:+yETpm25mcoiECKh9DEScGzIRyDKpZ0cEhWGo+8bo+c= +cloud.google.com/go/recommender v1.7.0/go.mod h1:XLHs/W+T8olwlGOgfQenXBTbIseGclClff6lhFVe9Bs= +cloud.google.com/go/recommender v1.8.0/go.mod h1:PkjXrTT05BFKwxaUxQmtIlrtj0kph108r02ZZQ5FE70= +cloud.google.com/go/recommender v1.9.0/go.mod h1:PnSsnZY7q+VL1uax2JWkt/UegHssxjUVVCrX52CuEmQ= cloud.google.com/go/redis v1.7.0/go.mod h1:V3x5Jq1jzUcg+UNsRvdmsfuFnit1cfe3Z/PGyq/lm4Y= cloud.google.com/go/redis v1.8.0/go.mod h1:Fm2szCDavWzBk2cDKxrkmWBqoCiL1+Ctwq7EyqBCA/A= +cloud.google.com/go/redis v1.9.0/go.mod h1:HMYQuajvb2D0LvMgZmLDZW8V5aOC/WxstZHiy4g8OiA= +cloud.google.com/go/redis v1.10.0/go.mod h1:ThJf3mMBQtW18JzGgh41/Wld6vnDDc/F/F35UolRZPM= +cloud.google.com/go/redis v1.11.0/go.mod h1:/X6eicana+BWcUda5PpwZC48o37SiFVTFSs0fWAJ7uQ= +cloud.google.com/go/resourcemanager v1.3.0/go.mod h1:bAtrTjZQFJkiWTPDb1WBjzvc6/kifjj4QBYuKCCoqKA= +cloud.google.com/go/resourcemanager v1.4.0/go.mod h1:MwxuzkumyTX7/a3n37gmsT3py7LIXwrShilPh3P1tR0= +cloud.google.com/go/resourcemanager v1.5.0/go.mod h1:eQoXNAiAvCf5PXxWxXjhKQoTMaUSNrEfg+6qdf/wots= +cloud.google.com/go/resourcemanager v1.6.0/go.mod h1:YcpXGRs8fDzcUl1Xw8uOVmI8JEadvhRIkoXXUNVYcVo= +cloud.google.com/go/resourcemanager v1.7.0/go.mod h1:HlD3m6+bwhzj9XCouqmeiGuni95NTrExfhoSrkC/3EI= +cloud.google.com/go/resourcesettings v1.3.0/go.mod h1:lzew8VfESA5DQ8gdlHwMrqZs1S9V87v3oCnKCWoOuQU= +cloud.google.com/go/resourcesettings v1.4.0/go.mod h1:ldiH9IJpcrlC3VSuCGvjR5of/ezRrOxFtpJoJo5SmXg= +cloud.google.com/go/resourcesettings v1.5.0/go.mod h1:+xJF7QSG6undsQDfsCJyqWXyBwUoJLhetkRMDRnIoXA= cloud.google.com/go/retail v1.8.0/go.mod h1:QblKS8waDmNUhghY2TI9O3JLlFk8jybHeV4BF19FrE4= cloud.google.com/go/retail v1.9.0/go.mod h1:g6jb6mKuCS1QKnH/dpu7isX253absFl6iE92nHwlBUY= +cloud.google.com/go/retail v1.10.0/go.mod h1:2gDk9HsL4HMS4oZwz6daui2/jmKvqShXKQuB2RZ+cCc= +cloud.google.com/go/retail v1.11.0/go.mod h1:MBLk1NaWPmh6iVFSz9MeKG/Psyd7TAgm6y/9L2B4x9Y= +cloud.google.com/go/retail v1.12.0/go.mod h1:UMkelN/0Z8XvKymXFbD4EhFJlYKRx1FGhQkVPU5kF14= +cloud.google.com/go/run v0.2.0/go.mod h1:CNtKsTA1sDcnqqIFR3Pb5Tq0usWxJJvsWOCPldRU3Do= +cloud.google.com/go/run v0.3.0/go.mod h1:TuyY1+taHxTjrD0ZFk2iAR+xyOXEA0ztb7U3UNA0zBo= +cloud.google.com/go/run v0.8.0/go.mod h1:VniEnuBwqjigv0A7ONfQUaEItaiCRVujlMqerPPiktM= +cloud.google.com/go/run v0.9.0/go.mod h1:Wwu+/vvg8Y+JUApMwEDfVfhetv30hCG4ZwDR/IXl2Qg= cloud.google.com/go/scheduler v1.4.0/go.mod h1:drcJBmxF3aqZJRhmkHQ9b3uSSpQoltBPGPxGAWROx6s= cloud.google.com/go/scheduler v1.5.0/go.mod h1:ri073ym49NW3AfT6DZi21vLZrG07GXr5p3H1KxN5QlI= +cloud.google.com/go/scheduler v1.6.0/go.mod h1:SgeKVM7MIwPn3BqtcBntpLyrIJftQISRrYB5ZtT+KOk= +cloud.google.com/go/scheduler v1.7.0/go.mod h1:jyCiBqWW956uBjjPMMuX09n3x37mtyPJegEWKxRsn44= +cloud.google.com/go/scheduler v1.8.0/go.mod h1:TCET+Y5Gp1YgHT8py4nlg2Sew8nUHMqcpousDgXJVQc= +cloud.google.com/go/scheduler v1.9.0/go.mod h1:yexg5t+KSmqu+njTIh3b7oYPheFtBWGcbVUYF1GGMIc= cloud.google.com/go/secretmanager v1.5.0/go.mod h1:5C9kM+RwSpkURNovKySkNvGQLUaOgyoR5W0RUx2SyHQ= cloud.google.com/go/secretmanager v1.6.0/go.mod h1:awVa/OXF6IiyaU1wQ34inzQNc4ISIDIrId8qE5QGgKA= +cloud.google.com/go/secretmanager v1.8.0/go.mod h1:hnVgi/bN5MYHd3Gt0SPuTPPp5ENina1/LxM+2W9U9J4= +cloud.google.com/go/secretmanager v1.9.0/go.mod h1:b71qH2l1yHmWQHt9LC80akm86mX8AL6X1MA01dW8ht4= +cloud.google.com/go/secretmanager v1.10.0/go.mod h1:MfnrdvKMPNra9aZtQFvBcvRU54hbPD8/HayQdlUgJpU= cloud.google.com/go/security v1.5.0/go.mod h1:lgxGdyOKKjHL4YG3/YwIL2zLqMFCKs0UbQwgyZmfJl4= cloud.google.com/go/security v1.7.0/go.mod h1:mZklORHl6Bg7CNnnjLH//0UlAlaXqiG7Lb9PsPXLfD0= cloud.google.com/go/security v1.8.0/go.mod h1:hAQOwgmaHhztFhiQ41CjDODdWP0+AE1B3sX4OFlq+GU= +cloud.google.com/go/security v1.9.0/go.mod h1:6Ta1bO8LXI89nZnmnsZGp9lVoVWXqsVbIq/t9dzI+2Q= +cloud.google.com/go/security v1.10.0/go.mod h1:QtOMZByJVlibUT2h9afNDWRZ1G96gVywH8T5GUSb9IA= +cloud.google.com/go/security v1.12.0/go.mod h1:rV6EhrpbNHrrxqlvW0BWAIawFWq3X90SduMJdFwtLB8= +cloud.google.com/go/security v1.13.0/go.mod h1:Q1Nvxl1PAgmeW0y3HTt54JYIvUdtcpYKVfIB8AOMZ+0= cloud.google.com/go/securitycenter v1.13.0/go.mod h1:cv5qNAqjY84FCN6Y9z28WlkKXyWsgLO832YiWwkCWcU= cloud.google.com/go/securitycenter v1.14.0/go.mod h1:gZLAhtyKv85n52XYWt6RmeBdydyxfPeTrpToDPw4Auc= +cloud.google.com/go/securitycenter v1.15.0/go.mod h1:PeKJ0t8MoFmmXLXWm41JidyzI3PJjd8sXWaVqg43WWk= +cloud.google.com/go/securitycenter v1.16.0/go.mod h1:Q9GMaLQFUD+5ZTabrbujNWLtSLZIZF7SAR0wWECrjdk= +cloud.google.com/go/securitycenter v1.18.1/go.mod h1:0/25gAzCM/9OL9vVx4ChPeM/+DlfGQJDwBy/UC8AKK0= +cloud.google.com/go/securitycenter v1.19.0/go.mod h1:LVLmSg8ZkkyaNy4u7HCIshAngSQ8EcIRREP3xBnyfag= +cloud.google.com/go/servicecontrol v1.4.0/go.mod h1:o0hUSJ1TXJAmi/7fLJAedOovnujSEvjKCAFNXPQ1RaU= +cloud.google.com/go/servicecontrol v1.5.0/go.mod h1:qM0CnXHhyqKVuiZnGKrIurvVImCs8gmqWsDoqe9sU1s= +cloud.google.com/go/servicecontrol v1.10.0/go.mod h1:pQvyvSRh7YzUF2efw7H87V92mxU8FnFDawMClGCNuAA= +cloud.google.com/go/servicecontrol v1.11.0/go.mod h1:kFmTzYzTUIuZs0ycVqRHNaNhgR+UMUpw9n02l/pY+mc= +cloud.google.com/go/servicecontrol v1.11.1/go.mod h1:aSnNNlwEFBY+PWGQ2DoM0JJ/QUXqV5/ZD9DOLB7SnUk= cloud.google.com/go/servicedirectory v1.4.0/go.mod h1:gH1MUaZCgtP7qQiI+F+A+OpeKF/HQWgtAddhTbhL2bs= cloud.google.com/go/servicedirectory v1.5.0/go.mod h1:QMKFL0NUySbpZJ1UZs3oFAmdvVxhhxB6eJ/Vlp73dfg= +cloud.google.com/go/servicedirectory v1.6.0/go.mod h1:pUlbnWsLH9c13yGkxCmfumWEPjsRs1RlmJ4pqiNjVL4= +cloud.google.com/go/servicedirectory v1.7.0/go.mod h1:5p/U5oyvgYGYejufvxhgwjL8UVXjkuw7q5XcG10wx1U= +cloud.google.com/go/servicedirectory v1.8.0/go.mod h1:srXodfhY1GFIPvltunswqXpVxFPpZjf8nkKQT7XcXaY= +cloud.google.com/go/servicedirectory v1.9.0/go.mod h1:29je5JjiygNYlmsGz8k6o+OZ8vd4f//bQLtvzkPPT/s= +cloud.google.com/go/servicemanagement v1.4.0/go.mod h1:d8t8MDbezI7Z2R1O/wu8oTggo3BI2GKYbdG4y/SJTco= +cloud.google.com/go/servicemanagement v1.5.0/go.mod h1:XGaCRe57kfqu4+lRxaFEAuqmjzF0r+gWHjWqKqBvKFo= +cloud.google.com/go/servicemanagement v1.6.0/go.mod h1:aWns7EeeCOtGEX4OvZUWCCJONRZeFKiptqKf1D0l/Jc= +cloud.google.com/go/servicemanagement v1.8.0/go.mod h1:MSS2TDlIEQD/fzsSGfCdJItQveu9NXnUniTrq/L8LK4= +cloud.google.com/go/serviceusage v1.3.0/go.mod h1:Hya1cozXM4SeSKTAgGXgj97GlqUvF5JaoXacR1JTP/E= +cloud.google.com/go/serviceusage v1.4.0/go.mod h1:SB4yxXSaYVuUBYUml6qklyONXNLt83U0Rb+CXyhjEeU= +cloud.google.com/go/serviceusage v1.5.0/go.mod h1:w8U1JvqUqwJNPEOTQjrMHkw3IaIFLoLsPLvsE3xueec= +cloud.google.com/go/serviceusage v1.6.0/go.mod h1:R5wwQcbOWsyuOfbP9tGdAnCAc6B9DRwPG1xtWMDeuPA= +cloud.google.com/go/shell v1.3.0/go.mod h1:VZ9HmRjZBsjLGXusm7K5Q5lzzByZmJHf1d0IWHEN5X4= +cloud.google.com/go/shell v1.4.0/go.mod h1:HDxPzZf3GkDdhExzD/gs8Grqk+dmYcEjGShZgYa9URw= +cloud.google.com/go/shell v1.6.0/go.mod h1:oHO8QACS90luWgxP3N9iZVuEiSF84zNyLytb+qE2f9A= +cloud.google.com/go/spanner v1.41.0/go.mod h1:MLYDBJR/dY4Wt7ZaMIQ7rXOTLjYrmxLE/5ve9vFfWos= +cloud.google.com/go/spanner v1.44.0/go.mod h1:G8XIgYdOK+Fbcpbs7p2fiprDw4CaZX63whnSMLVBxjk= +cloud.google.com/go/spanner v1.45.0/go.mod h1:FIws5LowYz8YAE1J8fOS7DJup8ff7xJeetWEo5REA2M= cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM= cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ= +cloud.google.com/go/speech v1.8.0/go.mod h1:9bYIl1/tjsAnMgKGHKmBZzXKEkGgtU+MpdDPTE9f7y0= +cloud.google.com/go/speech v1.9.0/go.mod h1:xQ0jTcmnRFFM2RfX/U+rk6FQNUF6DQlydUSyoooSpco= +cloud.google.com/go/speech v1.14.1/go.mod h1:gEosVRPJ9waG7zqqnsHpYTOoAS4KouMRLDFMekpJ0J0= +cloud.google.com/go/speech v1.15.0/go.mod h1:y6oH7GhqCaZANH7+Oe0BhgIogsNInLlz542tg3VqeYI= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= cloud.google.com/go/storage v1.24.0/go.mod h1:3xrJEFMXBsQLgxwThyjuD3aYlroL0TMRec1ypGUQ0KE= -cloud.google.com/go/storage v1.27.0 h1:YOO045NZI9RKfCj1c5A/ZtuuENUc8OAW+gHdGnDgyMQ= cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= +cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= +cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= +cloud.google.com/go/storage v1.30.1 h1:uOdMxAs8HExqBlnLtnQyP0YkvbiDpdGShGKtx6U/oNM= +cloud.google.com/go/storage v1.30.1/go.mod h1:NfxhC0UJE1aXSx7CIIbCf7y9HKT7BiccwkR7+P7gN8E= +cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w= +cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I= +cloud.google.com/go/storagetransfer v1.7.0/go.mod h1:8Giuj1QNb1kfLAiWM1bN6dHzfdlDAVC9rv9abHot2W4= +cloud.google.com/go/storagetransfer v1.8.0/go.mod h1:JpegsHHU1eXg7lMHkvf+KE5XDJ7EQu0GwNJbbVGanEw= cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g= +cloud.google.com/go/talent v1.3.0/go.mod h1:CmcxwJ/PKfRgd1pBjQgU6W3YBwiewmUzQYH5HHmSCmM= +cloud.google.com/go/talent v1.4.0/go.mod h1:ezFtAgVuRf8jRsvyE6EwmbTK5LKciD4KVnHuDEFmOOA= +cloud.google.com/go/talent v1.5.0/go.mod h1:G+ODMj9bsasAEJkQSzO2uHQWXHHXUomArjWQQYkqK6c= +cloud.google.com/go/texttospeech v1.4.0/go.mod h1:FX8HQHA6sEpJ7rCMSfXuzBcysDAuWusNNNvN9FELDd8= +cloud.google.com/go/texttospeech v1.5.0/go.mod h1:oKPLhR4n4ZdQqWKURdwxMy0uiTS1xU161C8W57Wkea4= +cloud.google.com/go/texttospeech v1.6.0/go.mod h1:YmwmFT8pj1aBblQOI3TfKmwibnsfvhIBzPXcW4EBovc= +cloud.google.com/go/tpu v1.3.0/go.mod h1:aJIManG0o20tfDQlRIej44FcwGGl/cD0oiRyMKG19IQ= +cloud.google.com/go/tpu v1.4.0/go.mod h1:mjZaX8p0VBgllCzF6wcU2ovUXN9TONFLd7iz227X2Xg= +cloud.google.com/go/tpu v1.5.0/go.mod h1:8zVo1rYDFuW2l4yZVY0R0fb/v44xLh3llq7RuV61fPM= cloud.google.com/go/trace v1.0.0/go.mod h1:4iErSByzxkyHWzzlAj63/Gmjz0NH1ASqhJguHpGcr6A= cloud.google.com/go/trace v1.2.0/go.mod h1:Wc8y/uYyOhPy12KEnXG9XGrvfMz5F5SrYecQlbW1rwM= +cloud.google.com/go/trace v1.3.0/go.mod h1:FFUE83d9Ca57C+K8rDl/Ih8LwOzWIV1krKgxg6N0G28= +cloud.google.com/go/trace v1.4.0/go.mod h1:UG0v8UBqzusp+z63o7FK74SdFE+AXpCLdFb1rshXG+Y= +cloud.google.com/go/trace v1.8.0/go.mod h1:zH7vcsbAhklH8hWFig58HvxcxyQbaIqMarMg9hn5ECA= +cloud.google.com/go/trace v1.9.0/go.mod h1:lOQqpE5IaWY0Ixg7/r2SjixMuc6lfTFeO4QGM4dQWOk= +cloud.google.com/go/translate v1.3.0/go.mod h1:gzMUwRjvOqj5i69y/LYLd8RrNQk+hOmIXTi9+nb3Djs= +cloud.google.com/go/translate v1.4.0/go.mod h1:06Dn/ppvLD6WvA5Rhdp029IX2Mi3Mn7fpMRLPvXT5Wg= +cloud.google.com/go/translate v1.5.0/go.mod h1:29YDSYveqqpA1CQFD7NQuP49xymq17RXNaUDdc0mNu0= +cloud.google.com/go/translate v1.6.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= +cloud.google.com/go/translate v1.7.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= +cloud.google.com/go/video v1.8.0/go.mod h1:sTzKFc0bUSByE8Yoh8X0mn8bMymItVGPfTuUBUyRgxk= +cloud.google.com/go/video v1.9.0/go.mod h1:0RhNKFRF5v92f8dQt0yhaHrEuH95m068JYOvLZYnJSw= +cloud.google.com/go/video v1.12.0/go.mod h1:MLQew95eTuaNDEGriQdcYn0dTwf9oWiA4uYebxM5kdg= +cloud.google.com/go/video v1.13.0/go.mod h1:ulzkYlYgCp15N2AokzKjy7MQ9ejuynOJdf1tR5lGthk= +cloud.google.com/go/video v1.14.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= +cloud.google.com/go/video v1.15.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU= cloud.google.com/go/videointelligence v1.7.0/go.mod h1:k8pI/1wAhjznARtVT9U1llUaFNPh7muw8QyOUpavru4= +cloud.google.com/go/videointelligence v1.8.0/go.mod h1:dIcCn4gVDdS7yte/w+koiXn5dWVplOZkE+xwG9FgK+M= +cloud.google.com/go/videointelligence v1.9.0/go.mod h1:29lVRMPDYHikk3v8EdPSaL8Ku+eMzDljjuvRs105XoU= +cloud.google.com/go/videointelligence v1.10.0/go.mod h1:LHZngX1liVtUhZvi2uNS0VQuOzNi2TkY1OakiuoUOjU= cloud.google.com/go/vision v1.2.0/go.mod h1:SmNwgObm5DpFBme2xpyOyasvBc1aPdjvMk2bBk0tKD0= cloud.google.com/go/vision/v2 v2.2.0/go.mod h1:uCdV4PpN1S0jyCyq8sIM42v2Y6zOLkZs+4R9LrGYwFo= cloud.google.com/go/vision/v2 v2.3.0/go.mod h1:UO61abBx9QRMFkNBbf1D8B1LXdS2cGiiCRx0vSpZoUo= +cloud.google.com/go/vision/v2 v2.4.0/go.mod h1:VtI579ll9RpVTrdKdkMzckdnwMyX2JILb+MhPqRbPsY= +cloud.google.com/go/vision/v2 v2.5.0/go.mod h1:MmaezXOOE+IWa+cS7OhRRLK2cNv1ZL98zhqFFZaaH2E= +cloud.google.com/go/vision/v2 v2.6.0/go.mod h1:158Hes0MvOS9Z/bDMSFpjwsUrZ5fPrdwuyyvKSGAGMY= +cloud.google.com/go/vision/v2 v2.7.0/go.mod h1:H89VysHy21avemp6xcf9b9JvZHVehWbET0uT/bcuY/0= +cloud.google.com/go/vmmigration v1.2.0/go.mod h1:IRf0o7myyWFSmVR1ItrBSFLFD/rJkfDCUTO4vLlJvsE= +cloud.google.com/go/vmmigration v1.3.0/go.mod h1:oGJ6ZgGPQOFdjHuocGcLqX4lc98YQ7Ygq8YQwHh9A7g= +cloud.google.com/go/vmmigration v1.5.0/go.mod h1:E4YQ8q7/4W9gobHjQg4JJSgXXSgY21nA5r8swQV+Xxc= +cloud.google.com/go/vmmigration v1.6.0/go.mod h1:bopQ/g4z+8qXzichC7GW1w2MjbErL54rk3/C843CjfY= +cloud.google.com/go/vmwareengine v0.1.0/go.mod h1:RsdNEf/8UDvKllXhMz5J40XxDrNJNN4sagiox+OI208= +cloud.google.com/go/vmwareengine v0.2.2/go.mod h1:sKdctNJxb3KLZkE/6Oui94iw/xs9PRNC2wnNLXsHvH8= +cloud.google.com/go/vmwareengine v0.3.0/go.mod h1:wvoyMvNWdIzxMYSpH/R7y2h5h3WFkx6d+1TIsP39WGY= +cloud.google.com/go/vpcaccess v1.4.0/go.mod h1:aQHVbTWDYUR1EbTApSVvMq1EnT57ppDmQzZ3imqIk4w= +cloud.google.com/go/vpcaccess v1.5.0/go.mod h1:drmg4HLk9NkZpGfCmZ3Tz0Bwnm2+DKqViEpeEpOq0m8= +cloud.google.com/go/vpcaccess v1.6.0/go.mod h1:wX2ILaNhe7TlVa4vC5xce1bCnqE3AeH27RV31lnmZes= cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE= cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= +cloud.google.com/go/webrisk v1.6.0/go.mod h1:65sW9V9rOosnc9ZY7A7jsy1zoHS5W9IAXv6dGqhMQMc= +cloud.google.com/go/webrisk v1.7.0/go.mod h1:mVMHgEYH0r337nmt1JyLthzMr6YxwN1aAIEc2fTcq7A= +cloud.google.com/go/webrisk v1.8.0/go.mod h1:oJPDuamzHXgUc+b8SiHRcVInZQuybnvEW72PqTc7sSg= +cloud.google.com/go/websecurityscanner v1.3.0/go.mod h1:uImdKm2wyeXQevQJXeh8Uun/Ym1VqworNDlBXQevGMo= +cloud.google.com/go/websecurityscanner v1.4.0/go.mod h1:ebit/Fp0a+FWu5j4JOmJEV8S8CzdTkAS77oDsiSqYWQ= +cloud.google.com/go/websecurityscanner v1.5.0/go.mod h1:Y6xdCPy81yi0SQnDY1xdNTNpfY1oAgXUlcfN3B3eSng= cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= +cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M= +cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA= +cloud.google.com/go/workflows v1.10.0/go.mod h1:fZ8LmRmZQWacon9UCX1r/g/DfAXx5VcPALq2CxzdePw= code.cloudfoundry.org/clock v0.0.0-20180518195852-02e53af36e6c/go.mod h1:QD9Lzhd/ux6eNQVUDVRJX/RKTigpewimNYBi7ivZKY8= contrib.go.opencensus.io/exporter/aws v0.0.0-20200617204711-c478e41e60e9/go.mod h1:uu1P0UCM/6RbsMrgPa98ll8ZcHM858i/AD06a9aLRCA= contrib.go.opencensus.io/exporter/stackdriver v0.13.13/go.mod h1:5pSSGY0Bhuk7waTHuDf4aQ8D2DrhgETRo9fy6k3Xlzc= contrib.go.opencensus.io/integrations/ocsql v0.1.7/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE= +dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= +dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= +git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= -github.com/AlecAivazis/survey/v2 v2.0.5 h1:xpZp+Q55wi5C7Iaze+40onHnEkex1jSc34CltJjOoPM= -github.com/AlecAivazis/survey/v2 v2.0.5/go.mod h1:WYBhg6f0y/fNYUuesWQc0PKbJcEliGcYHB9sNT3Bg74= +github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= +github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= @@ -277,17 +695,21 @@ github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBp github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= +github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/GoogleCloudPlatform/cloudsql-proxy v1.31.2/go.mod h1:qR6jVnZTKDCW3j+fC9mOEPHm++1nKDMkqbbkD6KNsfo= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= +github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= -github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= +github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= +github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/sprig/v3 v3.2.0/go.mod h1:tWhwTbUTndesPNeF0C900vKoq283u6zp4APT9vaF3SI= +github.com/Masterminds/sprig/v3 v3.2.1/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= github.com/Masterminds/sprig/v3 v3.2.2 h1:17jRggJu518dr3QaafizSXOjKYp94wKfABxUmyxvxX8= github.com/Masterminds/sprig/v3 v3.2.2/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= @@ -299,8 +721,9 @@ github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3/go.mod h1:JP github.com/Microsoft/go-winio v0.4.17-0.20210324224401-5516f17a5958/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.5.1/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= +github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= +github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= github.com/Microsoft/hcsshim v0.8.7-0.20190325164909-8abdbb8205e4/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ= @@ -316,12 +739,11 @@ github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5 github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc= github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= +github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo= -github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 h1:ra2OtmuW0AE5csawV4YXMNGNQQXvLRps3z2Z59OPO+I= -github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8= +github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 h1:KLq8BE0KwCL+mmXnjLWEAOYO+2l2AE4YMmqG1ZpZHBs= +github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= @@ -330,8 +752,8 @@ github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:H github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= -github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk= -github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= +github.com/acomagu/bufpipe v1.0.4 h1:e3H4WUzM3npvo5uv95QuJM3cQspFNtFBzvJ2oNjKIDQ= +github.com/acomagu/bufpipe v1.0.4/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= @@ -340,6 +762,10 @@ github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412/go.mod h1:WPjqKcmVOxf0XSf3YxCJs6N6AOSrOx3obionmG7T0y0= +github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9/go.mod h1:JynElWSGnm/4RlzPXRlREEwqTHAN3T56Bv2ITsFT3gY= +github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19/go.mod h1:T13YZdzov6OU0A1+RfKZiZN9ca6VeKdBdyDV+BY97Tk= +github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= +github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b/go.mod h1:1KcenG0jGWcpt8ov532z81sp/kMMUG485J2InIOyADM= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= @@ -348,13 +774,16 @@ github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk5 github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk= -github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= +github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/apache/arrow/go/v10 v10.0.1/go.mod h1:YvhnlEePVnBS4+0z3fhPfUy7W1Ikj0Ih0vcRo/gZ1M0= +github.com/apache/arrow/go/v11 v11.0.0/go.mod h1:Eg5OsL5H+e299f7u5ssuXsuHQVEGC4xei5aX110hRiI= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU= github.com/apparentlymart/go-cidr v1.0.1/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= github.com/apparentlymart/go-cidr v1.1.0 h1:2mAhrMoF+nhXqxTzSZMUzDHkLjmIHC+Zzn4tdgBZjnU= github.com/apparentlymart/go-cidr v1.1.0/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= @@ -363,8 +792,9 @@ github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0 h1:MzVXffFU github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= -github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= +github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY= +github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= @@ -381,6 +811,8 @@ github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6l github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= +github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= +github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= github.com/aws/aws-sdk-go v1.15.27/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= @@ -392,8 +824,9 @@ github.com/aws/aws-sdk-go v1.43.11/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4 github.com/aws/aws-sdk-go v1.43.31/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go v1.44.45/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go v1.44.68/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= -github.com/aws/aws-sdk-go v1.44.122 h1:p6mw01WBaNpbdP2xrisz5tIkcNwzj/HysobNoaAHjgo= github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.298 h1:5qTxdubgV7PptZJmp/2qDwD2JL187ePL7VOxsSh1i3g= +github.com/aws/aws-sdk-go v1.44.298/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/aws/aws-sdk-go-v2 v1.16.8/go.mod h1:6CpKuLXg2w7If3ABZCl/qZ6rEgwtjZTn4eAf4RcEyuw= github.com/aws/aws-sdk-go-v2 v1.17.3 h1:shN7NlnVzvDUgPQ+1rLMSxY8OWRNDRYtiqe0p/PgrhY= @@ -442,6 +875,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.16.10/go.mod h1:cftkHYN6tCDNfkSasAmc github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/aws/smithy-go v1.13.5 h1:hgz0X/DX0dGqTYpGALqXJoRKRj5oQ7150i5FdTePzO8= github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= +github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= @@ -459,13 +894,17 @@ github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnweb github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= +github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= +github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= github.com/bshuster-repo/logrus-logstash-hook v0.4.1/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= +github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA= +github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50= github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE= -github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= +github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= @@ -476,11 +915,19 @@ github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInq github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/charmbracelet/bubbles v0.16.1 h1:6uzpAAaT9ZqKssntbvZMlksWHruQLNxg49H5WdeuYSY= +github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc= +github.com/charmbracelet/bubbletea v0.24.2 h1:uaQIKx9Ai6Gdh5zpTbGiWpytMU+CfsPp06RaW2cx/SY= +github.com/charmbracelet/bubbletea v0.24.2/go.mod h1:XdrNrV4J8GiyshTtx3DNuYkR1FDaJmO3l2nejekbsgg= +github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E= +github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c= github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw= github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M= github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E= @@ -503,18 +950,21 @@ github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6D github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cloudflare/circl v1.1.0 h1:bZgT/A+cikZnKIwn7xL2OBj012Bmvho/o6RpRvv3GKY= -github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I= +github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs= +github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= +github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= @@ -542,6 +992,8 @@ github.com/containerd/console v0.0.0-20191206165004-02ecf6a7291e/go.mod h1:8Pf4g github.com/containerd/console v1.0.1/go.mod h1:XUsP6YE/mKtz6bxc+I8UiKKTP04qjQL4qcS3XoQ5xkw= github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= +github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 h1:q2hJAaP1k2wIvVRd/hEHD7lacgqrCPS+k8g1MndzfWY= +github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk= github.com/containerd/containerd v1.2.10/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= @@ -642,6 +1094,7 @@ github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7Do github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= +github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= @@ -688,8 +1141,9 @@ github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNE github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= @@ -697,9 +1151,11 @@ github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaB github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= github.com/edsrzf/mmap-go v1.1.0/go.mod h1:19H/e8pUPLicwkyNgOykDXkJ9F0MHE+Z52B8EIth78Q= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= +github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819 h1:RIB4cRk+lBqKK3Oy0r2gRX4ui7tuhiZq2SuTtTCi0/0= +github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= +github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2/go.mod h1:gNh8nYJoAm43RfaxurUnxr+N1PwuFV3ZMl/efxlIlY8= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= @@ -714,20 +1170,25 @@ github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go. github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= +github.com/envoyproxy/go-control-plane v0.11.1-0.20230524094728-9239064ad72f/go.mod h1:sfYdkwUW4BA3PbKjySwjJy+O4Pu0h62rlqCMHNk+K+Q= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= -github.com/equinix-labs/fabric-go v0.4.0 h1:YM6jkdPlYJrgUEfCqt1WpXe2gACM5EavRL26ocIMM9c= -github.com/equinix-labs/fabric-go v0.4.0/go.mod h1:/0uePNYbhu/1qWrxhD011AjU6yjf7r0sZgTCn8TyitI= -github.com/equinix/ecx-go/v2 v2.3.0 h1:SOABrI2TP073Mx3gVoWa4qGlot1Z2hECAOY8W4nYDPU= -github.com/equinix/ecx-go/v2 v2.3.0/go.mod h1:FvCdZ3jXU8Z4CPKig2DT+4J2HdwgRK17pIcznM7RXyk= -github.com/equinix/ne-go v1.10.0 h1:hy1umXQFPi1b3z/maZ8kqLRFlD1PXD4qp0cV8rnyL8k= -github.com/equinix/ne-go v1.10.0/go.mod h1:eHkkxM4nbTB7DZ9X9zGnwfYnxIJWIsU3aHA+FAoZ1EI= +github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= +github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= +github.com/equinix-labs/fabric-go v0.7.0 h1:AiiVPD4aE/aeiuCK7Fhsq4bvjmJ5RzmZ3boKnp0dl4g= +github.com/equinix-labs/fabric-go v0.7.0/go.mod h1:oqgGS3GOI8hHGPJKsAwDOEX0qRHl52sJGvwA/zMSd90= +github.com/equinix-labs/metal-go v0.16.0 h1:4YmGx9SRFkDtHiEqRsSjlgJDztV6NHqH1eeaOZcK7d4= +github.com/equinix-labs/metal-go v0.16.0/go.mod h1:SmxCklxW+KjmBLVMdEXgtFO5gD5/b4N0VxcNgUYbOH4= +github.com/equinix/ecx-go/v2 v2.3.1 h1:gFcAIeyaEUw7S8ebqApmT7E/S7pC7Ac3wgScp89fkPU= +github.com/equinix/ecx-go/v2 v2.3.1/go.mod h1:FvCdZ3jXU8Z4CPKig2DT+4J2HdwgRK17pIcznM7RXyk= +github.com/equinix/ne-go v1.11.0 h1:ja6G2fmcGrLsOeV25Mq6pDfH+/cUlvxJbnE8uRXTGGk= +github.com/equinix/ne-go v1.11.0/go.mod h1:eHkkxM4nbTB7DZ9X9zGnwfYnxIJWIsU3aHA+FAoZ1EI= github.com/equinix/oauth2-go v1.0.0 h1:fHtAPGq82PdgtK5vEThs8Vwz6f7D/8SX4tE3NJu+KcU= github.com/equinix/oauth2-go v1.0.0/go.mod h1:4pulXvUNMktJlewLPnUeJyMW52iCoF1aM+A/Z5xY1ws= github.com/equinix/rest-go v1.3.0 h1:m38scYTOfV6N+gcrwchgVDutDffYd+QoYCMm9Jn6jyk= github.com/equinix/rest-go v1.3.0/go.mod h1:7pjEgOdG2MZO9BGkQzSurSgVQxRfzc1enceXJS6hYDw= -github.com/equinix/terraform-provider-equinix v1.14.1 h1:04g1rMWjgAnPq7JIqVzicrTzNn37DEmnY1RlW/SOpDI= -github.com/equinix/terraform-provider-equinix v1.14.1/go.mod h1:NTxLMrAEO4mpo89gxqJnj1Hep/uUuGbo0lz3reXClQU= +github.com/equinix/terraform-provider-equinix v1.18.0 h1:JnGJoR0fLB5EMrncVHlgtKMQPEcdgbqlJzmnoqXKryU= +github.com/equinix/terraform-provider-equinix v1.18.0/go.mod h1:WFtkAzCuD/mkVZOZxBS8r4S1+5XfDowsEh0huaIW2VA= github.com/ettle/strcase v0.1.1 h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw= github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY= github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= @@ -744,7 +1205,8 @@ github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/felixge/httpsnoop v1.0.2/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= +github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= +github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= @@ -769,22 +1231,23 @@ github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeME github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= github.com/gin-gonic/gin v1.7.7/go.mod h1:axIBovoeJpVj8S3BwE0uPMTeReE4+AfFtqpqaZ1qq1U= -github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= -github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= -github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= -github.com/go-git/go-billy/v5 v5.2.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= +github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g= +github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks= +github.com/go-fonts/liberation v0.1.1/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= +github.com/go-fonts/liberation v0.2.0/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= +github.com/go-fonts/stix v0.1.0/go.mod h1:w/c1f0ldAUlJmLBvlbkvVXLAD+tAMqobIIQpmnUIzUY= +github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= +github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-billy/v5 v5.4.0 h1:Vaw7LaSTRJOUric7pe4vnzBSgyuf2KrLsu2Y4ZpQBDE= -github.com/go-git/go-billy/v5 v5.4.0/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= -github.com/go-git/go-git-fixtures/v4 v4.2.1/go.mod h1:K8zd3kDUAykwTdDCr+I0per6Y6vMiRR/nnVTBtavnB0= -github.com/go-git/go-git-fixtures/v4 v4.3.1 h1:y5z6dd3qi8Hl+stezc8p3JxDkoTRqMAlKnXHuzrfjTQ= -github.com/go-git/go-git-fixtures/v4 v4.3.1/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= -github.com/go-git/go-git/v5 v5.4.2/go.mod h1:gQ1kArt6d+n+BGd+/B/I74HwRTLhth2+zti4ihgckDc= -github.com/go-git/go-git/v5 v5.6.0 h1:JvBdYfcttd+0kdpuWO7KTu0FYgCf5W0t5VwkWGobaa4= -github.com/go-git/go-git/v5 v5.6.0/go.mod h1:6nmJ0tJ3N4noMV1Omv7rC5FG3/o8Cm51TB4CJp7mRmE= +github.com/go-git/go-billy/v5 v5.4.1 h1:Uwp5tDRkPr+l/TnbHOQzp+tmJfLceOlbVucgpTz8ix4= +github.com/go-git/go-billy/v5 v5.4.1/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f h1:Pz0DHeFij3XFhoBRGUDPzSJ+w2UcK5/0JvF8DRI58r8= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= +github.com/go-git/go-git/v5 v5.8.1 h1:Zo79E4p7TRk0xoRgMq0RShiTHGKcKI4+DI6BfJc/Q+A= +github.com/go-git/go-git/v5 v5.8.1/go.mod h1:FHFuoD6yGz5OSKEBK+aWN9Oah0q54Jxl0abmj6GnqAo= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -795,6 +1258,8 @@ github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgO github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= +github.com/go-latex/latex v0.0.0-20210118124228-b3d85cf34e07/go.mod h1:CO1AlKB2CSIqUrmQPqA0gdRIlnLEY0gK5JGjh37zN5U= +github.com/go-latex/latex v0.0.0-20210823091927-c0d11ff05a81/go.mod h1:SX0U8uGpxhq9o2S/CELCSUxEWWAuoCUcVCQWv7G2OCk= github.com/go-ldap/ldap/v3 v3.1.10/go.mod h1:5Zun81jBTabRaI8lzN7E1JjyEl1g6zI6u9pd8luAK4Q= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= @@ -837,6 +1302,8 @@ github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/ github.com/go-openapi/swag v0.19.15/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-openapi/swag v0.21.1/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-openapi/validate v0.21.0/go.mod h1:rjnrwK57VJ7A8xqfpAOEKRH8yQSGUriMu5/zuPSQ1hg= +github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= +github.com/go-pdf/fpdf v0.6.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= @@ -881,6 +1348,7 @@ github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754/go.mod h1:HhnNqWY9 github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= +github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/goccy/go-yaml v1.9.5/go.mod h1:U/jl18uSupI5rdI2jmuCswEA2htH9eXfferR3KfscvA= github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= github.com/godbus/dbus v0.0.0-20180201030542-885f9cc04c9c/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= @@ -911,9 +1379,11 @@ github.com/golang-jwt/jwt/v4 v4.4.2 h1:rcc4lwaZgFMCZ5jxF9ABolDcIHdBytAFgqFPbSJQA github.com/golang-jwt/jwt/v4 v4.4.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= +github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.0.0 h1:nfP3RFugxnNRyKgeWd4oI1nYvXpxrx8ck8ZrcizshdQ= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= +github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= +github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -947,8 +1417,9 @@ github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= -github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= +github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= @@ -957,6 +1428,7 @@ github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEW github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= +github.com/google/flatbuffers v2.0.8+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -1002,6 +1474,7 @@ github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210506205249-923b5ab0fc1a/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= @@ -1011,6 +1484,8 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20220318212150-b2ab0324ddda/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= github.com/google/pprof v0.0.0-20220608213341-c488b8fa1db3/go.mod h1:gSuNB+gJaOiQKLEZ+q+PK9Mq3SOzhRcw2GsGS/FhYDk= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= +github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= @@ -1024,8 +1499,10 @@ github.com/google/wire v0.5.0 h1:I7ELFeVBr3yfPIcc8+MWvrjk+3VjbcSzoXm3JVa+jD8= github.com/google/wire v0.5.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= -github.com/googleapis/enterprise-certificate-proxy v0.2.0 h1:y8Yozv7SZtlU//QXbezB6QkpuE6jMD2/gfzk4AftXjs= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= +github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k= +github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= @@ -1035,12 +1512,15 @@ github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99 github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= -github.com/googleapis/gax-go/v2 v2.7.0 h1:IcsPKeInNvYi7eqSaDjiZqDDKu5rsmunY0Y1YupQSSQ= github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= +github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= +github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= +github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= +github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gophercloud/gophercloud v0.24.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c= github.com/gophercloud/gophercloud v0.25.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= @@ -1066,6 +1546,7 @@ github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= github.com/grpc-ecosystem/grpc-gateway/v2 v2.10.2/go.mod h1:chrfS3YoLAlKTRE5cFWvCbt8uGAjshktT4PveTUpsFQ= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= github.com/hanwen/go-fuse v1.0.0/go.mod h1:unqXarDXqzAk0rt98O2tVndEPIpUgLD9+rwFisZH3Ok= @@ -1088,20 +1569,21 @@ github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtng github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= +github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637 h1:Ud/6/AdmJ1R7ibdS0Wo5MWPj0T1R0fkpaD087bBaW8I= +github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= github.com/hashicorp/go-getter v1.4.0/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY= -github.com/hashicorp/go-getter v1.7.0 h1:bzrYP+qu/gMrL1au7/aDvkoOVGUJpeKBgbqRHACAFDY= -github.com/hashicorp/go-getter v1.7.0/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= +github.com/hashicorp/go-getter v1.7.1 h1:SWiSWN/42qdpR0MdhaOc/bLR48PLuP1ZQtYLRlM69uY= +github.com/hashicorp/go-getter v1.7.1/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI= github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-hclog v0.12.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v1.2.1/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= -github.com/hashicorp/go-hclog v1.2.2 h1:ihRI7YFwcZdiSD7SIenIhHfQH3OuDvWerAUBZbeQS3M= github.com/hashicorp/go-hclog v1.2.2/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= +github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c= +github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-immutable-radix v1.2.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= @@ -1116,12 +1598,13 @@ github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9 github.com/hashicorp/go-plugin v1.0.1/go.mod h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY= github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= github.com/hashicorp/go-plugin v1.4.4/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= -github.com/hashicorp/go-plugin v1.4.6 h1:MDV3UrKQBM3du3G7MApDGvOsMYy3JQJ4exhSoKBAeVA= -github.com/hashicorp/go-plugin v1.4.6/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= +github.com/hashicorp/go-plugin v1.5.1 h1:oGm7cWBaYIp3lJpx1RUEfLWophprE2EV/KUeqBYo+6k= +github.com/hashicorp/go-plugin v1.5.1/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= -github.com/hashicorp/go-retryablehttp v0.7.1 h1:sUiuQAnLlbvmExtFQs72iFW/HXeUn8Z1aJLQ4LJJbTQ= github.com/hashicorp/go-retryablehttp v0.7.1/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= +github.com/hashicorp/go-retryablehttp v0.7.4 h1:ZQgVdpTdAL7WpMIwLzCfbalOcSUdkDZnpUv3/+BxzFA= +github.com/hashicorp/go-retryablehttp v0.7.4/go.mod h1:Jy/gPYAdjqffZ/yFGCFV2doI5wjtH1ewM9u8iYVjtX8= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= @@ -1150,7 +1633,6 @@ github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/C github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go-version v1.5.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= @@ -1158,15 +1640,14 @@ github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/hc-install v0.4.0 h1:cZkRFr1WVa0Ty6x5fTvL1TuO1flul231rWkGH92oYYk= -github.com/hashicorp/hc-install v0.4.0/go.mod h1:5d155H8EC5ewegao9A4PUTMNPZaq+TbOzkJJZ4vrXeI= +github.com/hashicorp/hc-install v0.6.0 h1:fDHnU7JNFNSQebVKYhHZ0va1bC6SrPQ8fpebsvNr2w4= +github.com/hashicorp/hc-install v0.6.0/go.mod h1:10I912u3nntx9Umo1VAeYPUUuehk0aRQJYpMwbX5wQA= github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.0.0/go.mod h1:oVVDG71tEinNGYCxinCYadcmKU9bglqW9pV3txagJ90= -github.com/hashicorp/hcl/v2 v2.13.0/go.mod h1:e4z5nxYlWNPdDSNYX+ph14EvWYMFm3eP0zIUqPc2jr0= -github.com/hashicorp/hcl/v2 v2.16.1 h1:BwuxEMD/tsYgbhIW7UuI3crjovf3MzuFWiVgiv57iHg= -github.com/hashicorp/hcl/v2 v2.16.1/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= +github.com/hashicorp/hcl/v2 v2.18.0 h1:wYnG7Lt31t2zYkcquwgKo6MWXzRUDIeIVU5naZwHLl8= +github.com/hashicorp/hcl/v2 v2.18.0/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+XK3tAql24P4uTGUMIn1/92WsQQ= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= @@ -1180,24 +1661,23 @@ github.com/hashicorp/nomad/api v0.0.0-20220629141207-c2428e1673ec/go.mod h1:jP79 github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A= -github.com/hashicorp/terraform-exec v0.17.2 h1:EU7i3Fh7vDUI9nNRdMATCEfnm9axzTnad8zszYZ73Go= -github.com/hashicorp/terraform-exec v0.17.2/go.mod h1:tuIbsL2l4MlwwIZx9HPM+LOV9vVyEfBYu2GsO1uH3/8= +github.com/hashicorp/terraform-exec v0.19.0 h1:FpqZ6n50Tk95mItTSS9BjeOVUb4eg81SpgVtZNNtFSM= +github.com/hashicorp/terraform-exec v0.19.0/go.mod h1:tbxUpe3JKruE9Cuf65mycSIT8KiNPZ0FkuTE3H4urQg= github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU= -github.com/hashicorp/terraform-json v0.14.0 h1:sh9iZ1Y8IFJLx+xQiKHGud6/TSUCM0N8e17dKDpqV7s= -github.com/hashicorp/terraform-json v0.14.0/go.mod h1:5A9HIWPkk4e5aeeXIBbkcOvaZbIYnAIkEyqP2pNSckM= -github.com/hashicorp/terraform-plugin-go v0.14.0/go.mod h1:2nNCBeRLaenyQEi78xrGrs9hMbulveqG/zDMQSvVJTE= -github.com/hashicorp/terraform-plugin-go v0.14.1 h1:cwZzPYla82XwAqpLhSzdVsOMU+6H29tczAwrB0z9Zek= -github.com/hashicorp/terraform-plugin-go v0.14.1/go.mod h1:Bc/K6K26BQ2FHqIELPbpKtt2CzzbQou+0UQF3/0NsCQ= -github.com/hashicorp/terraform-plugin-log v0.7.0 h1:SDxJUyT8TwN4l5b5/VkiTIaQgY6R+Y2BQ0sRZftGKQs= -github.com/hashicorp/terraform-plugin-log v0.7.0/go.mod h1:p4R1jWBXRTvL4odmEkFfDdhUjHf9zcs/BCoNHAc7IK4= +github.com/hashicorp/terraform-json v0.17.1 h1:eMfvh/uWggKmY7Pmb3T85u86E2EQg6EQHgyRwf3RkyA= +github.com/hashicorp/terraform-json v0.17.1/go.mod h1:Huy6zt6euxaY9knPAFKjUITn8QxUFIe9VuSzb4zn/0o= +github.com/hashicorp/terraform-plugin-go v0.19.0 h1:BuZx/6Cp+lkmiG0cOBk6Zps0Cb2tmqQpDM3iAtnhDQU= +github.com/hashicorp/terraform-plugin-go v0.19.0/go.mod h1:EhRSkEPNoylLQntYsk5KrDHTZJh9HQoumZXbOGOXmec= +github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= +github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= -github.com/hashicorp/terraform-registry-address v0.0.0-20220623143253-7d51757b572c h1:D8aRO6+mTqHfLsK/BC3j5OAoogv1WLRWzY1AaTo3rBg= -github.com/hashicorp/terraform-registry-address v0.0.0-20220623143253-7d51757b572c/go.mod h1:Wn3Na71knbXc1G8Lh+yu/dQWWJeFQEpDeJMtWMtlmNI= +github.com/hashicorp/terraform-registry-address v0.2.2 h1:lPQBg403El8PPicg/qONZJDC6YlgCVbWDtNmmZKtBno= +github.com/hashicorp/terraform-registry-address v0.2.2/go.mod h1:LtwNbCihUoUZ3RYriyS2wF/lGPB6gF9ICLRtuDk7hSo= github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= -github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 h1:HKLsbzeOsfXmKNpr3GiT18XAblV0BjCbzL8KQAMZGa0= -github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= +github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ= +github.com/hashicorp/terraform-svchost v0.1.1/go.mod h1:mNsjQfZyf/Jhz35v6/0LWcv26+X7JPS+buii2c9/ctc= github.com/hashicorp/vault/api v1.7.2/go.mod h1:xbfA+1AvxFseDzxxdWaL0uO99n1+tndus4GCrtouy0M= github.com/hashicorp/vault/api v1.8.2 h1:C7OL9YtOtwQbTKI9ogB0A1wffRbCN+rH/LLCHO3d8HM= github.com/hashicorp/vault/api v1.8.2/go.mod h1:ML8aYzBIhY5m1MD1B2Q0JV89cC85YVH4t5kBaZiyVaE= @@ -1214,8 +1694,8 @@ github.com/hetznercloud/hcloud-go v1.35.0/go.mod h1:mepQwR6va27S3UQthaEPGS86jtzS github.com/hexops/autogold v1.3.0 h1:IEtGNPxBeBu8RMn8eKWh/Ll9dVNgSnJ7bp/qHgMQ14o= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= github.com/hexops/valast v1.4.0 h1:sFzyxPDP0riFQUzSBXTCCrAbbIndHPWMndxuEjXdZlc= -github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A= -github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec h1:qv2VnGeEQHchGaZ/u7lxST/RaJw+cv273q79D81Xbog= +github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= +github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= @@ -1234,11 +1714,11 @@ github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJ github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= -github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= +github.com/imdario/mergo v0.3.15 h1:M8XP7IuFNsqUx6VPK2P9OSmsYsI/YFaGil0uD21V3dM= +github.com/imdario/mergo v0.3.15/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= -github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ= github.com/ionos-cloud/sdk-go/v6 v6.1.0/go.mod h1:Ox3W0iiEz0GHnfY9e5LmAxwklsxguuNFEUSu0gVRTME= @@ -1290,8 +1770,13 @@ github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOl github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= -github.com/jhump/protoreflect v1.6.0 h1:h5jfMVslIg6l29nsMs0D8Wj17RDVdNYti0vDN/PZZoE= +github.com/jhump/gopoet v0.0.0-20190322174617-17282ff210b3/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI= +github.com/jhump/gopoet v0.1.0/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI= +github.com/jhump/goprotoc v0.5.0/go.mod h1:VrbvcYrQOrTi3i0Vf+m+oqQWk9l72mjkJCYo7UvLHRQ= github.com/jhump/protoreflect v1.6.0/go.mod h1:eaTn3RZAmMBcV0fifFvlm6VHNz3wSkYyXYWUh7ymB74= +github.com/jhump/protoreflect v1.11.0/go.mod h1:U7aMIjN0NWq9swDP7xDdoMfRHb35uiuTd3Z9nFXJf5E= +github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= +github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= @@ -1318,11 +1803,12 @@ github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/X github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/jung-kurt/gofpdf v1.0.0/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= +github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= -github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/keybase/go-crypto v0.0.0-20161004153544-93f5b35093ba/go.mod h1:ghbZscTyKdM07+Fw3KSi0hcJm+AlEUWj8QLlPtijN/M= @@ -1330,13 +1816,16 @@ github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvW github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.11.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/klauspost/compress v1.15.1/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= github.com/klauspost/compress v1.15.11 h1:Lcadnb3RKGin4FYM/orgq0qde+nc15E5Cbqg4B9Sx9c= github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= +github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/kolo/xmlrpc v0.0.0-20201022064351-38db28db192b/go.mod h1:pcaDhQK0/NJZEvtCO0qQPPropqV0sJOJ6YW7X+9kRwM= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= @@ -1348,8 +1837,8 @@ github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfn github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/pty v1.1.4/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= @@ -1369,7 +1858,11 @@ github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0U github.com/linode/linodego v1.4.0/go.mod h1:PVsRxSlOiJyvG4/scTszpmZDTdgS+to3X6eS8pRrWI8= github.com/linode/linodego v1.8.0/go.mod h1:heqhl91D8QTPVm2k9qZHP78zzbOdTFLXE9NJc3bcc50= github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo= +github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= +github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= +github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= +github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= @@ -1391,8 +1884,9 @@ github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVc github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= @@ -1401,15 +1895,21 @@ github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= +github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= +github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU= -github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= +github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU= +github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= github.com/mattn/go-shellwords v1.0.6/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= +github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= @@ -1422,11 +1922,13 @@ github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJys github.com/miekg/dns v1.1.48/go.mod h1:e3IlAVfNqAllflbibAZEWOXOQ+Ynzk/dDozDxY7XnME= github.com/miekg/dns v1.1.50/go.mod h1:e3IlAVfNqAllflbibAZEWOXOQ+Ynzk/dDozDxY7XnME= github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= +github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= +github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI= -github.com/mitchellh/cli v1.1.4 h1:qj8czE26AU4PbiaPXK5uVmMSM+V5BYsFBiM9HhGRLUA= -github.com/mitchellh/cli v1.1.4/go.mod h1:vTLESy5mRhKOs9KDp0/RATawxP1UqBmdrpVRMnpcvKQ= +github.com/mitchellh/cli v1.1.5 h1:OxRIeJXpAMztws/XHlN2vu6imG5Dpq+j61AzAX5fLng= +github.com/mitchellh/cli v1.1.5/go.mod h1:v8+iFts2sPIKUV1ltktPXMCC8fumSKFItNcD2cLtRR4= github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw= github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= @@ -1485,8 +1987,14 @@ github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJ github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= +github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b h1:1XF24mVaiu7u+CFywTdcDo2ie1pzzhwjt6RHqzpMU34= +github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b/go.mod h1:fQuZ0gauxyBcmsdE3ZT4NasjaRdxmbCS0jRHsrWu3Ho= github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= +github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= +github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8= +github.com/muesli/termenv v0.15.1 h1:UzuTb/+hhlBugQz28rpzey4ZuKcZ03MeKsoG7IJZIxs= +github.com/muesli/termenv v0.15.1/go.mod h1:HeAQPTzpfs016yGtA4g00CsdYnVLJvxsS4ANqrZs2sQ= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= @@ -1504,8 +2012,6 @@ github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OS github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nightlyone/lockfile v1.0.0 h1:RHep2cFKK4PonZJDdEl4GmkabuhbsRMgk/k3uAmxBiA= -github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce h1:RPclfga2SEJmgMmz2k+Mg7cowZ8yv4Trqw9UsJby758= -github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce/go.mod h1:uFMI8w+ref4v2r9jz+c9i1IfIttS/OkmLfrk1jne5hs= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= @@ -1577,8 +2083,8 @@ github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxS github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= -github.com/packethost/packngo v0.28.1 h1:2Bo64Ku3F869oUmE2IrnURanN0XAmZmhI8wTem2sq64= -github.com/packethost/packngo v0.28.1/go.mod h1:/UHguFdPs6Lf6FOkkSEPnRY5tgS0fsVM+Zv/bvBrmt0= +github.com/packethost/packngo v0.30.0 h1:JVeTwbXXETsLTDQncUbYwIFpkOp/xevXrffM2HrFECI= +github.com/packethost/packngo v0.30.0/go.mod h1:BT/XcdwLVmeMtGPbovnxCpnI1s9ylSE1cs/7pq007NE= github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= @@ -1592,16 +2098,21 @@ github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9 github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 h1:LoCV5cscNVWyK5ChN/uCoIFJz8jZD63VQiGJIRgr6uo= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386/go.mod h1:MRxHTJrf9FhdfNQ8Hdeh9gmHevC9RJE/fu8M3JIGjoE= +github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY= +github.com/phpdave11/gofpdi v1.0.12/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= +github.com/phpdave11/gofpdi v1.0.13/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4 v2.5.2+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4 v2.6.1+incompatible h1:9UY3+iC23yxF0UfGaYrGplQ+79Rg+h/q9FV9ix19jjM= github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -1609,6 +2120,7 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= +github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= @@ -1639,6 +2151,7 @@ github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1: github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= @@ -1674,34 +2187,44 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi-java/pkg v0.8.0 h1:b81/D/dk5/9OEH1k5BJxhqYiQc7Y4TPDbHVGBvJU1GE= -github.com/pulumi/pulumi-java/pkg v0.8.0/go.mod h1:x7/J1GCJ+hHFBEgnMr4QpsTfjXUNHccAHJ9gvFfmAFU= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.42.1 h1:W3RJShHlsvVmTRuftLdp1yLQpRqU0c66iQMpxVqXVOs= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.42.1/go.mod h1:ej3U842Dtjk6kIQv2b3dtHKqFyggbZqlDoPWzc2EZvM= -github.com/pulumi/pulumi-yaml v1.0.4 h1:p+989rW3AqkkxbzxtxccHKAN4xCJi3K2cRpvA2K84tw= -github.com/pulumi/pulumi-yaml v1.0.4/go.mod h1:Szj8ud4Vqyq3oO1n3kzIUfaP3AiCjYZM4FYjOVWwJn8= -github.com/pulumi/pulumi/pkg/v3 v3.57.0 h1:KF5CZQWB2mzocbl7Fad0Xg7nev7T55c4cF6t1IuMx6c= -github.com/pulumi/pulumi/pkg/v3 v3.57.0/go.mod h1:rFVQwJfA+Zq0xTM9SwqcYQcURUvbHikDedTqiioh7VI= -github.com/pulumi/pulumi/sdk/v3 v3.57.0 h1:bhZFTe5SFZKeDVATI9dCM7/mntUvw4lOzE21L0iPUUg= -github.com/pulumi/pulumi/sdk/v3 v3.57.0/go.mod h1:Pb5H3OaRZg0n4TRIfY0pagR/NBIEvjp3lZe2Spr6Umc= +github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= +github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= +github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mcDqjsivQ= +github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= +github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0 h1:oZNwz2YupCstNNwxCcUaEBV6iL6wikiAqjas9ufR4yE= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0/go.mod h1:8UuPmsuaGgUDUSsRKhoSf5J6SlfjHioKO+XeEWfXQfE= +github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4= +github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w= +github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E= +github.com/pulumi/pulumi-yaml v1.2.2/go.mod h1:EgakC7b/4+VBNnlgM1RZIea2gUstV8s/7bdFJZt0P64= +github.com/pulumi/pulumi/pkg/v3 v3.89.0 h1:4gaR9ZerHqtc0NYcq7TLxhj2029H9CtRrirmibyLw/E= +github.com/pulumi/pulumi/pkg/v3 v3.89.0/go.mod h1:5DIoI81I+NmW/y2BDlQR4CwnzTeVwkI3DZ4FBnSprXs= +github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= +github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= -github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Dik4Qe/+xguB8JagPyXNlbOnRiXGmq/PSPQTGunYnTk= -github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= -github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9 h1:JMw+t5I+6E8Lna7JF+ghAoOLOl23UIbshJyRNP+K1HU= -github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9/go.mod h1:mYPs/uchNcBq7AclQv9QUtSf9iNcfp1Ag21jqTlDf2M= +github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= +github.com/pulumi/terraform-diff-reader v0.0.2/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e h1:blSirnXqvm8JXLxwxelsBroUNRhOHakDO7cgJUYTdpQ= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e/go.mod h1:qH/34G25Ugdj5FcM95cSoXzUgIbgfhVLXCcEcYaMwq8= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= +github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= +github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= +github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= +github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= +github.com/rogpeppe/go-charset v0.0.0-20180617210344-2471d30d28b4/go.mod h1:qgYeAmZ5ZIpBWTGllZSQnw97Dj+woV0toclVaRGI8pc= github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= @@ -1709,6 +2232,8 @@ github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThC github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w= +github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245/go.mod h1:pQAZKsJ8yyVxGRWYNEm9oFB8ieLgKFnamEyDmSA0BRk= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/go-glob v1.0.0 h1:iQh3xXAumdQ+4Ufa5b25cRpC5TYKlno6hsv6Cb3pkBk= @@ -1734,8 +2259,9 @@ github.com/segmentio/encoding v0.3.5 h1:UZEiaZ55nlXGDL92scoVuw00RmiRCazIEmvPSbSv github.com/segmentio/encoding v0.3.5/go.mod h1:n0JeuIqEQrQoPDGsjo8UNd1iA0U8d8+oHAA4E3G3OxM= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= +github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= @@ -1753,8 +2279,9 @@ github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6Mwd github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ysW0= -github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= +github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/skeema/knownhosts v1.2.0 h1:h9r9cf0+u7wSE+M183ZtMGgOJKiL96brpaz5ekfJCpM= +github.com/skeema/knownhosts v1.2.0/go.mod h1:g4fPeYpque7P0xefxtGzV81ihjC8sX2IqpAoNkjxbMo= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= @@ -1765,8 +2292,10 @@ github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasO github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= -github.com/spf13/afero v1.6.0 h1:xoax2sJ2DT8S8xA2paPFjDCScCNeWsg75VG0DLRreiY= github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= +github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= +github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= +github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= @@ -1775,8 +2304,8 @@ github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKv github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= -github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= -github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= @@ -1800,7 +2329,6 @@ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSS github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= @@ -1812,8 +2340,10 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -1856,14 +2386,13 @@ github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6Ac github.com/vmihailenco/msgpack v4.0.1+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= -github.com/vmihailenco/msgpack/v4 v4.3.12 h1:07s4sz9IReOgdikxLTKNbBdqDMLsjPKXwvCazn8G65U= -github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4= -github.com/vmihailenco/tagparser v0.1.1 h1:quXMXlA39OCbd2wAdTsGDlK9RkOk6Wuw+x37wVyIuWY= -github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= +github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= +github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= +github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= +github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI= github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= github.com/willf/bitset v1.1.11/go.mod h1:83CECat5yLh5zVOf4P1ErAgKA5UDvKtgyUABdr3+MjI= -github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0= github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= @@ -1894,13 +2423,17 @@ github.com/zclconf/go-cty v1.0.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLE github.com/zclconf/go-cty v1.1.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLEih+O3s= github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= github.com/zclconf/go-cty v1.2.1/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= -github.com/zclconf/go-cty v1.8.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= -github.com/zclconf/go-cty v1.10.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= -github.com/zclconf/go-cty v1.12.1 h1:PcupnljUm9EIvbgSHQnHhUr3fO6oFmkOrvs2BAFNXXY= -github.com/zclconf/go-cty v1.12.1/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA= +github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +github.com/zclconf/go-cty v1.14.0 h1:/Xrd39K7DXbHzlisFP9c4pHao4yyf+/Ug9LEz+Y/yhc= +github.com/zclconf/go-cty v1.14.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-yaml v1.0.1 h1:up11wlgAaDvlAGENcFDnZgkn0qUJurso7k6EpURKNF8= github.com/zclconf/go-cty-yaml v1.0.1/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0= +github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= +github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA= github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= @@ -1975,6 +2508,7 @@ go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg go.opentelemetry.io/proto/otlp v0.12.1/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.opentelemetry.io/proto/otlp v0.16.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= @@ -2006,13 +2540,11 @@ golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnf golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -2036,33 +2568,54 @@ golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= -golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= +golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= +golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= +golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE= +golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= +golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= +golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191002040644-a1355ae1e2c3/go.mod h1:NOZ3BPKG0ec/BKJQgnvsSFpcKLM5xXVWnvZS97DWHgE= golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20221126150942-6ab00d035af9 h1:yZNXmy+j/JpX19vZkVktWqAo7Gny4PBWYYK3zskGpx4= -golang.org/x/exp v0.0.0-20221126150942-6ab00d035af9/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= +golang.org/x/exp v0.0.0-20220827204233-334a2380cb91/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= +golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20190910094157-69e4b8554b2a/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20200119044424-58c23975cae1/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20200430140353-33d19683fad8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20200618115811-c13761719519/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20201208152932-35266b937fa6/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20210216034530-4410531fe030/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20210607152325-775e3b0c77b9/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= +golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= +golang.org/x/image v0.0.0-20211028202545-6944b10bf410/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= +golang.org/x/image v0.0.0-20220302094943-723b81ca9867/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -2091,8 +2644,12 @@ golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= -golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8= +golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -2150,7 +2707,6 @@ golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20210224082022-3d97a244fca7/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= -golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8= golang.org/x/net v0.0.0-20210421230115-4e50805a0758/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM= @@ -2178,9 +2734,19 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= +golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= +golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= +golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= +golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -2210,10 +2776,15 @@ golang.org/x/oauth2 v0.0.0-20220628200809-02e64fa58f26/go.mod h1:jaDAt6Dkxork7Lm golang.org/x/oauth2 v0.0.0-20220722155238-128564f6959c/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -golang.org/x/oauth2 v0.4.0 h1:NF0gk8LVPg1Ml7SSbGyySuoxdsXitj7TvgvuRxIMc/M= golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec= +golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= +golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw= +golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= +golang.org/x/oauth2 v0.13.0 h1:jDDenyj+WgFtmV3zYVoi8aE2BwtXFLWOA67ZfNWftiY= +golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -2228,9 +2799,11 @@ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -2252,7 +2825,6 @@ golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190530182044-ad28b68e88f1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2322,7 +2894,9 @@ golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210304124612-50617c2ba197/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2333,7 +2907,6 @@ golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210503080704-8803ae5d1324/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -2378,10 +2951,19 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220731174439-a90be440212d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= @@ -2392,6 +2974,14 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= +golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= +golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= +golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= +golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= +golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= +golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= +golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -2403,7 +2993,14 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -2417,14 +3014,19 @@ golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20220224211638-0e9765cccd65/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20220609170525-579cf78fd858/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 h1:ftMN5LMiBFjbzleLqtoBZk7KdJwhuybIU+FckUHgoyQ= golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= +golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= @@ -2449,6 +3051,7 @@ golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20190823170909-c4a336ef6a2f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190927191325-030b2cf1153e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -2480,18 +3083,19 @@ golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roY golang.org/x/tools v0.0.0-20200616133436-c1934b75d054/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200713011307-fd294ab11aed/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= @@ -2504,7 +3108,11 @@ golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= -golang.org/x/tools v0.6.0 h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM= +golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= +golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= +golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= +golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= +golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -2516,6 +3124,14 @@ golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNq golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= +gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0= +gonum.org/v1/gonum v0.9.3/go.mod h1:TZumC3NeyVQskjXqmyWt4S3bINhy7B4eYwW69EbyX+0= +gonum.org/v1/gonum v0.11.0/go.mod h1:fSG4YDCxxUZQJ7rKsQrj0gMOg00Il0Z96/qMA4bVQhA= +gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= +gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= +gonum.org/v1/plot v0.9.0/go.mod h1:3Pcqqmp6RHvJI72kgb8fThyUnav364FOsdDo2aGW5lY= +gonum.org/v1/plot v0.10.1/go.mod h1:VZW5OlhkL1mysU9vaqNHnsy86inf6Ot+jB3r+BczCEo= google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= @@ -2570,9 +3186,18 @@ google.golang.org/api v0.95.0/go.mod h1:eADj+UBuxkh5zlrSntJghuNeg8HwQ1w5lTKkuqaE google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= +google.golang.org/api v0.99.0/go.mod h1:1YOf74vkVndF7pG6hIHuINsM7eWwpVTAfNMNiL91A08= google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= -google.golang.org/api v0.103.0 h1:9yuVqlu2JCvcLg9p8S3fcFLZij8EPSyvODIY1rkMizQ= +google.golang.org/api v0.102.0/go.mod h1:3VFl6/fzoA+qNuS1N1/VfXY4LjoXN/wzeIp7TweWwGo= google.golang.org/api v0.103.0/go.mod h1:hGtW6nK1AC+d9si/UBhw8Xli+QMOf6xyNAyJw4qU9w0= +google.golang.org/api v0.106.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= +google.golang.org/api v0.107.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= +google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= +google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI= +google.golang.org/api v0.111.0/go.mod h1:qtFHvU9mhgTJegR31csQ+rwxyUTHOKFqCKWp1J0fdw0= +google.golang.org/api v0.114.0/go.mod h1:ifYI2ZsFK6/uGddGfAD5BMxlnkBqCmqHSDUVi45N5Yg= +google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o= +google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -2616,7 +3241,6 @@ google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1m google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200711021454-869866162049/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= @@ -2627,7 +3251,9 @@ google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= @@ -2702,9 +3328,47 @@ google.golang.org/genproto v0.0.0-20220926220553-6981cbe3cfce/go.mod h1:woMGP53B google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqwhZAwq4wsRUaVG555sVgsNmIjRtO7t/JH29U= google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= +google.golang.org/genproto v0.0.0-20221024153911-1573dae28c9c/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= +google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f h1:BWUVssLB0HVOSY78gIdvk1dTVYtT1y8SBWtPYuTJ/6w= +google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c/go.mod h1:CGI5F/G+E5bKwmfYo09AXuVN4dD894kIKUFmVbP2/Fo= +google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221114212237-e4508ebdbee1/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221117204609-8f9c96812029/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221201164419-0e50fba7f41c/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221201204527-e3fa12d562f3/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd/go.mod h1:cTsE614GARnxrLsqKREzmNYJACSWWpAWdNMwnD7c2BE= +google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230112194545-e10362b5ecf9/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230113154510-dbe35b8444a5/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230124163310-31e0e69b6fc2/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230216225411-c8e22ba71e44/go.mod h1:8B0gmkoRebU8ukX6HP+4wrVQUY1+6PkQ44BSyIlflHA= +google.golang.org/genproto v0.0.0-20230222225845-10f96fb3dbec/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw= +google.golang.org/genproto v0.0.0-20230223222841-637eb2293923/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw= +google.golang.org/genproto v0.0.0-20230303212802-e74f57abe488/go.mod h1:TvhZT5f700eVlTNwND1xoEZQeWTB2RY/65kplwl/bFA= +google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= +google.golang.org/genproto v0.0.0-20230320184635-7606e756e683/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= +google.golang.org/genproto v0.0.0-20230323212658-478b75c54725/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= +google.golang.org/genproto v0.0.0-20230330154414-c0448cd141ea/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= +google.golang.org/genproto v0.0.0-20230331144136-dcfb400f0633/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= +google.golang.org/genproto v0.0.0-20230525234025-438c736192d0/go.mod h1:9ExIQyXL5hZrHzQceCwuSYwZZ5QZBazOcprJ5rgs3lY= +google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= +google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e h1:xIXmWJ303kJCuogpj0bHq+dcjcZHU+XFyc1I0Yl9cRg= +google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:0ggbjUrZYpy1q+ANUS30SEoGZ53cdfwtbuG7Ptgy108= +google.golang.org/genproto/googleapis/api v0.0.0-20230525234020-1aefcd67740a/go.mod h1:ts19tUU+Z0ZShN1y3aPyq2+O3d5FUNNgT6FtOzmrNn8= +google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130 h1:XVeBY8d/FaK4848myy41HBqnDwvxeV3zMZhwN1TvAMU= +google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:mPBs5jNgx2GuQGvFwUvVKqtn6HsUw9nP64BedgvqEsQ= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234015-3fc162c6f38a/go.mod h1:xURIpW9ES5+/GZhnV6beoEtxQrnkRGIfP5VQG2tCBLc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 h1:2FZP5XuJY9zQyGM5N0rtovnoXjiMUEIUMvw0m9wlpLc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= @@ -2752,10 +3416,13 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.53.0 h1:LAv2ds7cmFV/XTS3XG1NneeENYrXGmorPxsBbptIjNc= +google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= +google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= +google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= +google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= +google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0/go.mod h1:DNq5QpG7LJqD2AamLZ7zvKE0DEpVl2BSEVjFycAAjRY= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -2770,8 +3437,12 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0 google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.28.2-0.20230222093303-bc1253ad3743/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= +google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -2816,7 +3487,6 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= @@ -2830,6 +3500,7 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo= k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ= k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8= @@ -2891,9 +3562,43 @@ k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/ k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= lukechampine.com/frand v1.4.2 h1:RzFIpOvkMXuPMBb9maa4ND4wjBn71E1Jpf8BzJHMaVw= lukechampine.com/frand v1.4.2/go.mod h1:4S/TM2ZgrKejMcKMbeLjISpJMO+/eZ1zu3vYX9dtj3s= +lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= +lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= +modernc.org/cc/v3 v3.36.0/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= +modernc.org/cc/v3 v3.36.2/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= +modernc.org/cc/v3 v3.36.3/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= +modernc.org/ccgo/v3 v3.0.0-20220428102840-41399a37e894/go.mod h1:eI31LL8EwEBKPpNpA4bU1/i+sKOwOrQy8D87zWUcRZc= +modernc.org/ccgo/v3 v3.0.0-20220430103911-bc99d88307be/go.mod h1:bwdAnOoaIt8Ax9YdWGjxWsdkPcZyRPHqrOvJxaKAKGw= +modernc.org/ccgo/v3 v3.16.4/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= +modernc.org/ccgo/v3 v3.16.6/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= +modernc.org/ccgo/v3 v3.16.8/go.mod h1:zNjwkizS+fIFDrDjIAgBSCLkWbJuHF+ar3QRn+Z9aws= +modernc.org/ccgo/v3 v3.16.9/go.mod h1:zNMzC9A9xeNUepy6KuZBbugn3c0Mc9TeiJO4lgvkJDo= +modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= +modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= +modernc.org/libc v0.0.0-20220428101251-2d5f3daf273b/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= +modernc.org/libc v1.16.0/go.mod h1:N4LD6DBE9cf+Dzf9buBlzVJndKr/iJHG97vGLHYnb5A= +modernc.org/libc v1.16.1/go.mod h1:JjJE0eu4yeK7tab2n4S1w8tlWd9MxXLRzheaRnAKymU= +modernc.org/libc v1.16.17/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU= +modernc.org/libc v1.16.19/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= +modernc.org/libc v1.17.0/go.mod h1:XsgLldpP4aWlPlsjqKRdHPqCxCjISdHfM/yeWC5GyW0= +modernc.org/libc v1.17.1/go.mod h1:FZ23b+8LjxZs7XtFMbSzL/EhPxNbfZbErxEHc7cbD9s= +modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/mathutil v1.4.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/memory v1.1.1/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= +modernc.org/memory v1.2.0/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= +modernc.org/memory v1.2.1/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= +modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= +modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= +modernc.org/sqlite v1.18.1/go.mod h1:6ho+Gow7oX5V+OiOQ6Tr4xeqbx13UZ6t+Fw9IRUG4d4= +modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw= +modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw= +modernc.org/tcl v1.13.1/go.mod h1:XOLfOwzhkljL4itZkK6T72ckMgvj0BDsnKNdZVUOecw= +modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= +modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8= mvdan.cc/gofumpt v0.1.0 h1:hsVv+Y9UsZ/mFZTxJZuHVI6shSQCtzZ11h1JEFPAZLw= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= -pgregory.net/rapid v0.5.5 h1:jkgx1TjbQPD/feRoK+S/mXw9e1uj6WilpHrXJowi6oA= +pgregory.net/rapid v0.6.1 h1:4eyrDxyht86tT4Ztm+kvlyNBLIk071gR+ZQdhphc9dQ= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= diff --git a/provider/resources.go b/provider/resources.go index 8f37bb1a..2f0ccaf1 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -445,6 +445,35 @@ func Provider() tfbridge.ProviderInfo { }, }, }, + "equinix_fabric_cloud_router": { + Tok: makeEquinixResource(fabricMod, "CloudRouter"), + Docs: &tfbridge.DocInfo{ + ReplaceExamplesSection: true, + }, + }, + "equinix_fabric_routing_protocol": { + Tok: makeEquinixResource(fabricMod, "RoutingProtocol"), + Docs: &tfbridge.DocInfo{ + ReplaceExamplesSection: true, + }, + Fields: map[string]*tfbridge.SchemaInfo{ + "direct_ipv4": { + MaxItemsOne: tfbridge.True(), + }, + "direct_ipv6": { + MaxItemsOne: tfbridge.True(), + }, + "bfd": { + MaxItemsOne: tfbridge.True(), + }, + "bgp_ipv4": { + MaxItemsOne: tfbridge.True(), + }, + "bgp_ipv6": { + MaxItemsOne: tfbridge.True(), + }, + }, + }, // Equinix Metal v1 "equinix_metal_bgp_session": { Tok: makeEquinixResource(metalMod, "BgpSession"), @@ -1406,10 +1435,32 @@ func Provider() tfbridge.ProviderInfo { }, }, }, + "equinix_fabric_cloud_router": {Tok: makeEquinixDataSource(fabricMod, "CloudRouter")}, + "equinix_fabric_routing_protocol": { + Tok: makeEquinixDataSource(fabricMod, "RoutingProtocol"), + Fields: map[string]*tfbridge.SchemaInfo{ + "direct_ipv4": { + MaxItemsOne: tfbridge.True(), + }, + "direct_ipv6": { + MaxItemsOne: tfbridge.True(), + }, + "bfd": { + MaxItemsOne: tfbridge.True(), + }, + "bgp_ipv4": { + MaxItemsOne: tfbridge.True(), + }, + "bgp_ipv6": { + MaxItemsOne: tfbridge.True(), + }, + }, + }, // Equinix Metal v1 "equinix_metal_connection": {Tok: makeEquinixDataSource(metalMod, "Interconnection")}, "equinix_metal_device": {Tok: makeEquinixDataSource(metalMod, "Device")}, "equinix_metal_device_bgp_neighbors": {Tok: makeEquinixDataSource(metalMod, "DeviceBgpNeighbors")}, + "equinix_metal_devices": {Tok: makeEquinixDataSource(metalMod, "Devices")}, "equinix_metal_facility": {Tok: makeEquinixDataSource(metalMod, "Facility")}, "equinix_metal_gateway": {Tok: makeEquinixDataSource(metalMod, "Gateway")}, "equinix_metal_hardware_reservation": {Tok: makeEquinixDataSource(metalMod, "HardwareReservation")}, From 134684e58b926c7ae7d0344bf23679600144b7f8 Mon Sep 17 00:00:00 2001 From: ocobleseqx Date: Fri, 20 Oct 2023 00:01:54 +0200 Subject: [PATCH 2/5] add examples for cloud router and routing protocol resources Signed-off-by: ocobleseqx --- .../equinix_fabric_cloud_router.examples.md | 225 +++++++++++ ...quinix_fabric_routing_protocol.examples.md | 156 ++++++++ .../fabric/cloud_router/csharp/.gitignore | 353 ++++++++++++++++++ .../fabric/cloud_router/csharp/Program.cs | 45 +++ .../fabric/cloud_router/csharp/Pulumi.yaml | 9 + .../csharp/equinix-fabric-cloud-router.csproj | 14 + examples/fabric/cloud_router/example.md | 252 +++++++++++++ examples/fabric/cloud_router/generate.sh | 27 ++ examples/fabric/cloud_router/go/Pulumi.yaml | 9 + examples/fabric/cloud_router/go/go.mod | 7 + examples/fabric/cloud_router/go/main.go | 44 +++ examples/fabric/cloud_router/java/Pulumi.yaml | 9 + examples/fabric/cloud_router/java/pom.xml | 92 +++++ .../src/main/java/generated_program/App.java | 48 +++ .../fabric/cloud_router/python/.gitignore | 2 + .../fabric/cloud_router/python/Pulumi.yaml | 9 + .../fabric/cloud_router/python/__main__.py | 25 ++ .../cloud_router/python/requirements.txt | 2 + .../fabric/cloud_router/typescript/.gitignore | 2 + .../cloud_router/typescript/Pulumi.yaml | 9 + .../fabric/cloud_router/typescript/index.ts | 24 ++ .../cloud_router/typescript/package.json | 11 + .../cloud_router/typescript/tsconfig.json | 18 + examples/fabric/cloud_router/yaml/Pulumi.yaml | 27 ++ .../fabric/routing_protocol/csharp/.gitignore | 353 ++++++++++++++++++ .../fabric/routing_protocol/csharp/Program.cs | 28 ++ .../routing_protocol/csharp/Pulumi.yaml | 6 + .../equinix-fabric-routing-protocol.csproj | 14 + examples/fabric/routing_protocol/example.md | 183 +++++++++ .../fabric/routing_protocol/go/Pulumi.yaml | 6 + examples/fabric/routing_protocol/go/go.mod | 7 + examples/fabric/routing_protocol/go/main.go | 29 ++ .../fabric/routing_protocol/java/Pulumi.yaml | 6 + examples/fabric/routing_protocol/java/pom.xml | 92 +++++ .../src/main/java/generated_program/App.java | 37 ++ .../fabric/routing_protocol/python/.gitignore | 2 + .../routing_protocol/python/Pulumi.yaml | 6 + .../routing_protocol/python/__main__.py | 15 + .../routing_protocol/python/requirements.txt | 2 + .../routing_protocol/typescript/.gitignore | 2 + .../routing_protocol/typescript/Pulumi.yaml | 6 + .../routing_protocol/typescript/index.ts | 16 + .../routing_protocol/typescript/package.json | 11 + .../routing_protocol/typescript/tsconfig.json | 18 + .../fabric/routing_protocol/yaml/Pulumi.yaml | 19 + examples/generate.sh | 27 ++ 46 files changed, 2304 insertions(+) create mode 100644 docs/resource/equinix_fabric_cloud_router.examples.md create mode 100644 docs/resource/equinix_fabric_routing_protocol.examples.md create mode 100644 examples/fabric/cloud_router/csharp/.gitignore create mode 100644 examples/fabric/cloud_router/csharp/Program.cs create mode 100644 examples/fabric/cloud_router/csharp/Pulumi.yaml create mode 100644 examples/fabric/cloud_router/csharp/equinix-fabric-cloud-router.csproj create mode 100644 examples/fabric/cloud_router/example.md create mode 100755 examples/fabric/cloud_router/generate.sh create mode 100644 examples/fabric/cloud_router/go/Pulumi.yaml create mode 100644 examples/fabric/cloud_router/go/go.mod create mode 100644 examples/fabric/cloud_router/go/main.go create mode 100644 examples/fabric/cloud_router/java/Pulumi.yaml create mode 100644 examples/fabric/cloud_router/java/pom.xml create mode 100644 examples/fabric/cloud_router/java/src/main/java/generated_program/App.java create mode 100644 examples/fabric/cloud_router/python/.gitignore create mode 100644 examples/fabric/cloud_router/python/Pulumi.yaml create mode 100644 examples/fabric/cloud_router/python/__main__.py create mode 100644 examples/fabric/cloud_router/python/requirements.txt create mode 100644 examples/fabric/cloud_router/typescript/.gitignore create mode 100644 examples/fabric/cloud_router/typescript/Pulumi.yaml create mode 100644 examples/fabric/cloud_router/typescript/index.ts create mode 100644 examples/fabric/cloud_router/typescript/package.json create mode 100644 examples/fabric/cloud_router/typescript/tsconfig.json create mode 100644 examples/fabric/cloud_router/yaml/Pulumi.yaml create mode 100644 examples/fabric/routing_protocol/csharp/.gitignore create mode 100644 examples/fabric/routing_protocol/csharp/Program.cs create mode 100644 examples/fabric/routing_protocol/csharp/Pulumi.yaml create mode 100644 examples/fabric/routing_protocol/csharp/equinix-fabric-routing-protocol.csproj create mode 100644 examples/fabric/routing_protocol/example.md create mode 100644 examples/fabric/routing_protocol/go/Pulumi.yaml create mode 100644 examples/fabric/routing_protocol/go/go.mod create mode 100644 examples/fabric/routing_protocol/go/main.go create mode 100644 examples/fabric/routing_protocol/java/Pulumi.yaml create mode 100644 examples/fabric/routing_protocol/java/pom.xml create mode 100644 examples/fabric/routing_protocol/java/src/main/java/generated_program/App.java create mode 100644 examples/fabric/routing_protocol/python/.gitignore create mode 100644 examples/fabric/routing_protocol/python/Pulumi.yaml create mode 100644 examples/fabric/routing_protocol/python/__main__.py create mode 100644 examples/fabric/routing_protocol/python/requirements.txt create mode 100644 examples/fabric/routing_protocol/typescript/.gitignore create mode 100644 examples/fabric/routing_protocol/typescript/Pulumi.yaml create mode 100644 examples/fabric/routing_protocol/typescript/index.ts create mode 100644 examples/fabric/routing_protocol/typescript/package.json create mode 100644 examples/fabric/routing_protocol/typescript/tsconfig.json create mode 100644 examples/fabric/routing_protocol/yaml/Pulumi.yaml create mode 100755 examples/generate.sh diff --git a/docs/resource/equinix_fabric_cloud_router.examples.md b/docs/resource/equinix_fabric_cloud_router.examples.md new file mode 100644 index 00000000..42bd8a94 --- /dev/null +++ b/docs/resource/equinix_fabric_cloud_router.examples.md @@ -0,0 +1,225 @@ +## Example Usage +{{% example %}} + +```typescript +import * as pulumi from "@pulumi/pulumi"; +import * as equinix from "@equinix-labs/pulumi-equinix"; + +const config = new pulumi.Config(); +const metro = config.get("metro") || "FR"; +const accountNum = config.requireNumber("accountNum"); +const router = new equinix.fabric.CloudRouter("router", { + name: "My-Fabric-Cloud-Router", + type: "XF_ROUTER", + location: { + metroCode: metro, + }, + "package": { + code: "BASIC", + }, + notifications: [{ + type: "ALL", + emails: ["example@equinix.com"], + }], + account: { + accountNumber: 272010, + }, +}); +export const routerId = router.id; +``` +```python +import pulumi +import pulumi_equinix as equinix + +config = pulumi.Config() +metro = config.get("metro") +if metro is None: + metro = "FR" +account_num = config.require_int("accountNum") +router = equinix.fabric.CloudRouter("router", + name="My-Fabric-Cloud-Router", + type="XF_ROUTER", + location=equinix.fabric.CloudRouterLocationArgs( + metro_code=metro, + ), + package=equinix.fabric.CloudRouterPackageArgs( + code="BASIC", + ), + notifications=[equinix.fabric.CloudRouterNotificationArgs( + type="ALL", + emails=["example@equinix.com"], + )], + account=equinix.fabric.CloudRouterAccountArgs( + account_number=272010, + )) +pulumi.export("routerId", router.id) +``` +```go +package main + +import ( + "github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +) + +func main() { + pulumi.Run(func(ctx *pulumi.Context) error { + cfg := config.New(ctx, "") + metro := "FR" + if param := cfg.Get("metro"); param != "" { + metro = param + } + accountNum := cfg.RequireInt("accountNum") + router, err := fabric.NewCloudRouter(ctx, "router", &fabric.CloudRouterArgs{ + Name: pulumi.String("My-Fabric-Cloud-Router"), + Type: pulumi.String("XF_ROUTER"), + Location: &fabric.CloudRouterLocationArgs{ + MetroCode: pulumi.String(metro), + }, + Package: &fabric.CloudRouterPackageArgs{ + Code: pulumi.String("BASIC"), + }, + Notifications: fabric.CloudRouterNotificationArray{ + &fabric.CloudRouterNotificationArgs{ + Type: pulumi.String("ALL"), + Emails: pulumi.StringArray{ + pulumi.String("example@equinix.com"), + }, + }, + }, + Account: &fabric.CloudRouterAccountArgs{ + AccountNumber: pulumi.Int(272010), + }, + }) + if err != nil { + return err + } + ctx.Export("routerId", router.ID()) + return nil + }) +} +``` +```csharp +using System.Collections.Generic; +using System.Linq; +using Pulumi; +using Equinix = Pulumi.Equinix; + +return await Deployment.RunAsync(() => +{ + var config = new Config(); + var metro = config.Get("metro") ?? "FR"; + var accountNum = config.RequireInt32("accountNum"); + var router = new Equinix.Fabric.CloudRouter("router", new() + { + Name = "My-Fabric-Cloud-Router", + Type = "XF_ROUTER", + Location = new Equinix.Fabric.Inputs.CloudRouterLocationArgs + { + MetroCode = metro, + }, + Package = new Equinix.Fabric.Inputs.CloudRouterPackageArgs + { + Code = "BASIC", + }, + Notifications = new[] + { + new Equinix.Fabric.Inputs.CloudRouterNotificationArgs + { + Type = "ALL", + Emails = new[] + { + "example@equinix.com", + }, + }, + }, + Account = new Equinix.Fabric.Inputs.CloudRouterAccountArgs + { + AccountNumber = 272010, + }, + }); + + return new Dictionary + { + ["routerId"] = router.Id, + }; +}); +``` +```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.CloudRouterLocationArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterPackageArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterNotificationArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterAccountArgs; +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 config = ctx.config(); + final var metro = config.get("metro").orElse("FR"); + final var accountNum = config.get("accountNum"); + var router = new CloudRouter("router", CloudRouterArgs.builder() + .name("My-Fabric-Cloud-Router") + .type("XF_ROUTER") + .location(CloudRouterLocationArgs.builder() + .metroCode(metro) + .build()) + .package_(CloudRouterPackageArgs.builder() + .code("BASIC") + .build()) + .notifications(CloudRouterNotificationArgs.builder() + .type("ALL") + .emails("example@equinix.com") + .build()) + .account(CloudRouterAccountArgs.builder() + .accountNumber(272010) + .build()) + .build()); + + ctx.export("routerId", router.id()); + } +} +``` +```yaml +config: + metro: + type: string + default: FR + accountNum: + type: integer +resources: + router: + type: equinix:fabric:CloudRouter + properties: + name: My-Fabric-Cloud-Router + type: XF_ROUTER + location: + metroCode: ${metro} + package: + code: BASIC + notifications: + - type: ALL + emails: + - example@equinix.com + account: + accountNumber: 272010 +outputs: + routerId: ${router.id} +``` +{{% /example %}} diff --git a/docs/resource/equinix_fabric_routing_protocol.examples.md b/docs/resource/equinix_fabric_routing_protocol.examples.md new file mode 100644 index 00000000..a7bf2241 --- /dev/null +++ b/docs/resource/equinix_fabric_routing_protocol.examples.md @@ -0,0 +1,156 @@ +## Example Usage +{{% example %}} + +```typescript +import * as pulumi from "@pulumi/pulumi"; +import * as equinix from "@equinix-labs/pulumi-equinix"; + +const config = new pulumi.Config(); +const connectionId = config.require("connectionId"); +const routingProtocol = new equinix.fabric.RoutingProtocol("RoutingProtocol", { + connectionUuid: connectionId, + name: "My-Direct-route-1", + type: "DIRECT", + directIpv4: { + equinixIfaceIp: "192.168.100.1/30", + }, +}); +export const routingProtocolId = routingProtocol.id; +export const routingProtocolState = routingProtocol.state; +export const routingProtocolEquinixAsn = routingProtocol.equinixAsn; +``` +```python +import pulumi +import pulumi_equinix as equinix + +config = pulumi.Config() +connection_id = config.require("connectionId") +routing_protocol = equinix.fabric.RoutingProtocol("RoutingProtocol", + connection_uuid=connection_id, + name="My-Direct-route-1", + type="DIRECT", + direct_ipv4=equinix.fabric.RoutingProtocolDirectIpv4Args( + equinix_iface_ip="192.168.100.1/30", + )) +pulumi.export("routingProtocolId", routing_protocol.id) +pulumi.export("routingProtocolState", routing_protocol.state) +pulumi.export("routingProtocolEquinixAsn", routing_protocol.equinix_asn) +``` +```go +package main + +import ( + "github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +) + +func main() { + pulumi.Run(func(ctx *pulumi.Context) error { + cfg := config.New(ctx, "") + connectionId := cfg.Require("connectionId") + routingProtocol, err := fabric.NewRoutingProtocol(ctx, "RoutingProtocol", &fabric.RoutingProtocolArgs{ + ConnectionUuid: pulumi.String(connectionId), + Name: pulumi.String("My-Direct-route-1"), + Type: pulumi.String("DIRECT"), + DirectIpv4: &fabric.RoutingProtocolDirectIpv4Args{ + EquinixIfaceIp: pulumi.String("192.168.100.1/30"), + }, + }) + if err != nil { + return err + } + ctx.Export("routingProtocolId", routingProtocol.ID()) + ctx.Export("routingProtocolState", routingProtocol.State) + ctx.Export("routingProtocolEquinixAsn", routingProtocol.EquinixAsn) + return nil + }) +} +``` +```csharp +using System.Collections.Generic; +using System.Linq; +using Pulumi; +using Equinix = Pulumi.Equinix; + +return await Deployment.RunAsync(() => +{ + var config = new Config(); + var connectionId = config.Require("connectionId"); + var routingProtocol = new Equinix.Fabric.RoutingProtocol("RoutingProtocol", new() + { + ConnectionUuid = connectionId, + Name = "My-Direct-route-1", + Type = "DIRECT", + DirectIpv4 = new Equinix.Fabric.Inputs.RoutingProtocolDirectIpv4Args + { + EquinixIfaceIp = "192.168.100.1/30", + }, + }); + + return new Dictionary + { + ["routingProtocolId"] = routingProtocol.Id, + ["routingProtocolState"] = routingProtocol.State, + ["routingProtocolEquinixAsn"] = routingProtocol.EquinixAsn, + }; +}); +``` +```java +package generated_program; + +import com.pulumi.Context; +import com.pulumi.Pulumi; +import com.pulumi.core.Output; +import com.pulumi.equinix.fabric.RoutingProtocol; +import com.pulumi.equinix.fabric.RoutingProtocolArgs; +import com.pulumi.equinix.fabric.inputs.RoutingProtocolDirectIpv4Args; +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 config = ctx.config(); + final var connectionId = config.get("connectionId"); + var routingProtocol = new RoutingProtocol("routingProtocol", RoutingProtocolArgs.builder() + .connectionUuid(connectionId) + .name("My-Direct-route-1") + .type("DIRECT") + .directIpv4(RoutingProtocolDirectIpv4Args.builder() + .equinixIfaceIp("192.168.100.1/30") + .build()) + .build()); + + ctx.export("routingProtocolId", routingProtocol.id()); + ctx.export("routingProtocolState", routingProtocol.state()); + ctx.export("routingProtocolEquinixAsn", routingProtocol.equinixAsn()); + } +} +``` +```yaml +config: + connectionId: + type: string +resources: + RoutingProtocol: + type: equinix:fabric:RoutingProtocol + properties: + connectionUuid: ${connectionId} + name: My-Direct-route-1 + type: DIRECT + directIpv4: + equinixIfaceIp: 192.168.100.1/30 +outputs: + routingProtocolId: ${RoutingProtocol.id} + routingProtocolState: ${RoutingProtocol.state} + routingProtocolEquinixAsn: ${RoutingProtocol.equinixAsn} +``` +{{% /example %}} diff --git a/examples/fabric/cloud_router/csharp/.gitignore b/examples/fabric/cloud_router/csharp/.gitignore new file mode 100644 index 00000000..e6452706 --- /dev/null +++ b/examples/fabric/cloud_router/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/csharp/Program.cs b/examples/fabric/cloud_router/csharp/Program.cs new file mode 100644 index 00000000..bac67fa9 --- /dev/null +++ b/examples/fabric/cloud_router/csharp/Program.cs @@ -0,0 +1,45 @@ +using System.Collections.Generic; +using System.Linq; +using Pulumi; +using Equinix = Pulumi.Equinix; + +return await Deployment.RunAsync(() => +{ + var config = new Config(); + var metro = config.Get("metro") ?? "FR"; + var accountNum = config.RequireInt32("accountNum"); + var router = new Equinix.Fabric.CloudRouter("router", new() + { + Name = "My-Fabric-Cloud-Router", + Type = "XF_ROUTER", + Location = new Equinix.Fabric.Inputs.CloudRouterLocationArgs + { + MetroCode = metro, + }, + Package = new Equinix.Fabric.Inputs.CloudRouterPackageArgs + { + Code = "BASIC", + }, + Notifications = new[] + { + new Equinix.Fabric.Inputs.CloudRouterNotificationArgs + { + Type = "ALL", + Emails = new[] + { + "example@equinix.com", + }, + }, + }, + Account = new Equinix.Fabric.Inputs.CloudRouterAccountArgs + { + AccountNumber = 272010, + }, + }); + + return new Dictionary + { + ["routerId"] = router.Id, + }; +}); + diff --git a/examples/fabric/cloud_router/csharp/Pulumi.yaml b/examples/fabric/cloud_router/csharp/Pulumi.yaml new file mode 100644 index 00000000..90872306 --- /dev/null +++ b/examples/fabric/cloud_router/csharp/Pulumi.yaml @@ -0,0 +1,9 @@ +name: equinix-fabric-cloud-router +runtime: dotnet +description: An Equinix Fabric Cloud Router instance +config: + accountNum: + type: integer + metro: + type: string + default: FR diff --git a/examples/fabric/cloud_router/csharp/equinix-fabric-cloud-router.csproj b/examples/fabric/cloud_router/csharp/equinix-fabric-cloud-router.csproj new file mode 100644 index 00000000..a70e40d7 --- /dev/null +++ b/examples/fabric/cloud_router/csharp/equinix-fabric-cloud-router.csproj @@ -0,0 +1,14 @@ + + + + Exe + net6.0 + enable + + + + + + + + \ No newline at end of file diff --git a/examples/fabric/cloud_router/example.md b/examples/fabric/cloud_router/example.md new file mode 100644 index 00000000..80bf601c --- /dev/null +++ b/examples/fabric/cloud_router/example.md @@ -0,0 +1,252 @@ +{{< chooser language "typescript,python,go,csharp,java,yaml" / >}} + +{{% choosable language "javascript,typescript" %}} + +```typescript +import * as pulumi from "@pulumi/pulumi"; +import * as equinix from "@equinix-labs/pulumi-equinix"; + +const config = new pulumi.Config(); +const metro = config.get("metro") || "FR"; +const accountNum = config.requireNumber("accountNum"); +const router = new equinix.fabric.CloudRouter("router", { + name: "My-Fabric-Cloud-Router", + type: "XF_ROUTER", + location: { + metroCode: metro, + }, + "package": { + code: "BASIC", + }, + notifications: [{ + type: "ALL", + emails: ["example@equinix.com"], + }], + account: { + accountNumber: 272010, + }, +}); +export const routerId = router.id; +``` + +{{% /choosable %}} + +{{% choosable language python %}} + +```python +import pulumi +import pulumi_equinix as equinix + +config = pulumi.Config() +metro = config.get("metro") +if metro is None: + metro = "FR" +account_num = config.require_int("accountNum") +router = equinix.fabric.CloudRouter("router", + name="My-Fabric-Cloud-Router", + type="XF_ROUTER", + location=equinix.fabric.CloudRouterLocationArgs( + metro_code=metro, + ), + package=equinix.fabric.CloudRouterPackageArgs( + code="BASIC", + ), + notifications=[equinix.fabric.CloudRouterNotificationArgs( + type="ALL", + emails=["example@equinix.com"], + )], + account=equinix.fabric.CloudRouterAccountArgs( + account_number=272010, + )) +pulumi.export("routerId", router.id) +``` + +{{% /choosable %}} + +{{% choosable language go %}} + +```go +package main + +import ( + "github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +) + +func main() { + pulumi.Run(func(ctx *pulumi.Context) error { + cfg := config.New(ctx, "") + metro := "FR" + if param := cfg.Get("metro"); param != "" { + metro = param + } + accountNum := cfg.RequireInt("accountNum") + router, err := fabric.NewCloudRouter(ctx, "router", &fabric.CloudRouterArgs{ + Name: pulumi.String("My-Fabric-Cloud-Router"), + Type: pulumi.String("XF_ROUTER"), + Location: &fabric.CloudRouterLocationArgs{ + MetroCode: pulumi.String(metro), + }, + Package: &fabric.CloudRouterPackageArgs{ + Code: pulumi.String("BASIC"), + }, + Notifications: fabric.CloudRouterNotificationArray{ + &fabric.CloudRouterNotificationArgs{ + Type: pulumi.String("ALL"), + Emails: pulumi.StringArray{ + pulumi.String("example@equinix.com"), + }, + }, + }, + Account: &fabric.CloudRouterAccountArgs{ + AccountNumber: pulumi.Int(272010), + }, + }) + if err != nil { + return err + } + ctx.Export("routerId", router.ID()) + return nil + }) +} +``` + +{{% /choosable %}} + +{{% choosable language csharp %}} + +```csharp +using System.Collections.Generic; +using System.Linq; +using Pulumi; +using Equinix = Pulumi.Equinix; + +return await Deployment.RunAsync(() => +{ + var config = new Config(); + var metro = config.Get("metro") ?? "FR"; + var accountNum = config.RequireInt32("accountNum"); + var router = new Equinix.Fabric.CloudRouter("router", new() + { + Name = "My-Fabric-Cloud-Router", + Type = "XF_ROUTER", + Location = new Equinix.Fabric.Inputs.CloudRouterLocationArgs + { + MetroCode = metro, + }, + Package = new Equinix.Fabric.Inputs.CloudRouterPackageArgs + { + Code = "BASIC", + }, + Notifications = new[] + { + new Equinix.Fabric.Inputs.CloudRouterNotificationArgs + { + Type = "ALL", + Emails = new[] + { + "example@equinix.com", + }, + }, + }, + Account = new Equinix.Fabric.Inputs.CloudRouterAccountArgs + { + AccountNumber = 272010, + }, + }); + + return new Dictionary + { + ["routerId"] = router.Id, + }; +}); +``` + +{{% /choosable %}} + +{{% choosable language java %}} + +```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.CloudRouterLocationArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterPackageArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterNotificationArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterAccountArgs; +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 config = ctx.config(); + final var metro = config.get("metro").orElse("FR"); + final var accountNum = config.get("accountNum"); + var router = new CloudRouter("router", CloudRouterArgs.builder() + .name("My-Fabric-Cloud-Router") + .type("XF_ROUTER") + .location(CloudRouterLocationArgs.builder() + .metroCode(metro) + .build()) + .package_(CloudRouterPackageArgs.builder() + .code("BASIC") + .build()) + .notifications(CloudRouterNotificationArgs.builder() + .type("ALL") + .emails("example@equinix.com") + .build()) + .account(CloudRouterAccountArgs.builder() + .accountNumber(272010) + .build()) + .build()); + + ctx.export("routerId", router.id()); + } +} +``` + +{{% /choosable %}} + +{{% choosable language yaml %}} + +```yaml +config: + metro: + type: string + default: FR + accountNum: + type: integer +resources: + router: + type: equinix:fabric:CloudRouter + properties: + name: My-Fabric-Cloud-Router + type: XF_ROUTER + location: + metroCode: ${metro} + package: + code: BASIC + notifications: + - type: ALL + emails: + - example@equinix.com + account: + accountNumber: 272010 +outputs: + routerId: ${router.id} +``` + +{{% /choosable %}} diff --git a/examples/fabric/cloud_router/generate.sh b/examples/fabric/cloud_router/generate.sh new file mode 100755 index 00000000..8f8b0930 --- /dev/null +++ b/examples/fabric/cloud_router/generate.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +pulumi convert --language python --out python --generate-only || true +pulumi convert --language typescript --out typescript --generate-only || true +pulumi convert --language java --out java --generate-only || true +pulumi convert --language go --out go || true +pulumi convert --language csharp --out csharp || true + +# Read each source file +TS_SRC=$(cat typescript/index.ts) +PY_SRC=$(cat python/__main__.py) +GO_SRC=$(cat go/main.go) +CS_SRC=$(cat csharp/Program.cs) +JAVA_SRC=$(cat java/src/main/java/generated_program/App.java) +## Skip first 3 lines +YAML_SRC=$(cat Pulumi.yaml | tail -n +4) + +CHOOSER='{{< chooser language "typescript,python,go,csharp,java,yaml" / >}}' +TS_BLOCK=$(printf "%s\n" '{{% choosable language "javascript,typescript" %}}' '' '```typescript' "$TS_SRC" '```' '' '{{% /choosable %}}') +PY_BLOCK=$(printf "%s\n" '{{% choosable language python %}}' '' '```python' "$PY_SRC" '```' '' '{{% /choosable %}}') +GO_BLOCK=$(printf "%s\n" '{{% choosable language go %}}' '' '```go' "$GO_SRC" '```' '' '{{% /choosable %}}') +CS_BLOCK=$(printf "%s\n" '{{% choosable language csharp %}}' '' '```csharp' "$CS_SRC" '```' '' '{{% /choosable %}}') +JAVA_BLOCK=$(printf "%s\n" '{{% choosable language java %}}' '' '```java' "$JAVA_SRC" '```' '' '{{% /choosable %}}') +YAML_BLOCK=$(printf "%s\n" '{{% choosable language yaml %}}' '' '```yaml' "$YAML_SRC" '```' '' '{{% /choosable %}}') + +# Write out to a file +printf "%s\n" "$CHOOSER" "" "$TS_BLOCK" "" "$PY_BLOCK" "" "$GO_BLOCK" "" "$CS_BLOCK" "" "$JAVA_BLOCK" "" "$YAML_BLOCK" > example.md diff --git a/examples/fabric/cloud_router/go/Pulumi.yaml b/examples/fabric/cloud_router/go/Pulumi.yaml new file mode 100644 index 00000000..4d2799a7 --- /dev/null +++ b/examples/fabric/cloud_router/go/Pulumi.yaml @@ -0,0 +1,9 @@ +name: equinix-fabric-cloud-router +runtime: go +description: An Equinix Fabric Cloud Router instance +config: + accountNum: + type: integer + metro: + type: string + default: FR diff --git a/examples/fabric/cloud_router/go/go.mod b/examples/fabric/cloud_router/go/go.mod new file mode 100644 index 00000000..efbc6091 --- /dev/null +++ b/examples/fabric/cloud_router/go/go.mod @@ -0,0 +1,7 @@ +module equinix-fabric-cloud-router + +go 1.20 + +require ( + github.com/pulumi/pulumi/sdk/v3 v3.30.0 +) \ No newline at end of file diff --git a/examples/fabric/cloud_router/go/main.go b/examples/fabric/cloud_router/go/main.go new file mode 100644 index 00000000..145e836b --- /dev/null +++ b/examples/fabric/cloud_router/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" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +) + +func main() { + pulumi.Run(func(ctx *pulumi.Context) error { + cfg := config.New(ctx, "") + metro := "FR" + if param := cfg.Get("metro"); param != "" { + metro = param + } + accountNum := cfg.RequireInt("accountNum") + router, err := fabric.NewCloudRouter(ctx, "router", &fabric.CloudRouterArgs{ + Name: pulumi.String("My-Fabric-Cloud-Router"), + Type: pulumi.String("XF_ROUTER"), + Location: &fabric.CloudRouterLocationArgs{ + MetroCode: pulumi.String(metro), + }, + Package: &fabric.CloudRouterPackageArgs{ + Code: pulumi.String("BASIC"), + }, + Notifications: fabric.CloudRouterNotificationArray{ + &fabric.CloudRouterNotificationArgs{ + Type: pulumi.String("ALL"), + Emails: pulumi.StringArray{ + pulumi.String("example@equinix.com"), + }, + }, + }, + Account: &fabric.CloudRouterAccountArgs{ + AccountNumber: pulumi.Int(272010), + }, + }) + if err != nil { + return err + } + ctx.Export("routerId", router.ID()) + return nil + }) +} diff --git a/examples/fabric/cloud_router/java/Pulumi.yaml b/examples/fabric/cloud_router/java/Pulumi.yaml new file mode 100644 index 00000000..ebdbbd5c --- /dev/null +++ b/examples/fabric/cloud_router/java/Pulumi.yaml @@ -0,0 +1,9 @@ +name: equinix-fabric-cloud-router +runtime: java +description: An Equinix Fabric Cloud Router instance +config: + accountNum: + type: integer + metro: + type: string + default: FR diff --git a/examples/fabric/cloud_router/java/pom.xml b/examples/fabric/cloud_router/java/pom.xml new file mode 100644 index 00000000..06b4c4ae --- /dev/null +++ b/examples/fabric/cloud_router/java/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + com.pulumi + equinix-fabric-cloud-router + 1.0-SNAPSHOT + + + UTF-8 + 11 + 11 + 11 + generated_program.App + + + + + + com.pulumi + pulumi + (,1.0] + + + com.pulumi + equinix + 0.2.2-alpha.1697554924+b109f1f4.dirty + + + + + + + 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/java/src/main/java/generated_program/App.java b/examples/fabric/cloud_router/java/src/main/java/generated_program/App.java new file mode 100644 index 00000000..58697635 --- /dev/null +++ b/examples/fabric/cloud_router/java/src/main/java/generated_program/App.java @@ -0,0 +1,48 @@ +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.CloudRouterLocationArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterPackageArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterNotificationArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterAccountArgs; +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 config = ctx.config(); + final var metro = config.get("metro").orElse("FR"); + final var accountNum = config.get("accountNum"); + var router = new CloudRouter("router", CloudRouterArgs.builder() + .name("My-Fabric-Cloud-Router") + .type("XF_ROUTER") + .location(CloudRouterLocationArgs.builder() + .metroCode(metro) + .build()) + .package_(CloudRouterPackageArgs.builder() + .code("BASIC") + .build()) + .notifications(CloudRouterNotificationArgs.builder() + .type("ALL") + .emails("example@equinix.com") + .build()) + .account(CloudRouterAccountArgs.builder() + .accountNumber(272010) + .build()) + .build()); + + ctx.export("routerId", router.id()); + } +} diff --git a/examples/fabric/cloud_router/python/.gitignore b/examples/fabric/cloud_router/python/.gitignore new file mode 100644 index 00000000..b664ab4e --- /dev/null +++ b/examples/fabric/cloud_router/python/.gitignore @@ -0,0 +1,2 @@ +*.pyc +venv/ \ No newline at end of file diff --git a/examples/fabric/cloud_router/python/Pulumi.yaml b/examples/fabric/cloud_router/python/Pulumi.yaml new file mode 100644 index 00000000..622317ca --- /dev/null +++ b/examples/fabric/cloud_router/python/Pulumi.yaml @@ -0,0 +1,9 @@ +name: equinix-fabric-cloud-router +runtime: python +description: An Equinix Fabric Cloud Router instance +config: + accountNum: + type: integer + metro: + type: string + default: FR diff --git a/examples/fabric/cloud_router/python/__main__.py b/examples/fabric/cloud_router/python/__main__.py new file mode 100644 index 00000000..f0964647 --- /dev/null +++ b/examples/fabric/cloud_router/python/__main__.py @@ -0,0 +1,25 @@ +import pulumi +import pulumi_equinix as equinix + +config = pulumi.Config() +metro = config.get("metro") +if metro is None: + metro = "FR" +account_num = config.require_int("accountNum") +router = equinix.fabric.CloudRouter("router", + name="My-Fabric-Cloud-Router", + type="XF_ROUTER", + location=equinix.fabric.CloudRouterLocationArgs( + metro_code=metro, + ), + package=equinix.fabric.CloudRouterPackageArgs( + code="BASIC", + ), + notifications=[equinix.fabric.CloudRouterNotificationArgs( + type="ALL", + emails=["example@equinix.com"], + )], + account=equinix.fabric.CloudRouterAccountArgs( + account_number=272010, + )) +pulumi.export("routerId", router.id) diff --git a/examples/fabric/cloud_router/python/requirements.txt b/examples/fabric/cloud_router/python/requirements.txt new file mode 100644 index 00000000..e08857f6 --- /dev/null +++ b/examples/fabric/cloud_router/python/requirements.txt @@ -0,0 +1,2 @@ +pulumi>=3.0.0,<4.0.0 +pulumi_equinix==0.2.2-alpha.1697554924+b109f1f4.dirty diff --git a/examples/fabric/cloud_router/typescript/.gitignore b/examples/fabric/cloud_router/typescript/.gitignore new file mode 100644 index 00000000..dc902b57 --- /dev/null +++ b/examples/fabric/cloud_router/typescript/.gitignore @@ -0,0 +1,2 @@ +/bin/ +/node_modules/ \ No newline at end of file diff --git a/examples/fabric/cloud_router/typescript/Pulumi.yaml b/examples/fabric/cloud_router/typescript/Pulumi.yaml new file mode 100644 index 00000000..8d562e64 --- /dev/null +++ b/examples/fabric/cloud_router/typescript/Pulumi.yaml @@ -0,0 +1,9 @@ +name: equinix-fabric-cloud-router +runtime: nodejs +description: An Equinix Fabric Cloud Router instance +config: + accountNum: + type: integer + metro: + type: string + default: FR diff --git a/examples/fabric/cloud_router/typescript/index.ts b/examples/fabric/cloud_router/typescript/index.ts new file mode 100644 index 00000000..a22c4222 --- /dev/null +++ b/examples/fabric/cloud_router/typescript/index.ts @@ -0,0 +1,24 @@ +import * as pulumi from "@pulumi/pulumi"; +import * as equinix from "@equinix-labs/pulumi-equinix"; + +const config = new pulumi.Config(); +const metro = config.get("metro") || "FR"; +const accountNum = config.requireNumber("accountNum"); +const router = new equinix.fabric.CloudRouter("router", { + name: "My-Fabric-Cloud-Router", + type: "XF_ROUTER", + location: { + metroCode: metro, + }, + "package": { + code: "BASIC", + }, + notifications: [{ + type: "ALL", + emails: ["example@equinix.com"], + }], + account: { + accountNumber: 272010, + }, +}); +export const routerId = router.id; diff --git a/examples/fabric/cloud_router/typescript/package.json b/examples/fabric/cloud_router/typescript/package.json new file mode 100644 index 00000000..93946eb7 --- /dev/null +++ b/examples/fabric/cloud_router/typescript/package.json @@ -0,0 +1,11 @@ +{ + "name": "equinix-fabric-cloud-router", + "devDependencies": { + "@types/node": "^14" + }, + "dependencies": { + "typescript": "^4.0.0", + "@pulumi/pulumi": "^3.0.0", + "@equinix-labs/pulumi-equinix": "0.2.2-alpha.1697554924+b109f1f4.dirty" + } +} \ No newline at end of file diff --git a/examples/fabric/cloud_router/typescript/tsconfig.json b/examples/fabric/cloud_router/typescript/tsconfig.json new file mode 100644 index 00000000..11fc69af --- /dev/null +++ b/examples/fabric/cloud_router/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/yaml/Pulumi.yaml b/examples/fabric/cloud_router/yaml/Pulumi.yaml new file mode 100644 index 00000000..a8d1ff54 --- /dev/null +++ b/examples/fabric/cloud_router/yaml/Pulumi.yaml @@ -0,0 +1,27 @@ +name: equinix-fabric-cloud-router +runtime: yaml +description: An Equinix Fabric Cloud Router instance +config: + metro: + type: string + default: FR + accountNum: + type: integer +resources: + router: + type: equinix:fabric:CloudRouter + properties: + name: My-Fabric-Cloud-Router + type: XF_ROUTER + location: + metroCode: ${metro} + package: + code: BASIC + notifications: + - type: ALL + emails: + - example@equinix.com + account: + accountNumber: 272010 +outputs: + routerId: ${router.id} diff --git a/examples/fabric/routing_protocol/csharp/.gitignore b/examples/fabric/routing_protocol/csharp/.gitignore new file mode 100644 index 00000000..e6452706 --- /dev/null +++ b/examples/fabric/routing_protocol/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/routing_protocol/csharp/Program.cs b/examples/fabric/routing_protocol/csharp/Program.cs new file mode 100644 index 00000000..33c72970 --- /dev/null +++ b/examples/fabric/routing_protocol/csharp/Program.cs @@ -0,0 +1,28 @@ +using System.Collections.Generic; +using System.Linq; +using Pulumi; +using Equinix = Pulumi.Equinix; + +return await Deployment.RunAsync(() => +{ + var config = new Config(); + var connectionId = config.Require("connectionId"); + var routingProtocol = new Equinix.Fabric.RoutingProtocol("RoutingProtocol", new() + { + ConnectionUuid = connectionId, + Name = "My-Direct-route-1", + Type = "DIRECT", + DirectIpv4 = new Equinix.Fabric.Inputs.RoutingProtocolDirectIpv4Args + { + EquinixIfaceIp = "192.168.100.1/30", + }, + }); + + return new Dictionary + { + ["routingProtocolId"] = routingProtocol.Id, + ["routingProtocolState"] = routingProtocol.State, + ["routingProtocolEquinixAsn"] = routingProtocol.EquinixAsn, + }; +}); + diff --git a/examples/fabric/routing_protocol/csharp/Pulumi.yaml b/examples/fabric/routing_protocol/csharp/Pulumi.yaml new file mode 100644 index 00000000..2e31e1bb --- /dev/null +++ b/examples/fabric/routing_protocol/csharp/Pulumi.yaml @@ -0,0 +1,6 @@ +name: equinix-fabric-routing-protocol +runtime: dotnet +description: Adds a routing protocol definition to a given Fabric Connection +config: + connectionId: + type: string diff --git a/examples/fabric/routing_protocol/csharp/equinix-fabric-routing-protocol.csproj b/examples/fabric/routing_protocol/csharp/equinix-fabric-routing-protocol.csproj new file mode 100644 index 00000000..a70e40d7 --- /dev/null +++ b/examples/fabric/routing_protocol/csharp/equinix-fabric-routing-protocol.csproj @@ -0,0 +1,14 @@ + + + + Exe + net6.0 + enable + + + + + + + + \ No newline at end of file diff --git a/examples/fabric/routing_protocol/example.md b/examples/fabric/routing_protocol/example.md new file mode 100644 index 00000000..4951897f --- /dev/null +++ b/examples/fabric/routing_protocol/example.md @@ -0,0 +1,183 @@ +{{< chooser language "typescript,python,go,csharp,java,yaml" / >}} + +{{% choosable language "javascript,typescript" %}} + +```typescript +import * as pulumi from "@pulumi/pulumi"; +import * as equinix from "@equinix-labs/pulumi-equinix"; + +const config = new pulumi.Config(); +const connectionId = config.require("connectionId"); +const routingProtocol = new equinix.fabric.RoutingProtocol("RoutingProtocol", { + connectionUuid: connectionId, + name: "My-Direct-route-1", + type: "DIRECT", + directIpv4: { + equinixIfaceIp: "192.168.100.1/30", + }, +}); +export const routingProtocolId = routingProtocol.id; +export const routingProtocolState = routingProtocol.state; +export const routingProtocolEquinixAsn = routingProtocol.equinixAsn; +``` + +{{% /choosable %}} + +{{% choosable language python %}} + +```python +import pulumi +import pulumi_equinix as equinix + +config = pulumi.Config() +connection_id = config.require("connectionId") +routing_protocol = equinix.fabric.RoutingProtocol("RoutingProtocol", + connection_uuid=connection_id, + name="My-Direct-route-1", + type="DIRECT", + direct_ipv4=equinix.fabric.RoutingProtocolDirectIpv4Args( + equinix_iface_ip="192.168.100.1/30", + )) +pulumi.export("routingProtocolId", routing_protocol.id) +pulumi.export("routingProtocolState", routing_protocol.state) +pulumi.export("routingProtocolEquinixAsn", routing_protocol.equinix_asn) +``` + +{{% /choosable %}} + +{{% choosable language go %}} + +```go +package main + +import ( + "github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +) + +func main() { + pulumi.Run(func(ctx *pulumi.Context) error { + cfg := config.New(ctx, "") + connectionId := cfg.Require("connectionId") + routingProtocol, err := fabric.NewRoutingProtocol(ctx, "RoutingProtocol", &fabric.RoutingProtocolArgs{ + ConnectionUuid: pulumi.String(connectionId), + Name: pulumi.String("My-Direct-route-1"), + Type: pulumi.String("DIRECT"), + DirectIpv4: &fabric.RoutingProtocolDirectIpv4Args{ + EquinixIfaceIp: pulumi.String("192.168.100.1/30"), + }, + }) + if err != nil { + return err + } + ctx.Export("routingProtocolId", routingProtocol.ID()) + ctx.Export("routingProtocolState", routingProtocol.State) + ctx.Export("routingProtocolEquinixAsn", routingProtocol.EquinixAsn) + return nil + }) +} +``` + +{{% /choosable %}} + +{{% choosable language csharp %}} + +```csharp +using System.Collections.Generic; +using System.Linq; +using Pulumi; +using Equinix = Pulumi.Equinix; + +return await Deployment.RunAsync(() => +{ + var config = new Config(); + var connectionId = config.Require("connectionId"); + var routingProtocol = new Equinix.Fabric.RoutingProtocol("RoutingProtocol", new() + { + ConnectionUuid = connectionId, + Name = "My-Direct-route-1", + Type = "DIRECT", + DirectIpv4 = new Equinix.Fabric.Inputs.RoutingProtocolDirectIpv4Args + { + EquinixIfaceIp = "192.168.100.1/30", + }, + }); + + return new Dictionary + { + ["routingProtocolId"] = routingProtocol.Id, + ["routingProtocolState"] = routingProtocol.State, + ["routingProtocolEquinixAsn"] = routingProtocol.EquinixAsn, + }; +}); +``` + +{{% /choosable %}} + +{{% choosable language java %}} + +```java +package generated_program; + +import com.pulumi.Context; +import com.pulumi.Pulumi; +import com.pulumi.core.Output; +import com.pulumi.equinix.fabric.RoutingProtocol; +import com.pulumi.equinix.fabric.RoutingProtocolArgs; +import com.pulumi.equinix.fabric.inputs.RoutingProtocolDirectIpv4Args; +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 config = ctx.config(); + final var connectionId = config.get("connectionId"); + var routingProtocol = new RoutingProtocol("routingProtocol", RoutingProtocolArgs.builder() + .connectionUuid(connectionId) + .name("My-Direct-route-1") + .type("DIRECT") + .directIpv4(RoutingProtocolDirectIpv4Args.builder() + .equinixIfaceIp("192.168.100.1/30") + .build()) + .build()); + + ctx.export("routingProtocolId", routingProtocol.id()); + ctx.export("routingProtocolState", routingProtocol.state()); + ctx.export("routingProtocolEquinixAsn", routingProtocol.equinixAsn()); + } +} +``` + +{{% /choosable %}} + +{{% choosable language yaml %}} + +```yaml +config: + connectionId: + type: string +resources: + RoutingProtocol: + type: equinix:fabric:RoutingProtocol + properties: + connectionUuid: ${connectionId} + name: My-Direct-route-1 + type: DIRECT + directIpv4: + equinixIfaceIp: 192.168.100.1/30 +outputs: + routingProtocolId: ${RoutingProtocol.id} + routingProtocolState: ${RoutingProtocol.state} + routingProtocolEquinixAsn: ${RoutingProtocol.equinixAsn} +``` + +{{% /choosable %}} diff --git a/examples/fabric/routing_protocol/go/Pulumi.yaml b/examples/fabric/routing_protocol/go/Pulumi.yaml new file mode 100644 index 00000000..a30275f2 --- /dev/null +++ b/examples/fabric/routing_protocol/go/Pulumi.yaml @@ -0,0 +1,6 @@ +name: equinix-fabric-routing-protocol +runtime: go +description: Adds a routing protocol definition to a given Fabric Connection +config: + connectionId: + type: string diff --git a/examples/fabric/routing_protocol/go/go.mod b/examples/fabric/routing_protocol/go/go.mod new file mode 100644 index 00000000..8ba312ce --- /dev/null +++ b/examples/fabric/routing_protocol/go/go.mod @@ -0,0 +1,7 @@ +module equinix-fabric-routing-protocol + +go 1.20 + +require ( + github.com/pulumi/pulumi/sdk/v3 v3.30.0 +) \ No newline at end of file diff --git a/examples/fabric/routing_protocol/go/main.go b/examples/fabric/routing_protocol/go/main.go new file mode 100644 index 00000000..ec906146 --- /dev/null +++ b/examples/fabric/routing_protocol/go/main.go @@ -0,0 +1,29 @@ +package main + +import ( + "github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +) + +func main() { + pulumi.Run(func(ctx *pulumi.Context) error { + cfg := config.New(ctx, "") + connectionId := cfg.Require("connectionId") + routingProtocol, err := fabric.NewRoutingProtocol(ctx, "RoutingProtocol", &fabric.RoutingProtocolArgs{ + ConnectionUuid: pulumi.String(connectionId), + Name: pulumi.String("My-Direct-route-1"), + Type: pulumi.String("DIRECT"), + DirectIpv4: &fabric.RoutingProtocolDirectIpv4Args{ + EquinixIfaceIp: pulumi.String("192.168.100.1/30"), + }, + }) + if err != nil { + return err + } + ctx.Export("routingProtocolId", routingProtocol.ID()) + ctx.Export("routingProtocolState", routingProtocol.State) + ctx.Export("routingProtocolEquinixAsn", routingProtocol.EquinixAsn) + return nil + }) +} diff --git a/examples/fabric/routing_protocol/java/Pulumi.yaml b/examples/fabric/routing_protocol/java/Pulumi.yaml new file mode 100644 index 00000000..2d7657e9 --- /dev/null +++ b/examples/fabric/routing_protocol/java/Pulumi.yaml @@ -0,0 +1,6 @@ +name: equinix-fabric-routing-protocol +runtime: java +description: Adds a routing protocol definition to a given Fabric Connection +config: + connectionId: + type: string diff --git a/examples/fabric/routing_protocol/java/pom.xml b/examples/fabric/routing_protocol/java/pom.xml new file mode 100644 index 00000000..46e639f5 --- /dev/null +++ b/examples/fabric/routing_protocol/java/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + com.pulumi + equinix-fabric-routing-protocol + 1.0-SNAPSHOT + + + UTF-8 + 11 + 11 + 11 + generated_program.App + + + + + + com.pulumi + pulumi + (,1.0] + + + com.pulumi + equinix + 0.2.2-alpha.1697554924+b109f1f4.dirty + + + + + + + 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/routing_protocol/java/src/main/java/generated_program/App.java b/examples/fabric/routing_protocol/java/src/main/java/generated_program/App.java new file mode 100644 index 00000000..36e1b559 --- /dev/null +++ b/examples/fabric/routing_protocol/java/src/main/java/generated_program/App.java @@ -0,0 +1,37 @@ +package generated_program; + +import com.pulumi.Context; +import com.pulumi.Pulumi; +import com.pulumi.core.Output; +import com.pulumi.equinix.fabric.RoutingProtocol; +import com.pulumi.equinix.fabric.RoutingProtocolArgs; +import com.pulumi.equinix.fabric.inputs.RoutingProtocolDirectIpv4Args; +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 config = ctx.config(); + final var connectionId = config.get("connectionId"); + var routingProtocol = new RoutingProtocol("routingProtocol", RoutingProtocolArgs.builder() + .connectionUuid(connectionId) + .name("My-Direct-route-1") + .type("DIRECT") + .directIpv4(RoutingProtocolDirectIpv4Args.builder() + .equinixIfaceIp("192.168.100.1/30") + .build()) + .build()); + + ctx.export("routingProtocolId", routingProtocol.id()); + ctx.export("routingProtocolState", routingProtocol.state()); + ctx.export("routingProtocolEquinixAsn", routingProtocol.equinixAsn()); + } +} diff --git a/examples/fabric/routing_protocol/python/.gitignore b/examples/fabric/routing_protocol/python/.gitignore new file mode 100644 index 00000000..b664ab4e --- /dev/null +++ b/examples/fabric/routing_protocol/python/.gitignore @@ -0,0 +1,2 @@ +*.pyc +venv/ \ No newline at end of file diff --git a/examples/fabric/routing_protocol/python/Pulumi.yaml b/examples/fabric/routing_protocol/python/Pulumi.yaml new file mode 100644 index 00000000..47d47964 --- /dev/null +++ b/examples/fabric/routing_protocol/python/Pulumi.yaml @@ -0,0 +1,6 @@ +name: equinix-fabric-routing-protocol +runtime: python +description: Adds a routing protocol definition to a given Fabric Connection +config: + connectionId: + type: string diff --git a/examples/fabric/routing_protocol/python/__main__.py b/examples/fabric/routing_protocol/python/__main__.py new file mode 100644 index 00000000..4c017944 --- /dev/null +++ b/examples/fabric/routing_protocol/python/__main__.py @@ -0,0 +1,15 @@ +import pulumi +import pulumi_equinix as equinix + +config = pulumi.Config() +connection_id = config.require("connectionId") +routing_protocol = equinix.fabric.RoutingProtocol("RoutingProtocol", + connection_uuid=connection_id, + name="My-Direct-route-1", + type="DIRECT", + direct_ipv4=equinix.fabric.RoutingProtocolDirectIpv4Args( + equinix_iface_ip="192.168.100.1/30", + )) +pulumi.export("routingProtocolId", routing_protocol.id) +pulumi.export("routingProtocolState", routing_protocol.state) +pulumi.export("routingProtocolEquinixAsn", routing_protocol.equinix_asn) diff --git a/examples/fabric/routing_protocol/python/requirements.txt b/examples/fabric/routing_protocol/python/requirements.txt new file mode 100644 index 00000000..e08857f6 --- /dev/null +++ b/examples/fabric/routing_protocol/python/requirements.txt @@ -0,0 +1,2 @@ +pulumi>=3.0.0,<4.0.0 +pulumi_equinix==0.2.2-alpha.1697554924+b109f1f4.dirty diff --git a/examples/fabric/routing_protocol/typescript/.gitignore b/examples/fabric/routing_protocol/typescript/.gitignore new file mode 100644 index 00000000..dc902b57 --- /dev/null +++ b/examples/fabric/routing_protocol/typescript/.gitignore @@ -0,0 +1,2 @@ +/bin/ +/node_modules/ \ No newline at end of file diff --git a/examples/fabric/routing_protocol/typescript/Pulumi.yaml b/examples/fabric/routing_protocol/typescript/Pulumi.yaml new file mode 100644 index 00000000..cfcb9f5c --- /dev/null +++ b/examples/fabric/routing_protocol/typescript/Pulumi.yaml @@ -0,0 +1,6 @@ +name: equinix-fabric-routing-protocol +runtime: nodejs +description: Adds a routing protocol definition to a given Fabric Connection +config: + connectionId: + type: string diff --git a/examples/fabric/routing_protocol/typescript/index.ts b/examples/fabric/routing_protocol/typescript/index.ts new file mode 100644 index 00000000..f63acb9c --- /dev/null +++ b/examples/fabric/routing_protocol/typescript/index.ts @@ -0,0 +1,16 @@ +import * as pulumi from "@pulumi/pulumi"; +import * as equinix from "@equinix-labs/pulumi-equinix"; + +const config = new pulumi.Config(); +const connectionId = config.require("connectionId"); +const routingProtocol = new equinix.fabric.RoutingProtocol("RoutingProtocol", { + connectionUuid: connectionId, + name: "My-Direct-route-1", + type: "DIRECT", + directIpv4: { + equinixIfaceIp: "192.168.100.1/30", + }, +}); +export const routingProtocolId = routingProtocol.id; +export const routingProtocolState = routingProtocol.state; +export const routingProtocolEquinixAsn = routingProtocol.equinixAsn; diff --git a/examples/fabric/routing_protocol/typescript/package.json b/examples/fabric/routing_protocol/typescript/package.json new file mode 100644 index 00000000..724727d2 --- /dev/null +++ b/examples/fabric/routing_protocol/typescript/package.json @@ -0,0 +1,11 @@ +{ + "name": "equinix-fabric-routing-protocol", + "devDependencies": { + "@types/node": "^14" + }, + "dependencies": { + "typescript": "^4.0.0", + "@pulumi/pulumi": "^3.0.0", + "@equinix-labs/pulumi-equinix": "0.2.2-alpha.1697554924+b109f1f4.dirty" + } +} \ No newline at end of file diff --git a/examples/fabric/routing_protocol/typescript/tsconfig.json b/examples/fabric/routing_protocol/typescript/tsconfig.json new file mode 100644 index 00000000..11fc69af --- /dev/null +++ b/examples/fabric/routing_protocol/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/routing_protocol/yaml/Pulumi.yaml b/examples/fabric/routing_protocol/yaml/Pulumi.yaml new file mode 100644 index 00000000..6ad7ca0b --- /dev/null +++ b/examples/fabric/routing_protocol/yaml/Pulumi.yaml @@ -0,0 +1,19 @@ +name: equinix-fabric-routing-protocol +runtime: yaml +description: Adds a routing protocol definition to a given Fabric Connection +config: + connectionId: + type: string +resources: + RoutingProtocol: + type: equinix:fabric:RoutingProtocol + properties: + connectionUuid: ${connectionId} + name: My-Direct-route-1 + type: DIRECT + directIpv4: + equinixIfaceIp: 192.168.100.1/30 +outputs: + routingProtocolId: ${RoutingProtocol.id} + routingProtocolState: ${RoutingProtocol.state} + routingProtocolEquinixAsn: ${RoutingProtocol.equinixAsn} \ No newline at end of file diff --git a/examples/generate.sh b/examples/generate.sh new file mode 100755 index 00000000..8f8b0930 --- /dev/null +++ b/examples/generate.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +pulumi convert --language python --out python --generate-only || true +pulumi convert --language typescript --out typescript --generate-only || true +pulumi convert --language java --out java --generate-only || true +pulumi convert --language go --out go || true +pulumi convert --language csharp --out csharp || true + +# Read each source file +TS_SRC=$(cat typescript/index.ts) +PY_SRC=$(cat python/__main__.py) +GO_SRC=$(cat go/main.go) +CS_SRC=$(cat csharp/Program.cs) +JAVA_SRC=$(cat java/src/main/java/generated_program/App.java) +## Skip first 3 lines +YAML_SRC=$(cat Pulumi.yaml | tail -n +4) + +CHOOSER='{{< chooser language "typescript,python,go,csharp,java,yaml" / >}}' +TS_BLOCK=$(printf "%s\n" '{{% choosable language "javascript,typescript" %}}' '' '```typescript' "$TS_SRC" '```' '' '{{% /choosable %}}') +PY_BLOCK=$(printf "%s\n" '{{% choosable language python %}}' '' '```python' "$PY_SRC" '```' '' '{{% /choosable %}}') +GO_BLOCK=$(printf "%s\n" '{{% choosable language go %}}' '' '```go' "$GO_SRC" '```' '' '{{% /choosable %}}') +CS_BLOCK=$(printf "%s\n" '{{% choosable language csharp %}}' '' '```csharp' "$CS_SRC" '```' '' '{{% /choosable %}}') +JAVA_BLOCK=$(printf "%s\n" '{{% choosable language java %}}' '' '```java' "$JAVA_SRC" '```' '' '{{% /choosable %}}') +YAML_BLOCK=$(printf "%s\n" '{{% choosable language yaml %}}' '' '```yaml' "$YAML_SRC" '```' '' '{{% /choosable %}}') + +# Write out to a file +printf "%s\n" "$CHOOSER" "" "$TS_BLOCK" "" "$PY_BLOCK" "" "$GO_BLOCK" "" "$CS_BLOCK" "" "$JAVA_BLOCK" "" "$YAML_BLOCK" > example.md From 76b36f16377d3e84b2cea62b2d6081dab7355525 Mon Sep 17 00:00:00 2001 From: ocobleseqx Date: Fri, 20 Oct 2023 00:02:40 +0200 Subject: [PATCH 3/5] generate sdks Signed-off-by: ocobleseqx --- go.work | 7 + go.work.sum | 7 + sdk/dotnet/Config/Config.cs | 2 +- sdk/dotnet/Fabric/CloudRouter.cs | 364 + sdk/dotnet/Fabric/Connection.cs | 44 +- sdk/dotnet/Fabric/GetCloudRouter.cs | 200 + sdk/dotnet/Fabric/GetConnection.cs | 8 +- sdk/dotnet/Fabric/GetPort.cs | 9 +- sdk/dotnet/Fabric/GetRoutingProtocol.cs | 312 + sdk/dotnet/Fabric/GetServiceProfile.cs | 6 - sdk/dotnet/Fabric/GetServiceProfiles.cs | 21 +- .../Fabric/Inputs/CloudRouterAccountArgs.cs | 26 + .../Inputs/CloudRouterAccountGetArgs.cs | 26 + .../Fabric/Inputs/CloudRouterChangeLogArgs.cs | 56 + .../Inputs/CloudRouterChangeLogGetArgs.cs | 56 + .../Fabric/Inputs/CloudRouterLocationArgs.cs | 44 + .../Inputs/CloudRouterLocationGetArgs.cs | 44 + .../Inputs/CloudRouterNotificationArgs.cs | 44 + .../Inputs/CloudRouterNotificationGetArgs.cs | 44 + .../Fabric/Inputs/CloudRouterOrderArgs.cs | 44 + .../Fabric/Inputs/CloudRouterOrderGetArgs.cs | 44 + .../Fabric/Inputs/CloudRouterPackageArgs.cs | 26 + .../Inputs/CloudRouterPackageGetArgs.cs | 26 + ...lInfoArgs.cs => CloudRouterProjectArgs.cs} | 18 +- ...etArgs.cs => CloudRouterProjectGetArgs.cs} | 18 +- .../Inputs/ConnectionASideAccessPointArgs.cs | 47 +- .../ConnectionASideAccessPointGatewayArgs.cs | 5 +- ...onnectionASideAccessPointGatewayGetArgs.cs | 5 +- .../ConnectionASideAccessPointGetArgs.cs | 47 +- ...ConnectionASideAccessPointInterfaceArgs.cs | 7 +- ...nectionASideAccessPointInterfaceGetArgs.cs | 7 +- ...nectionASideAccessPointLinkProtocolArgs.cs | 11 +- ...tionASideAccessPointLinkProtocolGetArgs.cs | 11 +- .../ConnectionASideAccessPointLocationArgs.cs | 12 + ...nnectionASideAccessPointLocationGetArgs.cs | 12 + .../ConnectionASideAccessPointNetworkArgs.cs | 32 + ...onnectionASideAccessPointNetworkGetArgs.cs | 32 + .../ConnectionASideAccessPointPortArgs.cs | 7 +- .../ConnectionASideAccessPointPortGetArgs.cs | 7 +- ...ssPointProfileAccessPointTypeConfigArgs.cs | 5 +- ...ointProfileAccessPointTypeConfigGetArgs.cs | 5 +- .../ConnectionASideAccessPointProfileArgs.cs | 16 +- ...onnectionASideAccessPointProfileGetArgs.cs | 16 +- .../ConnectionASideAccessPointRouterArgs.cs | 32 + ...ConnectionASideAccessPointRouterGetArgs.cs | 32 + ...tionASideAccessPointRoutingProtocolArgs.cs | 7 +- ...nASideAccessPointRoutingProtocolGetArgs.cs | 7 +- ...ectionASideAccessPointVirtualDeviceArgs.cs | 7 +- ...ionASideAccessPointVirtualDeviceGetArgs.cs | 7 +- .../Inputs/ConnectionASideServiceTokenArgs.cs | 10 +- .../ConnectionASideServiceTokenGetArgs.cs | 10 +- .../Inputs/ConnectionOperationErrorArgs.cs | 2 +- .../Inputs/ConnectionOperationErrorGetArgs.cs | 2 +- .../Inputs/ConnectionZSideAccessPointArgs.cs | 47 +- .../ConnectionZSideAccessPointGatewayArgs.cs | 5 +- ...onnectionZSideAccessPointGatewayGetArgs.cs | 5 +- .../ConnectionZSideAccessPointGetArgs.cs | 47 +- ...ConnectionZSideAccessPointInterfaceArgs.cs | 7 +- ...nectionZSideAccessPointInterfaceGetArgs.cs | 7 +- ...nectionZSideAccessPointLinkProtocolArgs.cs | 11 +- ...tionZSideAccessPointLinkProtocolGetArgs.cs | 11 +- .../ConnectionZSideAccessPointLocationArgs.cs | 12 + ...nnectionZSideAccessPointLocationGetArgs.cs | 12 + .../ConnectionZSideAccessPointNetworkArgs.cs | 32 + ...onnectionZSideAccessPointNetworkGetArgs.cs | 32 + .../ConnectionZSideAccessPointPortArgs.cs | 7 +- .../ConnectionZSideAccessPointPortGetArgs.cs | 7 +- ...ssPointProfileAccessPointTypeConfigArgs.cs | 5 +- ...ointProfileAccessPointTypeConfigGetArgs.cs | 5 +- .../ConnectionZSideAccessPointProfileArgs.cs | 16 +- ...onnectionZSideAccessPointProfileGetArgs.cs | 16 +- .../ConnectionZSideAccessPointRouterArgs.cs | 32 + ...ConnectionZSideAccessPointRouterGetArgs.cs | 32 + ...tionZSideAccessPointRoutingProtocolArgs.cs | 7 +- ...nZSideAccessPointRoutingProtocolGetArgs.cs | 7 +- ...ectionZSideAccessPointVirtualDeviceArgs.cs | 7 +- ...ionZSideAccessPointVirtualDeviceGetArgs.cs | 7 +- .../Inputs/ConnectionZSideServiceTokenArgs.cs | 10 +- .../ConnectionZSideServiceTokenGetArgs.cs | 10 +- .../Fabric/Inputs/GetCloudRouterProject.cs | 32 + .../Inputs/GetCloudRouterProjectArgs.cs | 32 + .../Fabric/Inputs/GetRoutingProtocolBfd.cs | 32 + .../Inputs/GetRoutingProtocolBfdArgs.cs | 32 + .../Inputs/GetRoutingProtocolBgpIpv4.cs | 38 + .../Inputs/GetRoutingProtocolBgpIpv4Args.cs | 38 + .../Inputs/GetRoutingProtocolBgpIpv6.cs | 38 + .../Inputs/GetRoutingProtocolBgpIpv6Args.cs | 38 + .../Inputs/GetRoutingProtocolDirectIpv4.cs | 26 + .../GetRoutingProtocolDirectIpv4Args.cs | 26 + .../Inputs/GetRoutingProtocolDirectIpv6.cs | 26 + .../GetRoutingProtocolDirectIpv6Args.cs | 26 + .../Fabric/Inputs/RoutingProtocolBfdArgs.cs | 32 + .../Inputs/RoutingProtocolBfdGetArgs.cs | 32 + .../Inputs/RoutingProtocolBgpIpv4Args.cs | 38 + .../Inputs/RoutingProtocolBgpIpv4GetArgs.cs | 38 + .../Inputs/RoutingProtocolBgpIpv6Args.cs | 38 + .../Inputs/RoutingProtocolBgpIpv6GetArgs.cs | 38 + .../Inputs/RoutingProtocolChangeArgs.cs | 29 + .../Inputs/RoutingProtocolChangeGetArgs.cs | 29 + .../Inputs/RoutingProtocolChangeLogArgs.cs | 56 + .../Inputs/RoutingProtocolChangeLogGetArgs.cs | 56 + .../Inputs/RoutingProtocolDirectIpv4Args.cs | 26 + .../RoutingProtocolDirectIpv4GetArgs.cs | 26 + .../Inputs/RoutingProtocolDirectIpv6Args.cs | 26 + .../RoutingProtocolDirectIpv6GetArgs.cs | 26 + .../Inputs/RoutingProtocolOperationArgs.cs | 28 + ...rotocolOperationErrorAdditionalInfoArgs.cs | 26 + ...ocolOperationErrorAdditionalInfoGetArgs.cs | 26 + .../RoutingProtocolOperationErrorArgs.cs | 43 + .../RoutingProtocolOperationErrorGetArgs.cs | 43 + .../Inputs/RoutingProtocolOperationGetArgs.cs | 28 + ...ofileAccessPointTypeConfigApiConfigArgs.cs | 21 + ...leAccessPointTypeConfigApiConfigGetArgs.cs | 21 + ...essPointTypeConfigAuthenticationKeyArgs.cs | 8 +- ...PointTypeConfigAuthenticationKeyGetArgs.cs | 8 +- ...ssPointTypeConfigLinkProtocolConfigArgs.cs | 9 + ...ointTypeConfigLinkProtocolConfigGetArgs.cs | 9 + ...viceProfileMarketingInfoProcessStepArgs.cs | 8 +- ...eProfileMarketingInfoProcessStepGetArgs.cs | 8 +- .../Inputs/ServiceProfilePortLocationArgs.cs | 12 + .../ServiceProfilePortLocationGetArgs.cs | 12 + ...ServiceProfileVirtualDeviceLocationArgs.cs | 12 + ...viceProfileVirtualDeviceLocationGetArgs.cs | 12 + .../Fabric/Outputs/CloudRouterAccount.cs | 27 + .../Fabric/Outputs/CloudRouterChangeLog.cs | 69 + .../Fabric/Outputs/CloudRouterLocation.cs | 49 + .../Fabric/Outputs/CloudRouterNotification.cs | 42 + sdk/dotnet/Fabric/Outputs/CloudRouterOrder.cs | 49 + .../Fabric/Outputs/CloudRouterPackage.cs | 27 + ...dditionalInfo.cs => CloudRouterProject.cs} | 20 +- .../Outputs/ConnectionASideAccessPoint.cs | 48 +- .../ConnectionASideAccessPointGateway.cs | 5 +- .../ConnectionASideAccessPointInterface.cs | 7 +- .../ConnectionASideAccessPointLinkProtocol.cs | 11 +- .../ConnectionASideAccessPointLocation.cs | 12 + .../ConnectionASideAccessPointNetwork.cs | 35 + .../Outputs/ConnectionASideAccessPointPort.cs | 7 +- .../ConnectionASideAccessPointProfile.cs | 15 +- ...AccessPointProfileAccessPointTypeConfig.cs | 5 +- .../ConnectionASideAccessPointRouter.cs | 35 + ...nnectionASideAccessPointRoutingProtocol.cs | 7 +- ...ConnectionASideAccessPointVirtualDevice.cs | 7 +- .../Outputs/ConnectionASideServiceToken.cs | 10 +- .../Outputs/ConnectionOperationError.cs | 2 +- .../Outputs/ConnectionZSideAccessPoint.cs | 48 +- .../ConnectionZSideAccessPointGateway.cs | 5 +- .../ConnectionZSideAccessPointInterface.cs | 7 +- .../ConnectionZSideAccessPointLinkProtocol.cs | 11 +- .../ConnectionZSideAccessPointLocation.cs | 12 + .../ConnectionZSideAccessPointNetwork.cs | 35 + .../Outputs/ConnectionZSideAccessPointPort.cs | 7 +- .../ConnectionZSideAccessPointProfile.cs | 15 +- ...AccessPointProfileAccessPointTypeConfig.cs | 5 +- .../ConnectionZSideAccessPointRouter.cs | 35 + ...nnectionZSideAccessPointRoutingProtocol.cs | 7 +- ...ConnectionZSideAccessPointVirtualDevice.cs | 7 +- .../Outputs/ConnectionZSideServiceToken.cs | 10 +- .../Outputs/GetCloudRouterAccountResult.cs | 49 + .../Outputs/GetCloudRouterChangeLogResult.cs | 69 + .../Outputs/GetCloudRouterLocationResult.cs | 41 + .../GetCloudRouterNotificationResult.cs | 33 + .../Outputs/GetCloudRouterOrderResult.cs | 37 + .../Outputs/GetCloudRouterPackageResult.cs | 24 + .../Outputs/GetCloudRouterProjectResult.cs | 35 + ...ConnectionASideAccessPointGatewayResult.cs | 9 - ...nnectionASideAccessPointInterfaceResult.cs | 9 - ...ctionASideAccessPointLinkProtocolResult.cs | 3 - ...onnectionASideAccessPointLocationResult.cs | 3 - ...GetConnectionASideAccessPointPortResult.cs | 12 - ...sPointTypeConfigAuthenticationKeyResult.cs | 3 - ...PointProfileAccessPointTypeConfigResult.cs | 6 - ...ConnectionASideAccessPointProfileResult.cs | 15 - .../GetConnectionASideAccessPointResult.cs | 11 +- ...tConnectionASideAccessPointRouterResult.cs | 33 + ...tionASideAccessPointVirtualDeviceResult.cs | 9 - .../GetConnectionASideServiceTokenResult.cs | 12 - .../GetConnectionNotificationResult.cs | 3 - .../GetConnectionOperationErrorResult.cs | 3 - ...ConnectionZSideAccessPointGatewayResult.cs | 9 - ...nnectionZSideAccessPointInterfaceResult.cs | 9 - ...ctionZSideAccessPointLinkProtocolResult.cs | 3 - ...onnectionZSideAccessPointLocationResult.cs | 3 - ...GetConnectionZSideAccessPointPortResult.cs | 12 - ...sPointTypeConfigAuthenticationKeyResult.cs | 3 - ...PointProfileAccessPointTypeConfigResult.cs | 6 - ...ConnectionZSideAccessPointProfileResult.cs | 15 - .../GetConnectionZSideAccessPointResult.cs | 11 +- ...tConnectionZSideAccessPointRouterResult.cs | 33 + ...tionZSideAccessPointVirtualDeviceResult.cs | 9 - .../GetConnectionZSideServiceTokenResult.cs | 12 - .../Fabric/Outputs/GetPortDeviceResult.cs | 6 - .../Outputs/GetPortEncapsulationResult.cs | 3 - .../Fabric/Outputs/GetPortLocationResult.cs | 3 - .../Fabric/Outputs/GetPortRedundancyResult.cs | 4 +- .../Outputs/GetPortsDatumRedundancyResult.cs | 4 +- .../Fabric/Outputs/GetPortsDatumResult.cs | 6 +- ...sult.cs => GetRoutingProtocolBfdResult.cs} | 24 +- .../GetRoutingProtocolBgpIpv4Result.cs | 42 + .../GetRoutingProtocolBgpIpv6Result.cs | 42 + .../GetRoutingProtocolChangeLogResult.cs | 69 + .../Outputs/GetRoutingProtocolChangeResult.cs | 33 + .../GetRoutingProtocolDirectIpv4Result.cs | 27 + .../GetRoutingProtocolDirectIpv6Result.cs | 27 + ...tocolOperationErrorAdditionalInfoResult.cs | 29 + .../GetRoutingProtocolOperationErrorResult.cs | 45 + .../GetRoutingProtocolOperationResult.cs | 24 + ...sPointTypeConfigAuthenticationKeyResult.cs | 3 - ...rviceProfileAccessPointTypeConfigResult.cs | 6 - .../GetServiceProfileCustomFieldResult.cs | 3 - ...ceProfileMarketingInfoProcessStepResult.cs | 3 - .../Outputs/GetServiceProfileMetroResult.cs | 3 - .../GetServiceProfileNotificationResult.cs | 3 - .../Outputs/GetServiceProfilePortResult.cs | 6 - .../Outputs/GetServiceProfileProjectResult.cs | 3 - ...atumLagResult.cs => RoutingProtocolBfd.cs} | 23 +- .../Fabric/Outputs/RoutingProtocolBgpIpv4.cs | 42 + .../Fabric/Outputs/RoutingProtocolBgpIpv6.cs | 42 + .../Fabric/Outputs/RoutingProtocolChange.cs | 33 + .../Outputs/RoutingProtocolChangeLog.cs | 69 + .../Outputs/RoutingProtocolDirectIpv4.cs | 27 + .../Outputs/RoutingProtocolDirectIpv6.cs | 27 + .../Outputs/RoutingProtocolOperation.cs | 24 + .../Outputs/RoutingProtocolOperationError.cs | 45 + ...ingProtocolOperationErrorAdditionalInfo.cs | 29 + ...ceProfileAccessPointTypeConfigApiConfig.cs | 21 + ...eAccessPointTypeConfigAuthenticationKey.cs | 8 +- ...AccessPointTypeConfigLinkProtocolConfig.cs | 9 + .../ServiceProfileMarketingInfoProcessStep.cs | 8 +- .../Outputs/ServiceProfilePortLocation.cs | 12 + .../ServiceProfileVirtualDeviceLocation.cs | 12 + sdk/dotnet/Fabric/RoutingProtocol.cs | 413 + sdk/dotnet/Fabric/ServiceProfile.cs | 26 +- sdk/dotnet/Metal/Device.cs | 52 +- sdk/dotnet/Metal/GetDevice.cs | 19 +- sdk/dotnet/Metal/GetDeviceBgpNeighbors.cs | 2 + sdk/dotnet/Metal/GetDevices.cs | 305 + sdk/dotnet/Metal/GetFacility.cs | 10 + sdk/dotnet/Metal/GetGateway.cs | 2 + sdk/dotnet/Metal/GetHardwareReservation.cs | 5 + sdk/dotnet/Metal/GetInterconnection.cs | 12 + sdk/dotnet/Metal/GetIpBlockRanges.cs | 10 + sdk/dotnet/Metal/GetOperatingSystem.cs | 2 + sdk/dotnet/Metal/GetOrganization.cs | 6 + sdk/dotnet/Metal/GetPort.cs | 2 + sdk/dotnet/Metal/GetPrecreatedIpBlock.cs | 6 + sdk/dotnet/Metal/GetProject.cs | 2 + sdk/dotnet/Metal/GetProjectSshKey.cs | 6 + sdk/dotnet/Metal/GetReservedIpBlock.cs | 4 + sdk/dotnet/Metal/GetSpotMarketPrice.cs | 8 + sdk/dotnet/Metal/GetSpotMarketRequest.cs | 3 + sdk/dotnet/Metal/GetVirtualCircuit.cs | 2 + sdk/dotnet/Metal/GetVlan.cs | 8 + sdk/dotnet/Metal/GetVrf.cs | 2 + .../Metal/Inputs/DeviceIpAddressArgs.cs | 6 + .../Metal/Inputs/DeviceIpAddressGetArgs.cs | 6 + sdk/dotnet/Metal/Inputs/GetDevicesFilter.cs | 52 + .../Metal/Inputs/GetDevicesFilterArgs.cs | 52 + sdk/dotnet/Metal/Inputs/GetDevicesSort.cs | 29 + sdk/dotnet/Metal/Inputs/GetDevicesSortArgs.cs | 29 + sdk/dotnet/Metal/Inputs/GetPlansFilter.cs | 2 + sdk/dotnet/Metal/Inputs/GetPlansFilterArgs.cs | 2 + ...SpotMarketRequestInstanceParametersArgs.cs | 3 + ...tMarketRequestInstanceParametersGetArgs.cs | 3 + sdk/dotnet/Metal/Interconnection.cs | 28 +- sdk/dotnet/Metal/Outputs/DeviceIpAddress.cs | 6 + .../Outputs/GetDevicesDeviceNetworkResult.cs | 41 + .../Outputs/GetDevicesDevicePortResult.cs | 41 + .../Metal/Outputs/GetDevicesDeviceResult.cs | 116 + .../Metal/Outputs/GetDevicesFilterResult.cs | 51 + .../Metal/Outputs/GetDevicesSortResult.cs | 32 + .../Metal/Outputs/GetPlansFilterResult.cs | 2 + .../SpotMarketRequestInstanceParameters.cs | 4 + sdk/dotnet/Metal/Project.cs | 21 +- sdk/dotnet/Metal/ReservedIpBlock.cs | 12 +- sdk/dotnet/Metal/SpotMarketRequest.cs | 12 +- sdk/dotnet/Metal/Vlan.cs | 6 +- sdk/dotnet/NetworkEdge/AclTemplate.cs | 6 + sdk/dotnet/NetworkEdge/Device.cs | 21 + sdk/dotnet/NetworkEdge/GetAccount.cs | 2 + sdk/dotnet/NetworkEdge/GetDevice.cs | 14 + sdk/dotnet/NetworkEdge/GetDevicePlatform.cs | 2 + sdk/dotnet/NetworkEdge/GetDeviceSoftware.cs | 2 + sdk/dotnet/NetworkEdge/GetDeviceType.cs | 2 + .../Outputs/GetDeviceSecondaryDeviceResult.cs | 5 + sdk/dotnet/Pulumi.Equinix.csproj | 3 +- sdk/go.mod | 87 + sdk/go.sum | 314 + sdk/go/equinix/config/config.go | 3 + sdk/go/equinix/fabric/cloudRouter.go | 478 + sdk/go/equinix/fabric/connection.go | 114 +- sdk/go/equinix/fabric/getCloudRouter.go | 205 + sdk/go/equinix/fabric/getConnection.go | 20 +- sdk/go/equinix/fabric/getPort.go | 20 +- sdk/go/equinix/fabric/getPorts.go | 10 +- sdk/go/equinix/fabric/getRoutingProtocol.go | 254 + sdk/go/equinix/fabric/getServiceProfile.go | 16 +- sdk/go/equinix/fabric/getServiceProfiles.go | 21 +- sdk/go/equinix/fabric/init.go | 18 +- sdk/go/equinix/fabric/pulumiEnums.go | 181 + sdk/go/equinix/fabric/pulumiTypes.go | 29795 ++++++++++------ sdk/go/equinix/fabric/routingProtocol.go | 521 + sdk/go/equinix/fabric/serviceProfile.go | 92 +- sdk/go/equinix/init.go | 6 +- .../{fabric => internal}/pulumiUtilities.go | 44 +- sdk/go/equinix/internal/pulumiVersion.go | 11 + sdk/go/equinix/metal/bgpSession.go | 40 +- sdk/go/equinix/metal/device.go | 144 +- sdk/go/equinix/metal/deviceNetworkType.go | 40 +- sdk/go/equinix/metal/gateway.go | 40 +- sdk/go/equinix/metal/getDevice.go | 22 +- sdk/go/equinix/metal/getDeviceBgpNeighbors.go | 10 +- sdk/go/equinix/metal/getDevices.go | 207 + sdk/go/equinix/metal/getFacility.go | 13 +- sdk/go/equinix/metal/getGateway.go | 10 +- .../equinix/metal/getHardwareReservation.go | 14 +- sdk/go/equinix/metal/getInterconnection.go | 21 +- sdk/go/equinix/metal/getIpBlockRanges.go | 16 +- sdk/go/equinix/metal/getMetro.go | 10 +- sdk/go/equinix/metal/getOperatingSystem.go | 10 +- sdk/go/equinix/metal/getOrganization.go | 14 +- sdk/go/equinix/metal/getPlans.go | 10 +- sdk/go/equinix/metal/getPort.go | 10 +- sdk/go/equinix/metal/getPrecreatedIpBlock.go | 20 +- sdk/go/equinix/metal/getProject.go | 10 +- sdk/go/equinix/metal/getProjectSshKey.go | 14 +- sdk/go/equinix/metal/getReservedIpBlock.go | 14 +- sdk/go/equinix/metal/getSpotMarketPrice.go | 14 +- sdk/go/equinix/metal/getSpotMarketRequest.go | 14 +- sdk/go/equinix/metal/getVirtualCircuit.go | 10 +- sdk/go/equinix/metal/getVlan.go | 14 +- sdk/go/equinix/metal/getVrf.go | 10 +- sdk/go/equinix/metal/init.go | 4 +- sdk/go/equinix/metal/interconnection.go | 74 +- sdk/go/equinix/metal/ipAttachment.go | 40 +- sdk/go/equinix/metal/organization.go | 40 +- sdk/go/equinix/metal/organizationMember.go | 40 +- sdk/go/equinix/metal/port.go | 40 +- sdk/go/equinix/metal/portVlanAttachment.go | 40 +- sdk/go/equinix/metal/project.go | 82 +- sdk/go/equinix/metal/projectApiKey.go | 40 +- sdk/go/equinix/metal/projectSshKey.go | 40 +- sdk/go/equinix/metal/pulumiEnums.go | 109 + sdk/go/equinix/metal/pulumiTypes.go | 1686 +- sdk/go/equinix/metal/pulumiUtilities.go | 101 - sdk/go/equinix/metal/reservedIpBlock.go | 64 +- sdk/go/equinix/metal/spotMarketRequest.go | 64 +- sdk/go/equinix/metal/sshKey.go | 40 +- sdk/go/equinix/metal/userApiKey.go | 40 +- sdk/go/equinix/metal/virtualCircuit.go | 40 +- sdk/go/equinix/metal/vlan.go | 52 +- sdk/go/equinix/metal/vrf.go | 40 +- sdk/go/equinix/networkedge/aclTemplate.go | 52 +- sdk/go/equinix/networkedge/bgp.go | 40 +- sdk/go/equinix/networkedge/device.go | 61 +- sdk/go/equinix/networkedge/deviceLink.go | 40 +- sdk/go/equinix/networkedge/getAccount.go | 10 +- sdk/go/equinix/networkedge/getDevice.go | 27 +- .../equinix/networkedge/getDevicePlatform.go | 10 +- .../equinix/networkedge/getDeviceSoftware.go | 10 +- sdk/go/equinix/networkedge/getDeviceType.go | 10 +- sdk/go/equinix/networkedge/init.go | 4 +- sdk/go/equinix/networkedge/networkFile.go | 40 +- sdk/go/equinix/networkedge/pulumiEnums.go | 55 + sdk/go/equinix/networkedge/pulumiTypes.go | 597 +- sdk/go/equinix/networkedge/pulumiUtilities.go | 101 - sdk/go/equinix/networkedge/sshKey.go | 40 +- sdk/go/equinix/networkedge/sshUser.go | 40 +- sdk/go/equinix/provider.go | 16 +- sdk/go/equinix/pulumiEnums.go | 19 + sdk/go/equinix/pulumiUtilities.go | 101 - .../equinix/pulumi/fabric/CloudRouter.java | 313 + .../pulumi/fabric/CloudRouterArgs.java | 410 + .../com/equinix/pulumi/fabric/Connection.java | 33 +- .../equinix/pulumi/fabric/ConnectionArgs.java | 43 +- .../pulumi/fabric/FabricFunctions.java | 36 + .../pulumi/fabric/RoutingProtocol.java | 373 + .../pulumi/fabric/RoutingProtocolArgs.java | 497 + .../equinix/pulumi/fabric/ServiceProfile.java | 20 +- .../pulumi/fabric/ServiceProfileArgs.java | 28 +- .../fabric/inputs/CloudRouterAccountArgs.java | 83 + .../inputs/CloudRouterChangeLogArgs.java | 250 + .../inputs/CloudRouterLocationArgs.java | 194 + .../inputs/CloudRouterNotificationArgs.java | 170 + .../fabric/inputs/CloudRouterOrderArgs.java | 194 + .../fabric/inputs/CloudRouterPackageArgs.java | 82 + .../fabric/inputs/CloudRouterProjectArgs.java | 120 + .../fabric/inputs/CloudRouterState.java | 566 + .../ConnectionASideAccessPointArgs.java | 342 +- ...ConnectionASideAccessPointGatewayArgs.java | 28 +- ...nnectionASideAccessPointInterfaceArgs.java | 36 +- ...ctionASideAccessPointLinkProtocolArgs.java | 72 +- ...onnectionASideAccessPointLocationArgs.java | 92 + ...ConnectionASideAccessPointNetworkArgs.java | 120 + .../ConnectionASideAccessPointPortArgs.java | 36 +- ...PointProfileAccessPointTypeConfigArgs.java | 28 +- ...ConnectionASideAccessPointProfileArgs.java | 94 +- .../ConnectionASideAccessPointRouterArgs.java | 120 + ...onASideAccessPointRoutingProtocolArgs.java | 36 +- ...tionASideAccessPointVirtualDeviceArgs.java | 36 +- .../ConnectionASideServiceTokenArgs.java | 60 +- .../inputs/ConnectionAdditionalInfoArgs.java | 120 - .../inputs/ConnectionOperationErrorArgs.java | 10 +- .../pulumi/fabric/inputs/ConnectionState.java | 67 +- .../ConnectionZSideAccessPointArgs.java | 342 +- ...ConnectionZSideAccessPointGatewayArgs.java | 28 +- ...nnectionZSideAccessPointInterfaceArgs.java | 36 +- ...ctionZSideAccessPointLinkProtocolArgs.java | 72 +- ...onnectionZSideAccessPointLocationArgs.java | 92 + ...ConnectionZSideAccessPointNetworkArgs.java | 120 + .../ConnectionZSideAccessPointPortArgs.java | 36 +- ...PointProfileAccessPointTypeConfigArgs.java | 28 +- ...ConnectionZSideAccessPointProfileArgs.java | 94 +- .../ConnectionZSideAccessPointRouterArgs.java | 120 + ...onZSideAccessPointRoutingProtocolArgs.java | 36 +- ...tionZSideAccessPointVirtualDeviceArgs.java | 36 +- .../ConnectionZSideServiceTokenArgs.java | 60 +- .../fabric/inputs/GetCloudRouterArgs.java | 132 + .../inputs/GetCloudRouterPlainArgs.java | 111 + .../fabric/inputs/GetCloudRouterProject.java | 99 + .../inputs/GetCloudRouterProjectArgs.java | 120 + .../fabric/inputs/GetConnectionArgs.java | 20 - .../fabric/inputs/GetConnectionPlainArgs.java | 14 - .../fabric/inputs/GetRoutingProtocolArgs.java | 457 + .../fabric/inputs/GetRoutingProtocolBfd.java | 101 + .../inputs/GetRoutingProtocolBfdArgs.java | 122 + .../inputs/GetRoutingProtocolBgpIpv4.java | 129 + .../inputs/GetRoutingProtocolBgpIpv4Args.java | 160 + .../inputs/GetRoutingProtocolBgpIpv6.java | 129 + .../inputs/GetRoutingProtocolBgpIpv6Args.java | 160 + .../inputs/GetRoutingProtocolDirectIpv4.java | 71 + .../GetRoutingProtocolDirectIpv4Args.java | 82 + .../inputs/GetRoutingProtocolDirectIpv6.java | 72 + .../GetRoutingProtocolDirectIpv6Args.java | 83 + .../inputs/GetRoutingProtocolPlainArgs.java | 348 + .../fabric/inputs/GetServiceProfileArgs.java | 20 - .../inputs/GetServiceProfilePlainArgs.java | 14 - .../fabric/inputs/GetServiceProfilesArgs.java | 38 + .../inputs/GetServiceProfilesPlainArgs.java | 28 + .../fabric/inputs/RoutingProtocolBfdArgs.java | 122 + .../inputs/RoutingProtocolBgpIpv4Args.java | 159 + .../inputs/RoutingProtocolBgpIpv6Args.java | 159 + .../inputs/RoutingProtocolChangeArgs.java | 97 + .../inputs/RoutingProtocolChangeLogArgs.java | 250 + .../inputs/RoutingProtocolDirectIpv4Args.java | 82 + .../inputs/RoutingProtocolDirectIpv6Args.java | 83 + .../inputs/RoutingProtocolOperationArgs.java | 68 + ...tocolOperationErrorAdditionalInfoArgs.java | 80 + .../RoutingProtocolOperationErrorArgs.java | 154 + .../fabric/inputs/RoutingProtocolState.java | 752 + ...ileAccessPointTypeConfigApiConfigArgs.java | 140 + ...sPointTypeConfigAuthenticationKeyArgs.java | 48 +- ...PointTypeConfigLinkProtocolConfigArgs.java | 60 + ...ceProfileMarketingInfoProcessStepArgs.java | 48 +- .../ServiceProfilePortLocationArgs.java | 80 + .../fabric/inputs/ServiceProfileState.java | 44 +- ...rviceProfileVirtualDeviceLocationArgs.java | 80 + .../fabric/outputs/CloudRouterAccount.java | 56 + .../fabric/outputs/CloudRouterChangeLog.java | 180 + .../fabric/outputs/CloudRouterLocation.java | 116 + .../outputs/CloudRouterNotification.java | 100 + .../fabric/outputs/CloudRouterOrder.java | 116 + .../fabric/outputs/CloudRouterPackage.java | 54 + .../fabric/outputs/CloudRouterProject.java | 76 + .../outputs/ConnectionASideAccessPoint.java | 142 +- .../ConnectionASideAccessPointGateway.java | 12 +- .../ConnectionASideAccessPointInterface.java | 16 +- ...onnectionASideAccessPointLinkProtocol.java | 28 +- .../ConnectionASideAccessPointLocation.java | 32 + .../ConnectionASideAccessPointNetwork.java | 76 + .../ConnectionASideAccessPointPort.java | 16 +- .../ConnectionASideAccessPointProfile.java | 36 +- ...cessPointProfileAccessPointTypeConfig.java | 12 +- .../ConnectionASideAccessPointRouter.java | 76 + ...ectionASideAccessPointRoutingProtocol.java | 16 +- ...nnectionASideAccessPointVirtualDevice.java | 16 +- .../outputs/ConnectionASideServiceToken.java | 24 +- .../outputs/ConnectionAdditionalInfo.java | 76 - .../outputs/ConnectionOperationError.java | 4 +- .../outputs/ConnectionZSideAccessPoint.java | 142 +- .../ConnectionZSideAccessPointGateway.java | 12 +- .../ConnectionZSideAccessPointInterface.java | 16 +- ...onnectionZSideAccessPointLinkProtocol.java | 28 +- .../ConnectionZSideAccessPointLocation.java | 32 + .../ConnectionZSideAccessPointNetwork.java | 76 + .../ConnectionZSideAccessPointPort.java | 16 +- .../ConnectionZSideAccessPointProfile.java | 36 +- ...cessPointProfileAccessPointTypeConfig.java | 12 +- .../ConnectionZSideAccessPointRouter.java | 76 + ...ectionZSideAccessPointRoutingProtocol.java | 16 +- ...nnectionZSideAccessPointVirtualDevice.java | 16 +- .../outputs/ConnectionZSideServiceToken.java | 24 +- .../fabric/outputs/GetCloudRouterAccount.java | 119 + .../outputs/GetCloudRouterChangeLog.java | 178 + .../outputs/GetCloudRouterLocation.java | 94 + .../outputs/GetCloudRouterNotification.java | 74 + .../fabric/outputs/GetCloudRouterOrder.java | 82 + .../fabric/outputs/GetCloudRouterPackage.java | 46 + .../fabric/outputs/GetCloudRouterProject.java | 74 + .../fabric/outputs/GetCloudRouterResult.java | 402 + .../GetConnectionASideAccessPoint.java | 46 +- .../GetConnectionASideAccessPointGateway.java | 24 - ...etConnectionASideAccessPointInterface.java | 24 - ...onnectionASideAccessPointLinkProtocol.java | 8 - ...GetConnectionASideAccessPointLocation.java | 8 - .../GetConnectionASideAccessPointPort.java | 32 - .../GetConnectionASideAccessPointProfile.java | 40 - ...cessPointProfileAccessPointTypeConfig.java | 16 - ...ccessPointTypeConfigAuthenticationKey.java | 8 - .../GetConnectionASideAccessPointRouter.java | 70 + ...nnectionASideAccessPointVirtualDevice.java | 24 - .../GetConnectionASideServiceToken.java | 32 - .../outputs/GetConnectionNotification.java | 8 - .../outputs/GetConnectionOperationError.java | 8 - .../fabric/outputs/GetConnectionResult.java | 4 +- .../GetConnectionZSideAccessPoint.java | 46 +- .../GetConnectionZSideAccessPointGateway.java | 24 - ...etConnectionZSideAccessPointInterface.java | 24 - ...onnectionZSideAccessPointLinkProtocol.java | 8 - ...GetConnectionZSideAccessPointLocation.java | 8 - .../GetConnectionZSideAccessPointPort.java | 32 - .../GetConnectionZSideAccessPointProfile.java | 40 - ...cessPointProfileAccessPointTypeConfig.java | 16 - ...ccessPointTypeConfigAuthenticationKey.java | 8 - .../GetConnectionZSideAccessPointRouter.java | 70 + ...nnectionZSideAccessPointVirtualDevice.java | 24 - .../GetConnectionZSideServiceToken.java | 32 - .../pulumi/fabric/outputs/GetPortDevice.java | 16 - .../fabric/outputs/GetPortEncapsulation.java | 8 - .../fabric/outputs/GetPortLocation.java | 8 - .../fabric/outputs/GetPortRedundancy.java | 9 +- .../pulumi/fabric/outputs/GetPortResult.java | 26 +- .../pulumi/fabric/outputs/GetPortsDatum.java | 21 +- .../fabric/outputs/GetPortsDatumLag.java | 91 - .../outputs/GetPortsDatumRedundancy.java | 9 +- .../fabric/outputs/GetRoutingProtocolBfd.java | 77 + .../outputs/GetRoutingProtocolBgpIpv4.java | 97 + .../outputs/GetRoutingProtocolBgpIpv6.java | 97 + .../outputs/GetRoutingProtocolChange.java | 70 + .../outputs/GetRoutingProtocolChangeLog.java | 178 + .../outputs/GetRoutingProtocolDirectIpv4.java | 54 + .../outputs/GetRoutingProtocolDirectIpv6.java | 56 + .../outputs/GetRoutingProtocolOperation.java | 50 + .../GetRoutingProtocolOperationError.java | 111 + ...gProtocolOperationErrorAdditionalInfo.java | 58 + .../outputs/GetRoutingProtocolResult.java | 435 + ...etServiceProfileAccessPointTypeConfig.java | 16 - ...ccessPointTypeConfigAuthenticationKey.java | 8 - .../outputs/GetServiceProfileCustomField.java | 8 - ...erviceProfileMarketingInfoProcessStep.java | 8 - .../outputs/GetServiceProfileMetro.java | 8 - .../GetServiceProfileNotification.java | 8 - .../fabric/outputs/GetServiceProfilePort.java | 16 - .../outputs/GetServiceProfileProject.java | 8 - .../outputs/GetServiceProfilesResult.java | 20 + .../fabric/outputs/RoutingProtocolBfd.java | 77 + .../outputs/RoutingProtocolBgpIpv4.java | 97 + .../outputs/RoutingProtocolBgpIpv6.java | 97 + .../fabric/outputs/RoutingProtocolChange.java | 72 + .../outputs/RoutingProtocolChangeLog.java | 180 + .../outputs/RoutingProtocolDirectIpv4.java | 54 + .../outputs/RoutingProtocolDirectIpv6.java | 56 + .../outputs/RoutingProtocolOperation.java | 51 + .../RoutingProtocolOperationError.java | 113 + ...gProtocolOperationErrorAdditionalInfo.java | 60 + ...ProfileAccessPointTypeConfigApiConfig.java | 56 + ...ccessPointTypeConfigAuthenticationKey.java | 20 +- ...cessPointTypeConfigLinkProtocolConfig.java | 24 + ...erviceProfileMarketingInfoProcessStep.java | 20 +- .../outputs/ServiceProfilePortLocation.java | 32 + .../ServiceProfileVirtualDeviceLocation.java | 32 + .../java/com/equinix/pulumi/metal/Device.java | 36 +- .../com/equinix/pulumi/metal/DeviceArgs.java | 80 +- .../equinix/pulumi/metal/Interconnection.java | 18 +- .../pulumi/metal/InterconnectionArgs.java | 56 +- .../equinix/pulumi/metal/MetalFunctions.java | 549 +- .../com/equinix/pulumi/metal/Project.java | 14 +- .../com/equinix/pulumi/metal/ProjectArgs.java | 28 +- .../equinix/pulumi/metal/ReservedIpBlock.java | 8 +- .../pulumi/metal/ReservedIpBlockArgs.java | 24 +- .../pulumi/metal/SpotMarketRequest.java | 8 +- .../pulumi/metal/SpotMarketRequestArgs.java | 18 +- .../java/com/equinix/pulumi/metal/Vlan.java | 4 +- .../com/equinix/pulumi/metal/VlanArgs.java | 12 +- .../metal/inputs/DeviceIpAddressArgs.java | 30 + .../pulumi/metal/inputs/DeviceState.java | 88 +- .../pulumi/metal/inputs/GetDeviceArgs.java | 8 + .../metal/inputs/GetDevicePlainArgs.java | 6 + .../pulumi/metal/inputs/GetDevicesArgs.java | 228 + .../pulumi/metal/inputs/GetDevicesFilter.java | 173 + .../metal/inputs/GetDevicesFilterArgs.java | 216 + .../metal/inputs/GetDevicesPlainArgs.java | 183 + .../pulumi/metal/inputs/GetDevicesSort.java | 86 + .../metal/inputs/GetDevicesSortArgs.java | 101 + .../metal/inputs/GetIpBlockRangesArgs.java | 12 + .../inputs/GetIpBlockRangesPlainArgs.java | 9 + .../metal/inputs/GetOrganizationArgs.java | 8 + .../inputs/GetOrganizationPlainArgs.java | 6 + .../pulumi/metal/inputs/GetPlansFilter.java | 6 + .../metal/inputs/GetPlansFilterArgs.java | 8 + .../inputs/GetPrecreatedIpBlockArgs.java | 20 + .../inputs/GetPrecreatedIpBlockPlainArgs.java | 14 + .../metal/inputs/GetProjectSshKeyArgs.java | 8 + .../inputs/GetProjectSshKeyPlainArgs.java | 6 + .../metal/inputs/GetReservedIpBlockArgs.java | 8 + .../inputs/GetReservedIpBlockPlainArgs.java | 6 + .../metal/inputs/GetSpotMarketPriceArgs.java | 8 + .../inputs/GetSpotMarketPricePlainArgs.java | 6 + .../pulumi/metal/inputs/GetVlanArgs.java | 8 + .../pulumi/metal/inputs/GetVlanPlainArgs.java | 6 + .../metal/inputs/InterconnectionState.java | 45 +- .../pulumi/metal/inputs/ProjectState.java | 28 +- .../metal/inputs/ReservedIpBlockState.java | 24 +- ...otMarketRequestInstanceParametersArgs.java | 45 + .../metal/inputs/SpotMarketRequestState.java | 18 +- .../pulumi/metal/inputs/VlanState.java | 12 +- .../pulumi/metal/outputs/DeviceIpAddress.java | 12 + .../pulumi/metal/outputs/GetDeviceResult.java | 4 + .../metal/outputs/GetDevicesDevice.java | 346 + .../outputs/GetDevicesDeviceNetwork.java | 96 + .../outputs/GetDevicesDevicePort.java} | 74 +- .../metal/outputs/GetDevicesFilter.java | 125 + .../metal/outputs/GetDevicesResult.java | 149 + .../pulumi/metal/outputs/GetDevicesSort.java | 68 + .../outputs/GetHardwareReservationResult.java | 4 + .../outputs/GetInterconnectionResult.java | 24 + .../pulumi/metal/outputs/GetPlansFilter.java | 4 + .../outputs/GetSpotMarketRequestResult.java | 4 + .../SpotMarketRequestInstanceParameters.java | 24 + .../pulumi/networkedge/AclTemplate.java | 4 + .../pulumi/networkedge/AclTemplateArgs.java | 10 + .../equinix/pulumi/networkedge/Device.java | 16 + .../pulumi/networkedge/DeviceArgs.java | 41 + .../networkedge/inputs/AclTemplateState.java | 10 + .../networkedge/inputs/DeviceState.java | 41 + .../networkedge/inputs/GetDeviceArgs.java | 8 + .../inputs/GetDevicePlainArgs.java | 6 + .../networkedge/outputs/GetDeviceResult.java | 22 + .../outputs/GetDeviceSecondaryDevice.java | 14 + sdk/nodejs/fabric/cloudRouter.ts | 278 + sdk/nodejs/fabric/connection.ts | 36 +- sdk/nodejs/fabric/getCloudRouter.ts | 118 + sdk/nodejs/fabric/getConnection.ts | 8 +- sdk/nodejs/fabric/getPort.ts | 5 +- sdk/nodejs/fabric/getRoutingProtocol.ts | 208 + sdk/nodejs/fabric/getServiceProfile.ts | 6 - sdk/nodejs/fabric/getServiceProfiles.ts | 13 + sdk/nodejs/fabric/index.ts | 26 + sdk/nodejs/fabric/routingProtocol.ts | 323 + sdk/nodejs/fabric/serviceProfile.ts | 26 +- sdk/nodejs/metal/device.ts | 52 +- sdk/nodejs/metal/getDevice.ts | 14 +- sdk/nodejs/metal/getDevices.ts | 175 + sdk/nodejs/metal/getFacility.ts | 10 + sdk/nodejs/metal/getHardwareReservation.ts | 2 + sdk/nodejs/metal/getInterconnection.ts | 6 + sdk/nodejs/metal/getIpBlockRanges.ts | 6 + sdk/nodejs/metal/getOperatingSystem.ts | 4 +- sdk/nodejs/metal/getOrganization.ts | 4 + sdk/nodejs/metal/getPrecreatedIpBlock.ts | 6 + sdk/nodejs/metal/getProjectSshKey.ts | 4 + sdk/nodejs/metal/getReservedIpBlock.ts | 4 + sdk/nodejs/metal/getSpotMarketPrice.ts | 4 + sdk/nodejs/metal/getSpotMarketRequest.ts | 2 + sdk/nodejs/metal/getVlan.ts | 4 + sdk/nodejs/metal/index.ts | 5 + sdk/nodejs/metal/interconnection.ts | 25 +- sdk/nodejs/metal/project.ts | 21 +- sdk/nodejs/metal/reservedIpBlock.ts | 12 +- sdk/nodejs/metal/spotMarketRequest.ts | 12 +- sdk/nodejs/metal/vlan.ts | 6 +- sdk/nodejs/networkedge/aclTemplate.ts | 6 + sdk/nodejs/networkedge/device.ts | 17 + sdk/nodejs/networkedge/getDevice.ts | 9 + sdk/nodejs/package.json | 3 +- sdk/nodejs/provider.ts | 2 +- sdk/nodejs/scripts/install-pulumi-plugin.js | 26 - sdk/nodejs/tsconfig.json | 5 + sdk/nodejs/types/input.ts | 780 +- sdk/nodejs/types/output.ts | 1171 +- sdk/python/pulumi_equinix/__init__.py | 16 + sdk/python/pulumi_equinix/config/__init__.pyi | 2 +- sdk/python/pulumi_equinix/config/vars.py | 2 +- sdk/python/pulumi_equinix/fabric/__init__.py | 4 + sdk/python/pulumi_equinix/fabric/_inputs.py | 4503 ++- .../pulumi_equinix/fabric/cloud_router.py | 783 + .../pulumi_equinix/fabric/connection.py | 259 +- .../pulumi_equinix/fabric/get_cloud_router.py | 290 + .../pulumi_equinix/fabric/get_connection.py | 46 +- sdk/python/pulumi_equinix/fabric/get_port.py | 59 +- sdk/python/pulumi_equinix/fabric/get_ports.py | 8 +- .../fabric/get_routing_protocol.py | 358 + .../fabric/get_service_profile.py | 44 +- .../fabric/get_service_profiles.py | 32 +- sdk/python/pulumi_equinix/fabric/outputs.py | 14839 +++++--- .../pulumi_equinix/fabric/routing_protocol.py | 1006 + .../pulumi_equinix/fabric/service_profile.py | 271 +- sdk/python/pulumi_equinix/metal/__init__.py | 1 + sdk/python/pulumi_equinix/metal/_inputs.py | 607 +- .../pulumi_equinix/metal/bgp_session.py | 64 +- sdk/python/pulumi_equinix/metal/device.py | 490 +- .../metal/device_network_type.py | 44 +- sdk/python/pulumi_equinix/metal/gateway.py | 82 +- sdk/python/pulumi_equinix/metal/get_device.py | 72 +- .../metal/get_device_bgp_neighbors.py | 8 +- .../pulumi_equinix/metal/get_devices.py | 228 + .../pulumi_equinix/metal/get_facility.py | 26 +- .../pulumi_equinix/metal/get_gateway.py | 18 +- .../metal/get_hardware_reservation.py | 30 +- .../metal/get_interconnection.py | 72 +- .../metal/get_ip_block_ranges.py | 29 +- sdk/python/pulumi_equinix/metal/get_metro.py | 12 +- .../metal/get_operating_system.py | 14 +- .../pulumi_equinix/metal/get_organization.py | 24 +- sdk/python/pulumi_equinix/metal/get_plans.py | 10 +- sdk/python/pulumi_equinix/metal/get_port.py | 32 +- .../metal/get_precreated_ip_block.py | 40 +- .../pulumi_equinix/metal/get_project.py | 22 +- .../metal/get_project_ssh_key.py | 24 +- .../metal/get_reserved_ip_block.py | 51 +- .../metal/get_spot_market_price.py | 21 +- .../metal/get_spot_market_request.py | 34 +- .../metal/get_virtual_circuit.py | 42 +- sdk/python/pulumi_equinix/metal/get_vlan.py | 29 +- sdk/python/pulumi_equinix/metal/get_vrf.py | 18 +- .../pulumi_equinix/metal/interconnection.py | 276 +- .../pulumi_equinix/metal/ip_attachment.py | 98 +- .../pulumi_equinix/metal/organization.py | 85 +- .../metal/organization_member.py | 94 +- sdk/python/pulumi_equinix/metal/outputs.py | 1328 +- sdk/python/pulumi_equinix/metal/port.py | 136 +- .../metal/port_vlan_attachment.py | 92 +- sdk/python/pulumi_equinix/metal/project.py | 142 +- .../pulumi_equinix/metal/project_api_key.py | 60 +- .../pulumi_equinix/metal/project_ssh_key.py | 74 +- .../pulumi_equinix/metal/reserved_ip_block.py | 206 +- .../metal/spot_market_request.py | 157 +- sdk/python/pulumi_equinix/metal/ssh_key.py | 62 +- .../pulumi_equinix/metal/user_api_key.py | 54 +- .../pulumi_equinix/metal/virtual_circuit.py | 194 +- sdk/python/pulumi_equinix/metal/vlan.py | 94 +- sdk/python/pulumi_equinix/metal/vrf.py | 84 +- .../pulumi_equinix/networkedge/_inputs.py | 644 +- .../networkedge/acl_template.py | 118 +- sdk/python/pulumi_equinix/networkedge/bgp.py | 116 +- .../pulumi_equinix/networkedge/device.py | 481 +- .../pulumi_equinix/networkedge/device_link.py | 64 +- .../pulumi_equinix/networkedge/get_account.py | 14 +- .../pulumi_equinix/networkedge/get_device.py | 106 +- .../networkedge/get_device_platform.py | 20 +- .../networkedge/get_device_software.py | 24 +- .../networkedge/get_device_type.py | 16 +- .../networkedge/network_file.py | 108 +- .../pulumi_equinix/networkedge/outputs.py | 1127 +- .../pulumi_equinix/networkedge/ssh_key.py | 56 +- .../pulumi_equinix/networkedge/ssh_user.py | 56 +- sdk/python/pulumi_equinix/provider.py | 65 +- sdk/python/setup.py | 24 +- 757 files changed, 78801 insertions(+), 19963 deletions(-) create mode 100644 go.work create mode 100644 go.work.sum create mode 100644 sdk/dotnet/Fabric/CloudRouter.cs create mode 100644 sdk/dotnet/Fabric/GetCloudRouter.cs create mode 100644 sdk/dotnet/Fabric/GetRoutingProtocol.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterAccountArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterAccountGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterChangeLogArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterChangeLogGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterLocationArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterLocationGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterNotificationArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterNotificationGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterOrderArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterOrderGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterPackageArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterPackageGetArgs.cs rename sdk/dotnet/Fabric/Inputs/{ConnectionAdditionalInfoArgs.cs => CloudRouterProjectArgs.cs} (51%) rename sdk/dotnet/Fabric/Inputs/{ConnectionAdditionalInfoGetArgs.cs => CloudRouterProjectGetArgs.cs} (50%) create mode 100644 sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointNetworkArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointNetworkGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRouterArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRouterGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointNetworkArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointNetworkGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRouterArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRouterGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/GetCloudRouterProject.cs create mode 100644 sdk/dotnet/Fabric/Inputs/GetCloudRouterProjectArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBfd.cs create mode 100644 sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBfdArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv4.cs create mode 100644 sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv4Args.cs create mode 100644 sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv6.cs create mode 100644 sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv6Args.cs create mode 100644 sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv4.cs create mode 100644 sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv4Args.cs create mode 100644 sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv6.cs create mode 100644 sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv6Args.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolBfdArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolBfdGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv4Args.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv4GetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv6Args.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv6GetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeLogArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeLogGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv4Args.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv4GetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv6Args.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv6GetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorAdditionalInfoArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorAdditionalInfoGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Outputs/CloudRouterAccount.cs create mode 100644 sdk/dotnet/Fabric/Outputs/CloudRouterChangeLog.cs create mode 100644 sdk/dotnet/Fabric/Outputs/CloudRouterLocation.cs create mode 100644 sdk/dotnet/Fabric/Outputs/CloudRouterNotification.cs create mode 100644 sdk/dotnet/Fabric/Outputs/CloudRouterOrder.cs create mode 100644 sdk/dotnet/Fabric/Outputs/CloudRouterPackage.cs rename sdk/dotnet/Fabric/Outputs/{ConnectionAdditionalInfo.cs => CloudRouterProject.cs} (60%) create mode 100644 sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointNetwork.cs create mode 100644 sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointRouter.cs create mode 100644 sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointNetwork.cs create mode 100644 sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointRouter.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetCloudRouterAccountResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetCloudRouterChangeLogResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetCloudRouterLocationResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetCloudRouterNotificationResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetCloudRouterOrderResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetCloudRouterPackageResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetCloudRouterProjectResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointRouterResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointRouterResult.cs rename sdk/dotnet/Fabric/Outputs/{GetPortLagResult.cs => GetRoutingProtocolBfdResult.cs} (59%) create mode 100644 sdk/dotnet/Fabric/Outputs/GetRoutingProtocolBgpIpv4Result.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetRoutingProtocolBgpIpv6Result.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetRoutingProtocolChangeLogResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetRoutingProtocolChangeResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetRoutingProtocolDirectIpv4Result.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetRoutingProtocolDirectIpv6Result.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetRoutingProtocolOperationErrorAdditionalInfoResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetRoutingProtocolOperationErrorResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetRoutingProtocolOperationResult.cs rename sdk/dotnet/Fabric/Outputs/{GetPortsDatumLagResult.cs => RoutingProtocolBfd.cs} (58%) create mode 100644 sdk/dotnet/Fabric/Outputs/RoutingProtocolBgpIpv4.cs create mode 100644 sdk/dotnet/Fabric/Outputs/RoutingProtocolBgpIpv6.cs create mode 100644 sdk/dotnet/Fabric/Outputs/RoutingProtocolChange.cs create mode 100644 sdk/dotnet/Fabric/Outputs/RoutingProtocolChangeLog.cs create mode 100644 sdk/dotnet/Fabric/Outputs/RoutingProtocolDirectIpv4.cs create mode 100644 sdk/dotnet/Fabric/Outputs/RoutingProtocolDirectIpv6.cs create mode 100644 sdk/dotnet/Fabric/Outputs/RoutingProtocolOperation.cs create mode 100644 sdk/dotnet/Fabric/Outputs/RoutingProtocolOperationError.cs create mode 100644 sdk/dotnet/Fabric/Outputs/RoutingProtocolOperationErrorAdditionalInfo.cs create mode 100644 sdk/dotnet/Fabric/RoutingProtocol.cs create mode 100644 sdk/dotnet/Metal/GetDevices.cs create mode 100644 sdk/dotnet/Metal/Inputs/GetDevicesFilter.cs create mode 100644 sdk/dotnet/Metal/Inputs/GetDevicesFilterArgs.cs create mode 100644 sdk/dotnet/Metal/Inputs/GetDevicesSort.cs create mode 100644 sdk/dotnet/Metal/Inputs/GetDevicesSortArgs.cs create mode 100644 sdk/dotnet/Metal/Outputs/GetDevicesDeviceNetworkResult.cs create mode 100644 sdk/dotnet/Metal/Outputs/GetDevicesDevicePortResult.cs create mode 100644 sdk/dotnet/Metal/Outputs/GetDevicesDeviceResult.cs create mode 100644 sdk/dotnet/Metal/Outputs/GetDevicesFilterResult.cs create mode 100644 sdk/dotnet/Metal/Outputs/GetDevicesSortResult.cs create mode 100644 sdk/go.mod create mode 100644 sdk/go.sum create mode 100644 sdk/go/equinix/fabric/cloudRouter.go create mode 100644 sdk/go/equinix/fabric/getCloudRouter.go create mode 100644 sdk/go/equinix/fabric/getRoutingProtocol.go create mode 100644 sdk/go/equinix/fabric/routingProtocol.go rename sdk/go/equinix/{fabric => internal}/pulumiUtilities.go (60%) create mode 100644 sdk/go/equinix/internal/pulumiVersion.go create mode 100644 sdk/go/equinix/metal/getDevices.go delete mode 100644 sdk/go/equinix/metal/pulumiUtilities.go delete mode 100644 sdk/go/equinix/networkedge/pulumiUtilities.go delete mode 100644 sdk/go/equinix/pulumiUtilities.go create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/CloudRouter.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/CloudRouterArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/RoutingProtocol.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/RoutingProtocolArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterAccountArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterChangeLogArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterLocationArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterNotificationArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterOrderArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterPackageArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterProjectArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterState.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointNetworkArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointRouterArgs.java delete mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionAdditionalInfoArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointNetworkArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointRouterArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterPlainArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterProject.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterProjectArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBfd.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBfdArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv4.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv4Args.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv6.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv6Args.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv4.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv4Args.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv6.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv6Args.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolPlainArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolBfdArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolBgpIpv4Args.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolBgpIpv6Args.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolChangeArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolChangeLogArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolDirectIpv4Args.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolDirectIpv6Args.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolOperationArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolOperationErrorAdditionalInfoArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolOperationErrorArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolState.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterAccount.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterChangeLog.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterLocation.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterNotification.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterOrder.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterPackage.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterProject.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointNetwork.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointRouter.java delete mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionAdditionalInfo.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointNetwork.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointRouter.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterAccount.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterChangeLog.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterLocation.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterNotification.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterOrder.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterPackage.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterProject.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterResult.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointRouter.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointRouter.java delete mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumLag.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolBfd.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolBgpIpv4.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolBgpIpv6.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolChange.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolChangeLog.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolDirectIpv4.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolDirectIpv6.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolOperation.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolOperationError.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolOperationErrorAdditionalInfo.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolResult.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolBfd.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolBgpIpv4.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolBgpIpv6.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolChange.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolChangeLog.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolDirectIpv4.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolDirectIpv6.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolOperation.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolOperationError.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolOperationErrorAdditionalInfo.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesFilter.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesFilterArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesPlainArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesSort.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesSortArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDevice.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDeviceNetwork.java rename sdk/java/src/main/java/com/equinix/pulumi/{fabric/outputs/GetPortLag.java => metal/outputs/GetDevicesDevicePort.java} (54%) create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesFilter.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesResult.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesSort.java create mode 100644 sdk/nodejs/fabric/cloudRouter.ts create mode 100644 sdk/nodejs/fabric/getCloudRouter.ts create mode 100644 sdk/nodejs/fabric/getRoutingProtocol.ts create mode 100644 sdk/nodejs/fabric/routingProtocol.ts create mode 100644 sdk/nodejs/metal/getDevices.ts delete mode 100644 sdk/nodejs/scripts/install-pulumi-plugin.js create mode 100644 sdk/python/pulumi_equinix/fabric/cloud_router.py create mode 100644 sdk/python/pulumi_equinix/fabric/get_cloud_router.py create mode 100644 sdk/python/pulumi_equinix/fabric/get_routing_protocol.py create mode 100644 sdk/python/pulumi_equinix/fabric/routing_protocol.py create mode 100644 sdk/python/pulumi_equinix/metal/get_devices.py diff --git a/go.work b/go.work new file mode 100644 index 00000000..fadf7669 --- /dev/null +++ b/go.work @@ -0,0 +1,7 @@ +go 1.20 + +use ( + ./examples + ./provider + ./sdk +) \ No newline at end of file diff --git a/go.work.sum b/go.work.sum new file mode 100644 index 00000000..e7ffbf26 --- /dev/null +++ b/go.work.sum @@ -0,0 +1,7 @@ +github.com/apparentlymart/go-textseg v1.0.0 h1:rRmlIsPEEhUTIKQb7T++Nz/A5Q6C9IuX2wFoYVvnCs0= +github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= +github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= +github.com/russross/blackfriday v1.6.0 h1:KqfZb0pUVN2lYqZUYRddxF4OR8ZMURnJIG5Y3VRLtww= +github.com/yuin/goldmark v1.5.2/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +golang.org/x/net v0.16.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs index ecbf0e6b..13460ff6 100644 --- a/sdk/dotnet/Config/Config.cs +++ b/sdk/dotnet/Config/Config.cs @@ -8,7 +8,7 @@ namespace Pulumi.Equinix { public static class Config { - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "IDE1006", Justification = + [global::System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Double underscore prefix used to avoid conflicts with variable names.")] private sealed class __Value { diff --git a/sdk/dotnet/Fabric/CloudRouter.cs b/sdk/dotnet/Fabric/CloudRouter.cs new file mode 100644 index 00000000..381530ea --- /dev/null +++ b/sdk/dotnet/Fabric/CloudRouter.cs @@ -0,0 +1,364 @@ +// *** 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 +{ + /// + /// ## Example Usage + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Equinix = Pulumi.Equinix; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var config = new Config(); + /// var metro = config.Get("metro") ?? "FR"; + /// var accountNum = config.RequireInt32("accountNum"); + /// var router = new Equinix.Fabric.CloudRouter("router", new() + /// { + /// Name = "My-Fabric-Cloud-Router", + /// Type = "XF_ROUTER", + /// Location = new Equinix.Fabric.Inputs.CloudRouterLocationArgs + /// { + /// MetroCode = metro, + /// }, + /// Package = new Equinix.Fabric.Inputs.CloudRouterPackageArgs + /// { + /// Code = "BASIC", + /// }, + /// Notifications = new[] + /// { + /// new Equinix.Fabric.Inputs.CloudRouterNotificationArgs + /// { + /// Type = "ALL", + /// Emails = new[] + /// { + /// "example@equinix.com", + /// }, + /// }, + /// }, + /// Account = new Equinix.Fabric.Inputs.CloudRouterAccountArgs + /// { + /// AccountNumber = 272010, + /// }, + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["routerId"] = router.Id, + /// }; + /// }); + /// ``` + /// + [EquinixResourceType("equinix:fabric/cloudRouter:CloudRouter")] + public partial class CloudRouter : global::Pulumi.CustomResource + { + /// + /// Customer account information that is associated with this Fabric Cloud Router + /// + [Output("account")] + public Output Account { get; private set; } = null!; + + /// + /// Captures Fabric Cloud Router lifecycle change information + /// + [Output("changeLogs")] + public Output> ChangeLogs { get; private set; } = null!; + + /// + /// Customer-provided Fabric Cloud Router description + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// Equinix ASN + /// + [Output("equinixAsn")] + public Output EquinixAsn { get; private set; } = null!; + + /// + /// Unique Resource URL + /// + [Output("href")] + public Output Href { get; private set; } = null!; + + /// + /// Fabric Cloud Router location + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Preferences for notifications on Fabric Cloud Router configuration or status changes + /// + [Output("notifications")] + public Output> Notifications { get; private set; } = null!; + + /// + /// Order information related to this Fabric Cloud Router + /// + [Output("order")] + public Output Order { get; private set; } = null!; + + /// + /// Fabric Cloud Router package + /// + [Output("package")] + public Output Package { get; private set; } = null!; + + /// + /// Fabric Cloud Router project + /// + [Output("projects")] + public Output> Projects { get; private set; } = null!; + + /// + /// Fabric Cloud Router overall state + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a CloudRouter resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public CloudRouter(string name, CloudRouterArgs args, CustomResourceOptions? options = null) + : base("equinix:fabric/cloudRouter:CloudRouter", name, args ?? new CloudRouterArgs(), MakeResourceOptions(options, "")) + { + } + + private CloudRouter(string name, Input id, CloudRouterState? state = null, CustomResourceOptions? options = null) + : base("equinix:fabric/cloudRouter:CloudRouter", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/equinix", + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing CloudRouter resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static CloudRouter Get(string name, Input id, CloudRouterState? state = null, CustomResourceOptions? options = null) + { + return new CloudRouter(name, id, state, options); + } + } + + public sealed class CloudRouterArgs : global::Pulumi.ResourceArgs + { + /// + /// Customer account information that is associated with this Fabric Cloud Router + /// + [Input("account")] + public Input? Account { get; set; } + + /// + /// Customer-provided Fabric Cloud Router description + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Fabric Cloud Router location + /// + [Input("location", required: true)] + public Input Location { get; set; } = null!; + + /// + /// Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("notifications", required: true)] + private InputList? _notifications; + + /// + /// Preferences for notifications on Fabric Cloud Router configuration or status changes + /// + public InputList Notifications + { + get => _notifications ?? (_notifications = new InputList()); + set => _notifications = value; + } + + /// + /// Order information related to this Fabric Cloud Router + /// + [Input("order")] + public Input? Order { get; set; } + + /// + /// Fabric Cloud Router package + /// + [Input("package", required: true)] + public Input Package { get; set; } = null!; + + [Input("projects")] + private InputList? _projects; + + /// + /// Fabric Cloud Router project + /// + public InputList Projects + { + get => _projects ?? (_projects = new InputList()); + set => _projects = value; + } + + /// + /// Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public CloudRouterArgs() + { + } + public static new CloudRouterArgs Empty => new CloudRouterArgs(); + } + + public sealed class CloudRouterState : global::Pulumi.ResourceArgs + { + /// + /// Customer account information that is associated with this Fabric Cloud Router + /// + [Input("account")] + public Input? Account { get; set; } + + [Input("changeLogs")] + private InputList? _changeLogs; + + /// + /// Captures Fabric Cloud Router lifecycle change information + /// + public InputList ChangeLogs + { + get => _changeLogs ?? (_changeLogs = new InputList()); + set => _changeLogs = value; + } + + /// + /// Customer-provided Fabric Cloud Router description + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Equinix ASN + /// + [Input("equinixAsn")] + public Input? EquinixAsn { get; set; } + + /// + /// Unique Resource URL + /// + [Input("href")] + public Input? Href { get; set; } + + /// + /// Fabric Cloud Router location + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("notifications")] + private InputList? _notifications; + + /// + /// Preferences for notifications on Fabric Cloud Router configuration or status changes + /// + public InputList Notifications + { + get => _notifications ?? (_notifications = new InputList()); + set => _notifications = value; + } + + /// + /// Order information related to this Fabric Cloud Router + /// + [Input("order")] + public Input? Order { get; set; } + + /// + /// Fabric Cloud Router package + /// + [Input("package")] + public Input? Package { get; set; } + + [Input("projects")] + private InputList? _projects; + + /// + /// Fabric Cloud Router project + /// + public InputList Projects + { + get => _projects ?? (_projects = new InputList()); + set => _projects = value; + } + + /// + /// Fabric Cloud Router overall state + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + /// + [Input("type")] + public Input? Type { get; set; } + + public CloudRouterState() + { + } + public static new CloudRouterState Empty => new CloudRouterState(); + } +} diff --git a/sdk/dotnet/Fabric/Connection.cs b/sdk/dotnet/Fabric/Connection.cs index 78d257b4..1464dc3c 100644 --- a/sdk/dotnet/Fabric/Connection.cs +++ b/sdk/dotnet/Fabric/Connection.cs @@ -121,16 +121,16 @@ public partial class Connection : global::Pulumi.CustomResource public Output ASide { get; private set; } = null!; /// - /// Customer account information that is associated with this connection + /// Account /// [Output("account")] public Output Account { get; private set; } = null!; /// - /// Connection additional information + /// Connection side additional information /// [Output("additionalInfo")] - public Output> AdditionalInfo { get; private set; } = null!; + public Output>> AdditionalInfo { get; private set; } = null!; /// /// Connection bandwidth in Mbps @@ -151,7 +151,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output Direction { get; private set; } = null!; /// - /// Connection URI information + /// Unique Resource Identifier /// [Output("href")] public Output Href { get; private set; } = null!; @@ -163,7 +163,7 @@ public partial class Connection : global::Pulumi.CustomResource public Output IsRemote { get; private set; } = null!; /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// [Output("name")] public Output Name { get; private set; } = null!; @@ -199,13 +199,13 @@ public partial class Connection : global::Pulumi.CustomResource public Output Redundancy { get; private set; } = null!; /// - /// Connection overall state + /// Routing protocol instance state /// [Output("state")] public Output State { get; private set; } = null!; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Output("type")] public Output Type { get; private set; } = null!; @@ -270,14 +270,14 @@ public sealed class ConnectionArgs : global::Pulumi.ResourceArgs public Input ASide { get; set; } = null!; [Input("additionalInfo")] - private InputList? _additionalInfo; + private InputList>? _additionalInfo; /// - /// Connection additional information + /// Connection side additional information /// - public InputList AdditionalInfo + public InputList> AdditionalInfo { - get => _additionalInfo ?? (_additionalInfo = new InputList()); + get => _additionalInfo ?? (_additionalInfo = new InputList>()); set => _additionalInfo = value; } @@ -288,7 +288,7 @@ public InputList AdditionalInfo public Input Bandwidth { get; set; } = null!; /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// [Input("name")] public Input? Name { get; set; } @@ -324,7 +324,7 @@ public InputList Notifications public Input? Redundancy { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type", required: true)] public InputUnion Type { get; set; } = null!; @@ -350,20 +350,20 @@ public sealed class ConnectionState : global::Pulumi.ResourceArgs public Input? ASide { get; set; } /// - /// Customer account information that is associated with this connection + /// Account /// [Input("account")] public Input? Account { get; set; } [Input("additionalInfo")] - private InputList? _additionalInfo; + private InputList>? _additionalInfo; /// - /// Connection additional information + /// Connection side additional information /// - public InputList AdditionalInfo + public InputList> AdditionalInfo { - get => _additionalInfo ?? (_additionalInfo = new InputList()); + get => _additionalInfo ?? (_additionalInfo = new InputList>()); set => _additionalInfo = value; } @@ -386,7 +386,7 @@ public InputList AdditionalInfo public Input? Direction { get; set; } /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } @@ -398,7 +398,7 @@ public InputList AdditionalInfo public Input? IsRemote { get; set; } /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// [Input("name")] public Input? Name { get; set; } @@ -440,13 +440,13 @@ public InputList Notifications public Input? Redundancy { get; set; } /// - /// Connection overall state + /// Routing protocol instance state /// [Input("state")] public Input? State { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public InputUnion? Type { get; set; } diff --git a/sdk/dotnet/Fabric/GetCloudRouter.cs b/sdk/dotnet/Fabric/GetCloudRouter.cs new file mode 100644 index 00000000..778fcfbb --- /dev/null +++ b/sdk/dotnet/Fabric/GetCloudRouter.cs @@ -0,0 +1,200 @@ +// *** 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 GetCloudRouter + { + public static Task InvokeAsync(GetCloudRouterArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("equinix:fabric/getCloudRouter:getCloudRouter", args ?? new GetCloudRouterArgs(), options.WithDefaults()); + + public static Output Invoke(GetCloudRouterInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("equinix:fabric/getCloudRouter:getCloudRouter", args ?? new GetCloudRouterInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetCloudRouterArgs : global::Pulumi.InvokeArgs + { + [Input("projects")] + private List? _projects; + + /// + /// Project information + /// + public List Projects + { + get => _projects ?? (_projects = new List()); + set => _projects = value; + } + + /// + /// Equinix-assigned Fabric Cloud Router identifier + /// + [Input("uuid")] + public string? Uuid { get; set; } + + public GetCloudRouterArgs() + { + } + public static new GetCloudRouterArgs Empty => new GetCloudRouterArgs(); + } + + public sealed class GetCloudRouterInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("projects")] + private InputList? _projects; + + /// + /// Project information + /// + public InputList Projects + { + get => _projects ?? (_projects = new InputList()); + set => _projects = value; + } + + /// + /// Equinix-assigned Fabric Cloud Router identifier + /// + [Input("uuid")] + public Input? Uuid { get; set; } + + public GetCloudRouterInvokeArgs() + { + } + public static new GetCloudRouterInvokeArgs Empty => new GetCloudRouterInvokeArgs(); + } + + + [OutputType] + public sealed class GetCloudRouterResult + { + /// + /// Customer account information that is associated with this Fabric Cloud Router + /// + public readonly ImmutableArray Accounts; + public readonly int BgpIpv4RoutesCount; + public readonly int BgpIpv6RoutesCount; + /// + /// Captures Fabric Cloud Router lifecycle change information + /// + public readonly ImmutableArray ChangeLogs; + public readonly int ConnectionsCount; + /// + /// Customer-provided Fabric Cloud Router description + /// + public readonly string Description; + /// + /// Equinix ASN + /// + public readonly int EquinixAsn; + /// + /// Fabric Cloud Router URI information + /// + public readonly string Href; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Fabric Cloud Router location + /// + public readonly ImmutableArray Locations; + /// + /// Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// + public readonly string Name; + /// + /// Preferences for notifications on Fabric Cloud Router configuration or status changes + /// + public readonly ImmutableArray Notifications; + /// + /// Order information related to this Fabric Cloud Router + /// + public readonly ImmutableArray Orders; + /// + /// Fabric Cloud Router package information + /// + public readonly ImmutableArray Packages; + /// + /// Project information + /// + public readonly ImmutableArray Projects; + /// + /// Fabric Cloud Router overall state + /// + public readonly string State; + /// + /// Defines the Fabric Cloud Router type like XF_GATEWAY + /// + public readonly string Type; + /// + /// Equinix-assigned Fabric Cloud Router identifier + /// + public readonly string? Uuid; + + [OutputConstructor] + private GetCloudRouterResult( + ImmutableArray accounts, + + int bgpIpv4RoutesCount, + + int bgpIpv6RoutesCount, + + ImmutableArray changeLogs, + + int connectionsCount, + + string description, + + int equinixAsn, + + string href, + + string id, + + ImmutableArray locations, + + string name, + + ImmutableArray notifications, + + ImmutableArray orders, + + ImmutableArray packages, + + ImmutableArray projects, + + string state, + + string type, + + string? uuid) + { + Accounts = accounts; + BgpIpv4RoutesCount = bgpIpv4RoutesCount; + BgpIpv6RoutesCount = bgpIpv6RoutesCount; + ChangeLogs = changeLogs; + ConnectionsCount = connectionsCount; + Description = description; + EquinixAsn = equinixAsn; + Href = href; + Id = id; + Locations = locations; + Name = name; + Notifications = notifications; + Orders = orders; + Packages = packages; + Projects = projects; + State = state; + Type = type; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/GetConnection.cs b/sdk/dotnet/Fabric/GetConnection.cs index 22d5f142..9bf8e2a4 100644 --- a/sdk/dotnet/Fabric/GetConnection.cs +++ b/sdk/dotnet/Fabric/GetConnection.cs @@ -27,9 +27,6 @@ public sealed class GetConnectionArgs : global::Pulumi.InvokeArgs [Input("project")] public Inputs.GetConnectionProjectArgs? Project { get; set; } - /// - /// Equinix-assigned connection identifier - /// [Input("uuid")] public string? Uuid { get; set; } @@ -47,9 +44,6 @@ public sealed class GetConnectionInvokeArgs : global::Pulumi.InvokeArgs [Input("project")] public Input? Project { get; set; } - /// - /// Equinix-assigned connection identifier - /// [Input("uuid")] public Input? Uuid { get; set; } @@ -132,7 +126,7 @@ public sealed class GetConnectionResult /// public readonly string State; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, IP*VC, ACCESS*EPL_VC /// public readonly string Type; /// diff --git a/sdk/dotnet/Fabric/GetPort.cs b/sdk/dotnet/Fabric/GetPort.cs index 20ff240c..07d2aa8b 100644 --- a/sdk/dotnet/Fabric/GetPort.cs +++ b/sdk/dotnet/Fabric/GetPort.cs @@ -87,10 +87,7 @@ public sealed class GetPortResult /// The provider-assigned unique ID for this managed resource. /// public readonly string Id; - /// - /// Port Lag - /// - public readonly Outputs.GetPortLagResult Lag; + public readonly bool LagEnabled; /// /// Port location information /// @@ -148,7 +145,7 @@ private GetPortResult( string id, - Outputs.GetPortLagResult lag, + bool lagEnabled, Outputs.GetPortLocationResult location, @@ -177,7 +174,7 @@ private GetPortResult( Encapsulation = encapsulation; Href = href; Id = id; - Lag = lag; + LagEnabled = lagEnabled; Location = location; Name = name; Operation = operation; diff --git a/sdk/dotnet/Fabric/GetRoutingProtocol.cs b/sdk/dotnet/Fabric/GetRoutingProtocol.cs new file mode 100644 index 00000000..2786eb32 --- /dev/null +++ b/sdk/dotnet/Fabric/GetRoutingProtocol.cs @@ -0,0 +1,312 @@ +// *** 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 GetRoutingProtocol + { + public static Task InvokeAsync(GetRoutingProtocolArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("equinix:fabric/getRoutingProtocol:getRoutingProtocol", args ?? new GetRoutingProtocolArgs(), options.WithDefaults()); + + public static Output Invoke(GetRoutingProtocolInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("equinix:fabric/getRoutingProtocol:getRoutingProtocol", args ?? new GetRoutingProtocolInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetRoutingProtocolArgs : global::Pulumi.InvokeArgs + { + /// + /// Bidirectional Forwarding Detection + /// + [Input("bfd")] + public Inputs.GetRoutingProtocolBfdArgs? Bfd { get; set; } + + /// + /// BGP authorization key + /// + [Input("bgpAuthKey")] + public string? BgpAuthKey { get; set; } + + /// + /// Routing Protocol BGP IPv4 + /// + [Input("bgpIpv4")] + public Inputs.GetRoutingProtocolBgpIpv4Args? BgpIpv4 { get; set; } + + /// + /// Routing Protocol BGP IPv6 + /// + [Input("bgpIpv6")] + public Inputs.GetRoutingProtocolBgpIpv6Args? BgpIpv6 { get; set; } + + /// + /// Connection URI associated with Routing Protocol + /// + [Input("connectionUuid", required: true)] + public string ConnectionUuid { get; set; } = null!; + + /// + /// Customer-provided ASN + /// + [Input("customerAsn")] + public int? CustomerAsn { get; set; } + + /// + /// Customer-provided Fabric Routing Protocol description + /// + [Input("description")] + public string? Description { get; set; } + + /// + /// Routing Protocol Direct IPv4 + /// + [Input("directIpv4")] + public Inputs.GetRoutingProtocolDirectIpv4Args? DirectIpv4 { get; set; } + + /// + /// Routing Protocol Direct IPv6 + /// + [Input("directIpv6")] + public Inputs.GetRoutingProtocolDirectIpv6Args? DirectIpv6 { get; set; } + + /// + /// Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// + [Input("name")] + public string? Name { get; set; } + + [Input("type")] + public string? Type { get; set; } + + [Input("uuid")] + public string? Uuid { get; set; } + + public GetRoutingProtocolArgs() + { + } + public static new GetRoutingProtocolArgs Empty => new GetRoutingProtocolArgs(); + } + + public sealed class GetRoutingProtocolInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Bidirectional Forwarding Detection + /// + [Input("bfd")] + public Input? Bfd { get; set; } + + /// + /// BGP authorization key + /// + [Input("bgpAuthKey")] + public Input? BgpAuthKey { get; set; } + + /// + /// Routing Protocol BGP IPv4 + /// + [Input("bgpIpv4")] + public Input? BgpIpv4 { get; set; } + + /// + /// Routing Protocol BGP IPv6 + /// + [Input("bgpIpv6")] + public Input? BgpIpv6 { get; set; } + + /// + /// Connection URI associated with Routing Protocol + /// + [Input("connectionUuid", required: true)] + public Input ConnectionUuid { get; set; } = null!; + + /// + /// Customer-provided ASN + /// + [Input("customerAsn")] + public Input? CustomerAsn { get; set; } + + /// + /// Customer-provided Fabric Routing Protocol description + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Routing Protocol Direct IPv4 + /// + [Input("directIpv4")] + public Input? DirectIpv4 { get; set; } + + /// + /// Routing Protocol Direct IPv6 + /// + [Input("directIpv6")] + public Input? DirectIpv6 { get; set; } + + /// + /// Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("type")] + public Input? Type { get; set; } + + [Input("uuid")] + public Input? Uuid { get; set; } + + public GetRoutingProtocolInvokeArgs() + { + } + public static new GetRoutingProtocolInvokeArgs Empty => new GetRoutingProtocolInvokeArgs(); + } + + + [OutputType] + public sealed class GetRoutingProtocolResult + { + /// + /// Bidirectional Forwarding Detection + /// + public readonly Outputs.GetRoutingProtocolBfdResult? Bfd; + /// + /// BGP authorization key + /// + public readonly string? BgpAuthKey; + /// + /// Routing Protocol BGP IPv4 + /// + public readonly Outputs.GetRoutingProtocolBgpIpv4Result? BgpIpv4; + /// + /// Routing Protocol BGP IPv6 + /// + public readonly Outputs.GetRoutingProtocolBgpIpv6Result? BgpIpv6; + /// + /// Captures Routing Protocol lifecycle change information + /// + public readonly ImmutableArray ChangeLogs; + /// + /// Routing Protocol configuration Changes + /// + public readonly ImmutableArray Changes; + /// + /// Connection URI associated with Routing Protocol + /// + public readonly string ConnectionUuid; + /// + /// Customer-provided ASN + /// + public readonly int? CustomerAsn; + /// + /// Customer-provided Fabric Routing Protocol description + /// + public readonly string? Description; + /// + /// Routing Protocol Direct IPv4 + /// + public readonly Outputs.GetRoutingProtocolDirectIpv4Result? DirectIpv4; + /// + /// Routing Protocol Direct IPv6 + /// + public readonly Outputs.GetRoutingProtocolDirectIpv6Result? DirectIpv6; + /// + /// Equinix ASN + /// + public readonly int EquinixAsn; + /// + /// Routing Protocol URI information + /// + public readonly string Href; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// + public readonly string? Name; + /// + /// Routing Protocol type-specific operational data + /// + public readonly ImmutableArray Operations; + /// + /// Routing Protocol overall state + /// + public readonly string State; + /// + /// Defines the routing protocol type like BGP or DIRECT + /// + public readonly string? Type; + /// + /// Equinix-assigned routing protocol identifier + /// + public readonly string Uuid; + + [OutputConstructor] + private GetRoutingProtocolResult( + Outputs.GetRoutingProtocolBfdResult? bfd, + + string? bgpAuthKey, + + Outputs.GetRoutingProtocolBgpIpv4Result? bgpIpv4, + + Outputs.GetRoutingProtocolBgpIpv6Result? bgpIpv6, + + ImmutableArray changeLogs, + + ImmutableArray changes, + + string connectionUuid, + + int? customerAsn, + + string? description, + + Outputs.GetRoutingProtocolDirectIpv4Result? directIpv4, + + Outputs.GetRoutingProtocolDirectIpv6Result? directIpv6, + + int equinixAsn, + + string href, + + string id, + + string? name, + + ImmutableArray operations, + + string state, + + string? type, + + string uuid) + { + Bfd = bfd; + BgpAuthKey = bgpAuthKey; + BgpIpv4 = bgpIpv4; + BgpIpv6 = bgpIpv6; + ChangeLogs = changeLogs; + Changes = changes; + ConnectionUuid = connectionUuid; + CustomerAsn = customerAsn; + Description = description; + DirectIpv4 = directIpv4; + DirectIpv6 = directIpv6; + EquinixAsn = equinixAsn; + Href = href; + Id = id; + Name = name; + Operations = operations; + State = state; + Type = type; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/GetServiceProfile.cs b/sdk/dotnet/Fabric/GetServiceProfile.cs index b0dd972f..393d7d5b 100644 --- a/sdk/dotnet/Fabric/GetServiceProfile.cs +++ b/sdk/dotnet/Fabric/GetServiceProfile.cs @@ -37,9 +37,6 @@ public sealed class GetServiceProfileArgs : global::Pulumi.InvokeArgs [Input("state")] public string? State { get; set; } - /// - /// Equinix assigned service profile identifier - /// [Input("uuid", required: true)] public string Uuid { get; set; } = null!; @@ -57,9 +54,6 @@ public sealed class GetServiceProfileInvokeArgs : global::Pulumi.InvokeArgs [Input("state")] public Input? State { get; set; } - /// - /// Equinix assigned service profile identifier - /// [Input("uuid", required: true)] public Input Uuid { get; set; } = null!; diff --git a/sdk/dotnet/Fabric/GetServiceProfiles.cs b/sdk/dotnet/Fabric/GetServiceProfiles.cs index e16ddc54..da756656 100644 --- a/sdk/dotnet/Fabric/GetServiceProfiles.cs +++ b/sdk/dotnet/Fabric/GetServiceProfiles.cs @@ -39,6 +39,12 @@ public List Sort set => _sort = value; } + /// + /// Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + /// + [Input("viewPoint")] + public string? ViewPoint { get; set; } + public GetServiceProfilesArgs() { } @@ -65,6 +71,12 @@ public InputList Sort set => _sort = value; } + /// + /// Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + /// + [Input("viewPoint")] + public Input? ViewPoint { get; set; } + public GetServiceProfilesInvokeArgs() { } @@ -91,6 +103,10 @@ public sealed class GetServiceProfilesResult /// Service Profile Sort criteria for Search Request response payload /// public readonly ImmutableArray Sort; + /// + /// Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + /// + public readonly string? ViewPoint; [OutputConstructor] private GetServiceProfilesResult( @@ -100,12 +116,15 @@ private GetServiceProfilesResult( string id, - ImmutableArray sort) + ImmutableArray sort, + + string? viewPoint) { Data = data; Filter = filter; Id = id; Sort = sort; + ViewPoint = viewPoint; } } } diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterAccountArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterAccountArgs.cs new file mode 100644 index 00000000..1dbf86cf --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterAccountArgs.cs @@ -0,0 +1,26 @@ +// *** 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 CloudRouterAccountArgs : global::Pulumi.ResourceArgs + { + /// + /// Account Number + /// + [Input("accountNumber")] + public Input? AccountNumber { get; set; } + + public CloudRouterAccountArgs() + { + } + public static new CloudRouterAccountArgs Empty => new CloudRouterAccountArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterAccountGetArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterAccountGetArgs.cs new file mode 100644 index 00000000..de708763 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterAccountGetArgs.cs @@ -0,0 +1,26 @@ +// *** 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 CloudRouterAccountGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Account Number + /// + [Input("accountNumber")] + public Input? AccountNumber { get; set; } + + public CloudRouterAccountGetArgs() + { + } + public static new CloudRouterAccountGetArgs Empty => new CloudRouterAccountGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterChangeLogArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterChangeLogArgs.cs new file mode 100644 index 00000000..2894da4c --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterChangeLogArgs.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.Inputs +{ + + public sealed class CloudRouterChangeLogArgs : global::Pulumi.ResourceArgs + { + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + [Input("createdByEmail")] + public Input? CreatedByEmail { get; set; } + + [Input("createdByFullName")] + public Input? CreatedByFullName { get; set; } + + [Input("createdDateTime")] + public Input? CreatedDateTime { get; set; } + + [Input("deletedBy")] + public Input? DeletedBy { get; set; } + + [Input("deletedByEmail")] + public Input? DeletedByEmail { get; set; } + + [Input("deletedByFullName")] + public Input? DeletedByFullName { get; set; } + + [Input("deletedDateTime")] + public Input? DeletedDateTime { get; set; } + + [Input("updatedBy")] + public Input? UpdatedBy { get; set; } + + [Input("updatedByEmail")] + public Input? UpdatedByEmail { get; set; } + + [Input("updatedByFullName")] + public Input? UpdatedByFullName { get; set; } + + [Input("updatedDateTime")] + public Input? UpdatedDateTime { get; set; } + + public CloudRouterChangeLogArgs() + { + } + public static new CloudRouterChangeLogArgs Empty => new CloudRouterChangeLogArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterChangeLogGetArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterChangeLogGetArgs.cs new file mode 100644 index 00000000..f6dd452a --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterChangeLogGetArgs.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.Inputs +{ + + public sealed class CloudRouterChangeLogGetArgs : global::Pulumi.ResourceArgs + { + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + [Input("createdByEmail")] + public Input? CreatedByEmail { get; set; } + + [Input("createdByFullName")] + public Input? CreatedByFullName { get; set; } + + [Input("createdDateTime")] + public Input? CreatedDateTime { get; set; } + + [Input("deletedBy")] + public Input? DeletedBy { get; set; } + + [Input("deletedByEmail")] + public Input? DeletedByEmail { get; set; } + + [Input("deletedByFullName")] + public Input? DeletedByFullName { get; set; } + + [Input("deletedDateTime")] + public Input? DeletedDateTime { get; set; } + + [Input("updatedBy")] + public Input? UpdatedBy { get; set; } + + [Input("updatedByEmail")] + public Input? UpdatedByEmail { get; set; } + + [Input("updatedByFullName")] + public Input? UpdatedByFullName { get; set; } + + [Input("updatedDateTime")] + public Input? UpdatedDateTime { get; set; } + + public CloudRouterChangeLogGetArgs() + { + } + public static new CloudRouterChangeLogGetArgs Empty => new CloudRouterChangeLogGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterLocationArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterLocationArgs.cs new file mode 100644 index 00000000..63b81333 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterLocationArgs.cs @@ -0,0 +1,44 @@ +// *** 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 CloudRouterLocationArgs : global::Pulumi.ResourceArgs + { + /// + /// IBX Code + /// + [Input("ibx")] + public Input? Ibx { get; set; } + + /// + /// Access point metro code + /// + [Input("metroCode")] + public Input? MetroCode { get; set; } + + /// + /// Access point metro name + /// + [Input("metroName")] + public Input? MetroName { get; set; } + + /// + /// Access point region + /// + [Input("region")] + public Input? Region { get; set; } + + public CloudRouterLocationArgs() + { + } + public static new CloudRouterLocationArgs Empty => new CloudRouterLocationArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterLocationGetArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterLocationGetArgs.cs new file mode 100644 index 00000000..9224383b --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterLocationGetArgs.cs @@ -0,0 +1,44 @@ +// *** 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 CloudRouterLocationGetArgs : global::Pulumi.ResourceArgs + { + /// + /// IBX Code + /// + [Input("ibx")] + public Input? Ibx { get; set; } + + /// + /// Access point metro code + /// + [Input("metroCode")] + public Input? MetroCode { get; set; } + + /// + /// Access point metro name + /// + [Input("metroName")] + public Input? MetroName { get; set; } + + /// + /// Access point region + /// + [Input("region")] + public Input? Region { get; set; } + + public CloudRouterLocationGetArgs() + { + } + public static new CloudRouterLocationGetArgs Empty => new CloudRouterLocationGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterNotificationArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterNotificationArgs.cs new file mode 100644 index 00000000..7a8f25f8 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterNotificationArgs.cs @@ -0,0 +1,44 @@ +// *** 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 CloudRouterNotificationArgs : global::Pulumi.ResourceArgs + { + [Input("emails", required: true)] + private InputList? _emails; + + /// + /// Array of contact emails + /// + public InputList Emails + { + get => _emails ?? (_emails = new InputList()); + set => _emails = value; + } + + /// + /// Send interval + /// + [Input("sendInterval")] + public Input? SendInterval { get; set; } + + /// + /// Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public CloudRouterNotificationArgs() + { + } + public static new CloudRouterNotificationArgs Empty => new CloudRouterNotificationArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterNotificationGetArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterNotificationGetArgs.cs new file mode 100644 index 00000000..9e5f3278 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterNotificationGetArgs.cs @@ -0,0 +1,44 @@ +// *** 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 CloudRouterNotificationGetArgs : global::Pulumi.ResourceArgs + { + [Input("emails", required: true)] + private InputList? _emails; + + /// + /// Array of contact emails + /// + public InputList Emails + { + get => _emails ?? (_emails = new InputList()); + set => _emails = value; + } + + /// + /// Send interval + /// + [Input("sendInterval")] + public Input? SendInterval { get; set; } + + /// + /// Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public CloudRouterNotificationGetArgs() + { + } + public static new CloudRouterNotificationGetArgs Empty => new CloudRouterNotificationGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterOrderArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterOrderArgs.cs new file mode 100644 index 00000000..661a4a28 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterOrderArgs.cs @@ -0,0 +1,44 @@ +// *** 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 CloudRouterOrderArgs : global::Pulumi.ResourceArgs + { + /// + /// Billing tier for connection bandwidth + /// + [Input("billingTier")] + public Input? BillingTier { get; set; } + + /// + /// Order Identification + /// + [Input("orderId")] + public Input? OrderId { get; set; } + + /// + /// Order Reference Number + /// + [Input("orderNumber")] + public Input? OrderNumber { get; set; } + + /// + /// Purchase order number + /// + [Input("purchaseOrderNumber")] + public Input? PurchaseOrderNumber { get; set; } + + public CloudRouterOrderArgs() + { + } + public static new CloudRouterOrderArgs Empty => new CloudRouterOrderArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterOrderGetArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterOrderGetArgs.cs new file mode 100644 index 00000000..371ae771 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterOrderGetArgs.cs @@ -0,0 +1,44 @@ +// *** 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 CloudRouterOrderGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Billing tier for connection bandwidth + /// + [Input("billingTier")] + public Input? BillingTier { get; set; } + + /// + /// Order Identification + /// + [Input("orderId")] + public Input? OrderId { get; set; } + + /// + /// Order Reference Number + /// + [Input("orderNumber")] + public Input? OrderNumber { get; set; } + + /// + /// Purchase order number + /// + [Input("purchaseOrderNumber")] + public Input? PurchaseOrderNumber { get; set; } + + public CloudRouterOrderGetArgs() + { + } + public static new CloudRouterOrderGetArgs Empty => new CloudRouterOrderGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterPackageArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterPackageArgs.cs new file mode 100644 index 00000000..b2489412 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterPackageArgs.cs @@ -0,0 +1,26 @@ +// *** 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 CloudRouterPackageArgs : global::Pulumi.ResourceArgs + { + /// + /// Fabric Cloud Router package code + /// + [Input("code", required: true)] + public Input Code { get; set; } = null!; + + public CloudRouterPackageArgs() + { + } + public static new CloudRouterPackageArgs Empty => new CloudRouterPackageArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterPackageGetArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterPackageGetArgs.cs new file mode 100644 index 00000000..9f1243ed --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterPackageGetArgs.cs @@ -0,0 +1,26 @@ +// *** 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 CloudRouterPackageGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Fabric Cloud Router package code + /// + [Input("code", required: true)] + public Input Code { get; set; } = null!; + + public CloudRouterPackageGetArgs() + { + } + public static new CloudRouterPackageGetArgs Empty => new CloudRouterPackageGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionAdditionalInfoArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterProjectArgs.cs similarity index 51% rename from sdk/dotnet/Fabric/Inputs/ConnectionAdditionalInfoArgs.cs rename to sdk/dotnet/Fabric/Inputs/CloudRouterProjectArgs.cs index 2c7c47ab..2f46081e 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionAdditionalInfoArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterProjectArgs.cs @@ -10,23 +10,23 @@ namespace Pulumi.Equinix.Fabric.Inputs { - public sealed class ConnectionAdditionalInfoArgs : global::Pulumi.ResourceArgs + public sealed class CloudRouterProjectArgs : global::Pulumi.ResourceArgs { /// - /// Additional information key + /// Unique Resource URL /// - [Input("key")] - public Input? Key { get; set; } + [Input("href")] + public Input? Href { get; set; } /// - /// Additional information value + /// Project Id /// - [Input("value")] - public Input? Value { get; set; } + [Input("projectId")] + public Input? ProjectId { get; set; } - public ConnectionAdditionalInfoArgs() + public CloudRouterProjectArgs() { } - public static new ConnectionAdditionalInfoArgs Empty => new ConnectionAdditionalInfoArgs(); + public static new CloudRouterProjectArgs Empty => new CloudRouterProjectArgs(); } } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionAdditionalInfoGetArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterProjectGetArgs.cs similarity index 50% rename from sdk/dotnet/Fabric/Inputs/ConnectionAdditionalInfoGetArgs.cs rename to sdk/dotnet/Fabric/Inputs/CloudRouterProjectGetArgs.cs index f60ec529..2dbb5c26 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionAdditionalInfoGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterProjectGetArgs.cs @@ -10,23 +10,23 @@ namespace Pulumi.Equinix.Fabric.Inputs { - public sealed class ConnectionAdditionalInfoGetArgs : global::Pulumi.ResourceArgs + public sealed class CloudRouterProjectGetArgs : global::Pulumi.ResourceArgs { /// - /// Additional information key + /// Unique Resource URL /// - [Input("key")] - public Input? Key { get; set; } + [Input("href")] + public Input? Href { get; set; } /// - /// Additional information value + /// Project Id /// - [Input("value")] - public Input? Value { get; set; } + [Input("projectId")] + public Input? ProjectId { get; set; } - public ConnectionAdditionalInfoGetArgs() + public CloudRouterProjectGetArgs() { } - public static new ConnectionAdditionalInfoGetArgs Empty => new ConnectionAdditionalInfoGetArgs(); + public static new CloudRouterProjectGetArgs Empty => new CloudRouterProjectGetArgs(); } } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointArgs.cs index 5dd8f851..5d230d45 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointArgs.cs @@ -13,55 +13,98 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointArgs : global::Pulumi.ResourceArgs { /// - /// Customer account information that is associated with this connection + /// Account /// [Input("account")] public Input? Account { get; set; } + /// + /// Authentication key for provider based connections + /// [Input("authenticationKey")] public Input? AuthenticationKey { get; set; } [Input("gateway")] public Input? Gateway { get; set; } + /// + /// Virtual device interface + /// [Input("interface")] public Input? Interface { get; set; } + /// + /// Connection link protocol + /// [Input("linkProtocol")] public Input? LinkProtocol { get; set; } + /// + /// Access point location + /// [Input("location")] public Input? Location { get; set; } + [Input("network")] + public Input? Network { get; set; } + + /// + /// Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + /// [Input("peeringType")] public InputUnion? PeeringType { get; set; } + /// + /// Port access point information + /// [Input("port")] public Input? Port { get; set; } + /// + /// Service Profile + /// [Input("profile")] public Input? Profile { get; set; } + /// + /// Provider assigned Connection Id + /// [Input("providerConnectionId")] public Input? ProviderConnectionId { get; set; } + /// + /// Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + /// + [Input("router")] + public Input? Router { get; set; } + [Input("routingProtocols")] private InputList? _routingProtocols; + + /// + /// Access point routing protocols configuration + /// public InputList RoutingProtocols { get => _routingProtocols ?? (_routingProtocols = new InputList()); set => _routingProtocols = value; } + /// + /// Access point seller region + /// [Input("sellerRegion")] public Input? SellerRegion { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public InputUnion? Type { get; set; } + /// + /// Virtual device + /// [Input("virtualDevice")] public Input? VirtualDevice { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointGatewayArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointGatewayArgs.cs index 008ad7a4..5e95c195 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointGatewayArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointGatewayArgs.cs @@ -13,11 +13,14 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointGatewayArgs : global::Pulumi.ResourceArgs { /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointGatewayGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointGatewayGetArgs.cs index 465fbf47..637a3b86 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointGatewayGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointGatewayGetArgs.cs @@ -13,11 +13,14 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointGatewayGetArgs : global::Pulumi.ResourceArgs { /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointGetArgs.cs index f785b0be..52bef06c 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointGetArgs.cs @@ -13,55 +13,98 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointGetArgs : global::Pulumi.ResourceArgs { /// - /// Customer account information that is associated with this connection + /// Account /// [Input("account")] public Input? Account { get; set; } + /// + /// Authentication key for provider based connections + /// [Input("authenticationKey")] public Input? AuthenticationKey { get; set; } [Input("gateway")] public Input? Gateway { get; set; } + /// + /// Virtual device interface + /// [Input("interface")] public Input? Interface { get; set; } + /// + /// Connection link protocol + /// [Input("linkProtocol")] public Input? LinkProtocol { get; set; } + /// + /// Access point location + /// [Input("location")] public Input? Location { get; set; } + [Input("network")] + public Input? Network { get; set; } + + /// + /// Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + /// [Input("peeringType")] public InputUnion? PeeringType { get; set; } + /// + /// Port access point information + /// [Input("port")] public Input? Port { get; set; } + /// + /// Service Profile + /// [Input("profile")] public Input? Profile { get; set; } + /// + /// Provider assigned Connection Id + /// [Input("providerConnectionId")] public Input? ProviderConnectionId { get; set; } + /// + /// Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + /// + [Input("router")] + public Input? Router { get; set; } + [Input("routingProtocols")] private InputList? _routingProtocols; + + /// + /// Access point routing protocols configuration + /// public InputList RoutingProtocols { get => _routingProtocols ?? (_routingProtocols = new InputList()); set => _routingProtocols = value; } + /// + /// Access point seller region + /// [Input("sellerRegion")] public Input? SellerRegion { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public InputUnion? Type { get; set; } + /// + /// Virtual device + /// [Input("virtualDevice")] public Input? VirtualDevice { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointInterfaceArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointInterfaceArgs.cs index 920b7233..00446533 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointInterfaceArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointInterfaceArgs.cs @@ -13,17 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointInterfaceArgs : global::Pulumi.ResourceArgs { /// - /// The ID of this resource. + /// id /// [Input("id")] public Input? Id { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointInterfaceGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointInterfaceGetArgs.cs index 67ab9f5c..7e04b1be 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointInterfaceGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointInterfaceGetArgs.cs @@ -13,17 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointInterfaceGetArgs : global::Pulumi.ResourceArgs { /// - /// The ID of this resource. + /// id /// [Input("id")] public Input? Id { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLinkProtocolArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLinkProtocolArgs.cs index 0ff4bec4..67b5a280 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLinkProtocolArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLinkProtocolArgs.cs @@ -13,17 +13,26 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointLinkProtocolArgs : global::Pulumi.ResourceArgs { /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public InputUnion? Type { get; set; } + /// + /// Vlan Customer Tag information, vlanCTag value specified for QINQ connections + /// [Input("vlanCTag")] public Input? VlanCTag { get; set; } + /// + /// Vlan Provider Tag information, vlanSTag value specified for QINQ connections + /// [Input("vlanSTag")] public Input? VlanSTag { get; set; } + /// + /// Vlan Tag information, vlanTag value specified for DOT1Q connections + /// [Input("vlanTag")] public Input? VlanTag { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLinkProtocolGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLinkProtocolGetArgs.cs index fcf75a5b..33ef70ee 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLinkProtocolGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLinkProtocolGetArgs.cs @@ -13,17 +13,26 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointLinkProtocolGetArgs : global::Pulumi.ResourceArgs { /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public InputUnion? Type { get; set; } + /// + /// Vlan Customer Tag information, vlanCTag value specified for QINQ connections + /// [Input("vlanCTag")] public Input? VlanCTag { get; set; } + /// + /// Vlan Provider Tag information, vlanSTag value specified for QINQ connections + /// [Input("vlanSTag")] public Input? VlanSTag { get; set; } + /// + /// Vlan Tag information, vlanTag value specified for DOT1Q connections + /// [Input("vlanTag")] public Input? VlanTag { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLocationArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLocationArgs.cs index fce5baa8..266e846a 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLocationArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLocationArgs.cs @@ -12,15 +12,27 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointLocationArgs : global::Pulumi.ResourceArgs { + /// + /// IBX Code + /// [Input("ibx")] public Input? Ibx { get; set; } + /// + /// Access point metro code + /// [Input("metroCode")] public InputUnion? MetroCode { get; set; } + /// + /// Access point metro name + /// [Input("metroName")] public Input? MetroName { get; set; } + /// + /// Access point region + /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLocationGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLocationGetArgs.cs index 406c9469..c9cec712 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLocationGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointLocationGetArgs.cs @@ -12,15 +12,27 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointLocationGetArgs : global::Pulumi.ResourceArgs { + /// + /// IBX Code + /// [Input("ibx")] public Input? Ibx { get; set; } + /// + /// Access point metro code + /// [Input("metroCode")] public InputUnion? MetroCode { get; set; } + /// + /// Access point metro name + /// [Input("metroName")] public Input? MetroName { get; set; } + /// + /// Access point region + /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointNetworkArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointNetworkArgs.cs new file mode 100644 index 00000000..540459d1 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointNetworkArgs.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 ConnectionASideAccessPointNetworkArgs : global::Pulumi.ResourceArgs + { + /// + /// Unique Resource Identifier + /// + [Input("href")] + public Input? Href { get; set; } + + /// + /// Equinix-assigned interface identifier + /// + [Input("uuid")] + public Input? Uuid { get; set; } + + public ConnectionASideAccessPointNetworkArgs() + { + } + public static new ConnectionASideAccessPointNetworkArgs Empty => new ConnectionASideAccessPointNetworkArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointNetworkGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointNetworkGetArgs.cs new file mode 100644 index 00000000..323357d8 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointNetworkGetArgs.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 ConnectionASideAccessPointNetworkGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Unique Resource Identifier + /// + [Input("href")] + public Input? Href { get; set; } + + /// + /// Equinix-assigned interface identifier + /// + [Input("uuid")] + public Input? Uuid { get; set; } + + public ConnectionASideAccessPointNetworkGetArgs() + { + } + public static new ConnectionASideAccessPointNetworkGetArgs Empty => new ConnectionASideAccessPointNetworkGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointPortArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointPortArgs.cs index c5c59eb1..d6b8c8f5 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointPortArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointPortArgs.cs @@ -13,13 +13,13 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointPortArgs : global::Pulumi.ResourceArgs { /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// [Input("name")] public Input? Name { get; set; } @@ -36,6 +36,9 @@ public InputList Redundanci set => _redundancies = value; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointPortGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointPortGetArgs.cs index 62d13651..aba5e4e5 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointPortGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointPortGetArgs.cs @@ -13,13 +13,13 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointPortGetArgs : global::Pulumi.ResourceArgs { /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// [Input("name")] public Input? Name { get; set; } @@ -36,6 +36,9 @@ public InputList Redunda set => _redundancies = value; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileAccessPointTypeConfigArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileAccessPointTypeConfigArgs.cs index 15d2b750..364bab4c 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileAccessPointTypeConfigArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileAccessPointTypeConfigArgs.cs @@ -13,11 +13,14 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointProfileAccessPointTypeConfigArgs : global::Pulumi.ResourceArgs { /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileAccessPointTypeConfigGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileAccessPointTypeConfigGetArgs.cs index 206a8069..5e93908e 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileAccessPointTypeConfigGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileAccessPointTypeConfigGetArgs.cs @@ -13,11 +13,14 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointProfileAccessPointTypeConfigGetArgs : global::Pulumi.ResourceArgs { /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileArgs.cs index 5729fdb8..aa533474 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileArgs.cs @@ -14,33 +14,43 @@ public sealed class ConnectionASideAccessPointProfileArgs : global::Pulumi.Resou { [Input("accessPointTypeConfigs")] private InputList? _accessPointTypeConfigs; + + /// + /// Access point config information + /// public InputList AccessPointTypeConfigs { get => _accessPointTypeConfigs ?? (_accessPointTypeConfigs = new InputList()); set => _accessPointTypeConfigs = value; } + /// + /// User-provided service description + /// [Input("description")] public Input? Description { get; set; } /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// [Input("name")] public Input? Name { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type", required: true)] public InputUnion Type { get; set; } = null!; + /// + /// Equinix-assigned interface identifier + /// [Input("uuid", required: true)] public Input Uuid { get; set; } = null!; diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileGetArgs.cs index c60ddb32..cff788ea 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointProfileGetArgs.cs @@ -14,33 +14,43 @@ public sealed class ConnectionASideAccessPointProfileGetArgs : global::Pulumi.Re { [Input("accessPointTypeConfigs")] private InputList? _accessPointTypeConfigs; + + /// + /// Access point config information + /// public InputList AccessPointTypeConfigs { get => _accessPointTypeConfigs ?? (_accessPointTypeConfigs = new InputList()); set => _accessPointTypeConfigs = value; } + /// + /// User-provided service description + /// [Input("description")] public Input? Description { get; set; } /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// [Input("name")] public Input? Name { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type", required: true)] public InputUnion Type { get; set; } = null!; + /// + /// Equinix-assigned interface identifier + /// [Input("uuid", required: true)] public Input Uuid { get; set; } = null!; diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRouterArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRouterArgs.cs new file mode 100644 index 00000000..8a0a0606 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRouterArgs.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 ConnectionASideAccessPointRouterArgs : global::Pulumi.ResourceArgs + { + /// + /// Unique Resource Identifier + /// + [Input("href")] + public Input? Href { get; set; } + + /// + /// Equinix-assigned interface identifier + /// + [Input("uuid")] + public Input? Uuid { get; set; } + + public ConnectionASideAccessPointRouterArgs() + { + } + public static new ConnectionASideAccessPointRouterArgs Empty => new ConnectionASideAccessPointRouterArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRouterGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRouterGetArgs.cs new file mode 100644 index 00000000..198d46da --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRouterGetArgs.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 ConnectionASideAccessPointRouterGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Unique Resource Identifier + /// + [Input("href")] + public Input? Href { get; set; } + + /// + /// Equinix-assigned interface identifier + /// + [Input("uuid")] + public Input? Uuid { get; set; } + + public ConnectionASideAccessPointRouterGetArgs() + { + } + public static new ConnectionASideAccessPointRouterGetArgs Empty => new ConnectionASideAccessPointRouterGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRoutingProtocolArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRoutingProtocolArgs.cs index 0d035b81..e637e025 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRoutingProtocolArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRoutingProtocolArgs.cs @@ -13,17 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointRoutingProtocolArgs : global::Pulumi.ResourceArgs { /// - /// Connection overall state + /// Routing protocol instance state /// [Input("state")] public Input? State { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRoutingProtocolGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRoutingProtocolGetArgs.cs index e0c77173..56d02691 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRoutingProtocolGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointRoutingProtocolGetArgs.cs @@ -13,17 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointRoutingProtocolGetArgs : global::Pulumi.ResourceArgs { /// - /// Connection overall state + /// Routing protocol instance state /// [Input("state")] public Input? State { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointVirtualDeviceArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointVirtualDeviceArgs.cs index 3bb9d7cc..4f0d250a 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointVirtualDeviceArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointVirtualDeviceArgs.cs @@ -13,17 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointVirtualDeviceArgs : global::Pulumi.ResourceArgs { /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointVirtualDeviceGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointVirtualDeviceGetArgs.cs index 36524d66..f3a7ecd0 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointVirtualDeviceGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointVirtualDeviceGetArgs.cs @@ -13,17 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideAccessPointVirtualDeviceGetArgs : global::Pulumi.ResourceArgs { /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideServiceTokenArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideServiceTokenArgs.cs index 129c766a..fcbfbca0 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideServiceTokenArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideServiceTokenArgs.cs @@ -12,21 +12,27 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideServiceTokenArgs : global::Pulumi.ResourceArgs { + /// + /// User-provided service description + /// [Input("description")] public Input? Description { get; set; } /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public InputUnion? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionASideServiceTokenGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionASideServiceTokenGetArgs.cs index 72e36f07..b4daa50b 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionASideServiceTokenGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionASideServiceTokenGetArgs.cs @@ -12,21 +12,27 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionASideServiceTokenGetArgs : global::Pulumi.ResourceArgs { + /// + /// User-provided service description + /// [Input("description")] public Input? Description { get; set; } /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public InputUnion? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionOperationErrorArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionOperationErrorArgs.cs index ec4b85f5..6f35ad36 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionOperationErrorArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionOperationErrorArgs.cs @@ -16,7 +16,7 @@ public sealed class ConnectionOperationErrorArgs : global::Pulumi.ResourceArgs private InputList? _additionalInfo; /// - /// Connection additional information + /// Connection side additional information /// public InputList AdditionalInfo { diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionOperationErrorGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionOperationErrorGetArgs.cs index 75d5567d..5b019e9e 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionOperationErrorGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionOperationErrorGetArgs.cs @@ -16,7 +16,7 @@ public sealed class ConnectionOperationErrorGetArgs : global::Pulumi.ResourceArg private InputList? _additionalInfo; /// - /// Connection additional information + /// Connection side additional information /// public InputList AdditionalInfo { diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointArgs.cs index e4e4d62f..e78c8dce 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointArgs.cs @@ -13,55 +13,98 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointArgs : global::Pulumi.ResourceArgs { /// - /// Customer account information that is associated with this connection + /// Account /// [Input("account")] public Input? Account { get; set; } + /// + /// Authentication key for provider based connections + /// [Input("authenticationKey")] public Input? AuthenticationKey { get; set; } [Input("gateway")] public Input? Gateway { get; set; } + /// + /// Virtual device interface + /// [Input("interface")] public Input? Interface { get; set; } + /// + /// Connection link protocol + /// [Input("linkProtocol")] public Input? LinkProtocol { get; set; } + /// + /// Access point location + /// [Input("location")] public Input? Location { get; set; } + [Input("network")] + public Input? Network { get; set; } + + /// + /// Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + /// [Input("peeringType")] public InputUnion? PeeringType { get; set; } + /// + /// Port access point information + /// [Input("port")] public Input? Port { get; set; } + /// + /// Service Profile + /// [Input("profile")] public Input? Profile { get; set; } + /// + /// Provider assigned Connection Id + /// [Input("providerConnectionId")] public Input? ProviderConnectionId { get; set; } + /// + /// Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + /// + [Input("router")] + public Input? Router { get; set; } + [Input("routingProtocols")] private InputList? _routingProtocols; + + /// + /// Access point routing protocols configuration + /// public InputList RoutingProtocols { get => _routingProtocols ?? (_routingProtocols = new InputList()); set => _routingProtocols = value; } + /// + /// Access point seller region + /// [Input("sellerRegion")] public Input? SellerRegion { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public InputUnion? Type { get; set; } + /// + /// Virtual device + /// [Input("virtualDevice")] public Input? VirtualDevice { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointGatewayArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointGatewayArgs.cs index b970a203..09b9f4df 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointGatewayArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointGatewayArgs.cs @@ -13,11 +13,14 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointGatewayArgs : global::Pulumi.ResourceArgs { /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointGatewayGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointGatewayGetArgs.cs index ff8aa227..6f5fb231 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointGatewayGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointGatewayGetArgs.cs @@ -13,11 +13,14 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointGatewayGetArgs : global::Pulumi.ResourceArgs { /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointGetArgs.cs index 3716eb81..4321f40d 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointGetArgs.cs @@ -13,55 +13,98 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointGetArgs : global::Pulumi.ResourceArgs { /// - /// Customer account information that is associated with this connection + /// Account /// [Input("account")] public Input? Account { get; set; } + /// + /// Authentication key for provider based connections + /// [Input("authenticationKey")] public Input? AuthenticationKey { get; set; } [Input("gateway")] public Input? Gateway { get; set; } + /// + /// Virtual device interface + /// [Input("interface")] public Input? Interface { get; set; } + /// + /// Connection link protocol + /// [Input("linkProtocol")] public Input? LinkProtocol { get; set; } + /// + /// Access point location + /// [Input("location")] public Input? Location { get; set; } + [Input("network")] + public Input? Network { get; set; } + + /// + /// Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + /// [Input("peeringType")] public InputUnion? PeeringType { get; set; } + /// + /// Port access point information + /// [Input("port")] public Input? Port { get; set; } + /// + /// Service Profile + /// [Input("profile")] public Input? Profile { get; set; } + /// + /// Provider assigned Connection Id + /// [Input("providerConnectionId")] public Input? ProviderConnectionId { get; set; } + /// + /// Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + /// + [Input("router")] + public Input? Router { get; set; } + [Input("routingProtocols")] private InputList? _routingProtocols; + + /// + /// Access point routing protocols configuration + /// public InputList RoutingProtocols { get => _routingProtocols ?? (_routingProtocols = new InputList()); set => _routingProtocols = value; } + /// + /// Access point seller region + /// [Input("sellerRegion")] public Input? SellerRegion { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public InputUnion? Type { get; set; } + /// + /// Virtual device + /// [Input("virtualDevice")] public Input? VirtualDevice { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointInterfaceArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointInterfaceArgs.cs index 5abbbd85..77a13db4 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointInterfaceArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointInterfaceArgs.cs @@ -13,17 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointInterfaceArgs : global::Pulumi.ResourceArgs { /// - /// The ID of this resource. + /// id /// [Input("id")] public Input? Id { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointInterfaceGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointInterfaceGetArgs.cs index 5d620e9c..32afdabf 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointInterfaceGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointInterfaceGetArgs.cs @@ -13,17 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointInterfaceGetArgs : global::Pulumi.ResourceArgs { /// - /// The ID of this resource. + /// id /// [Input("id")] public Input? Id { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLinkProtocolArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLinkProtocolArgs.cs index 7bdce053..c1a48433 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLinkProtocolArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLinkProtocolArgs.cs @@ -13,17 +13,26 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointLinkProtocolArgs : global::Pulumi.ResourceArgs { /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public InputUnion? Type { get; set; } + /// + /// Vlan Customer Tag information, vlanCTag value specified for QINQ connections + /// [Input("vlanCTag")] public Input? VlanCTag { get; set; } + /// + /// Vlan Provider Tag information, vlanSTag value specified for QINQ connections + /// [Input("vlanSTag")] public Input? VlanSTag { get; set; } + /// + /// Vlan Tag information, vlanTag value specified for DOT1Q connections + /// [Input("vlanTag")] public Input? VlanTag { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLinkProtocolGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLinkProtocolGetArgs.cs index 84d59f3b..a4cefc07 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLinkProtocolGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLinkProtocolGetArgs.cs @@ -13,17 +13,26 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointLinkProtocolGetArgs : global::Pulumi.ResourceArgs { /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public InputUnion? Type { get; set; } + /// + /// Vlan Customer Tag information, vlanCTag value specified for QINQ connections + /// [Input("vlanCTag")] public Input? VlanCTag { get; set; } + /// + /// Vlan Provider Tag information, vlanSTag value specified for QINQ connections + /// [Input("vlanSTag")] public Input? VlanSTag { get; set; } + /// + /// Vlan Tag information, vlanTag value specified for DOT1Q connections + /// [Input("vlanTag")] public Input? VlanTag { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLocationArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLocationArgs.cs index cee8c2b4..74357474 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLocationArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLocationArgs.cs @@ -12,15 +12,27 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointLocationArgs : global::Pulumi.ResourceArgs { + /// + /// IBX Code + /// [Input("ibx")] public Input? Ibx { get; set; } + /// + /// Access point metro code + /// [Input("metroCode")] public InputUnion? MetroCode { get; set; } + /// + /// Access point metro name + /// [Input("metroName")] public Input? MetroName { get; set; } + /// + /// Access point region + /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLocationGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLocationGetArgs.cs index 8001e410..1ff8b8a1 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLocationGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointLocationGetArgs.cs @@ -12,15 +12,27 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointLocationGetArgs : global::Pulumi.ResourceArgs { + /// + /// IBX Code + /// [Input("ibx")] public Input? Ibx { get; set; } + /// + /// Access point metro code + /// [Input("metroCode")] public InputUnion? MetroCode { get; set; } + /// + /// Access point metro name + /// [Input("metroName")] public Input? MetroName { get; set; } + /// + /// Access point region + /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointNetworkArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointNetworkArgs.cs new file mode 100644 index 00000000..67239a99 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointNetworkArgs.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 ConnectionZSideAccessPointNetworkArgs : global::Pulumi.ResourceArgs + { + /// + /// Unique Resource Identifier + /// + [Input("href")] + public Input? Href { get; set; } + + /// + /// Equinix-assigned interface identifier + /// + [Input("uuid")] + public Input? Uuid { get; set; } + + public ConnectionZSideAccessPointNetworkArgs() + { + } + public static new ConnectionZSideAccessPointNetworkArgs Empty => new ConnectionZSideAccessPointNetworkArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointNetworkGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointNetworkGetArgs.cs new file mode 100644 index 00000000..cb9668b4 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointNetworkGetArgs.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 ConnectionZSideAccessPointNetworkGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Unique Resource Identifier + /// + [Input("href")] + public Input? Href { get; set; } + + /// + /// Equinix-assigned interface identifier + /// + [Input("uuid")] + public Input? Uuid { get; set; } + + public ConnectionZSideAccessPointNetworkGetArgs() + { + } + public static new ConnectionZSideAccessPointNetworkGetArgs Empty => new ConnectionZSideAccessPointNetworkGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointPortArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointPortArgs.cs index 06aed6f8..e7884feb 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointPortArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointPortArgs.cs @@ -13,13 +13,13 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointPortArgs : global::Pulumi.ResourceArgs { /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// [Input("name")] public Input? Name { get; set; } @@ -36,6 +36,9 @@ public InputList Redundanci set => _redundancies = value; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointPortGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointPortGetArgs.cs index beeb3a2c..ace11c94 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointPortGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointPortGetArgs.cs @@ -13,13 +13,13 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointPortGetArgs : global::Pulumi.ResourceArgs { /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// [Input("name")] public Input? Name { get; set; } @@ -36,6 +36,9 @@ public InputList Redunda set => _redundancies = value; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs.cs index 1626ccff..2c6ab257 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs.cs @@ -13,11 +13,14 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs : global::Pulumi.ResourceArgs { /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileAccessPointTypeConfigGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileAccessPointTypeConfigGetArgs.cs index 8a08cbdd..1b3b4210 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileAccessPointTypeConfigGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileAccessPointTypeConfigGetArgs.cs @@ -13,11 +13,14 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointProfileAccessPointTypeConfigGetArgs : global::Pulumi.ResourceArgs { /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileArgs.cs index 18acdd4d..f77d098d 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileArgs.cs @@ -14,33 +14,43 @@ public sealed class ConnectionZSideAccessPointProfileArgs : global::Pulumi.Resou { [Input("accessPointTypeConfigs")] private InputList? _accessPointTypeConfigs; + + /// + /// Access point config information + /// public InputList AccessPointTypeConfigs { get => _accessPointTypeConfigs ?? (_accessPointTypeConfigs = new InputList()); set => _accessPointTypeConfigs = value; } + /// + /// User-provided service description + /// [Input("description")] public Input? Description { get; set; } /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// [Input("name")] public Input? Name { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type", required: true)] public InputUnion Type { get; set; } = null!; + /// + /// Equinix-assigned interface identifier + /// [Input("uuid", required: true)] public Input Uuid { get; set; } = null!; diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileGetArgs.cs index 41836788..af84bb90 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointProfileGetArgs.cs @@ -14,33 +14,43 @@ public sealed class ConnectionZSideAccessPointProfileGetArgs : global::Pulumi.Re { [Input("accessPointTypeConfigs")] private InputList? _accessPointTypeConfigs; + + /// + /// Access point config information + /// public InputList AccessPointTypeConfigs { get => _accessPointTypeConfigs ?? (_accessPointTypeConfigs = new InputList()); set => _accessPointTypeConfigs = value; } + /// + /// User-provided service description + /// [Input("description")] public Input? Description { get; set; } /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// [Input("name")] public Input? Name { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type", required: true)] public InputUnion Type { get; set; } = null!; + /// + /// Equinix-assigned interface identifier + /// [Input("uuid", required: true)] public Input Uuid { get; set; } = null!; diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRouterArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRouterArgs.cs new file mode 100644 index 00000000..e12b1f2d --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRouterArgs.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 ConnectionZSideAccessPointRouterArgs : global::Pulumi.ResourceArgs + { + /// + /// Unique Resource Identifier + /// + [Input("href")] + public Input? Href { get; set; } + + /// + /// Equinix-assigned interface identifier + /// + [Input("uuid")] + public Input? Uuid { get; set; } + + public ConnectionZSideAccessPointRouterArgs() + { + } + public static new ConnectionZSideAccessPointRouterArgs Empty => new ConnectionZSideAccessPointRouterArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRouterGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRouterGetArgs.cs new file mode 100644 index 00000000..e90ea13d --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRouterGetArgs.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 ConnectionZSideAccessPointRouterGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Unique Resource Identifier + /// + [Input("href")] + public Input? Href { get; set; } + + /// + /// Equinix-assigned interface identifier + /// + [Input("uuid")] + public Input? Uuid { get; set; } + + public ConnectionZSideAccessPointRouterGetArgs() + { + } + public static new ConnectionZSideAccessPointRouterGetArgs Empty => new ConnectionZSideAccessPointRouterGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRoutingProtocolArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRoutingProtocolArgs.cs index 7e1d0926..576181f7 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRoutingProtocolArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRoutingProtocolArgs.cs @@ -13,17 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointRoutingProtocolArgs : global::Pulumi.ResourceArgs { /// - /// Connection overall state + /// Routing protocol instance state /// [Input("state")] public Input? State { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRoutingProtocolGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRoutingProtocolGetArgs.cs index 871fa3f0..e7a4005d 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRoutingProtocolGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointRoutingProtocolGetArgs.cs @@ -13,17 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointRoutingProtocolGetArgs : global::Pulumi.ResourceArgs { /// - /// Connection overall state + /// Routing protocol instance state /// [Input("state")] public Input? State { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointVirtualDeviceArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointVirtualDeviceArgs.cs index 153c67bd..98f8db57 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointVirtualDeviceArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointVirtualDeviceArgs.cs @@ -13,17 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointVirtualDeviceArgs : global::Pulumi.ResourceArgs { /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointVirtualDeviceGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointVirtualDeviceGetArgs.cs index c1eecb94..a0c40e8f 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointVirtualDeviceGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointVirtualDeviceGetArgs.cs @@ -13,17 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideAccessPointVirtualDeviceGetArgs : global::Pulumi.ResourceArgs { /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public Input? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideServiceTokenArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideServiceTokenArgs.cs index cff89bd3..d2d1c498 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideServiceTokenArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideServiceTokenArgs.cs @@ -12,21 +12,27 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideServiceTokenArgs : global::Pulumi.ResourceArgs { + /// + /// User-provided service description + /// [Input("description")] public Input? Description { get; set; } /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public InputUnion? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ConnectionZSideServiceTokenGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ConnectionZSideServiceTokenGetArgs.cs index 4cfe8973..a4db7577 100644 --- a/sdk/dotnet/Fabric/Inputs/ConnectionZSideServiceTokenGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ConnectionZSideServiceTokenGetArgs.cs @@ -12,21 +12,27 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ConnectionZSideServiceTokenGetArgs : global::Pulumi.ResourceArgs { + /// + /// User-provided service description + /// [Input("description")] public Input? Description { get; set; } /// - /// Connection URI information + /// Unique Resource Identifier /// [Input("href")] public Input? Href { get; set; } /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// [Input("type")] public InputUnion? Type { get; set; } + /// + /// Equinix-assigned interface identifier + /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/GetCloudRouterProject.cs b/sdk/dotnet/Fabric/Inputs/GetCloudRouterProject.cs new file mode 100644 index 00000000..033508dc --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/GetCloudRouterProject.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 GetCloudRouterProjectArgs : global::Pulumi.InvokeArgs + { + /// + /// Unique Resource URL + /// + [Input("href", required: true)] + public string Href { get; set; } = null!; + + /// + /// Project Id + /// + [Input("projectId", required: true)] + public string ProjectId { get; set; } = null!; + + public GetCloudRouterProjectArgs() + { + } + public static new GetCloudRouterProjectArgs Empty => new GetCloudRouterProjectArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/GetCloudRouterProjectArgs.cs b/sdk/dotnet/Fabric/Inputs/GetCloudRouterProjectArgs.cs new file mode 100644 index 00000000..0ec2184a --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/GetCloudRouterProjectArgs.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 GetCloudRouterProjectInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Unique Resource URL + /// + [Input("href", required: true)] + public Input Href { get; set; } = null!; + + /// + /// Project Id + /// + [Input("projectId", required: true)] + public Input ProjectId { get; set; } = null!; + + public GetCloudRouterProjectInputArgs() + { + } + public static new GetCloudRouterProjectInputArgs Empty => new GetCloudRouterProjectInputArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBfd.cs b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBfd.cs new file mode 100644 index 00000000..42a123aa --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBfd.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 GetRoutingProtocolBfdArgs : global::Pulumi.InvokeArgs + { + /// + /// Bidirectional Forwarding Detection enablement + /// + [Input("enabled", required: true)] + public bool Enabled { get; set; } + + /// + /// Interval range between the received BFD control packets + /// + [Input("interval")] + public string? Interval { get; set; } + + public GetRoutingProtocolBfdArgs() + { + } + public static new GetRoutingProtocolBfdArgs Empty => new GetRoutingProtocolBfdArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBfdArgs.cs b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBfdArgs.cs new file mode 100644 index 00000000..a28c42a9 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBfdArgs.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 GetRoutingProtocolBfdInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Bidirectional Forwarding Detection enablement + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// Interval range between the received BFD control packets + /// + [Input("interval")] + public Input? Interval { get; set; } + + public GetRoutingProtocolBfdInputArgs() + { + } + public static new GetRoutingProtocolBfdInputArgs Empty => new GetRoutingProtocolBfdInputArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv4.cs b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv4.cs new file mode 100644 index 00000000..ee6c7ba5 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv4.cs @@ -0,0 +1,38 @@ +// *** 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 GetRoutingProtocolBgpIpv4Args : global::Pulumi.InvokeArgs + { + /// + /// Customer side peering ip + /// + [Input("customerPeerIp", required: true)] + public string CustomerPeerIp { get; set; } = null!; + + /// + /// Admin status for the BGP session + /// + [Input("enabled")] + public bool? Enabled { get; set; } + + /// + /// Equinix side peering ip + /// + [Input("equinixPeerIp", required: true)] + public string EquinixPeerIp { get; set; } = null!; + + public GetRoutingProtocolBgpIpv4Args() + { + } + public static new GetRoutingProtocolBgpIpv4Args Empty => new GetRoutingProtocolBgpIpv4Args(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv4Args.cs b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv4Args.cs new file mode 100644 index 00000000..e43ce268 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv4Args.cs @@ -0,0 +1,38 @@ +// *** 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 GetRoutingProtocolBgpIpv4InputArgs : global::Pulumi.ResourceArgs + { + /// + /// Customer side peering ip + /// + [Input("customerPeerIp", required: true)] + public Input CustomerPeerIp { get; set; } = null!; + + /// + /// Admin status for the BGP session + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + /// + /// Equinix side peering ip + /// + [Input("equinixPeerIp", required: true)] + public Input EquinixPeerIp { get; set; } = null!; + + public GetRoutingProtocolBgpIpv4InputArgs() + { + } + public static new GetRoutingProtocolBgpIpv4InputArgs Empty => new GetRoutingProtocolBgpIpv4InputArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv6.cs b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv6.cs new file mode 100644 index 00000000..9d1b6cb4 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv6.cs @@ -0,0 +1,38 @@ +// *** 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 GetRoutingProtocolBgpIpv6Args : global::Pulumi.InvokeArgs + { + /// + /// Customer side peering ip + /// + [Input("customerPeerIp", required: true)] + public string CustomerPeerIp { get; set; } = null!; + + /// + /// Admin status for the BGP session + /// + [Input("enabled")] + public bool? Enabled { get; set; } + + /// + /// Equinix side peering ip + /// + [Input("equinixPeerIp", required: true)] + public string EquinixPeerIp { get; set; } = null!; + + public GetRoutingProtocolBgpIpv6Args() + { + } + public static new GetRoutingProtocolBgpIpv6Args Empty => new GetRoutingProtocolBgpIpv6Args(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv6Args.cs b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv6Args.cs new file mode 100644 index 00000000..f73964e8 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolBgpIpv6Args.cs @@ -0,0 +1,38 @@ +// *** 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 GetRoutingProtocolBgpIpv6InputArgs : global::Pulumi.ResourceArgs + { + /// + /// Customer side peering ip + /// + [Input("customerPeerIp", required: true)] + public Input CustomerPeerIp { get; set; } = null!; + + /// + /// Admin status for the BGP session + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + /// + /// Equinix side peering ip + /// + [Input("equinixPeerIp", required: true)] + public Input EquinixPeerIp { get; set; } = null!; + + public GetRoutingProtocolBgpIpv6InputArgs() + { + } + public static new GetRoutingProtocolBgpIpv6InputArgs Empty => new GetRoutingProtocolBgpIpv6InputArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv4.cs b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv4.cs new file mode 100644 index 00000000..619fc64d --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv4.cs @@ -0,0 +1,26 @@ +// *** 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 GetRoutingProtocolDirectIpv4Args : global::Pulumi.InvokeArgs + { + /// + /// Equinix side Interface IP address + /// + [Input("equinixIfaceIp", required: true)] + public string EquinixIfaceIp { get; set; } = null!; + + public GetRoutingProtocolDirectIpv4Args() + { + } + public static new GetRoutingProtocolDirectIpv4Args Empty => new GetRoutingProtocolDirectIpv4Args(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv4Args.cs b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv4Args.cs new file mode 100644 index 00000000..543a1c10 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv4Args.cs @@ -0,0 +1,26 @@ +// *** 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 GetRoutingProtocolDirectIpv4InputArgs : global::Pulumi.ResourceArgs + { + /// + /// Equinix side Interface IP address + /// + [Input("equinixIfaceIp", required: true)] + public Input EquinixIfaceIp { get; set; } = null!; + + public GetRoutingProtocolDirectIpv4InputArgs() + { + } + public static new GetRoutingProtocolDirectIpv4InputArgs Empty => new GetRoutingProtocolDirectIpv4InputArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv6.cs b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv6.cs new file mode 100644 index 00000000..a013a77c --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv6.cs @@ -0,0 +1,26 @@ +// *** 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 GetRoutingProtocolDirectIpv6Args : global::Pulumi.InvokeArgs + { + /// + /// Equinix side Interface IP address + /// + [Input("equinixIfaceIp")] + public string? EquinixIfaceIp { get; set; } + + public GetRoutingProtocolDirectIpv6Args() + { + } + public static new GetRoutingProtocolDirectIpv6Args Empty => new GetRoutingProtocolDirectIpv6Args(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv6Args.cs b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv6Args.cs new file mode 100644 index 00000000..70629271 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/GetRoutingProtocolDirectIpv6Args.cs @@ -0,0 +1,26 @@ +// *** 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 GetRoutingProtocolDirectIpv6InputArgs : global::Pulumi.ResourceArgs + { + /// + /// Equinix side Interface IP address + /// + [Input("equinixIfaceIp")] + public Input? EquinixIfaceIp { get; set; } + + public GetRoutingProtocolDirectIpv6InputArgs() + { + } + public static new GetRoutingProtocolDirectIpv6InputArgs Empty => new GetRoutingProtocolDirectIpv6InputArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolBfdArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolBfdArgs.cs new file mode 100644 index 00000000..3c3c5e75 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolBfdArgs.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 RoutingProtocolBfdArgs : global::Pulumi.ResourceArgs + { + /// + /// Bidirectional Forwarding Detection enablement + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// Interval range between the received BFD control packets + /// + [Input("interval")] + public Input? Interval { get; set; } + + public RoutingProtocolBfdArgs() + { + } + public static new RoutingProtocolBfdArgs Empty => new RoutingProtocolBfdArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolBfdGetArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolBfdGetArgs.cs new file mode 100644 index 00000000..425effa6 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolBfdGetArgs.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 RoutingProtocolBfdGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Bidirectional Forwarding Detection enablement + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + /// + /// Interval range between the received BFD control packets + /// + [Input("interval")] + public Input? Interval { get; set; } + + public RoutingProtocolBfdGetArgs() + { + } + public static new RoutingProtocolBfdGetArgs Empty => new RoutingProtocolBfdGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv4Args.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv4Args.cs new file mode 100644 index 00000000..dc507707 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv4Args.cs @@ -0,0 +1,38 @@ +// *** 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 RoutingProtocolBgpIpv4Args : global::Pulumi.ResourceArgs + { + /// + /// Customer side peering ip + /// + [Input("customerPeerIp", required: true)] + public Input CustomerPeerIp { get; set; } = null!; + + /// + /// Admin status for the BGP session + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + /// + /// Equinix side peering ip + /// + [Input("equinixPeerIp")] + public Input? EquinixPeerIp { get; set; } + + public RoutingProtocolBgpIpv4Args() + { + } + public static new RoutingProtocolBgpIpv4Args Empty => new RoutingProtocolBgpIpv4Args(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv4GetArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv4GetArgs.cs new file mode 100644 index 00000000..c0b80c34 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv4GetArgs.cs @@ -0,0 +1,38 @@ +// *** 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 RoutingProtocolBgpIpv4GetArgs : global::Pulumi.ResourceArgs + { + /// + /// Customer side peering ip + /// + [Input("customerPeerIp", required: true)] + public Input CustomerPeerIp { get; set; } = null!; + + /// + /// Admin status for the BGP session + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + /// + /// Equinix side peering ip + /// + [Input("equinixPeerIp")] + public Input? EquinixPeerIp { get; set; } + + public RoutingProtocolBgpIpv4GetArgs() + { + } + public static new RoutingProtocolBgpIpv4GetArgs Empty => new RoutingProtocolBgpIpv4GetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv6Args.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv6Args.cs new file mode 100644 index 00000000..0088806e --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv6Args.cs @@ -0,0 +1,38 @@ +// *** 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 RoutingProtocolBgpIpv6Args : global::Pulumi.ResourceArgs + { + /// + /// Customer side peering ip + /// + [Input("customerPeerIp", required: true)] + public Input CustomerPeerIp { get; set; } = null!; + + /// + /// Admin status for the BGP session + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + /// + /// Equinix side peering ip + /// + [Input("equinixPeerIp")] + public Input? EquinixPeerIp { get; set; } + + public RoutingProtocolBgpIpv6Args() + { + } + public static new RoutingProtocolBgpIpv6Args Empty => new RoutingProtocolBgpIpv6Args(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv6GetArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv6GetArgs.cs new file mode 100644 index 00000000..6af011de --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolBgpIpv6GetArgs.cs @@ -0,0 +1,38 @@ +// *** 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 RoutingProtocolBgpIpv6GetArgs : global::Pulumi.ResourceArgs + { + /// + /// Customer side peering ip + /// + [Input("customerPeerIp", required: true)] + public Input CustomerPeerIp { get; set; } = null!; + + /// + /// Admin status for the BGP session + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + /// + /// Equinix side peering ip + /// + [Input("equinixPeerIp")] + public Input? EquinixPeerIp { get; set; } + + public RoutingProtocolBgpIpv6GetArgs() + { + } + public static new RoutingProtocolBgpIpv6GetArgs Empty => new RoutingProtocolBgpIpv6GetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeArgs.cs new file mode 100644 index 00000000..b9432a07 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeArgs.cs @@ -0,0 +1,29 @@ +// *** 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 RoutingProtocolChangeArgs : global::Pulumi.ResourceArgs + { + [Input("href")] + public Input? Href { get; set; } + + [Input("type")] + public Input? Type { get; set; } + + [Input("uuid")] + public Input? Uuid { get; set; } + + public RoutingProtocolChangeArgs() + { + } + public static new RoutingProtocolChangeArgs Empty => new RoutingProtocolChangeArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeGetArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeGetArgs.cs new file mode 100644 index 00000000..ac5027e6 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeGetArgs.cs @@ -0,0 +1,29 @@ +// *** 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 RoutingProtocolChangeGetArgs : global::Pulumi.ResourceArgs + { + [Input("href")] + public Input? Href { get; set; } + + [Input("type")] + public Input? Type { get; set; } + + [Input("uuid")] + public Input? Uuid { get; set; } + + public RoutingProtocolChangeGetArgs() + { + } + public static new RoutingProtocolChangeGetArgs Empty => new RoutingProtocolChangeGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeLogArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeLogArgs.cs new file mode 100644 index 00000000..dbfa737b --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeLogArgs.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.Inputs +{ + + public sealed class RoutingProtocolChangeLogArgs : global::Pulumi.ResourceArgs + { + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + [Input("createdByEmail")] + public Input? CreatedByEmail { get; set; } + + [Input("createdByFullName")] + public Input? CreatedByFullName { get; set; } + + [Input("createdDateTime")] + public Input? CreatedDateTime { get; set; } + + [Input("deletedBy")] + public Input? DeletedBy { get; set; } + + [Input("deletedByEmail")] + public Input? DeletedByEmail { get; set; } + + [Input("deletedByFullName")] + public Input? DeletedByFullName { get; set; } + + [Input("deletedDateTime")] + public Input? DeletedDateTime { get; set; } + + [Input("updatedBy")] + public Input? UpdatedBy { get; set; } + + [Input("updatedByEmail")] + public Input? UpdatedByEmail { get; set; } + + [Input("updatedByFullName")] + public Input? UpdatedByFullName { get; set; } + + [Input("updatedDateTime")] + public Input? UpdatedDateTime { get; set; } + + public RoutingProtocolChangeLogArgs() + { + } + public static new RoutingProtocolChangeLogArgs Empty => new RoutingProtocolChangeLogArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeLogGetArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeLogGetArgs.cs new file mode 100644 index 00000000..4e1de1f9 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolChangeLogGetArgs.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.Inputs +{ + + public sealed class RoutingProtocolChangeLogGetArgs : global::Pulumi.ResourceArgs + { + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + [Input("createdByEmail")] + public Input? CreatedByEmail { get; set; } + + [Input("createdByFullName")] + public Input? CreatedByFullName { get; set; } + + [Input("createdDateTime")] + public Input? CreatedDateTime { get; set; } + + [Input("deletedBy")] + public Input? DeletedBy { get; set; } + + [Input("deletedByEmail")] + public Input? DeletedByEmail { get; set; } + + [Input("deletedByFullName")] + public Input? DeletedByFullName { get; set; } + + [Input("deletedDateTime")] + public Input? DeletedDateTime { get; set; } + + [Input("updatedBy")] + public Input? UpdatedBy { get; set; } + + [Input("updatedByEmail")] + public Input? UpdatedByEmail { get; set; } + + [Input("updatedByFullName")] + public Input? UpdatedByFullName { get; set; } + + [Input("updatedDateTime")] + public Input? UpdatedDateTime { get; set; } + + public RoutingProtocolChangeLogGetArgs() + { + } + public static new RoutingProtocolChangeLogGetArgs Empty => new RoutingProtocolChangeLogGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv4Args.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv4Args.cs new file mode 100644 index 00000000..86cb42d1 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv4Args.cs @@ -0,0 +1,26 @@ +// *** 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 RoutingProtocolDirectIpv4Args : global::Pulumi.ResourceArgs + { + /// + /// Equinix side Interface IP address + /// + [Input("equinixIfaceIp", required: true)] + public Input EquinixIfaceIp { get; set; } = null!; + + public RoutingProtocolDirectIpv4Args() + { + } + public static new RoutingProtocolDirectIpv4Args Empty => new RoutingProtocolDirectIpv4Args(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv4GetArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv4GetArgs.cs new file mode 100644 index 00000000..7b5b9b7f --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv4GetArgs.cs @@ -0,0 +1,26 @@ +// *** 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 RoutingProtocolDirectIpv4GetArgs : global::Pulumi.ResourceArgs + { + /// + /// Equinix side Interface IP address + /// + [Input("equinixIfaceIp", required: true)] + public Input EquinixIfaceIp { get; set; } = null!; + + public RoutingProtocolDirectIpv4GetArgs() + { + } + public static new RoutingProtocolDirectIpv4GetArgs Empty => new RoutingProtocolDirectIpv4GetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv6Args.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv6Args.cs new file mode 100644 index 00000000..a2ed885d --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv6Args.cs @@ -0,0 +1,26 @@ +// *** 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 RoutingProtocolDirectIpv6Args : global::Pulumi.ResourceArgs + { + /// + /// Equinix side Interface IP address + /// + [Input("equinixIfaceIp")] + public Input? EquinixIfaceIp { get; set; } + + public RoutingProtocolDirectIpv6Args() + { + } + public static new RoutingProtocolDirectIpv6Args Empty => new RoutingProtocolDirectIpv6Args(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv6GetArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv6GetArgs.cs new file mode 100644 index 00000000..cc1be49e --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolDirectIpv6GetArgs.cs @@ -0,0 +1,26 @@ +// *** 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 RoutingProtocolDirectIpv6GetArgs : global::Pulumi.ResourceArgs + { + /// + /// Equinix side Interface IP address + /// + [Input("equinixIfaceIp")] + public Input? EquinixIfaceIp { get; set; } + + public RoutingProtocolDirectIpv6GetArgs() + { + } + public static new RoutingProtocolDirectIpv6GetArgs Empty => new RoutingProtocolDirectIpv6GetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationArgs.cs new file mode 100644 index 00000000..95d05538 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationArgs.cs @@ -0,0 +1,28 @@ +// *** 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 RoutingProtocolOperationArgs : global::Pulumi.ResourceArgs + { + [Input("errors")] + private InputList? _errors; + public InputList Errors + { + get => _errors ?? (_errors = new InputList()); + set => _errors = value; + } + + public RoutingProtocolOperationArgs() + { + } + public static new RoutingProtocolOperationArgs Empty => new RoutingProtocolOperationArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorAdditionalInfoArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorAdditionalInfoArgs.cs new file mode 100644 index 00000000..cc105cdf --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorAdditionalInfoArgs.cs @@ -0,0 +1,26 @@ +// *** 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 RoutingProtocolOperationErrorAdditionalInfoArgs : global::Pulumi.ResourceArgs + { + [Input("property")] + public Input? Property { get; set; } + + [Input("reason")] + public Input? Reason { get; set; } + + public RoutingProtocolOperationErrorAdditionalInfoArgs() + { + } + public static new RoutingProtocolOperationErrorAdditionalInfoArgs Empty => new RoutingProtocolOperationErrorAdditionalInfoArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorAdditionalInfoGetArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorAdditionalInfoGetArgs.cs new file mode 100644 index 00000000..69b07468 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorAdditionalInfoGetArgs.cs @@ -0,0 +1,26 @@ +// *** 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 RoutingProtocolOperationErrorAdditionalInfoGetArgs : global::Pulumi.ResourceArgs + { + [Input("property")] + public Input? Property { get; set; } + + [Input("reason")] + public Input? Reason { get; set; } + + public RoutingProtocolOperationErrorAdditionalInfoGetArgs() + { + } + public static new RoutingProtocolOperationErrorAdditionalInfoGetArgs Empty => new RoutingProtocolOperationErrorAdditionalInfoGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorArgs.cs new file mode 100644 index 00000000..b0f5621e --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorArgs.cs @@ -0,0 +1,43 @@ +// *** 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 RoutingProtocolOperationErrorArgs : global::Pulumi.ResourceArgs + { + [Input("additionalInfos")] + private InputList? _additionalInfos; + public InputList AdditionalInfos + { + get => _additionalInfos ?? (_additionalInfos = new InputList()); + set => _additionalInfos = value; + } + + [Input("correlationId")] + public Input? CorrelationId { get; set; } + + [Input("details")] + public Input? Details { get; set; } + + [Input("errorCode")] + public Input? ErrorCode { get; set; } + + [Input("errorMessage")] + public Input? ErrorMessage { get; set; } + + [Input("help")] + public Input? Help { get; set; } + + public RoutingProtocolOperationErrorArgs() + { + } + public static new RoutingProtocolOperationErrorArgs Empty => new RoutingProtocolOperationErrorArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorGetArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorGetArgs.cs new file mode 100644 index 00000000..25894536 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationErrorGetArgs.cs @@ -0,0 +1,43 @@ +// *** 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 RoutingProtocolOperationErrorGetArgs : global::Pulumi.ResourceArgs + { + [Input("additionalInfos")] + private InputList? _additionalInfos; + public InputList AdditionalInfos + { + get => _additionalInfos ?? (_additionalInfos = new InputList()); + set => _additionalInfos = value; + } + + [Input("correlationId")] + public Input? CorrelationId { get; set; } + + [Input("details")] + public Input? Details { get; set; } + + [Input("errorCode")] + public Input? ErrorCode { get; set; } + + [Input("errorMessage")] + public Input? ErrorMessage { get; set; } + + [Input("help")] + public Input? Help { get; set; } + + public RoutingProtocolOperationErrorGetArgs() + { + } + public static new RoutingProtocolOperationErrorGetArgs Empty => new RoutingProtocolOperationErrorGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationGetArgs.cs b/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationGetArgs.cs new file mode 100644 index 00000000..3abdac4c --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/RoutingProtocolOperationGetArgs.cs @@ -0,0 +1,28 @@ +// *** 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 RoutingProtocolOperationGetArgs : global::Pulumi.ResourceArgs + { + [Input("errors")] + private InputList? _errors; + public InputList Errors + { + get => _errors ?? (_errors = new InputList()); + set => _errors = value; + } + + public RoutingProtocolOperationGetArgs() + { + } + public static new RoutingProtocolOperationGetArgs Empty => new RoutingProtocolOperationGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigApiConfigArgs.cs b/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigApiConfigArgs.cs index 915730cb..1f01a013 100644 --- a/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigApiConfigArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigApiConfigArgs.cs @@ -12,24 +12,45 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ServiceProfileAccessPointTypeConfigApiConfigArgs : global::Pulumi.ResourceArgs { + /// + /// Setting showing that oversubscription support is available (true) or not (false). The default is false + /// [Input("allowOverSubscription")] public Input? AllowOverSubscription { get; set; } + /// + /// Setting indicating whether the API is available (true) or not (false) + /// [Input("apiAvailable")] public Input? ApiAvailable { get; set; } + /// + /// Bandwidth from api + /// [Input("bandwidthFromApi")] public Input? BandwidthFromApi { get; set; } + /// + /// Setting indicating that the port is managed by Equinix (true) or not (false) + /// [Input("equinixManagedPort")] public Input? EquinixManagedPort { get; set; } + /// + /// Setting indicating that the VLAN is managed by Equinix (true) or not (false) + /// [Input("equinixManagedVlan")] public Input? EquinixManagedVlan { get; set; } + /// + /// Integration id + /// [Input("integrationId")] public Input? IntegrationId { get; set; } + /// + /// A cap on over subscription + /// [Input("overSubscriptionLimit")] public Input? OverSubscriptionLimit { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigApiConfigGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigApiConfigGetArgs.cs index 65f723bb..80ed47b6 100644 --- a/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigApiConfigGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigApiConfigGetArgs.cs @@ -12,24 +12,45 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ServiceProfileAccessPointTypeConfigApiConfigGetArgs : global::Pulumi.ResourceArgs { + /// + /// Setting showing that oversubscription support is available (true) or not (false). The default is false + /// [Input("allowOverSubscription")] public Input? AllowOverSubscription { get; set; } + /// + /// Setting indicating whether the API is available (true) or not (false) + /// [Input("apiAvailable")] public Input? ApiAvailable { get; set; } + /// + /// Bandwidth from api + /// [Input("bandwidthFromApi")] public Input? BandwidthFromApi { get; set; } + /// + /// Setting indicating that the port is managed by Equinix (true) or not (false) + /// [Input("equinixManagedPort")] public Input? EquinixManagedPort { get; set; } + /// + /// Setting indicating that the VLAN is managed by Equinix (true) or not (false) + /// [Input("equinixManagedVlan")] public Input? EquinixManagedVlan { get; set; } + /// + /// Integration id + /// [Input("integrationId")] public Input? IntegrationId { get; set; } + /// + /// A cap on over subscription + /// [Input("overSubscriptionLimit")] public Input? OverSubscriptionLimit { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs.cs b/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs.cs index e1d66691..ec9cc122 100644 --- a/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs.cs @@ -13,14 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs : global::Pulumi.ResourceArgs { /// - /// User-provided service description + /// Description /// [Input("description")] public Input? Description { get; set; } + /// + /// Label + /// [Input("label")] public Input? Label { get; set; } + /// + /// Required + /// [Input("required")] public Input? Required { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigAuthenticationKeyGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigAuthenticationKeyGetArgs.cs index 01c8b187..865e2635 100644 --- a/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigAuthenticationKeyGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigAuthenticationKeyGetArgs.cs @@ -13,14 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ServiceProfileAccessPointTypeConfigAuthenticationKeyGetArgs : global::Pulumi.ResourceArgs { /// - /// User-provided service description + /// Description /// [Input("description")] public Input? Description { get; set; } + /// + /// Label + /// [Input("label")] public Input? Label { get; set; } + /// + /// Required + /// [Input("required")] public Input? Required { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs.cs b/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs.cs index 37d10d9b..cf7d8aa5 100644 --- a/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs.cs @@ -12,12 +12,21 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs : global::Pulumi.ResourceArgs { + /// + /// Port Encapsulation + /// [Input("encapsulation")] public Input? Encapsulation { get; set; } + /// + /// Encapsulation strategy + /// [Input("encapsulationStrategy")] public Input? EncapsulationStrategy { get; set; } + /// + /// Reuse vlan sTag + /// [Input("reuseVlanSTag")] public Input? ReuseVlanSTag { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfigGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfigGetArgs.cs index 8ec79668..68e24db1 100644 --- a/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfigGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfigGetArgs.cs @@ -12,12 +12,21 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ServiceProfileAccessPointTypeConfigLinkProtocolConfigGetArgs : global::Pulumi.ResourceArgs { + /// + /// Port Encapsulation + /// [Input("encapsulation")] public Input? Encapsulation { get; set; } + /// + /// Encapsulation strategy + /// [Input("encapsulationStrategy")] public Input? EncapsulationStrategy { get; set; } + /// + /// Reuse vlan sTag + /// [Input("reuseVlanSTag")] public Input? ReuseVlanSTag { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ServiceProfileMarketingInfoProcessStepArgs.cs b/sdk/dotnet/Fabric/Inputs/ServiceProfileMarketingInfoProcessStepArgs.cs index 24f5dd33..a733ff4e 100644 --- a/sdk/dotnet/Fabric/Inputs/ServiceProfileMarketingInfoProcessStepArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ServiceProfileMarketingInfoProcessStepArgs.cs @@ -13,14 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ServiceProfileMarketingInfoProcessStepArgs : global::Pulumi.ResourceArgs { /// - /// User-provided service description + /// Description /// [Input("description")] public Input? Description { get; set; } + /// + /// Sub Title + /// [Input("subTitle")] public Input? SubTitle { get; set; } + /// + /// Title + /// [Input("title")] public Input? Title { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ServiceProfileMarketingInfoProcessStepGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ServiceProfileMarketingInfoProcessStepGetArgs.cs index 89cb2a37..87ed723f 100644 --- a/sdk/dotnet/Fabric/Inputs/ServiceProfileMarketingInfoProcessStepGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ServiceProfileMarketingInfoProcessStepGetArgs.cs @@ -13,14 +13,20 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ServiceProfileMarketingInfoProcessStepGetArgs : global::Pulumi.ResourceArgs { /// - /// User-provided service description + /// Description /// [Input("description")] public Input? Description { get; set; } + /// + /// Sub Title + /// [Input("subTitle")] public Input? SubTitle { get; set; } + /// + /// Title + /// [Input("title")] public Input? Title { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ServiceProfilePortLocationArgs.cs b/sdk/dotnet/Fabric/Inputs/ServiceProfilePortLocationArgs.cs index 1563be62..de89e12a 100644 --- a/sdk/dotnet/Fabric/Inputs/ServiceProfilePortLocationArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ServiceProfilePortLocationArgs.cs @@ -12,15 +12,27 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ServiceProfilePortLocationArgs : global::Pulumi.ResourceArgs { + /// + /// IBX Code + /// [Input("ibx")] public Input? Ibx { get; set; } + /// + /// Access point metro code + /// [Input("metroCode")] public Input? MetroCode { get; set; } + /// + /// Access point metro name + /// [Input("metroName")] public Input? MetroName { get; set; } + /// + /// Access point region + /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ServiceProfilePortLocationGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ServiceProfilePortLocationGetArgs.cs index 77e5c81a..af2482b5 100644 --- a/sdk/dotnet/Fabric/Inputs/ServiceProfilePortLocationGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ServiceProfilePortLocationGetArgs.cs @@ -12,15 +12,27 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ServiceProfilePortLocationGetArgs : global::Pulumi.ResourceArgs { + /// + /// IBX Code + /// [Input("ibx")] public Input? Ibx { get; set; } + /// + /// Access point metro code + /// [Input("metroCode")] public Input? MetroCode { get; set; } + /// + /// Access point metro name + /// [Input("metroName")] public Input? MetroName { get; set; } + /// + /// Access point region + /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ServiceProfileVirtualDeviceLocationArgs.cs b/sdk/dotnet/Fabric/Inputs/ServiceProfileVirtualDeviceLocationArgs.cs index 037ca9a5..554b77ec 100644 --- a/sdk/dotnet/Fabric/Inputs/ServiceProfileVirtualDeviceLocationArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ServiceProfileVirtualDeviceLocationArgs.cs @@ -12,15 +12,27 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ServiceProfileVirtualDeviceLocationArgs : global::Pulumi.ResourceArgs { + /// + /// IBX Code + /// [Input("ibx")] public Input? Ibx { get; set; } + /// + /// Access point metro code + /// [Input("metroCode")] public Input? MetroCode { get; set; } + /// + /// Access point metro name + /// [Input("metroName")] public Input? MetroName { get; set; } + /// + /// Access point region + /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/Fabric/Inputs/ServiceProfileVirtualDeviceLocationGetArgs.cs b/sdk/dotnet/Fabric/Inputs/ServiceProfileVirtualDeviceLocationGetArgs.cs index 14a9b32c..b146d07c 100644 --- a/sdk/dotnet/Fabric/Inputs/ServiceProfileVirtualDeviceLocationGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/ServiceProfileVirtualDeviceLocationGetArgs.cs @@ -12,15 +12,27 @@ namespace Pulumi.Equinix.Fabric.Inputs public sealed class ServiceProfileVirtualDeviceLocationGetArgs : global::Pulumi.ResourceArgs { + /// + /// IBX Code + /// [Input("ibx")] public Input? Ibx { get; set; } + /// + /// Access point metro code + /// [Input("metroCode")] public Input? MetroCode { get; set; } + /// + /// Access point metro name + /// [Input("metroName")] public Input? MetroName { get; set; } + /// + /// Access point region + /// [Input("region")] public Input? Region { get; set; } diff --git a/sdk/dotnet/Fabric/Outputs/CloudRouterAccount.cs b/sdk/dotnet/Fabric/Outputs/CloudRouterAccount.cs new file mode 100644 index 00000000..95c459cc --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/CloudRouterAccount.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 CloudRouterAccount + { + /// + /// Account Number + /// + public readonly int? AccountNumber; + + [OutputConstructor] + private CloudRouterAccount(int? accountNumber) + { + AccountNumber = accountNumber; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/CloudRouterChangeLog.cs b/sdk/dotnet/Fabric/Outputs/CloudRouterChangeLog.cs new file mode 100644 index 00000000..dc81d1b1 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/CloudRouterChangeLog.cs @@ -0,0 +1,69 @@ +// *** 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 CloudRouterChangeLog + { + public readonly string? CreatedBy; + public readonly string? CreatedByEmail; + public readonly string? CreatedByFullName; + public readonly string? CreatedDateTime; + public readonly string? DeletedBy; + public readonly string? DeletedByEmail; + public readonly string? DeletedByFullName; + public readonly string? DeletedDateTime; + public readonly string? UpdatedBy; + public readonly string? UpdatedByEmail; + public readonly string? UpdatedByFullName; + public readonly string? UpdatedDateTime; + + [OutputConstructor] + private CloudRouterChangeLog( + string? createdBy, + + string? createdByEmail, + + string? createdByFullName, + + string? createdDateTime, + + string? deletedBy, + + string? deletedByEmail, + + string? deletedByFullName, + + string? deletedDateTime, + + string? updatedBy, + + string? updatedByEmail, + + string? updatedByFullName, + + string? updatedDateTime) + { + CreatedBy = createdBy; + CreatedByEmail = createdByEmail; + CreatedByFullName = createdByFullName; + CreatedDateTime = createdDateTime; + DeletedBy = deletedBy; + DeletedByEmail = deletedByEmail; + DeletedByFullName = deletedByFullName; + DeletedDateTime = deletedDateTime; + UpdatedBy = updatedBy; + UpdatedByEmail = updatedByEmail; + UpdatedByFullName = updatedByFullName; + UpdatedDateTime = updatedDateTime; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/CloudRouterLocation.cs b/sdk/dotnet/Fabric/Outputs/CloudRouterLocation.cs new file mode 100644 index 00000000..2164f7d6 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/CloudRouterLocation.cs @@ -0,0 +1,49 @@ +// *** 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 CloudRouterLocation + { + /// + /// IBX Code + /// + public readonly string? Ibx; + /// + /// Access point metro code + /// + public readonly string? MetroCode; + /// + /// Access point metro name + /// + public readonly string? MetroName; + /// + /// Access point region + /// + public readonly string? Region; + + [OutputConstructor] + private CloudRouterLocation( + string? ibx, + + string? metroCode, + + string? metroName, + + string? region) + { + Ibx = ibx; + MetroCode = metroCode; + MetroName = metroName; + Region = region; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/CloudRouterNotification.cs b/sdk/dotnet/Fabric/Outputs/CloudRouterNotification.cs new file mode 100644 index 00000000..1670fa3e --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/CloudRouterNotification.cs @@ -0,0 +1,42 @@ +// *** 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 CloudRouterNotification + { + /// + /// Array of contact emails + /// + public readonly ImmutableArray Emails; + /// + /// Send interval + /// + public readonly string? SendInterval; + /// + /// Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + /// + public readonly string Type; + + [OutputConstructor] + private CloudRouterNotification( + ImmutableArray emails, + + string? sendInterval, + + string type) + { + Emails = emails; + SendInterval = sendInterval; + Type = type; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/CloudRouterOrder.cs b/sdk/dotnet/Fabric/Outputs/CloudRouterOrder.cs new file mode 100644 index 00000000..4cca9a86 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/CloudRouterOrder.cs @@ -0,0 +1,49 @@ +// *** 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 CloudRouterOrder + { + /// + /// Billing tier for connection bandwidth + /// + public readonly string? BillingTier; + /// + /// Order Identification + /// + public readonly string? OrderId; + /// + /// Order Reference Number + /// + public readonly string? OrderNumber; + /// + /// Purchase order number + /// + public readonly string? PurchaseOrderNumber; + + [OutputConstructor] + private CloudRouterOrder( + string? billingTier, + + string? orderId, + + string? orderNumber, + + string? purchaseOrderNumber) + { + BillingTier = billingTier; + OrderId = orderId; + OrderNumber = orderNumber; + PurchaseOrderNumber = purchaseOrderNumber; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/CloudRouterPackage.cs b/sdk/dotnet/Fabric/Outputs/CloudRouterPackage.cs new file mode 100644 index 00000000..2bac5558 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/CloudRouterPackage.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 CloudRouterPackage + { + /// + /// Fabric Cloud Router package code + /// + public readonly string Code; + + [OutputConstructor] + private CloudRouterPackage(string code) + { + Code = code; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionAdditionalInfo.cs b/sdk/dotnet/Fabric/Outputs/CloudRouterProject.cs similarity index 60% rename from sdk/dotnet/Fabric/Outputs/ConnectionAdditionalInfo.cs rename to sdk/dotnet/Fabric/Outputs/CloudRouterProject.cs index c36baa76..c0ab8a85 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionAdditionalInfo.cs +++ b/sdk/dotnet/Fabric/Outputs/CloudRouterProject.cs @@ -11,25 +11,25 @@ namespace Pulumi.Equinix.Fabric.Outputs { [OutputType] - public sealed class ConnectionAdditionalInfo + public sealed class CloudRouterProject { /// - /// Additional information key + /// Unique Resource URL /// - public readonly string? Key; + public readonly string? Href; /// - /// Additional information value + /// Project Id /// - public readonly string? Value; + public readonly string? ProjectId; [OutputConstructor] - private ConnectionAdditionalInfo( - string? key, + private CloudRouterProject( + string? href, - string? value) + string? projectId) { - Key = key; - Value = value; + Href = href; + ProjectId = projectId; } } } diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPoint.cs b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPoint.cs index b0b5b556..8ddc27f2 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPoint.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPoint.cs @@ -14,24 +14,62 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionASideAccessPoint { /// - /// Customer account information that is associated with this connection + /// Account /// public readonly Outputs.ConnectionASideAccessPointAccount? Account; + /// + /// Authentication key for provider based connections + /// public readonly string? AuthenticationKey; public readonly Outputs.ConnectionASideAccessPointGateway? Gateway; + /// + /// Virtual device interface + /// public readonly Outputs.ConnectionASideAccessPointInterface? Interface; + /// + /// Connection link protocol + /// public readonly Outputs.ConnectionASideAccessPointLinkProtocol? LinkProtocol; + /// + /// Access point location + /// public readonly Outputs.ConnectionASideAccessPointLocation? Location; + public readonly Outputs.ConnectionASideAccessPointNetwork? Network; + /// + /// Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + /// public readonly string? PeeringType; + /// + /// Port access point information + /// public readonly Outputs.ConnectionASideAccessPointPort? Port; + /// + /// Service Profile + /// public readonly Outputs.ConnectionASideAccessPointProfile? Profile; + /// + /// Provider assigned Connection Id + /// public readonly string? ProviderConnectionId; + /// + /// Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + /// + public readonly Outputs.ConnectionASideAccessPointRouter? Router; + /// + /// Access point routing protocols configuration + /// public readonly ImmutableArray RoutingProtocols; + /// + /// Access point seller region + /// public readonly string? SellerRegion; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Virtual device + /// public readonly Outputs.ConnectionASideAccessPointVirtualDevice? VirtualDevice; [OutputConstructor] @@ -48,6 +86,8 @@ private ConnectionASideAccessPoint( Outputs.ConnectionASideAccessPointLocation? location, + Outputs.ConnectionASideAccessPointNetwork? network, + string? peeringType, Outputs.ConnectionASideAccessPointPort? port, @@ -56,6 +96,8 @@ private ConnectionASideAccessPoint( string? providerConnectionId, + Outputs.ConnectionASideAccessPointRouter? router, + ImmutableArray routingProtocols, string? sellerRegion, @@ -70,10 +112,12 @@ private ConnectionASideAccessPoint( Interface = @interface; LinkProtocol = linkProtocol; Location = location; + Network = network; PeeringType = peeringType; Port = port; Profile = profile; ProviderConnectionId = providerConnectionId; + Router = router; RoutingProtocols = routingProtocols; SellerRegion = sellerRegion; Type = type; diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointGateway.cs b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointGateway.cs index a60bf66d..594136b7 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointGateway.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointGateway.cs @@ -14,9 +14,12 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionASideAccessPointGateway { /// - /// Connection URI information + /// Unique Resource Identifier /// public readonly string? Href; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointInterface.cs b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointInterface.cs index 72c437ef..fcd0f2ce 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointInterface.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointInterface.cs @@ -14,13 +14,16 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionASideAccessPointInterface { /// - /// The ID of this resource. + /// id /// public readonly string? Id; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointLinkProtocol.cs b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointLinkProtocol.cs index a36f2a04..cf41af28 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointLinkProtocol.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointLinkProtocol.cs @@ -14,11 +14,20 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionASideAccessPointLinkProtocol { /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Vlan Customer Tag information, vlanCTag value specified for QINQ connections + /// public readonly int? VlanCTag; + /// + /// Vlan Provider Tag information, vlanSTag value specified for QINQ connections + /// public readonly int? VlanSTag; + /// + /// Vlan Tag information, vlanTag value specified for DOT1Q connections + /// public readonly int? VlanTag; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointLocation.cs b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointLocation.cs index b33f6f0e..fd85b84c 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointLocation.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointLocation.cs @@ -13,9 +13,21 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class ConnectionASideAccessPointLocation { + /// + /// IBX Code + /// public readonly string? Ibx; + /// + /// Access point metro code + /// public readonly string? MetroCode; + /// + /// Access point metro name + /// public readonly string? MetroName; + /// + /// Access point region + /// public readonly string? Region; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointNetwork.cs b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointNetwork.cs new file mode 100644 index 00000000..b8048933 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointNetwork.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 ConnectionASideAccessPointNetwork + { + /// + /// Unique Resource Identifier + /// + public readonly string? Href; + /// + /// Equinix-assigned interface identifier + /// + public readonly string? Uuid; + + [OutputConstructor] + private ConnectionASideAccessPointNetwork( + string? href, + + string? uuid) + { + Href = href; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointPort.cs b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointPort.cs index 75aec1d3..391fd8be 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointPort.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointPort.cs @@ -14,17 +14,20 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionASideAccessPointPort { /// - /// Connection URI information + /// Unique Resource Identifier /// public readonly string? Href; /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// public readonly string? Name; /// /// Redundancy Information /// public readonly ImmutableArray Redundancies; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointProfile.cs b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointProfile.cs index 57e3ff99..7ef596b2 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointProfile.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointProfile.cs @@ -13,20 +13,29 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class ConnectionASideAccessPointProfile { + /// + /// Access point config information + /// public readonly ImmutableArray AccessPointTypeConfigs; + /// + /// User-provided service description + /// public readonly string? Description; /// - /// Connection URI information + /// Unique Resource Identifier /// public readonly string? Href; /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// public readonly string? Name; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string Type; + /// + /// Equinix-assigned interface identifier + /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointProfileAccessPointTypeConfig.cs b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointProfileAccessPointTypeConfig.cs index 398de356..9730fb5f 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointProfileAccessPointTypeConfig.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointProfileAccessPointTypeConfig.cs @@ -14,9 +14,12 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionASideAccessPointProfileAccessPointTypeConfig { /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointRouter.cs b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointRouter.cs new file mode 100644 index 00000000..e41db7e5 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointRouter.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 ConnectionASideAccessPointRouter + { + /// + /// Unique Resource Identifier + /// + public readonly string? Href; + /// + /// Equinix-assigned interface identifier + /// + public readonly string? Uuid; + + [OutputConstructor] + private ConnectionASideAccessPointRouter( + string? href, + + string? uuid) + { + Href = href; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointRoutingProtocol.cs b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointRoutingProtocol.cs index 0aed9ade..da8f2012 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointRoutingProtocol.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointRoutingProtocol.cs @@ -14,13 +14,16 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionASideAccessPointRoutingProtocol { /// - /// Connection overall state + /// Routing protocol instance state /// public readonly string? State; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointVirtualDevice.cs b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointVirtualDevice.cs index 3696be20..881a063e 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointVirtualDevice.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointVirtualDevice.cs @@ -14,13 +14,16 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionASideAccessPointVirtualDevice { /// - /// Connection URI information + /// Unique Resource Identifier /// public readonly string? Href; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionASideServiceToken.cs b/sdk/dotnet/Fabric/Outputs/ConnectionASideServiceToken.cs index 39a95d43..c1c7eb1b 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionASideServiceToken.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionASideServiceToken.cs @@ -13,15 +13,21 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class ConnectionASideServiceToken { + /// + /// User-provided service description + /// public readonly string? Description; /// - /// Connection URI information + /// Unique Resource Identifier /// public readonly string? Href; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionOperationError.cs b/sdk/dotnet/Fabric/Outputs/ConnectionOperationError.cs index 63dd91a8..82ed55d7 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionOperationError.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionOperationError.cs @@ -14,7 +14,7 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionOperationError { /// - /// Connection additional information + /// Connection side additional information /// public readonly ImmutableArray AdditionalInfo; public readonly string? CorrelationId; diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPoint.cs b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPoint.cs index bbaf6657..daa87ddb 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPoint.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPoint.cs @@ -14,24 +14,62 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionZSideAccessPoint { /// - /// Customer account information that is associated with this connection + /// Account /// public readonly Outputs.ConnectionZSideAccessPointAccount? Account; + /// + /// Authentication key for provider based connections + /// public readonly string? AuthenticationKey; public readonly Outputs.ConnectionZSideAccessPointGateway? Gateway; + /// + /// Virtual device interface + /// public readonly Outputs.ConnectionZSideAccessPointInterface? Interface; + /// + /// Connection link protocol + /// public readonly Outputs.ConnectionZSideAccessPointLinkProtocol? LinkProtocol; + /// + /// Access point location + /// public readonly Outputs.ConnectionZSideAccessPointLocation? Location; + public readonly Outputs.ConnectionZSideAccessPointNetwork? Network; + /// + /// Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + /// public readonly string? PeeringType; + /// + /// Port access point information + /// public readonly Outputs.ConnectionZSideAccessPointPort? Port; + /// + /// Service Profile + /// public readonly Outputs.ConnectionZSideAccessPointProfile? Profile; + /// + /// Provider assigned Connection Id + /// public readonly string? ProviderConnectionId; + /// + /// Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + /// + public readonly Outputs.ConnectionZSideAccessPointRouter? Router; + /// + /// Access point routing protocols configuration + /// public readonly ImmutableArray RoutingProtocols; + /// + /// Access point seller region + /// public readonly string? SellerRegion; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Virtual device + /// public readonly Outputs.ConnectionZSideAccessPointVirtualDevice? VirtualDevice; [OutputConstructor] @@ -48,6 +86,8 @@ private ConnectionZSideAccessPoint( Outputs.ConnectionZSideAccessPointLocation? location, + Outputs.ConnectionZSideAccessPointNetwork? network, + string? peeringType, Outputs.ConnectionZSideAccessPointPort? port, @@ -56,6 +96,8 @@ private ConnectionZSideAccessPoint( string? providerConnectionId, + Outputs.ConnectionZSideAccessPointRouter? router, + ImmutableArray routingProtocols, string? sellerRegion, @@ -70,10 +112,12 @@ private ConnectionZSideAccessPoint( Interface = @interface; LinkProtocol = linkProtocol; Location = location; + Network = network; PeeringType = peeringType; Port = port; Profile = profile; ProviderConnectionId = providerConnectionId; + Router = router; RoutingProtocols = routingProtocols; SellerRegion = sellerRegion; Type = type; diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointGateway.cs b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointGateway.cs index 267a152d..0efce907 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointGateway.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointGateway.cs @@ -14,9 +14,12 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionZSideAccessPointGateway { /// - /// Connection URI information + /// Unique Resource Identifier /// public readonly string? Href; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointInterface.cs b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointInterface.cs index c9850619..323056bb 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointInterface.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointInterface.cs @@ -14,13 +14,16 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionZSideAccessPointInterface { /// - /// The ID of this resource. + /// id /// public readonly string? Id; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointLinkProtocol.cs b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointLinkProtocol.cs index f36de17b..443d263e 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointLinkProtocol.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointLinkProtocol.cs @@ -14,11 +14,20 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionZSideAccessPointLinkProtocol { /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Vlan Customer Tag information, vlanCTag value specified for QINQ connections + /// public readonly int? VlanCTag; + /// + /// Vlan Provider Tag information, vlanSTag value specified for QINQ connections + /// public readonly int? VlanSTag; + /// + /// Vlan Tag information, vlanTag value specified for DOT1Q connections + /// public readonly int? VlanTag; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointLocation.cs b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointLocation.cs index 1d03a29b..31918298 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointLocation.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointLocation.cs @@ -13,9 +13,21 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class ConnectionZSideAccessPointLocation { + /// + /// IBX Code + /// public readonly string? Ibx; + /// + /// Access point metro code + /// public readonly string? MetroCode; + /// + /// Access point metro name + /// public readonly string? MetroName; + /// + /// Access point region + /// public readonly string? Region; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointNetwork.cs b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointNetwork.cs new file mode 100644 index 00000000..1e2bddef --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointNetwork.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 ConnectionZSideAccessPointNetwork + { + /// + /// Unique Resource Identifier + /// + public readonly string? Href; + /// + /// Equinix-assigned interface identifier + /// + public readonly string? Uuid; + + [OutputConstructor] + private ConnectionZSideAccessPointNetwork( + string? href, + + string? uuid) + { + Href = href; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointPort.cs b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointPort.cs index 0d140c14..48506ef9 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointPort.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointPort.cs @@ -14,17 +14,20 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionZSideAccessPointPort { /// - /// Connection URI information + /// Unique Resource Identifier /// public readonly string? Href; /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// public readonly string? Name; /// /// Redundancy Information /// public readonly ImmutableArray Redundancies; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointProfile.cs b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointProfile.cs index 4dfca307..5fe9863f 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointProfile.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointProfile.cs @@ -13,20 +13,29 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class ConnectionZSideAccessPointProfile { + /// + /// Access point config information + /// public readonly ImmutableArray AccessPointTypeConfigs; + /// + /// User-provided service description + /// public readonly string? Description; /// - /// Connection URI information + /// Unique Resource Identifier /// public readonly string? Href; /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// Port name /// public readonly string? Name; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string Type; + /// + /// Equinix-assigned interface identifier + /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointProfileAccessPointTypeConfig.cs b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointProfileAccessPointTypeConfig.cs index 26357ccb..386365fb 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointProfileAccessPointTypeConfig.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointProfileAccessPointTypeConfig.cs @@ -14,9 +14,12 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionZSideAccessPointProfileAccessPointTypeConfig { /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointRouter.cs b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointRouter.cs new file mode 100644 index 00000000..1af10fcd --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointRouter.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 ConnectionZSideAccessPointRouter + { + /// + /// Unique Resource Identifier + /// + public readonly string? Href; + /// + /// Equinix-assigned interface identifier + /// + public readonly string? Uuid; + + [OutputConstructor] + private ConnectionZSideAccessPointRouter( + string? href, + + string? uuid) + { + Href = href; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointRoutingProtocol.cs b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointRoutingProtocol.cs index d325847c..8e5a3f30 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointRoutingProtocol.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointRoutingProtocol.cs @@ -14,13 +14,16 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionZSideAccessPointRoutingProtocol { /// - /// Connection overall state + /// Routing protocol instance state /// public readonly string? State; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointVirtualDevice.cs b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointVirtualDevice.cs index 4df1d9e9..647e9820 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointVirtualDevice.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointVirtualDevice.cs @@ -14,13 +14,16 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ConnectionZSideAccessPointVirtualDevice { /// - /// Connection URI information + /// Unique Resource Identifier /// public readonly string? Href; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ConnectionZSideServiceToken.cs b/sdk/dotnet/Fabric/Outputs/ConnectionZSideServiceToken.cs index 2e4d8c49..957d58e6 100644 --- a/sdk/dotnet/Fabric/Outputs/ConnectionZSideServiceToken.cs +++ b/sdk/dotnet/Fabric/Outputs/ConnectionZSideServiceToken.cs @@ -13,15 +13,21 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class ConnectionZSideServiceToken { + /// + /// User-provided service description + /// public readonly string? Description; /// - /// Connection URI information + /// Unique Resource Identifier /// public readonly string? Href; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// Interface type /// public readonly string? Type; + /// + /// Equinix-assigned interface identifier + /// public readonly string? Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetCloudRouterAccountResult.cs b/sdk/dotnet/Fabric/Outputs/GetCloudRouterAccountResult.cs new file mode 100644 index 00000000..72cd5937 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetCloudRouterAccountResult.cs @@ -0,0 +1,49 @@ +// *** 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 GetCloudRouterAccountResult + { + public readonly string AccountName; + public readonly int AccountNumber; + public readonly string GlobalCustId; + public readonly string GlobalOrgId; + public readonly string GlobalOrganizationName; + public readonly int OrgId; + public readonly string OrganizationName; + + [OutputConstructor] + private GetCloudRouterAccountResult( + string accountName, + + int accountNumber, + + string globalCustId, + + string globalOrgId, + + string globalOrganizationName, + + int orgId, + + string organizationName) + { + AccountName = accountName; + AccountNumber = accountNumber; + GlobalCustId = globalCustId; + GlobalOrgId = globalOrgId; + GlobalOrganizationName = globalOrganizationName; + OrgId = orgId; + OrganizationName = organizationName; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetCloudRouterChangeLogResult.cs b/sdk/dotnet/Fabric/Outputs/GetCloudRouterChangeLogResult.cs new file mode 100644 index 00000000..29e97bf7 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetCloudRouterChangeLogResult.cs @@ -0,0 +1,69 @@ +// *** 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 GetCloudRouterChangeLogResult + { + public readonly string CreatedBy; + public readonly string CreatedByEmail; + public readonly string CreatedByFullName; + public readonly string CreatedDateTime; + public readonly string DeletedBy; + public readonly string DeletedByEmail; + public readonly string DeletedByFullName; + public readonly string DeletedDateTime; + public readonly string UpdatedBy; + public readonly string UpdatedByEmail; + public readonly string UpdatedByFullName; + public readonly string UpdatedDateTime; + + [OutputConstructor] + private GetCloudRouterChangeLogResult( + string createdBy, + + string createdByEmail, + + string createdByFullName, + + string createdDateTime, + + string deletedBy, + + string deletedByEmail, + + string deletedByFullName, + + string deletedDateTime, + + string updatedBy, + + string updatedByEmail, + + string updatedByFullName, + + string updatedDateTime) + { + CreatedBy = createdBy; + CreatedByEmail = createdByEmail; + CreatedByFullName = createdByFullName; + CreatedDateTime = createdDateTime; + DeletedBy = deletedBy; + DeletedByEmail = deletedByEmail; + DeletedByFullName = deletedByFullName; + DeletedDateTime = deletedDateTime; + UpdatedBy = updatedBy; + UpdatedByEmail = updatedByEmail; + UpdatedByFullName = updatedByFullName; + UpdatedDateTime = updatedDateTime; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetCloudRouterLocationResult.cs b/sdk/dotnet/Fabric/Outputs/GetCloudRouterLocationResult.cs new file mode 100644 index 00000000..63a94099 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetCloudRouterLocationResult.cs @@ -0,0 +1,41 @@ +// *** 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 GetCloudRouterLocationResult + { + public readonly string Href; + public readonly string Ibx; + public readonly string MetroCode; + public readonly string MetroName; + public readonly string Region; + + [OutputConstructor] + private GetCloudRouterLocationResult( + string href, + + string ibx, + + string metroCode, + + string metroName, + + string region) + { + Href = href; + Ibx = ibx; + MetroCode = metroCode; + MetroName = metroName; + Region = region; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetCloudRouterNotificationResult.cs b/sdk/dotnet/Fabric/Outputs/GetCloudRouterNotificationResult.cs new file mode 100644 index 00000000..2e0afd7a --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetCloudRouterNotificationResult.cs @@ -0,0 +1,33 @@ +// *** 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 GetCloudRouterNotificationResult + { + public readonly ImmutableArray Emails; + public readonly string SendInterval; + public readonly string Type; + + [OutputConstructor] + private GetCloudRouterNotificationResult( + ImmutableArray emails, + + string sendInterval, + + string type) + { + Emails = emails; + SendInterval = sendInterval; + Type = type; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetCloudRouterOrderResult.cs b/sdk/dotnet/Fabric/Outputs/GetCloudRouterOrderResult.cs new file mode 100644 index 00000000..af4ec611 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetCloudRouterOrderResult.cs @@ -0,0 +1,37 @@ +// *** 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 GetCloudRouterOrderResult + { + public readonly string BillingTier; + public readonly string OrderId; + public readonly string OrderNumber; + public readonly string PurchaseOrderNumber; + + [OutputConstructor] + private GetCloudRouterOrderResult( + string billingTier, + + string orderId, + + string orderNumber, + + string purchaseOrderNumber) + { + BillingTier = billingTier; + OrderId = orderId; + OrderNumber = orderNumber; + PurchaseOrderNumber = purchaseOrderNumber; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetCloudRouterPackageResult.cs b/sdk/dotnet/Fabric/Outputs/GetCloudRouterPackageResult.cs new file mode 100644 index 00000000..7487fdfc --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetCloudRouterPackageResult.cs @@ -0,0 +1,24 @@ +// *** 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 GetCloudRouterPackageResult + { + public readonly string Code; + + [OutputConstructor] + private GetCloudRouterPackageResult(string code) + { + Code = code; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetCloudRouterProjectResult.cs b/sdk/dotnet/Fabric/Outputs/GetCloudRouterProjectResult.cs new file mode 100644 index 00000000..26b394d3 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetCloudRouterProjectResult.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 GetCloudRouterProjectResult + { + /// + /// Unique Resource URL + /// + public readonly string Href; + /// + /// Project Id + /// + public readonly string ProjectId; + + [OutputConstructor] + private GetCloudRouterProjectResult( + string href, + + string projectId) + { + Href = href; + ProjectId = projectId; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointGatewayResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointGatewayResult.cs index b7e26897..393a0355 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointGatewayResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointGatewayResult.cs @@ -13,17 +13,8 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionASideAccessPointGatewayResult { - /// - /// Connection URI information - /// public readonly string Href; - /// - /// Connection overall state - /// public readonly string State; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointInterfaceResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointInterfaceResult.cs index 243dbc48..0ea683f4 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointInterfaceResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointInterfaceResult.cs @@ -13,17 +13,8 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionASideAccessPointInterfaceResult { - /// - /// The ID of this resource. - /// public readonly string Id; - /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - /// public readonly string Type; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointLinkProtocolResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointLinkProtocolResult.cs index bf34e8e8..b652e32a 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointLinkProtocolResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointLinkProtocolResult.cs @@ -13,9 +13,6 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionASideAccessPointLinkProtocolResult { - /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - /// public readonly string Type; public readonly int VlanCTag; public readonly int VlanSTag; diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointLocationResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointLocationResult.cs index 47ec44f8..d9d9bde9 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointLocationResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointLocationResult.cs @@ -13,9 +13,6 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionASideAccessPointLocationResult { - /// - /// Connection URI information - /// public readonly string Href; public readonly string Ibx; public readonly string MetroCode; diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointPortResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointPortResult.cs index 68579e03..bdcb32bb 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointPortResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointPortResult.cs @@ -13,21 +13,9 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionASideAccessPointPortResult { - /// - /// Connection URI information - /// public readonly string Href; - /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - /// public readonly string Name; - /// - /// Redundancy Information - /// public readonly ImmutableArray Redundancies; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult.cs index eae45821..83a3dbe4 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult.cs @@ -13,9 +13,6 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult { - /// - /// Customer-provided connection description - /// public readonly string Description; public readonly string Label; public readonly bool Required; diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigResult.cs index 1f2ef636..3062db06 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigResult.cs @@ -25,13 +25,7 @@ public sealed class GetConnectionASideAccessPointProfileAccessPointTypeConfigRes public readonly bool EnableAutoGenerateServiceKey; public readonly ImmutableArray LinkProtocolConfigs; public readonly ImmutableArray SupportedBandwidths; - /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - /// public readonly string Type; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileResult.cs index 137bcfd8..78bb70b1 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileResult.cs @@ -14,25 +14,10 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class GetConnectionASideAccessPointProfileResult { public readonly ImmutableArray AccessPointTypeConfigs; - /// - /// Customer-provided connection description - /// public readonly string Description; - /// - /// Connection URI information - /// public readonly string Href; - /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - /// public readonly string Name; - /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - /// public readonly string Type; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointResult.cs index f19fccdf..89c1f00f 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointResult.cs @@ -13,9 +13,6 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionASideAccessPointResult { - /// - /// Customer account information that is associated with this connection - /// public readonly ImmutableArray Accounts; public readonly string AuthenticationKey; public readonly ImmutableArray Gateways; @@ -26,10 +23,11 @@ public sealed class GetConnectionASideAccessPointResult public readonly ImmutableArray Ports; public readonly ImmutableArray Profiles; public readonly string ProviderConnectionId; - public readonly string SellerRegion; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// CloudRouter; Replaces `gateway` attribute (Set of Object) /// + public readonly ImmutableArray Routers; + public readonly string SellerRegion; public readonly string Type; public readonly ImmutableArray VirtualDevices; @@ -55,6 +53,8 @@ private GetConnectionASideAccessPointResult( string providerConnectionId, + ImmutableArray routers, + string sellerRegion, string type, @@ -71,6 +71,7 @@ private GetConnectionASideAccessPointResult( Ports = ports; Profiles = profiles; ProviderConnectionId = providerConnectionId; + Routers = routers; SellerRegion = sellerRegion; Type = type; VirtualDevices = virtualDevices; diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointRouterResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointRouterResult.cs new file mode 100644 index 00000000..7f705204 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointRouterResult.cs @@ -0,0 +1,33 @@ +// *** 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 GetConnectionASideAccessPointRouterResult + { + public readonly string Href; + public readonly string State; + public readonly string Uuid; + + [OutputConstructor] + private GetConnectionASideAccessPointRouterResult( + string href, + + string state, + + string uuid) + { + Href = href; + State = state; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointVirtualDeviceResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointVirtualDeviceResult.cs index 2b848927..41b39022 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointVirtualDeviceResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointVirtualDeviceResult.cs @@ -13,17 +13,8 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionASideAccessPointVirtualDeviceResult { - /// - /// Connection URI information - /// public readonly string Href; - /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - /// public readonly string Type; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionASideServiceTokenResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionASideServiceTokenResult.cs index 88571f19..1c8b3c07 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionASideServiceTokenResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionASideServiceTokenResult.cs @@ -13,21 +13,9 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionASideServiceTokenResult { - /// - /// Customer-provided connection description - /// public readonly string Description; - /// - /// Connection URI information - /// public readonly string Href; - /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - /// public readonly string Type; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionNotificationResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionNotificationResult.cs index dbe957a4..6f4b970b 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionNotificationResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionNotificationResult.cs @@ -15,9 +15,6 @@ public sealed class GetConnectionNotificationResult { public readonly ImmutableArray Emails; public readonly string SendInterval; - /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - /// public readonly string Type; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionOperationErrorResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionOperationErrorResult.cs index 050d4246..1bbd8cb5 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionOperationErrorResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionOperationErrorResult.cs @@ -13,9 +13,6 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionOperationErrorResult { - /// - /// Connection additional information - /// public readonly ImmutableArray AdditionalInfos; public readonly string CorrelationId; public readonly string Details; diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointGatewayResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointGatewayResult.cs index 6b11d2ec..aff09153 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointGatewayResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointGatewayResult.cs @@ -13,17 +13,8 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionZSideAccessPointGatewayResult { - /// - /// Connection URI information - /// public readonly string Href; - /// - /// Connection overall state - /// public readonly string State; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointInterfaceResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointInterfaceResult.cs index a18ea2c3..8ff17418 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointInterfaceResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointInterfaceResult.cs @@ -13,17 +13,8 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionZSideAccessPointInterfaceResult { - /// - /// The ID of this resource. - /// public readonly string Id; - /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - /// public readonly string Type; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointLinkProtocolResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointLinkProtocolResult.cs index 7cd287dd..45a73c4f 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointLinkProtocolResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointLinkProtocolResult.cs @@ -13,9 +13,6 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionZSideAccessPointLinkProtocolResult { - /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - /// public readonly string Type; public readonly int VlanCTag; public readonly int VlanSTag; diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointLocationResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointLocationResult.cs index 8342e545..18852b84 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointLocationResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointLocationResult.cs @@ -13,9 +13,6 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionZSideAccessPointLocationResult { - /// - /// Connection URI information - /// public readonly string Href; public readonly string Ibx; public readonly string MetroCode; diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointPortResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointPortResult.cs index d9327352..a0d7ca88 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointPortResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointPortResult.cs @@ -13,21 +13,9 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionZSideAccessPointPortResult { - /// - /// Connection URI information - /// public readonly string Href; - /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - /// public readonly string Name; - /// - /// Redundancy Information - /// public readonly ImmutableArray Redundancies; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult.cs index cae4bb8c..24b9e292 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult.cs @@ -13,9 +13,6 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult { - /// - /// Customer-provided connection description - /// public readonly string Description; public readonly string Label; public readonly bool Required; diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult.cs index 3bf37bec..7c7ac1aa 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult.cs @@ -25,13 +25,7 @@ public sealed class GetConnectionZSideAccessPointProfileAccessPointTypeConfigRes public readonly bool EnableAutoGenerateServiceKey; public readonly ImmutableArray LinkProtocolConfigs; public readonly ImmutableArray SupportedBandwidths; - /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - /// public readonly string Type; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileResult.cs index 3f37470d..be14ecba 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileResult.cs @@ -14,25 +14,10 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class GetConnectionZSideAccessPointProfileResult { public readonly ImmutableArray AccessPointTypeConfigs; - /// - /// Customer-provided connection description - /// public readonly string Description; - /// - /// Connection URI information - /// public readonly string Href; - /// - /// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - /// public readonly string Name; - /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - /// public readonly string Type; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointResult.cs index edba3b6f..ef409928 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointResult.cs @@ -13,9 +13,6 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionZSideAccessPointResult { - /// - /// Customer account information that is associated with this connection - /// public readonly ImmutableArray Accounts; public readonly string AuthenticationKey; public readonly ImmutableArray Gateways; @@ -26,10 +23,11 @@ public sealed class GetConnectionZSideAccessPointResult public readonly ImmutableArray Ports; public readonly ImmutableArray Profiles; public readonly string ProviderConnectionId; - public readonly string SellerRegion; /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + /// CloudRouter; Replaces `gateway` attribute (Set of Object) /// + public readonly ImmutableArray Routers; + public readonly string SellerRegion; public readonly string Type; public readonly ImmutableArray VirtualDevices; @@ -55,6 +53,8 @@ private GetConnectionZSideAccessPointResult( string providerConnectionId, + ImmutableArray routers, + string sellerRegion, string type, @@ -71,6 +71,7 @@ private GetConnectionZSideAccessPointResult( Ports = ports; Profiles = profiles; ProviderConnectionId = providerConnectionId; + Routers = routers; SellerRegion = sellerRegion; Type = type; VirtualDevices = virtualDevices; diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointRouterResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointRouterResult.cs new file mode 100644 index 00000000..8dd4f21d --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointRouterResult.cs @@ -0,0 +1,33 @@ +// *** 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 GetConnectionZSideAccessPointRouterResult + { + public readonly string Href; + public readonly string State; + public readonly string Uuid; + + [OutputConstructor] + private GetConnectionZSideAccessPointRouterResult( + string href, + + string state, + + string uuid) + { + Href = href; + State = state; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointVirtualDeviceResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointVirtualDeviceResult.cs index bc459f9f..10c51fe6 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointVirtualDeviceResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointVirtualDeviceResult.cs @@ -13,17 +13,8 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionZSideAccessPointVirtualDeviceResult { - /// - /// Connection URI information - /// public readonly string Href; - /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - /// public readonly string Type; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideServiceTokenResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideServiceTokenResult.cs index 1732d4b2..dde28f7e 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideServiceTokenResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideServiceTokenResult.cs @@ -13,21 +13,9 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetConnectionZSideServiceTokenResult { - /// - /// Customer-provided connection description - /// public readonly string Description; - /// - /// Connection URI information - /// public readonly string Href; - /// - /// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - /// public readonly string Type; - /// - /// Equinix-assigned connection identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetPortDeviceResult.cs b/sdk/dotnet/Fabric/Outputs/GetPortDeviceResult.cs index a16d51f7..22d3d50f 100644 --- a/sdk/dotnet/Fabric/Outputs/GetPortDeviceResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetPortDeviceResult.cs @@ -13,13 +13,7 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetPortDeviceResult { - /// - /// Port name - /// public readonly string Name; - /// - /// Port redundancy information - /// public readonly ImmutableArray Redundancies; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetPortEncapsulationResult.cs b/sdk/dotnet/Fabric/Outputs/GetPortEncapsulationResult.cs index 0c77b834..ac48df48 100644 --- a/sdk/dotnet/Fabric/Outputs/GetPortEncapsulationResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetPortEncapsulationResult.cs @@ -14,9 +14,6 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class GetPortEncapsulationResult { public readonly string TagProtocolId; - /// - /// Port type - /// public readonly string Type; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetPortLocationResult.cs b/sdk/dotnet/Fabric/Outputs/GetPortLocationResult.cs index 8c77ad2d..cd7db160 100644 --- a/sdk/dotnet/Fabric/Outputs/GetPortLocationResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetPortLocationResult.cs @@ -13,9 +13,6 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetPortLocationResult { - /// - /// Port URI information - /// public readonly string Href; public readonly string Ibx; public readonly string MetroCode; diff --git a/sdk/dotnet/Fabric/Outputs/GetPortRedundancyResult.cs b/sdk/dotnet/Fabric/Outputs/GetPortRedundancyResult.cs index 2b1ac8cc..eb248cad 100644 --- a/sdk/dotnet/Fabric/Outputs/GetPortRedundancyResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetPortRedundancyResult.cs @@ -14,14 +14,14 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class GetPortRedundancyResult { public readonly bool Enabled; - public readonly int Group; + public readonly string Group; public readonly string Priority; [OutputConstructor] private GetPortRedundancyResult( bool enabled, - int group, + string group, string priority) { diff --git a/sdk/dotnet/Fabric/Outputs/GetPortsDatumRedundancyResult.cs b/sdk/dotnet/Fabric/Outputs/GetPortsDatumRedundancyResult.cs index 1663783b..1bd068f6 100644 --- a/sdk/dotnet/Fabric/Outputs/GetPortsDatumRedundancyResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetPortsDatumRedundancyResult.cs @@ -14,14 +14,14 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class GetPortsDatumRedundancyResult { public readonly bool Enabled; - public readonly int Group; + public readonly string Group; public readonly string Priority; [OutputConstructor] private GetPortsDatumRedundancyResult( bool enabled, - int group, + string group, string priority) { diff --git a/sdk/dotnet/Fabric/Outputs/GetPortsDatumResult.cs b/sdk/dotnet/Fabric/Outputs/GetPortsDatumResult.cs index 55dfccf8..911e8b66 100644 --- a/sdk/dotnet/Fabric/Outputs/GetPortsDatumResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetPortsDatumResult.cs @@ -21,7 +21,7 @@ public sealed class GetPortsDatumResult public readonly ImmutableArray Devices; public readonly ImmutableArray Encapsulations; public readonly string Href; - public readonly ImmutableArray Lags; + public readonly bool LagEnabled; public readonly ImmutableArray Locations; public readonly string Name; public readonly ImmutableArray Operations; @@ -50,7 +50,7 @@ private GetPortsDatumResult( string href, - ImmutableArray lags, + bool lagEnabled, ImmutableArray locations, @@ -78,7 +78,7 @@ private GetPortsDatumResult( Devices = devices; Encapsulations = encapsulations; Href = href; - Lags = lags; + LagEnabled = lagEnabled; Locations = locations; Name = name; Operations = operations; diff --git a/sdk/dotnet/Fabric/Outputs/GetPortLagResult.cs b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolBfdResult.cs similarity index 59% rename from sdk/dotnet/Fabric/Outputs/GetPortLagResult.cs rename to sdk/dotnet/Fabric/Outputs/GetRoutingProtocolBfdResult.cs index c54e0fbf..f795e46a 100644 --- a/sdk/dotnet/Fabric/Outputs/GetPortLagResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolBfdResult.cs @@ -11,33 +11,25 @@ namespace Pulumi.Equinix.Fabric.Outputs { [OutputType] - public sealed class GetPortLagResult + public sealed class GetRoutingProtocolBfdResult { - public readonly bool Enabled; /// - /// The ID of this resource. + /// Bidirectional Forwarding Detection enablement /// - public readonly string Id; - public readonly string MemberStatus; + public readonly bool Enabled; /// - /// Port name + /// Interval range between the received BFD control packets /// - public readonly string Name; + public readonly string? Interval; [OutputConstructor] - private GetPortLagResult( + private GetRoutingProtocolBfdResult( bool enabled, - string id, - - string memberStatus, - - string name) + string? interval) { Enabled = enabled; - Id = id; - MemberStatus = memberStatus; - Name = name; + Interval = interval; } } } diff --git a/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolBgpIpv4Result.cs b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolBgpIpv4Result.cs new file mode 100644 index 00000000..767a49ff --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolBgpIpv4Result.cs @@ -0,0 +1,42 @@ +// *** 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 GetRoutingProtocolBgpIpv4Result + { + /// + /// Customer side peering ip + /// + public readonly string CustomerPeerIp; + /// + /// Admin status for the BGP session + /// + public readonly bool? Enabled; + /// + /// Equinix side peering ip + /// + public readonly string EquinixPeerIp; + + [OutputConstructor] + private GetRoutingProtocolBgpIpv4Result( + string customerPeerIp, + + bool? enabled, + + string equinixPeerIp) + { + CustomerPeerIp = customerPeerIp; + Enabled = enabled; + EquinixPeerIp = equinixPeerIp; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolBgpIpv6Result.cs b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolBgpIpv6Result.cs new file mode 100644 index 00000000..bab772ae --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolBgpIpv6Result.cs @@ -0,0 +1,42 @@ +// *** 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 GetRoutingProtocolBgpIpv6Result + { + /// + /// Customer side peering ip + /// + public readonly string CustomerPeerIp; + /// + /// Admin status for the BGP session + /// + public readonly bool? Enabled; + /// + /// Equinix side peering ip + /// + public readonly string EquinixPeerIp; + + [OutputConstructor] + private GetRoutingProtocolBgpIpv6Result( + string customerPeerIp, + + bool? enabled, + + string equinixPeerIp) + { + CustomerPeerIp = customerPeerIp; + Enabled = enabled; + EquinixPeerIp = equinixPeerIp; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolChangeLogResult.cs b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolChangeLogResult.cs new file mode 100644 index 00000000..f4b364d7 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolChangeLogResult.cs @@ -0,0 +1,69 @@ +// *** 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 GetRoutingProtocolChangeLogResult + { + public readonly string CreatedBy; + public readonly string CreatedByEmail; + public readonly string CreatedByFullName; + public readonly string CreatedDateTime; + public readonly string DeletedBy; + public readonly string DeletedByEmail; + public readonly string DeletedByFullName; + public readonly string DeletedDateTime; + public readonly string UpdatedBy; + public readonly string UpdatedByEmail; + public readonly string UpdatedByFullName; + public readonly string UpdatedDateTime; + + [OutputConstructor] + private GetRoutingProtocolChangeLogResult( + string createdBy, + + string createdByEmail, + + string createdByFullName, + + string createdDateTime, + + string deletedBy, + + string deletedByEmail, + + string deletedByFullName, + + string deletedDateTime, + + string updatedBy, + + string updatedByEmail, + + string updatedByFullName, + + string updatedDateTime) + { + CreatedBy = createdBy; + CreatedByEmail = createdByEmail; + CreatedByFullName = createdByFullName; + CreatedDateTime = createdDateTime; + DeletedBy = deletedBy; + DeletedByEmail = deletedByEmail; + DeletedByFullName = deletedByFullName; + DeletedDateTime = deletedDateTime; + UpdatedBy = updatedBy; + UpdatedByEmail = updatedByEmail; + UpdatedByFullName = updatedByFullName; + UpdatedDateTime = updatedDateTime; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolChangeResult.cs b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolChangeResult.cs new file mode 100644 index 00000000..e0b6ab85 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolChangeResult.cs @@ -0,0 +1,33 @@ +// *** 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 GetRoutingProtocolChangeResult + { + public readonly string Href; + public readonly string Type; + public readonly string Uuid; + + [OutputConstructor] + private GetRoutingProtocolChangeResult( + string href, + + string type, + + string uuid) + { + Href = href; + Type = type; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolDirectIpv4Result.cs b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolDirectIpv4Result.cs new file mode 100644 index 00000000..25d5bcd7 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolDirectIpv4Result.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 GetRoutingProtocolDirectIpv4Result + { + /// + /// Equinix side Interface IP address + /// + public readonly string EquinixIfaceIp; + + [OutputConstructor] + private GetRoutingProtocolDirectIpv4Result(string equinixIfaceIp) + { + EquinixIfaceIp = equinixIfaceIp; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolDirectIpv6Result.cs b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolDirectIpv6Result.cs new file mode 100644 index 00000000..7364dfd9 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolDirectIpv6Result.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 GetRoutingProtocolDirectIpv6Result + { + /// + /// Equinix side Interface IP address + /// + public readonly string? EquinixIfaceIp; + + [OutputConstructor] + private GetRoutingProtocolDirectIpv6Result(string? equinixIfaceIp) + { + EquinixIfaceIp = equinixIfaceIp; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolOperationErrorAdditionalInfoResult.cs b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolOperationErrorAdditionalInfoResult.cs new file mode 100644 index 00000000..e3c29b5e --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolOperationErrorAdditionalInfoResult.cs @@ -0,0 +1,29 @@ +// *** 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 GetRoutingProtocolOperationErrorAdditionalInfoResult + { + public readonly string Property; + public readonly string Reason; + + [OutputConstructor] + private GetRoutingProtocolOperationErrorAdditionalInfoResult( + string property, + + string reason) + { + Property = property; + Reason = reason; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolOperationErrorResult.cs b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolOperationErrorResult.cs new file mode 100644 index 00000000..f4c3522b --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolOperationErrorResult.cs @@ -0,0 +1,45 @@ +// *** 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 GetRoutingProtocolOperationErrorResult + { + public readonly ImmutableArray AdditionalInfos; + public readonly string CorrelationId; + public readonly string Details; + public readonly string ErrorCode; + public readonly string ErrorMessage; + public readonly string Help; + + [OutputConstructor] + private GetRoutingProtocolOperationErrorResult( + ImmutableArray additionalInfos, + + string correlationId, + + string details, + + string errorCode, + + string errorMessage, + + string help) + { + AdditionalInfos = additionalInfos; + CorrelationId = correlationId; + Details = details; + ErrorCode = errorCode; + ErrorMessage = errorMessage; + Help = help; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolOperationResult.cs b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolOperationResult.cs new file mode 100644 index 00000000..959c9014 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetRoutingProtocolOperationResult.cs @@ -0,0 +1,24 @@ +// *** 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 GetRoutingProtocolOperationResult + { + public readonly ImmutableArray Errors; + + [OutputConstructor] + private GetRoutingProtocolOperationResult(ImmutableArray errors) + { + Errors = errors; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetServiceProfileAccessPointTypeConfigAuthenticationKeyResult.cs b/sdk/dotnet/Fabric/Outputs/GetServiceProfileAccessPointTypeConfigAuthenticationKeyResult.cs index 79a1ef3e..8466998c 100644 --- a/sdk/dotnet/Fabric/Outputs/GetServiceProfileAccessPointTypeConfigAuthenticationKeyResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetServiceProfileAccessPointTypeConfigAuthenticationKeyResult.cs @@ -13,9 +13,6 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetServiceProfileAccessPointTypeConfigAuthenticationKeyResult { - /// - /// User-provided service description - /// public readonly string Description; public readonly string Label; public readonly bool Required; diff --git a/sdk/dotnet/Fabric/Outputs/GetServiceProfileAccessPointTypeConfigResult.cs b/sdk/dotnet/Fabric/Outputs/GetServiceProfileAccessPointTypeConfigResult.cs index 7e4fe820..b74c23fd 100644 --- a/sdk/dotnet/Fabric/Outputs/GetServiceProfileAccessPointTypeConfigResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetServiceProfileAccessPointTypeConfigResult.cs @@ -25,13 +25,7 @@ public sealed class GetServiceProfileAccessPointTypeConfigResult public readonly bool EnableAutoGenerateServiceKey; public readonly ImmutableArray LinkProtocolConfigs; public readonly ImmutableArray SupportedBandwidths; - /// - /// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - /// public readonly string Type; - /// - /// Equinix assigned service profile identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetServiceProfileCustomFieldResult.cs b/sdk/dotnet/Fabric/Outputs/GetServiceProfileCustomFieldResult.cs index 4a01f359..b6334715 100644 --- a/sdk/dotnet/Fabric/Outputs/GetServiceProfileCustomFieldResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetServiceProfileCustomFieldResult.cs @@ -15,9 +15,6 @@ public sealed class GetServiceProfileCustomFieldResult { public readonly bool CaptureInEmail; public readonly string DataType; - /// - /// User-provided service description - /// public readonly string Description; public readonly string Label; public readonly ImmutableArray Options; diff --git a/sdk/dotnet/Fabric/Outputs/GetServiceProfileMarketingInfoProcessStepResult.cs b/sdk/dotnet/Fabric/Outputs/GetServiceProfileMarketingInfoProcessStepResult.cs index f45f1938..5061aaac 100644 --- a/sdk/dotnet/Fabric/Outputs/GetServiceProfileMarketingInfoProcessStepResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetServiceProfileMarketingInfoProcessStepResult.cs @@ -13,9 +13,6 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetServiceProfileMarketingInfoProcessStepResult { - /// - /// User-provided service description - /// public readonly string Description; public readonly string SubTitle; public readonly string Title; diff --git a/sdk/dotnet/Fabric/Outputs/GetServiceProfileMetroResult.cs b/sdk/dotnet/Fabric/Outputs/GetServiceProfileMetroResult.cs index cb57cbbb..c046cbcc 100644 --- a/sdk/dotnet/Fabric/Outputs/GetServiceProfileMetroResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetServiceProfileMetroResult.cs @@ -17,9 +17,6 @@ public sealed class GetServiceProfileMetroResult public readonly string DisplayName; public readonly ImmutableArray Ibxs; public readonly bool InTrail; - /// - /// Customer-assigned service profile name - /// public readonly string Name; public readonly ImmutableDictionary SellerRegions; diff --git a/sdk/dotnet/Fabric/Outputs/GetServiceProfileNotificationResult.cs b/sdk/dotnet/Fabric/Outputs/GetServiceProfileNotificationResult.cs index d0abe95b..1c1e1d21 100644 --- a/sdk/dotnet/Fabric/Outputs/GetServiceProfileNotificationResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetServiceProfileNotificationResult.cs @@ -15,9 +15,6 @@ public sealed class GetServiceProfileNotificationResult { public readonly ImmutableArray Emails; public readonly string SendInterval; - /// - /// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - /// public readonly string Type; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetServiceProfilePortResult.cs b/sdk/dotnet/Fabric/Outputs/GetServiceProfilePortResult.cs index 13082db8..4bd8842d 100644 --- a/sdk/dotnet/Fabric/Outputs/GetServiceProfilePortResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetServiceProfilePortResult.cs @@ -17,13 +17,7 @@ public sealed class GetServiceProfilePortResult public readonly ImmutableArray Locations; public readonly string SellerRegion; public readonly string SellerRegionDescription; - /// - /// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - /// public readonly string Type; - /// - /// Equinix assigned service profile identifier - /// public readonly string Uuid; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/GetServiceProfileProjectResult.cs b/sdk/dotnet/Fabric/Outputs/GetServiceProfileProjectResult.cs index f311429a..5a80e6e3 100644 --- a/sdk/dotnet/Fabric/Outputs/GetServiceProfileProjectResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetServiceProfileProjectResult.cs @@ -13,9 +13,6 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class GetServiceProfileProjectResult { - /// - /// Service Profile URI response attribute - /// public readonly string Href; public readonly string ProjectId; diff --git a/sdk/dotnet/Fabric/Outputs/GetPortsDatumLagResult.cs b/sdk/dotnet/Fabric/Outputs/RoutingProtocolBfd.cs similarity index 58% rename from sdk/dotnet/Fabric/Outputs/GetPortsDatumLagResult.cs rename to sdk/dotnet/Fabric/Outputs/RoutingProtocolBfd.cs index 94cdbe00..1b2679eb 100644 --- a/sdk/dotnet/Fabric/Outputs/GetPortsDatumLagResult.cs +++ b/sdk/dotnet/Fabric/Outputs/RoutingProtocolBfd.cs @@ -11,30 +11,25 @@ namespace Pulumi.Equinix.Fabric.Outputs { [OutputType] - public sealed class GetPortsDatumLagResult + public sealed class RoutingProtocolBfd { + /// + /// Bidirectional Forwarding Detection enablement + /// public readonly bool Enabled; /// - /// The ID of this resource. + /// Interval range between the received BFD control packets /// - public readonly string Id; - public readonly string MemberStatus; - public readonly string Name; + public readonly string? Interval; [OutputConstructor] - private GetPortsDatumLagResult( + private RoutingProtocolBfd( bool enabled, - string id, - - string memberStatus, - - string name) + string? interval) { Enabled = enabled; - Id = id; - MemberStatus = memberStatus; - Name = name; + Interval = interval; } } } diff --git a/sdk/dotnet/Fabric/Outputs/RoutingProtocolBgpIpv4.cs b/sdk/dotnet/Fabric/Outputs/RoutingProtocolBgpIpv4.cs new file mode 100644 index 00000000..70f0c237 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/RoutingProtocolBgpIpv4.cs @@ -0,0 +1,42 @@ +// *** 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 RoutingProtocolBgpIpv4 + { + /// + /// Customer side peering ip + /// + public readonly string CustomerPeerIp; + /// + /// Admin status for the BGP session + /// + public readonly bool? Enabled; + /// + /// Equinix side peering ip + /// + public readonly string? EquinixPeerIp; + + [OutputConstructor] + private RoutingProtocolBgpIpv4( + string customerPeerIp, + + bool? enabled, + + string? equinixPeerIp) + { + CustomerPeerIp = customerPeerIp; + Enabled = enabled; + EquinixPeerIp = equinixPeerIp; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/RoutingProtocolBgpIpv6.cs b/sdk/dotnet/Fabric/Outputs/RoutingProtocolBgpIpv6.cs new file mode 100644 index 00000000..0828310f --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/RoutingProtocolBgpIpv6.cs @@ -0,0 +1,42 @@ +// *** 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 RoutingProtocolBgpIpv6 + { + /// + /// Customer side peering ip + /// + public readonly string CustomerPeerIp; + /// + /// Admin status for the BGP session + /// + public readonly bool? Enabled; + /// + /// Equinix side peering ip + /// + public readonly string? EquinixPeerIp; + + [OutputConstructor] + private RoutingProtocolBgpIpv6( + string customerPeerIp, + + bool? enabled, + + string? equinixPeerIp) + { + CustomerPeerIp = customerPeerIp; + Enabled = enabled; + EquinixPeerIp = equinixPeerIp; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/RoutingProtocolChange.cs b/sdk/dotnet/Fabric/Outputs/RoutingProtocolChange.cs new file mode 100644 index 00000000..6aca2170 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/RoutingProtocolChange.cs @@ -0,0 +1,33 @@ +// *** 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 RoutingProtocolChange + { + public readonly string? Href; + public readonly string? Type; + public readonly string? Uuid; + + [OutputConstructor] + private RoutingProtocolChange( + string? href, + + string? type, + + string? uuid) + { + Href = href; + Type = type; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/RoutingProtocolChangeLog.cs b/sdk/dotnet/Fabric/Outputs/RoutingProtocolChangeLog.cs new file mode 100644 index 00000000..d5c329a7 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/RoutingProtocolChangeLog.cs @@ -0,0 +1,69 @@ +// *** 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 RoutingProtocolChangeLog + { + public readonly string? CreatedBy; + public readonly string? CreatedByEmail; + public readonly string? CreatedByFullName; + public readonly string? CreatedDateTime; + public readonly string? DeletedBy; + public readonly string? DeletedByEmail; + public readonly string? DeletedByFullName; + public readonly string? DeletedDateTime; + public readonly string? UpdatedBy; + public readonly string? UpdatedByEmail; + public readonly string? UpdatedByFullName; + public readonly string? UpdatedDateTime; + + [OutputConstructor] + private RoutingProtocolChangeLog( + string? createdBy, + + string? createdByEmail, + + string? createdByFullName, + + string? createdDateTime, + + string? deletedBy, + + string? deletedByEmail, + + string? deletedByFullName, + + string? deletedDateTime, + + string? updatedBy, + + string? updatedByEmail, + + string? updatedByFullName, + + string? updatedDateTime) + { + CreatedBy = createdBy; + CreatedByEmail = createdByEmail; + CreatedByFullName = createdByFullName; + CreatedDateTime = createdDateTime; + DeletedBy = deletedBy; + DeletedByEmail = deletedByEmail; + DeletedByFullName = deletedByFullName; + DeletedDateTime = deletedDateTime; + UpdatedBy = updatedBy; + UpdatedByEmail = updatedByEmail; + UpdatedByFullName = updatedByFullName; + UpdatedDateTime = updatedDateTime; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/RoutingProtocolDirectIpv4.cs b/sdk/dotnet/Fabric/Outputs/RoutingProtocolDirectIpv4.cs new file mode 100644 index 00000000..0a9a9fe1 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/RoutingProtocolDirectIpv4.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 RoutingProtocolDirectIpv4 + { + /// + /// Equinix side Interface IP address + /// + public readonly string EquinixIfaceIp; + + [OutputConstructor] + private RoutingProtocolDirectIpv4(string equinixIfaceIp) + { + EquinixIfaceIp = equinixIfaceIp; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/RoutingProtocolDirectIpv6.cs b/sdk/dotnet/Fabric/Outputs/RoutingProtocolDirectIpv6.cs new file mode 100644 index 00000000..781dcd7b --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/RoutingProtocolDirectIpv6.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 RoutingProtocolDirectIpv6 + { + /// + /// Equinix side Interface IP address + /// + public readonly string? EquinixIfaceIp; + + [OutputConstructor] + private RoutingProtocolDirectIpv6(string? equinixIfaceIp) + { + EquinixIfaceIp = equinixIfaceIp; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/RoutingProtocolOperation.cs b/sdk/dotnet/Fabric/Outputs/RoutingProtocolOperation.cs new file mode 100644 index 00000000..f694dfe8 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/RoutingProtocolOperation.cs @@ -0,0 +1,24 @@ +// *** 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 RoutingProtocolOperation + { + public readonly ImmutableArray Errors; + + [OutputConstructor] + private RoutingProtocolOperation(ImmutableArray errors) + { + Errors = errors; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/RoutingProtocolOperationError.cs b/sdk/dotnet/Fabric/Outputs/RoutingProtocolOperationError.cs new file mode 100644 index 00000000..e2e0daa1 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/RoutingProtocolOperationError.cs @@ -0,0 +1,45 @@ +// *** 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 RoutingProtocolOperationError + { + public readonly ImmutableArray AdditionalInfos; + public readonly string? CorrelationId; + public readonly string? Details; + public readonly string? ErrorCode; + public readonly string? ErrorMessage; + public readonly string? Help; + + [OutputConstructor] + private RoutingProtocolOperationError( + ImmutableArray additionalInfos, + + string? correlationId, + + string? details, + + string? errorCode, + + string? errorMessage, + + string? help) + { + AdditionalInfos = additionalInfos; + CorrelationId = correlationId; + Details = details; + ErrorCode = errorCode; + ErrorMessage = errorMessage; + Help = help; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/RoutingProtocolOperationErrorAdditionalInfo.cs b/sdk/dotnet/Fabric/Outputs/RoutingProtocolOperationErrorAdditionalInfo.cs new file mode 100644 index 00000000..dd65064a --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/RoutingProtocolOperationErrorAdditionalInfo.cs @@ -0,0 +1,29 @@ +// *** 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 RoutingProtocolOperationErrorAdditionalInfo + { + public readonly string? Property; + public readonly string? Reason; + + [OutputConstructor] + private RoutingProtocolOperationErrorAdditionalInfo( + string? property, + + string? reason) + { + Property = property; + Reason = reason; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/ServiceProfileAccessPointTypeConfigApiConfig.cs b/sdk/dotnet/Fabric/Outputs/ServiceProfileAccessPointTypeConfigApiConfig.cs index 161c448a..2d241d88 100644 --- a/sdk/dotnet/Fabric/Outputs/ServiceProfileAccessPointTypeConfigApiConfig.cs +++ b/sdk/dotnet/Fabric/Outputs/ServiceProfileAccessPointTypeConfigApiConfig.cs @@ -13,12 +13,33 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class ServiceProfileAccessPointTypeConfigApiConfig { + /// + /// Setting showing that oversubscription support is available (true) or not (false). The default is false + /// public readonly bool? AllowOverSubscription; + /// + /// Setting indicating whether the API is available (true) or not (false) + /// public readonly bool? ApiAvailable; + /// + /// Bandwidth from api + /// public readonly bool? BandwidthFromApi; + /// + /// Setting indicating that the port is managed by Equinix (true) or not (false) + /// public readonly bool? EquinixManagedPort; + /// + /// Setting indicating that the VLAN is managed by Equinix (true) or not (false) + /// public readonly bool? EquinixManagedVlan; + /// + /// Integration id + /// public readonly string? IntegrationId; + /// + /// A cap on over subscription + /// public readonly int? OverSubscriptionLimit; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ServiceProfileAccessPointTypeConfigAuthenticationKey.cs b/sdk/dotnet/Fabric/Outputs/ServiceProfileAccessPointTypeConfigAuthenticationKey.cs index ebb72f2c..c0775b74 100644 --- a/sdk/dotnet/Fabric/Outputs/ServiceProfileAccessPointTypeConfigAuthenticationKey.cs +++ b/sdk/dotnet/Fabric/Outputs/ServiceProfileAccessPointTypeConfigAuthenticationKey.cs @@ -14,10 +14,16 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ServiceProfileAccessPointTypeConfigAuthenticationKey { /// - /// User-provided service description + /// Description /// public readonly string? Description; + /// + /// Label + /// public readonly string? Label; + /// + /// Required + /// public readonly bool? Required; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfig.cs b/sdk/dotnet/Fabric/Outputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfig.cs index f099946e..be5849a6 100644 --- a/sdk/dotnet/Fabric/Outputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfig.cs +++ b/sdk/dotnet/Fabric/Outputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfig.cs @@ -13,8 +13,17 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class ServiceProfileAccessPointTypeConfigLinkProtocolConfig { + /// + /// Port Encapsulation + /// public readonly string? Encapsulation; + /// + /// Encapsulation strategy + /// public readonly string? EncapsulationStrategy; + /// + /// Reuse vlan sTag + /// public readonly bool? ReuseVlanSTag; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ServiceProfileMarketingInfoProcessStep.cs b/sdk/dotnet/Fabric/Outputs/ServiceProfileMarketingInfoProcessStep.cs index 87122653..35d19664 100644 --- a/sdk/dotnet/Fabric/Outputs/ServiceProfileMarketingInfoProcessStep.cs +++ b/sdk/dotnet/Fabric/Outputs/ServiceProfileMarketingInfoProcessStep.cs @@ -14,10 +14,16 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class ServiceProfileMarketingInfoProcessStep { /// - /// User-provided service description + /// Description /// public readonly string? Description; + /// + /// Sub Title + /// public readonly string? SubTitle; + /// + /// Title + /// public readonly string? Title; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ServiceProfilePortLocation.cs b/sdk/dotnet/Fabric/Outputs/ServiceProfilePortLocation.cs index 5f879400..586531a9 100644 --- a/sdk/dotnet/Fabric/Outputs/ServiceProfilePortLocation.cs +++ b/sdk/dotnet/Fabric/Outputs/ServiceProfilePortLocation.cs @@ -13,9 +13,21 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class ServiceProfilePortLocation { + /// + /// IBX Code + /// public readonly string? Ibx; + /// + /// Access point metro code + /// public readonly string? MetroCode; + /// + /// Access point metro name + /// public readonly string? MetroName; + /// + /// Access point region + /// public readonly string? Region; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/Outputs/ServiceProfileVirtualDeviceLocation.cs b/sdk/dotnet/Fabric/Outputs/ServiceProfileVirtualDeviceLocation.cs index 6241b1cb..049e3cd2 100644 --- a/sdk/dotnet/Fabric/Outputs/ServiceProfileVirtualDeviceLocation.cs +++ b/sdk/dotnet/Fabric/Outputs/ServiceProfileVirtualDeviceLocation.cs @@ -13,9 +13,21 @@ namespace Pulumi.Equinix.Fabric.Outputs [OutputType] public sealed class ServiceProfileVirtualDeviceLocation { + /// + /// IBX Code + /// public readonly string? Ibx; + /// + /// Access point metro code + /// public readonly string? MetroCode; + /// + /// Access point metro name + /// public readonly string? MetroName; + /// + /// Access point region + /// public readonly string? Region; [OutputConstructor] diff --git a/sdk/dotnet/Fabric/RoutingProtocol.cs b/sdk/dotnet/Fabric/RoutingProtocol.cs new file mode 100644 index 00000000..c596c9d1 --- /dev/null +++ b/sdk/dotnet/Fabric/RoutingProtocol.cs @@ -0,0 +1,413 @@ +// *** 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 +{ + /// + /// ## Example Usage + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Equinix = Pulumi.Equinix; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var config = new Config(); + /// var connectionId = config.Require("connectionId"); + /// var routingProtocol = new Equinix.Fabric.RoutingProtocol("RoutingProtocol", new() + /// { + /// ConnectionUuid = connectionId, + /// Name = "My-Direct-route-1", + /// Type = "DIRECT", + /// DirectIpv4 = new Equinix.Fabric.Inputs.RoutingProtocolDirectIpv4Args + /// { + /// EquinixIfaceIp = "192.168.100.1/30", + /// }, + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["routingProtocolId"] = routingProtocol.Id, + /// ["routingProtocolState"] = routingProtocol.State, + /// ["routingProtocolEquinixAsn"] = routingProtocol.EquinixAsn, + /// }; + /// }); + /// ``` + /// + [EquinixResourceType("equinix:fabric/routingProtocol:RoutingProtocol")] + public partial class RoutingProtocol : global::Pulumi.CustomResource + { + /// + /// Bidirectional Forwarding Detection + /// + [Output("bfd")] + public Output Bfd { get; private set; } = null!; + + /// + /// BGP authorization key + /// + [Output("bgpAuthKey")] + public Output BgpAuthKey { get; private set; } = null!; + + /// + /// Routing Protocol BGP IPv4 + /// + [Output("bgpIpv4")] + public Output BgpIpv4 { get; private set; } = null!; + + /// + /// Routing Protocol BGP IPv6 + /// + [Output("bgpIpv6")] + public Output BgpIpv6 { get; private set; } = null!; + + /// + /// Captures Routing Protocol lifecycle change information + /// + [Output("changeLogs")] + public Output> ChangeLogs { get; private set; } = null!; + + /// + /// Routing Protocol configuration Changes + /// + [Output("changes")] + public Output> Changes { get; private set; } = null!; + + /// + /// Connection URI associated with Routing Protocol + /// + [Output("connectionUuid")] + public Output ConnectionUuid { get; private set; } = null!; + + /// + /// Customer-provided ASN + /// + [Output("customerAsn")] + public Output CustomerAsn { get; private set; } = null!; + + /// + /// Customer-provided Fabric Routing Protocol description + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// Routing Protocol Direct IPv4 + /// + [Output("directIpv4")] + public Output DirectIpv4 { get; private set; } = null!; + + /// + /// Routing Protocol Direct IPv6 + /// + [Output("directIpv6")] + public Output DirectIpv6 { get; private set; } = null!; + + /// + /// Equinix ASN + /// + [Output("equinixAsn")] + public Output EquinixAsn { get; private set; } = null!; + + /// + /// Routing Protocol URI information + /// + [Output("href")] + public Output Href { get; private set; } = null!; + + /// + /// Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Routing Protocol type-specific operational data + /// + [Output("operations")] + public Output> Operations { get; private set; } = null!; + + /// + /// Routing Protocol overall state + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// Defines the routing protocol type like BGP or DIRECT + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Equinix-assigned routing protocol identifier + /// + [Output("uuid")] + public Output Uuid { get; private set; } = null!; + + + /// + /// Create a RoutingProtocol resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public RoutingProtocol(string name, RoutingProtocolArgs args, CustomResourceOptions? options = null) + : base("equinix:fabric/routingProtocol:RoutingProtocol", name, args ?? new RoutingProtocolArgs(), MakeResourceOptions(options, "")) + { + } + + private RoutingProtocol(string name, Input id, RoutingProtocolState? state = null, CustomResourceOptions? options = null) + : base("equinix:fabric/routingProtocol:RoutingProtocol", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/equinix", + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing RoutingProtocol resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static RoutingProtocol Get(string name, Input id, RoutingProtocolState? state = null, CustomResourceOptions? options = null) + { + return new RoutingProtocol(name, id, state, options); + } + } + + public sealed class RoutingProtocolArgs : global::Pulumi.ResourceArgs + { + /// + /// Bidirectional Forwarding Detection + /// + [Input("bfd")] + public Input? Bfd { get; set; } + + /// + /// BGP authorization key + /// + [Input("bgpAuthKey")] + public Input? BgpAuthKey { get; set; } + + /// + /// Routing Protocol BGP IPv4 + /// + [Input("bgpIpv4")] + public Input? BgpIpv4 { get; set; } + + /// + /// Routing Protocol BGP IPv6 + /// + [Input("bgpIpv6")] + public Input? BgpIpv6 { get; set; } + + /// + /// Connection URI associated with Routing Protocol + /// + [Input("connectionUuid", required: true)] + public Input ConnectionUuid { get; set; } = null!; + + /// + /// Customer-provided ASN + /// + [Input("customerAsn")] + public Input? CustomerAsn { get; set; } + + /// + /// Customer-provided Fabric Routing Protocol description + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Routing Protocol Direct IPv4 + /// + [Input("directIpv4")] + public Input? DirectIpv4 { get; set; } + + /// + /// Routing Protocol Direct IPv6 + /// + [Input("directIpv6")] + public Input? DirectIpv6 { get; set; } + + /// + /// Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Defines the routing protocol type like BGP or DIRECT + /// + [Input("type")] + public Input? Type { get; set; } + + /// + /// Equinix-assigned routing protocol identifier + /// + [Input("uuid")] + public Input? Uuid { get; set; } + + public RoutingProtocolArgs() + { + } + public static new RoutingProtocolArgs Empty => new RoutingProtocolArgs(); + } + + public sealed class RoutingProtocolState : global::Pulumi.ResourceArgs + { + /// + /// Bidirectional Forwarding Detection + /// + [Input("bfd")] + public Input? Bfd { get; set; } + + /// + /// BGP authorization key + /// + [Input("bgpAuthKey")] + public Input? BgpAuthKey { get; set; } + + /// + /// Routing Protocol BGP IPv4 + /// + [Input("bgpIpv4")] + public Input? BgpIpv4 { get; set; } + + /// + /// Routing Protocol BGP IPv6 + /// + [Input("bgpIpv6")] + public Input? BgpIpv6 { get; set; } + + [Input("changeLogs")] + private InputList? _changeLogs; + + /// + /// Captures Routing Protocol lifecycle change information + /// + public InputList ChangeLogs + { + get => _changeLogs ?? (_changeLogs = new InputList()); + set => _changeLogs = value; + } + + [Input("changes")] + private InputList? _changes; + + /// + /// Routing Protocol configuration Changes + /// + public InputList Changes + { + get => _changes ?? (_changes = new InputList()); + set => _changes = value; + } + + /// + /// Connection URI associated with Routing Protocol + /// + [Input("connectionUuid")] + public Input? ConnectionUuid { get; set; } + + /// + /// Customer-provided ASN + /// + [Input("customerAsn")] + public Input? CustomerAsn { get; set; } + + /// + /// Customer-provided Fabric Routing Protocol description + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Routing Protocol Direct IPv4 + /// + [Input("directIpv4")] + public Input? DirectIpv4 { get; set; } + + /// + /// Routing Protocol Direct IPv6 + /// + [Input("directIpv6")] + public Input? DirectIpv6 { get; set; } + + /// + /// Equinix ASN + /// + [Input("equinixAsn")] + public Input? EquinixAsn { get; set; } + + /// + /// Routing Protocol URI information + /// + [Input("href")] + public Input? Href { get; set; } + + /// + /// Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("operations")] + private InputList? _operations; + + /// + /// Routing Protocol type-specific operational data + /// + public InputList Operations + { + get => _operations ?? (_operations = new InputList()); + set => _operations = value; + } + + /// + /// Routing Protocol overall state + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// Defines the routing protocol type like BGP or DIRECT + /// + [Input("type")] + public Input? Type { get; set; } + + /// + /// Equinix-assigned routing protocol identifier + /// + [Input("uuid")] + public Input? Uuid { get; set; } + + public RoutingProtocolState() + { + } + public static new RoutingProtocolState Empty => new RoutingProtocolState(); + } +} diff --git a/sdk/dotnet/Fabric/ServiceProfile.cs b/sdk/dotnet/Fabric/ServiceProfile.cs index 49c73852..43de3ea4 100644 --- a/sdk/dotnet/Fabric/ServiceProfile.cs +++ b/sdk/dotnet/Fabric/ServiceProfile.cs @@ -114,13 +114,13 @@ public partial class ServiceProfile : global::Pulumi.CustomResource public Output> CustomFields { get; private set; } = null!; /// - /// User-provided service description + /// Description /// [Output("description")] public Output Description { get; private set; } = null!; /// - /// Service Profile URI response attribute + /// Unique Resource URL /// [Output("href")] public Output Href { get; private set; } = null!; @@ -138,7 +138,7 @@ public partial class ServiceProfile : global::Pulumi.CustomResource public Output> Metros { get; private set; } = null!; /// - /// Customer-assigned service profile name + /// Metro Name /// [Output("name")] public Output Name { get; private set; } = null!; @@ -180,13 +180,13 @@ 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 + /// Type of access point type config - VD, COLO /// [Output("type")] public Output Type { get; private set; } = null!; /// - /// Equinix assigned service profile identifier + /// Colo/Port Uuid /// [Output("uuid")] public Output Uuid { get; private set; } = null!; @@ -293,7 +293,7 @@ public InputList CustomFields } /// - /// User-provided service description + /// Description /// [Input("description", required: true)] public Input Description { get; set; } = null!; @@ -317,7 +317,7 @@ public InputList Metros } /// - /// Customer-assigned service profile name + /// Metro Name /// [Input("name")] public Input? Name { get; set; } @@ -377,7 +377,7 @@ public InputList Tags } /// - /// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + /// Type of access point type config - VD, COLO /// [Input("type", required: true)] public InputUnion Type { get; set; } = null!; @@ -457,13 +457,13 @@ public InputList CustomFields } /// - /// User-provided service description + /// Description /// [Input("description")] public Input? Description { get; set; } /// - /// Service Profile URI response attribute + /// Unique Resource URL /// [Input("href")] public Input? Href { get; set; } @@ -487,7 +487,7 @@ public InputList Metros } /// - /// Customer-assigned service profile name + /// Metro Name /// [Input("name")] public Input? Name { get; set; } @@ -547,13 +547,13 @@ public InputList Tags } /// - /// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + /// Type of access point type config - VD, COLO /// [Input("type")] public InputUnion? Type { get; set; } /// - /// Equinix assigned service profile identifier + /// Colo/Port Uuid /// [Input("uuid")] public Input? Uuid { get; set; } diff --git a/sdk/dotnet/Metal/Device.cs b/sdk/dotnet/Metal/Device.cs index 9ab03567..f8b55e38 100644 --- a/sdk/dotnet/Metal/Device.cs +++ b/sdk/dotnet/Metal/Device.cs @@ -101,7 +101,7 @@ public partial class Device : global::Pulumi.CustomResource public Output CustomData { get; private set; } = null!; /// - /// The facility where the device is deployed + /// (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide /// [Output("deployedFacility")] public Output DeployedFacility { get; private set; } = null!; @@ -120,10 +120,11 @@ public partial class Device : global::Pulumi.CustomResource public Output Description { get; private set; } = null!; /// - /// List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - /// device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - /// code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - /// top of the page and see JSON from the API response. Conflicts with metro + /// List of facility codes with deployment preferences. Equinix Metal API will go + /// through the list and will deploy your device to first facility with free capacity. List items must + /// be facility codes or `any` (a wildcard). To find the facility code, visit + /// [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + /// token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide /// [Output("facilities")] public Output> Facilities { get; private set; } = null!; @@ -224,10 +225,7 @@ public partial class Device : global::Pulumi.CustomResource public Output ProjectId { get; private set; } = null!; /// - /// Array of IDs of the project SSH keys which should be added to the device. - /// If you omit this, SSH keys of all the members of the parent project will be added to the device. If - /// you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - /// created with the equinix.metal.ProjectSshKey resource. + /// Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. /// [Output("projectSshKeyIds")] public Output> ProjectSshKeyIds { get; private set; } = null!; @@ -294,7 +292,7 @@ public partial class Device : global::Pulumi.CustomResource public Output UserData { get; private set; } = null!; /// - /// Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + /// Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. /// [Output("userSshKeyIds")] public Output> UserSshKeyIds { get; private set; } = null!; @@ -405,10 +403,11 @@ public Input? CustomData private InputList>? _facilities; /// - /// List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - /// device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - /// code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - /// top of the page and see JSON from the API response. Conflicts with metro + /// List of facility codes with deployment preferences. Equinix Metal API will go + /// through the list and will deploy your device to first facility with free capacity. List items must + /// be facility codes or `any` (a wildcard). To find the facility code, visit + /// [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + /// token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide /// [Obsolete(@"Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices")] public InputList> Facilities @@ -490,10 +489,7 @@ public InputList IpAddresses private InputList? _projectSshKeyIds; /// - /// Array of IDs of the project SSH keys which should be added to the device. - /// If you omit this, SSH keys of all the members of the parent project will be added to the device. If - /// you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - /// created with the equinix.metal.ProjectSshKey resource. + /// Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. /// public InputList ProjectSshKeyIds { @@ -558,7 +554,7 @@ public Input? UserData private InputList? _userSshKeyIds; /// - /// Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + /// Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. /// public InputList UserSshKeyIds { @@ -642,7 +638,7 @@ public Input? CustomData } /// - /// The facility where the device is deployed + /// (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide /// [Input("deployedFacility")] public Input? DeployedFacility { get; set; } @@ -664,10 +660,11 @@ public Input? CustomData private InputList>? _facilities; /// - /// List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - /// device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - /// code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - /// top of the page and see JSON from the API response. Conflicts with metro + /// List of facility codes with deployment preferences. Equinix Metal API will go + /// through the list and will deploy your device to first facility with free capacity. List items must + /// be facility codes or `any` (a wildcard). To find the facility code, visit + /// [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + /// token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide /// [Obsolete(@"Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices")] public InputList> Facilities @@ -793,10 +790,7 @@ public InputList Ports private InputList? _projectSshKeyIds; /// - /// Array of IDs of the project SSH keys which should be added to the device. - /// If you omit this, SSH keys of all the members of the parent project will be added to the device. If - /// you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - /// created with the equinix.metal.ProjectSshKey resource. + /// Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. /// public InputList ProjectSshKeyIds { @@ -901,7 +895,7 @@ public Input? UserData private InputList? _userSshKeyIds; /// - /// Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + /// Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. /// public InputList UserSshKeyIds { diff --git a/sdk/dotnet/Metal/GetDevice.cs b/sdk/dotnet/Metal/GetDevice.cs index 5f82f28f..e796f34b 100644 --- a/sdk/dotnet/Metal/GetDevice.cs +++ b/sdk/dotnet/Metal/GetDevice.cs @@ -12,7 +12,9 @@ namespace Pulumi.Equinix.Metal public static class GetDevice { /// - /// Provides an Equinix Metal device datasource. + /// The datasource can be used to fetch a single device. + /// + /// If you need to fetch a list of devices which meet filter criteria, you can use the equinix.metal.getDevices datasource. /// /// > **Note:** All arguments including the `root_password` and `user_data` will be stored in /// the raw state as plain-text. @@ -24,6 +26,7 @@ public static class GetDevice /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -44,6 +47,7 @@ public static class GetDevice /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -67,7 +71,9 @@ public static Task InvokeAsync(GetDeviceArgs? args = null, Invo => global::Pulumi.Deployment.Instance.InvokeAsync("equinix:metal/getDevice:getDevice", args ?? new GetDeviceArgs(), options.WithDefaults()); /// - /// Provides an Equinix Metal device datasource. + /// The datasource can be used to fetch a single device. + /// + /// If you need to fetch a list of devices which meet filter criteria, you can use the equinix.metal.getDevices datasource. /// /// > **Note:** All arguments including the `root_password` and `user_data` will be stored in /// the raw state as plain-text. @@ -79,6 +85,7 @@ public static Task InvokeAsync(GetDeviceArgs? args = null, Invo /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -99,6 +106,7 @@ public static Task InvokeAsync(GetDeviceArgs? args = null, Invo /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -127,6 +135,8 @@ public sealed class GetDeviceArgs : global::Pulumi.InvokeArgs { /// /// Device ID. + /// + /// > **NOTE:** You should pass either `device_id`, or both `project_id` and `hostname`. /// [Input("deviceId")] public string? DeviceId { get; set; } @@ -153,6 +163,8 @@ public sealed class GetDeviceInvokeArgs : global::Pulumi.InvokeArgs { /// /// Device ID. + /// + /// > **NOTE:** You should pass either `device_id`, or both `project_id` and `hostname`. /// [Input("deviceId")] public Input? DeviceId { get; set; } @@ -201,6 +213,9 @@ public sealed class GetDeviceResult /// public readonly string Description; public readonly string DeviceId; + /// + /// (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide + /// public readonly string Facility; /// /// The id of hardware reservation which this device occupies. diff --git a/sdk/dotnet/Metal/GetDeviceBgpNeighbors.cs b/sdk/dotnet/Metal/GetDeviceBgpNeighbors.cs index a32e531b..c7bca5fc 100644 --- a/sdk/dotnet/Metal/GetDeviceBgpNeighbors.cs +++ b/sdk/dotnet/Metal/GetDeviceBgpNeighbors.cs @@ -26,6 +26,7 @@ public static class GetDeviceBgpNeighbors /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -63,6 +64,7 @@ public static Task InvokeAsync(GetDeviceBgpNeighbor /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// diff --git a/sdk/dotnet/Metal/GetDevices.cs b/sdk/dotnet/Metal/GetDevices.cs new file mode 100644 index 00000000..28a8d47f --- /dev/null +++ b/sdk/dotnet/Metal/GetDevices.cs @@ -0,0 +1,305 @@ +// *** 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.Metal +{ + public static class GetDevices + { + /// + /// The datasource can be used to find a list of devices which meet filter criteria. + /// + /// If you need to fetch a single device by ID or by project ID and hostname, use the equinix.metal.Device datasource. + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Equinix = Pulumi.Equinix; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Equinix.Metal.GetDevices.Invoke(new() + /// { + /// ProjectId = local.Project_id, + /// Filters = new[] + /// { + /// new Equinix.Metal.Inputs.GetDevicesFilterInputArgs + /// { + /// Attribute = "plan", + /// Values = new[] + /// { + /// "c3.small.x86", + /// }, + /// }, + /// new Equinix.Metal.Inputs.GetDevicesFilterInputArgs + /// { + /// Attribute = "metro", + /// Values = new[] + /// { + /// "da", + /// "sv", + /// }, + /// }, + /// }, + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["devices"] = example.Apply(getDevicesResult => getDevicesResult.Devices), + /// }; + /// }); + /// ``` + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Equinix = Pulumi.Equinix; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Equinix.Metal.GetDevices.Invoke(new() + /// { + /// Search = "database", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["devices"] = example.Apply(getDevicesResult => getDevicesResult.Devices), + /// }; + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// ## search vs filter + /// + /// The difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The "filter" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider. + /// + public static Task InvokeAsync(GetDevicesArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("equinix:metal/getDevices:getDevices", args ?? new GetDevicesArgs(), options.WithDefaults()); + + /// + /// The datasource can be used to find a list of devices which meet filter criteria. + /// + /// If you need to fetch a single device by ID or by project ID and hostname, use the equinix.metal.Device datasource. + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Equinix = Pulumi.Equinix; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Equinix.Metal.GetDevices.Invoke(new() + /// { + /// ProjectId = local.Project_id, + /// Filters = new[] + /// { + /// new Equinix.Metal.Inputs.GetDevicesFilterInputArgs + /// { + /// Attribute = "plan", + /// Values = new[] + /// { + /// "c3.small.x86", + /// }, + /// }, + /// new Equinix.Metal.Inputs.GetDevicesFilterInputArgs + /// { + /// Attribute = "metro", + /// Values = new[] + /// { + /// "da", + /// "sv", + /// }, + /// }, + /// }, + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["devices"] = example.Apply(getDevicesResult => getDevicesResult.Devices), + /// }; + /// }); + /// ``` + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Equinix = Pulumi.Equinix; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Equinix.Metal.GetDevices.Invoke(new() + /// { + /// Search = "database", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["devices"] = example.Apply(getDevicesResult => getDevicesResult.Devices), + /// }; + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// ## search vs filter + /// + /// The difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The "filter" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider. + /// + public static Output Invoke(GetDevicesInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("equinix:metal/getDevices:getDevices", args ?? new GetDevicesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDevicesArgs : global::Pulumi.InvokeArgs + { + [Input("filters")] + private List? _filters; + + /// + /// One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource. + /// + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// ID of organization containing the devices. + /// + [Input("organizationId")] + public string? OrganizationId { get; set; } + + /// + /// ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + /// + [Input("projectId")] + public string? ProjectId { get; set; } + + /// + /// Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + /// + [Input("search")] + public string? Search { get; set; } + + [Input("sorts")] + private List? _sorts; + public List Sorts + { + get => _sorts ?? (_sorts = new List()); + set => _sorts = value; + } + + public GetDevicesArgs() + { + } + public static new GetDevicesArgs Empty => new GetDevicesArgs(); + } + + public sealed class GetDevicesInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("filters")] + private InputList? _filters; + + /// + /// One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource. + /// + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// ID of organization containing the devices. + /// + [Input("organizationId")] + public Input? OrganizationId { get; set; } + + /// + /// ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + /// + [Input("projectId")] + public Input? ProjectId { get; set; } + + /// + /// Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + /// + [Input("search")] + public Input? Search { get; set; } + + [Input("sorts")] + private InputList? _sorts; + public InputList Sorts + { + get => _sorts ?? (_sorts = new InputList()); + set => _sorts = value; + } + + public GetDevicesInvokeArgs() + { + } + public static new GetDevicesInvokeArgs Empty => new GetDevicesInvokeArgs(); + } + + + [OutputType] + public sealed class GetDevicesResult + { + /// + /// list of resources with attributes like in the equninix_metal_device datasources. + /// + public readonly ImmutableArray Devices; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? OrganizationId; + public readonly string? ProjectId; + public readonly string? Search; + public readonly ImmutableArray Sorts; + + [OutputConstructor] + private GetDevicesResult( + ImmutableArray devices, + + ImmutableArray filters, + + string id, + + string? organizationId, + + string? projectId, + + string? search, + + ImmutableArray sorts) + { + Devices = devices; + Filters = filters; + Id = id; + OrganizationId = organizationId; + ProjectId = projectId; + Search = search; + Sorts = sorts; + } + } +} diff --git a/sdk/dotnet/Metal/GetFacility.cs b/sdk/dotnet/Metal/GetFacility.cs index 1591a087..b38846ff 100644 --- a/sdk/dotnet/Metal/GetFacility.cs +++ b/sdk/dotnet/Metal/GetFacility.cs @@ -11,9 +11,19 @@ namespace Pulumi.Equinix.Metal { public static class GetFacility { + /// + /// > **Deprecated** Use `equinix.metal.getMetro` instead. For more information, refer to the facility to metro migration guide. + /// + /// Provides an Equinix Metal facility datasource. + /// public static Task InvokeAsync(GetFacilityArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("equinix:metal/getFacility:getFacility", args ?? new GetFacilityArgs(), options.WithDefaults()); + /// + /// > **Deprecated** Use `equinix.metal.getMetro` instead. For more information, refer to the facility to metro migration guide. + /// + /// Provides an Equinix Metal facility datasource. + /// public static Output Invoke(GetFacilityInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("equinix:metal/getFacility:getFacility", args ?? new GetFacilityInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/Metal/GetGateway.cs b/sdk/dotnet/Metal/GetGateway.cs index 5b6dc8bb..3866c232 100644 --- a/sdk/dotnet/Metal/GetGateway.cs +++ b/sdk/dotnet/Metal/GetGateway.cs @@ -22,6 +22,7 @@ public static class GetGateway /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -59,6 +60,7 @@ public static Task InvokeAsync(GetGatewayArgs args, InvokeOpti /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// diff --git a/sdk/dotnet/Metal/GetHardwareReservation.cs b/sdk/dotnet/Metal/GetHardwareReservation.cs index 3039e570..fcc0e81c 100644 --- a/sdk/dotnet/Metal/GetHardwareReservation.cs +++ b/sdk/dotnet/Metal/GetHardwareReservation.cs @@ -22,6 +22,7 @@ public static class GetHardwareReservation /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -56,6 +57,7 @@ public static Task InvokeAsync(GetHardwareReservat /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -129,6 +131,9 @@ public sealed class GetHardwareReservationResult /// UUID of device occupying the reservation. /// public readonly string DeviceId; + /// + /// (**Deprecated**) Facility for the reservation. Use metro instead; read the facility to metro migration guide + /// public readonly string Facility; /// /// ID of the hardware reservation to look up. diff --git a/sdk/dotnet/Metal/GetInterconnection.cs b/sdk/dotnet/Metal/GetInterconnection.cs index 676ceecd..1fc3a3f2 100644 --- a/sdk/dotnet/Metal/GetInterconnection.cs +++ b/sdk/dotnet/Metal/GetInterconnection.cs @@ -22,6 +22,7 @@ public static class GetInterconnection /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -51,6 +52,7 @@ public static Task InvokeAsync(GetInterconnectionArgs /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -105,9 +107,16 @@ public sealed class GetInterconnectionResult { public readonly string ConnectionId; /// + /// The preferred email used for communication and notifications about the Equinix Fabric interconnection. + /// + public readonly string ContactEmail; + /// /// Description of the connection resource. /// public readonly string Description; + /// + /// (**Deprecated**) Slug of a facility to which the connection belongs. Use metro instead; read the facility to metro migration guide + /// public readonly string Facility; /// /// The provider-assigned unique ID for this managed resource. @@ -178,6 +187,8 @@ public sealed class GetInterconnectionResult private GetInterconnectionResult( string connectionId, + string contactEmail, + string description, string facility, @@ -215,6 +226,7 @@ private GetInterconnectionResult( ImmutableArray vlans) { ConnectionId = connectionId; + ContactEmail = contactEmail; Description = description; Facility = facility; Id = id; diff --git a/sdk/dotnet/Metal/GetIpBlockRanges.cs b/sdk/dotnet/Metal/GetIpBlockRanges.cs index c7407034..eda4037c 100644 --- a/sdk/dotnet/Metal/GetIpBlockRanges.cs +++ b/sdk/dotnet/Metal/GetIpBlockRanges.cs @@ -24,6 +24,7 @@ public static class GetIpBlockRanges /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -61,6 +62,7 @@ public static Task InvokeAsync(GetIpBlockRangesArgs args /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -89,6 +91,10 @@ public static Output Invoke(GetIpBlockRangesInvokeArgs a public sealed class GetIpBlockRangesArgs : global::Pulumi.InvokeArgs { + /// + /// Facility code filtering the IP blocks. Global IPv4 blocks will be listed + /// anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide + /// [Input("facility")] public string? Facility { get; set; } @@ -113,6 +119,10 @@ public GetIpBlockRangesArgs() public sealed class GetIpBlockRangesInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// Facility code filtering the IP blocks. Global IPv4 blocks will be listed + /// anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide + /// [Input("facility")] public Input? Facility { get; set; } diff --git a/sdk/dotnet/Metal/GetOperatingSystem.cs b/sdk/dotnet/Metal/GetOperatingSystem.cs index f829b0f0..53e99a2a 100644 --- a/sdk/dotnet/Metal/GetOperatingSystem.cs +++ b/sdk/dotnet/Metal/GetOperatingSystem.cs @@ -20,6 +20,7 @@ public static class GetOperatingSystem /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -59,6 +60,7 @@ public static Task InvokeAsync(GetOperatingSystemArgs? /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// diff --git a/sdk/dotnet/Metal/GetOrganization.cs b/sdk/dotnet/Metal/GetOrganization.cs index 5423b767..5fb53ea2 100644 --- a/sdk/dotnet/Metal/GetOrganization.cs +++ b/sdk/dotnet/Metal/GetOrganization.cs @@ -20,6 +20,7 @@ public static class GetOrganization /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -51,6 +52,7 @@ public static Task InvokeAsync(GetOrganizationArgs? args /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -85,6 +87,8 @@ public sealed class GetOrganizationArgs : global::Pulumi.InvokeArgs /// /// The UUID of the organization resource. + /// + /// Exactly one of `name` or `organization_id` must be given. /// [Input("organizationId")] public string? OrganizationId { get; set; } @@ -105,6 +109,8 @@ public sealed class GetOrganizationInvokeArgs : global::Pulumi.InvokeArgs /// /// The UUID of the organization resource. + /// + /// Exactly one of `name` or `organization_id` must be given. /// [Input("organizationId")] public Input? OrganizationId { get; set; } diff --git a/sdk/dotnet/Metal/GetPort.cs b/sdk/dotnet/Metal/GetPort.cs index 185af6db..ebb6e285 100644 --- a/sdk/dotnet/Metal/GetPort.cs +++ b/sdk/dotnet/Metal/GetPort.cs @@ -23,6 +23,7 @@ public static class GetPort /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -66,6 +67,7 @@ public static Task InvokeAsync(GetPortArgs? args = null, InvokeOp /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// diff --git a/sdk/dotnet/Metal/GetPrecreatedIpBlock.cs b/sdk/dotnet/Metal/GetPrecreatedIpBlock.cs index 00824268..64917afa 100644 --- a/sdk/dotnet/Metal/GetPrecreatedIpBlock.cs +++ b/sdk/dotnet/Metal/GetPrecreatedIpBlock.cs @@ -47,6 +47,9 @@ public sealed class GetPrecreatedIpBlockArgs : global::Pulumi.InvokeArgs [Input("addressFamily", required: true)] public int AddressFamily { get; set; } + /// + /// Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide + /// [Input("facility")] public string? Facility { get; set; } @@ -88,6 +91,9 @@ public sealed class GetPrecreatedIpBlockInvokeArgs : global::Pulumi.InvokeArgs [Input("addressFamily", required: true)] public Input AddressFamily { get; set; } = null!; + /// + /// Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide + /// [Input("facility")] public Input? Facility { get; set; } diff --git a/sdk/dotnet/Metal/GetProject.cs b/sdk/dotnet/Metal/GetProject.cs index b2bb7f10..a31c2fdc 100644 --- a/sdk/dotnet/Metal/GetProject.cs +++ b/sdk/dotnet/Metal/GetProject.cs @@ -20,6 +20,7 @@ public static class GetProject /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -51,6 +52,7 @@ public static Task InvokeAsync(GetProjectArgs? args = null, In /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// diff --git a/sdk/dotnet/Metal/GetProjectSshKey.cs b/sdk/dotnet/Metal/GetProjectSshKey.cs index e22b285f..cef76afb 100644 --- a/sdk/dotnet/Metal/GetProjectSshKey.cs +++ b/sdk/dotnet/Metal/GetProjectSshKey.cs @@ -20,6 +20,7 @@ public static class GetProjectSshKey /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -48,6 +49,7 @@ public static Task InvokeAsync(GetProjectSshKeyArgs args /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -79,6 +81,8 @@ public sealed class GetProjectSshKeyArgs : global::Pulumi.InvokeArgs /// /// The Equinix Metal project id of the Equinix Metal SSH Key. + /// + /// > **NOTE:** One of either `search` or `id` must be provided along with `project_id`. /// [Input("projectId", required: true)] public string ProjectId { get; set; } = null!; @@ -106,6 +110,8 @@ public sealed class GetProjectSshKeyInvokeArgs : global::Pulumi.InvokeArgs /// /// The Equinix Metal project id of the Equinix Metal SSH Key. + /// + /// > **NOTE:** One of either `search` or `id` must be provided along with `project_id`. /// [Input("projectId", required: true)] public Input ProjectId { get; set; } = null!; diff --git a/sdk/dotnet/Metal/GetReservedIpBlock.cs b/sdk/dotnet/Metal/GetReservedIpBlock.cs index b6ddc551..f98630bb 100644 --- a/sdk/dotnet/Metal/GetReservedIpBlock.cs +++ b/sdk/dotnet/Metal/GetReservedIpBlock.cs @@ -45,6 +45,8 @@ public sealed class GetReservedIpBlockArgs : global::Pulumi.InvokeArgs /// /// Block containing this IP address will be returned. + /// + /// > **NOTE:** You should pass either `id`, or both `project_id` and `ip_address`. /// [Input("ipAddress")] public string? IpAddress { get; set; } @@ -71,6 +73,8 @@ public sealed class GetReservedIpBlockInvokeArgs : global::Pulumi.InvokeArgs /// /// Block containing this IP address will be returned. + /// + /// > **NOTE:** You should pass either `id`, or both `project_id` and `ip_address`. /// [Input("ipAddress")] public Input? IpAddress { get; set; } diff --git a/sdk/dotnet/Metal/GetSpotMarketPrice.cs b/sdk/dotnet/Metal/GetSpotMarketPrice.cs index 4f562748..cecf6ec0 100644 --- a/sdk/dotnet/Metal/GetSpotMarketPrice.cs +++ b/sdk/dotnet/Metal/GetSpotMarketPrice.cs @@ -22,6 +22,7 @@ public static class GetSpotMarketPrice /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -52,6 +53,7 @@ public static Task InvokeAsync(GetSpotMarketPriceArgs /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -75,6 +77,9 @@ public static Output Invoke(GetSpotMarketPriceInvokeAr public sealed class GetSpotMarketPriceArgs : global::Pulumi.InvokeArgs { + /// + /// Name of the facility. Use metro instead; read the facility to metro migration guide + /// [Input("facility")] public string? Facility { get; set; } @@ -98,6 +103,9 @@ public GetSpotMarketPriceArgs() public sealed class GetSpotMarketPriceInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// Name of the facility. Use metro instead; read the facility to metro migration guide + /// [Input("facility")] public Input? Facility { get; set; } diff --git a/sdk/dotnet/Metal/GetSpotMarketRequest.cs b/sdk/dotnet/Metal/GetSpotMarketRequest.cs index da8cee70..278a8030 100644 --- a/sdk/dotnet/Metal/GetSpotMarketRequest.cs +++ b/sdk/dotnet/Metal/GetSpotMarketRequest.cs @@ -67,6 +67,9 @@ public sealed class GetSpotMarketRequestResult /// Date and time When the spot market request will be ended. /// public readonly string EndAt; + /// + /// (**Deprecated**) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide + /// public readonly ImmutableArray Facilities; /// /// The provider-assigned unique ID for this managed resource. diff --git a/sdk/dotnet/Metal/GetVirtualCircuit.cs b/sdk/dotnet/Metal/GetVirtualCircuit.cs index d25c6355..22ab5c95 100644 --- a/sdk/dotnet/Metal/GetVirtualCircuit.cs +++ b/sdk/dotnet/Metal/GetVirtualCircuit.cs @@ -23,6 +23,7 @@ public static class GetVirtualCircuit /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -58,6 +59,7 @@ public static Task InvokeAsync(GetVirtualCircuitArgs ar /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// diff --git a/sdk/dotnet/Metal/GetVlan.cs b/sdk/dotnet/Metal/GetVlan.cs index 6818e8f6..d4c8d0a6 100644 --- a/sdk/dotnet/Metal/GetVlan.cs +++ b/sdk/dotnet/Metal/GetVlan.cs @@ -23,6 +23,7 @@ public static class GetVlan /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -47,6 +48,7 @@ public static class GetVlan /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -79,6 +81,7 @@ public static Task InvokeAsync(GetVlanArgs? args = null, InvokeOp /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -103,6 +106,7 @@ public static Task InvokeAsync(GetVlanArgs? args = null, InvokeOp /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -135,6 +139,8 @@ public sealed class GetVlanArgs : global::Pulumi.InvokeArgs /// /// Metro where the VLAN is deployed. + /// + /// > **NOTE:** You must set either `vlan_id` or a combination of `vxlan`, `project_id`, and, `metro` or `facility`. /// [Input("metro")] public string? Metro { get; set; } @@ -173,6 +179,8 @@ public sealed class GetVlanInvokeArgs : global::Pulumi.InvokeArgs /// /// Metro where the VLAN is deployed. + /// + /// > **NOTE:** You must set either `vlan_id` or a combination of `vxlan`, `project_id`, and, `metro` or `facility`. /// [Input("metro")] public Input? Metro { get; set; } diff --git a/sdk/dotnet/Metal/GetVrf.cs b/sdk/dotnet/Metal/GetVrf.cs index b3eb85e1..b23c6954 100644 --- a/sdk/dotnet/Metal/GetVrf.cs +++ b/sdk/dotnet/Metal/GetVrf.cs @@ -22,6 +22,7 @@ public static class GetVrf /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -51,6 +52,7 @@ public static Task InvokeAsync(GetVrfArgs args, InvokeOptions? opt /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// diff --git a/sdk/dotnet/Metal/Inputs/DeviceIpAddressArgs.cs b/sdk/dotnet/Metal/Inputs/DeviceIpAddressArgs.cs index d17c51f4..a8e7bd9e 100644 --- a/sdk/dotnet/Metal/Inputs/DeviceIpAddressArgs.cs +++ b/sdk/dotnet/Metal/Inputs/DeviceIpAddressArgs.cs @@ -24,6 +24,12 @@ public sealed class DeviceIpAddressArgs : global::Pulumi.ResourceArgs /// /// List of UUIDs of IP block reservations /// from which the public IPv4 address should be taken. + /// + /// You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + /// always pass a block for `private_ipv4`. + /// + /// To learn more about using the reserved IP addresses for new devices, see the examples in the + /// equinix.metal.ReservedIpBlock documentation. /// public InputList ReservationIds { diff --git a/sdk/dotnet/Metal/Inputs/DeviceIpAddressGetArgs.cs b/sdk/dotnet/Metal/Inputs/DeviceIpAddressGetArgs.cs index 2aca9250..559f5dae 100644 --- a/sdk/dotnet/Metal/Inputs/DeviceIpAddressGetArgs.cs +++ b/sdk/dotnet/Metal/Inputs/DeviceIpAddressGetArgs.cs @@ -24,6 +24,12 @@ public sealed class DeviceIpAddressGetArgs : global::Pulumi.ResourceArgs /// /// List of UUIDs of IP block reservations /// from which the public IPv4 address should be taken. + /// + /// You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + /// always pass a block for `private_ipv4`. + /// + /// To learn more about using the reserved IP addresses for new devices, see the examples in the + /// equinix.metal.ReservedIpBlock documentation. /// public InputList ReservationIds { diff --git a/sdk/dotnet/Metal/Inputs/GetDevicesFilter.cs b/sdk/dotnet/Metal/Inputs/GetDevicesFilter.cs new file mode 100644 index 00000000..4faadc23 --- /dev/null +++ b/sdk/dotnet/Metal/Inputs/GetDevicesFilter.cs @@ -0,0 +1,52 @@ +// *** 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.Metal.Inputs +{ + + public sealed class GetDevicesFilterArgs : global::Pulumi.InvokeArgs + { + /// + /// If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + /// + /// All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + /// + [Input("all")] + public bool? All { get; set; } + + /// + /// The attribute used to filter. Filter attributes are case-sensitive + /// + [Input("attribute", required: true)] + public string Attribute { get; set; } = null!; + + /// + /// The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + /// + [Input("matchBy")] + public string? MatchBy { get; set; } + + [Input("values", required: true)] + private List? _values; + + /// + /// The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + /// + public List Values + { + get => _values ?? (_values = new List()); + set => _values = value; + } + + public GetDevicesFilterArgs() + { + } + public static new GetDevicesFilterArgs Empty => new GetDevicesFilterArgs(); + } +} diff --git a/sdk/dotnet/Metal/Inputs/GetDevicesFilterArgs.cs b/sdk/dotnet/Metal/Inputs/GetDevicesFilterArgs.cs new file mode 100644 index 00000000..bb2b9710 --- /dev/null +++ b/sdk/dotnet/Metal/Inputs/GetDevicesFilterArgs.cs @@ -0,0 +1,52 @@ +// *** 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.Metal.Inputs +{ + + public sealed class GetDevicesFilterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + /// + /// All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + /// + [Input("all")] + public Input? All { get; set; } + + /// + /// The attribute used to filter. Filter attributes are case-sensitive + /// + [Input("attribute", required: true)] + public Input Attribute { get; set; } = null!; + + /// + /// The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + /// + [Input("matchBy")] + public Input? MatchBy { get; set; } + + [Input("values", required: true)] + private InputList? _values; + + /// + /// The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + /// + public InputList Values + { + get => _values ?? (_values = new InputList()); + set => _values = value; + } + + public GetDevicesFilterInputArgs() + { + } + public static new GetDevicesFilterInputArgs Empty => new GetDevicesFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Metal/Inputs/GetDevicesSort.cs b/sdk/dotnet/Metal/Inputs/GetDevicesSort.cs new file mode 100644 index 00000000..aa782c73 --- /dev/null +++ b/sdk/dotnet/Metal/Inputs/GetDevicesSort.cs @@ -0,0 +1,29 @@ +// *** 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.Metal.Inputs +{ + + public sealed class GetDevicesSortArgs : global::Pulumi.InvokeArgs + { + /// + /// The attribute used to filter. Filter attributes are case-sensitive + /// + [Input("attribute", required: true)] + public string Attribute { get; set; } = null!; + + [Input("direction")] + public string? Direction { get; set; } + + public GetDevicesSortArgs() + { + } + public static new GetDevicesSortArgs Empty => new GetDevicesSortArgs(); + } +} diff --git a/sdk/dotnet/Metal/Inputs/GetDevicesSortArgs.cs b/sdk/dotnet/Metal/Inputs/GetDevicesSortArgs.cs new file mode 100644 index 00000000..97c2629a --- /dev/null +++ b/sdk/dotnet/Metal/Inputs/GetDevicesSortArgs.cs @@ -0,0 +1,29 @@ +// *** 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.Metal.Inputs +{ + + public sealed class GetDevicesSortInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The attribute used to filter. Filter attributes are case-sensitive + /// + [Input("attribute", required: true)] + public Input Attribute { get; set; } = null!; + + [Input("direction")] + public Input? Direction { get; set; } + + public GetDevicesSortInputArgs() + { + } + public static new GetDevicesSortInputArgs Empty => new GetDevicesSortInputArgs(); + } +} diff --git a/sdk/dotnet/Metal/Inputs/GetPlansFilter.cs b/sdk/dotnet/Metal/Inputs/GetPlansFilter.cs index 4b0a236a..14768679 100644 --- a/sdk/dotnet/Metal/Inputs/GetPlansFilter.cs +++ b/sdk/dotnet/Metal/Inputs/GetPlansFilter.cs @@ -14,6 +14,8 @@ public sealed class GetPlansFilterArgs : global::Pulumi.InvokeArgs { /// /// If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + /// + /// All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. /// [Input("all")] public bool? All { get; set; } diff --git a/sdk/dotnet/Metal/Inputs/GetPlansFilterArgs.cs b/sdk/dotnet/Metal/Inputs/GetPlansFilterArgs.cs index 758ac1eb..e838d53c 100644 --- a/sdk/dotnet/Metal/Inputs/GetPlansFilterArgs.cs +++ b/sdk/dotnet/Metal/Inputs/GetPlansFilterArgs.cs @@ -14,6 +14,8 @@ public sealed class GetPlansFilterInputArgs : global::Pulumi.ResourceArgs { /// /// If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + /// + /// All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. /// [Input("all")] public Input? All { get; set; } diff --git a/sdk/dotnet/Metal/Inputs/SpotMarketRequestInstanceParametersArgs.cs b/sdk/dotnet/Metal/Inputs/SpotMarketRequestInstanceParametersArgs.cs index 827e36e1..85f63b32 100644 --- a/sdk/dotnet/Metal/Inputs/SpotMarketRequestInstanceParametersArgs.cs +++ b/sdk/dotnet/Metal/Inputs/SpotMarketRequestInstanceParametersArgs.cs @@ -66,6 +66,9 @@ public InputList Tags set => _tags = value; } + [Input("terminationTime")] + public Input? TerminationTime { get; set; } + [Input("termintationTime")] public Input? TermintationTime { get; set; } diff --git a/sdk/dotnet/Metal/Inputs/SpotMarketRequestInstanceParametersGetArgs.cs b/sdk/dotnet/Metal/Inputs/SpotMarketRequestInstanceParametersGetArgs.cs index fcc5c1c8..f11e39cf 100644 --- a/sdk/dotnet/Metal/Inputs/SpotMarketRequestInstanceParametersGetArgs.cs +++ b/sdk/dotnet/Metal/Inputs/SpotMarketRequestInstanceParametersGetArgs.cs @@ -66,6 +66,9 @@ public InputList Tags set => _tags = value; } + [Input("terminationTime")] + public Input? TerminationTime { get; set; } + [Input("termintationTime")] public Input? TermintationTime { get; set; } diff --git a/sdk/dotnet/Metal/Interconnection.cs b/sdk/dotnet/Metal/Interconnection.cs index 2b084dfb..eb431afd 100644 --- a/sdk/dotnet/Metal/Interconnection.cs +++ b/sdk/dotnet/Metal/Interconnection.cs @@ -48,6 +48,12 @@ namespace Pulumi.Equinix.Metal [EquinixResourceType("equinix:metal/interconnection:Interconnection")] public partial class Interconnection : global::Pulumi.CustomResource { + /// + /// The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + /// + [Output("contactEmail")] + public Output ContactEmail { get; private set; } = null!; + /// /// Description for the connection resource. /// @@ -55,7 +61,7 @@ public partial class Interconnection : global::Pulumi.CustomResource public Output Description { get; private set; } = null!; /// - /// Facility where the connection will be created + /// Facility where the connection will be created. Use metro instead; read the facility to metro migration guide /// [Output("facility")] public Output Facility { get; private set; } = null!; @@ -199,6 +205,12 @@ public static Interconnection Get(string name, Input id, Interconnection public sealed class InterconnectionArgs : global::Pulumi.ResourceArgs { + /// + /// The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + /// + [Input("contactEmail")] + public Input? ContactEmail { get; set; } + /// /// Description for the connection resource. /// @@ -206,7 +218,7 @@ public sealed class InterconnectionArgs : global::Pulumi.ResourceArgs public Input? Description { get; set; } /// - /// Facility where the connection will be created + /// Facility where the connection will be created. Use metro instead; read the facility to metro migration guide /// [Input("facility")] public Input? Facility { get; set; } @@ -256,8 +268,8 @@ public sealed class InterconnectionArgs : global::Pulumi.ResourceArgs /// /// Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps. /// - [Input("speed", required: true)] - public Input Speed { get; set; } = null!; + [Input("speed")] + public Input? Speed { get; set; } [Input("tags")] private InputList? _tags; @@ -297,6 +309,12 @@ public InterconnectionArgs() public sealed class InterconnectionState : global::Pulumi.ResourceArgs { + /// + /// The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + /// + [Input("contactEmail")] + public Input? ContactEmail { get; set; } + /// /// Description for the connection resource. /// @@ -304,7 +322,7 @@ public sealed class InterconnectionState : global::Pulumi.ResourceArgs public Input? Description { get; set; } /// - /// Facility where the connection will be created + /// Facility where the connection will be created. Use metro instead; read the facility to metro migration guide /// [Input("facility")] public Input? Facility { get; set; } diff --git a/sdk/dotnet/Metal/Outputs/DeviceIpAddress.cs b/sdk/dotnet/Metal/Outputs/DeviceIpAddress.cs index 28435354..86a33d3c 100644 --- a/sdk/dotnet/Metal/Outputs/DeviceIpAddress.cs +++ b/sdk/dotnet/Metal/Outputs/DeviceIpAddress.cs @@ -20,6 +20,12 @@ public sealed class DeviceIpAddress /// /// List of UUIDs of IP block reservations /// from which the public IPv4 address should be taken. + /// + /// You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + /// always pass a block for `private_ipv4`. + /// + /// To learn more about using the reserved IP addresses for new devices, see the examples in the + /// equinix.metal.ReservedIpBlock documentation. /// public readonly ImmutableArray ReservationIds; /// diff --git a/sdk/dotnet/Metal/Outputs/GetDevicesDeviceNetworkResult.cs b/sdk/dotnet/Metal/Outputs/GetDevicesDeviceNetworkResult.cs new file mode 100644 index 00000000..906c4aeb --- /dev/null +++ b/sdk/dotnet/Metal/Outputs/GetDevicesDeviceNetworkResult.cs @@ -0,0 +1,41 @@ +// *** 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.Metal.Outputs +{ + + [OutputType] + public sealed class GetDevicesDeviceNetworkResult + { + public readonly string Address; + public readonly int Cidr; + public readonly int Family; + public readonly string Gateway; + public readonly bool Public; + + [OutputConstructor] + private GetDevicesDeviceNetworkResult( + string address, + + int cidr, + + int family, + + string gateway, + + bool @public) + { + Address = address; + Cidr = cidr; + Family = family; + Gateway = gateway; + Public = @public; + } + } +} diff --git a/sdk/dotnet/Metal/Outputs/GetDevicesDevicePortResult.cs b/sdk/dotnet/Metal/Outputs/GetDevicesDevicePortResult.cs new file mode 100644 index 00000000..407a593e --- /dev/null +++ b/sdk/dotnet/Metal/Outputs/GetDevicesDevicePortResult.cs @@ -0,0 +1,41 @@ +// *** 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.Metal.Outputs +{ + + [OutputType] + public sealed class GetDevicesDevicePortResult + { + public readonly bool Bonded; + public readonly string Id; + public readonly string Mac; + public readonly string Name; + public readonly string Type; + + [OutputConstructor] + private GetDevicesDevicePortResult( + bool bonded, + + string id, + + string mac, + + string name, + + string type) + { + Bonded = bonded; + Id = id; + Mac = mac; + Name = name; + Type = type; + } + } +} diff --git a/sdk/dotnet/Metal/Outputs/GetDevicesDeviceResult.cs b/sdk/dotnet/Metal/Outputs/GetDevicesDeviceResult.cs new file mode 100644 index 00000000..1b921bcd --- /dev/null +++ b/sdk/dotnet/Metal/Outputs/GetDevicesDeviceResult.cs @@ -0,0 +1,116 @@ +// *** 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.Metal.Outputs +{ + + [OutputType] + public sealed class GetDevicesDeviceResult + { + public readonly string AccessPrivateIpv4; + public readonly string AccessPublicIpv4; + public readonly string AccessPublicIpv6; + public readonly bool AlwaysPxe; + public readonly string BillingCycle; + public readonly string Description; + public readonly string DeviceId; + public readonly string Facility; + public readonly string HardwareReservationId; + public readonly string Hostname; + public readonly string IpxeScriptUrl; + public readonly string Metro; + public readonly string NetworkType; + public readonly ImmutableArray Networks; + public readonly string OperatingSystem; + public readonly string Plan; + public readonly ImmutableArray Ports; + /// + /// ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + /// + public readonly string ProjectId; + public readonly string RootPassword; + public readonly ImmutableArray SshKeyIds; + public readonly string State; + public readonly string Storage; + public readonly ImmutableArray Tags; + + [OutputConstructor] + private GetDevicesDeviceResult( + string accessPrivateIpv4, + + string accessPublicIpv4, + + string accessPublicIpv6, + + bool alwaysPxe, + + string billingCycle, + + string description, + + string deviceId, + + string facility, + + string hardwareReservationId, + + string hostname, + + string ipxeScriptUrl, + + string metro, + + string networkType, + + ImmutableArray networks, + + string operatingSystem, + + string plan, + + ImmutableArray ports, + + string projectId, + + string rootPassword, + + ImmutableArray sshKeyIds, + + string state, + + string storage, + + ImmutableArray tags) + { + AccessPrivateIpv4 = accessPrivateIpv4; + AccessPublicIpv4 = accessPublicIpv4; + AccessPublicIpv6 = accessPublicIpv6; + AlwaysPxe = alwaysPxe; + BillingCycle = billingCycle; + Description = description; + DeviceId = deviceId; + Facility = facility; + HardwareReservationId = hardwareReservationId; + Hostname = hostname; + IpxeScriptUrl = ipxeScriptUrl; + Metro = metro; + NetworkType = networkType; + Networks = networks; + OperatingSystem = operatingSystem; + Plan = plan; + Ports = ports; + ProjectId = projectId; + RootPassword = rootPassword; + SshKeyIds = sshKeyIds; + State = state; + Storage = storage; + Tags = tags; + } + } +} diff --git a/sdk/dotnet/Metal/Outputs/GetDevicesFilterResult.cs b/sdk/dotnet/Metal/Outputs/GetDevicesFilterResult.cs new file mode 100644 index 00000000..4f70e743 --- /dev/null +++ b/sdk/dotnet/Metal/Outputs/GetDevicesFilterResult.cs @@ -0,0 +1,51 @@ +// *** 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.Metal.Outputs +{ + + [OutputType] + public sealed class GetDevicesFilterResult + { + /// + /// If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + /// + /// All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + /// + public readonly bool? All; + /// + /// The attribute used to filter. Filter attributes are case-sensitive + /// + public readonly string Attribute; + /// + /// The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + /// + public readonly string? MatchBy; + /// + /// The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + /// + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetDevicesFilterResult( + bool? all, + + string attribute, + + string? matchBy, + + ImmutableArray values) + { + All = all; + Attribute = attribute; + MatchBy = matchBy; + Values = values; + } + } +} diff --git a/sdk/dotnet/Metal/Outputs/GetDevicesSortResult.cs b/sdk/dotnet/Metal/Outputs/GetDevicesSortResult.cs new file mode 100644 index 00000000..974db654 --- /dev/null +++ b/sdk/dotnet/Metal/Outputs/GetDevicesSortResult.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.Metal.Outputs +{ + + [OutputType] + public sealed class GetDevicesSortResult + { + /// + /// The attribute used to filter. Filter attributes are case-sensitive + /// + public readonly string Attribute; + public readonly string? Direction; + + [OutputConstructor] + private GetDevicesSortResult( + string attribute, + + string? direction) + { + Attribute = attribute; + Direction = direction; + } + } +} diff --git a/sdk/dotnet/Metal/Outputs/GetPlansFilterResult.cs b/sdk/dotnet/Metal/Outputs/GetPlansFilterResult.cs index d029a1c3..486760c2 100644 --- a/sdk/dotnet/Metal/Outputs/GetPlansFilterResult.cs +++ b/sdk/dotnet/Metal/Outputs/GetPlansFilterResult.cs @@ -15,6 +15,8 @@ public sealed class GetPlansFilterResult { /// /// If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + /// + /// All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. /// public readonly bool? All; /// diff --git a/sdk/dotnet/Metal/Outputs/SpotMarketRequestInstanceParameters.cs b/sdk/dotnet/Metal/Outputs/SpotMarketRequestInstanceParameters.cs index 8cfb96d8..555c88f8 100644 --- a/sdk/dotnet/Metal/Outputs/SpotMarketRequestInstanceParameters.cs +++ b/sdk/dotnet/Metal/Outputs/SpotMarketRequestInstanceParameters.cs @@ -28,6 +28,7 @@ public sealed class SpotMarketRequestInstanceParameters public readonly string Plan; public readonly ImmutableArray ProjectSshKeys; public readonly ImmutableArray Tags; + public readonly string? TerminationTime; public readonly string? TermintationTime; public readonly ImmutableArray UserSshKeys; public readonly string? Userdata; @@ -58,6 +59,8 @@ private SpotMarketRequestInstanceParameters( ImmutableArray tags, + string? terminationTime, + string? termintationTime, ImmutableArray userSshKeys, @@ -76,6 +79,7 @@ private SpotMarketRequestInstanceParameters( Plan = plan; ProjectSshKeys = projectSshKeys; Tags = tags; + TerminationTime = terminationTime; TermintationTime = termintationTime; UserSshKeys = userSshKeys; Userdata = userdata; diff --git a/sdk/dotnet/Metal/Project.cs b/sdk/dotnet/Metal/Project.cs index 551f2844..e4aa960f 100644 --- a/sdk/dotnet/Metal/Project.cs +++ b/sdk/dotnet/Metal/Project.cs @@ -56,6 +56,9 @@ public partial class Project : global::Pulumi.CustomResource /// /// Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + /// + /// > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + /// the Equinix Metal API). It can be updated. /// [Output("bgpConfig")] public Output BgpConfig { get; private set; } = null!; @@ -67,14 +70,14 @@ public partial class Project : global::Pulumi.CustomResource public Output Created { get; private set; } = null!; /// - /// The name of the project. + /// The name of the project. The maximum length is 80 characters /// [Output("name")] public Output Name { get; private set; } = null!; /// /// The UUID of organization under which you want to create the project. If you - /// leave it out, the project will be create under your the default organization of your account. + /// leave it out, the project will be created under your the default organization of your account. /// [Output("organizationId")] public Output OrganizationId { get; private set; } = null!; @@ -147,19 +150,22 @@ public sealed class ProjectArgs : global::Pulumi.ResourceArgs /// /// Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + /// + /// > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + /// the Equinix Metal API). It can be updated. /// [Input("bgpConfig")] public Input? BgpConfig { get; set; } /// - /// The name of the project. + /// The name of the project. The maximum length is 80 characters /// [Input("name")] public Input? Name { get; set; } /// /// The UUID of organization under which you want to create the project. If you - /// leave it out, the project will be create under your the default organization of your account. + /// leave it out, the project will be created under your the default organization of your account. /// [Input("organizationId")] public Input? OrganizationId { get; set; } @@ -187,6 +193,9 @@ public sealed class ProjectState : global::Pulumi.ResourceArgs /// /// Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + /// + /// > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + /// the Equinix Metal API). It can be updated. /// [Input("bgpConfig")] public Input? BgpConfig { get; set; } @@ -198,14 +207,14 @@ public sealed class ProjectState : global::Pulumi.ResourceArgs public Input? Created { get; set; } /// - /// The name of the project. + /// The name of the project. The maximum length is 80 characters /// [Input("name")] public Input? Name { get; set; } /// /// The UUID of organization under which you want to create the project. If you - /// leave it out, the project will be create under your the default organization of your account. + /// leave it out, the project will be created under your the default organization of your account. /// [Input("organizationId")] public Input? OrganizationId { get; set; } diff --git a/sdk/dotnet/Metal/ReservedIpBlock.cs b/sdk/dotnet/Metal/ReservedIpBlock.cs index 68bed42b..c4b56521 100644 --- a/sdk/dotnet/Metal/ReservedIpBlock.cs +++ b/sdk/dotnet/Metal/ReservedIpBlock.cs @@ -96,8 +96,8 @@ public partial class ReservedIpBlock : global::Pulumi.CustomResource public Output Description { get; private set; } = null!; /// - /// Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - /// type==global_ipv4, conflicts with metro + /// Facility where to allocate the public IP address block, makes sense only + /// if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide /// [Output("facility")] public Output Facility { get; private set; } = null!; @@ -247,8 +247,8 @@ public sealed class ReservedIpBlockArgs : global::Pulumi.ResourceArgs public Input? Description { get; set; } /// - /// Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - /// type==global_ipv4, conflicts with metro + /// Facility where to allocate the public IP address block, makes sense only + /// if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide /// [Input("facility")] public InputUnion? Facility { get; set; } @@ -352,8 +352,8 @@ public sealed class ReservedIpBlockState : global::Pulumi.ResourceArgs public Input? Description { get; set; } /// - /// Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - /// type==global_ipv4, conflicts with metro + /// Facility where to allocate the public IP address block, makes sense only + /// if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide /// [Input("facility")] public InputUnion? Facility { get; set; } diff --git a/sdk/dotnet/Metal/SpotMarketRequest.cs b/sdk/dotnet/Metal/SpotMarketRequest.cs index 465b68c8..5098c4e4 100644 --- a/sdk/dotnet/Metal/SpotMarketRequest.cs +++ b/sdk/dotnet/Metal/SpotMarketRequest.cs @@ -68,7 +68,7 @@ public partial class SpotMarketRequest : global::Pulumi.CustomResource public Output DevicesMin { get; private set; } = null!; /// - /// Facility IDs where devices should be created + /// Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide /// [Output("facilities")] public Output> Facilities { get; private set; } = null!; @@ -76,7 +76,7 @@ public partial class SpotMarketRequest : global::Pulumi.CustomResource /// /// Key/Value pairs of parameters for devices provisioned from /// this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - /// `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + /// `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, /// `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter /// description in equinix.metal.Device docs. /// @@ -171,7 +171,7 @@ public sealed class SpotMarketRequestArgs : global::Pulumi.ResourceArgs private InputList? _facilities; /// - /// Facility IDs where devices should be created + /// Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide /// [Obsolete(@"Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices")] public InputList Facilities @@ -183,7 +183,7 @@ public InputList Facilities /// /// Key/Value pairs of parameters for devices provisioned from /// this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - /// `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + /// `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, /// `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter /// description in equinix.metal.Device docs. /// @@ -239,7 +239,7 @@ public sealed class SpotMarketRequestState : global::Pulumi.ResourceArgs private InputList? _facilities; /// - /// Facility IDs where devices should be created + /// Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide /// [Obsolete(@"Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices")] public InputList Facilities @@ -251,7 +251,7 @@ public InputList Facilities /// /// Key/Value pairs of parameters for devices provisioned from /// this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - /// `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + /// `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, /// `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter /// description in equinix.metal.Device docs. /// diff --git a/sdk/dotnet/Metal/Vlan.cs b/sdk/dotnet/Metal/Vlan.cs index cb4acca6..2d95ba39 100644 --- a/sdk/dotnet/Metal/Vlan.cs +++ b/sdk/dotnet/Metal/Vlan.cs @@ -58,7 +58,7 @@ public partial class Vlan : global::Pulumi.CustomResource public Output Description { get; private set; } = null!; /// - /// Facility where to create the VLAN + /// Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide /// [Output("facility")] public Output Facility { get; private set; } = null!; @@ -135,7 +135,7 @@ public sealed class VlanArgs : global::Pulumi.ResourceArgs public Input? Description { get; set; } /// - /// Facility where to create the VLAN + /// Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide /// [Input("facility")] public InputUnion? Facility { get; set; } @@ -173,7 +173,7 @@ public sealed class VlanState : global::Pulumi.ResourceArgs public Input? Description { get; set; } /// - /// Facility where to create the VLAN + /// Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide /// [Input("facility")] public InputUnion? Facility { get; set; } diff --git a/sdk/dotnet/NetworkEdge/AclTemplate.cs b/sdk/dotnet/NetworkEdge/AclTemplate.cs index 8ed27e4e..1d0842bf 100644 --- a/sdk/dotnet/NetworkEdge/AclTemplate.cs +++ b/sdk/dotnet/NetworkEdge/AclTemplate.cs @@ -91,6 +91,8 @@ public partial class AclTemplate : global::Pulumi.CustomResource /// /// One or more rules to specify allowed inbound traffic. /// Rules are ordered, matching traffic rule stops processing subsequent ones. + /// + /// The `inbound_rule` block has below fields: /// [Output("inboundRules")] public Output> InboundRules { get; private set; } = null!; @@ -172,6 +174,8 @@ public sealed class AclTemplateArgs : global::Pulumi.ResourceArgs /// /// One or more rules to specify allowed inbound traffic. /// Rules are ordered, matching traffic rule stops processing subsequent ones. + /// + /// The `inbound_rule` block has below fields: /// public InputList InboundRules { @@ -236,6 +240,8 @@ public InputList DeviceDetails /// /// One or more rules to specify allowed inbound traffic. /// Rules are ordered, matching traffic rule stops processing subsequent ones. + /// + /// The `inbound_rule` block has below fields: /// public InputList InboundRules { diff --git a/sdk/dotnet/NetworkEdge/Device.cs b/sdk/dotnet/NetworkEdge/Device.cs index fd13993f..4257964f 100644 --- a/sdk/dotnet/NetworkEdge/Device.cs +++ b/sdk/dotnet/NetworkEdge/Device.cs @@ -143,6 +143,13 @@ public partial class Device : global::Pulumi.CustomResource [Output("clusterDetails")] public Output ClusterDetails { get; private set; } = null!; + /// + /// Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + /// If not specified, default will be INTERNET-ACCESS + /// + [Output("connectivity")] + public Output Connectivity { get; private set; } = null!; + /// /// Number of CPU cores used by device. /// @@ -446,6 +453,13 @@ public sealed class DeviceArgs : global::Pulumi.ResourceArgs [Input("clusterDetails")] public Input? ClusterDetails { get; set; } + /// + /// Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + /// If not specified, default will be INTERNET-ACCESS + /// + [Input("connectivity")] + public Input? Connectivity { get; set; } + /// /// Number of CPU cores used by device. /// @@ -659,6 +673,13 @@ public sealed class DeviceState : global::Pulumi.ResourceArgs [Input("clusterDetails")] public Input? ClusterDetails { get; set; } + /// + /// Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + /// If not specified, default will be INTERNET-ACCESS + /// + [Input("connectivity")] + public Input? Connectivity { get; set; } + /// /// Number of CPU cores used by device. /// diff --git a/sdk/dotnet/NetworkEdge/GetAccount.cs b/sdk/dotnet/NetworkEdge/GetAccount.cs index 616f8be0..ce1e8023 100644 --- a/sdk/dotnet/NetworkEdge/GetAccount.cs +++ b/sdk/dotnet/NetworkEdge/GetAccount.cs @@ -24,6 +24,7 @@ public static class GetAccount /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -60,6 +61,7 @@ public static Task InvokeAsync(GetAccountArgs args, InvokeOpti /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// diff --git a/sdk/dotnet/NetworkEdge/GetDevice.cs b/sdk/dotnet/NetworkEdge/GetDevice.cs index 333d2a89..5ff6014e 100644 --- a/sdk/dotnet/NetworkEdge/GetDevice.cs +++ b/sdk/dotnet/NetworkEdge/GetDevice.cs @@ -20,6 +20,7 @@ public static class GetDevice /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -52,6 +53,7 @@ public static Task InvokeAsync(GetDeviceArgs? args = null, Invo /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -93,6 +95,8 @@ public sealed class GetDeviceArgs : global::Pulumi.InvokeArgs /// /// Device states to be considered valid when searching for a device by name + /// + /// NOTE: Exactly one of either `uuid` or `name` must be specified. /// [Input("validStatusList")] public string? ValidStatusList { get; set; } @@ -119,6 +123,8 @@ public sealed class GetDeviceInvokeArgs : global::Pulumi.InvokeArgs /// /// Device states to be considered valid when searching for a device by name + /// + /// NOTE: Exactly one of either `uuid` or `name` must be specified. /// [Input("validStatusList")] public Input? ValidStatusList { get; set; } @@ -145,6 +151,10 @@ public sealed class GetDeviceResult public readonly int Asn; public readonly bool Byol; public readonly ImmutableArray ClusterDetails; + /// + /// Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT) + /// + public readonly string Connectivity; public readonly int CoreCount; public readonly string Hostname; /// @@ -180,6 +190,7 @@ public sealed class GetDeviceResult /// * APPLIED /// * WAITING_FOR_CLUSTER_SETUP /// * REGISTRATION_FAILED + /// * NA /// public readonly string LicenseStatus; public readonly string LicenseToken; @@ -262,6 +273,8 @@ private GetDeviceResult( ImmutableArray clusterDetails, + string connectivity, + int coreCount, string hostname, @@ -340,6 +353,7 @@ private GetDeviceResult( Asn = asn; Byol = byol; ClusterDetails = clusterDetails; + Connectivity = connectivity; CoreCount = coreCount; Hostname = hostname; Ibx = ibx; diff --git a/sdk/dotnet/NetworkEdge/GetDevicePlatform.cs b/sdk/dotnet/NetworkEdge/GetDevicePlatform.cs index 25e7e469..1bcf6ad7 100644 --- a/sdk/dotnet/NetworkEdge/GetDevicePlatform.cs +++ b/sdk/dotnet/NetworkEdge/GetDevicePlatform.cs @@ -22,6 +22,7 @@ public static class GetDevicePlatform /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -56,6 +57,7 @@ public static Task InvokeAsync(GetDevicePlatformArgs ar /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// diff --git a/sdk/dotnet/NetworkEdge/GetDeviceSoftware.cs b/sdk/dotnet/NetworkEdge/GetDeviceSoftware.cs index d331fb92..f0e34579 100644 --- a/sdk/dotnet/NetworkEdge/GetDeviceSoftware.cs +++ b/sdk/dotnet/NetworkEdge/GetDeviceSoftware.cs @@ -22,6 +22,7 @@ public static class GetDeviceSoftware /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -57,6 +58,7 @@ public static Task InvokeAsync(GetDeviceSoftwareArgs ar /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// diff --git a/sdk/dotnet/NetworkEdge/GetDeviceType.cs b/sdk/dotnet/NetworkEdge/GetDeviceType.cs index f436701d..5e698939 100644 --- a/sdk/dotnet/NetworkEdge/GetDeviceType.cs +++ b/sdk/dotnet/NetworkEdge/GetDeviceType.cs @@ -21,6 +21,7 @@ public static class GetDeviceType /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// @@ -55,6 +56,7 @@ public static Task InvokeAsync(GetDeviceTypeArgs? args = nu /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Equinix = Pulumi.Equinix; /// diff --git a/sdk/dotnet/NetworkEdge/Outputs/GetDeviceSecondaryDeviceResult.cs b/sdk/dotnet/NetworkEdge/Outputs/GetDeviceSecondaryDeviceResult.cs index 15df0af8..5f5f0ee5 100644 --- a/sdk/dotnet/NetworkEdge/Outputs/GetDeviceSecondaryDeviceResult.cs +++ b/sdk/dotnet/NetworkEdge/Outputs/GetDeviceSecondaryDeviceResult.cs @@ -23,6 +23,7 @@ public sealed class GetDeviceSecondaryDeviceResult /// Autonomous system number /// public readonly int Asn; + public readonly string CloudInitFileId; public readonly string Hostname; /// /// Device location Equinix Business Exchange name @@ -52,6 +53,7 @@ public sealed class GetDeviceSecondaryDeviceResult /// * APPLIED /// * WAITING_FOR_CLUSTER_SETUP /// * REGISTRATION_FAILED + /// * NA /// public readonly string LicenseStatus; public readonly string LicenseToken; @@ -119,6 +121,8 @@ private GetDeviceSecondaryDeviceResult( int asn, + string cloudInitFileId, + string hostname, string ibx, @@ -167,6 +171,7 @@ private GetDeviceSecondaryDeviceResult( AclTemplateId = aclTemplateId; AdditionalBandwidth = additionalBandwidth; Asn = asn; + CloudInitFileId = cloudInitFileId; Hostname = hostname; Ibx = ibx; Interfaces = interfaces; diff --git a/sdk/dotnet/Pulumi.Equinix.csproj b/sdk/dotnet/Pulumi.Equinix.csproj index fcf6f00e..add74c88 100644 --- a/sdk/dotnet/Pulumi.Equinix.csproj +++ b/sdk/dotnet/Pulumi.Equinix.csproj @@ -12,7 +12,6 @@ net6.0 enable - false @@ -39,7 +38,7 @@ - + diff --git a/sdk/go.mod b/sdk/go.mod new file mode 100644 index 00000000..d5bac093 --- /dev/null +++ b/sdk/go.mod @@ -0,0 +1,87 @@ +module github.com/equinix/pulumi-equinix/sdk + +go 1.20 + +require ( + github.com/blang/semver v3.5.1+incompatible + github.com/pulumi/pulumi/sdk/v3 v3.89.0 +) + +require ( + github.com/Microsoft/go-winio v0.5.2 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect + github.com/acomagu/bufpipe v1.0.3 // indirect + github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect + github.com/agext/levenshtein v1.2.3 // indirect + github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect + github.com/atotto/clipboard v0.1.4 // indirect + github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect + github.com/charmbracelet/bubbles v0.16.1 // indirect + github.com/charmbracelet/bubbletea v0.24.2 // indirect + github.com/charmbracelet/lipgloss v0.7.1 // indirect + github.com/cheggaaa/pb v1.0.29 // indirect + github.com/cloudflare/circl v1.3.3 // indirect + github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect + github.com/djherbis/times v1.5.0 // indirect + github.com/emirpasic/gods v1.18.1 // indirect + github.com/go-git/gcfg v1.5.0 // indirect + github.com/go-git/go-billy/v5 v5.4.0 // indirect + github.com/go-git/go-git/v5 v5.6.0 // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang/glog v1.1.0 // indirect + github.com/golang/protobuf v1.5.3 // 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.17.0 // indirect + github.com/imdario/mergo v0.3.13 // 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.18 // indirect + github.com/mattn/go-localereader v0.0.1 // indirect + github.com/mattn/go-runewidth v0.0.14 // 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-20211018074035-2e021307bc4b // indirect + github.com/muesli/cancelreader v0.2.2 // indirect + github.com/muesli/reflow v0.3.0 // indirect + github.com/muesli/termenv v0.15.1 // indirect + github.com/opentracing/basictracer-go v1.1.0 // indirect + github.com/opentracing/opentracing-go v1.2.0 // 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/esc v0.5.2 // indirect + github.com/rivo/uniseg v0.4.4 // indirect + github.com/rogpeppe/go-internal v1.11.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.1 // indirect + github.com/skeema/knownhosts v1.1.0 // indirect + github.com/spf13/cast v1.4.1 // indirect + github.com/spf13/cobra v1.7.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.13.2 // indirect + go.uber.org/atomic v1.9.0 // indirect + golang.org/x/crypto v0.9.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/net v0.10.0 // indirect + golang.org/x/sync v0.2.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/term v0.8.0 // indirect + golang.org/x/text v0.9.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect + google.golang.org/grpc v1.57.0 // indirect + google.golang.org/protobuf v1.31.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 + sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 // indirect +) diff --git a/sdk/go.sum b/sdk/go.sum new file mode 100644 index 00000000..f9a66797 --- /dev/null +++ b/sdk/go.sum @@ -0,0 +1,314 @@ +github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= +github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= +github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= +github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 h1:ra2OtmuW0AE5csawV4YXMNGNQQXvLRps3z2Z59OPO+I= +github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8= +github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk= +github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= +github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= +github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= +github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= +github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= +github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= +github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= +github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= +github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= +github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= +github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= +github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= +github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= +github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= +github.com/charmbracelet/bubbles v0.16.1 h1:6uzpAAaT9ZqKssntbvZMlksWHruQLNxg49H5WdeuYSY= +github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc= +github.com/charmbracelet/bubbletea v0.24.2 h1:uaQIKx9Ai6Gdh5zpTbGiWpytMU+CfsPp06RaW2cx/SY= +github.com/charmbracelet/bubbletea v0.24.2/go.mod h1:XdrNrV4J8GiyshTtx3DNuYkR1FDaJmO3l2nejekbsgg= +github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E= +github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c= +github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo= +github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30= +github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I= +github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs= +github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= +github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 h1:q2hJAaP1k2wIvVRd/hEHD7lacgqrCPS+k8g1MndzfWY= +github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk= +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= +github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= +github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= +github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= +github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= +github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= +github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= +github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= +github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= +github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= +github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= +github.com/go-git/go-billy/v5 v5.4.0 h1:Vaw7LaSTRJOUric7pe4vnzBSgyuf2KrLsu2Y4ZpQBDE= +github.com/go-git/go-billy/v5 v5.4.0/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= +github.com/go-git/go-git-fixtures/v4 v4.3.1 h1:y5z6dd3qi8Hl+stezc8p3JxDkoTRqMAlKnXHuzrfjTQ= +github.com/go-git/go-git-fixtures/v4 v4.3.1/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= +github.com/go-git/go-git/v5 v5.6.0 h1:JvBdYfcttd+0kdpuWO7KTu0FYgCf5W0t5VwkWGobaa4= +github.com/go-git/go-git/v5 v5.6.0/go.mod h1:6nmJ0tJ3N4noMV1Omv7rC5FG3/o8Cm51TB4CJp7mRmE= +github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= +github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= +github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= +github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= +github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= +github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= +github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= +github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= +github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= +github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= +github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= +github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= +github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= +github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= +github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= +github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= +github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= +github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= +github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= +github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= +github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= +github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= +github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88= +github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= +github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU= +github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc= +github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= +github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= +github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= +github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM= +github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b h1:1XF24mVaiu7u+CFywTdcDo2ie1pzzhwjt6RHqzpMU34= +github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b/go.mod h1:fQuZ0gauxyBcmsdE3ZT4NasjaRdxmbCS0jRHsrWu3Ho= +github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= +github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= +github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= +github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8= +github.com/muesli/termenv v0.15.1 h1:UzuTb/+hhlBugQz28rpzey4ZuKcZ03MeKsoG7IJZIxs= +github.com/muesli/termenv v0.15.1/go.mod h1:HeAQPTzpfs016yGtA4g00CsdYnVLJvxsS4ANqrZs2sQ= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/opentracing/basictracer-go v1.1.0 h1:Oa1fTSBvAl8pa3U+IJYqrKm0NALwH9OsgwOqDv4xJW0= +github.com/opentracing/basictracer-go v1.1.0/go.mod h1:V2HZueSJEp879yv285Aap1BS69fQMD+MNP1mRs6mBQc= +github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= +github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= +github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= +github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= +github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= +github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= +github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= +github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= +github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= +github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= +github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= +github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= +github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= +github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= +github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= +github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= +github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= +github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ysW0= +github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= +github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= +github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= +github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= +github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= +github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7/go.mod h1:UxoP3EypF8JfGEjAII8jx1q8rQyDnX8qdTCs/UQBVIE= +github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= +github.com/uber/jaeger-client-go v2.30.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= +github.com/uber/jaeger-lib v2.4.1+incompatible h1:td4jdvLcExb4cBISKIpHuGoVXh+dVKhn2Um6rjCsSsg= +github.com/uber/jaeger-lib v2.4.1+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= +github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= +github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= +github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= +go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= +golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= +golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= +golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= +golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= +golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= +golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= +golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= +golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= +golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 h1:2FZP5XuJY9zQyGM5N0rtovnoXjiMUEIUMvw0m9wlpLc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= +google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= +google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= +google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= +gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +lukechampine.com/frand v1.4.2 h1:RzFIpOvkMXuPMBb9maa4ND4wjBn71E1Jpf8BzJHMaVw= +lukechampine.com/frand v1.4.2/go.mod h1:4S/TM2ZgrKejMcKMbeLjISpJMO+/eZ1zu3vYX9dtj3s= +pgregory.net/rapid v0.5.5 h1:jkgx1TjbQPD/feRoK+S/mXw9e1uj6WilpHrXJowi6oA= +rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= +sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 h1:hfyJ5ku9yFtLVOiSxa3IN+dx5eBQT9mPmKFypAmg8XM= +sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/sdk/go/equinix/config/config.go b/sdk/go/equinix/config/config.go index b0b0d7b0..1e9c42d3 100644 --- a/sdk/go/equinix/config/config.go +++ b/sdk/go/equinix/config/config.go @@ -4,10 +4,13 @@ package config import ( + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" ) +var _ = internal.GetEnvOrDefault + // The Equinix Metal API auth key for API operations func GetAuthToken(ctx *pulumi.Context) string { return config.Get(ctx, "equinix:authToken") diff --git a/sdk/go/equinix/fabric/cloudRouter.go b/sdk/go/equinix/fabric/cloudRouter.go new file mode 100644 index 00000000..6224dd38 --- /dev/null +++ b/sdk/go/equinix/fabric/cloudRouter.go @@ -0,0 +1,478 @@ +// 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" + + "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// ## Example Usage +// ```go +// package main +// +// import ( +// +// "github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// cfg := config.New(ctx, "") +// metro := "FR" +// if param := cfg.Get("metro"); param != "" { +// metro = param +// } +// accountNum := cfg.RequireInt("accountNum") +// router, err := fabric.NewCloudRouter(ctx, "router", &fabric.CloudRouterArgs{ +// Name: pulumi.String("My-Fabric-Cloud-Router"), +// Type: pulumi.String("XF_ROUTER"), +// Location: &fabric.CloudRouterLocationArgs{ +// MetroCode: pulumi.String(metro), +// }, +// Package: &fabric.CloudRouterPackageArgs{ +// Code: pulumi.String("BASIC"), +// }, +// Notifications: fabric.CloudRouterNotificationArray{ +// &fabric.CloudRouterNotificationArgs{ +// Type: pulumi.String("ALL"), +// Emails: pulumi.StringArray{ +// pulumi.String("example@equinix.com"), +// }, +// }, +// }, +// Account: &fabric.CloudRouterAccountArgs{ +// AccountNumber: pulumi.Int(272010), +// }, +// }) +// if err != nil { +// return err +// } +// ctx.Export("routerId", router.ID()) +// return nil +// }) +// } +// +// ``` +type CloudRouter struct { + pulumi.CustomResourceState + + // Customer account information that is associated with this Fabric Cloud Router + Account CloudRouterAccountPtrOutput `pulumi:"account"` + // Captures Fabric Cloud Router lifecycle change information + ChangeLogs CloudRouterChangeLogArrayOutput `pulumi:"changeLogs"` + // Customer-provided Fabric Cloud Router description + Description pulumi.StringPtrOutput `pulumi:"description"` + // Equinix ASN + EquinixAsn pulumi.IntOutput `pulumi:"equinixAsn"` + // Unique Resource URL + Href pulumi.StringOutput `pulumi:"href"` + // Fabric Cloud Router location + Location CloudRouterLocationOutput `pulumi:"location"` + // 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 + Notifications CloudRouterNotificationArrayOutput `pulumi:"notifications"` + // Order information related to this Fabric Cloud Router + Order CloudRouterOrderPtrOutput `pulumi:"order"` + // Fabric Cloud Router package + Package CloudRouterPackageOutput `pulumi:"package"` + // Fabric Cloud Router project + Projects CloudRouterProjectArrayOutput `pulumi:"projects"` + // Fabric Cloud Router overall state + State pulumi.StringOutput `pulumi:"state"` + // Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewCloudRouter registers a new resource with the given unique name, arguments, and options. +func NewCloudRouter(ctx *pulumi.Context, + name string, args *CloudRouterArgs, opts ...pulumi.ResourceOption) (*CloudRouter, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Location == nil { + return nil, errors.New("invalid value for required argument 'Location'") + } + if args.Notifications == nil { + return nil, errors.New("invalid value for required argument 'Notifications'") + } + if args.Package == nil { + return nil, errors.New("invalid value for required argument 'Package'") + } + if args.Type == nil { + return nil, errors.New("invalid value for required argument 'Type'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource CloudRouter + err := ctx.RegisterResource("equinix:fabric/cloudRouter:CloudRouter", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudRouter gets an existing CloudRouter resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudRouter(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudRouterState, opts ...pulumi.ResourceOption) (*CloudRouter, error) { + var resource CloudRouter + err := ctx.ReadResource("equinix:fabric/cloudRouter:CloudRouter", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudRouter resources. +type cloudRouterState struct { + // Customer account information that is associated with this Fabric Cloud Router + Account *CloudRouterAccount `pulumi:"account"` + // Captures Fabric Cloud Router lifecycle change information + ChangeLogs []CloudRouterChangeLog `pulumi:"changeLogs"` + // Customer-provided Fabric Cloud Router description + Description *string `pulumi:"description"` + // Equinix ASN + EquinixAsn *int `pulumi:"equinixAsn"` + // Unique Resource URL + Href *string `pulumi:"href"` + // Fabric Cloud Router location + Location *CloudRouterLocation `pulumi:"location"` + // 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 + Notifications []CloudRouterNotification `pulumi:"notifications"` + // Order information related to this Fabric Cloud Router + Order *CloudRouterOrder `pulumi:"order"` + // Fabric Cloud Router package + Package *CloudRouterPackage `pulumi:"package"` + // Fabric Cloud Router project + Projects []CloudRouterProject `pulumi:"projects"` + // Fabric Cloud Router overall state + State *string `pulumi:"state"` + // Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + Type *string `pulumi:"type"` +} + +type CloudRouterState struct { + // Customer account information that is associated with this Fabric Cloud Router + Account CloudRouterAccountPtrInput + // Captures Fabric Cloud Router lifecycle change information + ChangeLogs CloudRouterChangeLogArrayInput + // Customer-provided Fabric Cloud Router description + Description pulumi.StringPtrInput + // Equinix ASN + EquinixAsn pulumi.IntPtrInput + // Unique Resource URL + Href pulumi.StringPtrInput + // Fabric Cloud Router location + Location CloudRouterLocationPtrInput + // 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 + Notifications CloudRouterNotificationArrayInput + // Order information related to this Fabric Cloud Router + Order CloudRouterOrderPtrInput + // Fabric Cloud Router package + Package CloudRouterPackagePtrInput + // Fabric Cloud Router project + Projects CloudRouterProjectArrayInput + // Fabric Cloud Router overall state + State pulumi.StringPtrInput + // Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + Type pulumi.StringPtrInput +} + +func (CloudRouterState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudRouterState)(nil)).Elem() +} + +type cloudRouterArgs struct { + // Customer account information that is associated with this Fabric Cloud Router + Account *CloudRouterAccount `pulumi:"account"` + // Customer-provided Fabric Cloud Router description + Description *string `pulumi:"description"` + // Fabric Cloud Router location + Location CloudRouterLocation `pulumi:"location"` + // 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 + Notifications []CloudRouterNotification `pulumi:"notifications"` + // Order information related to this Fabric Cloud Router + Order *CloudRouterOrder `pulumi:"order"` + // Fabric Cloud Router package + Package CloudRouterPackage `pulumi:"package"` + // Fabric Cloud Router project + Projects []CloudRouterProject `pulumi:"projects"` + // Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + Type string `pulumi:"type"` +} + +// The set of arguments for constructing a CloudRouter resource. +type CloudRouterArgs struct { + // Customer account information that is associated with this Fabric Cloud Router + Account CloudRouterAccountPtrInput + // Customer-provided Fabric Cloud Router description + Description pulumi.StringPtrInput + // Fabric Cloud Router location + Location CloudRouterLocationInput + // 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 + Notifications CloudRouterNotificationArrayInput + // Order information related to this Fabric Cloud Router + Order CloudRouterOrderPtrInput + // Fabric Cloud Router package + Package CloudRouterPackageInput + // Fabric Cloud Router project + Projects CloudRouterProjectArrayInput + // Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + Type pulumi.StringInput +} + +func (CloudRouterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudRouterArgs)(nil)).Elem() +} + +type CloudRouterInput interface { + pulumi.Input + + ToCloudRouterOutput() CloudRouterOutput + ToCloudRouterOutputWithContext(ctx context.Context) CloudRouterOutput +} + +func (*CloudRouter) ElementType() reflect.Type { + return reflect.TypeOf((**CloudRouter)(nil)).Elem() +} + +func (i *CloudRouter) ToCloudRouterOutput() CloudRouterOutput { + return i.ToCloudRouterOutputWithContext(context.Background()) +} + +func (i *CloudRouter) ToCloudRouterOutputWithContext(ctx context.Context) CloudRouterOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterOutput) +} + +func (i *CloudRouter) ToOutput(ctx context.Context) pulumix.Output[*CloudRouter] { + return pulumix.Output[*CloudRouter]{ + OutputState: i.ToCloudRouterOutputWithContext(ctx).OutputState, + } +} + +// CloudRouterArrayInput is an input type that accepts CloudRouterArray and CloudRouterArrayOutput values. +// You can construct a concrete instance of `CloudRouterArrayInput` via: +// +// CloudRouterArray{ CloudRouterArgs{...} } +type CloudRouterArrayInput interface { + pulumi.Input + + ToCloudRouterArrayOutput() CloudRouterArrayOutput + ToCloudRouterArrayOutputWithContext(context.Context) CloudRouterArrayOutput +} + +type CloudRouterArray []CloudRouterInput + +func (CloudRouterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*CloudRouter)(nil)).Elem() +} + +func (i CloudRouterArray) ToCloudRouterArrayOutput() CloudRouterArrayOutput { + return i.ToCloudRouterArrayOutputWithContext(context.Background()) +} + +func (i CloudRouterArray) ToCloudRouterArrayOutputWithContext(ctx context.Context) CloudRouterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterArrayOutput) +} + +func (i CloudRouterArray) ToOutput(ctx context.Context) pulumix.Output[[]*CloudRouter] { + return pulumix.Output[[]*CloudRouter]{ + OutputState: i.ToCloudRouterArrayOutputWithContext(ctx).OutputState, + } +} + +// CloudRouterMapInput is an input type that accepts CloudRouterMap and CloudRouterMapOutput values. +// You can construct a concrete instance of `CloudRouterMapInput` via: +// +// CloudRouterMap{ "key": CloudRouterArgs{...} } +type CloudRouterMapInput interface { + pulumi.Input + + ToCloudRouterMapOutput() CloudRouterMapOutput + ToCloudRouterMapOutputWithContext(context.Context) CloudRouterMapOutput +} + +type CloudRouterMap map[string]CloudRouterInput + +func (CloudRouterMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*CloudRouter)(nil)).Elem() +} + +func (i CloudRouterMap) ToCloudRouterMapOutput() CloudRouterMapOutput { + return i.ToCloudRouterMapOutputWithContext(context.Background()) +} + +func (i CloudRouterMap) ToCloudRouterMapOutputWithContext(ctx context.Context) CloudRouterMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterMapOutput) +} + +func (i CloudRouterMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*CloudRouter] { + return pulumix.Output[map[string]*CloudRouter]{ + OutputState: i.ToCloudRouterMapOutputWithContext(ctx).OutputState, + } +} + +type CloudRouterOutput struct{ *pulumi.OutputState } + +func (CloudRouterOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudRouter)(nil)).Elem() +} + +func (o CloudRouterOutput) ToCloudRouterOutput() CloudRouterOutput { + return o +} + +func (o CloudRouterOutput) ToCloudRouterOutputWithContext(ctx context.Context) CloudRouterOutput { + return o +} + +func (o CloudRouterOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRouter] { + return pulumix.Output[*CloudRouter]{ + OutputState: o.OutputState, + } +} + +// Customer account information that is associated with this Fabric Cloud Router +func (o CloudRouterOutput) Account() CloudRouterAccountPtrOutput { + return o.ApplyT(func(v *CloudRouter) CloudRouterAccountPtrOutput { return v.Account }).(CloudRouterAccountPtrOutput) +} + +// Captures Fabric Cloud Router lifecycle change information +func (o CloudRouterOutput) ChangeLogs() CloudRouterChangeLogArrayOutput { + return o.ApplyT(func(v *CloudRouter) CloudRouterChangeLogArrayOutput { return v.ChangeLogs }).(CloudRouterChangeLogArrayOutput) +} + +// Customer-provided Fabric Cloud Router description +func (o CloudRouterOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudRouter) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Equinix ASN +func (o CloudRouterOutput) EquinixAsn() pulumi.IntOutput { + return o.ApplyT(func(v *CloudRouter) pulumi.IntOutput { return v.EquinixAsn }).(pulumi.IntOutput) +} + +// Unique Resource URL +func (o CloudRouterOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v *CloudRouter) pulumi.StringOutput { return v.Href }).(pulumi.StringOutput) +} + +// Fabric Cloud Router location +func (o CloudRouterOutput) Location() CloudRouterLocationOutput { + return o.ApplyT(func(v *CloudRouter) CloudRouterLocationOutput { return v.Location }).(CloudRouterLocationOutput) +} + +// 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) +} + +// Preferences for notifications on Fabric Cloud Router configuration or status changes +func (o CloudRouterOutput) Notifications() CloudRouterNotificationArrayOutput { + return o.ApplyT(func(v *CloudRouter) CloudRouterNotificationArrayOutput { return v.Notifications }).(CloudRouterNotificationArrayOutput) +} + +// Order information related to this Fabric Cloud Router +func (o CloudRouterOutput) Order() CloudRouterOrderPtrOutput { + return o.ApplyT(func(v *CloudRouter) CloudRouterOrderPtrOutput { return v.Order }).(CloudRouterOrderPtrOutput) +} + +// Fabric Cloud Router package +func (o CloudRouterOutput) Package() CloudRouterPackageOutput { + return o.ApplyT(func(v *CloudRouter) CloudRouterPackageOutput { return v.Package }).(CloudRouterPackageOutput) +} + +// Fabric Cloud Router project +func (o CloudRouterOutput) Projects() CloudRouterProjectArrayOutput { + return o.ApplyT(func(v *CloudRouter) CloudRouterProjectArrayOutput { return v.Projects }).(CloudRouterProjectArrayOutput) +} + +// Fabric Cloud Router overall state +func (o CloudRouterOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *CloudRouter) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS +func (o CloudRouterOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *CloudRouter) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +type CloudRouterArrayOutput struct{ *pulumi.OutputState } + +func (CloudRouterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*CloudRouter)(nil)).Elem() +} + +func (o CloudRouterArrayOutput) ToCloudRouterArrayOutput() CloudRouterArrayOutput { + return o +} + +func (o CloudRouterArrayOutput) ToCloudRouterArrayOutputWithContext(ctx context.Context) CloudRouterArrayOutput { + return o +} + +func (o CloudRouterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*CloudRouter] { + return pulumix.Output[[]*CloudRouter]{ + OutputState: o.OutputState, + } +} + +func (o CloudRouterArrayOutput) Index(i pulumi.IntInput) CloudRouterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *CloudRouter { + return vs[0].([]*CloudRouter)[vs[1].(int)] + }).(CloudRouterOutput) +} + +type CloudRouterMapOutput struct{ *pulumi.OutputState } + +func (CloudRouterMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*CloudRouter)(nil)).Elem() +} + +func (o CloudRouterMapOutput) ToCloudRouterMapOutput() CloudRouterMapOutput { + return o +} + +func (o CloudRouterMapOutput) ToCloudRouterMapOutputWithContext(ctx context.Context) CloudRouterMapOutput { + return o +} + +func (o CloudRouterMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*CloudRouter] { + return pulumix.Output[map[string]*CloudRouter]{ + OutputState: o.OutputState, + } +} + +func (o CloudRouterMapOutput) MapIndex(k pulumi.StringInput) CloudRouterOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *CloudRouter { + return vs[0].(map[string]*CloudRouter)[vs[1].(string)] + }).(CloudRouterOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterInput)(nil)).Elem(), &CloudRouter{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterArrayInput)(nil)).Elem(), CloudRouterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterMapInput)(nil)).Elem(), CloudRouterMap{}) + pulumi.RegisterOutputType(CloudRouterOutput{}) + pulumi.RegisterOutputType(CloudRouterArrayOutput{}) + pulumi.RegisterOutputType(CloudRouterMapOutput{}) +} diff --git a/sdk/go/equinix/fabric/connection.go b/sdk/go/equinix/fabric/connection.go index 8dda3a64..3158be69 100644 --- a/sdk/go/equinix/fabric/connection.go +++ b/sdk/go/equinix/fabric/connection.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -119,21 +121,21 @@ type Connection struct { // Requester or Customer side connection configuration object of the multi-segment connection ASide ConnectionASideOutput `pulumi:"aSide"` - // Customer account information that is associated with this connection + // Account Account ConnectionAccountOutput `pulumi:"account"` - // Connection additional information - AdditionalInfo ConnectionAdditionalInfoArrayOutput `pulumi:"additionalInfo"` + // Connection side additional information + AdditionalInfo pulumi.MapArrayOutput `pulumi:"additionalInfo"` // Connection bandwidth in Mbps Bandwidth pulumi.IntOutput `pulumi:"bandwidth"` // Captures connection lifecycle change information ChangeLog ConnectionChangeLogOutput `pulumi:"changeLog"` // Connection directionality from the requester point of view Direction pulumi.StringOutput `pulumi:"direction"` - // Connection URI information + // Unique Resource Identifier Href pulumi.StringOutput `pulumi:"href"` // Connection property derived from access point locations IsRemote pulumi.BoolOutput `pulumi:"isRemote"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + // Port name Name pulumi.StringOutput `pulumi:"name"` // Preferences for notifications on connection configuration or status changes Notifications ConnectionNotificationArrayOutput `pulumi:"notifications"` @@ -145,9 +147,9 @@ type Connection struct { Project ConnectionProjectPtrOutput `pulumi:"project"` // Redundancy Information Redundancy ConnectionRedundancyPtrOutput `pulumi:"redundancy"` - // Connection overall state + // Routing protocol instance state State pulumi.StringOutput `pulumi:"state"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + // Interface type Type pulumi.StringOutput `pulumi:"type"` // Destination or Provider side connection configuration object of the multi-segment connection ZSide ConnectionZSideOutput `pulumi:"zSide"` @@ -175,7 +177,7 @@ func NewConnection(ctx *pulumi.Context, if args.ZSide == nil { return nil, errors.New("invalid value for required argument 'ZSide'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Connection err := ctx.RegisterResource("equinix:fabric/connection:Connection", name, args, &resource, opts...) if err != nil { @@ -200,21 +202,21 @@ func GetConnection(ctx *pulumi.Context, type connectionState struct { // Requester or Customer side connection configuration object of the multi-segment connection ASide *ConnectionASide `pulumi:"aSide"` - // Customer account information that is associated with this connection + // Account Account *ConnectionAccount `pulumi:"account"` - // Connection additional information - AdditionalInfo []ConnectionAdditionalInfo `pulumi:"additionalInfo"` + // Connection side additional information + AdditionalInfo []map[string]interface{} `pulumi:"additionalInfo"` // Connection bandwidth in Mbps Bandwidth *int `pulumi:"bandwidth"` // Captures connection lifecycle change information ChangeLog *ConnectionChangeLog `pulumi:"changeLog"` // Connection directionality from the requester point of view Direction *string `pulumi:"direction"` - // Connection URI information + // Unique Resource Identifier Href *string `pulumi:"href"` // Connection property derived from access point locations IsRemote *bool `pulumi:"isRemote"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + // Port name Name *string `pulumi:"name"` // Preferences for notifications on connection configuration or status changes Notifications []ConnectionNotification `pulumi:"notifications"` @@ -226,9 +228,9 @@ type connectionState struct { Project *ConnectionProject `pulumi:"project"` // Redundancy Information Redundancy *ConnectionRedundancy `pulumi:"redundancy"` - // Connection overall state + // Routing protocol instance state State *string `pulumi:"state"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + // Interface type Type *string `pulumi:"type"` // Destination or Provider side connection configuration object of the multi-segment connection ZSide *ConnectionZSide `pulumi:"zSide"` @@ -237,21 +239,21 @@ type connectionState struct { type ConnectionState struct { // Requester or Customer side connection configuration object of the multi-segment connection ASide ConnectionASidePtrInput - // Customer account information that is associated with this connection + // Account Account ConnectionAccountPtrInput - // Connection additional information - AdditionalInfo ConnectionAdditionalInfoArrayInput + // Connection side additional information + AdditionalInfo pulumi.MapArrayInput // Connection bandwidth in Mbps Bandwidth pulumi.IntPtrInput // Captures connection lifecycle change information ChangeLog ConnectionChangeLogPtrInput // Connection directionality from the requester point of view Direction pulumi.StringPtrInput - // Connection URI information + // Unique Resource Identifier Href pulumi.StringPtrInput // Connection property derived from access point locations IsRemote pulumi.BoolPtrInput - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + // Port name Name pulumi.StringPtrInput // Preferences for notifications on connection configuration or status changes Notifications ConnectionNotificationArrayInput @@ -263,9 +265,9 @@ type ConnectionState struct { Project ConnectionProjectPtrInput // Redundancy Information Redundancy ConnectionRedundancyPtrInput - // Connection overall state + // Routing protocol instance state State pulumi.StringPtrInput - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + // Interface type Type pulumi.StringPtrInput // Destination or Provider side connection configuration object of the multi-segment connection ZSide ConnectionZSidePtrInput @@ -278,11 +280,11 @@ func (ConnectionState) ElementType() reflect.Type { type connectionArgs struct { // Requester or Customer side connection configuration object of the multi-segment connection ASide ConnectionASide `pulumi:"aSide"` - // Connection additional information - AdditionalInfo []ConnectionAdditionalInfo `pulumi:"additionalInfo"` + // Connection side additional information + AdditionalInfo []map[string]interface{} `pulumi:"additionalInfo"` // Connection bandwidth in Mbps Bandwidth int `pulumi:"bandwidth"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + // Port name Name *string `pulumi:"name"` // Preferences for notifications on connection configuration or status changes Notifications []ConnectionNotification `pulumi:"notifications"` @@ -292,7 +294,7 @@ type connectionArgs struct { Project *ConnectionProject `pulumi:"project"` // Redundancy Information Redundancy *ConnectionRedundancy `pulumi:"redundancy"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + // Interface type Type string `pulumi:"type"` // Destination or Provider side connection configuration object of the multi-segment connection ZSide ConnectionZSide `pulumi:"zSide"` @@ -302,11 +304,11 @@ type connectionArgs struct { type ConnectionArgs struct { // Requester or Customer side connection configuration object of the multi-segment connection ASide ConnectionASideInput - // Connection additional information - AdditionalInfo ConnectionAdditionalInfoArrayInput + // Connection side additional information + AdditionalInfo pulumi.MapArrayInput // Connection bandwidth in Mbps Bandwidth pulumi.IntInput - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + // Port name Name pulumi.StringPtrInput // Preferences for notifications on connection configuration or status changes Notifications ConnectionNotificationArrayInput @@ -316,7 +318,7 @@ type ConnectionArgs struct { Project ConnectionProjectPtrInput // Redundancy Information Redundancy ConnectionRedundancyPtrInput - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + // Interface type Type pulumi.StringInput // Destination or Provider side connection configuration object of the multi-segment connection ZSide ConnectionZSideInput @@ -345,6 +347,12 @@ func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) Connecti return pulumi.ToOutputWithContext(ctx, i).(ConnectionOutput) } +func (i *Connection) ToOutput(ctx context.Context) pulumix.Output[*Connection] { + return pulumix.Output[*Connection]{ + OutputState: i.ToConnectionOutputWithContext(ctx).OutputState, + } +} + // ConnectionArrayInput is an input type that accepts ConnectionArray and ConnectionArrayOutput values. // You can construct a concrete instance of `ConnectionArrayInput` via: // @@ -370,6 +378,12 @@ func (i ConnectionArray) ToConnectionArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ConnectionArrayOutput) } +func (i ConnectionArray) ToOutput(ctx context.Context) pulumix.Output[[]*Connection] { + return pulumix.Output[[]*Connection]{ + OutputState: i.ToConnectionArrayOutputWithContext(ctx).OutputState, + } +} + // ConnectionMapInput is an input type that accepts ConnectionMap and ConnectionMapOutput values. // You can construct a concrete instance of `ConnectionMapInput` via: // @@ -395,6 +409,12 @@ func (i ConnectionMap) ToConnectionMapOutputWithContext(ctx context.Context) Con return pulumi.ToOutputWithContext(ctx, i).(ConnectionMapOutput) } +func (i ConnectionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Connection] { + return pulumix.Output[map[string]*Connection]{ + OutputState: i.ToConnectionMapOutputWithContext(ctx).OutputState, + } +} + type ConnectionOutput struct{ *pulumi.OutputState } func (ConnectionOutput) ElementType() reflect.Type { @@ -409,19 +429,25 @@ func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) Con return o } +func (o ConnectionOutput) ToOutput(ctx context.Context) pulumix.Output[*Connection] { + return pulumix.Output[*Connection]{ + OutputState: o.OutputState, + } +} + // Requester or Customer side connection configuration object of the multi-segment connection func (o ConnectionOutput) ASide() ConnectionASideOutput { return o.ApplyT(func(v *Connection) ConnectionASideOutput { return v.ASide }).(ConnectionASideOutput) } -// Customer account information that is associated with this connection +// Account func (o ConnectionOutput) Account() ConnectionAccountOutput { return o.ApplyT(func(v *Connection) ConnectionAccountOutput { return v.Account }).(ConnectionAccountOutput) } -// Connection additional information -func (o ConnectionOutput) AdditionalInfo() ConnectionAdditionalInfoArrayOutput { - return o.ApplyT(func(v *Connection) ConnectionAdditionalInfoArrayOutput { return v.AdditionalInfo }).(ConnectionAdditionalInfoArrayOutput) +// Connection side additional information +func (o ConnectionOutput) AdditionalInfo() pulumi.MapArrayOutput { + return o.ApplyT(func(v *Connection) pulumi.MapArrayOutput { return v.AdditionalInfo }).(pulumi.MapArrayOutput) } // Connection bandwidth in Mbps @@ -439,7 +465,7 @@ func (o ConnectionOutput) Direction() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.Direction }).(pulumi.StringOutput) } -// Connection URI information +// Unique Resource Identifier func (o ConnectionOutput) Href() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.Href }).(pulumi.StringOutput) } @@ -449,7 +475,7 @@ func (o ConnectionOutput) IsRemote() pulumi.BoolOutput { return o.ApplyT(func(v *Connection) pulumi.BoolOutput { return v.IsRemote }).(pulumi.BoolOutput) } -// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores +// Port name func (o ConnectionOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } @@ -479,12 +505,12 @@ func (o ConnectionOutput) Redundancy() ConnectionRedundancyPtrOutput { return o.ApplyT(func(v *Connection) ConnectionRedundancyPtrOutput { return v.Redundancy }).(ConnectionRedundancyPtrOutput) } -// Connection overall state +// Routing protocol instance state func (o ConnectionOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC +// Interface type func (o ConnectionOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) } @@ -508,6 +534,12 @@ func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Co return o } +func (o ConnectionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Connection] { + return pulumix.Output[[]*Connection]{ + OutputState: o.OutputState, + } +} + func (o ConnectionArrayOutput) Index(i pulumi.IntInput) ConnectionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Connection { return vs[0].([]*Connection)[vs[1].(int)] @@ -528,6 +560,12 @@ func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Contex return o } +func (o ConnectionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Connection] { + return pulumix.Output[map[string]*Connection]{ + OutputState: o.OutputState, + } +} + func (o ConnectionMapOutput) MapIndex(k pulumi.StringInput) ConnectionOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Connection { return vs[0].(map[string]*Connection)[vs[1].(string)] diff --git a/sdk/go/equinix/fabric/getCloudRouter.go b/sdk/go/equinix/fabric/getCloudRouter.go new file mode 100644 index 00000000..d75aa591 --- /dev/null +++ b/sdk/go/equinix/fabric/getCloudRouter.go @@ -0,0 +1,205 @@ +// 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" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +func LookupCloudRouter(ctx *pulumi.Context, args *LookupCloudRouterArgs, opts ...pulumi.InvokeOption) (*LookupCloudRouterResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCloudRouterResult + err := ctx.Invoke("equinix:fabric/getCloudRouter:getCloudRouter", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudRouter. +type LookupCloudRouterArgs struct { + // Project information + Projects []GetCloudRouterProject `pulumi:"projects"` + // Equinix-assigned Fabric Cloud Router identifier + Uuid *string `pulumi:"uuid"` +} + +// A collection of values returned by getCloudRouter. +type LookupCloudRouterResult struct { + // Customer account information that is associated with this Fabric Cloud Router + Accounts []GetCloudRouterAccount `pulumi:"accounts"` + BgpIpv4RoutesCount int `pulumi:"bgpIpv4RoutesCount"` + BgpIpv6RoutesCount int `pulumi:"bgpIpv6RoutesCount"` + // Captures Fabric Cloud Router lifecycle change information + ChangeLogs []GetCloudRouterChangeLog `pulumi:"changeLogs"` + ConnectionsCount int `pulumi:"connectionsCount"` + // Customer-provided Fabric Cloud Router description + Description string `pulumi:"description"` + // Equinix ASN + EquinixAsn int `pulumi:"equinixAsn"` + // Fabric Cloud Router URI information + Href string `pulumi:"href"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Fabric Cloud Router location + Locations []GetCloudRouterLocation `pulumi:"locations"` + // 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 + Notifications []GetCloudRouterNotification `pulumi:"notifications"` + // Order information related to this Fabric Cloud Router + Orders []GetCloudRouterOrder `pulumi:"orders"` + // Fabric Cloud Router package information + Packages []GetCloudRouterPackage `pulumi:"packages"` + // Project information + Projects []GetCloudRouterProject `pulumi:"projects"` + // Fabric Cloud Router overall state + State string `pulumi:"state"` + // Defines the Fabric Cloud Router type like XF_GATEWAY + Type string `pulumi:"type"` + // Equinix-assigned Fabric Cloud Router identifier + Uuid *string `pulumi:"uuid"` +} + +func LookupCloudRouterOutput(ctx *pulumi.Context, args LookupCloudRouterOutputArgs, opts ...pulumi.InvokeOption) LookupCloudRouterResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudRouterResult, error) { + args := v.(LookupCloudRouterArgs) + r, err := LookupCloudRouter(ctx, &args, opts...) + var s LookupCloudRouterResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudRouterResultOutput) +} + +// A collection of arguments for invoking getCloudRouter. +type LookupCloudRouterOutputArgs struct { + // Project information + Projects GetCloudRouterProjectArrayInput `pulumi:"projects"` + // Equinix-assigned Fabric Cloud Router identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (LookupCloudRouterOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudRouterArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudRouter. +type LookupCloudRouterResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudRouterResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudRouterResult)(nil)).Elem() +} + +func (o LookupCloudRouterResultOutput) ToLookupCloudRouterResultOutput() LookupCloudRouterResultOutput { + return o +} + +func (o LookupCloudRouterResultOutput) ToLookupCloudRouterResultOutputWithContext(ctx context.Context) LookupCloudRouterResultOutput { + return o +} + +func (o LookupCloudRouterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCloudRouterResult] { + return pulumix.Output[LookupCloudRouterResult]{ + OutputState: o.OutputState, + } +} + +// Customer account information that is associated with this Fabric Cloud Router +func (o LookupCloudRouterResultOutput) Accounts() GetCloudRouterAccountArrayOutput { + return o.ApplyT(func(v LookupCloudRouterResult) []GetCloudRouterAccount { return v.Accounts }).(GetCloudRouterAccountArrayOutput) +} + +func (o LookupCloudRouterResultOutput) BgpIpv4RoutesCount() pulumi.IntOutput { + return o.ApplyT(func(v LookupCloudRouterResult) int { return v.BgpIpv4RoutesCount }).(pulumi.IntOutput) +} + +func (o LookupCloudRouterResultOutput) BgpIpv6RoutesCount() pulumi.IntOutput { + return o.ApplyT(func(v LookupCloudRouterResult) int { return v.BgpIpv6RoutesCount }).(pulumi.IntOutput) +} + +// Captures Fabric Cloud Router lifecycle change information +func (o LookupCloudRouterResultOutput) ChangeLogs() GetCloudRouterChangeLogArrayOutput { + return o.ApplyT(func(v LookupCloudRouterResult) []GetCloudRouterChangeLog { return v.ChangeLogs }).(GetCloudRouterChangeLogArrayOutput) +} + +func (o LookupCloudRouterResultOutput) ConnectionsCount() pulumi.IntOutput { + return o.ApplyT(func(v LookupCloudRouterResult) int { return v.ConnectionsCount }).(pulumi.IntOutput) +} + +// Customer-provided Fabric Cloud Router description +func (o LookupCloudRouterResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudRouterResult) string { return v.Description }).(pulumi.StringOutput) +} + +// Equinix ASN +func (o LookupCloudRouterResultOutput) EquinixAsn() pulumi.IntOutput { + return o.ApplyT(func(v LookupCloudRouterResult) int { return v.EquinixAsn }).(pulumi.IntOutput) +} + +// Fabric Cloud Router URI information +func (o LookupCloudRouterResultOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudRouterResult) string { return v.Href }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupCloudRouterResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudRouterResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Fabric Cloud Router location +func (o LookupCloudRouterResultOutput) Locations() GetCloudRouterLocationArrayOutput { + return o.ApplyT(func(v LookupCloudRouterResult) []GetCloudRouterLocation { return v.Locations }).(GetCloudRouterLocationArrayOutput) +} + +// 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) +} + +// Preferences for notifications on Fabric Cloud Router configuration or status changes +func (o LookupCloudRouterResultOutput) Notifications() GetCloudRouterNotificationArrayOutput { + return o.ApplyT(func(v LookupCloudRouterResult) []GetCloudRouterNotification { return v.Notifications }).(GetCloudRouterNotificationArrayOutput) +} + +// Order information related to this Fabric Cloud Router +func (o LookupCloudRouterResultOutput) Orders() GetCloudRouterOrderArrayOutput { + return o.ApplyT(func(v LookupCloudRouterResult) []GetCloudRouterOrder { return v.Orders }).(GetCloudRouterOrderArrayOutput) +} + +// Fabric Cloud Router package information +func (o LookupCloudRouterResultOutput) Packages() GetCloudRouterPackageArrayOutput { + return o.ApplyT(func(v LookupCloudRouterResult) []GetCloudRouterPackage { return v.Packages }).(GetCloudRouterPackageArrayOutput) +} + +// Project information +func (o LookupCloudRouterResultOutput) Projects() GetCloudRouterProjectArrayOutput { + return o.ApplyT(func(v LookupCloudRouterResult) []GetCloudRouterProject { return v.Projects }).(GetCloudRouterProjectArrayOutput) +} + +// Fabric Cloud Router overall state +func (o LookupCloudRouterResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudRouterResult) string { return v.State }).(pulumi.StringOutput) +} + +// Defines the Fabric Cloud Router type like XF_GATEWAY +func (o LookupCloudRouterResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudRouterResult) string { return v.Type }).(pulumi.StringOutput) +} + +// Equinix-assigned Fabric Cloud Router identifier +func (o LookupCloudRouterResultOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudRouterResult) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudRouterResultOutput{}) +} diff --git a/sdk/go/equinix/fabric/getConnection.go b/sdk/go/equinix/fabric/getConnection.go index 7b55dabd..ef79814e 100644 --- a/sdk/go/equinix/fabric/getConnection.go +++ b/sdk/go/equinix/fabric/getConnection.go @@ -7,11 +7,13 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) func LookupConnection(ctx *pulumi.Context, args *LookupConnectionArgs, opts ...pulumi.InvokeOption) (*LookupConnectionResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupConnectionResult err := ctx.Invoke("equinix:fabric/getConnection:getConnection", args, &rv, opts...) if err != nil { @@ -24,8 +26,7 @@ func LookupConnection(ctx *pulumi.Context, args *LookupConnectionArgs, opts ...p type LookupConnectionArgs struct { // Project information Project *GetConnectionProject `pulumi:"project"` - // Equinix-assigned connection identifier - Uuid *string `pulumi:"uuid"` + Uuid *string `pulumi:"uuid"` } // A collection of values returned by getConnection. @@ -64,7 +65,7 @@ type LookupConnectionResult struct { Redundancy GetConnectionRedundancy `pulumi:"redundancy"` // Connection overall state State string `pulumi:"state"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, IP*VC, ACCESS*EPL_VC Type string `pulumi:"type"` // Equinix-assigned connection identifier Uuid *string `pulumi:"uuid"` @@ -89,8 +90,7 @@ func LookupConnectionOutput(ctx *pulumi.Context, args LookupConnectionOutputArgs type LookupConnectionOutputArgs struct { // Project information Project GetConnectionProjectPtrInput `pulumi:"project"` - // Equinix-assigned connection identifier - Uuid pulumi.StringPtrInput `pulumi:"uuid"` + Uuid pulumi.StringPtrInput `pulumi:"uuid"` } func (LookupConnectionOutputArgs) ElementType() reflect.Type { @@ -112,6 +112,12 @@ func (o LookupConnectionResultOutput) ToLookupConnectionResultOutputWithContext( return o } +func (o LookupConnectionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectionResult] { + return pulumix.Output[LookupConnectionResult]{ + OutputState: o.OutputState, + } +} + // Requester or Customer side connection configuration object of the multi-segment connection func (o LookupConnectionResultOutput) ASide() GetConnectionASideOutput { return o.ApplyT(func(v LookupConnectionResult) GetConnectionASide { return v.ASide }).(GetConnectionASideOutput) @@ -197,7 +203,7 @@ func (o LookupConnectionResultOutput) State() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.State }).(pulumi.StringOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC +// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, IP*VC, ACCESS*EPL_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/getPort.go b/sdk/go/equinix/fabric/getPort.go index 4d6afd2d..3abcda7f 100644 --- a/sdk/go/equinix/fabric/getPort.go +++ b/sdk/go/equinix/fabric/getPort.go @@ -7,11 +7,13 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) func GetPort(ctx *pulumi.Context, args *GetPortArgs, opts ...pulumi.InvokeOption) (*GetPortResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetPortResult err := ctx.Invoke("equinix:fabric/getPort:getPort", args, &rv, opts...) if err != nil { @@ -45,9 +47,8 @@ type GetPortResult struct { // Port URI information Href string `pulumi:"href"` // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // Port Lag - Lag GetPortLag `pulumi:"lag"` + Id string `pulumi:"id"` + LagEnabled bool `pulumi:"lagEnabled"` // Port location information Location GetPortLocation `pulumi:"location"` // Port name @@ -106,6 +107,12 @@ func (o GetPortResultOutput) ToGetPortResultOutputWithContext(ctx context.Contex return o } +func (o GetPortResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortResult] { + return pulumix.Output[GetPortResult]{ + OutputState: o.OutputState, + } +} + // Customer account information that is associated with this port func (o GetPortResultOutput) Account() GetPortAccountOutput { return o.ApplyT(func(v GetPortResult) GetPortAccount { return v.Account }).(GetPortAccountOutput) @@ -151,9 +158,8 @@ func (o GetPortResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetPortResult) string { return v.Id }).(pulumi.StringOutput) } -// Port Lag -func (o GetPortResultOutput) Lag() GetPortLagOutput { - return o.ApplyT(func(v GetPortResult) GetPortLag { return v.Lag }).(GetPortLagOutput) +func (o GetPortResultOutput) LagEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetPortResult) bool { return v.LagEnabled }).(pulumi.BoolOutput) } // Port location information diff --git a/sdk/go/equinix/fabric/getPorts.go b/sdk/go/equinix/fabric/getPorts.go index 1ab2114a..1fb1afa6 100644 --- a/sdk/go/equinix/fabric/getPorts.go +++ b/sdk/go/equinix/fabric/getPorts.go @@ -7,11 +7,13 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) func GetPorts(ctx *pulumi.Context, args *GetPortsArgs, opts ...pulumi.InvokeOption) (*GetPortsResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetPortsResult err := ctx.Invoke("equinix:fabric/getPorts:getPorts", args, &rv, opts...) if err != nil { @@ -74,6 +76,12 @@ func (o GetPortsResultOutput) ToGetPortsResultOutputWithContext(ctx context.Cont return o } +func (o GetPortsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortsResult] { + return pulumix.Output[GetPortsResult]{ + OutputState: o.OutputState, + } +} + // List of Ports func (o GetPortsResultOutput) Data() GetPortsDatumArrayOutput { return o.ApplyT(func(v GetPortsResult) []GetPortsDatum { return v.Data }).(GetPortsDatumArrayOutput) diff --git a/sdk/go/equinix/fabric/getRoutingProtocol.go b/sdk/go/equinix/fabric/getRoutingProtocol.go new file mode 100644 index 00000000..e97f1305 --- /dev/null +++ b/sdk/go/equinix/fabric/getRoutingProtocol.go @@ -0,0 +1,254 @@ +// 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" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +func LookupRoutingProtocol(ctx *pulumi.Context, args *LookupRoutingProtocolArgs, opts ...pulumi.InvokeOption) (*LookupRoutingProtocolResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupRoutingProtocolResult + err := ctx.Invoke("equinix:fabric/getRoutingProtocol:getRoutingProtocol", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getRoutingProtocol. +type LookupRoutingProtocolArgs struct { + // Bidirectional Forwarding Detection + Bfd *GetRoutingProtocolBfd `pulumi:"bfd"` + // BGP authorization key + BgpAuthKey *string `pulumi:"bgpAuthKey"` + // Routing Protocol BGP IPv4 + BgpIpv4 *GetRoutingProtocolBgpIpv4 `pulumi:"bgpIpv4"` + // Routing Protocol BGP IPv6 + BgpIpv6 *GetRoutingProtocolBgpIpv6 `pulumi:"bgpIpv6"` + // Connection URI associated with Routing Protocol + ConnectionUuid string `pulumi:"connectionUuid"` + // Customer-provided ASN + CustomerAsn *int `pulumi:"customerAsn"` + // Customer-provided Fabric Routing Protocol description + Description *string `pulumi:"description"` + // Routing Protocol Direct IPv4 + DirectIpv4 *GetRoutingProtocolDirectIpv4 `pulumi:"directIpv4"` + // Routing Protocol Direct IPv6 + DirectIpv6 *GetRoutingProtocolDirectIpv6 `pulumi:"directIpv6"` + // Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Name *string `pulumi:"name"` + Type *string `pulumi:"type"` + Uuid *string `pulumi:"uuid"` +} + +// A collection of values returned by getRoutingProtocol. +type LookupRoutingProtocolResult struct { + // Bidirectional Forwarding Detection + Bfd *GetRoutingProtocolBfd `pulumi:"bfd"` + // BGP authorization key + BgpAuthKey *string `pulumi:"bgpAuthKey"` + // Routing Protocol BGP IPv4 + BgpIpv4 *GetRoutingProtocolBgpIpv4 `pulumi:"bgpIpv4"` + // Routing Protocol BGP IPv6 + BgpIpv6 *GetRoutingProtocolBgpIpv6 `pulumi:"bgpIpv6"` + // Captures Routing Protocol lifecycle change information + ChangeLogs []GetRoutingProtocolChangeLog `pulumi:"changeLogs"` + // Routing Protocol configuration Changes + Changes []GetRoutingProtocolChange `pulumi:"changes"` + // Connection URI associated with Routing Protocol + ConnectionUuid string `pulumi:"connectionUuid"` + // Customer-provided ASN + CustomerAsn *int `pulumi:"customerAsn"` + // Customer-provided Fabric Routing Protocol description + Description *string `pulumi:"description"` + // Routing Protocol Direct IPv4 + DirectIpv4 *GetRoutingProtocolDirectIpv4 `pulumi:"directIpv4"` + // Routing Protocol Direct IPv6 + DirectIpv6 *GetRoutingProtocolDirectIpv6 `pulumi:"directIpv6"` + // Equinix ASN + EquinixAsn int `pulumi:"equinixAsn"` + // Routing Protocol URI information + Href string `pulumi:"href"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Name *string `pulumi:"name"` + // Routing Protocol type-specific operational data + Operations []GetRoutingProtocolOperation `pulumi:"operations"` + // Routing Protocol overall state + State string `pulumi:"state"` + // Defines the routing protocol type like BGP or DIRECT + Type *string `pulumi:"type"` + // Equinix-assigned routing protocol identifier + Uuid string `pulumi:"uuid"` +} + +func LookupRoutingProtocolOutput(ctx *pulumi.Context, args LookupRoutingProtocolOutputArgs, opts ...pulumi.InvokeOption) LookupRoutingProtocolResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupRoutingProtocolResult, error) { + args := v.(LookupRoutingProtocolArgs) + r, err := LookupRoutingProtocol(ctx, &args, opts...) + var s LookupRoutingProtocolResult + if r != nil { + s = *r + } + return s, err + }).(LookupRoutingProtocolResultOutput) +} + +// A collection of arguments for invoking getRoutingProtocol. +type LookupRoutingProtocolOutputArgs struct { + // Bidirectional Forwarding Detection + Bfd GetRoutingProtocolBfdPtrInput `pulumi:"bfd"` + // BGP authorization key + BgpAuthKey pulumi.StringPtrInput `pulumi:"bgpAuthKey"` + // Routing Protocol BGP IPv4 + BgpIpv4 GetRoutingProtocolBgpIpv4PtrInput `pulumi:"bgpIpv4"` + // Routing Protocol BGP IPv6 + BgpIpv6 GetRoutingProtocolBgpIpv6PtrInput `pulumi:"bgpIpv6"` + // Connection URI associated with Routing Protocol + ConnectionUuid pulumi.StringInput `pulumi:"connectionUuid"` + // Customer-provided ASN + CustomerAsn pulumi.IntPtrInput `pulumi:"customerAsn"` + // Customer-provided Fabric Routing Protocol description + Description pulumi.StringPtrInput `pulumi:"description"` + // Routing Protocol Direct IPv4 + DirectIpv4 GetRoutingProtocolDirectIpv4PtrInput `pulumi:"directIpv4"` + // Routing Protocol Direct IPv6 + DirectIpv6 GetRoutingProtocolDirectIpv6PtrInput `pulumi:"directIpv6"` + // Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Name pulumi.StringPtrInput `pulumi:"name"` + Type pulumi.StringPtrInput `pulumi:"type"` + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (LookupRoutingProtocolOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupRoutingProtocolArgs)(nil)).Elem() +} + +// A collection of values returned by getRoutingProtocol. +type LookupRoutingProtocolResultOutput struct{ *pulumi.OutputState } + +func (LookupRoutingProtocolResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupRoutingProtocolResult)(nil)).Elem() +} + +func (o LookupRoutingProtocolResultOutput) ToLookupRoutingProtocolResultOutput() LookupRoutingProtocolResultOutput { + return o +} + +func (o LookupRoutingProtocolResultOutput) ToLookupRoutingProtocolResultOutputWithContext(ctx context.Context) LookupRoutingProtocolResultOutput { + return o +} + +func (o LookupRoutingProtocolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRoutingProtocolResult] { + return pulumix.Output[LookupRoutingProtocolResult]{ + OutputState: o.OutputState, + } +} + +// Bidirectional Forwarding Detection +func (o LookupRoutingProtocolResultOutput) Bfd() GetRoutingProtocolBfdPtrOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) *GetRoutingProtocolBfd { return v.Bfd }).(GetRoutingProtocolBfdPtrOutput) +} + +// BGP authorization key +func (o LookupRoutingProtocolResultOutput) BgpAuthKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) *string { return v.BgpAuthKey }).(pulumi.StringPtrOutput) +} + +// Routing Protocol BGP IPv4 +func (o LookupRoutingProtocolResultOutput) BgpIpv4() GetRoutingProtocolBgpIpv4PtrOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) *GetRoutingProtocolBgpIpv4 { return v.BgpIpv4 }).(GetRoutingProtocolBgpIpv4PtrOutput) +} + +// Routing Protocol BGP IPv6 +func (o LookupRoutingProtocolResultOutput) BgpIpv6() GetRoutingProtocolBgpIpv6PtrOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) *GetRoutingProtocolBgpIpv6 { return v.BgpIpv6 }).(GetRoutingProtocolBgpIpv6PtrOutput) +} + +// Captures Routing Protocol lifecycle change information +func (o LookupRoutingProtocolResultOutput) ChangeLogs() GetRoutingProtocolChangeLogArrayOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) []GetRoutingProtocolChangeLog { return v.ChangeLogs }).(GetRoutingProtocolChangeLogArrayOutput) +} + +// Routing Protocol configuration Changes +func (o LookupRoutingProtocolResultOutput) Changes() GetRoutingProtocolChangeArrayOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) []GetRoutingProtocolChange { return v.Changes }).(GetRoutingProtocolChangeArrayOutput) +} + +// Connection URI associated with Routing Protocol +func (o LookupRoutingProtocolResultOutput) ConnectionUuid() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) string { return v.ConnectionUuid }).(pulumi.StringOutput) +} + +// Customer-provided ASN +func (o LookupRoutingProtocolResultOutput) CustomerAsn() pulumi.IntPtrOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) *int { return v.CustomerAsn }).(pulumi.IntPtrOutput) +} + +// Customer-provided Fabric Routing Protocol description +func (o LookupRoutingProtocolResultOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// Routing Protocol Direct IPv4 +func (o LookupRoutingProtocolResultOutput) DirectIpv4() GetRoutingProtocolDirectIpv4PtrOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) *GetRoutingProtocolDirectIpv4 { return v.DirectIpv4 }).(GetRoutingProtocolDirectIpv4PtrOutput) +} + +// Routing Protocol Direct IPv6 +func (o LookupRoutingProtocolResultOutput) DirectIpv6() GetRoutingProtocolDirectIpv6PtrOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) *GetRoutingProtocolDirectIpv6 { return v.DirectIpv6 }).(GetRoutingProtocolDirectIpv6PtrOutput) +} + +// Equinix ASN +func (o LookupRoutingProtocolResultOutput) EquinixAsn() pulumi.IntOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) int { return v.EquinixAsn }).(pulumi.IntOutput) +} + +// Routing Protocol URI information +func (o LookupRoutingProtocolResultOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) string { return v.Href }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupRoutingProtocolResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores +func (o LookupRoutingProtocolResultOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Routing Protocol type-specific operational data +func (o LookupRoutingProtocolResultOutput) Operations() GetRoutingProtocolOperationArrayOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) []GetRoutingProtocolOperation { return v.Operations }).(GetRoutingProtocolOperationArrayOutput) +} + +// Routing Protocol overall state +func (o LookupRoutingProtocolResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) string { return v.State }).(pulumi.StringOutput) +} + +// Defines the routing protocol type like BGP or DIRECT +func (o LookupRoutingProtocolResultOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned routing protocol identifier +func (o LookupRoutingProtocolResultOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v LookupRoutingProtocolResult) string { return v.Uuid }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupRoutingProtocolResultOutput{}) +} diff --git a/sdk/go/equinix/fabric/getServiceProfile.go b/sdk/go/equinix/fabric/getServiceProfile.go index fd1ca0c4..2c6d9c43 100644 --- a/sdk/go/equinix/fabric/getServiceProfile.go +++ b/sdk/go/equinix/fabric/getServiceProfile.go @@ -7,14 +7,16 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fabric V4 API compatible data resource that allow user to fetch Service Profile by UUID filter criteria // // > **Note** Equinix Fabric v4 resources and datasources are currently in Beta. The interfaces related to `equinix_fabric_` resources and datasources may change ahead of general availability func LookupServiceProfile(ctx *pulumi.Context, args *LookupServiceProfileArgs, opts ...pulumi.InvokeOption) (*LookupServiceProfileResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupServiceProfileResult err := ctx.Invoke("equinix:fabric/getServiceProfile:getServiceProfile", args, &rv, opts...) if err != nil { @@ -27,8 +29,7 @@ func LookupServiceProfile(ctx *pulumi.Context, args *LookupServiceProfileArgs, o type LookupServiceProfileArgs struct { // Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED State *string `pulumi:"state"` - // Equinix assigned service profile identifier - Uuid string `pulumi:"uuid"` + Uuid string `pulumi:"uuid"` } // A collection of values returned by getServiceProfile. @@ -92,8 +93,7 @@ func LookupServiceProfileOutput(ctx *pulumi.Context, args LookupServiceProfileOu type LookupServiceProfileOutputArgs struct { // Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED State pulumi.StringPtrInput `pulumi:"state"` - // Equinix assigned service profile identifier - Uuid pulumi.StringInput `pulumi:"uuid"` + Uuid pulumi.StringInput `pulumi:"uuid"` } func (LookupServiceProfileOutputArgs) ElementType() reflect.Type { @@ -115,6 +115,12 @@ func (o LookupServiceProfileResultOutput) ToLookupServiceProfileResultOutputWith return o } +func (o LookupServiceProfileResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceProfileResult] { + return pulumix.Output[LookupServiceProfileResult]{ + OutputState: o.OutputState, + } +} + // Access point config information func (o LookupServiceProfileResultOutput) AccessPointTypeConfigs() GetServiceProfileAccessPointTypeConfigArrayOutput { return o.ApplyT(func(v LookupServiceProfileResult) []GetServiceProfileAccessPointTypeConfig { diff --git a/sdk/go/equinix/fabric/getServiceProfiles.go b/sdk/go/equinix/fabric/getServiceProfiles.go index bda6f683..e9fc79d1 100644 --- a/sdk/go/equinix/fabric/getServiceProfiles.go +++ b/sdk/go/equinix/fabric/getServiceProfiles.go @@ -7,11 +7,13 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) func GetServiceProfiles(ctx *pulumi.Context, args *GetServiceProfilesArgs, opts ...pulumi.InvokeOption) (*GetServiceProfilesResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetServiceProfilesResult err := ctx.Invoke("equinix:fabric/getServiceProfiles:getServiceProfiles", args, &rv, opts...) if err != nil { @@ -26,6 +28,8 @@ type GetServiceProfilesArgs struct { Filter *GetServiceProfilesFilter `pulumi:"filter"` // Service Profile Sort criteria for Search Request response payload Sort []GetServiceProfilesSort `pulumi:"sort"` + // Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + ViewPoint *string `pulumi:"viewPoint"` } // A collection of values returned by getServiceProfiles. @@ -38,6 +42,8 @@ type GetServiceProfilesResult struct { Id string `pulumi:"id"` // Service Profile Sort criteria for Search Request response payload Sort []GetServiceProfilesSort `pulumi:"sort"` + // Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + ViewPoint *string `pulumi:"viewPoint"` } func GetServiceProfilesOutput(ctx *pulumi.Context, args GetServiceProfilesOutputArgs, opts ...pulumi.InvokeOption) GetServiceProfilesResultOutput { @@ -59,6 +65,8 @@ type GetServiceProfilesOutputArgs struct { Filter GetServiceProfilesFilterPtrInput `pulumi:"filter"` // Service Profile Sort criteria for Search Request response payload Sort GetServiceProfilesSortArrayInput `pulumi:"sort"` + // Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + ViewPoint pulumi.StringPtrInput `pulumi:"viewPoint"` } func (GetServiceProfilesOutputArgs) ElementType() reflect.Type { @@ -80,6 +88,12 @@ func (o GetServiceProfilesResultOutput) ToGetServiceProfilesResultOutputWithCont return o } +func (o GetServiceProfilesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesResult] { + return pulumix.Output[GetServiceProfilesResult]{ + OutputState: o.OutputState, + } +} + // List of Service Profiles func (o GetServiceProfilesResultOutput) Data() GetServiceProfilesDatumArrayOutput { return o.ApplyT(func(v GetServiceProfilesResult) []GetServiceProfilesDatum { return v.Data }).(GetServiceProfilesDatumArrayOutput) @@ -100,6 +114,11 @@ func (o GetServiceProfilesResultOutput) Sort() GetServiceProfilesSortArrayOutput return o.ApplyT(func(v GetServiceProfilesResult) []GetServiceProfilesSort { return v.Sort }).(GetServiceProfilesSortArrayOutput) } +// Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. +func (o GetServiceProfilesResultOutput) ViewPoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServiceProfilesResult) *string { return v.ViewPoint }).(pulumi.StringPtrOutput) +} + func init() { pulumi.RegisterOutputType(GetServiceProfilesResultOutput{}) } diff --git a/sdk/go/equinix/fabric/init.go b/sdk/go/equinix/fabric/init.go index acfda5f6..f853f48f 100644 --- a/sdk/go/equinix/fabric/init.go +++ b/sdk/go/equinix/fabric/init.go @@ -7,7 +7,7 @@ import ( "fmt" "github.com/blang/semver" - "github.com/equinix/pulumi-equinix/sdk/go/equinix" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -21,8 +21,12 @@ func (m *module) Version() semver.Version { func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { switch typ { + case "equinix:fabric/cloudRouter:CloudRouter": + r = &CloudRouter{} case "equinix:fabric/connection:Connection": r = &Connection{} + case "equinix:fabric/routingProtocol:RoutingProtocol": + r = &RoutingProtocol{} case "equinix:fabric/serviceProfile:ServiceProfile": r = &ServiceProfile{} default: @@ -34,15 +38,25 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi } func init() { - version, err := equinix.PkgVersion() + version, err := internal.PkgVersion() if err != nil { version = semver.Version{Major: 1} } + pulumi.RegisterResourceModule( + "equinix", + "fabric/cloudRouter", + &module{version}, + ) pulumi.RegisterResourceModule( "equinix", "fabric/connection", &module{version}, ) + pulumi.RegisterResourceModule( + "equinix", + "fabric/routingProtocol", + &module{version}, + ) pulumi.RegisterResourceModule( "equinix", "fabric/serviceProfile", diff --git a/sdk/go/equinix/fabric/pulumiEnums.go b/sdk/go/equinix/fabric/pulumiEnums.go index 90311168..9086305c 100644 --- a/sdk/go/equinix/fabric/pulumiEnums.go +++ b/sdk/go/equinix/fabric/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type AccessPointLinkProtocolType string @@ -79,6 +80,12 @@ func (o AccessPointLinkProtocolTypeOutput) ToAccessPointLinkProtocolTypePtrOutpu }).(AccessPointLinkProtocolTypePtrOutput) } +func (o AccessPointLinkProtocolTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AccessPointLinkProtocolType] { + return pulumix.Output[AccessPointLinkProtocolType]{ + OutputState: o.OutputState, + } +} + func (o AccessPointLinkProtocolTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -114,6 +121,12 @@ func (o AccessPointLinkProtocolTypePtrOutput) ToAccessPointLinkProtocolTypePtrOu return o } +func (o AccessPointLinkProtocolTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessPointLinkProtocolType] { + return pulumix.Output[*AccessPointLinkProtocolType]{ + OutputState: o.OutputState, + } +} + func (o AccessPointLinkProtocolTypePtrOutput) Elem() AccessPointLinkProtocolTypeOutput { return o.ApplyT(func(v *AccessPointLinkProtocolType) AccessPointLinkProtocolType { if v != nil { @@ -176,6 +189,12 @@ func (in *accessPointLinkProtocolTypePtr) ToAccessPointLinkProtocolTypePtrOutput return pulumi.ToOutputWithContext(ctx, in).(AccessPointLinkProtocolTypePtrOutput) } +func (in *accessPointLinkProtocolTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AccessPointLinkProtocolType] { + return pulumix.Output[*AccessPointLinkProtocolType]{ + OutputState: in.ToAccessPointLinkProtocolTypePtrOutputWithContext(ctx).OutputState, + } +} + type AccessPointPeeringType string const ( @@ -244,6 +263,12 @@ func (o AccessPointPeeringTypeOutput) ToAccessPointPeeringTypePtrOutputWithConte }).(AccessPointPeeringTypePtrOutput) } +func (o AccessPointPeeringTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AccessPointPeeringType] { + return pulumix.Output[AccessPointPeeringType]{ + OutputState: o.OutputState, + } +} + func (o AccessPointPeeringTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -279,6 +304,12 @@ func (o AccessPointPeeringTypePtrOutput) ToAccessPointPeeringTypePtrOutputWithCo return o } +func (o AccessPointPeeringTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessPointPeeringType] { + return pulumix.Output[*AccessPointPeeringType]{ + OutputState: o.OutputState, + } +} + func (o AccessPointPeeringTypePtrOutput) Elem() AccessPointPeeringTypeOutput { return o.ApplyT(func(v *AccessPointPeeringType) AccessPointPeeringType { if v != nil { @@ -341,6 +372,12 @@ func (in *accessPointPeeringTypePtr) ToAccessPointPeeringTypePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(AccessPointPeeringTypePtrOutput) } +func (in *accessPointPeeringTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AccessPointPeeringType] { + return pulumix.Output[*AccessPointPeeringType]{ + OutputState: in.ToAccessPointPeeringTypePtrOutputWithContext(ctx).OutputState, + } +} + type AccessPointType string const ( @@ -420,6 +457,12 @@ func (o AccessPointTypeOutput) ToAccessPointTypePtrOutputWithContext(ctx context }).(AccessPointTypePtrOutput) } +func (o AccessPointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AccessPointType] { + return pulumix.Output[AccessPointType]{ + OutputState: o.OutputState, + } +} + func (o AccessPointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o AccessPointTypePtrOutput) ToAccessPointTypePtrOutputWithContext(ctx cont return o } +func (o AccessPointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessPointType] { + return pulumix.Output[*AccessPointType]{ + OutputState: o.OutputState, + } +} + func (o AccessPointTypePtrOutput) Elem() AccessPointTypeOutput { return o.ApplyT(func(v *AccessPointType) AccessPointType { if v != nil { @@ -517,6 +566,12 @@ func (in *accessPointTypePtr) ToAccessPointTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(AccessPointTypePtrOutput) } +func (in *accessPointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AccessPointType] { + return pulumix.Output[*AccessPointType]{ + OutputState: in.ToAccessPointTypePtrOutputWithContext(ctx).OutputState, + } +} + type ConnectionType string const ( @@ -592,6 +647,12 @@ func (o ConnectionTypeOutput) ToConnectionTypePtrOutputWithContext(ctx context.C }).(ConnectionTypePtrOutput) } +func (o ConnectionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionType] { + return pulumix.Output[ConnectionType]{ + OutputState: o.OutputState, + } +} + func (o ConnectionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -627,6 +688,12 @@ func (o ConnectionTypePtrOutput) ToConnectionTypePtrOutputWithContext(ctx contex return o } +func (o ConnectionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionType] { + return pulumix.Output[*ConnectionType]{ + OutputState: o.OutputState, + } +} + func (o ConnectionTypePtrOutput) Elem() ConnectionTypeOutput { return o.ApplyT(func(v *ConnectionType) ConnectionType { if v != nil { @@ -689,6 +756,12 @@ func (in *connectionTypePtr) ToConnectionTypePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(ConnectionTypePtrOutput) } +func (in *connectionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ConnectionType] { + return pulumix.Output[*ConnectionType]{ + OutputState: in.ToConnectionTypePtrOutputWithContext(ctx).OutputState, + } +} + type NotificationsType string const ( @@ -758,6 +831,12 @@ func (o NotificationsTypeOutput) ToNotificationsTypePtrOutputWithContext(ctx con }).(NotificationsTypePtrOutput) } +func (o NotificationsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationsType] { + return pulumix.Output[NotificationsType]{ + OutputState: o.OutputState, + } +} + func (o NotificationsTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -793,6 +872,12 @@ func (o NotificationsTypePtrOutput) ToNotificationsTypePtrOutputWithContext(ctx return o } +func (o NotificationsTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationsType] { + return pulumix.Output[*NotificationsType]{ + OutputState: o.OutputState, + } +} + func (o NotificationsTypePtrOutput) Elem() NotificationsTypeOutput { return o.ApplyT(func(v *NotificationsType) NotificationsType { if v != nil { @@ -855,6 +940,12 @@ func (in *notificationsTypePtr) ToNotificationsTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(NotificationsTypePtrOutput) } +func (in *notificationsTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NotificationsType] { + return pulumix.Output[*NotificationsType]{ + OutputState: in.ToNotificationsTypePtrOutputWithContext(ctx).OutputState, + } +} + type ProfileAccessPointType string const ( @@ -924,6 +1015,12 @@ func (o ProfileAccessPointTypeOutput) ToProfileAccessPointTypePtrOutputWithConte }).(ProfileAccessPointTypePtrOutput) } +func (o ProfileAccessPointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ProfileAccessPointType] { + return pulumix.Output[ProfileAccessPointType]{ + OutputState: o.OutputState, + } +} + func (o ProfileAccessPointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -959,6 +1056,12 @@ func (o ProfileAccessPointTypePtrOutput) ToProfileAccessPointTypePtrOutputWithCo return o } +func (o ProfileAccessPointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProfileAccessPointType] { + return pulumix.Output[*ProfileAccessPointType]{ + OutputState: o.OutputState, + } +} + func (o ProfileAccessPointTypePtrOutput) Elem() ProfileAccessPointTypeOutput { return o.ApplyT(func(v *ProfileAccessPointType) ProfileAccessPointType { if v != nil { @@ -1021,6 +1124,12 @@ func (in *profileAccessPointTypePtr) ToProfileAccessPointTypePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(ProfileAccessPointTypePtrOutput) } +func (in *profileAccessPointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ProfileAccessPointType] { + return pulumix.Output[*ProfileAccessPointType]{ + OutputState: in.ToProfileAccessPointTypePtrOutputWithContext(ctx).OutputState, + } +} + type ProfileState string const ( @@ -1090,6 +1199,12 @@ func (o ProfileStateOutput) ToProfileStatePtrOutputWithContext(ctx context.Conte }).(ProfileStatePtrOutput) } +func (o ProfileStateOutput) ToOutput(ctx context.Context) pulumix.Output[ProfileState] { + return pulumix.Output[ProfileState]{ + OutputState: o.OutputState, + } +} + func (o ProfileStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1125,6 +1240,12 @@ func (o ProfileStatePtrOutput) ToProfileStatePtrOutputWithContext(ctx context.Co return o } +func (o ProfileStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProfileState] { + return pulumix.Output[*ProfileState]{ + OutputState: o.OutputState, + } +} + func (o ProfileStatePtrOutput) Elem() ProfileStateOutput { return o.ApplyT(func(v *ProfileState) ProfileState { if v != nil { @@ -1187,6 +1308,12 @@ func (in *profileStatePtr) ToProfileStatePtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(ProfileStatePtrOutput) } +func (in *profileStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ProfileState] { + return pulumix.Output[*ProfileState]{ + OutputState: in.ToProfileStatePtrOutputWithContext(ctx).OutputState, + } +} + type ProfileType string const ( @@ -1254,6 +1381,12 @@ func (o ProfileTypeOutput) ToProfileTypePtrOutputWithContext(ctx context.Context }).(ProfileTypePtrOutput) } +func (o ProfileTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ProfileType] { + return pulumix.Output[ProfileType]{ + OutputState: o.OutputState, + } +} + func (o ProfileTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1289,6 +1422,12 @@ func (o ProfileTypePtrOutput) ToProfileTypePtrOutputWithContext(ctx context.Cont return o } +func (o ProfileTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProfileType] { + return pulumix.Output[*ProfileType]{ + OutputState: o.OutputState, + } +} + func (o ProfileTypePtrOutput) Elem() ProfileTypeOutput { return o.ApplyT(func(v *ProfileType) ProfileType { if v != nil { @@ -1351,6 +1490,12 @@ func (in *profileTypePtr) ToProfileTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(ProfileTypePtrOutput) } +func (in *profileTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ProfileType] { + return pulumix.Output[*ProfileType]{ + OutputState: in.ToProfileTypePtrOutputWithContext(ctx).OutputState, + } +} + type ProfileVisibility string const ( @@ -1418,6 +1563,12 @@ func (o ProfileVisibilityOutput) ToProfileVisibilityPtrOutputWithContext(ctx con }).(ProfileVisibilityPtrOutput) } +func (o ProfileVisibilityOutput) ToOutput(ctx context.Context) pulumix.Output[ProfileVisibility] { + return pulumix.Output[ProfileVisibility]{ + OutputState: o.OutputState, + } +} + func (o ProfileVisibilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1453,6 +1604,12 @@ func (o ProfileVisibilityPtrOutput) ToProfileVisibilityPtrOutputWithContext(ctx return o } +func (o ProfileVisibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProfileVisibility] { + return pulumix.Output[*ProfileVisibility]{ + OutputState: o.OutputState, + } +} + func (o ProfileVisibilityPtrOutput) Elem() ProfileVisibilityOutput { return o.ApplyT(func(v *ProfileVisibility) ProfileVisibility { if v != nil { @@ -1515,6 +1672,12 @@ func (in *profileVisibilityPtr) ToProfileVisibilityPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(ProfileVisibilityPtrOutput) } +func (in *profileVisibilityPtr) ToOutput(ctx context.Context) pulumix.Output[*ProfileVisibility] { + return pulumix.Output[*ProfileVisibility]{ + OutputState: in.ToProfileVisibilityPtrOutputWithContext(ctx).OutputState, + } +} + type ServiceTokenType string const ( @@ -1581,6 +1744,12 @@ func (o ServiceTokenTypeOutput) ToServiceTokenTypePtrOutputWithContext(ctx conte }).(ServiceTokenTypePtrOutput) } +func (o ServiceTokenTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceTokenType] { + return pulumix.Output[ServiceTokenType]{ + OutputState: o.OutputState, + } +} + func (o ServiceTokenTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1616,6 +1785,12 @@ func (o ServiceTokenTypePtrOutput) ToServiceTokenTypePtrOutputWithContext(ctx co return o } +func (o ServiceTokenTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceTokenType] { + return pulumix.Output[*ServiceTokenType]{ + OutputState: o.OutputState, + } +} + func (o ServiceTokenTypePtrOutput) Elem() ServiceTokenTypeOutput { return o.ApplyT(func(v *ServiceTokenType) ServiceTokenType { if v != nil { @@ -1678,6 +1853,12 @@ func (in *serviceTokenTypePtr) ToServiceTokenTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(ServiceTokenTypePtrOutput) } +func (in *serviceTokenTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceTokenType] { + return pulumix.Output[*ServiceTokenType]{ + OutputState: in.ToServiceTokenTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AccessPointLinkProtocolTypeInput)(nil)).Elem(), AccessPointLinkProtocolType("UNTAGGED")) pulumi.RegisterInputType(reflect.TypeOf((*AccessPointLinkProtocolTypePtrInput)(nil)).Elem(), AccessPointLinkProtocolType("UNTAGGED")) diff --git a/sdk/go/equinix/fabric/pulumiTypes.go b/sdk/go/equinix/fabric/pulumiTypes.go index dc8659d4..bbccd723 100644 --- a/sdk/go/equinix/fabric/pulumiTypes.go +++ b/sdk/go/equinix/fabric/pulumiTypes.go @@ -8,2309 +8,2476 @@ import ( "reflect" "github.com/equinix/pulumi-equinix/sdk/go/equinix" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) -type ConnectionASide struct { - // Point of access details - AccessPoint *ConnectionASideAccessPoint `pulumi:"accessPoint"` - // Connection side additional information - AdditionalInfo []ConnectionASideAdditionalInfo `pulumi:"additionalInfo"` - // For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets - ServiceToken *ConnectionASideServiceToken `pulumi:"serviceToken"` +var _ = internal.GetEnvOrDefault + +type CloudRouterAccount struct { + // Account Number + AccountNumber *int `pulumi:"accountNumber"` } -// ConnectionASideInput is an input type that accepts ConnectionASideArgs and ConnectionASideOutput values. -// You can construct a concrete instance of `ConnectionASideInput` via: +// CloudRouterAccountInput is an input type that accepts CloudRouterAccountArgs and CloudRouterAccountOutput values. +// You can construct a concrete instance of `CloudRouterAccountInput` via: // -// ConnectionASideArgs{...} -type ConnectionASideInput interface { +// CloudRouterAccountArgs{...} +type CloudRouterAccountInput interface { pulumi.Input - ToConnectionASideOutput() ConnectionASideOutput - ToConnectionASideOutputWithContext(context.Context) ConnectionASideOutput + ToCloudRouterAccountOutput() CloudRouterAccountOutput + ToCloudRouterAccountOutputWithContext(context.Context) CloudRouterAccountOutput } -type ConnectionASideArgs struct { - // Point of access details - AccessPoint ConnectionASideAccessPointPtrInput `pulumi:"accessPoint"` - // Connection side additional information - AdditionalInfo ConnectionASideAdditionalInfoArrayInput `pulumi:"additionalInfo"` - // For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets - ServiceToken ConnectionASideServiceTokenPtrInput `pulumi:"serviceToken"` +type CloudRouterAccountArgs struct { + // Account Number + AccountNumber pulumi.IntPtrInput `pulumi:"accountNumber"` } -func (ConnectionASideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASide)(nil)).Elem() +func (CloudRouterAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterAccount)(nil)).Elem() } -func (i ConnectionASideArgs) ToConnectionASideOutput() ConnectionASideOutput { - return i.ToConnectionASideOutputWithContext(context.Background()) +func (i CloudRouterAccountArgs) ToCloudRouterAccountOutput() CloudRouterAccountOutput { + return i.ToCloudRouterAccountOutputWithContext(context.Background()) } -func (i ConnectionASideArgs) ToConnectionASideOutputWithContext(ctx context.Context) ConnectionASideOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideOutput) +func (i CloudRouterAccountArgs) ToCloudRouterAccountOutputWithContext(ctx context.Context) CloudRouterAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterAccountOutput) } -func (i ConnectionASideArgs) ToConnectionASidePtrOutput() ConnectionASidePtrOutput { - return i.ToConnectionASidePtrOutputWithContext(context.Background()) +func (i CloudRouterAccountArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRouterAccount] { + return pulumix.Output[CloudRouterAccount]{ + OutputState: i.ToCloudRouterAccountOutputWithContext(ctx).OutputState, + } } -func (i ConnectionASideArgs) ToConnectionASidePtrOutputWithContext(ctx context.Context) ConnectionASidePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideOutput).ToConnectionASidePtrOutputWithContext(ctx) +func (i CloudRouterAccountArgs) ToCloudRouterAccountPtrOutput() CloudRouterAccountPtrOutput { + return i.ToCloudRouterAccountPtrOutputWithContext(context.Background()) } -// ConnectionASidePtrInput is an input type that accepts ConnectionASideArgs, ConnectionASidePtr and ConnectionASidePtrOutput values. -// You can construct a concrete instance of `ConnectionASidePtrInput` via: +func (i CloudRouterAccountArgs) ToCloudRouterAccountPtrOutputWithContext(ctx context.Context) CloudRouterAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterAccountOutput).ToCloudRouterAccountPtrOutputWithContext(ctx) +} + +// CloudRouterAccountPtrInput is an input type that accepts CloudRouterAccountArgs, CloudRouterAccountPtr and CloudRouterAccountPtrOutput values. +// You can construct a concrete instance of `CloudRouterAccountPtrInput` via: // -// ConnectionASideArgs{...} +// CloudRouterAccountArgs{...} // // or: // // nil -type ConnectionASidePtrInput interface { +type CloudRouterAccountPtrInput interface { pulumi.Input - ToConnectionASidePtrOutput() ConnectionASidePtrOutput - ToConnectionASidePtrOutputWithContext(context.Context) ConnectionASidePtrOutput + ToCloudRouterAccountPtrOutput() CloudRouterAccountPtrOutput + ToCloudRouterAccountPtrOutputWithContext(context.Context) CloudRouterAccountPtrOutput } -type connectionASidePtrType ConnectionASideArgs +type cloudRouterAccountPtrType CloudRouterAccountArgs -func ConnectionASidePtr(v *ConnectionASideArgs) ConnectionASidePtrInput { - return (*connectionASidePtrType)(v) +func CloudRouterAccountPtr(v *CloudRouterAccountArgs) CloudRouterAccountPtrInput { + return (*cloudRouterAccountPtrType)(v) } -func (*connectionASidePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASide)(nil)).Elem() +func (*cloudRouterAccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudRouterAccount)(nil)).Elem() } -func (i *connectionASidePtrType) ToConnectionASidePtrOutput() ConnectionASidePtrOutput { - return i.ToConnectionASidePtrOutputWithContext(context.Background()) +func (i *cloudRouterAccountPtrType) ToCloudRouterAccountPtrOutput() CloudRouterAccountPtrOutput { + return i.ToCloudRouterAccountPtrOutputWithContext(context.Background()) } -func (i *connectionASidePtrType) ToConnectionASidePtrOutputWithContext(ctx context.Context) ConnectionASidePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASidePtrOutput) +func (i *cloudRouterAccountPtrType) ToCloudRouterAccountPtrOutputWithContext(ctx context.Context) CloudRouterAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterAccountPtrOutput) } -type ConnectionASideOutput struct{ *pulumi.OutputState } +func (i *cloudRouterAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRouterAccount] { + return pulumix.Output[*CloudRouterAccount]{ + OutputState: i.ToCloudRouterAccountPtrOutputWithContext(ctx).OutputState, + } +} -func (ConnectionASideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASide)(nil)).Elem() +type CloudRouterAccountOutput struct{ *pulumi.OutputState } + +func (CloudRouterAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterAccount)(nil)).Elem() } -func (o ConnectionASideOutput) ToConnectionASideOutput() ConnectionASideOutput { +func (o CloudRouterAccountOutput) ToCloudRouterAccountOutput() CloudRouterAccountOutput { return o } -func (o ConnectionASideOutput) ToConnectionASideOutputWithContext(ctx context.Context) ConnectionASideOutput { +func (o CloudRouterAccountOutput) ToCloudRouterAccountOutputWithContext(ctx context.Context) CloudRouterAccountOutput { return o } -func (o ConnectionASideOutput) ToConnectionASidePtrOutput() ConnectionASidePtrOutput { - return o.ToConnectionASidePtrOutputWithContext(context.Background()) +func (o CloudRouterAccountOutput) ToCloudRouterAccountPtrOutput() CloudRouterAccountPtrOutput { + return o.ToCloudRouterAccountPtrOutputWithContext(context.Background()) } -func (o ConnectionASideOutput) ToConnectionASidePtrOutputWithContext(ctx context.Context) ConnectionASidePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASide) *ConnectionASide { +func (o CloudRouterAccountOutput) ToCloudRouterAccountPtrOutputWithContext(ctx context.Context) CloudRouterAccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudRouterAccount) *CloudRouterAccount { return &v - }).(ConnectionASidePtrOutput) + }).(CloudRouterAccountPtrOutput) } -// Point of access details -func (o ConnectionASideOutput) AccessPoint() ConnectionASideAccessPointPtrOutput { - return o.ApplyT(func(v ConnectionASide) *ConnectionASideAccessPoint { return v.AccessPoint }).(ConnectionASideAccessPointPtrOutput) -} - -// Connection side additional information -func (o ConnectionASideOutput) AdditionalInfo() ConnectionASideAdditionalInfoArrayOutput { - return o.ApplyT(func(v ConnectionASide) []ConnectionASideAdditionalInfo { return v.AdditionalInfo }).(ConnectionASideAdditionalInfoArrayOutput) +func (o CloudRouterAccountOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRouterAccount] { + return pulumix.Output[CloudRouterAccount]{ + OutputState: o.OutputState, + } } -// For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets -func (o ConnectionASideOutput) ServiceToken() ConnectionASideServiceTokenPtrOutput { - return o.ApplyT(func(v ConnectionASide) *ConnectionASideServiceToken { return v.ServiceToken }).(ConnectionASideServiceTokenPtrOutput) +// Account Number +func (o CloudRouterAccountOutput) AccountNumber() pulumi.IntPtrOutput { + return o.ApplyT(func(v CloudRouterAccount) *int { return v.AccountNumber }).(pulumi.IntPtrOutput) } -type ConnectionASidePtrOutput struct{ *pulumi.OutputState } +type CloudRouterAccountPtrOutput struct{ *pulumi.OutputState } -func (ConnectionASidePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASide)(nil)).Elem() +func (CloudRouterAccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudRouterAccount)(nil)).Elem() } -func (o ConnectionASidePtrOutput) ToConnectionASidePtrOutput() ConnectionASidePtrOutput { +func (o CloudRouterAccountPtrOutput) ToCloudRouterAccountPtrOutput() CloudRouterAccountPtrOutput { return o } -func (o ConnectionASidePtrOutput) ToConnectionASidePtrOutputWithContext(ctx context.Context) ConnectionASidePtrOutput { +func (o CloudRouterAccountPtrOutput) ToCloudRouterAccountPtrOutputWithContext(ctx context.Context) CloudRouterAccountPtrOutput { return o } -func (o ConnectionASidePtrOutput) Elem() ConnectionASideOutput { - return o.ApplyT(func(v *ConnectionASide) ConnectionASide { +func (o CloudRouterAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRouterAccount] { + return pulumix.Output[*CloudRouterAccount]{ + OutputState: o.OutputState, + } +} + +func (o CloudRouterAccountPtrOutput) Elem() CloudRouterAccountOutput { + return o.ApplyT(func(v *CloudRouterAccount) CloudRouterAccount { if v != nil { return *v } - var ret ConnectionASide + var ret CloudRouterAccount return ret - }).(ConnectionASideOutput) -} - -// Point of access details -func (o ConnectionASidePtrOutput) AccessPoint() ConnectionASideAccessPointPtrOutput { - return o.ApplyT(func(v *ConnectionASide) *ConnectionASideAccessPoint { - if v == nil { - return nil - } - return v.AccessPoint - }).(ConnectionASideAccessPointPtrOutput) -} - -// Connection side additional information -func (o ConnectionASidePtrOutput) AdditionalInfo() ConnectionASideAdditionalInfoArrayOutput { - return o.ApplyT(func(v *ConnectionASide) []ConnectionASideAdditionalInfo { - if v == nil { - return nil - } - return v.AdditionalInfo - }).(ConnectionASideAdditionalInfoArrayOutput) + }).(CloudRouterAccountOutput) } -// For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets -func (o ConnectionASidePtrOutput) ServiceToken() ConnectionASideServiceTokenPtrOutput { - return o.ApplyT(func(v *ConnectionASide) *ConnectionASideServiceToken { +// Account Number +func (o CloudRouterAccountPtrOutput) AccountNumber() pulumi.IntPtrOutput { + return o.ApplyT(func(v *CloudRouterAccount) *int { if v == nil { return nil } - return v.ServiceToken - }).(ConnectionASideServiceTokenPtrOutput) + return v.AccountNumber + }).(pulumi.IntPtrOutput) } -type ConnectionASideAccessPoint struct { - // Customer account information that is associated with this connection - Account *ConnectionASideAccessPointAccount `pulumi:"account"` - AuthenticationKey *string `pulumi:"authenticationKey"` - Gateway *ConnectionASideAccessPointGateway `pulumi:"gateway"` - Interface *ConnectionASideAccessPointInterface `pulumi:"interface"` - LinkProtocol *ConnectionASideAccessPointLinkProtocol `pulumi:"linkProtocol"` - Location *ConnectionASideAccessPointLocation `pulumi:"location"` - PeeringType *string `pulumi:"peeringType"` - Port *ConnectionASideAccessPointPort `pulumi:"port"` - Profile *ConnectionASideAccessPointProfile `pulumi:"profile"` - ProviderConnectionId *string `pulumi:"providerConnectionId"` - RoutingProtocols []ConnectionASideAccessPointRoutingProtocol `pulumi:"routingProtocols"` - SellerRegion *string `pulumi:"sellerRegion"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type *string `pulumi:"type"` - VirtualDevice *ConnectionASideAccessPointVirtualDevice `pulumi:"virtualDevice"` +type CloudRouterChangeLog struct { + CreatedBy *string `pulumi:"createdBy"` + CreatedByEmail *string `pulumi:"createdByEmail"` + CreatedByFullName *string `pulumi:"createdByFullName"` + CreatedDateTime *string `pulumi:"createdDateTime"` + DeletedBy *string `pulumi:"deletedBy"` + DeletedByEmail *string `pulumi:"deletedByEmail"` + DeletedByFullName *string `pulumi:"deletedByFullName"` + DeletedDateTime *string `pulumi:"deletedDateTime"` + UpdatedBy *string `pulumi:"updatedBy"` + UpdatedByEmail *string `pulumi:"updatedByEmail"` + UpdatedByFullName *string `pulumi:"updatedByFullName"` + UpdatedDateTime *string `pulumi:"updatedDateTime"` } -// ConnectionASideAccessPointInput is an input type that accepts ConnectionASideAccessPointArgs and ConnectionASideAccessPointOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointInput` via: +// CloudRouterChangeLogInput is an input type that accepts CloudRouterChangeLogArgs and CloudRouterChangeLogOutput values. +// You can construct a concrete instance of `CloudRouterChangeLogInput` via: // -// ConnectionASideAccessPointArgs{...} -type ConnectionASideAccessPointInput interface { +// CloudRouterChangeLogArgs{...} +type CloudRouterChangeLogInput interface { pulumi.Input - ToConnectionASideAccessPointOutput() ConnectionASideAccessPointOutput - ToConnectionASideAccessPointOutputWithContext(context.Context) ConnectionASideAccessPointOutput -} - -type ConnectionASideAccessPointArgs struct { - // Customer account information that is associated with this connection - Account ConnectionASideAccessPointAccountPtrInput `pulumi:"account"` - AuthenticationKey pulumi.StringPtrInput `pulumi:"authenticationKey"` - Gateway ConnectionASideAccessPointGatewayPtrInput `pulumi:"gateway"` - Interface ConnectionASideAccessPointInterfacePtrInput `pulumi:"interface"` - LinkProtocol ConnectionASideAccessPointLinkProtocolPtrInput `pulumi:"linkProtocol"` - Location ConnectionASideAccessPointLocationPtrInput `pulumi:"location"` - PeeringType pulumi.StringPtrInput `pulumi:"peeringType"` - Port ConnectionASideAccessPointPortPtrInput `pulumi:"port"` - Profile ConnectionASideAccessPointProfilePtrInput `pulumi:"profile"` - ProviderConnectionId pulumi.StringPtrInput `pulumi:"providerConnectionId"` - RoutingProtocols ConnectionASideAccessPointRoutingProtocolArrayInput `pulumi:"routingProtocols"` - SellerRegion pulumi.StringPtrInput `pulumi:"sellerRegion"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringPtrInput `pulumi:"type"` - VirtualDevice ConnectionASideAccessPointVirtualDevicePtrInput `pulumi:"virtualDevice"` + ToCloudRouterChangeLogOutput() CloudRouterChangeLogOutput + ToCloudRouterChangeLogOutputWithContext(context.Context) CloudRouterChangeLogOutput } -func (ConnectionASideAccessPointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPoint)(nil)).Elem() +type CloudRouterChangeLogArgs struct { + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + CreatedByEmail pulumi.StringPtrInput `pulumi:"createdByEmail"` + CreatedByFullName pulumi.StringPtrInput `pulumi:"createdByFullName"` + CreatedDateTime pulumi.StringPtrInput `pulumi:"createdDateTime"` + DeletedBy pulumi.StringPtrInput `pulumi:"deletedBy"` + DeletedByEmail pulumi.StringPtrInput `pulumi:"deletedByEmail"` + DeletedByFullName pulumi.StringPtrInput `pulumi:"deletedByFullName"` + DeletedDateTime pulumi.StringPtrInput `pulumi:"deletedDateTime"` + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` + UpdatedByEmail pulumi.StringPtrInput `pulumi:"updatedByEmail"` + UpdatedByFullName pulumi.StringPtrInput `pulumi:"updatedByFullName"` + UpdatedDateTime pulumi.StringPtrInput `pulumi:"updatedDateTime"` } -func (i ConnectionASideAccessPointArgs) ToConnectionASideAccessPointOutput() ConnectionASideAccessPointOutput { - return i.ToConnectionASideAccessPointOutputWithContext(context.Background()) +func (CloudRouterChangeLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterChangeLog)(nil)).Elem() } -func (i ConnectionASideAccessPointArgs) ToConnectionASideAccessPointOutputWithContext(ctx context.Context) ConnectionASideAccessPointOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointOutput) +func (i CloudRouterChangeLogArgs) ToCloudRouterChangeLogOutput() CloudRouterChangeLogOutput { + return i.ToCloudRouterChangeLogOutputWithContext(context.Background()) } -func (i ConnectionASideAccessPointArgs) ToConnectionASideAccessPointPtrOutput() ConnectionASideAccessPointPtrOutput { - return i.ToConnectionASideAccessPointPtrOutputWithContext(context.Background()) +func (i CloudRouterChangeLogArgs) ToCloudRouterChangeLogOutputWithContext(ctx context.Context) CloudRouterChangeLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterChangeLogOutput) } -func (i ConnectionASideAccessPointArgs) ToConnectionASideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointOutput).ToConnectionASideAccessPointPtrOutputWithContext(ctx) +func (i CloudRouterChangeLogArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRouterChangeLog] { + return pulumix.Output[CloudRouterChangeLog]{ + OutputState: i.ToCloudRouterChangeLogOutputWithContext(ctx).OutputState, + } } -// ConnectionASideAccessPointPtrInput is an input type that accepts ConnectionASideAccessPointArgs, ConnectionASideAccessPointPtr and ConnectionASideAccessPointPtrOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointPtrInput` via: -// -// ConnectionASideAccessPointArgs{...} -// -// or: +// CloudRouterChangeLogArrayInput is an input type that accepts CloudRouterChangeLogArray and CloudRouterChangeLogArrayOutput values. +// You can construct a concrete instance of `CloudRouterChangeLogArrayInput` via: // -// nil -type ConnectionASideAccessPointPtrInput interface { +// CloudRouterChangeLogArray{ CloudRouterChangeLogArgs{...} } +type CloudRouterChangeLogArrayInput interface { pulumi.Input - ToConnectionASideAccessPointPtrOutput() ConnectionASideAccessPointPtrOutput - ToConnectionASideAccessPointPtrOutputWithContext(context.Context) ConnectionASideAccessPointPtrOutput + ToCloudRouterChangeLogArrayOutput() CloudRouterChangeLogArrayOutput + ToCloudRouterChangeLogArrayOutputWithContext(context.Context) CloudRouterChangeLogArrayOutput } -type connectionASideAccessPointPtrType ConnectionASideAccessPointArgs +type CloudRouterChangeLogArray []CloudRouterChangeLogInput -func ConnectionASideAccessPointPtr(v *ConnectionASideAccessPointArgs) ConnectionASideAccessPointPtrInput { - return (*connectionASideAccessPointPtrType)(v) +func (CloudRouterChangeLogArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudRouterChangeLog)(nil)).Elem() } -func (*connectionASideAccessPointPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPoint)(nil)).Elem() +func (i CloudRouterChangeLogArray) ToCloudRouterChangeLogArrayOutput() CloudRouterChangeLogArrayOutput { + return i.ToCloudRouterChangeLogArrayOutputWithContext(context.Background()) } -func (i *connectionASideAccessPointPtrType) ToConnectionASideAccessPointPtrOutput() ConnectionASideAccessPointPtrOutput { - return i.ToConnectionASideAccessPointPtrOutputWithContext(context.Background()) +func (i CloudRouterChangeLogArray) ToCloudRouterChangeLogArrayOutputWithContext(ctx context.Context) CloudRouterChangeLogArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterChangeLogArrayOutput) } -func (i *connectionASideAccessPointPtrType) ToConnectionASideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointPtrOutput) +func (i CloudRouterChangeLogArray) ToOutput(ctx context.Context) pulumix.Output[[]CloudRouterChangeLog] { + return pulumix.Output[[]CloudRouterChangeLog]{ + OutputState: i.ToCloudRouterChangeLogArrayOutputWithContext(ctx).OutputState, + } } -type ConnectionASideAccessPointOutput struct{ *pulumi.OutputState } +type CloudRouterChangeLogOutput struct{ *pulumi.OutputState } -func (ConnectionASideAccessPointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPoint)(nil)).Elem() +func (CloudRouterChangeLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterChangeLog)(nil)).Elem() } -func (o ConnectionASideAccessPointOutput) ToConnectionASideAccessPointOutput() ConnectionASideAccessPointOutput { +func (o CloudRouterChangeLogOutput) ToCloudRouterChangeLogOutput() CloudRouterChangeLogOutput { return o } -func (o ConnectionASideAccessPointOutput) ToConnectionASideAccessPointOutputWithContext(ctx context.Context) ConnectionASideAccessPointOutput { +func (o CloudRouterChangeLogOutput) ToCloudRouterChangeLogOutputWithContext(ctx context.Context) CloudRouterChangeLogOutput { return o } -func (o ConnectionASideAccessPointOutput) ToConnectionASideAccessPointPtrOutput() ConnectionASideAccessPointPtrOutput { - return o.ToConnectionASideAccessPointPtrOutputWithContext(context.Background()) +func (o CloudRouterChangeLogOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRouterChangeLog] { + return pulumix.Output[CloudRouterChangeLog]{ + OutputState: o.OutputState, + } } -func (o ConnectionASideAccessPointOutput) ToConnectionASideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPoint) *ConnectionASideAccessPoint { - return &v - }).(ConnectionASideAccessPointPtrOutput) +func (o CloudRouterChangeLogOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterChangeLog) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) } -// Customer account information that is associated with this connection -func (o ConnectionASideAccessPointOutput) Account() ConnectionASideAccessPointAccountPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointAccount { return v.Account }).(ConnectionASideAccessPointAccountPtrOutput) +func (o CloudRouterChangeLogOutput) CreatedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterChangeLog) *string { return v.CreatedByEmail }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointOutput) AuthenticationKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) *string { return v.AuthenticationKey }).(pulumi.StringPtrOutput) +func (o CloudRouterChangeLogOutput) CreatedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterChangeLog) *string { return v.CreatedByFullName }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointOutput) Gateway() ConnectionASideAccessPointGatewayPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointGateway { return v.Gateway }).(ConnectionASideAccessPointGatewayPtrOutput) +func (o CloudRouterChangeLogOutput) CreatedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterChangeLog) *string { return v.CreatedDateTime }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointOutput) Interface() ConnectionASideAccessPointInterfacePtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointInterface { return v.Interface }).(ConnectionASideAccessPointInterfacePtrOutput) +func (o CloudRouterChangeLogOutput) DeletedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterChangeLog) *string { return v.DeletedBy }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointOutput) LinkProtocol() ConnectionASideAccessPointLinkProtocolPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointLinkProtocol { return v.LinkProtocol }).(ConnectionASideAccessPointLinkProtocolPtrOutput) +func (o CloudRouterChangeLogOutput) DeletedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterChangeLog) *string { return v.DeletedByEmail }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointOutput) Location() ConnectionASideAccessPointLocationPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointLocation { return v.Location }).(ConnectionASideAccessPointLocationPtrOutput) +func (o CloudRouterChangeLogOutput) DeletedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterChangeLog) *string { return v.DeletedByFullName }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointOutput) PeeringType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) *string { return v.PeeringType }).(pulumi.StringPtrOutput) +func (o CloudRouterChangeLogOutput) DeletedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterChangeLog) *string { return v.DeletedDateTime }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointOutput) Port() ConnectionASideAccessPointPortPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointPort { return v.Port }).(ConnectionASideAccessPointPortPtrOutput) +func (o CloudRouterChangeLogOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterChangeLog) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointOutput) Profile() ConnectionASideAccessPointProfilePtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointProfile { return v.Profile }).(ConnectionASideAccessPointProfilePtrOutput) +func (o CloudRouterChangeLogOutput) UpdatedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterChangeLog) *string { return v.UpdatedByEmail }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointOutput) ProviderConnectionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) *string { return v.ProviderConnectionId }).(pulumi.StringPtrOutput) +func (o CloudRouterChangeLogOutput) UpdatedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterChangeLog) *string { return v.UpdatedByFullName }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointOutput) RoutingProtocols() ConnectionASideAccessPointRoutingProtocolArrayOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) []ConnectionASideAccessPointRoutingProtocol { - return v.RoutingProtocols - }).(ConnectionASideAccessPointRoutingProtocolArrayOutput) +func (o CloudRouterChangeLogOutput) UpdatedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterChangeLog) *string { return v.UpdatedDateTime }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointOutput) SellerRegion() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) *string { return v.SellerRegion }).(pulumi.StringPtrOutput) +type CloudRouterChangeLogArrayOutput struct{ *pulumi.OutputState } + +func (CloudRouterChangeLogArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudRouterChangeLog)(nil)).Elem() } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideAccessPointOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o CloudRouterChangeLogArrayOutput) ToCloudRouterChangeLogArrayOutput() CloudRouterChangeLogArrayOutput { + return o } -func (o ConnectionASideAccessPointOutput) VirtualDevice() ConnectionASideAccessPointVirtualDevicePtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointVirtualDevice { return v.VirtualDevice }).(ConnectionASideAccessPointVirtualDevicePtrOutput) +func (o CloudRouterChangeLogArrayOutput) ToCloudRouterChangeLogArrayOutputWithContext(ctx context.Context) CloudRouterChangeLogArrayOutput { + return o } -type ConnectionASideAccessPointPtrOutput struct{ *pulumi.OutputState } +func (o CloudRouterChangeLogArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CloudRouterChangeLog] { + return pulumix.Output[[]CloudRouterChangeLog]{ + OutputState: o.OutputState, + } +} -func (ConnectionASideAccessPointPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPoint)(nil)).Elem() +func (o CloudRouterChangeLogArrayOutput) Index(i pulumi.IntInput) CloudRouterChangeLogOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudRouterChangeLog { + return vs[0].([]CloudRouterChangeLog)[vs[1].(int)] + }).(CloudRouterChangeLogOutput) } -func (o ConnectionASideAccessPointPtrOutput) ToConnectionASideAccessPointPtrOutput() ConnectionASideAccessPointPtrOutput { - return o +type CloudRouterLocation struct { + // IBX Code + Ibx *string `pulumi:"ibx"` + // Access point metro code + MetroCode *string `pulumi:"metroCode"` + // Access point metro name + MetroName *string `pulumi:"metroName"` + // Access point region + Region *string `pulumi:"region"` } -func (o ConnectionASideAccessPointPtrOutput) ToConnectionASideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPtrOutput { - return o +// CloudRouterLocationInput is an input type that accepts CloudRouterLocationArgs and CloudRouterLocationOutput values. +// You can construct a concrete instance of `CloudRouterLocationInput` via: +// +// CloudRouterLocationArgs{...} +type CloudRouterLocationInput interface { + pulumi.Input + + ToCloudRouterLocationOutput() CloudRouterLocationOutput + ToCloudRouterLocationOutputWithContext(context.Context) CloudRouterLocationOutput } -func (o ConnectionASideAccessPointPtrOutput) Elem() ConnectionASideAccessPointOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) ConnectionASideAccessPoint { - if v != nil { - return *v - } - var ret ConnectionASideAccessPoint - return ret - }).(ConnectionASideAccessPointOutput) +type CloudRouterLocationArgs struct { + // IBX Code + Ibx pulumi.StringPtrInput `pulumi:"ibx"` + // Access point metro code + MetroCode pulumi.StringPtrInput `pulumi:"metroCode"` + // Access point metro name + MetroName pulumi.StringPtrInput `pulumi:"metroName"` + // Access point region + Region pulumi.StringPtrInput `pulumi:"region"` } -// Customer account information that is associated with this connection -func (o ConnectionASideAccessPointPtrOutput) Account() ConnectionASideAccessPointAccountPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointAccount { - if v == nil { - return nil - } - return v.Account - }).(ConnectionASideAccessPointAccountPtrOutput) +func (CloudRouterLocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterLocation)(nil)).Elem() } -func (o ConnectionASideAccessPointPtrOutput) AuthenticationKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) *string { - if v == nil { - return nil - } - return v.AuthenticationKey - }).(pulumi.StringPtrOutput) +func (i CloudRouterLocationArgs) ToCloudRouterLocationOutput() CloudRouterLocationOutput { + return i.ToCloudRouterLocationOutputWithContext(context.Background()) } -func (o ConnectionASideAccessPointPtrOutput) Gateway() ConnectionASideAccessPointGatewayPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointGateway { - if v == nil { - return nil - } - return v.Gateway - }).(ConnectionASideAccessPointGatewayPtrOutput) +func (i CloudRouterLocationArgs) ToCloudRouterLocationOutputWithContext(ctx context.Context) CloudRouterLocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterLocationOutput) } -func (o ConnectionASideAccessPointPtrOutput) Interface() ConnectionASideAccessPointInterfacePtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointInterface { - if v == nil { - return nil - } - return v.Interface - }).(ConnectionASideAccessPointInterfacePtrOutput) +func (i CloudRouterLocationArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRouterLocation] { + return pulumix.Output[CloudRouterLocation]{ + OutputState: i.ToCloudRouterLocationOutputWithContext(ctx).OutputState, + } } -func (o ConnectionASideAccessPointPtrOutput) LinkProtocol() ConnectionASideAccessPointLinkProtocolPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointLinkProtocol { - if v == nil { - return nil - } - return v.LinkProtocol - }).(ConnectionASideAccessPointLinkProtocolPtrOutput) +func (i CloudRouterLocationArgs) ToCloudRouterLocationPtrOutput() CloudRouterLocationPtrOutput { + return i.ToCloudRouterLocationPtrOutputWithContext(context.Background()) } -func (o ConnectionASideAccessPointPtrOutput) Location() ConnectionASideAccessPointLocationPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointLocation { - if v == nil { - return nil - } - return v.Location - }).(ConnectionASideAccessPointLocationPtrOutput) +func (i CloudRouterLocationArgs) ToCloudRouterLocationPtrOutputWithContext(ctx context.Context) CloudRouterLocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterLocationOutput).ToCloudRouterLocationPtrOutputWithContext(ctx) } -func (o ConnectionASideAccessPointPtrOutput) PeeringType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) *string { - if v == nil { - return nil - } - return v.PeeringType - }).(pulumi.StringPtrOutput) +// CloudRouterLocationPtrInput is an input type that accepts CloudRouterLocationArgs, CloudRouterLocationPtr and CloudRouterLocationPtrOutput values. +// You can construct a concrete instance of `CloudRouterLocationPtrInput` via: +// +// CloudRouterLocationArgs{...} +// +// or: +// +// nil +type CloudRouterLocationPtrInput interface { + pulumi.Input + + ToCloudRouterLocationPtrOutput() CloudRouterLocationPtrOutput + ToCloudRouterLocationPtrOutputWithContext(context.Context) CloudRouterLocationPtrOutput } -func (o ConnectionASideAccessPointPtrOutput) Port() ConnectionASideAccessPointPortPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointPort { - if v == nil { - return nil - } - return v.Port - }).(ConnectionASideAccessPointPortPtrOutput) +type cloudRouterLocationPtrType CloudRouterLocationArgs + +func CloudRouterLocationPtr(v *CloudRouterLocationArgs) CloudRouterLocationPtrInput { + return (*cloudRouterLocationPtrType)(v) } -func (o ConnectionASideAccessPointPtrOutput) Profile() ConnectionASideAccessPointProfilePtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointProfile { - if v == nil { - return nil - } - return v.Profile - }).(ConnectionASideAccessPointProfilePtrOutput) +func (*cloudRouterLocationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudRouterLocation)(nil)).Elem() } -func (o ConnectionASideAccessPointPtrOutput) ProviderConnectionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) *string { - if v == nil { - return nil +func (i *cloudRouterLocationPtrType) ToCloudRouterLocationPtrOutput() CloudRouterLocationPtrOutput { + return i.ToCloudRouterLocationPtrOutputWithContext(context.Background()) +} + +func (i *cloudRouterLocationPtrType) ToCloudRouterLocationPtrOutputWithContext(ctx context.Context) CloudRouterLocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterLocationPtrOutput) +} + +func (i *cloudRouterLocationPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRouterLocation] { + return pulumix.Output[*CloudRouterLocation]{ + OutputState: i.ToCloudRouterLocationPtrOutputWithContext(ctx).OutputState, + } +} + +type CloudRouterLocationOutput struct{ *pulumi.OutputState } + +func (CloudRouterLocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterLocation)(nil)).Elem() +} + +func (o CloudRouterLocationOutput) ToCloudRouterLocationOutput() CloudRouterLocationOutput { + return o +} + +func (o CloudRouterLocationOutput) ToCloudRouterLocationOutputWithContext(ctx context.Context) CloudRouterLocationOutput { + return o +} + +func (o CloudRouterLocationOutput) ToCloudRouterLocationPtrOutput() CloudRouterLocationPtrOutput { + return o.ToCloudRouterLocationPtrOutputWithContext(context.Background()) +} + +func (o CloudRouterLocationOutput) ToCloudRouterLocationPtrOutputWithContext(ctx context.Context) CloudRouterLocationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudRouterLocation) *CloudRouterLocation { + return &v + }).(CloudRouterLocationPtrOutput) +} + +func (o CloudRouterLocationOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRouterLocation] { + return pulumix.Output[CloudRouterLocation]{ + OutputState: o.OutputState, + } +} + +// IBX Code +func (o CloudRouterLocationOutput) Ibx() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterLocation) *string { return v.Ibx }).(pulumi.StringPtrOutput) +} + +// Access point metro code +func (o CloudRouterLocationOutput) MetroCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterLocation) *string { return v.MetroCode }).(pulumi.StringPtrOutput) +} + +// Access point metro name +func (o CloudRouterLocationOutput) MetroName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterLocation) *string { return v.MetroName }).(pulumi.StringPtrOutput) +} + +// Access point region +func (o CloudRouterLocationOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterLocation) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type CloudRouterLocationPtrOutput struct{ *pulumi.OutputState } + +func (CloudRouterLocationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudRouterLocation)(nil)).Elem() +} + +func (o CloudRouterLocationPtrOutput) ToCloudRouterLocationPtrOutput() CloudRouterLocationPtrOutput { + return o +} + +func (o CloudRouterLocationPtrOutput) ToCloudRouterLocationPtrOutputWithContext(ctx context.Context) CloudRouterLocationPtrOutput { + return o +} + +func (o CloudRouterLocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRouterLocation] { + return pulumix.Output[*CloudRouterLocation]{ + OutputState: o.OutputState, + } +} + +func (o CloudRouterLocationPtrOutput) Elem() CloudRouterLocationOutput { + return o.ApplyT(func(v *CloudRouterLocation) CloudRouterLocation { + if v != nil { + return *v } - return v.ProviderConnectionId - }).(pulumi.StringPtrOutput) + var ret CloudRouterLocation + return ret + }).(CloudRouterLocationOutput) } -func (o ConnectionASideAccessPointPtrOutput) RoutingProtocols() ConnectionASideAccessPointRoutingProtocolArrayOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) []ConnectionASideAccessPointRoutingProtocol { +// IBX Code +func (o CloudRouterLocationPtrOutput) Ibx() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudRouterLocation) *string { if v == nil { return nil } - return v.RoutingProtocols - }).(ConnectionASideAccessPointRoutingProtocolArrayOutput) + return v.Ibx + }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointPtrOutput) SellerRegion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) *string { +// Access point metro code +func (o CloudRouterLocationPtrOutput) MetroCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudRouterLocation) *string { if v == nil { return nil } - return v.SellerRegion + return v.MetroCode }).(pulumi.StringPtrOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideAccessPointPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) *string { +// Access point metro name +func (o CloudRouterLocationPtrOutput) MetroName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudRouterLocation) *string { if v == nil { return nil } - return v.Type + return v.MetroName }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointPtrOutput) VirtualDevice() ConnectionASideAccessPointVirtualDevicePtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointVirtualDevice { +// Access point region +func (o CloudRouterLocationPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudRouterLocation) *string { if v == nil { return nil } - return v.VirtualDevice - }).(ConnectionASideAccessPointVirtualDevicePtrOutput) + return v.Region + }).(pulumi.StringPtrOutput) } -type ConnectionASideAccessPointAccount struct { - AccountName *string `pulumi:"accountName"` - AccountNumber *int `pulumi:"accountNumber"` - GlobalCustId *string `pulumi:"globalCustId"` - GlobalOrgId *string `pulumi:"globalOrgId"` - GlobalOrganizationName *string `pulumi:"globalOrganizationName"` - OrgId *int `pulumi:"orgId"` - OrganizationName *string `pulumi:"organizationName"` +type CloudRouterNotification struct { + // Array of contact emails + Emails []string `pulumi:"emails"` + // Send interval + SendInterval *string `pulumi:"sendInterval"` + // Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + Type string `pulumi:"type"` } -// ConnectionASideAccessPointAccountInput is an input type that accepts ConnectionASideAccessPointAccountArgs and ConnectionASideAccessPointAccountOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointAccountInput` via: +// CloudRouterNotificationInput is an input type that accepts CloudRouterNotificationArgs and CloudRouterNotificationOutput values. +// You can construct a concrete instance of `CloudRouterNotificationInput` via: // -// ConnectionASideAccessPointAccountArgs{...} -type ConnectionASideAccessPointAccountInput interface { +// CloudRouterNotificationArgs{...} +type CloudRouterNotificationInput interface { pulumi.Input - ToConnectionASideAccessPointAccountOutput() ConnectionASideAccessPointAccountOutput - ToConnectionASideAccessPointAccountOutputWithContext(context.Context) ConnectionASideAccessPointAccountOutput -} - -type ConnectionASideAccessPointAccountArgs struct { - AccountName pulumi.StringPtrInput `pulumi:"accountName"` - AccountNumber pulumi.IntPtrInput `pulumi:"accountNumber"` - GlobalCustId pulumi.StringPtrInput `pulumi:"globalCustId"` - GlobalOrgId pulumi.StringPtrInput `pulumi:"globalOrgId"` - GlobalOrganizationName pulumi.StringPtrInput `pulumi:"globalOrganizationName"` - OrgId pulumi.IntPtrInput `pulumi:"orgId"` - OrganizationName pulumi.StringPtrInput `pulumi:"organizationName"` + ToCloudRouterNotificationOutput() CloudRouterNotificationOutput + ToCloudRouterNotificationOutputWithContext(context.Context) CloudRouterNotificationOutput } -func (ConnectionASideAccessPointAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointAccount)(nil)).Elem() +type CloudRouterNotificationArgs struct { + // Array of contact emails + Emails pulumi.StringArrayInput `pulumi:"emails"` + // Send interval + SendInterval pulumi.StringPtrInput `pulumi:"sendInterval"` + // Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + Type pulumi.StringInput `pulumi:"type"` } -func (i ConnectionASideAccessPointAccountArgs) ToConnectionASideAccessPointAccountOutput() ConnectionASideAccessPointAccountOutput { - return i.ToConnectionASideAccessPointAccountOutputWithContext(context.Background()) +func (CloudRouterNotificationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterNotification)(nil)).Elem() } -func (i ConnectionASideAccessPointAccountArgs) ToConnectionASideAccessPointAccountOutputWithContext(ctx context.Context) ConnectionASideAccessPointAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointAccountOutput) +func (i CloudRouterNotificationArgs) ToCloudRouterNotificationOutput() CloudRouterNotificationOutput { + return i.ToCloudRouterNotificationOutputWithContext(context.Background()) } -func (i ConnectionASideAccessPointAccountArgs) ToConnectionASideAccessPointAccountPtrOutput() ConnectionASideAccessPointAccountPtrOutput { - return i.ToConnectionASideAccessPointAccountPtrOutputWithContext(context.Background()) +func (i CloudRouterNotificationArgs) ToCloudRouterNotificationOutputWithContext(ctx context.Context) CloudRouterNotificationOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterNotificationOutput) } -func (i ConnectionASideAccessPointAccountArgs) ToConnectionASideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointAccountOutput).ToConnectionASideAccessPointAccountPtrOutputWithContext(ctx) +func (i CloudRouterNotificationArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRouterNotification] { + return pulumix.Output[CloudRouterNotification]{ + OutputState: i.ToCloudRouterNotificationOutputWithContext(ctx).OutputState, + } } -// ConnectionASideAccessPointAccountPtrInput is an input type that accepts ConnectionASideAccessPointAccountArgs, ConnectionASideAccessPointAccountPtr and ConnectionASideAccessPointAccountPtrOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointAccountPtrInput` via: -// -// ConnectionASideAccessPointAccountArgs{...} -// -// or: +// CloudRouterNotificationArrayInput is an input type that accepts CloudRouterNotificationArray and CloudRouterNotificationArrayOutput values. +// You can construct a concrete instance of `CloudRouterNotificationArrayInput` via: // -// nil -type ConnectionASideAccessPointAccountPtrInput interface { +// CloudRouterNotificationArray{ CloudRouterNotificationArgs{...} } +type CloudRouterNotificationArrayInput interface { pulumi.Input - ToConnectionASideAccessPointAccountPtrOutput() ConnectionASideAccessPointAccountPtrOutput - ToConnectionASideAccessPointAccountPtrOutputWithContext(context.Context) ConnectionASideAccessPointAccountPtrOutput + ToCloudRouterNotificationArrayOutput() CloudRouterNotificationArrayOutput + ToCloudRouterNotificationArrayOutputWithContext(context.Context) CloudRouterNotificationArrayOutput } -type connectionASideAccessPointAccountPtrType ConnectionASideAccessPointAccountArgs +type CloudRouterNotificationArray []CloudRouterNotificationInput -func ConnectionASideAccessPointAccountPtr(v *ConnectionASideAccessPointAccountArgs) ConnectionASideAccessPointAccountPtrInput { - return (*connectionASideAccessPointAccountPtrType)(v) +func (CloudRouterNotificationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudRouterNotification)(nil)).Elem() } -func (*connectionASideAccessPointAccountPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointAccount)(nil)).Elem() +func (i CloudRouterNotificationArray) ToCloudRouterNotificationArrayOutput() CloudRouterNotificationArrayOutput { + return i.ToCloudRouterNotificationArrayOutputWithContext(context.Background()) } -func (i *connectionASideAccessPointAccountPtrType) ToConnectionASideAccessPointAccountPtrOutput() ConnectionASideAccessPointAccountPtrOutput { - return i.ToConnectionASideAccessPointAccountPtrOutputWithContext(context.Background()) +func (i CloudRouterNotificationArray) ToCloudRouterNotificationArrayOutputWithContext(ctx context.Context) CloudRouterNotificationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterNotificationArrayOutput) } -func (i *connectionASideAccessPointAccountPtrType) ToConnectionASideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointAccountPtrOutput) +func (i CloudRouterNotificationArray) ToOutput(ctx context.Context) pulumix.Output[[]CloudRouterNotification] { + return pulumix.Output[[]CloudRouterNotification]{ + OutputState: i.ToCloudRouterNotificationArrayOutputWithContext(ctx).OutputState, + } } -type ConnectionASideAccessPointAccountOutput struct{ *pulumi.OutputState } +type CloudRouterNotificationOutput struct{ *pulumi.OutputState } -func (ConnectionASideAccessPointAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointAccount)(nil)).Elem() +func (CloudRouterNotificationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterNotification)(nil)).Elem() } -func (o ConnectionASideAccessPointAccountOutput) ToConnectionASideAccessPointAccountOutput() ConnectionASideAccessPointAccountOutput { +func (o CloudRouterNotificationOutput) ToCloudRouterNotificationOutput() CloudRouterNotificationOutput { return o } -func (o ConnectionASideAccessPointAccountOutput) ToConnectionASideAccessPointAccountOutputWithContext(ctx context.Context) ConnectionASideAccessPointAccountOutput { +func (o CloudRouterNotificationOutput) ToCloudRouterNotificationOutputWithContext(ctx context.Context) CloudRouterNotificationOutput { return o } -func (o ConnectionASideAccessPointAccountOutput) ToConnectionASideAccessPointAccountPtrOutput() ConnectionASideAccessPointAccountPtrOutput { - return o.ToConnectionASideAccessPointAccountPtrOutputWithContext(context.Background()) +func (o CloudRouterNotificationOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRouterNotification] { + return pulumix.Output[CloudRouterNotification]{ + OutputState: o.OutputState, + } } -func (o ConnectionASideAccessPointAccountOutput) ToConnectionASideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointAccountPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointAccount) *ConnectionASideAccessPointAccount { - return &v - }).(ConnectionASideAccessPointAccountPtrOutput) +// Array of contact emails +func (o CloudRouterNotificationOutput) Emails() pulumi.StringArrayOutput { + return o.ApplyT(func(v CloudRouterNotification) []string { return v.Emails }).(pulumi.StringArrayOutput) } -func (o ConnectionASideAccessPointAccountOutput) AccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointAccount) *string { return v.AccountName }).(pulumi.StringPtrOutput) +// Send interval +func (o CloudRouterNotificationOutput) SendInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterNotification) *string { return v.SendInterval }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointAccountOutput) AccountNumber() pulumi.IntPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointAccount) *int { return v.AccountNumber }).(pulumi.IntPtrOutput) +// Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS +func (o CloudRouterNotificationOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v CloudRouterNotification) string { return v.Type }).(pulumi.StringOutput) } -func (o ConnectionASideAccessPointAccountOutput) GlobalCustId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointAccount) *string { return v.GlobalCustId }).(pulumi.StringPtrOutput) +type CloudRouterNotificationArrayOutput struct{ *pulumi.OutputState } + +func (CloudRouterNotificationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudRouterNotification)(nil)).Elem() } -func (o ConnectionASideAccessPointAccountOutput) GlobalOrgId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointAccount) *string { return v.GlobalOrgId }).(pulumi.StringPtrOutput) +func (o CloudRouterNotificationArrayOutput) ToCloudRouterNotificationArrayOutput() CloudRouterNotificationArrayOutput { + return o } -func (o ConnectionASideAccessPointAccountOutput) GlobalOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointAccount) *string { return v.GlobalOrganizationName }).(pulumi.StringPtrOutput) +func (o CloudRouterNotificationArrayOutput) ToCloudRouterNotificationArrayOutputWithContext(ctx context.Context) CloudRouterNotificationArrayOutput { + return o } -func (o ConnectionASideAccessPointAccountOutput) OrgId() pulumi.IntPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointAccount) *int { return v.OrgId }).(pulumi.IntPtrOutput) +func (o CloudRouterNotificationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CloudRouterNotification] { + return pulumix.Output[[]CloudRouterNotification]{ + OutputState: o.OutputState, + } } -func (o ConnectionASideAccessPointAccountOutput) OrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointAccount) *string { return v.OrganizationName }).(pulumi.StringPtrOutput) +func (o CloudRouterNotificationArrayOutput) Index(i pulumi.IntInput) CloudRouterNotificationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudRouterNotification { + return vs[0].([]CloudRouterNotification)[vs[1].(int)] + }).(CloudRouterNotificationOutput) } -type ConnectionASideAccessPointAccountPtrOutput struct{ *pulumi.OutputState } +type CloudRouterOrder struct { + // Billing tier for connection bandwidth + BillingTier *string `pulumi:"billingTier"` + // Order Identification + OrderId *string `pulumi:"orderId"` + // Order Reference Number + OrderNumber *string `pulumi:"orderNumber"` + // Purchase order number + PurchaseOrderNumber *string `pulumi:"purchaseOrderNumber"` +} -func (ConnectionASideAccessPointAccountPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointAccount)(nil)).Elem() +// CloudRouterOrderInput is an input type that accepts CloudRouterOrderArgs and CloudRouterOrderOutput values. +// You can construct a concrete instance of `CloudRouterOrderInput` via: +// +// CloudRouterOrderArgs{...} +type CloudRouterOrderInput interface { + pulumi.Input + + ToCloudRouterOrderOutput() CloudRouterOrderOutput + ToCloudRouterOrderOutputWithContext(context.Context) CloudRouterOrderOutput } -func (o ConnectionASideAccessPointAccountPtrOutput) ToConnectionASideAccessPointAccountPtrOutput() ConnectionASideAccessPointAccountPtrOutput { - return o +type CloudRouterOrderArgs struct { + // Billing tier for connection bandwidth + BillingTier pulumi.StringPtrInput `pulumi:"billingTier"` + // Order Identification + OrderId pulumi.StringPtrInput `pulumi:"orderId"` + // Order Reference Number + OrderNumber pulumi.StringPtrInput `pulumi:"orderNumber"` + // Purchase order number + PurchaseOrderNumber pulumi.StringPtrInput `pulumi:"purchaseOrderNumber"` } -func (o ConnectionASideAccessPointAccountPtrOutput) ToConnectionASideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointAccountPtrOutput { - return o +func (CloudRouterOrderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterOrder)(nil)).Elem() } -func (o ConnectionASideAccessPointAccountPtrOutput) Elem() ConnectionASideAccessPointAccountOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointAccount) ConnectionASideAccessPointAccount { - if v != nil { - return *v - } - var ret ConnectionASideAccessPointAccount - return ret - }).(ConnectionASideAccessPointAccountOutput) -} - -func (o ConnectionASideAccessPointAccountPtrOutput) AccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *string { - if v == nil { - return nil - } - return v.AccountName - }).(pulumi.StringPtrOutput) -} - -func (o ConnectionASideAccessPointAccountPtrOutput) AccountNumber() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *int { - if v == nil { - return nil - } - return v.AccountNumber - }).(pulumi.IntPtrOutput) -} - -func (o ConnectionASideAccessPointAccountPtrOutput) GlobalCustId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *string { - if v == nil { - return nil - } - return v.GlobalCustId - }).(pulumi.StringPtrOutput) -} - -func (o ConnectionASideAccessPointAccountPtrOutput) GlobalOrgId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *string { - if v == nil { - return nil - } - return v.GlobalOrgId - }).(pulumi.StringPtrOutput) +func (i CloudRouterOrderArgs) ToCloudRouterOrderOutput() CloudRouterOrderOutput { + return i.ToCloudRouterOrderOutputWithContext(context.Background()) } -func (o ConnectionASideAccessPointAccountPtrOutput) GlobalOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *string { - if v == nil { - return nil - } - return v.GlobalOrganizationName - }).(pulumi.StringPtrOutput) +func (i CloudRouterOrderArgs) ToCloudRouterOrderOutputWithContext(ctx context.Context) CloudRouterOrderOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterOrderOutput) } -func (o ConnectionASideAccessPointAccountPtrOutput) OrgId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *int { - if v == nil { - return nil - } - return v.OrgId - }).(pulumi.IntPtrOutput) +func (i CloudRouterOrderArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRouterOrder] { + return pulumix.Output[CloudRouterOrder]{ + OutputState: i.ToCloudRouterOrderOutputWithContext(ctx).OutputState, + } } -func (o ConnectionASideAccessPointAccountPtrOutput) OrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *string { - if v == nil { - return nil - } - return v.OrganizationName - }).(pulumi.StringPtrOutput) +func (i CloudRouterOrderArgs) ToCloudRouterOrderPtrOutput() CloudRouterOrderPtrOutput { + return i.ToCloudRouterOrderPtrOutputWithContext(context.Background()) } -type ConnectionASideAccessPointGateway struct { - // Connection URI information - Href *string `pulumi:"href"` - Uuid *string `pulumi:"uuid"` +func (i CloudRouterOrderArgs) ToCloudRouterOrderPtrOutputWithContext(ctx context.Context) CloudRouterOrderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterOrderOutput).ToCloudRouterOrderPtrOutputWithContext(ctx) } -// ConnectionASideAccessPointGatewayInput is an input type that accepts ConnectionASideAccessPointGatewayArgs and ConnectionASideAccessPointGatewayOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointGatewayInput` via: +// CloudRouterOrderPtrInput is an input type that accepts CloudRouterOrderArgs, CloudRouterOrderPtr and CloudRouterOrderPtrOutput values. +// You can construct a concrete instance of `CloudRouterOrderPtrInput` via: // -// ConnectionASideAccessPointGatewayArgs{...} -type ConnectionASideAccessPointGatewayInput interface { +// CloudRouterOrderArgs{...} +// +// or: +// +// nil +type CloudRouterOrderPtrInput interface { pulumi.Input - ToConnectionASideAccessPointGatewayOutput() ConnectionASideAccessPointGatewayOutput - ToConnectionASideAccessPointGatewayOutputWithContext(context.Context) ConnectionASideAccessPointGatewayOutput + ToCloudRouterOrderPtrOutput() CloudRouterOrderPtrOutput + ToCloudRouterOrderPtrOutputWithContext(context.Context) CloudRouterOrderPtrOutput } -type ConnectionASideAccessPointGatewayArgs struct { - // Connection URI information - Href pulumi.StringPtrInput `pulumi:"href"` - Uuid pulumi.StringPtrInput `pulumi:"uuid"` -} +type cloudRouterOrderPtrType CloudRouterOrderArgs -func (ConnectionASideAccessPointGatewayArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointGateway)(nil)).Elem() +func CloudRouterOrderPtr(v *CloudRouterOrderArgs) CloudRouterOrderPtrInput { + return (*cloudRouterOrderPtrType)(v) } -func (i ConnectionASideAccessPointGatewayArgs) ToConnectionASideAccessPointGatewayOutput() ConnectionASideAccessPointGatewayOutput { - return i.ToConnectionASideAccessPointGatewayOutputWithContext(context.Background()) +func (*cloudRouterOrderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudRouterOrder)(nil)).Elem() } -func (i ConnectionASideAccessPointGatewayArgs) ToConnectionASideAccessPointGatewayOutputWithContext(ctx context.Context) ConnectionASideAccessPointGatewayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointGatewayOutput) +func (i *cloudRouterOrderPtrType) ToCloudRouterOrderPtrOutput() CloudRouterOrderPtrOutput { + return i.ToCloudRouterOrderPtrOutputWithContext(context.Background()) } -func (i ConnectionASideAccessPointGatewayArgs) ToConnectionASideAccessPointGatewayPtrOutput() ConnectionASideAccessPointGatewayPtrOutput { - return i.ToConnectionASideAccessPointGatewayPtrOutputWithContext(context.Background()) +func (i *cloudRouterOrderPtrType) ToCloudRouterOrderPtrOutputWithContext(ctx context.Context) CloudRouterOrderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterOrderPtrOutput) } -func (i ConnectionASideAccessPointGatewayArgs) ToConnectionASideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointGatewayPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointGatewayOutput).ToConnectionASideAccessPointGatewayPtrOutputWithContext(ctx) +func (i *cloudRouterOrderPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRouterOrder] { + return pulumix.Output[*CloudRouterOrder]{ + OutputState: i.ToCloudRouterOrderPtrOutputWithContext(ctx).OutputState, + } } -// ConnectionASideAccessPointGatewayPtrInput is an input type that accepts ConnectionASideAccessPointGatewayArgs, ConnectionASideAccessPointGatewayPtr and ConnectionASideAccessPointGatewayPtrOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointGatewayPtrInput` via: -// -// ConnectionASideAccessPointGatewayArgs{...} -// -// or: -// -// nil -type ConnectionASideAccessPointGatewayPtrInput interface { - pulumi.Input +type CloudRouterOrderOutput struct{ *pulumi.OutputState } - ToConnectionASideAccessPointGatewayPtrOutput() ConnectionASideAccessPointGatewayPtrOutput - ToConnectionASideAccessPointGatewayPtrOutputWithContext(context.Context) ConnectionASideAccessPointGatewayPtrOutput +func (CloudRouterOrderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterOrder)(nil)).Elem() } -type connectionASideAccessPointGatewayPtrType ConnectionASideAccessPointGatewayArgs - -func ConnectionASideAccessPointGatewayPtr(v *ConnectionASideAccessPointGatewayArgs) ConnectionASideAccessPointGatewayPtrInput { - return (*connectionASideAccessPointGatewayPtrType)(v) +func (o CloudRouterOrderOutput) ToCloudRouterOrderOutput() CloudRouterOrderOutput { + return o } -func (*connectionASideAccessPointGatewayPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointGateway)(nil)).Elem() +func (o CloudRouterOrderOutput) ToCloudRouterOrderOutputWithContext(ctx context.Context) CloudRouterOrderOutput { + return o } -func (i *connectionASideAccessPointGatewayPtrType) ToConnectionASideAccessPointGatewayPtrOutput() ConnectionASideAccessPointGatewayPtrOutput { - return i.ToConnectionASideAccessPointGatewayPtrOutputWithContext(context.Background()) +func (o CloudRouterOrderOutput) ToCloudRouterOrderPtrOutput() CloudRouterOrderPtrOutput { + return o.ToCloudRouterOrderPtrOutputWithContext(context.Background()) } -func (i *connectionASideAccessPointGatewayPtrType) ToConnectionASideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointGatewayPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointGatewayPtrOutput) +func (o CloudRouterOrderOutput) ToCloudRouterOrderPtrOutputWithContext(ctx context.Context) CloudRouterOrderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudRouterOrder) *CloudRouterOrder { + return &v + }).(CloudRouterOrderPtrOutput) } -type ConnectionASideAccessPointGatewayOutput struct{ *pulumi.OutputState } - -func (ConnectionASideAccessPointGatewayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointGateway)(nil)).Elem() +func (o CloudRouterOrderOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRouterOrder] { + return pulumix.Output[CloudRouterOrder]{ + OutputState: o.OutputState, + } } -func (o ConnectionASideAccessPointGatewayOutput) ToConnectionASideAccessPointGatewayOutput() ConnectionASideAccessPointGatewayOutput { - return o +// Billing tier for connection bandwidth +func (o CloudRouterOrderOutput) BillingTier() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterOrder) *string { return v.BillingTier }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointGatewayOutput) ToConnectionASideAccessPointGatewayOutputWithContext(ctx context.Context) ConnectionASideAccessPointGatewayOutput { - return o +// Order Identification +func (o CloudRouterOrderOutput) OrderId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterOrder) *string { return v.OrderId }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointGatewayOutput) ToConnectionASideAccessPointGatewayPtrOutput() ConnectionASideAccessPointGatewayPtrOutput { - return o.ToConnectionASideAccessPointGatewayPtrOutputWithContext(context.Background()) +// Order Reference Number +func (o CloudRouterOrderOutput) OrderNumber() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterOrder) *string { return v.OrderNumber }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointGatewayOutput) ToConnectionASideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointGatewayPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointGateway) *ConnectionASideAccessPointGateway { - return &v - }).(ConnectionASideAccessPointGatewayPtrOutput) +// Purchase order number +func (o CloudRouterOrderOutput) PurchaseOrderNumber() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterOrder) *string { return v.PurchaseOrderNumber }).(pulumi.StringPtrOutput) } -// Connection URI information -func (o ConnectionASideAccessPointGatewayOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointGateway) *string { return v.Href }).(pulumi.StringPtrOutput) -} +type CloudRouterOrderPtrOutput struct{ *pulumi.OutputState } -func (o ConnectionASideAccessPointGatewayOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointGateway) *string { return v.Uuid }).(pulumi.StringPtrOutput) +func (CloudRouterOrderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudRouterOrder)(nil)).Elem() } -type ConnectionASideAccessPointGatewayPtrOutput struct{ *pulumi.OutputState } - -func (ConnectionASideAccessPointGatewayPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointGateway)(nil)).Elem() +func (o CloudRouterOrderPtrOutput) ToCloudRouterOrderPtrOutput() CloudRouterOrderPtrOutput { + return o } -func (o ConnectionASideAccessPointGatewayPtrOutput) ToConnectionASideAccessPointGatewayPtrOutput() ConnectionASideAccessPointGatewayPtrOutput { +func (o CloudRouterOrderPtrOutput) ToCloudRouterOrderPtrOutputWithContext(ctx context.Context) CloudRouterOrderPtrOutput { return o } -func (o ConnectionASideAccessPointGatewayPtrOutput) ToConnectionASideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointGatewayPtrOutput { - return o +func (o CloudRouterOrderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRouterOrder] { + return pulumix.Output[*CloudRouterOrder]{ + OutputState: o.OutputState, + } } -func (o ConnectionASideAccessPointGatewayPtrOutput) Elem() ConnectionASideAccessPointGatewayOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointGateway) ConnectionASideAccessPointGateway { +func (o CloudRouterOrderPtrOutput) Elem() CloudRouterOrderOutput { + return o.ApplyT(func(v *CloudRouterOrder) CloudRouterOrder { if v != nil { return *v } - var ret ConnectionASideAccessPointGateway + var ret CloudRouterOrder return ret - }).(ConnectionASideAccessPointGatewayOutput) + }).(CloudRouterOrderOutput) } -// Connection URI information -func (o ConnectionASideAccessPointGatewayPtrOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointGateway) *string { +// Billing tier for connection bandwidth +func (o CloudRouterOrderPtrOutput) BillingTier() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudRouterOrder) *string { if v == nil { return nil } - return v.Href + return v.BillingTier }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointGatewayPtrOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointGateway) *string { +// Order Identification +func (o CloudRouterOrderPtrOutput) OrderId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudRouterOrder) *string { if v == nil { return nil } - return v.Uuid + return v.OrderId }).(pulumi.StringPtrOutput) } -type ConnectionASideAccessPointInterface struct { - // The ID of this resource. - Id *string `pulumi:"id"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type *string `pulumi:"type"` - Uuid *string `pulumi:"uuid"` +// Order Reference Number +func (o CloudRouterOrderPtrOutput) OrderNumber() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudRouterOrder) *string { + if v == nil { + return nil + } + return v.OrderNumber + }).(pulumi.StringPtrOutput) } -// ConnectionASideAccessPointInterfaceInput is an input type that accepts ConnectionASideAccessPointInterfaceArgs and ConnectionASideAccessPointInterfaceOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointInterfaceInput` via: +// Purchase order number +func (o CloudRouterOrderPtrOutput) PurchaseOrderNumber() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudRouterOrder) *string { + if v == nil { + return nil + } + return v.PurchaseOrderNumber + }).(pulumi.StringPtrOutput) +} + +type CloudRouterPackage struct { + // Fabric Cloud Router package code + Code string `pulumi:"code"` +} + +// CloudRouterPackageInput is an input type that accepts CloudRouterPackageArgs and CloudRouterPackageOutput values. +// You can construct a concrete instance of `CloudRouterPackageInput` via: // -// ConnectionASideAccessPointInterfaceArgs{...} -type ConnectionASideAccessPointInterfaceInput interface { +// CloudRouterPackageArgs{...} +type CloudRouterPackageInput interface { pulumi.Input - ToConnectionASideAccessPointInterfaceOutput() ConnectionASideAccessPointInterfaceOutput - ToConnectionASideAccessPointInterfaceOutputWithContext(context.Context) ConnectionASideAccessPointInterfaceOutput + ToCloudRouterPackageOutput() CloudRouterPackageOutput + ToCloudRouterPackageOutputWithContext(context.Context) CloudRouterPackageOutput } -type ConnectionASideAccessPointInterfaceArgs struct { - // The ID of this resource. - Id pulumi.StringPtrInput `pulumi:"id"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringPtrInput `pulumi:"type"` - Uuid pulumi.StringPtrInput `pulumi:"uuid"` +type CloudRouterPackageArgs struct { + // Fabric Cloud Router package code + Code pulumi.StringInput `pulumi:"code"` } -func (ConnectionASideAccessPointInterfaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointInterface)(nil)).Elem() +func (CloudRouterPackageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterPackage)(nil)).Elem() } -func (i ConnectionASideAccessPointInterfaceArgs) ToConnectionASideAccessPointInterfaceOutput() ConnectionASideAccessPointInterfaceOutput { - return i.ToConnectionASideAccessPointInterfaceOutputWithContext(context.Background()) +func (i CloudRouterPackageArgs) ToCloudRouterPackageOutput() CloudRouterPackageOutput { + return i.ToCloudRouterPackageOutputWithContext(context.Background()) } -func (i ConnectionASideAccessPointInterfaceArgs) ToConnectionASideAccessPointInterfaceOutputWithContext(ctx context.Context) ConnectionASideAccessPointInterfaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointInterfaceOutput) +func (i CloudRouterPackageArgs) ToCloudRouterPackageOutputWithContext(ctx context.Context) CloudRouterPackageOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterPackageOutput) } -func (i ConnectionASideAccessPointInterfaceArgs) ToConnectionASideAccessPointInterfacePtrOutput() ConnectionASideAccessPointInterfacePtrOutput { - return i.ToConnectionASideAccessPointInterfacePtrOutputWithContext(context.Background()) +func (i CloudRouterPackageArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRouterPackage] { + return pulumix.Output[CloudRouterPackage]{ + OutputState: i.ToCloudRouterPackageOutputWithContext(ctx).OutputState, + } } -func (i ConnectionASideAccessPointInterfaceArgs) ToConnectionASideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointInterfacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointInterfaceOutput).ToConnectionASideAccessPointInterfacePtrOutputWithContext(ctx) +func (i CloudRouterPackageArgs) ToCloudRouterPackagePtrOutput() CloudRouterPackagePtrOutput { + return i.ToCloudRouterPackagePtrOutputWithContext(context.Background()) } -// ConnectionASideAccessPointInterfacePtrInput is an input type that accepts ConnectionASideAccessPointInterfaceArgs, ConnectionASideAccessPointInterfacePtr and ConnectionASideAccessPointInterfacePtrOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointInterfacePtrInput` via: +func (i CloudRouterPackageArgs) ToCloudRouterPackagePtrOutputWithContext(ctx context.Context) CloudRouterPackagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterPackageOutput).ToCloudRouterPackagePtrOutputWithContext(ctx) +} + +// CloudRouterPackagePtrInput is an input type that accepts CloudRouterPackageArgs, CloudRouterPackagePtr and CloudRouterPackagePtrOutput values. +// You can construct a concrete instance of `CloudRouterPackagePtrInput` via: // -// ConnectionASideAccessPointInterfaceArgs{...} +// CloudRouterPackageArgs{...} // // or: // // nil -type ConnectionASideAccessPointInterfacePtrInput interface { +type CloudRouterPackagePtrInput interface { pulumi.Input - ToConnectionASideAccessPointInterfacePtrOutput() ConnectionASideAccessPointInterfacePtrOutput - ToConnectionASideAccessPointInterfacePtrOutputWithContext(context.Context) ConnectionASideAccessPointInterfacePtrOutput + ToCloudRouterPackagePtrOutput() CloudRouterPackagePtrOutput + ToCloudRouterPackagePtrOutputWithContext(context.Context) CloudRouterPackagePtrOutput } -type connectionASideAccessPointInterfacePtrType ConnectionASideAccessPointInterfaceArgs +type cloudRouterPackagePtrType CloudRouterPackageArgs -func ConnectionASideAccessPointInterfacePtr(v *ConnectionASideAccessPointInterfaceArgs) ConnectionASideAccessPointInterfacePtrInput { - return (*connectionASideAccessPointInterfacePtrType)(v) +func CloudRouterPackagePtr(v *CloudRouterPackageArgs) CloudRouterPackagePtrInput { + return (*cloudRouterPackagePtrType)(v) } -func (*connectionASideAccessPointInterfacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointInterface)(nil)).Elem() +func (*cloudRouterPackagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudRouterPackage)(nil)).Elem() } -func (i *connectionASideAccessPointInterfacePtrType) ToConnectionASideAccessPointInterfacePtrOutput() ConnectionASideAccessPointInterfacePtrOutput { - return i.ToConnectionASideAccessPointInterfacePtrOutputWithContext(context.Background()) +func (i *cloudRouterPackagePtrType) ToCloudRouterPackagePtrOutput() CloudRouterPackagePtrOutput { + return i.ToCloudRouterPackagePtrOutputWithContext(context.Background()) } -func (i *connectionASideAccessPointInterfacePtrType) ToConnectionASideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointInterfacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointInterfacePtrOutput) +func (i *cloudRouterPackagePtrType) ToCloudRouterPackagePtrOutputWithContext(ctx context.Context) CloudRouterPackagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterPackagePtrOutput) } -type ConnectionASideAccessPointInterfaceOutput struct{ *pulumi.OutputState } +func (i *cloudRouterPackagePtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRouterPackage] { + return pulumix.Output[*CloudRouterPackage]{ + OutputState: i.ToCloudRouterPackagePtrOutputWithContext(ctx).OutputState, + } +} -func (ConnectionASideAccessPointInterfaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointInterface)(nil)).Elem() +type CloudRouterPackageOutput struct{ *pulumi.OutputState } + +func (CloudRouterPackageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterPackage)(nil)).Elem() } -func (o ConnectionASideAccessPointInterfaceOutput) ToConnectionASideAccessPointInterfaceOutput() ConnectionASideAccessPointInterfaceOutput { +func (o CloudRouterPackageOutput) ToCloudRouterPackageOutput() CloudRouterPackageOutput { return o } -func (o ConnectionASideAccessPointInterfaceOutput) ToConnectionASideAccessPointInterfaceOutputWithContext(ctx context.Context) ConnectionASideAccessPointInterfaceOutput { +func (o CloudRouterPackageOutput) ToCloudRouterPackageOutputWithContext(ctx context.Context) CloudRouterPackageOutput { return o } -func (o ConnectionASideAccessPointInterfaceOutput) ToConnectionASideAccessPointInterfacePtrOutput() ConnectionASideAccessPointInterfacePtrOutput { - return o.ToConnectionASideAccessPointInterfacePtrOutputWithContext(context.Background()) +func (o CloudRouterPackageOutput) ToCloudRouterPackagePtrOutput() CloudRouterPackagePtrOutput { + return o.ToCloudRouterPackagePtrOutputWithContext(context.Background()) } -func (o ConnectionASideAccessPointInterfaceOutput) ToConnectionASideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointInterfacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointInterface) *ConnectionASideAccessPointInterface { +func (o CloudRouterPackageOutput) ToCloudRouterPackagePtrOutputWithContext(ctx context.Context) CloudRouterPackagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudRouterPackage) *CloudRouterPackage { return &v - }).(ConnectionASideAccessPointInterfacePtrOutput) -} - -// The ID of this resource. -func (o ConnectionASideAccessPointInterfaceOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointInterface) *string { return v.Id }).(pulumi.StringPtrOutput) + }).(CloudRouterPackagePtrOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideAccessPointInterfaceOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointInterface) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o CloudRouterPackageOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRouterPackage] { + return pulumix.Output[CloudRouterPackage]{ + OutputState: o.OutputState, + } } -func (o ConnectionASideAccessPointInterfaceOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointInterface) *string { return v.Uuid }).(pulumi.StringPtrOutput) +// Fabric Cloud Router package code +func (o CloudRouterPackageOutput) Code() pulumi.StringOutput { + return o.ApplyT(func(v CloudRouterPackage) string { return v.Code }).(pulumi.StringOutput) } -type ConnectionASideAccessPointInterfacePtrOutput struct{ *pulumi.OutputState } +type CloudRouterPackagePtrOutput struct{ *pulumi.OutputState } -func (ConnectionASideAccessPointInterfacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointInterface)(nil)).Elem() +func (CloudRouterPackagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudRouterPackage)(nil)).Elem() } -func (o ConnectionASideAccessPointInterfacePtrOutput) ToConnectionASideAccessPointInterfacePtrOutput() ConnectionASideAccessPointInterfacePtrOutput { +func (o CloudRouterPackagePtrOutput) ToCloudRouterPackagePtrOutput() CloudRouterPackagePtrOutput { return o } -func (o ConnectionASideAccessPointInterfacePtrOutput) ToConnectionASideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointInterfacePtrOutput { +func (o CloudRouterPackagePtrOutput) ToCloudRouterPackagePtrOutputWithContext(ctx context.Context) CloudRouterPackagePtrOutput { return o } -func (o ConnectionASideAccessPointInterfacePtrOutput) Elem() ConnectionASideAccessPointInterfaceOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointInterface) ConnectionASideAccessPointInterface { +func (o CloudRouterPackagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRouterPackage] { + return pulumix.Output[*CloudRouterPackage]{ + OutputState: o.OutputState, + } +} + +func (o CloudRouterPackagePtrOutput) Elem() CloudRouterPackageOutput { + return o.ApplyT(func(v *CloudRouterPackage) CloudRouterPackage { if v != nil { return *v } - var ret ConnectionASideAccessPointInterface + var ret CloudRouterPackage return ret - }).(ConnectionASideAccessPointInterfaceOutput) + }).(CloudRouterPackageOutput) } -// The ID of this resource. -func (o ConnectionASideAccessPointInterfacePtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointInterface) *string { +// Fabric Cloud Router package code +func (o CloudRouterPackagePtrOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudRouterPackage) *string { if v == nil { return nil } - return v.Id + return &v.Code }).(pulumi.StringPtrOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideAccessPointInterfacePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointInterface) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) -} - -func (o ConnectionASideAccessPointInterfacePtrOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointInterface) *string { - if v == nil { - return nil - } - return v.Uuid - }).(pulumi.StringPtrOutput) -} - -type ConnectionASideAccessPointLinkProtocol struct { - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type *string `pulumi:"type"` - VlanCTag *int `pulumi:"vlanCTag"` - VlanSTag *int `pulumi:"vlanSTag"` - VlanTag *int `pulumi:"vlanTag"` +type CloudRouterProject struct { + // Unique Resource URL + Href *string `pulumi:"href"` + // Project Id + ProjectId *string `pulumi:"projectId"` } -// ConnectionASideAccessPointLinkProtocolInput is an input type that accepts ConnectionASideAccessPointLinkProtocolArgs and ConnectionASideAccessPointLinkProtocolOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointLinkProtocolInput` via: +// CloudRouterProjectInput is an input type that accepts CloudRouterProjectArgs and CloudRouterProjectOutput values. +// You can construct a concrete instance of `CloudRouterProjectInput` via: // -// ConnectionASideAccessPointLinkProtocolArgs{...} -type ConnectionASideAccessPointLinkProtocolInput interface { +// CloudRouterProjectArgs{...} +type CloudRouterProjectInput interface { pulumi.Input - ToConnectionASideAccessPointLinkProtocolOutput() ConnectionASideAccessPointLinkProtocolOutput - ToConnectionASideAccessPointLinkProtocolOutputWithContext(context.Context) ConnectionASideAccessPointLinkProtocolOutput -} - -type ConnectionASideAccessPointLinkProtocolArgs struct { - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringPtrInput `pulumi:"type"` - VlanCTag pulumi.IntPtrInput `pulumi:"vlanCTag"` - VlanSTag pulumi.IntPtrInput `pulumi:"vlanSTag"` - VlanTag pulumi.IntPtrInput `pulumi:"vlanTag"` + ToCloudRouterProjectOutput() CloudRouterProjectOutput + ToCloudRouterProjectOutputWithContext(context.Context) CloudRouterProjectOutput } -func (ConnectionASideAccessPointLinkProtocolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointLinkProtocol)(nil)).Elem() +type CloudRouterProjectArgs struct { + // Unique Resource URL + Href pulumi.StringPtrInput `pulumi:"href"` + // Project Id + ProjectId pulumi.StringPtrInput `pulumi:"projectId"` } -func (i ConnectionASideAccessPointLinkProtocolArgs) ToConnectionASideAccessPointLinkProtocolOutput() ConnectionASideAccessPointLinkProtocolOutput { - return i.ToConnectionASideAccessPointLinkProtocolOutputWithContext(context.Background()) +func (CloudRouterProjectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterProject)(nil)).Elem() } -func (i ConnectionASideAccessPointLinkProtocolArgs) ToConnectionASideAccessPointLinkProtocolOutputWithContext(ctx context.Context) ConnectionASideAccessPointLinkProtocolOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointLinkProtocolOutput) +func (i CloudRouterProjectArgs) ToCloudRouterProjectOutput() CloudRouterProjectOutput { + return i.ToCloudRouterProjectOutputWithContext(context.Background()) } -func (i ConnectionASideAccessPointLinkProtocolArgs) ToConnectionASideAccessPointLinkProtocolPtrOutput() ConnectionASideAccessPointLinkProtocolPtrOutput { - return i.ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(context.Background()) +func (i CloudRouterProjectArgs) ToCloudRouterProjectOutputWithContext(ctx context.Context) CloudRouterProjectOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterProjectOutput) } -func (i ConnectionASideAccessPointLinkProtocolArgs) ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLinkProtocolPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointLinkProtocolOutput).ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(ctx) +func (i CloudRouterProjectArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRouterProject] { + return pulumix.Output[CloudRouterProject]{ + OutputState: i.ToCloudRouterProjectOutputWithContext(ctx).OutputState, + } } -// ConnectionASideAccessPointLinkProtocolPtrInput is an input type that accepts ConnectionASideAccessPointLinkProtocolArgs, ConnectionASideAccessPointLinkProtocolPtr and ConnectionASideAccessPointLinkProtocolPtrOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointLinkProtocolPtrInput` via: -// -// ConnectionASideAccessPointLinkProtocolArgs{...} -// -// or: +// CloudRouterProjectArrayInput is an input type that accepts CloudRouterProjectArray and CloudRouterProjectArrayOutput values. +// You can construct a concrete instance of `CloudRouterProjectArrayInput` via: // -// nil -type ConnectionASideAccessPointLinkProtocolPtrInput interface { +// CloudRouterProjectArray{ CloudRouterProjectArgs{...} } +type CloudRouterProjectArrayInput interface { pulumi.Input - ToConnectionASideAccessPointLinkProtocolPtrOutput() ConnectionASideAccessPointLinkProtocolPtrOutput - ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(context.Context) ConnectionASideAccessPointLinkProtocolPtrOutput + ToCloudRouterProjectArrayOutput() CloudRouterProjectArrayOutput + ToCloudRouterProjectArrayOutputWithContext(context.Context) CloudRouterProjectArrayOutput } -type connectionASideAccessPointLinkProtocolPtrType ConnectionASideAccessPointLinkProtocolArgs +type CloudRouterProjectArray []CloudRouterProjectInput -func ConnectionASideAccessPointLinkProtocolPtr(v *ConnectionASideAccessPointLinkProtocolArgs) ConnectionASideAccessPointLinkProtocolPtrInput { - return (*connectionASideAccessPointLinkProtocolPtrType)(v) +func (CloudRouterProjectArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudRouterProject)(nil)).Elem() } -func (*connectionASideAccessPointLinkProtocolPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointLinkProtocol)(nil)).Elem() +func (i CloudRouterProjectArray) ToCloudRouterProjectArrayOutput() CloudRouterProjectArrayOutput { + return i.ToCloudRouterProjectArrayOutputWithContext(context.Background()) } -func (i *connectionASideAccessPointLinkProtocolPtrType) ToConnectionASideAccessPointLinkProtocolPtrOutput() ConnectionASideAccessPointLinkProtocolPtrOutput { - return i.ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(context.Background()) +func (i CloudRouterProjectArray) ToCloudRouterProjectArrayOutputWithContext(ctx context.Context) CloudRouterProjectArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterProjectArrayOutput) } -func (i *connectionASideAccessPointLinkProtocolPtrType) ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLinkProtocolPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointLinkProtocolPtrOutput) +func (i CloudRouterProjectArray) ToOutput(ctx context.Context) pulumix.Output[[]CloudRouterProject] { + return pulumix.Output[[]CloudRouterProject]{ + OutputState: i.ToCloudRouterProjectArrayOutputWithContext(ctx).OutputState, + } } -type ConnectionASideAccessPointLinkProtocolOutput struct{ *pulumi.OutputState } +type CloudRouterProjectOutput struct{ *pulumi.OutputState } -func (ConnectionASideAccessPointLinkProtocolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointLinkProtocol)(nil)).Elem() +func (CloudRouterProjectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterProject)(nil)).Elem() } -func (o ConnectionASideAccessPointLinkProtocolOutput) ToConnectionASideAccessPointLinkProtocolOutput() ConnectionASideAccessPointLinkProtocolOutput { +func (o CloudRouterProjectOutput) ToCloudRouterProjectOutput() CloudRouterProjectOutput { return o } -func (o ConnectionASideAccessPointLinkProtocolOutput) ToConnectionASideAccessPointLinkProtocolOutputWithContext(ctx context.Context) ConnectionASideAccessPointLinkProtocolOutput { +func (o CloudRouterProjectOutput) ToCloudRouterProjectOutputWithContext(ctx context.Context) CloudRouterProjectOutput { return o } -func (o ConnectionASideAccessPointLinkProtocolOutput) ToConnectionASideAccessPointLinkProtocolPtrOutput() ConnectionASideAccessPointLinkProtocolPtrOutput { - return o.ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(context.Background()) -} - -func (o ConnectionASideAccessPointLinkProtocolOutput) ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLinkProtocolPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointLinkProtocol) *ConnectionASideAccessPointLinkProtocol { - return &v - }).(ConnectionASideAccessPointLinkProtocolPtrOutput) -} - -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideAccessPointLinkProtocolOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointLinkProtocol) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -func (o ConnectionASideAccessPointLinkProtocolOutput) VlanCTag() pulumi.IntPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointLinkProtocol) *int { return v.VlanCTag }).(pulumi.IntPtrOutput) +func (o CloudRouterProjectOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRouterProject] { + return pulumix.Output[CloudRouterProject]{ + OutputState: o.OutputState, + } } -func (o ConnectionASideAccessPointLinkProtocolOutput) VlanSTag() pulumi.IntPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointLinkProtocol) *int { return v.VlanSTag }).(pulumi.IntPtrOutput) +// Unique Resource URL +func (o CloudRouterProjectOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterProject) *string { return v.Href }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointLinkProtocolOutput) VlanTag() pulumi.IntPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointLinkProtocol) *int { return v.VlanTag }).(pulumi.IntPtrOutput) +// Project Id +func (o CloudRouterProjectOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterProject) *string { return v.ProjectId }).(pulumi.StringPtrOutput) } -type ConnectionASideAccessPointLinkProtocolPtrOutput struct{ *pulumi.OutputState } +type CloudRouterProjectArrayOutput struct{ *pulumi.OutputState } -func (ConnectionASideAccessPointLinkProtocolPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointLinkProtocol)(nil)).Elem() +func (CloudRouterProjectArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudRouterProject)(nil)).Elem() } -func (o ConnectionASideAccessPointLinkProtocolPtrOutput) ToConnectionASideAccessPointLinkProtocolPtrOutput() ConnectionASideAccessPointLinkProtocolPtrOutput { +func (o CloudRouterProjectArrayOutput) ToCloudRouterProjectArrayOutput() CloudRouterProjectArrayOutput { return o } -func (o ConnectionASideAccessPointLinkProtocolPtrOutput) ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLinkProtocolPtrOutput { +func (o CloudRouterProjectArrayOutput) ToCloudRouterProjectArrayOutputWithContext(ctx context.Context) CloudRouterProjectArrayOutput { return o } -func (o ConnectionASideAccessPointLinkProtocolPtrOutput) Elem() ConnectionASideAccessPointLinkProtocolOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointLinkProtocol) ConnectionASideAccessPointLinkProtocol { - if v != nil { - return *v - } - var ret ConnectionASideAccessPointLinkProtocol - return ret - }).(ConnectionASideAccessPointLinkProtocolOutput) -} - -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideAccessPointLinkProtocolPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointLinkProtocol) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) -} - -func (o ConnectionASideAccessPointLinkProtocolPtrOutput) VlanCTag() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointLinkProtocol) *int { - if v == nil { - return nil - } - return v.VlanCTag - }).(pulumi.IntPtrOutput) -} - -func (o ConnectionASideAccessPointLinkProtocolPtrOutput) VlanSTag() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointLinkProtocol) *int { - if v == nil { - return nil - } - return v.VlanSTag - }).(pulumi.IntPtrOutput) +func (o CloudRouterProjectArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CloudRouterProject] { + return pulumix.Output[[]CloudRouterProject]{ + OutputState: o.OutputState, + } } -func (o ConnectionASideAccessPointLinkProtocolPtrOutput) VlanTag() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointLinkProtocol) *int { - if v == nil { - return nil - } - return v.VlanTag - }).(pulumi.IntPtrOutput) +func (o CloudRouterProjectArrayOutput) Index(i pulumi.IntInput) CloudRouterProjectOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudRouterProject { + return vs[0].([]CloudRouterProject)[vs[1].(int)] + }).(CloudRouterProjectOutput) } -type ConnectionASideAccessPointLocation struct { - Ibx *string `pulumi:"ibx"` - MetroCode *string `pulumi:"metroCode"` - MetroName *string `pulumi:"metroName"` - Region *string `pulumi:"region"` +type ConnectionASide struct { + // Point of access details + AccessPoint *ConnectionASideAccessPoint `pulumi:"accessPoint"` + // Connection side additional information + AdditionalInfo []ConnectionASideAdditionalInfo `pulumi:"additionalInfo"` + // For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets + ServiceToken *ConnectionASideServiceToken `pulumi:"serviceToken"` } -// ConnectionASideAccessPointLocationInput is an input type that accepts ConnectionASideAccessPointLocationArgs and ConnectionASideAccessPointLocationOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointLocationInput` via: +// ConnectionASideInput is an input type that accepts ConnectionASideArgs and ConnectionASideOutput values. +// You can construct a concrete instance of `ConnectionASideInput` via: // -// ConnectionASideAccessPointLocationArgs{...} -type ConnectionASideAccessPointLocationInput interface { +// ConnectionASideArgs{...} +type ConnectionASideInput interface { pulumi.Input - ToConnectionASideAccessPointLocationOutput() ConnectionASideAccessPointLocationOutput - ToConnectionASideAccessPointLocationOutputWithContext(context.Context) ConnectionASideAccessPointLocationOutput + ToConnectionASideOutput() ConnectionASideOutput + ToConnectionASideOutputWithContext(context.Context) ConnectionASideOutput } -type ConnectionASideAccessPointLocationArgs struct { - Ibx pulumi.StringPtrInput `pulumi:"ibx"` - MetroCode pulumi.StringPtrInput `pulumi:"metroCode"` - MetroName pulumi.StringPtrInput `pulumi:"metroName"` - Region pulumi.StringPtrInput `pulumi:"region"` +type ConnectionASideArgs struct { + // Point of access details + AccessPoint ConnectionASideAccessPointPtrInput `pulumi:"accessPoint"` + // Connection side additional information + AdditionalInfo ConnectionASideAdditionalInfoArrayInput `pulumi:"additionalInfo"` + // For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets + ServiceToken ConnectionASideServiceTokenPtrInput `pulumi:"serviceToken"` } -func (ConnectionASideAccessPointLocationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointLocation)(nil)).Elem() +func (ConnectionASideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASide)(nil)).Elem() } -func (i ConnectionASideAccessPointLocationArgs) ToConnectionASideAccessPointLocationOutput() ConnectionASideAccessPointLocationOutput { - return i.ToConnectionASideAccessPointLocationOutputWithContext(context.Background()) +func (i ConnectionASideArgs) ToConnectionASideOutput() ConnectionASideOutput { + return i.ToConnectionASideOutputWithContext(context.Background()) } -func (i ConnectionASideAccessPointLocationArgs) ToConnectionASideAccessPointLocationOutputWithContext(ctx context.Context) ConnectionASideAccessPointLocationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointLocationOutput) +func (i ConnectionASideArgs) ToConnectionASideOutputWithContext(ctx context.Context) ConnectionASideOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideOutput) } -func (i ConnectionASideAccessPointLocationArgs) ToConnectionASideAccessPointLocationPtrOutput() ConnectionASideAccessPointLocationPtrOutput { - return i.ToConnectionASideAccessPointLocationPtrOutputWithContext(context.Background()) +func (i ConnectionASideArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASide] { + return pulumix.Output[ConnectionASide]{ + OutputState: i.ToConnectionASideOutputWithContext(ctx).OutputState, + } } -func (i ConnectionASideAccessPointLocationArgs) ToConnectionASideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLocationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointLocationOutput).ToConnectionASideAccessPointLocationPtrOutputWithContext(ctx) +func (i ConnectionASideArgs) ToConnectionASidePtrOutput() ConnectionASidePtrOutput { + return i.ToConnectionASidePtrOutputWithContext(context.Background()) } -// ConnectionASideAccessPointLocationPtrInput is an input type that accepts ConnectionASideAccessPointLocationArgs, ConnectionASideAccessPointLocationPtr and ConnectionASideAccessPointLocationPtrOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointLocationPtrInput` via: +func (i ConnectionASideArgs) ToConnectionASidePtrOutputWithContext(ctx context.Context) ConnectionASidePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideOutput).ToConnectionASidePtrOutputWithContext(ctx) +} + +// ConnectionASidePtrInput is an input type that accepts ConnectionASideArgs, ConnectionASidePtr and ConnectionASidePtrOutput values. +// You can construct a concrete instance of `ConnectionASidePtrInput` via: // -// ConnectionASideAccessPointLocationArgs{...} +// ConnectionASideArgs{...} // // or: // // nil -type ConnectionASideAccessPointLocationPtrInput interface { +type ConnectionASidePtrInput interface { pulumi.Input - ToConnectionASideAccessPointLocationPtrOutput() ConnectionASideAccessPointLocationPtrOutput - ToConnectionASideAccessPointLocationPtrOutputWithContext(context.Context) ConnectionASideAccessPointLocationPtrOutput + ToConnectionASidePtrOutput() ConnectionASidePtrOutput + ToConnectionASidePtrOutputWithContext(context.Context) ConnectionASidePtrOutput } -type connectionASideAccessPointLocationPtrType ConnectionASideAccessPointLocationArgs +type connectionASidePtrType ConnectionASideArgs -func ConnectionASideAccessPointLocationPtr(v *ConnectionASideAccessPointLocationArgs) ConnectionASideAccessPointLocationPtrInput { - return (*connectionASideAccessPointLocationPtrType)(v) +func ConnectionASidePtr(v *ConnectionASideArgs) ConnectionASidePtrInput { + return (*connectionASidePtrType)(v) } -func (*connectionASideAccessPointLocationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointLocation)(nil)).Elem() +func (*connectionASidePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASide)(nil)).Elem() } -func (i *connectionASideAccessPointLocationPtrType) ToConnectionASideAccessPointLocationPtrOutput() ConnectionASideAccessPointLocationPtrOutput { - return i.ToConnectionASideAccessPointLocationPtrOutputWithContext(context.Background()) +func (i *connectionASidePtrType) ToConnectionASidePtrOutput() ConnectionASidePtrOutput { + return i.ToConnectionASidePtrOutputWithContext(context.Background()) } -func (i *connectionASideAccessPointLocationPtrType) ToConnectionASideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLocationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointLocationPtrOutput) +func (i *connectionASidePtrType) ToConnectionASidePtrOutputWithContext(ctx context.Context) ConnectionASidePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASidePtrOutput) } -type ConnectionASideAccessPointLocationOutput struct{ *pulumi.OutputState } +func (i *connectionASidePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASide] { + return pulumix.Output[*ConnectionASide]{ + OutputState: i.ToConnectionASidePtrOutputWithContext(ctx).OutputState, + } +} -func (ConnectionASideAccessPointLocationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointLocation)(nil)).Elem() +type ConnectionASideOutput struct{ *pulumi.OutputState } + +func (ConnectionASideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASide)(nil)).Elem() } -func (o ConnectionASideAccessPointLocationOutput) ToConnectionASideAccessPointLocationOutput() ConnectionASideAccessPointLocationOutput { +func (o ConnectionASideOutput) ToConnectionASideOutput() ConnectionASideOutput { return o } -func (o ConnectionASideAccessPointLocationOutput) ToConnectionASideAccessPointLocationOutputWithContext(ctx context.Context) ConnectionASideAccessPointLocationOutput { +func (o ConnectionASideOutput) ToConnectionASideOutputWithContext(ctx context.Context) ConnectionASideOutput { return o } -func (o ConnectionASideAccessPointLocationOutput) ToConnectionASideAccessPointLocationPtrOutput() ConnectionASideAccessPointLocationPtrOutput { - return o.ToConnectionASideAccessPointLocationPtrOutputWithContext(context.Background()) +func (o ConnectionASideOutput) ToConnectionASidePtrOutput() ConnectionASidePtrOutput { + return o.ToConnectionASidePtrOutputWithContext(context.Background()) } -func (o ConnectionASideAccessPointLocationOutput) ToConnectionASideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLocationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointLocation) *ConnectionASideAccessPointLocation { +func (o ConnectionASideOutput) ToConnectionASidePtrOutputWithContext(ctx context.Context) ConnectionASidePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASide) *ConnectionASide { return &v - }).(ConnectionASideAccessPointLocationPtrOutput) + }).(ConnectionASidePtrOutput) } -func (o ConnectionASideAccessPointLocationOutput) Ibx() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointLocation) *string { return v.Ibx }).(pulumi.StringPtrOutput) +func (o ConnectionASideOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASide] { + return pulumix.Output[ConnectionASide]{ + OutputState: o.OutputState, + } } -func (o ConnectionASideAccessPointLocationOutput) MetroCode() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointLocation) *string { return v.MetroCode }).(pulumi.StringPtrOutput) +// Point of access details +func (o ConnectionASideOutput) AccessPoint() ConnectionASideAccessPointPtrOutput { + return o.ApplyT(func(v ConnectionASide) *ConnectionASideAccessPoint { return v.AccessPoint }).(ConnectionASideAccessPointPtrOutput) } -func (o ConnectionASideAccessPointLocationOutput) MetroName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointLocation) *string { return v.MetroName }).(pulumi.StringPtrOutput) +// Connection side additional information +func (o ConnectionASideOutput) AdditionalInfo() ConnectionASideAdditionalInfoArrayOutput { + return o.ApplyT(func(v ConnectionASide) []ConnectionASideAdditionalInfo { return v.AdditionalInfo }).(ConnectionASideAdditionalInfoArrayOutput) } -func (o ConnectionASideAccessPointLocationOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointLocation) *string { return v.Region }).(pulumi.StringPtrOutput) -} +// For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets +func (o ConnectionASideOutput) ServiceToken() ConnectionASideServiceTokenPtrOutput { + return o.ApplyT(func(v ConnectionASide) *ConnectionASideServiceToken { return v.ServiceToken }).(ConnectionASideServiceTokenPtrOutput) +} -type ConnectionASideAccessPointLocationPtrOutput struct{ *pulumi.OutputState } +type ConnectionASidePtrOutput struct{ *pulumi.OutputState } -func (ConnectionASideAccessPointLocationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointLocation)(nil)).Elem() +func (ConnectionASidePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASide)(nil)).Elem() } -func (o ConnectionASideAccessPointLocationPtrOutput) ToConnectionASideAccessPointLocationPtrOutput() ConnectionASideAccessPointLocationPtrOutput { +func (o ConnectionASidePtrOutput) ToConnectionASidePtrOutput() ConnectionASidePtrOutput { return o } -func (o ConnectionASideAccessPointLocationPtrOutput) ToConnectionASideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLocationPtrOutput { +func (o ConnectionASidePtrOutput) ToConnectionASidePtrOutputWithContext(ctx context.Context) ConnectionASidePtrOutput { return o } -func (o ConnectionASideAccessPointLocationPtrOutput) Elem() ConnectionASideAccessPointLocationOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointLocation) ConnectionASideAccessPointLocation { +func (o ConnectionASidePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASide] { + return pulumix.Output[*ConnectionASide]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionASidePtrOutput) Elem() ConnectionASideOutput { + return o.ApplyT(func(v *ConnectionASide) ConnectionASide { if v != nil { return *v } - var ret ConnectionASideAccessPointLocation + var ret ConnectionASide return ret - }).(ConnectionASideAccessPointLocationOutput) -} - -func (o ConnectionASideAccessPointLocationPtrOutput) Ibx() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointLocation) *string { - if v == nil { - return nil - } - return v.Ibx - }).(pulumi.StringPtrOutput) + }).(ConnectionASideOutput) } -func (o ConnectionASideAccessPointLocationPtrOutput) MetroCode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointLocation) *string { +// Point of access details +func (o ConnectionASidePtrOutput) AccessPoint() ConnectionASideAccessPointPtrOutput { + return o.ApplyT(func(v *ConnectionASide) *ConnectionASideAccessPoint { if v == nil { return nil } - return v.MetroCode - }).(pulumi.StringPtrOutput) + return v.AccessPoint + }).(ConnectionASideAccessPointPtrOutput) } -func (o ConnectionASideAccessPointLocationPtrOutput) MetroName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointLocation) *string { +// Connection side additional information +func (o ConnectionASidePtrOutput) AdditionalInfo() ConnectionASideAdditionalInfoArrayOutput { + return o.ApplyT(func(v *ConnectionASide) []ConnectionASideAdditionalInfo { if v == nil { return nil } - return v.MetroName - }).(pulumi.StringPtrOutput) + return v.AdditionalInfo + }).(ConnectionASideAdditionalInfoArrayOutput) } -func (o ConnectionASideAccessPointLocationPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointLocation) *string { +// For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets +func (o ConnectionASidePtrOutput) ServiceToken() ConnectionASideServiceTokenPtrOutput { + return o.ApplyT(func(v *ConnectionASide) *ConnectionASideServiceToken { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return v.ServiceToken + }).(ConnectionASideServiceTokenPtrOutput) } -type ConnectionASideAccessPointPort struct { - // Connection URI information - Href *string `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name *string `pulumi:"name"` - // Redundancy Information - Redundancies []ConnectionASideAccessPointPortRedundancy `pulumi:"redundancies"` - Uuid *string `pulumi:"uuid"` +type ConnectionASideAccessPoint struct { + // Account + Account *ConnectionASideAccessPointAccount `pulumi:"account"` + // Authentication key for provider based connections + AuthenticationKey *string `pulumi:"authenticationKey"` + // Deprecated: use router attribute instead; gateway is no longer a part of the supported backend + Gateway *ConnectionASideAccessPointGateway `pulumi:"gateway"` + // Virtual device interface + Interface *ConnectionASideAccessPointInterface `pulumi:"interface"` + // Connection link protocol + LinkProtocol *ConnectionASideAccessPointLinkProtocol `pulumi:"linkProtocol"` + // Access point location + Location *ConnectionASideAccessPointLocation `pulumi:"location"` + Network *ConnectionASideAccessPointNetwork `pulumi:"network"` + // Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + PeeringType *string `pulumi:"peeringType"` + // Port access point information + Port *ConnectionASideAccessPointPort `pulumi:"port"` + // Service Profile + Profile *ConnectionASideAccessPointProfile `pulumi:"profile"` + // Provider assigned Connection Id + ProviderConnectionId *string `pulumi:"providerConnectionId"` + // Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + Router *ConnectionASideAccessPointRouter `pulumi:"router"` + // Access point routing protocols configuration + RoutingProtocols []ConnectionASideAccessPointRoutingProtocol `pulumi:"routingProtocols"` + // Access point seller region + SellerRegion *string `pulumi:"sellerRegion"` + // Interface type + Type *string `pulumi:"type"` + // Virtual device + VirtualDevice *ConnectionASideAccessPointVirtualDevice `pulumi:"virtualDevice"` } -// ConnectionASideAccessPointPortInput is an input type that accepts ConnectionASideAccessPointPortArgs and ConnectionASideAccessPointPortOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointPortInput` via: +// ConnectionASideAccessPointInput is an input type that accepts ConnectionASideAccessPointArgs and ConnectionASideAccessPointOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointInput` via: // -// ConnectionASideAccessPointPortArgs{...} -type ConnectionASideAccessPointPortInput interface { +// ConnectionASideAccessPointArgs{...} +type ConnectionASideAccessPointInput interface { pulumi.Input - ToConnectionASideAccessPointPortOutput() ConnectionASideAccessPointPortOutput - ToConnectionASideAccessPointPortOutputWithContext(context.Context) ConnectionASideAccessPointPortOutput + ToConnectionASideAccessPointOutput() ConnectionASideAccessPointOutput + ToConnectionASideAccessPointOutputWithContext(context.Context) ConnectionASideAccessPointOutput } -type ConnectionASideAccessPointPortArgs struct { - // Connection URI information - Href pulumi.StringPtrInput `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name pulumi.StringPtrInput `pulumi:"name"` - // Redundancy Information - Redundancies ConnectionASideAccessPointPortRedundancyArrayInput `pulumi:"redundancies"` - Uuid pulumi.StringPtrInput `pulumi:"uuid"` +type ConnectionASideAccessPointArgs struct { + // Account + Account ConnectionASideAccessPointAccountPtrInput `pulumi:"account"` + // Authentication key for provider based connections + AuthenticationKey pulumi.StringPtrInput `pulumi:"authenticationKey"` + // Deprecated: use router attribute instead; gateway is no longer a part of the supported backend + Gateway ConnectionASideAccessPointGatewayPtrInput `pulumi:"gateway"` + // Virtual device interface + Interface ConnectionASideAccessPointInterfacePtrInput `pulumi:"interface"` + // Connection link protocol + LinkProtocol ConnectionASideAccessPointLinkProtocolPtrInput `pulumi:"linkProtocol"` + // Access point location + Location ConnectionASideAccessPointLocationPtrInput `pulumi:"location"` + Network ConnectionASideAccessPointNetworkPtrInput `pulumi:"network"` + // Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + PeeringType pulumi.StringPtrInput `pulumi:"peeringType"` + // Port access point information + Port ConnectionASideAccessPointPortPtrInput `pulumi:"port"` + // Service Profile + Profile ConnectionASideAccessPointProfilePtrInput `pulumi:"profile"` + // Provider assigned Connection Id + ProviderConnectionId pulumi.StringPtrInput `pulumi:"providerConnectionId"` + // Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + Router ConnectionASideAccessPointRouterPtrInput `pulumi:"router"` + // Access point routing protocols configuration + RoutingProtocols ConnectionASideAccessPointRoutingProtocolArrayInput `pulumi:"routingProtocols"` + // Access point seller region + SellerRegion pulumi.StringPtrInput `pulumi:"sellerRegion"` + // Interface type + Type pulumi.StringPtrInput `pulumi:"type"` + // Virtual device + VirtualDevice ConnectionASideAccessPointVirtualDevicePtrInput `pulumi:"virtualDevice"` } -func (ConnectionASideAccessPointPortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointPort)(nil)).Elem() +func (ConnectionASideAccessPointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPoint)(nil)).Elem() } -func (i ConnectionASideAccessPointPortArgs) ToConnectionASideAccessPointPortOutput() ConnectionASideAccessPointPortOutput { - return i.ToConnectionASideAccessPointPortOutputWithContext(context.Background()) +func (i ConnectionASideAccessPointArgs) ToConnectionASideAccessPointOutput() ConnectionASideAccessPointOutput { + return i.ToConnectionASideAccessPointOutputWithContext(context.Background()) } -func (i ConnectionASideAccessPointPortArgs) ToConnectionASideAccessPointPortOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointPortOutput) +func (i ConnectionASideAccessPointArgs) ToConnectionASideAccessPointOutputWithContext(ctx context.Context) ConnectionASideAccessPointOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointOutput) } -func (i ConnectionASideAccessPointPortArgs) ToConnectionASideAccessPointPortPtrOutput() ConnectionASideAccessPointPortPtrOutput { - return i.ToConnectionASideAccessPointPortPtrOutputWithContext(context.Background()) +func (i ConnectionASideAccessPointArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPoint] { + return pulumix.Output[ConnectionASideAccessPoint]{ + OutputState: i.ToConnectionASideAccessPointOutputWithContext(ctx).OutputState, + } } -func (i ConnectionASideAccessPointPortArgs) ToConnectionASideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointPortOutput).ToConnectionASideAccessPointPortPtrOutputWithContext(ctx) +func (i ConnectionASideAccessPointArgs) ToConnectionASideAccessPointPtrOutput() ConnectionASideAccessPointPtrOutput { + return i.ToConnectionASideAccessPointPtrOutputWithContext(context.Background()) } -// ConnectionASideAccessPointPortPtrInput is an input type that accepts ConnectionASideAccessPointPortArgs, ConnectionASideAccessPointPortPtr and ConnectionASideAccessPointPortPtrOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointPortPtrInput` via: +func (i ConnectionASideAccessPointArgs) ToConnectionASideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointOutput).ToConnectionASideAccessPointPtrOutputWithContext(ctx) +} + +// ConnectionASideAccessPointPtrInput is an input type that accepts ConnectionASideAccessPointArgs, ConnectionASideAccessPointPtr and ConnectionASideAccessPointPtrOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointPtrInput` via: // -// ConnectionASideAccessPointPortArgs{...} +// ConnectionASideAccessPointArgs{...} // // or: // // nil -type ConnectionASideAccessPointPortPtrInput interface { +type ConnectionASideAccessPointPtrInput interface { pulumi.Input - ToConnectionASideAccessPointPortPtrOutput() ConnectionASideAccessPointPortPtrOutput - ToConnectionASideAccessPointPortPtrOutputWithContext(context.Context) ConnectionASideAccessPointPortPtrOutput + ToConnectionASideAccessPointPtrOutput() ConnectionASideAccessPointPtrOutput + ToConnectionASideAccessPointPtrOutputWithContext(context.Context) ConnectionASideAccessPointPtrOutput } -type connectionASideAccessPointPortPtrType ConnectionASideAccessPointPortArgs +type connectionASideAccessPointPtrType ConnectionASideAccessPointArgs -func ConnectionASideAccessPointPortPtr(v *ConnectionASideAccessPointPortArgs) ConnectionASideAccessPointPortPtrInput { - return (*connectionASideAccessPointPortPtrType)(v) +func ConnectionASideAccessPointPtr(v *ConnectionASideAccessPointArgs) ConnectionASideAccessPointPtrInput { + return (*connectionASideAccessPointPtrType)(v) } -func (*connectionASideAccessPointPortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointPort)(nil)).Elem() +func (*connectionASideAccessPointPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPoint)(nil)).Elem() } -func (i *connectionASideAccessPointPortPtrType) ToConnectionASideAccessPointPortPtrOutput() ConnectionASideAccessPointPortPtrOutput { - return i.ToConnectionASideAccessPointPortPtrOutputWithContext(context.Background()) +func (i *connectionASideAccessPointPtrType) ToConnectionASideAccessPointPtrOutput() ConnectionASideAccessPointPtrOutput { + return i.ToConnectionASideAccessPointPtrOutputWithContext(context.Background()) } -func (i *connectionASideAccessPointPortPtrType) ToConnectionASideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointPortPtrOutput) +func (i *connectionASideAccessPointPtrType) ToConnectionASideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointPtrOutput) } -type ConnectionASideAccessPointPortOutput struct{ *pulumi.OutputState } +func (i *connectionASideAccessPointPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPoint] { + return pulumix.Output[*ConnectionASideAccessPoint]{ + OutputState: i.ToConnectionASideAccessPointPtrOutputWithContext(ctx).OutputState, + } +} -func (ConnectionASideAccessPointPortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointPort)(nil)).Elem() +type ConnectionASideAccessPointOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPoint)(nil)).Elem() } -func (o ConnectionASideAccessPointPortOutput) ToConnectionASideAccessPointPortOutput() ConnectionASideAccessPointPortOutput { +func (o ConnectionASideAccessPointOutput) ToConnectionASideAccessPointOutput() ConnectionASideAccessPointOutput { return o } -func (o ConnectionASideAccessPointPortOutput) ToConnectionASideAccessPointPortOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortOutput { +func (o ConnectionASideAccessPointOutput) ToConnectionASideAccessPointOutputWithContext(ctx context.Context) ConnectionASideAccessPointOutput { return o } -func (o ConnectionASideAccessPointPortOutput) ToConnectionASideAccessPointPortPtrOutput() ConnectionASideAccessPointPortPtrOutput { - return o.ToConnectionASideAccessPointPortPtrOutputWithContext(context.Background()) +func (o ConnectionASideAccessPointOutput) ToConnectionASideAccessPointPtrOutput() ConnectionASideAccessPointPtrOutput { + return o.ToConnectionASideAccessPointPtrOutputWithContext(context.Background()) } -func (o ConnectionASideAccessPointPortOutput) ToConnectionASideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointPort) *ConnectionASideAccessPointPort { +func (o ConnectionASideAccessPointOutput) ToConnectionASideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPoint) *ConnectionASideAccessPoint { return &v - }).(ConnectionASideAccessPointPortPtrOutput) + }).(ConnectionASideAccessPointPtrOutput) } -// Connection URI information -func (o ConnectionASideAccessPointPortOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointPort) *string { return v.Href }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPoint] { + return pulumix.Output[ConnectionASideAccessPoint]{ + OutputState: o.OutputState, + } } -// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores -func (o ConnectionASideAccessPointPortOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointPort) *string { return v.Name }).(pulumi.StringPtrOutput) +// Account +func (o ConnectionASideAccessPointOutput) Account() ConnectionASideAccessPointAccountPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointAccount { return v.Account }).(ConnectionASideAccessPointAccountPtrOutput) } -// Redundancy Information -func (o ConnectionASideAccessPointPortOutput) Redundancies() ConnectionASideAccessPointPortRedundancyArrayOutput { - return o.ApplyT(func(v ConnectionASideAccessPointPort) []ConnectionASideAccessPointPortRedundancy { - return v.Redundancies - }).(ConnectionASideAccessPointPortRedundancyArrayOutput) +// Authentication key for provider based connections +func (o ConnectionASideAccessPointOutput) AuthenticationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *string { return v.AuthenticationKey }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointPortOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointPort) *string { return v.Uuid }).(pulumi.StringPtrOutput) +// Deprecated: use router attribute instead; gateway is no longer a part of the supported backend +func (o ConnectionASideAccessPointOutput) Gateway() ConnectionASideAccessPointGatewayPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointGateway { return v.Gateway }).(ConnectionASideAccessPointGatewayPtrOutput) } -type ConnectionASideAccessPointPortPtrOutput struct{ *pulumi.OutputState } - -func (ConnectionASideAccessPointPortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointPort)(nil)).Elem() +// Virtual device interface +func (o ConnectionASideAccessPointOutput) Interface() ConnectionASideAccessPointInterfacePtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointInterface { return v.Interface }).(ConnectionASideAccessPointInterfacePtrOutput) } -func (o ConnectionASideAccessPointPortPtrOutput) ToConnectionASideAccessPointPortPtrOutput() ConnectionASideAccessPointPortPtrOutput { - return o +// Connection link protocol +func (o ConnectionASideAccessPointOutput) LinkProtocol() ConnectionASideAccessPointLinkProtocolPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointLinkProtocol { return v.LinkProtocol }).(ConnectionASideAccessPointLinkProtocolPtrOutput) } -func (o ConnectionASideAccessPointPortPtrOutput) ToConnectionASideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortPtrOutput { - return o +// Access point location +func (o ConnectionASideAccessPointOutput) Location() ConnectionASideAccessPointLocationPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointLocation { return v.Location }).(ConnectionASideAccessPointLocationPtrOutput) } -func (o ConnectionASideAccessPointPortPtrOutput) Elem() ConnectionASideAccessPointPortOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointPort) ConnectionASideAccessPointPort { - if v != nil { - return *v - } - var ret ConnectionASideAccessPointPort - return ret - }).(ConnectionASideAccessPointPortOutput) +func (o ConnectionASideAccessPointOutput) Network() ConnectionASideAccessPointNetworkPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointNetwork { return v.Network }).(ConnectionASideAccessPointNetworkPtrOutput) } -// Connection URI information -func (o ConnectionASideAccessPointPortPtrOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointPort) *string { - if v == nil { - return nil - } - return v.Href - }).(pulumi.StringPtrOutput) +// Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL +func (o ConnectionASideAccessPointOutput) PeeringType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *string { return v.PeeringType }).(pulumi.StringPtrOutput) } -// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores -func (o ConnectionASideAccessPointPortPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointPort) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +// Port access point information +func (o ConnectionASideAccessPointOutput) Port() ConnectionASideAccessPointPortPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointPort { return v.Port }).(ConnectionASideAccessPointPortPtrOutput) } -// Redundancy Information -func (o ConnectionASideAccessPointPortPtrOutput) Redundancies() ConnectionASideAccessPointPortRedundancyArrayOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointPort) []ConnectionASideAccessPointPortRedundancy { - if v == nil { - return nil - } - return v.Redundancies - }).(ConnectionASideAccessPointPortRedundancyArrayOutput) +// Service Profile +func (o ConnectionASideAccessPointOutput) Profile() ConnectionASideAccessPointProfilePtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointProfile { return v.Profile }).(ConnectionASideAccessPointProfilePtrOutput) } -func (o ConnectionASideAccessPointPortPtrOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointPort) *string { - if v == nil { - return nil - } - return v.Uuid - }).(pulumi.StringPtrOutput) +// Provider assigned Connection Id +func (o ConnectionASideAccessPointOutput) ProviderConnectionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *string { return v.ProviderConnectionId }).(pulumi.StringPtrOutput) } -type ConnectionASideAccessPointPortRedundancy struct { - // Priority type- PRIMARY, SECONDARY - Priority *string `pulumi:"priority"` +// Cloud Router access point information that replaces `gateway` (refers to below for nested schema) +func (o ConnectionASideAccessPointOutput) Router() ConnectionASideAccessPointRouterPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointRouter { return v.Router }).(ConnectionASideAccessPointRouterPtrOutput) } -// ConnectionASideAccessPointPortRedundancyInput is an input type that accepts ConnectionASideAccessPointPortRedundancyArgs and ConnectionASideAccessPointPortRedundancyOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointPortRedundancyInput` via: -// -// ConnectionASideAccessPointPortRedundancyArgs{...} -type ConnectionASideAccessPointPortRedundancyInput interface { - pulumi.Input - - ToConnectionASideAccessPointPortRedundancyOutput() ConnectionASideAccessPointPortRedundancyOutput - ToConnectionASideAccessPointPortRedundancyOutputWithContext(context.Context) ConnectionASideAccessPointPortRedundancyOutput +// Access point routing protocols configuration +func (o ConnectionASideAccessPointOutput) RoutingProtocols() ConnectionASideAccessPointRoutingProtocolArrayOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) []ConnectionASideAccessPointRoutingProtocol { + return v.RoutingProtocols + }).(ConnectionASideAccessPointRoutingProtocolArrayOutput) } -type ConnectionASideAccessPointPortRedundancyArgs struct { - // Priority type- PRIMARY, SECONDARY - Priority pulumi.StringPtrInput `pulumi:"priority"` -} - -func (ConnectionASideAccessPointPortRedundancyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointPortRedundancy)(nil)).Elem() +// Access point seller region +func (o ConnectionASideAccessPointOutput) SellerRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *string { return v.SellerRegion }).(pulumi.StringPtrOutput) } -func (i ConnectionASideAccessPointPortRedundancyArgs) ToConnectionASideAccessPointPortRedundancyOutput() ConnectionASideAccessPointPortRedundancyOutput { - return i.ToConnectionASideAccessPointPortRedundancyOutputWithContext(context.Background()) +// Interface type +func (o ConnectionASideAccessPointOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *string { return v.Type }).(pulumi.StringPtrOutput) } -func (i ConnectionASideAccessPointPortRedundancyArgs) ToConnectionASideAccessPointPortRedundancyOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortRedundancyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointPortRedundancyOutput) +// Virtual device +func (o ConnectionASideAccessPointOutput) VirtualDevice() ConnectionASideAccessPointVirtualDevicePtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPoint) *ConnectionASideAccessPointVirtualDevice { return v.VirtualDevice }).(ConnectionASideAccessPointVirtualDevicePtrOutput) } -// ConnectionASideAccessPointPortRedundancyArrayInput is an input type that accepts ConnectionASideAccessPointPortRedundancyArray and ConnectionASideAccessPointPortRedundancyArrayOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointPortRedundancyArrayInput` via: -// -// ConnectionASideAccessPointPortRedundancyArray{ ConnectionASideAccessPointPortRedundancyArgs{...} } -type ConnectionASideAccessPointPortRedundancyArrayInput interface { - pulumi.Input +type ConnectionASideAccessPointPtrOutput struct{ *pulumi.OutputState } - ToConnectionASideAccessPointPortRedundancyArrayOutput() ConnectionASideAccessPointPortRedundancyArrayOutput - ToConnectionASideAccessPointPortRedundancyArrayOutputWithContext(context.Context) ConnectionASideAccessPointPortRedundancyArrayOutput +func (ConnectionASideAccessPointPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPoint)(nil)).Elem() } -type ConnectionASideAccessPointPortRedundancyArray []ConnectionASideAccessPointPortRedundancyInput - -func (ConnectionASideAccessPointPortRedundancyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionASideAccessPointPortRedundancy)(nil)).Elem() +func (o ConnectionASideAccessPointPtrOutput) ToConnectionASideAccessPointPtrOutput() ConnectionASideAccessPointPtrOutput { + return o } -func (i ConnectionASideAccessPointPortRedundancyArray) ToConnectionASideAccessPointPortRedundancyArrayOutput() ConnectionASideAccessPointPortRedundancyArrayOutput { - return i.ToConnectionASideAccessPointPortRedundancyArrayOutputWithContext(context.Background()) +func (o ConnectionASideAccessPointPtrOutput) ToConnectionASideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPtrOutput { + return o } -func (i ConnectionASideAccessPointPortRedundancyArray) ToConnectionASideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortRedundancyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointPortRedundancyArrayOutput) +func (o ConnectionASideAccessPointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPoint] { + return pulumix.Output[*ConnectionASideAccessPoint]{ + OutputState: o.OutputState, + } } -type ConnectionASideAccessPointPortRedundancyOutput struct{ *pulumi.OutputState } - -func (ConnectionASideAccessPointPortRedundancyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointPortRedundancy)(nil)).Elem() +func (o ConnectionASideAccessPointPtrOutput) Elem() ConnectionASideAccessPointOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) ConnectionASideAccessPoint { + if v != nil { + return *v + } + var ret ConnectionASideAccessPoint + return ret + }).(ConnectionASideAccessPointOutput) } -func (o ConnectionASideAccessPointPortRedundancyOutput) ToConnectionASideAccessPointPortRedundancyOutput() ConnectionASideAccessPointPortRedundancyOutput { - return o +// Account +func (o ConnectionASideAccessPointPtrOutput) Account() ConnectionASideAccessPointAccountPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointAccount { + if v == nil { + return nil + } + return v.Account + }).(ConnectionASideAccessPointAccountPtrOutput) } -func (o ConnectionASideAccessPointPortRedundancyOutput) ToConnectionASideAccessPointPortRedundancyOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortRedundancyOutput { - return o +// Authentication key for provider based connections +func (o ConnectionASideAccessPointPtrOutput) AuthenticationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *string { + if v == nil { + return nil + } + return v.AuthenticationKey + }).(pulumi.StringPtrOutput) } -// Priority type- PRIMARY, SECONDARY -func (o ConnectionASideAccessPointPortRedundancyOutput) Priority() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointPortRedundancy) *string { return v.Priority }).(pulumi.StringPtrOutput) +// Deprecated: use router attribute instead; gateway is no longer a part of the supported backend +func (o ConnectionASideAccessPointPtrOutput) Gateway() ConnectionASideAccessPointGatewayPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointGateway { + if v == nil { + return nil + } + return v.Gateway + }).(ConnectionASideAccessPointGatewayPtrOutput) } -type ConnectionASideAccessPointPortRedundancyArrayOutput struct{ *pulumi.OutputState } +// Virtual device interface +func (o ConnectionASideAccessPointPtrOutput) Interface() ConnectionASideAccessPointInterfacePtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointInterface { + if v == nil { + return nil + } + return v.Interface + }).(ConnectionASideAccessPointInterfacePtrOutput) +} -func (ConnectionASideAccessPointPortRedundancyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionASideAccessPointPortRedundancy)(nil)).Elem() +// Connection link protocol +func (o ConnectionASideAccessPointPtrOutput) LinkProtocol() ConnectionASideAccessPointLinkProtocolPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointLinkProtocol { + if v == nil { + return nil + } + return v.LinkProtocol + }).(ConnectionASideAccessPointLinkProtocolPtrOutput) } -func (o ConnectionASideAccessPointPortRedundancyArrayOutput) ToConnectionASideAccessPointPortRedundancyArrayOutput() ConnectionASideAccessPointPortRedundancyArrayOutput { - return o +// Access point location +func (o ConnectionASideAccessPointPtrOutput) Location() ConnectionASideAccessPointLocationPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointLocation { + if v == nil { + return nil + } + return v.Location + }).(ConnectionASideAccessPointLocationPtrOutput) } -func (o ConnectionASideAccessPointPortRedundancyArrayOutput) ToConnectionASideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortRedundancyArrayOutput { - return o +func (o ConnectionASideAccessPointPtrOutput) Network() ConnectionASideAccessPointNetworkPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointNetwork { + if v == nil { + return nil + } + return v.Network + }).(ConnectionASideAccessPointNetworkPtrOutput) } -func (o ConnectionASideAccessPointPortRedundancyArrayOutput) Index(i pulumi.IntInput) ConnectionASideAccessPointPortRedundancyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionASideAccessPointPortRedundancy { - return vs[0].([]ConnectionASideAccessPointPortRedundancy)[vs[1].(int)] - }).(ConnectionASideAccessPointPortRedundancyOutput) +// Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL +func (o ConnectionASideAccessPointPtrOutput) PeeringType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *string { + if v == nil { + return nil + } + return v.PeeringType + }).(pulumi.StringPtrOutput) } -type ConnectionASideAccessPointProfile struct { - AccessPointTypeConfigs []ConnectionASideAccessPointProfileAccessPointTypeConfig `pulumi:"accessPointTypeConfigs"` - Description *string `pulumi:"description"` - // Connection URI information - Href *string `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name *string `pulumi:"name"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - Uuid string `pulumi:"uuid"` +// Port access point information +func (o ConnectionASideAccessPointPtrOutput) Port() ConnectionASideAccessPointPortPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointPort { + if v == nil { + return nil + } + return v.Port + }).(ConnectionASideAccessPointPortPtrOutput) } -// ConnectionASideAccessPointProfileInput is an input type that accepts ConnectionASideAccessPointProfileArgs and ConnectionASideAccessPointProfileOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointProfileInput` via: -// -// ConnectionASideAccessPointProfileArgs{...} -type ConnectionASideAccessPointProfileInput interface { - pulumi.Input +// Service Profile +func (o ConnectionASideAccessPointPtrOutput) Profile() ConnectionASideAccessPointProfilePtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointProfile { + if v == nil { + return nil + } + return v.Profile + }).(ConnectionASideAccessPointProfilePtrOutput) +} - ToConnectionASideAccessPointProfileOutput() ConnectionASideAccessPointProfileOutput - ToConnectionASideAccessPointProfileOutputWithContext(context.Context) ConnectionASideAccessPointProfileOutput +// Provider assigned Connection Id +func (o ConnectionASideAccessPointPtrOutput) ProviderConnectionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *string { + if v == nil { + return nil + } + return v.ProviderConnectionId + }).(pulumi.StringPtrOutput) } -type ConnectionASideAccessPointProfileArgs struct { - AccessPointTypeConfigs ConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput `pulumi:"accessPointTypeConfigs"` - Description pulumi.StringPtrInput `pulumi:"description"` - // Connection URI information - Href pulumi.StringPtrInput `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name pulumi.StringPtrInput `pulumi:"name"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - Uuid pulumi.StringInput `pulumi:"uuid"` +// Cloud Router access point information that replaces `gateway` (refers to below for nested schema) +func (o ConnectionASideAccessPointPtrOutput) Router() ConnectionASideAccessPointRouterPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointRouter { + if v == nil { + return nil + } + return v.Router + }).(ConnectionASideAccessPointRouterPtrOutput) } -func (ConnectionASideAccessPointProfileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointProfile)(nil)).Elem() +// Access point routing protocols configuration +func (o ConnectionASideAccessPointPtrOutput) RoutingProtocols() ConnectionASideAccessPointRoutingProtocolArrayOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) []ConnectionASideAccessPointRoutingProtocol { + if v == nil { + return nil + } + return v.RoutingProtocols + }).(ConnectionASideAccessPointRoutingProtocolArrayOutput) } -func (i ConnectionASideAccessPointProfileArgs) ToConnectionASideAccessPointProfileOutput() ConnectionASideAccessPointProfileOutput { - return i.ToConnectionASideAccessPointProfileOutputWithContext(context.Background()) +// Access point seller region +func (o ConnectionASideAccessPointPtrOutput) SellerRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *string { + if v == nil { + return nil + } + return v.SellerRegion + }).(pulumi.StringPtrOutput) } -func (i ConnectionASideAccessPointProfileArgs) ToConnectionASideAccessPointProfileOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfileOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointProfileOutput) +// Interface type +func (o ConnectionASideAccessPointPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) } -func (i ConnectionASideAccessPointProfileArgs) ToConnectionASideAccessPointProfilePtrOutput() ConnectionASideAccessPointProfilePtrOutput { - return i.ToConnectionASideAccessPointProfilePtrOutputWithContext(context.Background()) +// Virtual device +func (o ConnectionASideAccessPointPtrOutput) VirtualDevice() ConnectionASideAccessPointVirtualDevicePtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPoint) *ConnectionASideAccessPointVirtualDevice { + if v == nil { + return nil + } + return v.VirtualDevice + }).(ConnectionASideAccessPointVirtualDevicePtrOutput) } -func (i ConnectionASideAccessPointProfileArgs) ToConnectionASideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointProfileOutput).ToConnectionASideAccessPointProfilePtrOutputWithContext(ctx) +type ConnectionASideAccessPointAccount struct { + AccountName *string `pulumi:"accountName"` + AccountNumber *int `pulumi:"accountNumber"` + GlobalCustId *string `pulumi:"globalCustId"` + GlobalOrgId *string `pulumi:"globalOrgId"` + GlobalOrganizationName *string `pulumi:"globalOrganizationName"` + OrgId *int `pulumi:"orgId"` + OrganizationName *string `pulumi:"organizationName"` } -// ConnectionASideAccessPointProfilePtrInput is an input type that accepts ConnectionASideAccessPointProfileArgs, ConnectionASideAccessPointProfilePtr and ConnectionASideAccessPointProfilePtrOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointProfilePtrInput` via: -// -// ConnectionASideAccessPointProfileArgs{...} -// -// or: +// ConnectionASideAccessPointAccountInput is an input type that accepts ConnectionASideAccessPointAccountArgs and ConnectionASideAccessPointAccountOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointAccountInput` via: // -// nil -type ConnectionASideAccessPointProfilePtrInput interface { +// ConnectionASideAccessPointAccountArgs{...} +type ConnectionASideAccessPointAccountInput interface { pulumi.Input - ToConnectionASideAccessPointProfilePtrOutput() ConnectionASideAccessPointProfilePtrOutput - ToConnectionASideAccessPointProfilePtrOutputWithContext(context.Context) ConnectionASideAccessPointProfilePtrOutput + ToConnectionASideAccessPointAccountOutput() ConnectionASideAccessPointAccountOutput + ToConnectionASideAccessPointAccountOutputWithContext(context.Context) ConnectionASideAccessPointAccountOutput } -type connectionASideAccessPointProfilePtrType ConnectionASideAccessPointProfileArgs - -func ConnectionASideAccessPointProfilePtr(v *ConnectionASideAccessPointProfileArgs) ConnectionASideAccessPointProfilePtrInput { - return (*connectionASideAccessPointProfilePtrType)(v) +type ConnectionASideAccessPointAccountArgs struct { + AccountName pulumi.StringPtrInput `pulumi:"accountName"` + AccountNumber pulumi.IntPtrInput `pulumi:"accountNumber"` + GlobalCustId pulumi.StringPtrInput `pulumi:"globalCustId"` + GlobalOrgId pulumi.StringPtrInput `pulumi:"globalOrgId"` + GlobalOrganizationName pulumi.StringPtrInput `pulumi:"globalOrganizationName"` + OrgId pulumi.IntPtrInput `pulumi:"orgId"` + OrganizationName pulumi.StringPtrInput `pulumi:"organizationName"` } -func (*connectionASideAccessPointProfilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointProfile)(nil)).Elem() +func (ConnectionASideAccessPointAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointAccount)(nil)).Elem() } -func (i *connectionASideAccessPointProfilePtrType) ToConnectionASideAccessPointProfilePtrOutput() ConnectionASideAccessPointProfilePtrOutput { - return i.ToConnectionASideAccessPointProfilePtrOutputWithContext(context.Background()) +func (i ConnectionASideAccessPointAccountArgs) ToConnectionASideAccessPointAccountOutput() ConnectionASideAccessPointAccountOutput { + return i.ToConnectionASideAccessPointAccountOutputWithContext(context.Background()) } -func (i *connectionASideAccessPointProfilePtrType) ToConnectionASideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointProfilePtrOutput) +func (i ConnectionASideAccessPointAccountArgs) ToConnectionASideAccessPointAccountOutputWithContext(ctx context.Context) ConnectionASideAccessPointAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointAccountOutput) } -type ConnectionASideAccessPointProfileOutput struct{ *pulumi.OutputState } +func (i ConnectionASideAccessPointAccountArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointAccount] { + return pulumix.Output[ConnectionASideAccessPointAccount]{ + OutputState: i.ToConnectionASideAccessPointAccountOutputWithContext(ctx).OutputState, + } +} -func (ConnectionASideAccessPointProfileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointProfile)(nil)).Elem() +func (i ConnectionASideAccessPointAccountArgs) ToConnectionASideAccessPointAccountPtrOutput() ConnectionASideAccessPointAccountPtrOutput { + return i.ToConnectionASideAccessPointAccountPtrOutputWithContext(context.Background()) } -func (o ConnectionASideAccessPointProfileOutput) ToConnectionASideAccessPointProfileOutput() ConnectionASideAccessPointProfileOutput { +func (i ConnectionASideAccessPointAccountArgs) ToConnectionASideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointAccountOutput).ToConnectionASideAccessPointAccountPtrOutputWithContext(ctx) +} + +// ConnectionASideAccessPointAccountPtrInput is an input type that accepts ConnectionASideAccessPointAccountArgs, ConnectionASideAccessPointAccountPtr and ConnectionASideAccessPointAccountPtrOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointAccountPtrInput` via: +// +// ConnectionASideAccessPointAccountArgs{...} +// +// or: +// +// nil +type ConnectionASideAccessPointAccountPtrInput interface { + pulumi.Input + + ToConnectionASideAccessPointAccountPtrOutput() ConnectionASideAccessPointAccountPtrOutput + ToConnectionASideAccessPointAccountPtrOutputWithContext(context.Context) ConnectionASideAccessPointAccountPtrOutput +} + +type connectionASideAccessPointAccountPtrType ConnectionASideAccessPointAccountArgs + +func ConnectionASideAccessPointAccountPtr(v *ConnectionASideAccessPointAccountArgs) ConnectionASideAccessPointAccountPtrInput { + return (*connectionASideAccessPointAccountPtrType)(v) +} + +func (*connectionASideAccessPointAccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointAccount)(nil)).Elem() +} + +func (i *connectionASideAccessPointAccountPtrType) ToConnectionASideAccessPointAccountPtrOutput() ConnectionASideAccessPointAccountPtrOutput { + return i.ToConnectionASideAccessPointAccountPtrOutputWithContext(context.Background()) +} + +func (i *connectionASideAccessPointAccountPtrType) ToConnectionASideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointAccountPtrOutput) +} + +func (i *connectionASideAccessPointAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointAccount] { + return pulumix.Output[*ConnectionASideAccessPointAccount]{ + OutputState: i.ToConnectionASideAccessPointAccountPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionASideAccessPointAccountOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointAccount)(nil)).Elem() +} + +func (o ConnectionASideAccessPointAccountOutput) ToConnectionASideAccessPointAccountOutput() ConnectionASideAccessPointAccountOutput { return o } -func (o ConnectionASideAccessPointProfileOutput) ToConnectionASideAccessPointProfileOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfileOutput { +func (o ConnectionASideAccessPointAccountOutput) ToConnectionASideAccessPointAccountOutputWithContext(ctx context.Context) ConnectionASideAccessPointAccountOutput { return o } -func (o ConnectionASideAccessPointProfileOutput) ToConnectionASideAccessPointProfilePtrOutput() ConnectionASideAccessPointProfilePtrOutput { - return o.ToConnectionASideAccessPointProfilePtrOutputWithContext(context.Background()) +func (o ConnectionASideAccessPointAccountOutput) ToConnectionASideAccessPointAccountPtrOutput() ConnectionASideAccessPointAccountPtrOutput { + return o.ToConnectionASideAccessPointAccountPtrOutputWithContext(context.Background()) } -func (o ConnectionASideAccessPointProfileOutput) ToConnectionASideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointProfile) *ConnectionASideAccessPointProfile { +func (o ConnectionASideAccessPointAccountOutput) ToConnectionASideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointAccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointAccount) *ConnectionASideAccessPointAccount { return &v - }).(ConnectionASideAccessPointProfilePtrOutput) + }).(ConnectionASideAccessPointAccountPtrOutput) } -func (o ConnectionASideAccessPointProfileOutput) AccessPointTypeConfigs() ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o.ApplyT(func(v ConnectionASideAccessPointProfile) []ConnectionASideAccessPointProfileAccessPointTypeConfig { - return v.AccessPointTypeConfigs - }).(ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) +func (o ConnectionASideAccessPointAccountOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointAccount] { + return pulumix.Output[ConnectionASideAccessPointAccount]{ + OutputState: o.OutputState, + } } -func (o ConnectionASideAccessPointProfileOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointProfile) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointAccountOutput) AccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointAccount) *string { return v.AccountName }).(pulumi.StringPtrOutput) } -// Connection URI information -func (o ConnectionASideAccessPointProfileOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointProfile) *string { return v.Href }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointAccountOutput) AccountNumber() pulumi.IntPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointAccount) *int { return v.AccountNumber }).(pulumi.IntPtrOutput) } -// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores -func (o ConnectionASideAccessPointProfileOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointProfile) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointAccountOutput) GlobalCustId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointAccount) *string { return v.GlobalCustId }).(pulumi.StringPtrOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideAccessPointProfileOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v ConnectionASideAccessPointProfile) string { return v.Type }).(pulumi.StringOutput) +func (o ConnectionASideAccessPointAccountOutput) GlobalOrgId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointAccount) *string { return v.GlobalOrgId }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointProfileOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v ConnectionASideAccessPointProfile) string { return v.Uuid }).(pulumi.StringOutput) +func (o ConnectionASideAccessPointAccountOutput) GlobalOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointAccount) *string { return v.GlobalOrganizationName }).(pulumi.StringPtrOutput) } -type ConnectionASideAccessPointProfilePtrOutput struct{ *pulumi.OutputState } +func (o ConnectionASideAccessPointAccountOutput) OrgId() pulumi.IntPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointAccount) *int { return v.OrgId }).(pulumi.IntPtrOutput) +} -func (ConnectionASideAccessPointProfilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointProfile)(nil)).Elem() +func (o ConnectionASideAccessPointAccountOutput) OrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointAccount) *string { return v.OrganizationName }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointProfilePtrOutput) ToConnectionASideAccessPointProfilePtrOutput() ConnectionASideAccessPointProfilePtrOutput { +type ConnectionASideAccessPointAccountPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointAccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointAccount)(nil)).Elem() +} + +func (o ConnectionASideAccessPointAccountPtrOutput) ToConnectionASideAccessPointAccountPtrOutput() ConnectionASideAccessPointAccountPtrOutput { return o } -func (o ConnectionASideAccessPointProfilePtrOutput) ToConnectionASideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfilePtrOutput { +func (o ConnectionASideAccessPointAccountPtrOutput) ToConnectionASideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointAccountPtrOutput { return o } -func (o ConnectionASideAccessPointProfilePtrOutput) Elem() ConnectionASideAccessPointProfileOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointProfile) ConnectionASideAccessPointProfile { +func (o ConnectionASideAccessPointAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointAccount] { + return pulumix.Output[*ConnectionASideAccessPointAccount]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionASideAccessPointAccountPtrOutput) Elem() ConnectionASideAccessPointAccountOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointAccount) ConnectionASideAccessPointAccount { if v != nil { return *v } - var ret ConnectionASideAccessPointProfile + var ret ConnectionASideAccessPointAccount return ret - }).(ConnectionASideAccessPointProfileOutput) + }).(ConnectionASideAccessPointAccountOutput) } -func (o ConnectionASideAccessPointProfilePtrOutput) AccessPointTypeConfigs() ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointProfile) []ConnectionASideAccessPointProfileAccessPointTypeConfig { +func (o ConnectionASideAccessPointAccountPtrOutput) AccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *string { if v == nil { return nil } - return v.AccessPointTypeConfigs - }).(ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) + return v.AccountName + }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointProfilePtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointProfile) *string { +func (o ConnectionASideAccessPointAccountPtrOutput) AccountNumber() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *int { if v == nil { return nil } - return v.Description - }).(pulumi.StringPtrOutput) + return v.AccountNumber + }).(pulumi.IntPtrOutput) } -// Connection URI information -func (o ConnectionASideAccessPointProfilePtrOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointProfile) *string { +func (o ConnectionASideAccessPointAccountPtrOutput) GlobalCustId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *string { if v == nil { return nil } - return v.Href + return v.GlobalCustId }).(pulumi.StringPtrOutput) } -// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores -func (o ConnectionASideAccessPointProfilePtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointProfile) *string { +func (o ConnectionASideAccessPointAccountPtrOutput) GlobalOrgId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *string { if v == nil { return nil } - return v.Name + return v.GlobalOrgId }).(pulumi.StringPtrOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideAccessPointProfilePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointProfile) *string { +func (o ConnectionASideAccessPointAccountPtrOutput) GlobalOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *string { if v == nil { return nil } - return &v.Type + return v.GlobalOrganizationName }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointProfilePtrOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointProfile) *string { +func (o ConnectionASideAccessPointAccountPtrOutput) OrgId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *int { if v == nil { return nil } - return &v.Uuid + return v.OrgId + }).(pulumi.IntPtrOutput) +} + +func (o ConnectionASideAccessPointAccountPtrOutput) OrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointAccount) *string { + if v == nil { + return nil + } + return v.OrganizationName }).(pulumi.StringPtrOutput) } -type ConnectionASideAccessPointProfileAccessPointTypeConfig struct { - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type *string `pulumi:"type"` +type ConnectionASideAccessPointGateway struct { + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Equinix-assigned interface identifier Uuid *string `pulumi:"uuid"` } -// ConnectionASideAccessPointProfileAccessPointTypeConfigInput is an input type that accepts ConnectionASideAccessPointProfileAccessPointTypeConfigArgs and ConnectionASideAccessPointProfileAccessPointTypeConfigOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointProfileAccessPointTypeConfigInput` via: +// ConnectionASideAccessPointGatewayInput is an input type that accepts ConnectionASideAccessPointGatewayArgs and ConnectionASideAccessPointGatewayOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointGatewayInput` via: // -// ConnectionASideAccessPointProfileAccessPointTypeConfigArgs{...} -type ConnectionASideAccessPointProfileAccessPointTypeConfigInput interface { +// ConnectionASideAccessPointGatewayArgs{...} +type ConnectionASideAccessPointGatewayInput interface { pulumi.Input - ToConnectionASideAccessPointProfileAccessPointTypeConfigOutput() ConnectionASideAccessPointProfileAccessPointTypeConfigOutput - ToConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Context) ConnectionASideAccessPointProfileAccessPointTypeConfigOutput + ToConnectionASideAccessPointGatewayOutput() ConnectionASideAccessPointGatewayOutput + ToConnectionASideAccessPointGatewayOutputWithContext(context.Context) ConnectionASideAccessPointGatewayOutput } -type ConnectionASideAccessPointProfileAccessPointTypeConfigArgs struct { - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringPtrInput `pulumi:"type"` +type ConnectionASideAccessPointGatewayArgs struct { + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Equinix-assigned interface identifier Uuid pulumi.StringPtrInput `pulumi:"uuid"` } -func (ConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func (ConnectionASideAccessPointGatewayArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointGateway)(nil)).Elem() } -func (i ConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ToConnectionASideAccessPointProfileAccessPointTypeConfigOutput() ConnectionASideAccessPointProfileAccessPointTypeConfigOutput { - return i.ToConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Background()) +func (i ConnectionASideAccessPointGatewayArgs) ToConnectionASideAccessPointGatewayOutput() ConnectionASideAccessPointGatewayOutput { + return i.ToConnectionASideAccessPointGatewayOutputWithContext(context.Background()) } -func (i ConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ToConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfileAccessPointTypeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) +func (i ConnectionASideAccessPointGatewayArgs) ToConnectionASideAccessPointGatewayOutputWithContext(ctx context.Context) ConnectionASideAccessPointGatewayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointGatewayOutput) } -// ConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput is an input type that accepts ConnectionASideAccessPointProfileAccessPointTypeConfigArray and ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput` via: +func (i ConnectionASideAccessPointGatewayArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointGateway] { + return pulumix.Output[ConnectionASideAccessPointGateway]{ + OutputState: i.ToConnectionASideAccessPointGatewayOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionASideAccessPointGatewayArgs) ToConnectionASideAccessPointGatewayPtrOutput() ConnectionASideAccessPointGatewayPtrOutput { + return i.ToConnectionASideAccessPointGatewayPtrOutputWithContext(context.Background()) +} + +func (i ConnectionASideAccessPointGatewayArgs) ToConnectionASideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointGatewayPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointGatewayOutput).ToConnectionASideAccessPointGatewayPtrOutputWithContext(ctx) +} + +// ConnectionASideAccessPointGatewayPtrInput is an input type that accepts ConnectionASideAccessPointGatewayArgs, ConnectionASideAccessPointGatewayPtr and ConnectionASideAccessPointGatewayPtrOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointGatewayPtrInput` via: // -// ConnectionASideAccessPointProfileAccessPointTypeConfigArray{ ConnectionASideAccessPointProfileAccessPointTypeConfigArgs{...} } -type ConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput interface { +// ConnectionASideAccessPointGatewayArgs{...} +// +// or: +// +// nil +type ConnectionASideAccessPointGatewayPtrInput interface { pulumi.Input - ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput() ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput - ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Context) ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput + ToConnectionASideAccessPointGatewayPtrOutput() ConnectionASideAccessPointGatewayPtrOutput + ToConnectionASideAccessPointGatewayPtrOutputWithContext(context.Context) ConnectionASideAccessPointGatewayPtrOutput } -type ConnectionASideAccessPointProfileAccessPointTypeConfigArray []ConnectionASideAccessPointProfileAccessPointTypeConfigInput +type connectionASideAccessPointGatewayPtrType ConnectionASideAccessPointGatewayArgs -func (ConnectionASideAccessPointProfileAccessPointTypeConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func ConnectionASideAccessPointGatewayPtr(v *ConnectionASideAccessPointGatewayArgs) ConnectionASideAccessPointGatewayPtrInput { + return (*connectionASideAccessPointGatewayPtrType)(v) } -func (i ConnectionASideAccessPointProfileAccessPointTypeConfigArray) ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput() ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { - return i.ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Background()) +func (*connectionASideAccessPointGatewayPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointGateway)(nil)).Elem() } -func (i ConnectionASideAccessPointProfileAccessPointTypeConfigArray) ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) +func (i *connectionASideAccessPointGatewayPtrType) ToConnectionASideAccessPointGatewayPtrOutput() ConnectionASideAccessPointGatewayPtrOutput { + return i.ToConnectionASideAccessPointGatewayPtrOutputWithContext(context.Background()) } -type ConnectionASideAccessPointProfileAccessPointTypeConfigOutput struct{ *pulumi.OutputState } +func (i *connectionASideAccessPointGatewayPtrType) ToConnectionASideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointGatewayPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointGatewayPtrOutput) +} -func (ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func (i *connectionASideAccessPointGatewayPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointGateway] { + return pulumix.Output[*ConnectionASideAccessPointGateway]{ + OutputState: i.ToConnectionASideAccessPointGatewayPtrOutputWithContext(ctx).OutputState, + } } -func (o ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ToConnectionASideAccessPointProfileAccessPointTypeConfigOutput() ConnectionASideAccessPointProfileAccessPointTypeConfigOutput { +type ConnectionASideAccessPointGatewayOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointGatewayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointGateway)(nil)).Elem() +} + +func (o ConnectionASideAccessPointGatewayOutput) ToConnectionASideAccessPointGatewayOutput() ConnectionASideAccessPointGatewayOutput { return o } -func (o ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ToConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfileAccessPointTypeConfigOutput { +func (o ConnectionASideAccessPointGatewayOutput) ToConnectionASideAccessPointGatewayOutputWithContext(ctx context.Context) ConnectionASideAccessPointGatewayOutput { return o } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointProfileAccessPointTypeConfig) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointGatewayOutput) ToConnectionASideAccessPointGatewayPtrOutput() ConnectionASideAccessPointGatewayPtrOutput { + return o.ToConnectionASideAccessPointGatewayPtrOutputWithContext(context.Background()) } -func (o ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointProfileAccessPointTypeConfig) *string { return v.Uuid }).(pulumi.StringPtrOutput) -} - -type ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput struct{ *pulumi.OutputState } - -func (ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() -} - -func (o ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput() ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o -} - -func (o ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o -} - -func (o ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) Index(i pulumi.IntInput) ConnectionASideAccessPointProfileAccessPointTypeConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionASideAccessPointProfileAccessPointTypeConfig { - return vs[0].([]ConnectionASideAccessPointProfileAccessPointTypeConfig)[vs[1].(int)] - }).(ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) -} - -type ConnectionASideAccessPointRoutingProtocol struct { - // Connection overall state - State *string `pulumi:"state"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type *string `pulumi:"type"` - Uuid *string `pulumi:"uuid"` -} - -// ConnectionASideAccessPointRoutingProtocolInput is an input type that accepts ConnectionASideAccessPointRoutingProtocolArgs and ConnectionASideAccessPointRoutingProtocolOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointRoutingProtocolInput` via: -// -// ConnectionASideAccessPointRoutingProtocolArgs{...} -type ConnectionASideAccessPointRoutingProtocolInput interface { - pulumi.Input - - ToConnectionASideAccessPointRoutingProtocolOutput() ConnectionASideAccessPointRoutingProtocolOutput - ToConnectionASideAccessPointRoutingProtocolOutputWithContext(context.Context) ConnectionASideAccessPointRoutingProtocolOutput -} - -type ConnectionASideAccessPointRoutingProtocolArgs struct { - // Connection overall state - State pulumi.StringPtrInput `pulumi:"state"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringPtrInput `pulumi:"type"` - Uuid pulumi.StringPtrInput `pulumi:"uuid"` -} - -func (ConnectionASideAccessPointRoutingProtocolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointRoutingProtocol)(nil)).Elem() -} - -func (i ConnectionASideAccessPointRoutingProtocolArgs) ToConnectionASideAccessPointRoutingProtocolOutput() ConnectionASideAccessPointRoutingProtocolOutput { - return i.ToConnectionASideAccessPointRoutingProtocolOutputWithContext(context.Background()) -} - -func (i ConnectionASideAccessPointRoutingProtocolArgs) ToConnectionASideAccessPointRoutingProtocolOutputWithContext(ctx context.Context) ConnectionASideAccessPointRoutingProtocolOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointRoutingProtocolOutput) -} - -// ConnectionASideAccessPointRoutingProtocolArrayInput is an input type that accepts ConnectionASideAccessPointRoutingProtocolArray and ConnectionASideAccessPointRoutingProtocolArrayOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointRoutingProtocolArrayInput` via: -// -// ConnectionASideAccessPointRoutingProtocolArray{ ConnectionASideAccessPointRoutingProtocolArgs{...} } -type ConnectionASideAccessPointRoutingProtocolArrayInput interface { - pulumi.Input - - ToConnectionASideAccessPointRoutingProtocolArrayOutput() ConnectionASideAccessPointRoutingProtocolArrayOutput - ToConnectionASideAccessPointRoutingProtocolArrayOutputWithContext(context.Context) ConnectionASideAccessPointRoutingProtocolArrayOutput +func (o ConnectionASideAccessPointGatewayOutput) ToConnectionASideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointGatewayPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointGateway) *ConnectionASideAccessPointGateway { + return &v + }).(ConnectionASideAccessPointGatewayPtrOutput) } -type ConnectionASideAccessPointRoutingProtocolArray []ConnectionASideAccessPointRoutingProtocolInput - -func (ConnectionASideAccessPointRoutingProtocolArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionASideAccessPointRoutingProtocol)(nil)).Elem() +func (o ConnectionASideAccessPointGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointGateway] { + return pulumix.Output[ConnectionASideAccessPointGateway]{ + OutputState: o.OutputState, + } } -func (i ConnectionASideAccessPointRoutingProtocolArray) ToConnectionASideAccessPointRoutingProtocolArrayOutput() ConnectionASideAccessPointRoutingProtocolArrayOutput { - return i.ToConnectionASideAccessPointRoutingProtocolArrayOutputWithContext(context.Background()) +// Unique Resource Identifier +func (o ConnectionASideAccessPointGatewayOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointGateway) *string { return v.Href }).(pulumi.StringPtrOutput) } -func (i ConnectionASideAccessPointRoutingProtocolArray) ToConnectionASideAccessPointRoutingProtocolArrayOutputWithContext(ctx context.Context) ConnectionASideAccessPointRoutingProtocolArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointRoutingProtocolArrayOutput) +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointGatewayOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointGateway) *string { return v.Uuid }).(pulumi.StringPtrOutput) } -type ConnectionASideAccessPointRoutingProtocolOutput struct{ *pulumi.OutputState } +type ConnectionASideAccessPointGatewayPtrOutput struct{ *pulumi.OutputState } -func (ConnectionASideAccessPointRoutingProtocolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointRoutingProtocol)(nil)).Elem() +func (ConnectionASideAccessPointGatewayPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointGateway)(nil)).Elem() } -func (o ConnectionASideAccessPointRoutingProtocolOutput) ToConnectionASideAccessPointRoutingProtocolOutput() ConnectionASideAccessPointRoutingProtocolOutput { +func (o ConnectionASideAccessPointGatewayPtrOutput) ToConnectionASideAccessPointGatewayPtrOutput() ConnectionASideAccessPointGatewayPtrOutput { return o } -func (o ConnectionASideAccessPointRoutingProtocolOutput) ToConnectionASideAccessPointRoutingProtocolOutputWithContext(ctx context.Context) ConnectionASideAccessPointRoutingProtocolOutput { +func (o ConnectionASideAccessPointGatewayPtrOutput) ToConnectionASideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointGatewayPtrOutput { return o } -// Connection overall state -func (o ConnectionASideAccessPointRoutingProtocolOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointRoutingProtocol) *string { return v.State }).(pulumi.StringPtrOutput) -} - -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideAccessPointRoutingProtocolOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointRoutingProtocol) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -func (o ConnectionASideAccessPointRoutingProtocolOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointRoutingProtocol) *string { return v.Uuid }).(pulumi.StringPtrOutput) -} - -type ConnectionASideAccessPointRoutingProtocolArrayOutput struct{ *pulumi.OutputState } - -func (ConnectionASideAccessPointRoutingProtocolArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionASideAccessPointRoutingProtocol)(nil)).Elem() +func (o ConnectionASideAccessPointGatewayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointGateway] { + return pulumix.Output[*ConnectionASideAccessPointGateway]{ + OutputState: o.OutputState, + } } -func (o ConnectionASideAccessPointRoutingProtocolArrayOutput) ToConnectionASideAccessPointRoutingProtocolArrayOutput() ConnectionASideAccessPointRoutingProtocolArrayOutput { - return o +func (o ConnectionASideAccessPointGatewayPtrOutput) Elem() ConnectionASideAccessPointGatewayOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointGateway) ConnectionASideAccessPointGateway { + if v != nil { + return *v + } + var ret ConnectionASideAccessPointGateway + return ret + }).(ConnectionASideAccessPointGatewayOutput) } -func (o ConnectionASideAccessPointRoutingProtocolArrayOutput) ToConnectionASideAccessPointRoutingProtocolArrayOutputWithContext(ctx context.Context) ConnectionASideAccessPointRoutingProtocolArrayOutput { - return o +// Unique Resource Identifier +func (o ConnectionASideAccessPointGatewayPtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointGateway) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointRoutingProtocolArrayOutput) Index(i pulumi.IntInput) ConnectionASideAccessPointRoutingProtocolOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionASideAccessPointRoutingProtocol { - return vs[0].([]ConnectionASideAccessPointRoutingProtocol)[vs[1].(int)] - }).(ConnectionASideAccessPointRoutingProtocolOutput) +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointGatewayPtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointGateway) *string { + if v == nil { + return nil + } + return v.Uuid + }).(pulumi.StringPtrOutput) } -type ConnectionASideAccessPointVirtualDevice struct { - // Connection URI information - Href *string `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC +type ConnectionASideAccessPointInterface struct { + // id + Id *string `pulumi:"id"` + // Interface type Type *string `pulumi:"type"` + // Equinix-assigned interface identifier Uuid *string `pulumi:"uuid"` } -// ConnectionASideAccessPointVirtualDeviceInput is an input type that accepts ConnectionASideAccessPointVirtualDeviceArgs and ConnectionASideAccessPointVirtualDeviceOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointVirtualDeviceInput` via: +// ConnectionASideAccessPointInterfaceInput is an input type that accepts ConnectionASideAccessPointInterfaceArgs and ConnectionASideAccessPointInterfaceOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointInterfaceInput` via: // -// ConnectionASideAccessPointVirtualDeviceArgs{...} -type ConnectionASideAccessPointVirtualDeviceInput interface { +// ConnectionASideAccessPointInterfaceArgs{...} +type ConnectionASideAccessPointInterfaceInput interface { pulumi.Input - ToConnectionASideAccessPointVirtualDeviceOutput() ConnectionASideAccessPointVirtualDeviceOutput - ToConnectionASideAccessPointVirtualDeviceOutputWithContext(context.Context) ConnectionASideAccessPointVirtualDeviceOutput + ToConnectionASideAccessPointInterfaceOutput() ConnectionASideAccessPointInterfaceOutput + ToConnectionASideAccessPointInterfaceOutputWithContext(context.Context) ConnectionASideAccessPointInterfaceOutput } -type ConnectionASideAccessPointVirtualDeviceArgs struct { - // Connection URI information - Href pulumi.StringPtrInput `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC +type ConnectionASideAccessPointInterfaceArgs struct { + // id + Id pulumi.StringPtrInput `pulumi:"id"` + // Interface type Type pulumi.StringPtrInput `pulumi:"type"` + // Equinix-assigned interface identifier Uuid pulumi.StringPtrInput `pulumi:"uuid"` } -func (ConnectionASideAccessPointVirtualDeviceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointVirtualDevice)(nil)).Elem() +func (ConnectionASideAccessPointInterfaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointInterface)(nil)).Elem() } -func (i ConnectionASideAccessPointVirtualDeviceArgs) ToConnectionASideAccessPointVirtualDeviceOutput() ConnectionASideAccessPointVirtualDeviceOutput { - return i.ToConnectionASideAccessPointVirtualDeviceOutputWithContext(context.Background()) +func (i ConnectionASideAccessPointInterfaceArgs) ToConnectionASideAccessPointInterfaceOutput() ConnectionASideAccessPointInterfaceOutput { + return i.ToConnectionASideAccessPointInterfaceOutputWithContext(context.Background()) } -func (i ConnectionASideAccessPointVirtualDeviceArgs) ToConnectionASideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) ConnectionASideAccessPointVirtualDeviceOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointVirtualDeviceOutput) +func (i ConnectionASideAccessPointInterfaceArgs) ToConnectionASideAccessPointInterfaceOutputWithContext(ctx context.Context) ConnectionASideAccessPointInterfaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointInterfaceOutput) } -func (i ConnectionASideAccessPointVirtualDeviceArgs) ToConnectionASideAccessPointVirtualDevicePtrOutput() ConnectionASideAccessPointVirtualDevicePtrOutput { - return i.ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(context.Background()) +func (i ConnectionASideAccessPointInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointInterface] { + return pulumix.Output[ConnectionASideAccessPointInterface]{ + OutputState: i.ToConnectionASideAccessPointInterfaceOutputWithContext(ctx).OutputState, + } } -func (i ConnectionASideAccessPointVirtualDeviceArgs) ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointVirtualDevicePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointVirtualDeviceOutput).ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(ctx) +func (i ConnectionASideAccessPointInterfaceArgs) ToConnectionASideAccessPointInterfacePtrOutput() ConnectionASideAccessPointInterfacePtrOutput { + return i.ToConnectionASideAccessPointInterfacePtrOutputWithContext(context.Background()) } -// ConnectionASideAccessPointVirtualDevicePtrInput is an input type that accepts ConnectionASideAccessPointVirtualDeviceArgs, ConnectionASideAccessPointVirtualDevicePtr and ConnectionASideAccessPointVirtualDevicePtrOutput values. -// You can construct a concrete instance of `ConnectionASideAccessPointVirtualDevicePtrInput` via: +func (i ConnectionASideAccessPointInterfaceArgs) ToConnectionASideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointInterfacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointInterfaceOutput).ToConnectionASideAccessPointInterfacePtrOutputWithContext(ctx) +} + +// ConnectionASideAccessPointInterfacePtrInput is an input type that accepts ConnectionASideAccessPointInterfaceArgs, ConnectionASideAccessPointInterfacePtr and ConnectionASideAccessPointInterfacePtrOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointInterfacePtrInput` via: // -// ConnectionASideAccessPointVirtualDeviceArgs{...} +// ConnectionASideAccessPointInterfaceArgs{...} // // or: // // nil -type ConnectionASideAccessPointVirtualDevicePtrInput interface { +type ConnectionASideAccessPointInterfacePtrInput interface { pulumi.Input - ToConnectionASideAccessPointVirtualDevicePtrOutput() ConnectionASideAccessPointVirtualDevicePtrOutput - ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(context.Context) ConnectionASideAccessPointVirtualDevicePtrOutput + ToConnectionASideAccessPointInterfacePtrOutput() ConnectionASideAccessPointInterfacePtrOutput + ToConnectionASideAccessPointInterfacePtrOutputWithContext(context.Context) ConnectionASideAccessPointInterfacePtrOutput } -type connectionASideAccessPointVirtualDevicePtrType ConnectionASideAccessPointVirtualDeviceArgs +type connectionASideAccessPointInterfacePtrType ConnectionASideAccessPointInterfaceArgs -func ConnectionASideAccessPointVirtualDevicePtr(v *ConnectionASideAccessPointVirtualDeviceArgs) ConnectionASideAccessPointVirtualDevicePtrInput { - return (*connectionASideAccessPointVirtualDevicePtrType)(v) +func ConnectionASideAccessPointInterfacePtr(v *ConnectionASideAccessPointInterfaceArgs) ConnectionASideAccessPointInterfacePtrInput { + return (*connectionASideAccessPointInterfacePtrType)(v) } -func (*connectionASideAccessPointVirtualDevicePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointVirtualDevice)(nil)).Elem() +func (*connectionASideAccessPointInterfacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointInterface)(nil)).Elem() } -func (i *connectionASideAccessPointVirtualDevicePtrType) ToConnectionASideAccessPointVirtualDevicePtrOutput() ConnectionASideAccessPointVirtualDevicePtrOutput { - return i.ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(context.Background()) +func (i *connectionASideAccessPointInterfacePtrType) ToConnectionASideAccessPointInterfacePtrOutput() ConnectionASideAccessPointInterfacePtrOutput { + return i.ToConnectionASideAccessPointInterfacePtrOutputWithContext(context.Background()) } -func (i *connectionASideAccessPointVirtualDevicePtrType) ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointVirtualDevicePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointVirtualDevicePtrOutput) +func (i *connectionASideAccessPointInterfacePtrType) ToConnectionASideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointInterfacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointInterfacePtrOutput) } -type ConnectionASideAccessPointVirtualDeviceOutput struct{ *pulumi.OutputState } +func (i *connectionASideAccessPointInterfacePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointInterface] { + return pulumix.Output[*ConnectionASideAccessPointInterface]{ + OutputState: i.ToConnectionASideAccessPointInterfacePtrOutputWithContext(ctx).OutputState, + } +} -func (ConnectionASideAccessPointVirtualDeviceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAccessPointVirtualDevice)(nil)).Elem() +type ConnectionASideAccessPointInterfaceOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointInterfaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointInterface)(nil)).Elem() } -func (o ConnectionASideAccessPointVirtualDeviceOutput) ToConnectionASideAccessPointVirtualDeviceOutput() ConnectionASideAccessPointVirtualDeviceOutput { +func (o ConnectionASideAccessPointInterfaceOutput) ToConnectionASideAccessPointInterfaceOutput() ConnectionASideAccessPointInterfaceOutput { return o } -func (o ConnectionASideAccessPointVirtualDeviceOutput) ToConnectionASideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) ConnectionASideAccessPointVirtualDeviceOutput { +func (o ConnectionASideAccessPointInterfaceOutput) ToConnectionASideAccessPointInterfaceOutputWithContext(ctx context.Context) ConnectionASideAccessPointInterfaceOutput { return o } -func (o ConnectionASideAccessPointVirtualDeviceOutput) ToConnectionASideAccessPointVirtualDevicePtrOutput() ConnectionASideAccessPointVirtualDevicePtrOutput { - return o.ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(context.Background()) +func (o ConnectionASideAccessPointInterfaceOutput) ToConnectionASideAccessPointInterfacePtrOutput() ConnectionASideAccessPointInterfacePtrOutput { + return o.ToConnectionASideAccessPointInterfacePtrOutputWithContext(context.Background()) } -func (o ConnectionASideAccessPointVirtualDeviceOutput) ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointVirtualDevicePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointVirtualDevice) *ConnectionASideAccessPointVirtualDevice { +func (o ConnectionASideAccessPointInterfaceOutput) ToConnectionASideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointInterfacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointInterface) *ConnectionASideAccessPointInterface { return &v - }).(ConnectionASideAccessPointVirtualDevicePtrOutput) + }).(ConnectionASideAccessPointInterfacePtrOutput) } -// Connection URI information -func (o ConnectionASideAccessPointVirtualDeviceOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointVirtualDevice) *string { return v.Href }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointInterface] { + return pulumix.Output[ConnectionASideAccessPointInterface]{ + OutputState: o.OutputState, + } } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideAccessPointVirtualDeviceOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointVirtualDevice) *string { return v.Type }).(pulumi.StringPtrOutput) +// id +func (o ConnectionASideAccessPointInterfaceOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointInterface) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointVirtualDeviceOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAccessPointVirtualDevice) *string { return v.Uuid }).(pulumi.StringPtrOutput) +// Interface type +func (o ConnectionASideAccessPointInterfaceOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointInterface) *string { return v.Type }).(pulumi.StringPtrOutput) } -type ConnectionASideAccessPointVirtualDevicePtrOutput struct{ *pulumi.OutputState } +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointInterfaceOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointInterface) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} -func (ConnectionASideAccessPointVirtualDevicePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideAccessPointVirtualDevice)(nil)).Elem() +type ConnectionASideAccessPointInterfacePtrOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointInterfacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointInterface)(nil)).Elem() } -func (o ConnectionASideAccessPointVirtualDevicePtrOutput) ToConnectionASideAccessPointVirtualDevicePtrOutput() ConnectionASideAccessPointVirtualDevicePtrOutput { +func (o ConnectionASideAccessPointInterfacePtrOutput) ToConnectionASideAccessPointInterfacePtrOutput() ConnectionASideAccessPointInterfacePtrOutput { return o } -func (o ConnectionASideAccessPointVirtualDevicePtrOutput) ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointVirtualDevicePtrOutput { +func (o ConnectionASideAccessPointInterfacePtrOutput) ToConnectionASideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointInterfacePtrOutput { return o } -func (o ConnectionASideAccessPointVirtualDevicePtrOutput) Elem() ConnectionASideAccessPointVirtualDeviceOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointVirtualDevice) ConnectionASideAccessPointVirtualDevice { +func (o ConnectionASideAccessPointInterfacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointInterface] { + return pulumix.Output[*ConnectionASideAccessPointInterface]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionASideAccessPointInterfacePtrOutput) Elem() ConnectionASideAccessPointInterfaceOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointInterface) ConnectionASideAccessPointInterface { if v != nil { return *v } - var ret ConnectionASideAccessPointVirtualDevice + var ret ConnectionASideAccessPointInterface return ret - }).(ConnectionASideAccessPointVirtualDeviceOutput) + }).(ConnectionASideAccessPointInterfaceOutput) } -// Connection URI information -func (o ConnectionASideAccessPointVirtualDevicePtrOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointVirtualDevice) *string { +// id +func (o ConnectionASideAccessPointInterfacePtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointInterface) *string { if v == nil { return nil } - return v.Href + return v.Id }).(pulumi.StringPtrOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideAccessPointVirtualDevicePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointVirtualDevice) *string { +// Interface type +func (o ConnectionASideAccessPointInterfacePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointInterface) *string { if v == nil { return nil } @@ -2318,8 +2485,9 @@ func (o ConnectionASideAccessPointVirtualDevicePtrOutput) Type() pulumi.StringPt }).(pulumi.StringPtrOutput) } -func (o ConnectionASideAccessPointVirtualDevicePtrOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideAccessPointVirtualDevice) *string { +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointInterfacePtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointInterface) *string { if v == nil { return nil } @@ -2327,946 +2495,2807 @@ func (o ConnectionASideAccessPointVirtualDevicePtrOutput) Uuid() pulumi.StringPt }).(pulumi.StringPtrOutput) } -type ConnectionASideAdditionalInfo struct { - // Additional information key - Key *string `pulumi:"key"` - // Additional information value - Value *string `pulumi:"value"` +type ConnectionASideAccessPointLinkProtocol struct { + // Interface type + Type *string `pulumi:"type"` + // Vlan Customer Tag information, vlanCTag value specified for QINQ connections + VlanCTag *int `pulumi:"vlanCTag"` + // Vlan Provider Tag information, vlanSTag value specified for QINQ connections + VlanSTag *int `pulumi:"vlanSTag"` + // Vlan Tag information, vlanTag value specified for DOT1Q connections + VlanTag *int `pulumi:"vlanTag"` } -// ConnectionASideAdditionalInfoInput is an input type that accepts ConnectionASideAdditionalInfoArgs and ConnectionASideAdditionalInfoOutput values. -// You can construct a concrete instance of `ConnectionASideAdditionalInfoInput` via: +// ConnectionASideAccessPointLinkProtocolInput is an input type that accepts ConnectionASideAccessPointLinkProtocolArgs and ConnectionASideAccessPointLinkProtocolOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointLinkProtocolInput` via: // -// ConnectionASideAdditionalInfoArgs{...} -type ConnectionASideAdditionalInfoInput interface { +// ConnectionASideAccessPointLinkProtocolArgs{...} +type ConnectionASideAccessPointLinkProtocolInput interface { pulumi.Input - ToConnectionASideAdditionalInfoOutput() ConnectionASideAdditionalInfoOutput - ToConnectionASideAdditionalInfoOutputWithContext(context.Context) ConnectionASideAdditionalInfoOutput + ToConnectionASideAccessPointLinkProtocolOutput() ConnectionASideAccessPointLinkProtocolOutput + ToConnectionASideAccessPointLinkProtocolOutputWithContext(context.Context) ConnectionASideAccessPointLinkProtocolOutput } -type ConnectionASideAdditionalInfoArgs struct { - // Additional information key - Key pulumi.StringPtrInput `pulumi:"key"` - // Additional information value - Value pulumi.StringPtrInput `pulumi:"value"` +type ConnectionASideAccessPointLinkProtocolArgs struct { + // Interface type + Type pulumi.StringPtrInput `pulumi:"type"` + // Vlan Customer Tag information, vlanCTag value specified for QINQ connections + VlanCTag pulumi.IntPtrInput `pulumi:"vlanCTag"` + // Vlan Provider Tag information, vlanSTag value specified for QINQ connections + VlanSTag pulumi.IntPtrInput `pulumi:"vlanSTag"` + // Vlan Tag information, vlanTag value specified for DOT1Q connections + VlanTag pulumi.IntPtrInput `pulumi:"vlanTag"` } -func (ConnectionASideAdditionalInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAdditionalInfo)(nil)).Elem() +func (ConnectionASideAccessPointLinkProtocolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointLinkProtocol)(nil)).Elem() } -func (i ConnectionASideAdditionalInfoArgs) ToConnectionASideAdditionalInfoOutput() ConnectionASideAdditionalInfoOutput { - return i.ToConnectionASideAdditionalInfoOutputWithContext(context.Background()) +func (i ConnectionASideAccessPointLinkProtocolArgs) ToConnectionASideAccessPointLinkProtocolOutput() ConnectionASideAccessPointLinkProtocolOutput { + return i.ToConnectionASideAccessPointLinkProtocolOutputWithContext(context.Background()) } -func (i ConnectionASideAdditionalInfoArgs) ToConnectionASideAdditionalInfoOutputWithContext(ctx context.Context) ConnectionASideAdditionalInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAdditionalInfoOutput) +func (i ConnectionASideAccessPointLinkProtocolArgs) ToConnectionASideAccessPointLinkProtocolOutputWithContext(ctx context.Context) ConnectionASideAccessPointLinkProtocolOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointLinkProtocolOutput) } -// ConnectionASideAdditionalInfoArrayInput is an input type that accepts ConnectionASideAdditionalInfoArray and ConnectionASideAdditionalInfoArrayOutput values. -// You can construct a concrete instance of `ConnectionASideAdditionalInfoArrayInput` via: -// -// ConnectionASideAdditionalInfoArray{ ConnectionASideAdditionalInfoArgs{...} } -type ConnectionASideAdditionalInfoArrayInput interface { - pulumi.Input - - ToConnectionASideAdditionalInfoArrayOutput() ConnectionASideAdditionalInfoArrayOutput - ToConnectionASideAdditionalInfoArrayOutputWithContext(context.Context) ConnectionASideAdditionalInfoArrayOutput +func (i ConnectionASideAccessPointLinkProtocolArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointLinkProtocol] { + return pulumix.Output[ConnectionASideAccessPointLinkProtocol]{ + OutputState: i.ToConnectionASideAccessPointLinkProtocolOutputWithContext(ctx).OutputState, + } } -type ConnectionASideAdditionalInfoArray []ConnectionASideAdditionalInfoInput - -func (ConnectionASideAdditionalInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionASideAdditionalInfo)(nil)).Elem() +func (i ConnectionASideAccessPointLinkProtocolArgs) ToConnectionASideAccessPointLinkProtocolPtrOutput() ConnectionASideAccessPointLinkProtocolPtrOutput { + return i.ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(context.Background()) } -func (i ConnectionASideAdditionalInfoArray) ToConnectionASideAdditionalInfoArrayOutput() ConnectionASideAdditionalInfoArrayOutput { - return i.ToConnectionASideAdditionalInfoArrayOutputWithContext(context.Background()) +func (i ConnectionASideAccessPointLinkProtocolArgs) ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLinkProtocolPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointLinkProtocolOutput).ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(ctx) } -func (i ConnectionASideAdditionalInfoArray) ToConnectionASideAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionASideAdditionalInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAdditionalInfoArrayOutput) +// ConnectionASideAccessPointLinkProtocolPtrInput is an input type that accepts ConnectionASideAccessPointLinkProtocolArgs, ConnectionASideAccessPointLinkProtocolPtr and ConnectionASideAccessPointLinkProtocolPtrOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointLinkProtocolPtrInput` via: +// +// ConnectionASideAccessPointLinkProtocolArgs{...} +// +// or: +// +// nil +type ConnectionASideAccessPointLinkProtocolPtrInput interface { + pulumi.Input + + ToConnectionASideAccessPointLinkProtocolPtrOutput() ConnectionASideAccessPointLinkProtocolPtrOutput + ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(context.Context) ConnectionASideAccessPointLinkProtocolPtrOutput } -type ConnectionASideAdditionalInfoOutput struct{ *pulumi.OutputState } +type connectionASideAccessPointLinkProtocolPtrType ConnectionASideAccessPointLinkProtocolArgs -func (ConnectionASideAdditionalInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideAdditionalInfo)(nil)).Elem() +func ConnectionASideAccessPointLinkProtocolPtr(v *ConnectionASideAccessPointLinkProtocolArgs) ConnectionASideAccessPointLinkProtocolPtrInput { + return (*connectionASideAccessPointLinkProtocolPtrType)(v) } -func (o ConnectionASideAdditionalInfoOutput) ToConnectionASideAdditionalInfoOutput() ConnectionASideAdditionalInfoOutput { - return o +func (*connectionASideAccessPointLinkProtocolPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointLinkProtocol)(nil)).Elem() } -func (o ConnectionASideAdditionalInfoOutput) ToConnectionASideAdditionalInfoOutputWithContext(ctx context.Context) ConnectionASideAdditionalInfoOutput { - return o +func (i *connectionASideAccessPointLinkProtocolPtrType) ToConnectionASideAccessPointLinkProtocolPtrOutput() ConnectionASideAccessPointLinkProtocolPtrOutput { + return i.ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(context.Background()) } -// Additional information key -func (o ConnectionASideAdditionalInfoOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAdditionalInfo) *string { return v.Key }).(pulumi.StringPtrOutput) +func (i *connectionASideAccessPointLinkProtocolPtrType) ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLinkProtocolPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointLinkProtocolPtrOutput) } -// Additional information value -func (o ConnectionASideAdditionalInfoOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideAdditionalInfo) *string { return v.Value }).(pulumi.StringPtrOutput) +func (i *connectionASideAccessPointLinkProtocolPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointLinkProtocol] { + return pulumix.Output[*ConnectionASideAccessPointLinkProtocol]{ + OutputState: i.ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(ctx).OutputState, + } } -type ConnectionASideAdditionalInfoArrayOutput struct{ *pulumi.OutputState } +type ConnectionASideAccessPointLinkProtocolOutput struct{ *pulumi.OutputState } -func (ConnectionASideAdditionalInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionASideAdditionalInfo)(nil)).Elem() +func (ConnectionASideAccessPointLinkProtocolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointLinkProtocol)(nil)).Elem() } -func (o ConnectionASideAdditionalInfoArrayOutput) ToConnectionASideAdditionalInfoArrayOutput() ConnectionASideAdditionalInfoArrayOutput { +func (o ConnectionASideAccessPointLinkProtocolOutput) ToConnectionASideAccessPointLinkProtocolOutput() ConnectionASideAccessPointLinkProtocolOutput { return o } -func (o ConnectionASideAdditionalInfoArrayOutput) ToConnectionASideAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionASideAdditionalInfoArrayOutput { +func (o ConnectionASideAccessPointLinkProtocolOutput) ToConnectionASideAccessPointLinkProtocolOutputWithContext(ctx context.Context) ConnectionASideAccessPointLinkProtocolOutput { return o } -func (o ConnectionASideAdditionalInfoArrayOutput) Index(i pulumi.IntInput) ConnectionASideAdditionalInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionASideAdditionalInfo { - return vs[0].([]ConnectionASideAdditionalInfo)[vs[1].(int)] - }).(ConnectionASideAdditionalInfoOutput) +func (o ConnectionASideAccessPointLinkProtocolOutput) ToConnectionASideAccessPointLinkProtocolPtrOutput() ConnectionASideAccessPointLinkProtocolPtrOutput { + return o.ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(context.Background()) } -type ConnectionASideServiceToken struct { - Description *string `pulumi:"description"` - // Connection URI information - Href *string `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type *string `pulumi:"type"` - Uuid *string `pulumi:"uuid"` +func (o ConnectionASideAccessPointLinkProtocolOutput) ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLinkProtocolPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointLinkProtocol) *ConnectionASideAccessPointLinkProtocol { + return &v + }).(ConnectionASideAccessPointLinkProtocolPtrOutput) } -// ConnectionASideServiceTokenInput is an input type that accepts ConnectionASideServiceTokenArgs and ConnectionASideServiceTokenOutput values. -// You can construct a concrete instance of `ConnectionASideServiceTokenInput` via: -// -// ConnectionASideServiceTokenArgs{...} -type ConnectionASideServiceTokenInput interface { - pulumi.Input - - ToConnectionASideServiceTokenOutput() ConnectionASideServiceTokenOutput - ToConnectionASideServiceTokenOutputWithContext(context.Context) ConnectionASideServiceTokenOutput +func (o ConnectionASideAccessPointLinkProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointLinkProtocol] { + return pulumix.Output[ConnectionASideAccessPointLinkProtocol]{ + OutputState: o.OutputState, + } } -type ConnectionASideServiceTokenArgs struct { - Description pulumi.StringPtrInput `pulumi:"description"` - // Connection URI information - Href pulumi.StringPtrInput `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringPtrInput `pulumi:"type"` - Uuid pulumi.StringPtrInput `pulumi:"uuid"` +// Interface type +func (o ConnectionASideAccessPointLinkProtocolOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointLinkProtocol) *string { return v.Type }).(pulumi.StringPtrOutput) } -func (ConnectionASideServiceTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideServiceToken)(nil)).Elem() +// Vlan Customer Tag information, vlanCTag value specified for QINQ connections +func (o ConnectionASideAccessPointLinkProtocolOutput) VlanCTag() pulumi.IntPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointLinkProtocol) *int { return v.VlanCTag }).(pulumi.IntPtrOutput) } -func (i ConnectionASideServiceTokenArgs) ToConnectionASideServiceTokenOutput() ConnectionASideServiceTokenOutput { - return i.ToConnectionASideServiceTokenOutputWithContext(context.Background()) +// Vlan Provider Tag information, vlanSTag value specified for QINQ connections +func (o ConnectionASideAccessPointLinkProtocolOutput) VlanSTag() pulumi.IntPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointLinkProtocol) *int { return v.VlanSTag }).(pulumi.IntPtrOutput) } -func (i ConnectionASideServiceTokenArgs) ToConnectionASideServiceTokenOutputWithContext(ctx context.Context) ConnectionASideServiceTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideServiceTokenOutput) +// Vlan Tag information, vlanTag value specified for DOT1Q connections +func (o ConnectionASideAccessPointLinkProtocolOutput) VlanTag() pulumi.IntPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointLinkProtocol) *int { return v.VlanTag }).(pulumi.IntPtrOutput) } -func (i ConnectionASideServiceTokenArgs) ToConnectionASideServiceTokenPtrOutput() ConnectionASideServiceTokenPtrOutput { - return i.ToConnectionASideServiceTokenPtrOutputWithContext(context.Background()) -} +type ConnectionASideAccessPointLinkProtocolPtrOutput struct{ *pulumi.OutputState } -func (i ConnectionASideServiceTokenArgs) ToConnectionASideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionASideServiceTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideServiceTokenOutput).ToConnectionASideServiceTokenPtrOutputWithContext(ctx) +func (ConnectionASideAccessPointLinkProtocolPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointLinkProtocol)(nil)).Elem() } -// ConnectionASideServiceTokenPtrInput is an input type that accepts ConnectionASideServiceTokenArgs, ConnectionASideServiceTokenPtr and ConnectionASideServiceTokenPtrOutput values. -// You can construct a concrete instance of `ConnectionASideServiceTokenPtrInput` via: -// -// ConnectionASideServiceTokenArgs{...} -// -// or: -// -// nil -type ConnectionASideServiceTokenPtrInput interface { - pulumi.Input - - ToConnectionASideServiceTokenPtrOutput() ConnectionASideServiceTokenPtrOutput - ToConnectionASideServiceTokenPtrOutputWithContext(context.Context) ConnectionASideServiceTokenPtrOutput +func (o ConnectionASideAccessPointLinkProtocolPtrOutput) ToConnectionASideAccessPointLinkProtocolPtrOutput() ConnectionASideAccessPointLinkProtocolPtrOutput { + return o } -type connectionASideServiceTokenPtrType ConnectionASideServiceTokenArgs - -func ConnectionASideServiceTokenPtr(v *ConnectionASideServiceTokenArgs) ConnectionASideServiceTokenPtrInput { - return (*connectionASideServiceTokenPtrType)(v) +func (o ConnectionASideAccessPointLinkProtocolPtrOutput) ToConnectionASideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLinkProtocolPtrOutput { + return o } -func (*connectionASideServiceTokenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideServiceToken)(nil)).Elem() +func (o ConnectionASideAccessPointLinkProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointLinkProtocol] { + return pulumix.Output[*ConnectionASideAccessPointLinkProtocol]{ + OutputState: o.OutputState, + } } -func (i *connectionASideServiceTokenPtrType) ToConnectionASideServiceTokenPtrOutput() ConnectionASideServiceTokenPtrOutput { - return i.ToConnectionASideServiceTokenPtrOutputWithContext(context.Background()) +func (o ConnectionASideAccessPointLinkProtocolPtrOutput) Elem() ConnectionASideAccessPointLinkProtocolOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointLinkProtocol) ConnectionASideAccessPointLinkProtocol { + if v != nil { + return *v + } + var ret ConnectionASideAccessPointLinkProtocol + return ret + }).(ConnectionASideAccessPointLinkProtocolOutput) } -func (i *connectionASideServiceTokenPtrType) ToConnectionASideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionASideServiceTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideServiceTokenPtrOutput) +// Interface type +func (o ConnectionASideAccessPointLinkProtocolPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointLinkProtocol) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) } -type ConnectionASideServiceTokenOutput struct{ *pulumi.OutputState } +// Vlan Customer Tag information, vlanCTag value specified for QINQ connections +func (o ConnectionASideAccessPointLinkProtocolPtrOutput) VlanCTag() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointLinkProtocol) *int { + if v == nil { + return nil + } + return v.VlanCTag + }).(pulumi.IntPtrOutput) +} -func (ConnectionASideServiceTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionASideServiceToken)(nil)).Elem() +// Vlan Provider Tag information, vlanSTag value specified for QINQ connections +func (o ConnectionASideAccessPointLinkProtocolPtrOutput) VlanSTag() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointLinkProtocol) *int { + if v == nil { + return nil + } + return v.VlanSTag + }).(pulumi.IntPtrOutput) } -func (o ConnectionASideServiceTokenOutput) ToConnectionASideServiceTokenOutput() ConnectionASideServiceTokenOutput { - return o +// Vlan Tag information, vlanTag value specified for DOT1Q connections +func (o ConnectionASideAccessPointLinkProtocolPtrOutput) VlanTag() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointLinkProtocol) *int { + if v == nil { + return nil + } + return v.VlanTag + }).(pulumi.IntPtrOutput) } -func (o ConnectionASideServiceTokenOutput) ToConnectionASideServiceTokenOutputWithContext(ctx context.Context) ConnectionASideServiceTokenOutput { - return o +type ConnectionASideAccessPointLocation struct { + // IBX Code + Ibx *string `pulumi:"ibx"` + // Access point metro code + MetroCode *string `pulumi:"metroCode"` + // Access point metro name + MetroName *string `pulumi:"metroName"` + // Access point region + Region *string `pulumi:"region"` } -func (o ConnectionASideServiceTokenOutput) ToConnectionASideServiceTokenPtrOutput() ConnectionASideServiceTokenPtrOutput { - return o.ToConnectionASideServiceTokenPtrOutputWithContext(context.Background()) +// ConnectionASideAccessPointLocationInput is an input type that accepts ConnectionASideAccessPointLocationArgs and ConnectionASideAccessPointLocationOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointLocationInput` via: +// +// ConnectionASideAccessPointLocationArgs{...} +type ConnectionASideAccessPointLocationInput interface { + pulumi.Input + + ToConnectionASideAccessPointLocationOutput() ConnectionASideAccessPointLocationOutput + ToConnectionASideAccessPointLocationOutputWithContext(context.Context) ConnectionASideAccessPointLocationOutput } -func (o ConnectionASideServiceTokenOutput) ToConnectionASideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionASideServiceTokenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideServiceToken) *ConnectionASideServiceToken { +type ConnectionASideAccessPointLocationArgs struct { + // IBX Code + Ibx pulumi.StringPtrInput `pulumi:"ibx"` + // Access point metro code + MetroCode pulumi.StringPtrInput `pulumi:"metroCode"` + // Access point metro name + MetroName pulumi.StringPtrInput `pulumi:"metroName"` + // Access point region + Region pulumi.StringPtrInput `pulumi:"region"` +} + +func (ConnectionASideAccessPointLocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointLocation)(nil)).Elem() +} + +func (i ConnectionASideAccessPointLocationArgs) ToConnectionASideAccessPointLocationOutput() ConnectionASideAccessPointLocationOutput { + return i.ToConnectionASideAccessPointLocationOutputWithContext(context.Background()) +} + +func (i ConnectionASideAccessPointLocationArgs) ToConnectionASideAccessPointLocationOutputWithContext(ctx context.Context) ConnectionASideAccessPointLocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointLocationOutput) +} + +func (i ConnectionASideAccessPointLocationArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointLocation] { + return pulumix.Output[ConnectionASideAccessPointLocation]{ + OutputState: i.ToConnectionASideAccessPointLocationOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionASideAccessPointLocationArgs) ToConnectionASideAccessPointLocationPtrOutput() ConnectionASideAccessPointLocationPtrOutput { + return i.ToConnectionASideAccessPointLocationPtrOutputWithContext(context.Background()) +} + +func (i ConnectionASideAccessPointLocationArgs) ToConnectionASideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointLocationOutput).ToConnectionASideAccessPointLocationPtrOutputWithContext(ctx) +} + +// ConnectionASideAccessPointLocationPtrInput is an input type that accepts ConnectionASideAccessPointLocationArgs, ConnectionASideAccessPointLocationPtr and ConnectionASideAccessPointLocationPtrOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointLocationPtrInput` via: +// +// ConnectionASideAccessPointLocationArgs{...} +// +// or: +// +// nil +type ConnectionASideAccessPointLocationPtrInput interface { + pulumi.Input + + ToConnectionASideAccessPointLocationPtrOutput() ConnectionASideAccessPointLocationPtrOutput + ToConnectionASideAccessPointLocationPtrOutputWithContext(context.Context) ConnectionASideAccessPointLocationPtrOutput +} + +type connectionASideAccessPointLocationPtrType ConnectionASideAccessPointLocationArgs + +func ConnectionASideAccessPointLocationPtr(v *ConnectionASideAccessPointLocationArgs) ConnectionASideAccessPointLocationPtrInput { + return (*connectionASideAccessPointLocationPtrType)(v) +} + +func (*connectionASideAccessPointLocationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointLocation)(nil)).Elem() +} + +func (i *connectionASideAccessPointLocationPtrType) ToConnectionASideAccessPointLocationPtrOutput() ConnectionASideAccessPointLocationPtrOutput { + return i.ToConnectionASideAccessPointLocationPtrOutputWithContext(context.Background()) +} + +func (i *connectionASideAccessPointLocationPtrType) ToConnectionASideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointLocationPtrOutput) +} + +func (i *connectionASideAccessPointLocationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointLocation] { + return pulumix.Output[*ConnectionASideAccessPointLocation]{ + OutputState: i.ToConnectionASideAccessPointLocationPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionASideAccessPointLocationOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointLocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointLocation)(nil)).Elem() +} + +func (o ConnectionASideAccessPointLocationOutput) ToConnectionASideAccessPointLocationOutput() ConnectionASideAccessPointLocationOutput { + return o +} + +func (o ConnectionASideAccessPointLocationOutput) ToConnectionASideAccessPointLocationOutputWithContext(ctx context.Context) ConnectionASideAccessPointLocationOutput { + return o +} + +func (o ConnectionASideAccessPointLocationOutput) ToConnectionASideAccessPointLocationPtrOutput() ConnectionASideAccessPointLocationPtrOutput { + return o.ToConnectionASideAccessPointLocationPtrOutputWithContext(context.Background()) +} + +func (o ConnectionASideAccessPointLocationOutput) ToConnectionASideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLocationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointLocation) *ConnectionASideAccessPointLocation { return &v - }).(ConnectionASideServiceTokenPtrOutput) + }).(ConnectionASideAccessPointLocationPtrOutput) } -func (o ConnectionASideServiceTokenOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideServiceToken) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointLocationOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointLocation] { + return pulumix.Output[ConnectionASideAccessPointLocation]{ + OutputState: o.OutputState, + } } -// Connection URI information -func (o ConnectionASideServiceTokenOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideServiceToken) *string { return v.Href }).(pulumi.StringPtrOutput) +// IBX Code +func (o ConnectionASideAccessPointLocationOutput) Ibx() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointLocation) *string { return v.Ibx }).(pulumi.StringPtrOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideServiceTokenOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideServiceToken) *string { return v.Type }).(pulumi.StringPtrOutput) +// Access point metro code +func (o ConnectionASideAccessPointLocationOutput) MetroCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointLocation) *string { return v.MetroCode }).(pulumi.StringPtrOutput) } -func (o ConnectionASideServiceTokenOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionASideServiceToken) *string { return v.Uuid }).(pulumi.StringPtrOutput) +// Access point metro name +func (o ConnectionASideAccessPointLocationOutput) MetroName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointLocation) *string { return v.MetroName }).(pulumi.StringPtrOutput) } -type ConnectionASideServiceTokenPtrOutput struct{ *pulumi.OutputState } +// Access point region +func (o ConnectionASideAccessPointLocationOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointLocation) *string { return v.Region }).(pulumi.StringPtrOutput) +} -func (ConnectionASideServiceTokenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionASideServiceToken)(nil)).Elem() +type ConnectionASideAccessPointLocationPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointLocationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointLocation)(nil)).Elem() } -func (o ConnectionASideServiceTokenPtrOutput) ToConnectionASideServiceTokenPtrOutput() ConnectionASideServiceTokenPtrOutput { +func (o ConnectionASideAccessPointLocationPtrOutput) ToConnectionASideAccessPointLocationPtrOutput() ConnectionASideAccessPointLocationPtrOutput { return o } -func (o ConnectionASideServiceTokenPtrOutput) ToConnectionASideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionASideServiceTokenPtrOutput { +func (o ConnectionASideAccessPointLocationPtrOutput) ToConnectionASideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointLocationPtrOutput { return o } -func (o ConnectionASideServiceTokenPtrOutput) Elem() ConnectionASideServiceTokenOutput { - return o.ApplyT(func(v *ConnectionASideServiceToken) ConnectionASideServiceToken { +func (o ConnectionASideAccessPointLocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointLocation] { + return pulumix.Output[*ConnectionASideAccessPointLocation]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionASideAccessPointLocationPtrOutput) Elem() ConnectionASideAccessPointLocationOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointLocation) ConnectionASideAccessPointLocation { if v != nil { return *v } - var ret ConnectionASideServiceToken + var ret ConnectionASideAccessPointLocation return ret - }).(ConnectionASideServiceTokenOutput) + }).(ConnectionASideAccessPointLocationOutput) } -func (o ConnectionASideServiceTokenPtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideServiceToken) *string { +// IBX Code +func (o ConnectionASideAccessPointLocationPtrOutput) Ibx() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointLocation) *string { if v == nil { return nil } - return v.Description + return v.Ibx }).(pulumi.StringPtrOutput) } -// Connection URI information -func (o ConnectionASideServiceTokenPtrOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideServiceToken) *string { +// Access point metro code +func (o ConnectionASideAccessPointLocationPtrOutput) MetroCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointLocation) *string { if v == nil { return nil } - return v.Href + return v.MetroCode }).(pulumi.StringPtrOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionASideServiceTokenPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideServiceToken) *string { +// Access point metro name +func (o ConnectionASideAccessPointLocationPtrOutput) MetroName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointLocation) *string { if v == nil { return nil } - return v.Type + return v.MetroName }).(pulumi.StringPtrOutput) } -func (o ConnectionASideServiceTokenPtrOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionASideServiceToken) *string { +// Access point region +func (o ConnectionASideAccessPointLocationPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointLocation) *string { if v == nil { return nil } - return v.Uuid + return v.Region }).(pulumi.StringPtrOutput) } -type ConnectionAccount struct { - AccountName *string `pulumi:"accountName"` - AccountNumber *int `pulumi:"accountNumber"` - GlobalCustId *string `pulumi:"globalCustId"` - GlobalOrgId *string `pulumi:"globalOrgId"` - GlobalOrganizationName *string `pulumi:"globalOrganizationName"` - OrgId *int `pulumi:"orgId"` - OrganizationName *string `pulumi:"organizationName"` +type ConnectionASideAccessPointNetwork struct { + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` } -// ConnectionAccountInput is an input type that accepts ConnectionAccountArgs and ConnectionAccountOutput values. -// You can construct a concrete instance of `ConnectionAccountInput` via: +// ConnectionASideAccessPointNetworkInput is an input type that accepts ConnectionASideAccessPointNetworkArgs and ConnectionASideAccessPointNetworkOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointNetworkInput` via: // -// ConnectionAccountArgs{...} -type ConnectionAccountInput interface { +// ConnectionASideAccessPointNetworkArgs{...} +type ConnectionASideAccessPointNetworkInput interface { pulumi.Input - ToConnectionAccountOutput() ConnectionAccountOutput - ToConnectionAccountOutputWithContext(context.Context) ConnectionAccountOutput + ToConnectionASideAccessPointNetworkOutput() ConnectionASideAccessPointNetworkOutput + ToConnectionASideAccessPointNetworkOutputWithContext(context.Context) ConnectionASideAccessPointNetworkOutput } -type ConnectionAccountArgs struct { - AccountName pulumi.StringPtrInput `pulumi:"accountName"` - AccountNumber pulumi.IntPtrInput `pulumi:"accountNumber"` - GlobalCustId pulumi.StringPtrInput `pulumi:"globalCustId"` - GlobalOrgId pulumi.StringPtrInput `pulumi:"globalOrgId"` - GlobalOrganizationName pulumi.StringPtrInput `pulumi:"globalOrganizationName"` - OrgId pulumi.IntPtrInput `pulumi:"orgId"` - OrganizationName pulumi.StringPtrInput `pulumi:"organizationName"` +type ConnectionASideAccessPointNetworkArgs struct { + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` } -func (ConnectionAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionAccount)(nil)).Elem() +func (ConnectionASideAccessPointNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointNetwork)(nil)).Elem() } -func (i ConnectionAccountArgs) ToConnectionAccountOutput() ConnectionAccountOutput { - return i.ToConnectionAccountOutputWithContext(context.Background()) +func (i ConnectionASideAccessPointNetworkArgs) ToConnectionASideAccessPointNetworkOutput() ConnectionASideAccessPointNetworkOutput { + return i.ToConnectionASideAccessPointNetworkOutputWithContext(context.Background()) } -func (i ConnectionAccountArgs) ToConnectionAccountOutputWithContext(ctx context.Context) ConnectionAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionAccountOutput) +func (i ConnectionASideAccessPointNetworkArgs) ToConnectionASideAccessPointNetworkOutputWithContext(ctx context.Context) ConnectionASideAccessPointNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointNetworkOutput) } -func (i ConnectionAccountArgs) ToConnectionAccountPtrOutput() ConnectionAccountPtrOutput { - return i.ToConnectionAccountPtrOutputWithContext(context.Background()) +func (i ConnectionASideAccessPointNetworkArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointNetwork] { + return pulumix.Output[ConnectionASideAccessPointNetwork]{ + OutputState: i.ToConnectionASideAccessPointNetworkOutputWithContext(ctx).OutputState, + } } -func (i ConnectionAccountArgs) ToConnectionAccountPtrOutputWithContext(ctx context.Context) ConnectionAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionAccountOutput).ToConnectionAccountPtrOutputWithContext(ctx) +func (i ConnectionASideAccessPointNetworkArgs) ToConnectionASideAccessPointNetworkPtrOutput() ConnectionASideAccessPointNetworkPtrOutput { + return i.ToConnectionASideAccessPointNetworkPtrOutputWithContext(context.Background()) } -// ConnectionAccountPtrInput is an input type that accepts ConnectionAccountArgs, ConnectionAccountPtr and ConnectionAccountPtrOutput values. -// You can construct a concrete instance of `ConnectionAccountPtrInput` via: +func (i ConnectionASideAccessPointNetworkArgs) ToConnectionASideAccessPointNetworkPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointNetworkOutput).ToConnectionASideAccessPointNetworkPtrOutputWithContext(ctx) +} + +// ConnectionASideAccessPointNetworkPtrInput is an input type that accepts ConnectionASideAccessPointNetworkArgs, ConnectionASideAccessPointNetworkPtr and ConnectionASideAccessPointNetworkPtrOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointNetworkPtrInput` via: // -// ConnectionAccountArgs{...} +// ConnectionASideAccessPointNetworkArgs{...} // // or: // // nil -type ConnectionAccountPtrInput interface { +type ConnectionASideAccessPointNetworkPtrInput interface { pulumi.Input - ToConnectionAccountPtrOutput() ConnectionAccountPtrOutput - ToConnectionAccountPtrOutputWithContext(context.Context) ConnectionAccountPtrOutput + ToConnectionASideAccessPointNetworkPtrOutput() ConnectionASideAccessPointNetworkPtrOutput + ToConnectionASideAccessPointNetworkPtrOutputWithContext(context.Context) ConnectionASideAccessPointNetworkPtrOutput } -type connectionAccountPtrType ConnectionAccountArgs +type connectionASideAccessPointNetworkPtrType ConnectionASideAccessPointNetworkArgs -func ConnectionAccountPtr(v *ConnectionAccountArgs) ConnectionAccountPtrInput { - return (*connectionAccountPtrType)(v) +func ConnectionASideAccessPointNetworkPtr(v *ConnectionASideAccessPointNetworkArgs) ConnectionASideAccessPointNetworkPtrInput { + return (*connectionASideAccessPointNetworkPtrType)(v) } -func (*connectionAccountPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionAccount)(nil)).Elem() +func (*connectionASideAccessPointNetworkPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointNetwork)(nil)).Elem() } -func (i *connectionAccountPtrType) ToConnectionAccountPtrOutput() ConnectionAccountPtrOutput { - return i.ToConnectionAccountPtrOutputWithContext(context.Background()) +func (i *connectionASideAccessPointNetworkPtrType) ToConnectionASideAccessPointNetworkPtrOutput() ConnectionASideAccessPointNetworkPtrOutput { + return i.ToConnectionASideAccessPointNetworkPtrOutputWithContext(context.Background()) } -func (i *connectionAccountPtrType) ToConnectionAccountPtrOutputWithContext(ctx context.Context) ConnectionAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionAccountPtrOutput) +func (i *connectionASideAccessPointNetworkPtrType) ToConnectionASideAccessPointNetworkPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointNetworkPtrOutput) } -type ConnectionAccountOutput struct{ *pulumi.OutputState } +func (i *connectionASideAccessPointNetworkPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointNetwork] { + return pulumix.Output[*ConnectionASideAccessPointNetwork]{ + OutputState: i.ToConnectionASideAccessPointNetworkPtrOutputWithContext(ctx).OutputState, + } +} -func (ConnectionAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionAccount)(nil)).Elem() +type ConnectionASideAccessPointNetworkOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointNetwork)(nil)).Elem() } -func (o ConnectionAccountOutput) ToConnectionAccountOutput() ConnectionAccountOutput { +func (o ConnectionASideAccessPointNetworkOutput) ToConnectionASideAccessPointNetworkOutput() ConnectionASideAccessPointNetworkOutput { return o } -func (o ConnectionAccountOutput) ToConnectionAccountOutputWithContext(ctx context.Context) ConnectionAccountOutput { +func (o ConnectionASideAccessPointNetworkOutput) ToConnectionASideAccessPointNetworkOutputWithContext(ctx context.Context) ConnectionASideAccessPointNetworkOutput { return o } -func (o ConnectionAccountOutput) ToConnectionAccountPtrOutput() ConnectionAccountPtrOutput { - return o.ToConnectionAccountPtrOutputWithContext(context.Background()) +func (o ConnectionASideAccessPointNetworkOutput) ToConnectionASideAccessPointNetworkPtrOutput() ConnectionASideAccessPointNetworkPtrOutput { + return o.ToConnectionASideAccessPointNetworkPtrOutputWithContext(context.Background()) } -func (o ConnectionAccountOutput) ToConnectionAccountPtrOutputWithContext(ctx context.Context) ConnectionAccountPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionAccount) *ConnectionAccount { +func (o ConnectionASideAccessPointNetworkOutput) ToConnectionASideAccessPointNetworkPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointNetworkPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointNetwork) *ConnectionASideAccessPointNetwork { return &v - }).(ConnectionAccountPtrOutput) -} - -func (o ConnectionAccountOutput) AccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionAccount) *string { return v.AccountName }).(pulumi.StringPtrOutput) -} - -func (o ConnectionAccountOutput) AccountNumber() pulumi.IntPtrOutput { - return o.ApplyT(func(v ConnectionAccount) *int { return v.AccountNumber }).(pulumi.IntPtrOutput) + }).(ConnectionASideAccessPointNetworkPtrOutput) } -func (o ConnectionAccountOutput) GlobalCustId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionAccount) *string { return v.GlobalCustId }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointNetworkOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointNetwork] { + return pulumix.Output[ConnectionASideAccessPointNetwork]{ + OutputState: o.OutputState, + } } -func (o ConnectionAccountOutput) GlobalOrgId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionAccount) *string { return v.GlobalOrgId }).(pulumi.StringPtrOutput) +// Unique Resource Identifier +func (o ConnectionASideAccessPointNetworkOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointNetwork) *string { return v.Href }).(pulumi.StringPtrOutput) } -func (o ConnectionAccountOutput) GlobalOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionAccount) *string { return v.GlobalOrganizationName }).(pulumi.StringPtrOutput) +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointNetworkOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointNetwork) *string { return v.Uuid }).(pulumi.StringPtrOutput) } -func (o ConnectionAccountOutput) OrgId() pulumi.IntPtrOutput { - return o.ApplyT(func(v ConnectionAccount) *int { return v.OrgId }).(pulumi.IntPtrOutput) -} +type ConnectionASideAccessPointNetworkPtrOutput struct{ *pulumi.OutputState } -func (o ConnectionAccountOutput) OrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionAccount) *string { return v.OrganizationName }).(pulumi.StringPtrOutput) +func (ConnectionASideAccessPointNetworkPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointNetwork)(nil)).Elem() } -type ConnectionAccountPtrOutput struct{ *pulumi.OutputState } - -func (ConnectionAccountPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionAccount)(nil)).Elem() +func (o ConnectionASideAccessPointNetworkPtrOutput) ToConnectionASideAccessPointNetworkPtrOutput() ConnectionASideAccessPointNetworkPtrOutput { + return o } -func (o ConnectionAccountPtrOutput) ToConnectionAccountPtrOutput() ConnectionAccountPtrOutput { +func (o ConnectionASideAccessPointNetworkPtrOutput) ToConnectionASideAccessPointNetworkPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointNetworkPtrOutput { return o } -func (o ConnectionAccountPtrOutput) ToConnectionAccountPtrOutputWithContext(ctx context.Context) ConnectionAccountPtrOutput { - return o +func (o ConnectionASideAccessPointNetworkPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointNetwork] { + return pulumix.Output[*ConnectionASideAccessPointNetwork]{ + OutputState: o.OutputState, + } } -func (o ConnectionAccountPtrOutput) Elem() ConnectionAccountOutput { - return o.ApplyT(func(v *ConnectionAccount) ConnectionAccount { +func (o ConnectionASideAccessPointNetworkPtrOutput) Elem() ConnectionASideAccessPointNetworkOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointNetwork) ConnectionASideAccessPointNetwork { if v != nil { return *v } - var ret ConnectionAccount + var ret ConnectionASideAccessPointNetwork return ret - }).(ConnectionAccountOutput) + }).(ConnectionASideAccessPointNetworkOutput) } -func (o ConnectionAccountPtrOutput) AccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionAccount) *string { +// Unique Resource Identifier +func (o ConnectionASideAccessPointNetworkPtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointNetwork) *string { if v == nil { return nil } - return v.AccountName + return v.Href }).(pulumi.StringPtrOutput) } -func (o ConnectionAccountPtrOutput) AccountNumber() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ConnectionAccount) *int { - if v == nil { - return nil - } - return v.AccountNumber - }).(pulumi.IntPtrOutput) -} - -func (o ConnectionAccountPtrOutput) GlobalCustId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionAccount) *string { +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointNetworkPtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointNetwork) *string { if v == nil { return nil } - return v.GlobalCustId + return v.Uuid }).(pulumi.StringPtrOutput) } -func (o ConnectionAccountPtrOutput) GlobalOrgId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionAccount) *string { - if v == nil { - return nil - } - return v.GlobalOrgId - }).(pulumi.StringPtrOutput) +type ConnectionASideAccessPointPort struct { + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Port name + Name *string `pulumi:"name"` + // Redundancy Information + Redundancies []ConnectionASideAccessPointPortRedundancy `pulumi:"redundancies"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` } -func (o ConnectionAccountPtrOutput) GlobalOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionAccount) *string { - if v == nil { - return nil - } - return v.GlobalOrganizationName - }).(pulumi.StringPtrOutput) -} +// ConnectionASideAccessPointPortInput is an input type that accepts ConnectionASideAccessPointPortArgs and ConnectionASideAccessPointPortOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointPortInput` via: +// +// ConnectionASideAccessPointPortArgs{...} +type ConnectionASideAccessPointPortInput interface { + pulumi.Input -func (o ConnectionAccountPtrOutput) OrgId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ConnectionAccount) *int { - if v == nil { - return nil - } - return v.OrgId - }).(pulumi.IntPtrOutput) + ToConnectionASideAccessPointPortOutput() ConnectionASideAccessPointPortOutput + ToConnectionASideAccessPointPortOutputWithContext(context.Context) ConnectionASideAccessPointPortOutput } -func (o ConnectionAccountPtrOutput) OrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionAccount) *string { - if v == nil { - return nil - } - return v.OrganizationName - }).(pulumi.StringPtrOutput) +type ConnectionASideAccessPointPortArgs struct { + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Port name + Name pulumi.StringPtrInput `pulumi:"name"` + // Redundancy Information + Redundancies ConnectionASideAccessPointPortRedundancyArrayInput `pulumi:"redundancies"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` } -type ConnectionAdditionalInfo struct { - // Additional information key - Key *string `pulumi:"key"` - // Additional information value - Value *string `pulumi:"value"` +func (ConnectionASideAccessPointPortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointPort)(nil)).Elem() } -// ConnectionAdditionalInfoInput is an input type that accepts ConnectionAdditionalInfoArgs and ConnectionAdditionalInfoOutput values. -// You can construct a concrete instance of `ConnectionAdditionalInfoInput` via: -// -// ConnectionAdditionalInfoArgs{...} -type ConnectionAdditionalInfoInput interface { - pulumi.Input - - ToConnectionAdditionalInfoOutput() ConnectionAdditionalInfoOutput - ToConnectionAdditionalInfoOutputWithContext(context.Context) ConnectionAdditionalInfoOutput +func (i ConnectionASideAccessPointPortArgs) ToConnectionASideAccessPointPortOutput() ConnectionASideAccessPointPortOutput { + return i.ToConnectionASideAccessPointPortOutputWithContext(context.Background()) } -type ConnectionAdditionalInfoArgs struct { - // Additional information key - Key pulumi.StringPtrInput `pulumi:"key"` - // Additional information value - Value pulumi.StringPtrInput `pulumi:"value"` +func (i ConnectionASideAccessPointPortArgs) ToConnectionASideAccessPointPortOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointPortOutput) } -func (ConnectionAdditionalInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionAdditionalInfo)(nil)).Elem() +func (i ConnectionASideAccessPointPortArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointPort] { + return pulumix.Output[ConnectionASideAccessPointPort]{ + OutputState: i.ToConnectionASideAccessPointPortOutputWithContext(ctx).OutputState, + } } -func (i ConnectionAdditionalInfoArgs) ToConnectionAdditionalInfoOutput() ConnectionAdditionalInfoOutput { - return i.ToConnectionAdditionalInfoOutputWithContext(context.Background()) +func (i ConnectionASideAccessPointPortArgs) ToConnectionASideAccessPointPortPtrOutput() ConnectionASideAccessPointPortPtrOutput { + return i.ToConnectionASideAccessPointPortPtrOutputWithContext(context.Background()) } -func (i ConnectionAdditionalInfoArgs) ToConnectionAdditionalInfoOutputWithContext(ctx context.Context) ConnectionAdditionalInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionAdditionalInfoOutput) +func (i ConnectionASideAccessPointPortArgs) ToConnectionASideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointPortOutput).ToConnectionASideAccessPointPortPtrOutputWithContext(ctx) } -// ConnectionAdditionalInfoArrayInput is an input type that accepts ConnectionAdditionalInfoArray and ConnectionAdditionalInfoArrayOutput values. -// You can construct a concrete instance of `ConnectionAdditionalInfoArrayInput` via: +// ConnectionASideAccessPointPortPtrInput is an input type that accepts ConnectionASideAccessPointPortArgs, ConnectionASideAccessPointPortPtr and ConnectionASideAccessPointPortPtrOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointPortPtrInput` via: +// +// ConnectionASideAccessPointPortArgs{...} +// +// or: // -// ConnectionAdditionalInfoArray{ ConnectionAdditionalInfoArgs{...} } -type ConnectionAdditionalInfoArrayInput interface { +// nil +type ConnectionASideAccessPointPortPtrInput interface { pulumi.Input - ToConnectionAdditionalInfoArrayOutput() ConnectionAdditionalInfoArrayOutput - ToConnectionAdditionalInfoArrayOutputWithContext(context.Context) ConnectionAdditionalInfoArrayOutput + ToConnectionASideAccessPointPortPtrOutput() ConnectionASideAccessPointPortPtrOutput + ToConnectionASideAccessPointPortPtrOutputWithContext(context.Context) ConnectionASideAccessPointPortPtrOutput } -type ConnectionAdditionalInfoArray []ConnectionAdditionalInfoInput +type connectionASideAccessPointPortPtrType ConnectionASideAccessPointPortArgs -func (ConnectionAdditionalInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionAdditionalInfo)(nil)).Elem() +func ConnectionASideAccessPointPortPtr(v *ConnectionASideAccessPointPortArgs) ConnectionASideAccessPointPortPtrInput { + return (*connectionASideAccessPointPortPtrType)(v) } -func (i ConnectionAdditionalInfoArray) ToConnectionAdditionalInfoArrayOutput() ConnectionAdditionalInfoArrayOutput { - return i.ToConnectionAdditionalInfoArrayOutputWithContext(context.Background()) +func (*connectionASideAccessPointPortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointPort)(nil)).Elem() } -func (i ConnectionAdditionalInfoArray) ToConnectionAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionAdditionalInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionAdditionalInfoArrayOutput) +func (i *connectionASideAccessPointPortPtrType) ToConnectionASideAccessPointPortPtrOutput() ConnectionASideAccessPointPortPtrOutput { + return i.ToConnectionASideAccessPointPortPtrOutputWithContext(context.Background()) } -type ConnectionAdditionalInfoOutput struct{ *pulumi.OutputState } +func (i *connectionASideAccessPointPortPtrType) ToConnectionASideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointPortPtrOutput) +} -func (ConnectionAdditionalInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionAdditionalInfo)(nil)).Elem() +func (i *connectionASideAccessPointPortPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointPort] { + return pulumix.Output[*ConnectionASideAccessPointPort]{ + OutputState: i.ToConnectionASideAccessPointPortPtrOutputWithContext(ctx).OutputState, + } } -func (o ConnectionAdditionalInfoOutput) ToConnectionAdditionalInfoOutput() ConnectionAdditionalInfoOutput { - return o +type ConnectionASideAccessPointPortOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointPortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointPort)(nil)).Elem() } -func (o ConnectionAdditionalInfoOutput) ToConnectionAdditionalInfoOutputWithContext(ctx context.Context) ConnectionAdditionalInfoOutput { +func (o ConnectionASideAccessPointPortOutput) ToConnectionASideAccessPointPortOutput() ConnectionASideAccessPointPortOutput { return o } -// Additional information key -func (o ConnectionAdditionalInfoOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionAdditionalInfo) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointPortOutput) ToConnectionASideAccessPointPortOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortOutput { + return o } -// Additional information value -func (o ConnectionAdditionalInfoOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionAdditionalInfo) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointPortOutput) ToConnectionASideAccessPointPortPtrOutput() ConnectionASideAccessPointPortPtrOutput { + return o.ToConnectionASideAccessPointPortPtrOutputWithContext(context.Background()) } -type ConnectionAdditionalInfoArrayOutput struct{ *pulumi.OutputState } - -func (ConnectionAdditionalInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionAdditionalInfo)(nil)).Elem() +func (o ConnectionASideAccessPointPortOutput) ToConnectionASideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointPort) *ConnectionASideAccessPointPort { + return &v + }).(ConnectionASideAccessPointPortPtrOutput) } -func (o ConnectionAdditionalInfoArrayOutput) ToConnectionAdditionalInfoArrayOutput() ConnectionAdditionalInfoArrayOutput { - return o +func (o ConnectionASideAccessPointPortOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointPort] { + return pulumix.Output[ConnectionASideAccessPointPort]{ + OutputState: o.OutputState, + } } -func (o ConnectionAdditionalInfoArrayOutput) ToConnectionAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionAdditionalInfoArrayOutput { - return o +// Unique Resource Identifier +func (o ConnectionASideAccessPointPortOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointPort) *string { return v.Href }).(pulumi.StringPtrOutput) } -func (o ConnectionAdditionalInfoArrayOutput) Index(i pulumi.IntInput) ConnectionAdditionalInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionAdditionalInfo { - return vs[0].([]ConnectionAdditionalInfo)[vs[1].(int)] - }).(ConnectionAdditionalInfoOutput) +// Port name +func (o ConnectionASideAccessPointPortOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointPort) *string { return v.Name }).(pulumi.StringPtrOutput) } -type ConnectionChangeLog struct { - CreatedBy *string `pulumi:"createdBy"` - CreatedByEmail *string `pulumi:"createdByEmail"` - CreatedByFullName *string `pulumi:"createdByFullName"` - CreatedDateTime *string `pulumi:"createdDateTime"` - DeletedBy *string `pulumi:"deletedBy"` - DeletedByEmail *string `pulumi:"deletedByEmail"` - DeletedByFullName *string `pulumi:"deletedByFullName"` - DeletedDateTime *string `pulumi:"deletedDateTime"` - UpdatedBy *string `pulumi:"updatedBy"` - UpdatedByEmail *string `pulumi:"updatedByEmail"` - UpdatedByFullName *string `pulumi:"updatedByFullName"` - UpdatedDateTime *string `pulumi:"updatedDateTime"` +// Redundancy Information +func (o ConnectionASideAccessPointPortOutput) Redundancies() ConnectionASideAccessPointPortRedundancyArrayOutput { + return o.ApplyT(func(v ConnectionASideAccessPointPort) []ConnectionASideAccessPointPortRedundancy { + return v.Redundancies + }).(ConnectionASideAccessPointPortRedundancyArrayOutput) } -// ConnectionChangeLogInput is an input type that accepts ConnectionChangeLogArgs and ConnectionChangeLogOutput values. -// You can construct a concrete instance of `ConnectionChangeLogInput` via: -// -// ConnectionChangeLogArgs{...} -type ConnectionChangeLogInput interface { - pulumi.Input - - ToConnectionChangeLogOutput() ConnectionChangeLogOutput - ToConnectionChangeLogOutputWithContext(context.Context) ConnectionChangeLogOutput +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointPortOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointPort) *string { return v.Uuid }).(pulumi.StringPtrOutput) } -type ConnectionChangeLogArgs struct { - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - CreatedByEmail pulumi.StringPtrInput `pulumi:"createdByEmail"` - CreatedByFullName pulumi.StringPtrInput `pulumi:"createdByFullName"` - CreatedDateTime pulumi.StringPtrInput `pulumi:"createdDateTime"` - DeletedBy pulumi.StringPtrInput `pulumi:"deletedBy"` - DeletedByEmail pulumi.StringPtrInput `pulumi:"deletedByEmail"` - DeletedByFullName pulumi.StringPtrInput `pulumi:"deletedByFullName"` - DeletedDateTime pulumi.StringPtrInput `pulumi:"deletedDateTime"` - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` - UpdatedByEmail pulumi.StringPtrInput `pulumi:"updatedByEmail"` - UpdatedByFullName pulumi.StringPtrInput `pulumi:"updatedByFullName"` - UpdatedDateTime pulumi.StringPtrInput `pulumi:"updatedDateTime"` -} +type ConnectionASideAccessPointPortPtrOutput struct{ *pulumi.OutputState } -func (ConnectionChangeLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionChangeLog)(nil)).Elem() +func (ConnectionASideAccessPointPortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointPort)(nil)).Elem() } -func (i ConnectionChangeLogArgs) ToConnectionChangeLogOutput() ConnectionChangeLogOutput { - return i.ToConnectionChangeLogOutputWithContext(context.Background()) +func (o ConnectionASideAccessPointPortPtrOutput) ToConnectionASideAccessPointPortPtrOutput() ConnectionASideAccessPointPortPtrOutput { + return o } -func (i ConnectionChangeLogArgs) ToConnectionChangeLogOutputWithContext(ctx context.Context) ConnectionChangeLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionChangeLogOutput) +func (o ConnectionASideAccessPointPortPtrOutput) ToConnectionASideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortPtrOutput { + return o } -func (i ConnectionChangeLogArgs) ToConnectionChangeLogPtrOutput() ConnectionChangeLogPtrOutput { - return i.ToConnectionChangeLogPtrOutputWithContext(context.Background()) +func (o ConnectionASideAccessPointPortPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointPort] { + return pulumix.Output[*ConnectionASideAccessPointPort]{ + OutputState: o.OutputState, + } } -func (i ConnectionChangeLogArgs) ToConnectionChangeLogPtrOutputWithContext(ctx context.Context) ConnectionChangeLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionChangeLogOutput).ToConnectionChangeLogPtrOutputWithContext(ctx) +func (o ConnectionASideAccessPointPortPtrOutput) Elem() ConnectionASideAccessPointPortOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointPort) ConnectionASideAccessPointPort { + if v != nil { + return *v + } + var ret ConnectionASideAccessPointPort + return ret + }).(ConnectionASideAccessPointPortOutput) } -// ConnectionChangeLogPtrInput is an input type that accepts ConnectionChangeLogArgs, ConnectionChangeLogPtr and ConnectionChangeLogPtrOutput values. -// You can construct a concrete instance of `ConnectionChangeLogPtrInput` via: -// -// ConnectionChangeLogArgs{...} -// -// or: -// -// nil -type ConnectionChangeLogPtrInput interface { - pulumi.Input - - ToConnectionChangeLogPtrOutput() ConnectionChangeLogPtrOutput - ToConnectionChangeLogPtrOutputWithContext(context.Context) ConnectionChangeLogPtrOutput +// Unique Resource Identifier +func (o ConnectionASideAccessPointPortPtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointPort) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) } -type connectionChangeLogPtrType ConnectionChangeLogArgs - -func ConnectionChangeLogPtr(v *ConnectionChangeLogArgs) ConnectionChangeLogPtrInput { - return (*connectionChangeLogPtrType)(v) +// Port name +func (o ConnectionASideAccessPointPortPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointPort) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -func (*connectionChangeLogPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionChangeLog)(nil)).Elem() +// Redundancy Information +func (o ConnectionASideAccessPointPortPtrOutput) Redundancies() ConnectionASideAccessPointPortRedundancyArrayOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointPort) []ConnectionASideAccessPointPortRedundancy { + if v == nil { + return nil + } + return v.Redundancies + }).(ConnectionASideAccessPointPortRedundancyArrayOutput) } -func (i *connectionChangeLogPtrType) ToConnectionChangeLogPtrOutput() ConnectionChangeLogPtrOutput { - return i.ToConnectionChangeLogPtrOutputWithContext(context.Background()) +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointPortPtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointPort) *string { + if v == nil { + return nil + } + return v.Uuid + }).(pulumi.StringPtrOutput) } -func (i *connectionChangeLogPtrType) ToConnectionChangeLogPtrOutputWithContext(ctx context.Context) ConnectionChangeLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionChangeLogPtrOutput) +type ConnectionASideAccessPointPortRedundancy struct { + // Priority type- PRIMARY, SECONDARY + Priority *string `pulumi:"priority"` } -type ConnectionChangeLogOutput struct{ *pulumi.OutputState } +// ConnectionASideAccessPointPortRedundancyInput is an input type that accepts ConnectionASideAccessPointPortRedundancyArgs and ConnectionASideAccessPointPortRedundancyOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointPortRedundancyInput` via: +// +// ConnectionASideAccessPointPortRedundancyArgs{...} +type ConnectionASideAccessPointPortRedundancyInput interface { + pulumi.Input -func (ConnectionChangeLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionChangeLog)(nil)).Elem() + ToConnectionASideAccessPointPortRedundancyOutput() ConnectionASideAccessPointPortRedundancyOutput + ToConnectionASideAccessPointPortRedundancyOutputWithContext(context.Context) ConnectionASideAccessPointPortRedundancyOutput } -func (o ConnectionChangeLogOutput) ToConnectionChangeLogOutput() ConnectionChangeLogOutput { - return o +type ConnectionASideAccessPointPortRedundancyArgs struct { + // Priority type- PRIMARY, SECONDARY + Priority pulumi.StringPtrInput `pulumi:"priority"` } -func (o ConnectionChangeLogOutput) ToConnectionChangeLogOutputWithContext(ctx context.Context) ConnectionChangeLogOutput { - return o +func (ConnectionASideAccessPointPortRedundancyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointPortRedundancy)(nil)).Elem() } -func (o ConnectionChangeLogOutput) ToConnectionChangeLogPtrOutput() ConnectionChangeLogPtrOutput { - return o.ToConnectionChangeLogPtrOutputWithContext(context.Background()) +func (i ConnectionASideAccessPointPortRedundancyArgs) ToConnectionASideAccessPointPortRedundancyOutput() ConnectionASideAccessPointPortRedundancyOutput { + return i.ToConnectionASideAccessPointPortRedundancyOutputWithContext(context.Background()) } -func (o ConnectionChangeLogOutput) ToConnectionChangeLogPtrOutputWithContext(ctx context.Context) ConnectionChangeLogPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionChangeLog) *ConnectionChangeLog { - return &v - }).(ConnectionChangeLogPtrOutput) +func (i ConnectionASideAccessPointPortRedundancyArgs) ToConnectionASideAccessPointPortRedundancyOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortRedundancyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointPortRedundancyOutput) } -func (o ConnectionChangeLogOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionChangeLog) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +func (i ConnectionASideAccessPointPortRedundancyArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointPortRedundancy] { + return pulumix.Output[ConnectionASideAccessPointPortRedundancy]{ + OutputState: i.ToConnectionASideAccessPointPortRedundancyOutputWithContext(ctx).OutputState, + } } -func (o ConnectionChangeLogOutput) CreatedByEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionChangeLog) *string { return v.CreatedByEmail }).(pulumi.StringPtrOutput) -} +// ConnectionASideAccessPointPortRedundancyArrayInput is an input type that accepts ConnectionASideAccessPointPortRedundancyArray and ConnectionASideAccessPointPortRedundancyArrayOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointPortRedundancyArrayInput` via: +// +// ConnectionASideAccessPointPortRedundancyArray{ ConnectionASideAccessPointPortRedundancyArgs{...} } +type ConnectionASideAccessPointPortRedundancyArrayInput interface { + pulumi.Input -func (o ConnectionChangeLogOutput) CreatedByFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionChangeLog) *string { return v.CreatedByFullName }).(pulumi.StringPtrOutput) + ToConnectionASideAccessPointPortRedundancyArrayOutput() ConnectionASideAccessPointPortRedundancyArrayOutput + ToConnectionASideAccessPointPortRedundancyArrayOutputWithContext(context.Context) ConnectionASideAccessPointPortRedundancyArrayOutput } -func (o ConnectionChangeLogOutput) CreatedDateTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionChangeLog) *string { return v.CreatedDateTime }).(pulumi.StringPtrOutput) +type ConnectionASideAccessPointPortRedundancyArray []ConnectionASideAccessPointPortRedundancyInput + +func (ConnectionASideAccessPointPortRedundancyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionASideAccessPointPortRedundancy)(nil)).Elem() } -func (o ConnectionChangeLogOutput) DeletedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionChangeLog) *string { return v.DeletedBy }).(pulumi.StringPtrOutput) +func (i ConnectionASideAccessPointPortRedundancyArray) ToConnectionASideAccessPointPortRedundancyArrayOutput() ConnectionASideAccessPointPortRedundancyArrayOutput { + return i.ToConnectionASideAccessPointPortRedundancyArrayOutputWithContext(context.Background()) } -func (o ConnectionChangeLogOutput) DeletedByEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionChangeLog) *string { return v.DeletedByEmail }).(pulumi.StringPtrOutput) +func (i ConnectionASideAccessPointPortRedundancyArray) ToConnectionASideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortRedundancyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointPortRedundancyArrayOutput) } -func (o ConnectionChangeLogOutput) DeletedByFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionChangeLog) *string { return v.DeletedByFullName }).(pulumi.StringPtrOutput) +func (i ConnectionASideAccessPointPortRedundancyArray) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionASideAccessPointPortRedundancy] { + return pulumix.Output[[]ConnectionASideAccessPointPortRedundancy]{ + OutputState: i.ToConnectionASideAccessPointPortRedundancyArrayOutputWithContext(ctx).OutputState, + } } -func (o ConnectionChangeLogOutput) DeletedDateTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionChangeLog) *string { return v.DeletedDateTime }).(pulumi.StringPtrOutput) +type ConnectionASideAccessPointPortRedundancyOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointPortRedundancyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointPortRedundancy)(nil)).Elem() } -func (o ConnectionChangeLogOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionChangeLog) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointPortRedundancyOutput) ToConnectionASideAccessPointPortRedundancyOutput() ConnectionASideAccessPointPortRedundancyOutput { + return o } -func (o ConnectionChangeLogOutput) UpdatedByEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionChangeLog) *string { return v.UpdatedByEmail }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointPortRedundancyOutput) ToConnectionASideAccessPointPortRedundancyOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortRedundancyOutput { + return o } -func (o ConnectionChangeLogOutput) UpdatedByFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionChangeLog) *string { return v.UpdatedByFullName }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointPortRedundancyOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointPortRedundancy] { + return pulumix.Output[ConnectionASideAccessPointPortRedundancy]{ + OutputState: o.OutputState, + } } -func (o ConnectionChangeLogOutput) UpdatedDateTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionChangeLog) *string { return v.UpdatedDateTime }).(pulumi.StringPtrOutput) +// Priority type- PRIMARY, SECONDARY +func (o ConnectionASideAccessPointPortRedundancyOutput) Priority() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointPortRedundancy) *string { return v.Priority }).(pulumi.StringPtrOutput) } -type ConnectionChangeLogPtrOutput struct{ *pulumi.OutputState } +type ConnectionASideAccessPointPortRedundancyArrayOutput struct{ *pulumi.OutputState } -func (ConnectionChangeLogPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionChangeLog)(nil)).Elem() +func (ConnectionASideAccessPointPortRedundancyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionASideAccessPointPortRedundancy)(nil)).Elem() } -func (o ConnectionChangeLogPtrOutput) ToConnectionChangeLogPtrOutput() ConnectionChangeLogPtrOutput { +func (o ConnectionASideAccessPointPortRedundancyArrayOutput) ToConnectionASideAccessPointPortRedundancyArrayOutput() ConnectionASideAccessPointPortRedundancyArrayOutput { return o } -func (o ConnectionChangeLogPtrOutput) ToConnectionChangeLogPtrOutputWithContext(ctx context.Context) ConnectionChangeLogPtrOutput { +func (o ConnectionASideAccessPointPortRedundancyArrayOutput) ToConnectionASideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) ConnectionASideAccessPointPortRedundancyArrayOutput { return o } -func (o ConnectionChangeLogPtrOutput) Elem() ConnectionChangeLogOutput { - return o.ApplyT(func(v *ConnectionChangeLog) ConnectionChangeLog { - if v != nil { - return *v - } - var ret ConnectionChangeLog - return ret - }).(ConnectionChangeLogOutput) +func (o ConnectionASideAccessPointPortRedundancyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionASideAccessPointPortRedundancy] { + return pulumix.Output[[]ConnectionASideAccessPointPortRedundancy]{ + OutputState: o.OutputState, + } } -func (o ConnectionChangeLogPtrOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionChangeLog) *string { - if v == nil { - return nil - } - return v.CreatedBy - }).(pulumi.StringPtrOutput) +func (o ConnectionASideAccessPointPortRedundancyArrayOutput) Index(i pulumi.IntInput) ConnectionASideAccessPointPortRedundancyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionASideAccessPointPortRedundancy { + return vs[0].([]ConnectionASideAccessPointPortRedundancy)[vs[1].(int)] + }).(ConnectionASideAccessPointPortRedundancyOutput) } -func (o ConnectionChangeLogPtrOutput) CreatedByEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionChangeLog) *string { - if v == nil { - return nil - } - return v.CreatedByEmail - }).(pulumi.StringPtrOutput) +type ConnectionASideAccessPointProfile struct { + // Access point config information + AccessPointTypeConfigs []ConnectionASideAccessPointProfileAccessPointTypeConfig `pulumi:"accessPointTypeConfigs"` + // User-provided service description + Description *string `pulumi:"description"` + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Port name + Name *string `pulumi:"name"` + // Interface type + Type string `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid string `pulumi:"uuid"` } -func (o ConnectionChangeLogPtrOutput) CreatedByFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionChangeLog) *string { - if v == nil { - return nil - } - return v.CreatedByFullName - }).(pulumi.StringPtrOutput) -} +// ConnectionASideAccessPointProfileInput is an input type that accepts ConnectionASideAccessPointProfileArgs and ConnectionASideAccessPointProfileOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointProfileInput` via: +// +// ConnectionASideAccessPointProfileArgs{...} +type ConnectionASideAccessPointProfileInput interface { + pulumi.Input -func (o ConnectionChangeLogPtrOutput) CreatedDateTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionChangeLog) *string { - if v == nil { - return nil - } - return v.CreatedDateTime - }).(pulumi.StringPtrOutput) + ToConnectionASideAccessPointProfileOutput() ConnectionASideAccessPointProfileOutput + ToConnectionASideAccessPointProfileOutputWithContext(context.Context) ConnectionASideAccessPointProfileOutput } -func (o ConnectionChangeLogPtrOutput) DeletedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionChangeLog) *string { - if v == nil { - return nil - } - return v.DeletedBy - }).(pulumi.StringPtrOutput) +type ConnectionASideAccessPointProfileArgs struct { + // Access point config information + AccessPointTypeConfigs ConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput `pulumi:"accessPointTypeConfigs"` + // User-provided service description + Description pulumi.StringPtrInput `pulumi:"description"` + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Port name + Name pulumi.StringPtrInput `pulumi:"name"` + // Interface type + Type pulumi.StringInput `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid pulumi.StringInput `pulumi:"uuid"` } -func (o ConnectionChangeLogPtrOutput) DeletedByEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionChangeLog) *string { - if v == nil { - return nil - } - return v.DeletedByEmail - }).(pulumi.StringPtrOutput) +func (ConnectionASideAccessPointProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointProfile)(nil)).Elem() } -func (o ConnectionChangeLogPtrOutput) DeletedByFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionChangeLog) *string { - if v == nil { - return nil - } - return v.DeletedByFullName - }).(pulumi.StringPtrOutput) +func (i ConnectionASideAccessPointProfileArgs) ToConnectionASideAccessPointProfileOutput() ConnectionASideAccessPointProfileOutput { + return i.ToConnectionASideAccessPointProfileOutputWithContext(context.Background()) } -func (o ConnectionChangeLogPtrOutput) DeletedDateTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionChangeLog) *string { - if v == nil { - return nil - } - return v.DeletedDateTime - }).(pulumi.StringPtrOutput) +func (i ConnectionASideAccessPointProfileArgs) ToConnectionASideAccessPointProfileOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointProfileOutput) } -func (o ConnectionChangeLogPtrOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionChangeLog) *string { - if v == nil { - return nil - } - return v.UpdatedBy - }).(pulumi.StringPtrOutput) +func (i ConnectionASideAccessPointProfileArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointProfile] { + return pulumix.Output[ConnectionASideAccessPointProfile]{ + OutputState: i.ToConnectionASideAccessPointProfileOutputWithContext(ctx).OutputState, + } } -func (o ConnectionChangeLogPtrOutput) UpdatedByEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionChangeLog) *string { - if v == nil { - return nil - } - return v.UpdatedByEmail - }).(pulumi.StringPtrOutput) +func (i ConnectionASideAccessPointProfileArgs) ToConnectionASideAccessPointProfilePtrOutput() ConnectionASideAccessPointProfilePtrOutput { + return i.ToConnectionASideAccessPointProfilePtrOutputWithContext(context.Background()) } -func (o ConnectionChangeLogPtrOutput) UpdatedByFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionChangeLog) *string { - if v == nil { - return nil - } - return v.UpdatedByFullName - }).(pulumi.StringPtrOutput) +func (i ConnectionASideAccessPointProfileArgs) ToConnectionASideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointProfileOutput).ToConnectionASideAccessPointProfilePtrOutputWithContext(ctx) } -func (o ConnectionChangeLogPtrOutput) UpdatedDateTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionChangeLog) *string { - if v == nil { - return nil - } - return v.UpdatedDateTime - }).(pulumi.StringPtrOutput) -} +// ConnectionASideAccessPointProfilePtrInput is an input type that accepts ConnectionASideAccessPointProfileArgs, ConnectionASideAccessPointProfilePtr and ConnectionASideAccessPointProfilePtrOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointProfilePtrInput` via: +// +// ConnectionASideAccessPointProfileArgs{...} +// +// or: +// +// nil +type ConnectionASideAccessPointProfilePtrInput interface { + pulumi.Input -type ConnectionNotification struct { - // Array of contact emails - Emails []string `pulumi:"emails"` - // Send interval - SendInterval *string `pulumi:"sendInterval"` - // Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS - Type string `pulumi:"type"` + ToConnectionASideAccessPointProfilePtrOutput() ConnectionASideAccessPointProfilePtrOutput + ToConnectionASideAccessPointProfilePtrOutputWithContext(context.Context) ConnectionASideAccessPointProfilePtrOutput } -// ConnectionNotificationInput is an input type that accepts ConnectionNotificationArgs and ConnectionNotificationOutput values. -// You can construct a concrete instance of `ConnectionNotificationInput` via: -// -// ConnectionNotificationArgs{...} -type ConnectionNotificationInput interface { - pulumi.Input +type connectionASideAccessPointProfilePtrType ConnectionASideAccessPointProfileArgs - ToConnectionNotificationOutput() ConnectionNotificationOutput - ToConnectionNotificationOutputWithContext(context.Context) ConnectionNotificationOutput +func ConnectionASideAccessPointProfilePtr(v *ConnectionASideAccessPointProfileArgs) ConnectionASideAccessPointProfilePtrInput { + return (*connectionASideAccessPointProfilePtrType)(v) } -type ConnectionNotificationArgs struct { +func (*connectionASideAccessPointProfilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointProfile)(nil)).Elem() +} + +func (i *connectionASideAccessPointProfilePtrType) ToConnectionASideAccessPointProfilePtrOutput() ConnectionASideAccessPointProfilePtrOutput { + return i.ToConnectionASideAccessPointProfilePtrOutputWithContext(context.Background()) +} + +func (i *connectionASideAccessPointProfilePtrType) ToConnectionASideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointProfilePtrOutput) +} + +func (i *connectionASideAccessPointProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointProfile] { + return pulumix.Output[*ConnectionASideAccessPointProfile]{ + OutputState: i.ToConnectionASideAccessPointProfilePtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionASideAccessPointProfileOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointProfile)(nil)).Elem() +} + +func (o ConnectionASideAccessPointProfileOutput) ToConnectionASideAccessPointProfileOutput() ConnectionASideAccessPointProfileOutput { + return o +} + +func (o ConnectionASideAccessPointProfileOutput) ToConnectionASideAccessPointProfileOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfileOutput { + return o +} + +func (o ConnectionASideAccessPointProfileOutput) ToConnectionASideAccessPointProfilePtrOutput() ConnectionASideAccessPointProfilePtrOutput { + return o.ToConnectionASideAccessPointProfilePtrOutputWithContext(context.Background()) +} + +func (o ConnectionASideAccessPointProfileOutput) ToConnectionASideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointProfile) *ConnectionASideAccessPointProfile { + return &v + }).(ConnectionASideAccessPointProfilePtrOutput) +} + +func (o ConnectionASideAccessPointProfileOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointProfile] { + return pulumix.Output[ConnectionASideAccessPointProfile]{ + OutputState: o.OutputState, + } +} + +// Access point config information +func (o ConnectionASideAccessPointProfileOutput) AccessPointTypeConfigs() ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { + return o.ApplyT(func(v ConnectionASideAccessPointProfile) []ConnectionASideAccessPointProfileAccessPointTypeConfig { + return v.AccessPointTypeConfigs + }).(ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) +} + +// User-provided service description +func (o ConnectionASideAccessPointProfileOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointProfile) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// Unique Resource Identifier +func (o ConnectionASideAccessPointProfileOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointProfile) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +// Port name +func (o ConnectionASideAccessPointProfileOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointProfile) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionASideAccessPointProfileOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v ConnectionASideAccessPointProfile) string { return v.Type }).(pulumi.StringOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointProfileOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v ConnectionASideAccessPointProfile) string { return v.Uuid }).(pulumi.StringOutput) +} + +type ConnectionASideAccessPointProfilePtrOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointProfilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointProfile)(nil)).Elem() +} + +func (o ConnectionASideAccessPointProfilePtrOutput) ToConnectionASideAccessPointProfilePtrOutput() ConnectionASideAccessPointProfilePtrOutput { + return o +} + +func (o ConnectionASideAccessPointProfilePtrOutput) ToConnectionASideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfilePtrOutput { + return o +} + +func (o ConnectionASideAccessPointProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointProfile] { + return pulumix.Output[*ConnectionASideAccessPointProfile]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionASideAccessPointProfilePtrOutput) Elem() ConnectionASideAccessPointProfileOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointProfile) ConnectionASideAccessPointProfile { + if v != nil { + return *v + } + var ret ConnectionASideAccessPointProfile + return ret + }).(ConnectionASideAccessPointProfileOutput) +} + +// Access point config information +func (o ConnectionASideAccessPointProfilePtrOutput) AccessPointTypeConfigs() ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointProfile) []ConnectionASideAccessPointProfileAccessPointTypeConfig { + if v == nil { + return nil + } + return v.AccessPointTypeConfigs + }).(ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) +} + +// User-provided service description +func (o ConnectionASideAccessPointProfilePtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointProfile) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) +} + +// Unique Resource Identifier +func (o ConnectionASideAccessPointProfilePtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointProfile) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) +} + +// Port name +func (o ConnectionASideAccessPointProfilePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointProfile) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionASideAccessPointProfilePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointProfile) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointProfilePtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointProfile) *string { + if v == nil { + return nil + } + return &v.Uuid + }).(pulumi.StringPtrOutput) +} + +type ConnectionASideAccessPointProfileAccessPointTypeConfig struct { + // Interface type + Type *string `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionASideAccessPointProfileAccessPointTypeConfigInput is an input type that accepts ConnectionASideAccessPointProfileAccessPointTypeConfigArgs and ConnectionASideAccessPointProfileAccessPointTypeConfigOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointProfileAccessPointTypeConfigInput` via: +// +// ConnectionASideAccessPointProfileAccessPointTypeConfigArgs{...} +type ConnectionASideAccessPointProfileAccessPointTypeConfigInput interface { + pulumi.Input + + ToConnectionASideAccessPointProfileAccessPointTypeConfigOutput() ConnectionASideAccessPointProfileAccessPointTypeConfigOutput + ToConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Context) ConnectionASideAccessPointProfileAccessPointTypeConfigOutput +} + +type ConnectionASideAccessPointProfileAccessPointTypeConfigArgs struct { + // Interface type + Type pulumi.StringPtrInput `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +} + +func (i ConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ToConnectionASideAccessPointProfileAccessPointTypeConfigOutput() ConnectionASideAccessPointProfileAccessPointTypeConfigOutput { + return i.ToConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Background()) +} + +func (i ConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ToConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfileAccessPointTypeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) +} + +func (i ConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[ConnectionASideAccessPointProfileAccessPointTypeConfig]{ + OutputState: i.ToConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx).OutputState, + } +} + +// ConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput is an input type that accepts ConnectionASideAccessPointProfileAccessPointTypeConfigArray and ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput` via: +// +// ConnectionASideAccessPointProfileAccessPointTypeConfigArray{ ConnectionASideAccessPointProfileAccessPointTypeConfigArgs{...} } +type ConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput interface { + pulumi.Input + + ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput() ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput + ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Context) ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput +} + +type ConnectionASideAccessPointProfileAccessPointTypeConfigArray []ConnectionASideAccessPointProfileAccessPointTypeConfigInput + +func (ConnectionASideAccessPointProfileAccessPointTypeConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +} + +func (i ConnectionASideAccessPointProfileAccessPointTypeConfigArray) ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput() ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { + return i.ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Background()) +} + +func (i ConnectionASideAccessPointProfileAccessPointTypeConfigArray) ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) +} + +func (i ConnectionASideAccessPointProfileAccessPointTypeConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionASideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[[]ConnectionASideAccessPointProfileAccessPointTypeConfig]{ + OutputState: i.ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx).OutputState, + } +} + +type ConnectionASideAccessPointProfileAccessPointTypeConfigOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +} + +func (o ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ToConnectionASideAccessPointProfileAccessPointTypeConfigOutput() ConnectionASideAccessPointProfileAccessPointTypeConfigOutput { + return o +} + +func (o ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ToConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfileAccessPointTypeConfigOutput { + return o +} + +func (o ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[ConnectionASideAccessPointProfileAccessPointTypeConfig]{ + OutputState: o.OutputState, + } +} + +// Interface type +func (o ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointProfileAccessPointTypeConfig) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointProfileAccessPointTypeConfig) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +} + +func (o ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput() ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { + return o +} + +func (o ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ToConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { + return o +} + +func (o ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionASideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[[]ConnectionASideAccessPointProfileAccessPointTypeConfig]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) Index(i pulumi.IntInput) ConnectionASideAccessPointProfileAccessPointTypeConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionASideAccessPointProfileAccessPointTypeConfig { + return vs[0].([]ConnectionASideAccessPointProfileAccessPointTypeConfig)[vs[1].(int)] + }).(ConnectionASideAccessPointProfileAccessPointTypeConfigOutput) +} + +type ConnectionASideAccessPointRouter struct { + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionASideAccessPointRouterInput is an input type that accepts ConnectionASideAccessPointRouterArgs and ConnectionASideAccessPointRouterOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointRouterInput` via: +// +// ConnectionASideAccessPointRouterArgs{...} +type ConnectionASideAccessPointRouterInput interface { + pulumi.Input + + ToConnectionASideAccessPointRouterOutput() ConnectionASideAccessPointRouterOutput + ToConnectionASideAccessPointRouterOutputWithContext(context.Context) ConnectionASideAccessPointRouterOutput +} + +type ConnectionASideAccessPointRouterArgs struct { + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionASideAccessPointRouterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointRouter)(nil)).Elem() +} + +func (i ConnectionASideAccessPointRouterArgs) ToConnectionASideAccessPointRouterOutput() ConnectionASideAccessPointRouterOutput { + return i.ToConnectionASideAccessPointRouterOutputWithContext(context.Background()) +} + +func (i ConnectionASideAccessPointRouterArgs) ToConnectionASideAccessPointRouterOutputWithContext(ctx context.Context) ConnectionASideAccessPointRouterOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointRouterOutput) +} + +func (i ConnectionASideAccessPointRouterArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointRouter] { + return pulumix.Output[ConnectionASideAccessPointRouter]{ + OutputState: i.ToConnectionASideAccessPointRouterOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionASideAccessPointRouterArgs) ToConnectionASideAccessPointRouterPtrOutput() ConnectionASideAccessPointRouterPtrOutput { + return i.ToConnectionASideAccessPointRouterPtrOutputWithContext(context.Background()) +} + +func (i ConnectionASideAccessPointRouterArgs) ToConnectionASideAccessPointRouterPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointRouterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointRouterOutput).ToConnectionASideAccessPointRouterPtrOutputWithContext(ctx) +} + +// ConnectionASideAccessPointRouterPtrInput is an input type that accepts ConnectionASideAccessPointRouterArgs, ConnectionASideAccessPointRouterPtr and ConnectionASideAccessPointRouterPtrOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointRouterPtrInput` via: +// +// ConnectionASideAccessPointRouterArgs{...} +// +// or: +// +// nil +type ConnectionASideAccessPointRouterPtrInput interface { + pulumi.Input + + ToConnectionASideAccessPointRouterPtrOutput() ConnectionASideAccessPointRouterPtrOutput + ToConnectionASideAccessPointRouterPtrOutputWithContext(context.Context) ConnectionASideAccessPointRouterPtrOutput +} + +type connectionASideAccessPointRouterPtrType ConnectionASideAccessPointRouterArgs + +func ConnectionASideAccessPointRouterPtr(v *ConnectionASideAccessPointRouterArgs) ConnectionASideAccessPointRouterPtrInput { + return (*connectionASideAccessPointRouterPtrType)(v) +} + +func (*connectionASideAccessPointRouterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointRouter)(nil)).Elem() +} + +func (i *connectionASideAccessPointRouterPtrType) ToConnectionASideAccessPointRouterPtrOutput() ConnectionASideAccessPointRouterPtrOutput { + return i.ToConnectionASideAccessPointRouterPtrOutputWithContext(context.Background()) +} + +func (i *connectionASideAccessPointRouterPtrType) ToConnectionASideAccessPointRouterPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointRouterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointRouterPtrOutput) +} + +func (i *connectionASideAccessPointRouterPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointRouter] { + return pulumix.Output[*ConnectionASideAccessPointRouter]{ + OutputState: i.ToConnectionASideAccessPointRouterPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionASideAccessPointRouterOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointRouterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointRouter)(nil)).Elem() +} + +func (o ConnectionASideAccessPointRouterOutput) ToConnectionASideAccessPointRouterOutput() ConnectionASideAccessPointRouterOutput { + return o +} + +func (o ConnectionASideAccessPointRouterOutput) ToConnectionASideAccessPointRouterOutputWithContext(ctx context.Context) ConnectionASideAccessPointRouterOutput { + return o +} + +func (o ConnectionASideAccessPointRouterOutput) ToConnectionASideAccessPointRouterPtrOutput() ConnectionASideAccessPointRouterPtrOutput { + return o.ToConnectionASideAccessPointRouterPtrOutputWithContext(context.Background()) +} + +func (o ConnectionASideAccessPointRouterOutput) ToConnectionASideAccessPointRouterPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointRouterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointRouter) *ConnectionASideAccessPointRouter { + return &v + }).(ConnectionASideAccessPointRouterPtrOutput) +} + +func (o ConnectionASideAccessPointRouterOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointRouter] { + return pulumix.Output[ConnectionASideAccessPointRouter]{ + OutputState: o.OutputState, + } +} + +// Unique Resource Identifier +func (o ConnectionASideAccessPointRouterOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointRouter) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointRouterOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointRouter) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionASideAccessPointRouterPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointRouterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointRouter)(nil)).Elem() +} + +func (o ConnectionASideAccessPointRouterPtrOutput) ToConnectionASideAccessPointRouterPtrOutput() ConnectionASideAccessPointRouterPtrOutput { + return o +} + +func (o ConnectionASideAccessPointRouterPtrOutput) ToConnectionASideAccessPointRouterPtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointRouterPtrOutput { + return o +} + +func (o ConnectionASideAccessPointRouterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointRouter] { + return pulumix.Output[*ConnectionASideAccessPointRouter]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionASideAccessPointRouterPtrOutput) Elem() ConnectionASideAccessPointRouterOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointRouter) ConnectionASideAccessPointRouter { + if v != nil { + return *v + } + var ret ConnectionASideAccessPointRouter + return ret + }).(ConnectionASideAccessPointRouterOutput) +} + +// Unique Resource Identifier +func (o ConnectionASideAccessPointRouterPtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointRouter) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointRouterPtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointRouter) *string { + if v == nil { + return nil + } + return v.Uuid + }).(pulumi.StringPtrOutput) +} + +type ConnectionASideAccessPointRoutingProtocol struct { + // Routing protocol instance state + State *string `pulumi:"state"` + // Interface type + Type *string `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionASideAccessPointRoutingProtocolInput is an input type that accepts ConnectionASideAccessPointRoutingProtocolArgs and ConnectionASideAccessPointRoutingProtocolOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointRoutingProtocolInput` via: +// +// ConnectionASideAccessPointRoutingProtocolArgs{...} +type ConnectionASideAccessPointRoutingProtocolInput interface { + pulumi.Input + + ToConnectionASideAccessPointRoutingProtocolOutput() ConnectionASideAccessPointRoutingProtocolOutput + ToConnectionASideAccessPointRoutingProtocolOutputWithContext(context.Context) ConnectionASideAccessPointRoutingProtocolOutput +} + +type ConnectionASideAccessPointRoutingProtocolArgs struct { + // Routing protocol instance state + State pulumi.StringPtrInput `pulumi:"state"` + // Interface type + Type pulumi.StringPtrInput `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionASideAccessPointRoutingProtocolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointRoutingProtocol)(nil)).Elem() +} + +func (i ConnectionASideAccessPointRoutingProtocolArgs) ToConnectionASideAccessPointRoutingProtocolOutput() ConnectionASideAccessPointRoutingProtocolOutput { + return i.ToConnectionASideAccessPointRoutingProtocolOutputWithContext(context.Background()) +} + +func (i ConnectionASideAccessPointRoutingProtocolArgs) ToConnectionASideAccessPointRoutingProtocolOutputWithContext(ctx context.Context) ConnectionASideAccessPointRoutingProtocolOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointRoutingProtocolOutput) +} + +func (i ConnectionASideAccessPointRoutingProtocolArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointRoutingProtocol] { + return pulumix.Output[ConnectionASideAccessPointRoutingProtocol]{ + OutputState: i.ToConnectionASideAccessPointRoutingProtocolOutputWithContext(ctx).OutputState, + } +} + +// ConnectionASideAccessPointRoutingProtocolArrayInput is an input type that accepts ConnectionASideAccessPointRoutingProtocolArray and ConnectionASideAccessPointRoutingProtocolArrayOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointRoutingProtocolArrayInput` via: +// +// ConnectionASideAccessPointRoutingProtocolArray{ ConnectionASideAccessPointRoutingProtocolArgs{...} } +type ConnectionASideAccessPointRoutingProtocolArrayInput interface { + pulumi.Input + + ToConnectionASideAccessPointRoutingProtocolArrayOutput() ConnectionASideAccessPointRoutingProtocolArrayOutput + ToConnectionASideAccessPointRoutingProtocolArrayOutputWithContext(context.Context) ConnectionASideAccessPointRoutingProtocolArrayOutput +} + +type ConnectionASideAccessPointRoutingProtocolArray []ConnectionASideAccessPointRoutingProtocolInput + +func (ConnectionASideAccessPointRoutingProtocolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionASideAccessPointRoutingProtocol)(nil)).Elem() +} + +func (i ConnectionASideAccessPointRoutingProtocolArray) ToConnectionASideAccessPointRoutingProtocolArrayOutput() ConnectionASideAccessPointRoutingProtocolArrayOutput { + return i.ToConnectionASideAccessPointRoutingProtocolArrayOutputWithContext(context.Background()) +} + +func (i ConnectionASideAccessPointRoutingProtocolArray) ToConnectionASideAccessPointRoutingProtocolArrayOutputWithContext(ctx context.Context) ConnectionASideAccessPointRoutingProtocolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointRoutingProtocolArrayOutput) +} + +func (i ConnectionASideAccessPointRoutingProtocolArray) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionASideAccessPointRoutingProtocol] { + return pulumix.Output[[]ConnectionASideAccessPointRoutingProtocol]{ + OutputState: i.ToConnectionASideAccessPointRoutingProtocolArrayOutputWithContext(ctx).OutputState, + } +} + +type ConnectionASideAccessPointRoutingProtocolOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointRoutingProtocolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointRoutingProtocol)(nil)).Elem() +} + +func (o ConnectionASideAccessPointRoutingProtocolOutput) ToConnectionASideAccessPointRoutingProtocolOutput() ConnectionASideAccessPointRoutingProtocolOutput { + return o +} + +func (o ConnectionASideAccessPointRoutingProtocolOutput) ToConnectionASideAccessPointRoutingProtocolOutputWithContext(ctx context.Context) ConnectionASideAccessPointRoutingProtocolOutput { + return o +} + +func (o ConnectionASideAccessPointRoutingProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointRoutingProtocol] { + return pulumix.Output[ConnectionASideAccessPointRoutingProtocol]{ + OutputState: o.OutputState, + } +} + +// Routing protocol instance state +func (o ConnectionASideAccessPointRoutingProtocolOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointRoutingProtocol) *string { return v.State }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionASideAccessPointRoutingProtocolOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointRoutingProtocol) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointRoutingProtocolOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointRoutingProtocol) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionASideAccessPointRoutingProtocolArrayOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointRoutingProtocolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionASideAccessPointRoutingProtocol)(nil)).Elem() +} + +func (o ConnectionASideAccessPointRoutingProtocolArrayOutput) ToConnectionASideAccessPointRoutingProtocolArrayOutput() ConnectionASideAccessPointRoutingProtocolArrayOutput { + return o +} + +func (o ConnectionASideAccessPointRoutingProtocolArrayOutput) ToConnectionASideAccessPointRoutingProtocolArrayOutputWithContext(ctx context.Context) ConnectionASideAccessPointRoutingProtocolArrayOutput { + return o +} + +func (o ConnectionASideAccessPointRoutingProtocolArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionASideAccessPointRoutingProtocol] { + return pulumix.Output[[]ConnectionASideAccessPointRoutingProtocol]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionASideAccessPointRoutingProtocolArrayOutput) Index(i pulumi.IntInput) ConnectionASideAccessPointRoutingProtocolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionASideAccessPointRoutingProtocol { + return vs[0].([]ConnectionASideAccessPointRoutingProtocol)[vs[1].(int)] + }).(ConnectionASideAccessPointRoutingProtocolOutput) +} + +type ConnectionASideAccessPointVirtualDevice struct { + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Interface type + Type *string `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionASideAccessPointVirtualDeviceInput is an input type that accepts ConnectionASideAccessPointVirtualDeviceArgs and ConnectionASideAccessPointVirtualDeviceOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointVirtualDeviceInput` via: +// +// ConnectionASideAccessPointVirtualDeviceArgs{...} +type ConnectionASideAccessPointVirtualDeviceInput interface { + pulumi.Input + + ToConnectionASideAccessPointVirtualDeviceOutput() ConnectionASideAccessPointVirtualDeviceOutput + ToConnectionASideAccessPointVirtualDeviceOutputWithContext(context.Context) ConnectionASideAccessPointVirtualDeviceOutput +} + +type ConnectionASideAccessPointVirtualDeviceArgs struct { + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Interface type + Type pulumi.StringPtrInput `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionASideAccessPointVirtualDeviceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointVirtualDevice)(nil)).Elem() +} + +func (i ConnectionASideAccessPointVirtualDeviceArgs) ToConnectionASideAccessPointVirtualDeviceOutput() ConnectionASideAccessPointVirtualDeviceOutput { + return i.ToConnectionASideAccessPointVirtualDeviceOutputWithContext(context.Background()) +} + +func (i ConnectionASideAccessPointVirtualDeviceArgs) ToConnectionASideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) ConnectionASideAccessPointVirtualDeviceOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointVirtualDeviceOutput) +} + +func (i ConnectionASideAccessPointVirtualDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointVirtualDevice] { + return pulumix.Output[ConnectionASideAccessPointVirtualDevice]{ + OutputState: i.ToConnectionASideAccessPointVirtualDeviceOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionASideAccessPointVirtualDeviceArgs) ToConnectionASideAccessPointVirtualDevicePtrOutput() ConnectionASideAccessPointVirtualDevicePtrOutput { + return i.ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(context.Background()) +} + +func (i ConnectionASideAccessPointVirtualDeviceArgs) ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointVirtualDevicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointVirtualDeviceOutput).ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(ctx) +} + +// ConnectionASideAccessPointVirtualDevicePtrInput is an input type that accepts ConnectionASideAccessPointVirtualDeviceArgs, ConnectionASideAccessPointVirtualDevicePtr and ConnectionASideAccessPointVirtualDevicePtrOutput values. +// You can construct a concrete instance of `ConnectionASideAccessPointVirtualDevicePtrInput` via: +// +// ConnectionASideAccessPointVirtualDeviceArgs{...} +// +// or: +// +// nil +type ConnectionASideAccessPointVirtualDevicePtrInput interface { + pulumi.Input + + ToConnectionASideAccessPointVirtualDevicePtrOutput() ConnectionASideAccessPointVirtualDevicePtrOutput + ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(context.Context) ConnectionASideAccessPointVirtualDevicePtrOutput +} + +type connectionASideAccessPointVirtualDevicePtrType ConnectionASideAccessPointVirtualDeviceArgs + +func ConnectionASideAccessPointVirtualDevicePtr(v *ConnectionASideAccessPointVirtualDeviceArgs) ConnectionASideAccessPointVirtualDevicePtrInput { + return (*connectionASideAccessPointVirtualDevicePtrType)(v) +} + +func (*connectionASideAccessPointVirtualDevicePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointVirtualDevice)(nil)).Elem() +} + +func (i *connectionASideAccessPointVirtualDevicePtrType) ToConnectionASideAccessPointVirtualDevicePtrOutput() ConnectionASideAccessPointVirtualDevicePtrOutput { + return i.ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(context.Background()) +} + +func (i *connectionASideAccessPointVirtualDevicePtrType) ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointVirtualDevicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAccessPointVirtualDevicePtrOutput) +} + +func (i *connectionASideAccessPointVirtualDevicePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointVirtualDevice] { + return pulumix.Output[*ConnectionASideAccessPointVirtualDevice]{ + OutputState: i.ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionASideAccessPointVirtualDeviceOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointVirtualDeviceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAccessPointVirtualDevice)(nil)).Elem() +} + +func (o ConnectionASideAccessPointVirtualDeviceOutput) ToConnectionASideAccessPointVirtualDeviceOutput() ConnectionASideAccessPointVirtualDeviceOutput { + return o +} + +func (o ConnectionASideAccessPointVirtualDeviceOutput) ToConnectionASideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) ConnectionASideAccessPointVirtualDeviceOutput { + return o +} + +func (o ConnectionASideAccessPointVirtualDeviceOutput) ToConnectionASideAccessPointVirtualDevicePtrOutput() ConnectionASideAccessPointVirtualDevicePtrOutput { + return o.ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(context.Background()) +} + +func (o ConnectionASideAccessPointVirtualDeviceOutput) ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointVirtualDevicePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideAccessPointVirtualDevice) *ConnectionASideAccessPointVirtualDevice { + return &v + }).(ConnectionASideAccessPointVirtualDevicePtrOutput) +} + +func (o ConnectionASideAccessPointVirtualDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAccessPointVirtualDevice] { + return pulumix.Output[ConnectionASideAccessPointVirtualDevice]{ + OutputState: o.OutputState, + } +} + +// Unique Resource Identifier +func (o ConnectionASideAccessPointVirtualDeviceOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointVirtualDevice) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionASideAccessPointVirtualDeviceOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointVirtualDevice) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointVirtualDeviceOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAccessPointVirtualDevice) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionASideAccessPointVirtualDevicePtrOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAccessPointVirtualDevicePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideAccessPointVirtualDevice)(nil)).Elem() +} + +func (o ConnectionASideAccessPointVirtualDevicePtrOutput) ToConnectionASideAccessPointVirtualDevicePtrOutput() ConnectionASideAccessPointVirtualDevicePtrOutput { + return o +} + +func (o ConnectionASideAccessPointVirtualDevicePtrOutput) ToConnectionASideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionASideAccessPointVirtualDevicePtrOutput { + return o +} + +func (o ConnectionASideAccessPointVirtualDevicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideAccessPointVirtualDevice] { + return pulumix.Output[*ConnectionASideAccessPointVirtualDevice]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionASideAccessPointVirtualDevicePtrOutput) Elem() ConnectionASideAccessPointVirtualDeviceOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointVirtualDevice) ConnectionASideAccessPointVirtualDevice { + if v != nil { + return *v + } + var ret ConnectionASideAccessPointVirtualDevice + return ret + }).(ConnectionASideAccessPointVirtualDeviceOutput) +} + +// Unique Resource Identifier +func (o ConnectionASideAccessPointVirtualDevicePtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointVirtualDevice) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionASideAccessPointVirtualDevicePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointVirtualDevice) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionASideAccessPointVirtualDevicePtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideAccessPointVirtualDevice) *string { + if v == nil { + return nil + } + return v.Uuid + }).(pulumi.StringPtrOutput) +} + +type ConnectionASideAdditionalInfo struct { + // Additional information key + Key *string `pulumi:"key"` + // Additional information value + Value *string `pulumi:"value"` +} + +// ConnectionASideAdditionalInfoInput is an input type that accepts ConnectionASideAdditionalInfoArgs and ConnectionASideAdditionalInfoOutput values. +// You can construct a concrete instance of `ConnectionASideAdditionalInfoInput` via: +// +// ConnectionASideAdditionalInfoArgs{...} +type ConnectionASideAdditionalInfoInput interface { + pulumi.Input + + ToConnectionASideAdditionalInfoOutput() ConnectionASideAdditionalInfoOutput + ToConnectionASideAdditionalInfoOutputWithContext(context.Context) ConnectionASideAdditionalInfoOutput +} + +type ConnectionASideAdditionalInfoArgs struct { + // Additional information key + Key pulumi.StringPtrInput `pulumi:"key"` + // Additional information value + Value pulumi.StringPtrInput `pulumi:"value"` +} + +func (ConnectionASideAdditionalInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAdditionalInfo)(nil)).Elem() +} + +func (i ConnectionASideAdditionalInfoArgs) ToConnectionASideAdditionalInfoOutput() ConnectionASideAdditionalInfoOutput { + return i.ToConnectionASideAdditionalInfoOutputWithContext(context.Background()) +} + +func (i ConnectionASideAdditionalInfoArgs) ToConnectionASideAdditionalInfoOutputWithContext(ctx context.Context) ConnectionASideAdditionalInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAdditionalInfoOutput) +} + +func (i ConnectionASideAdditionalInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAdditionalInfo] { + return pulumix.Output[ConnectionASideAdditionalInfo]{ + OutputState: i.ToConnectionASideAdditionalInfoOutputWithContext(ctx).OutputState, + } +} + +// ConnectionASideAdditionalInfoArrayInput is an input type that accepts ConnectionASideAdditionalInfoArray and ConnectionASideAdditionalInfoArrayOutput values. +// You can construct a concrete instance of `ConnectionASideAdditionalInfoArrayInput` via: +// +// ConnectionASideAdditionalInfoArray{ ConnectionASideAdditionalInfoArgs{...} } +type ConnectionASideAdditionalInfoArrayInput interface { + pulumi.Input + + ToConnectionASideAdditionalInfoArrayOutput() ConnectionASideAdditionalInfoArrayOutput + ToConnectionASideAdditionalInfoArrayOutputWithContext(context.Context) ConnectionASideAdditionalInfoArrayOutput +} + +type ConnectionASideAdditionalInfoArray []ConnectionASideAdditionalInfoInput + +func (ConnectionASideAdditionalInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionASideAdditionalInfo)(nil)).Elem() +} + +func (i ConnectionASideAdditionalInfoArray) ToConnectionASideAdditionalInfoArrayOutput() ConnectionASideAdditionalInfoArrayOutput { + return i.ToConnectionASideAdditionalInfoArrayOutputWithContext(context.Background()) +} + +func (i ConnectionASideAdditionalInfoArray) ToConnectionASideAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionASideAdditionalInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideAdditionalInfoArrayOutput) +} + +func (i ConnectionASideAdditionalInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionASideAdditionalInfo] { + return pulumix.Output[[]ConnectionASideAdditionalInfo]{ + OutputState: i.ToConnectionASideAdditionalInfoArrayOutputWithContext(ctx).OutputState, + } +} + +type ConnectionASideAdditionalInfoOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAdditionalInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideAdditionalInfo)(nil)).Elem() +} + +func (o ConnectionASideAdditionalInfoOutput) ToConnectionASideAdditionalInfoOutput() ConnectionASideAdditionalInfoOutput { + return o +} + +func (o ConnectionASideAdditionalInfoOutput) ToConnectionASideAdditionalInfoOutputWithContext(ctx context.Context) ConnectionASideAdditionalInfoOutput { + return o +} + +func (o ConnectionASideAdditionalInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideAdditionalInfo] { + return pulumix.Output[ConnectionASideAdditionalInfo]{ + OutputState: o.OutputState, + } +} + +// Additional information key +func (o ConnectionASideAdditionalInfoOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAdditionalInfo) *string { return v.Key }).(pulumi.StringPtrOutput) +} + +// Additional information value +func (o ConnectionASideAdditionalInfoOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideAdditionalInfo) *string { return v.Value }).(pulumi.StringPtrOutput) +} + +type ConnectionASideAdditionalInfoArrayOutput struct{ *pulumi.OutputState } + +func (ConnectionASideAdditionalInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionASideAdditionalInfo)(nil)).Elem() +} + +func (o ConnectionASideAdditionalInfoArrayOutput) ToConnectionASideAdditionalInfoArrayOutput() ConnectionASideAdditionalInfoArrayOutput { + return o +} + +func (o ConnectionASideAdditionalInfoArrayOutput) ToConnectionASideAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionASideAdditionalInfoArrayOutput { + return o +} + +func (o ConnectionASideAdditionalInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionASideAdditionalInfo] { + return pulumix.Output[[]ConnectionASideAdditionalInfo]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionASideAdditionalInfoArrayOutput) Index(i pulumi.IntInput) ConnectionASideAdditionalInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionASideAdditionalInfo { + return vs[0].([]ConnectionASideAdditionalInfo)[vs[1].(int)] + }).(ConnectionASideAdditionalInfoOutput) +} + +type ConnectionASideServiceToken struct { + // User-provided service description + Description *string `pulumi:"description"` + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Interface type + Type *string `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionASideServiceTokenInput is an input type that accepts ConnectionASideServiceTokenArgs and ConnectionASideServiceTokenOutput values. +// You can construct a concrete instance of `ConnectionASideServiceTokenInput` via: +// +// ConnectionASideServiceTokenArgs{...} +type ConnectionASideServiceTokenInput interface { + pulumi.Input + + ToConnectionASideServiceTokenOutput() ConnectionASideServiceTokenOutput + ToConnectionASideServiceTokenOutputWithContext(context.Context) ConnectionASideServiceTokenOutput +} + +type ConnectionASideServiceTokenArgs struct { + // User-provided service description + Description pulumi.StringPtrInput `pulumi:"description"` + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Interface type + Type pulumi.StringPtrInput `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionASideServiceTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideServiceToken)(nil)).Elem() +} + +func (i ConnectionASideServiceTokenArgs) ToConnectionASideServiceTokenOutput() ConnectionASideServiceTokenOutput { + return i.ToConnectionASideServiceTokenOutputWithContext(context.Background()) +} + +func (i ConnectionASideServiceTokenArgs) ToConnectionASideServiceTokenOutputWithContext(ctx context.Context) ConnectionASideServiceTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideServiceTokenOutput) +} + +func (i ConnectionASideServiceTokenArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideServiceToken] { + return pulumix.Output[ConnectionASideServiceToken]{ + OutputState: i.ToConnectionASideServiceTokenOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionASideServiceTokenArgs) ToConnectionASideServiceTokenPtrOutput() ConnectionASideServiceTokenPtrOutput { + return i.ToConnectionASideServiceTokenPtrOutputWithContext(context.Background()) +} + +func (i ConnectionASideServiceTokenArgs) ToConnectionASideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionASideServiceTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideServiceTokenOutput).ToConnectionASideServiceTokenPtrOutputWithContext(ctx) +} + +// ConnectionASideServiceTokenPtrInput is an input type that accepts ConnectionASideServiceTokenArgs, ConnectionASideServiceTokenPtr and ConnectionASideServiceTokenPtrOutput values. +// You can construct a concrete instance of `ConnectionASideServiceTokenPtrInput` via: +// +// ConnectionASideServiceTokenArgs{...} +// +// or: +// +// nil +type ConnectionASideServiceTokenPtrInput interface { + pulumi.Input + + ToConnectionASideServiceTokenPtrOutput() ConnectionASideServiceTokenPtrOutput + ToConnectionASideServiceTokenPtrOutputWithContext(context.Context) ConnectionASideServiceTokenPtrOutput +} + +type connectionASideServiceTokenPtrType ConnectionASideServiceTokenArgs + +func ConnectionASideServiceTokenPtr(v *ConnectionASideServiceTokenArgs) ConnectionASideServiceTokenPtrInput { + return (*connectionASideServiceTokenPtrType)(v) +} + +func (*connectionASideServiceTokenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideServiceToken)(nil)).Elem() +} + +func (i *connectionASideServiceTokenPtrType) ToConnectionASideServiceTokenPtrOutput() ConnectionASideServiceTokenPtrOutput { + return i.ToConnectionASideServiceTokenPtrOutputWithContext(context.Background()) +} + +func (i *connectionASideServiceTokenPtrType) ToConnectionASideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionASideServiceTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionASideServiceTokenPtrOutput) +} + +func (i *connectionASideServiceTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideServiceToken] { + return pulumix.Output[*ConnectionASideServiceToken]{ + OutputState: i.ToConnectionASideServiceTokenPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionASideServiceTokenOutput struct{ *pulumi.OutputState } + +func (ConnectionASideServiceTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionASideServiceToken)(nil)).Elem() +} + +func (o ConnectionASideServiceTokenOutput) ToConnectionASideServiceTokenOutput() ConnectionASideServiceTokenOutput { + return o +} + +func (o ConnectionASideServiceTokenOutput) ToConnectionASideServiceTokenOutputWithContext(ctx context.Context) ConnectionASideServiceTokenOutput { + return o +} + +func (o ConnectionASideServiceTokenOutput) ToConnectionASideServiceTokenPtrOutput() ConnectionASideServiceTokenPtrOutput { + return o.ToConnectionASideServiceTokenPtrOutputWithContext(context.Background()) +} + +func (o ConnectionASideServiceTokenOutput) ToConnectionASideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionASideServiceTokenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionASideServiceToken) *ConnectionASideServiceToken { + return &v + }).(ConnectionASideServiceTokenPtrOutput) +} + +func (o ConnectionASideServiceTokenOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionASideServiceToken] { + return pulumix.Output[ConnectionASideServiceToken]{ + OutputState: o.OutputState, + } +} + +// User-provided service description +func (o ConnectionASideServiceTokenOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideServiceToken) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// Unique Resource Identifier +func (o ConnectionASideServiceTokenOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideServiceToken) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionASideServiceTokenOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideServiceToken) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionASideServiceTokenOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionASideServiceToken) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionASideServiceTokenPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionASideServiceTokenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionASideServiceToken)(nil)).Elem() +} + +func (o ConnectionASideServiceTokenPtrOutput) ToConnectionASideServiceTokenPtrOutput() ConnectionASideServiceTokenPtrOutput { + return o +} + +func (o ConnectionASideServiceTokenPtrOutput) ToConnectionASideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionASideServiceTokenPtrOutput { + return o +} + +func (o ConnectionASideServiceTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionASideServiceToken] { + return pulumix.Output[*ConnectionASideServiceToken]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionASideServiceTokenPtrOutput) Elem() ConnectionASideServiceTokenOutput { + return o.ApplyT(func(v *ConnectionASideServiceToken) ConnectionASideServiceToken { + if v != nil { + return *v + } + var ret ConnectionASideServiceToken + return ret + }).(ConnectionASideServiceTokenOutput) +} + +// User-provided service description +func (o ConnectionASideServiceTokenPtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideServiceToken) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) +} + +// Unique Resource Identifier +func (o ConnectionASideServiceTokenPtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideServiceToken) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionASideServiceTokenPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideServiceToken) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionASideServiceTokenPtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionASideServiceToken) *string { + if v == nil { + return nil + } + return v.Uuid + }).(pulumi.StringPtrOutput) +} + +type ConnectionAccount struct { + AccountName *string `pulumi:"accountName"` + AccountNumber *int `pulumi:"accountNumber"` + GlobalCustId *string `pulumi:"globalCustId"` + GlobalOrgId *string `pulumi:"globalOrgId"` + GlobalOrganizationName *string `pulumi:"globalOrganizationName"` + OrgId *int `pulumi:"orgId"` + OrganizationName *string `pulumi:"organizationName"` +} + +// ConnectionAccountInput is an input type that accepts ConnectionAccountArgs and ConnectionAccountOutput values. +// You can construct a concrete instance of `ConnectionAccountInput` via: +// +// ConnectionAccountArgs{...} +type ConnectionAccountInput interface { + pulumi.Input + + ToConnectionAccountOutput() ConnectionAccountOutput + ToConnectionAccountOutputWithContext(context.Context) ConnectionAccountOutput +} + +type ConnectionAccountArgs struct { + AccountName pulumi.StringPtrInput `pulumi:"accountName"` + AccountNumber pulumi.IntPtrInput `pulumi:"accountNumber"` + GlobalCustId pulumi.StringPtrInput `pulumi:"globalCustId"` + GlobalOrgId pulumi.StringPtrInput `pulumi:"globalOrgId"` + GlobalOrganizationName pulumi.StringPtrInput `pulumi:"globalOrganizationName"` + OrgId pulumi.IntPtrInput `pulumi:"orgId"` + OrganizationName pulumi.StringPtrInput `pulumi:"organizationName"` +} + +func (ConnectionAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionAccount)(nil)).Elem() +} + +func (i ConnectionAccountArgs) ToConnectionAccountOutput() ConnectionAccountOutput { + return i.ToConnectionAccountOutputWithContext(context.Background()) +} + +func (i ConnectionAccountArgs) ToConnectionAccountOutputWithContext(ctx context.Context) ConnectionAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionAccountOutput) +} + +func (i ConnectionAccountArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionAccount] { + return pulumix.Output[ConnectionAccount]{ + OutputState: i.ToConnectionAccountOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionAccountArgs) ToConnectionAccountPtrOutput() ConnectionAccountPtrOutput { + return i.ToConnectionAccountPtrOutputWithContext(context.Background()) +} + +func (i ConnectionAccountArgs) ToConnectionAccountPtrOutputWithContext(ctx context.Context) ConnectionAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionAccountOutput).ToConnectionAccountPtrOutputWithContext(ctx) +} + +// ConnectionAccountPtrInput is an input type that accepts ConnectionAccountArgs, ConnectionAccountPtr and ConnectionAccountPtrOutput values. +// You can construct a concrete instance of `ConnectionAccountPtrInput` via: +// +// ConnectionAccountArgs{...} +// +// or: +// +// nil +type ConnectionAccountPtrInput interface { + pulumi.Input + + ToConnectionAccountPtrOutput() ConnectionAccountPtrOutput + ToConnectionAccountPtrOutputWithContext(context.Context) ConnectionAccountPtrOutput +} + +type connectionAccountPtrType ConnectionAccountArgs + +func ConnectionAccountPtr(v *ConnectionAccountArgs) ConnectionAccountPtrInput { + return (*connectionAccountPtrType)(v) +} + +func (*connectionAccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionAccount)(nil)).Elem() +} + +func (i *connectionAccountPtrType) ToConnectionAccountPtrOutput() ConnectionAccountPtrOutput { + return i.ToConnectionAccountPtrOutputWithContext(context.Background()) +} + +func (i *connectionAccountPtrType) ToConnectionAccountPtrOutputWithContext(ctx context.Context) ConnectionAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionAccountPtrOutput) +} + +func (i *connectionAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionAccount] { + return pulumix.Output[*ConnectionAccount]{ + OutputState: i.ToConnectionAccountPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionAccountOutput struct{ *pulumi.OutputState } + +func (ConnectionAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionAccount)(nil)).Elem() +} + +func (o ConnectionAccountOutput) ToConnectionAccountOutput() ConnectionAccountOutput { + return o +} + +func (o ConnectionAccountOutput) ToConnectionAccountOutputWithContext(ctx context.Context) ConnectionAccountOutput { + return o +} + +func (o ConnectionAccountOutput) ToConnectionAccountPtrOutput() ConnectionAccountPtrOutput { + return o.ToConnectionAccountPtrOutputWithContext(context.Background()) +} + +func (o ConnectionAccountOutput) ToConnectionAccountPtrOutputWithContext(ctx context.Context) ConnectionAccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionAccount) *ConnectionAccount { + return &v + }).(ConnectionAccountPtrOutput) +} + +func (o ConnectionAccountOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionAccount] { + return pulumix.Output[ConnectionAccount]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionAccountOutput) AccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionAccount) *string { return v.AccountName }).(pulumi.StringPtrOutput) +} + +func (o ConnectionAccountOutput) AccountNumber() pulumi.IntPtrOutput { + return o.ApplyT(func(v ConnectionAccount) *int { return v.AccountNumber }).(pulumi.IntPtrOutput) +} + +func (o ConnectionAccountOutput) GlobalCustId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionAccount) *string { return v.GlobalCustId }).(pulumi.StringPtrOutput) +} + +func (o ConnectionAccountOutput) GlobalOrgId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionAccount) *string { return v.GlobalOrgId }).(pulumi.StringPtrOutput) +} + +func (o ConnectionAccountOutput) GlobalOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionAccount) *string { return v.GlobalOrganizationName }).(pulumi.StringPtrOutput) +} + +func (o ConnectionAccountOutput) OrgId() pulumi.IntPtrOutput { + return o.ApplyT(func(v ConnectionAccount) *int { return v.OrgId }).(pulumi.IntPtrOutput) +} + +func (o ConnectionAccountOutput) OrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionAccount) *string { return v.OrganizationName }).(pulumi.StringPtrOutput) +} + +type ConnectionAccountPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionAccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionAccount)(nil)).Elem() +} + +func (o ConnectionAccountPtrOutput) ToConnectionAccountPtrOutput() ConnectionAccountPtrOutput { + return o +} + +func (o ConnectionAccountPtrOutput) ToConnectionAccountPtrOutputWithContext(ctx context.Context) ConnectionAccountPtrOutput { + return o +} + +func (o ConnectionAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionAccount] { + return pulumix.Output[*ConnectionAccount]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionAccountPtrOutput) Elem() ConnectionAccountOutput { + return o.ApplyT(func(v *ConnectionAccount) ConnectionAccount { + if v != nil { + return *v + } + var ret ConnectionAccount + return ret + }).(ConnectionAccountOutput) +} + +func (o ConnectionAccountPtrOutput) AccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionAccount) *string { + if v == nil { + return nil + } + return v.AccountName + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionAccountPtrOutput) AccountNumber() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ConnectionAccount) *int { + if v == nil { + return nil + } + return v.AccountNumber + }).(pulumi.IntPtrOutput) +} + +func (o ConnectionAccountPtrOutput) GlobalCustId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionAccount) *string { + if v == nil { + return nil + } + return v.GlobalCustId + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionAccountPtrOutput) GlobalOrgId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionAccount) *string { + if v == nil { + return nil + } + return v.GlobalOrgId + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionAccountPtrOutput) GlobalOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionAccount) *string { + if v == nil { + return nil + } + return v.GlobalOrganizationName + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionAccountPtrOutput) OrgId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ConnectionAccount) *int { + if v == nil { + return nil + } + return v.OrgId + }).(pulumi.IntPtrOutput) +} + +func (o ConnectionAccountPtrOutput) OrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionAccount) *string { + if v == nil { + return nil + } + return v.OrganizationName + }).(pulumi.StringPtrOutput) +} + +type ConnectionChangeLog struct { + CreatedBy *string `pulumi:"createdBy"` + CreatedByEmail *string `pulumi:"createdByEmail"` + CreatedByFullName *string `pulumi:"createdByFullName"` + CreatedDateTime *string `pulumi:"createdDateTime"` + DeletedBy *string `pulumi:"deletedBy"` + DeletedByEmail *string `pulumi:"deletedByEmail"` + DeletedByFullName *string `pulumi:"deletedByFullName"` + DeletedDateTime *string `pulumi:"deletedDateTime"` + UpdatedBy *string `pulumi:"updatedBy"` + UpdatedByEmail *string `pulumi:"updatedByEmail"` + UpdatedByFullName *string `pulumi:"updatedByFullName"` + UpdatedDateTime *string `pulumi:"updatedDateTime"` +} + +// ConnectionChangeLogInput is an input type that accepts ConnectionChangeLogArgs and ConnectionChangeLogOutput values. +// You can construct a concrete instance of `ConnectionChangeLogInput` via: +// +// ConnectionChangeLogArgs{...} +type ConnectionChangeLogInput interface { + pulumi.Input + + ToConnectionChangeLogOutput() ConnectionChangeLogOutput + ToConnectionChangeLogOutputWithContext(context.Context) ConnectionChangeLogOutput +} + +type ConnectionChangeLogArgs struct { + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + CreatedByEmail pulumi.StringPtrInput `pulumi:"createdByEmail"` + CreatedByFullName pulumi.StringPtrInput `pulumi:"createdByFullName"` + CreatedDateTime pulumi.StringPtrInput `pulumi:"createdDateTime"` + DeletedBy pulumi.StringPtrInput `pulumi:"deletedBy"` + DeletedByEmail pulumi.StringPtrInput `pulumi:"deletedByEmail"` + DeletedByFullName pulumi.StringPtrInput `pulumi:"deletedByFullName"` + DeletedDateTime pulumi.StringPtrInput `pulumi:"deletedDateTime"` + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` + UpdatedByEmail pulumi.StringPtrInput `pulumi:"updatedByEmail"` + UpdatedByFullName pulumi.StringPtrInput `pulumi:"updatedByFullName"` + UpdatedDateTime pulumi.StringPtrInput `pulumi:"updatedDateTime"` +} + +func (ConnectionChangeLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionChangeLog)(nil)).Elem() +} + +func (i ConnectionChangeLogArgs) ToConnectionChangeLogOutput() ConnectionChangeLogOutput { + return i.ToConnectionChangeLogOutputWithContext(context.Background()) +} + +func (i ConnectionChangeLogArgs) ToConnectionChangeLogOutputWithContext(ctx context.Context) ConnectionChangeLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionChangeLogOutput) +} + +func (i ConnectionChangeLogArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionChangeLog] { + return pulumix.Output[ConnectionChangeLog]{ + OutputState: i.ToConnectionChangeLogOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionChangeLogArgs) ToConnectionChangeLogPtrOutput() ConnectionChangeLogPtrOutput { + return i.ToConnectionChangeLogPtrOutputWithContext(context.Background()) +} + +func (i ConnectionChangeLogArgs) ToConnectionChangeLogPtrOutputWithContext(ctx context.Context) ConnectionChangeLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionChangeLogOutput).ToConnectionChangeLogPtrOutputWithContext(ctx) +} + +// ConnectionChangeLogPtrInput is an input type that accepts ConnectionChangeLogArgs, ConnectionChangeLogPtr and ConnectionChangeLogPtrOutput values. +// You can construct a concrete instance of `ConnectionChangeLogPtrInput` via: +// +// ConnectionChangeLogArgs{...} +// +// or: +// +// nil +type ConnectionChangeLogPtrInput interface { + pulumi.Input + + ToConnectionChangeLogPtrOutput() ConnectionChangeLogPtrOutput + ToConnectionChangeLogPtrOutputWithContext(context.Context) ConnectionChangeLogPtrOutput +} + +type connectionChangeLogPtrType ConnectionChangeLogArgs + +func ConnectionChangeLogPtr(v *ConnectionChangeLogArgs) ConnectionChangeLogPtrInput { + return (*connectionChangeLogPtrType)(v) +} + +func (*connectionChangeLogPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionChangeLog)(nil)).Elem() +} + +func (i *connectionChangeLogPtrType) ToConnectionChangeLogPtrOutput() ConnectionChangeLogPtrOutput { + return i.ToConnectionChangeLogPtrOutputWithContext(context.Background()) +} + +func (i *connectionChangeLogPtrType) ToConnectionChangeLogPtrOutputWithContext(ctx context.Context) ConnectionChangeLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionChangeLogPtrOutput) +} + +func (i *connectionChangeLogPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionChangeLog] { + return pulumix.Output[*ConnectionChangeLog]{ + OutputState: i.ToConnectionChangeLogPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionChangeLogOutput struct{ *pulumi.OutputState } + +func (ConnectionChangeLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionChangeLog)(nil)).Elem() +} + +func (o ConnectionChangeLogOutput) ToConnectionChangeLogOutput() ConnectionChangeLogOutput { + return o +} + +func (o ConnectionChangeLogOutput) ToConnectionChangeLogOutputWithContext(ctx context.Context) ConnectionChangeLogOutput { + return o +} + +func (o ConnectionChangeLogOutput) ToConnectionChangeLogPtrOutput() ConnectionChangeLogPtrOutput { + return o.ToConnectionChangeLogPtrOutputWithContext(context.Background()) +} + +func (o ConnectionChangeLogOutput) ToConnectionChangeLogPtrOutputWithContext(ctx context.Context) ConnectionChangeLogPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionChangeLog) *ConnectionChangeLog { + return &v + }).(ConnectionChangeLogPtrOutput) +} + +func (o ConnectionChangeLogOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionChangeLog] { + return pulumix.Output[ConnectionChangeLog]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionChangeLogOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionChangeLog) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogOutput) CreatedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionChangeLog) *string { return v.CreatedByEmail }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogOutput) CreatedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionChangeLog) *string { return v.CreatedByFullName }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogOutput) CreatedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionChangeLog) *string { return v.CreatedDateTime }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogOutput) DeletedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionChangeLog) *string { return v.DeletedBy }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogOutput) DeletedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionChangeLog) *string { return v.DeletedByEmail }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogOutput) DeletedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionChangeLog) *string { return v.DeletedByFullName }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogOutput) DeletedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionChangeLog) *string { return v.DeletedDateTime }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionChangeLog) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogOutput) UpdatedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionChangeLog) *string { return v.UpdatedByEmail }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogOutput) UpdatedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionChangeLog) *string { return v.UpdatedByFullName }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogOutput) UpdatedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionChangeLog) *string { return v.UpdatedDateTime }).(pulumi.StringPtrOutput) +} + +type ConnectionChangeLogPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionChangeLogPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionChangeLog)(nil)).Elem() +} + +func (o ConnectionChangeLogPtrOutput) ToConnectionChangeLogPtrOutput() ConnectionChangeLogPtrOutput { + return o +} + +func (o ConnectionChangeLogPtrOutput) ToConnectionChangeLogPtrOutputWithContext(ctx context.Context) ConnectionChangeLogPtrOutput { + return o +} + +func (o ConnectionChangeLogPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionChangeLog] { + return pulumix.Output[*ConnectionChangeLog]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionChangeLogPtrOutput) Elem() ConnectionChangeLogOutput { + return o.ApplyT(func(v *ConnectionChangeLog) ConnectionChangeLog { + if v != nil { + return *v + } + var ret ConnectionChangeLog + return ret + }).(ConnectionChangeLogOutput) +} + +func (o ConnectionChangeLogPtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionChangeLog) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogPtrOutput) CreatedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionChangeLog) *string { + if v == nil { + return nil + } + return v.CreatedByEmail + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogPtrOutput) CreatedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionChangeLog) *string { + if v == nil { + return nil + } + return v.CreatedByFullName + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogPtrOutput) CreatedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionChangeLog) *string { + if v == nil { + return nil + } + return v.CreatedDateTime + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogPtrOutput) DeletedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionChangeLog) *string { + if v == nil { + return nil + } + return v.DeletedBy + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogPtrOutput) DeletedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionChangeLog) *string { + if v == nil { + return nil + } + return v.DeletedByEmail + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogPtrOutput) DeletedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionChangeLog) *string { + if v == nil { + return nil + } + return v.DeletedByFullName + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogPtrOutput) DeletedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionChangeLog) *string { + if v == nil { + return nil + } + return v.DeletedDateTime + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogPtrOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionChangeLog) *string { + if v == nil { + return nil + } + return v.UpdatedBy + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogPtrOutput) UpdatedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionChangeLog) *string { + if v == nil { + return nil + } + return v.UpdatedByEmail + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogPtrOutput) UpdatedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionChangeLog) *string { + if v == nil { + return nil + } + return v.UpdatedByFullName + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionChangeLogPtrOutput) UpdatedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionChangeLog) *string { + if v == nil { + return nil + } + return v.UpdatedDateTime + }).(pulumi.StringPtrOutput) +} + +type ConnectionNotification struct { + // Array of contact emails + Emails []string `pulumi:"emails"` + // Send interval + SendInterval *string `pulumi:"sendInterval"` + // Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + Type string `pulumi:"type"` +} + +// ConnectionNotificationInput is an input type that accepts ConnectionNotificationArgs and ConnectionNotificationOutput values. +// You can construct a concrete instance of `ConnectionNotificationInput` via: +// +// ConnectionNotificationArgs{...} +type ConnectionNotificationInput interface { + pulumi.Input + + ToConnectionNotificationOutput() ConnectionNotificationOutput + ToConnectionNotificationOutputWithContext(context.Context) ConnectionNotificationOutput +} + +type ConnectionNotificationArgs struct { // Array of contact emails Emails pulumi.StringArrayInput `pulumi:"emails"` // Send interval @@ -3275,13231 +5304,20075 @@ type ConnectionNotificationArgs struct { Type pulumi.StringInput `pulumi:"type"` } -func (ConnectionNotificationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionNotification)(nil)).Elem() +func (ConnectionNotificationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionNotification)(nil)).Elem() +} + +func (i ConnectionNotificationArgs) ToConnectionNotificationOutput() ConnectionNotificationOutput { + return i.ToConnectionNotificationOutputWithContext(context.Background()) +} + +func (i ConnectionNotificationArgs) ToConnectionNotificationOutputWithContext(ctx context.Context) ConnectionNotificationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionNotificationOutput) +} + +func (i ConnectionNotificationArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionNotification] { + return pulumix.Output[ConnectionNotification]{ + OutputState: i.ToConnectionNotificationOutputWithContext(ctx).OutputState, + } +} + +// ConnectionNotificationArrayInput is an input type that accepts ConnectionNotificationArray and ConnectionNotificationArrayOutput values. +// You can construct a concrete instance of `ConnectionNotificationArrayInput` via: +// +// ConnectionNotificationArray{ ConnectionNotificationArgs{...} } +type ConnectionNotificationArrayInput interface { + pulumi.Input + + ToConnectionNotificationArrayOutput() ConnectionNotificationArrayOutput + ToConnectionNotificationArrayOutputWithContext(context.Context) ConnectionNotificationArrayOutput +} + +type ConnectionNotificationArray []ConnectionNotificationInput + +func (ConnectionNotificationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionNotification)(nil)).Elem() +} + +func (i ConnectionNotificationArray) ToConnectionNotificationArrayOutput() ConnectionNotificationArrayOutput { + return i.ToConnectionNotificationArrayOutputWithContext(context.Background()) +} + +func (i ConnectionNotificationArray) ToConnectionNotificationArrayOutputWithContext(ctx context.Context) ConnectionNotificationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionNotificationArrayOutput) +} + +func (i ConnectionNotificationArray) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionNotification] { + return pulumix.Output[[]ConnectionNotification]{ + OutputState: i.ToConnectionNotificationArrayOutputWithContext(ctx).OutputState, + } +} + +type ConnectionNotificationOutput struct{ *pulumi.OutputState } + +func (ConnectionNotificationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionNotification)(nil)).Elem() +} + +func (o ConnectionNotificationOutput) ToConnectionNotificationOutput() ConnectionNotificationOutput { + return o +} + +func (o ConnectionNotificationOutput) ToConnectionNotificationOutputWithContext(ctx context.Context) ConnectionNotificationOutput { + return o +} + +func (o ConnectionNotificationOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionNotification] { + return pulumix.Output[ConnectionNotification]{ + OutputState: o.OutputState, + } +} + +// Array of contact emails +func (o ConnectionNotificationOutput) Emails() pulumi.StringArrayOutput { + return o.ApplyT(func(v ConnectionNotification) []string { return v.Emails }).(pulumi.StringArrayOutput) +} + +// Send interval +func (o ConnectionNotificationOutput) SendInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionNotification) *string { return v.SendInterval }).(pulumi.StringPtrOutput) +} + +// Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS +func (o ConnectionNotificationOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v ConnectionNotification) string { return v.Type }).(pulumi.StringOutput) +} + +type ConnectionNotificationArrayOutput struct{ *pulumi.OutputState } + +func (ConnectionNotificationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionNotification)(nil)).Elem() +} + +func (o ConnectionNotificationArrayOutput) ToConnectionNotificationArrayOutput() ConnectionNotificationArrayOutput { + return o +} + +func (o ConnectionNotificationArrayOutput) ToConnectionNotificationArrayOutputWithContext(ctx context.Context) ConnectionNotificationArrayOutput { + return o +} + +func (o ConnectionNotificationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionNotification] { + return pulumix.Output[[]ConnectionNotification]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionNotificationArrayOutput) Index(i pulumi.IntInput) ConnectionNotificationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionNotification { + return vs[0].([]ConnectionNotification)[vs[1].(int)] + }).(ConnectionNotificationOutput) +} + +type ConnectionOperation struct { + EquinixStatus *string `pulumi:"equinixStatus"` + Errors []ConnectionOperationError `pulumi:"errors"` + ProviderStatus *string `pulumi:"providerStatus"` +} + +// ConnectionOperationInput is an input type that accepts ConnectionOperationArgs and ConnectionOperationOutput values. +// You can construct a concrete instance of `ConnectionOperationInput` via: +// +// ConnectionOperationArgs{...} +type ConnectionOperationInput interface { + pulumi.Input + + ToConnectionOperationOutput() ConnectionOperationOutput + ToConnectionOperationOutputWithContext(context.Context) ConnectionOperationOutput +} + +type ConnectionOperationArgs struct { + EquinixStatus pulumi.StringPtrInput `pulumi:"equinixStatus"` + Errors ConnectionOperationErrorArrayInput `pulumi:"errors"` + ProviderStatus pulumi.StringPtrInput `pulumi:"providerStatus"` +} + +func (ConnectionOperationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionOperation)(nil)).Elem() +} + +func (i ConnectionOperationArgs) ToConnectionOperationOutput() ConnectionOperationOutput { + return i.ToConnectionOperationOutputWithContext(context.Background()) +} + +func (i ConnectionOperationArgs) ToConnectionOperationOutputWithContext(ctx context.Context) ConnectionOperationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationOutput) +} + +func (i ConnectionOperationArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionOperation] { + return pulumix.Output[ConnectionOperation]{ + OutputState: i.ToConnectionOperationOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionOperationArgs) ToConnectionOperationPtrOutput() ConnectionOperationPtrOutput { + return i.ToConnectionOperationPtrOutputWithContext(context.Background()) +} + +func (i ConnectionOperationArgs) ToConnectionOperationPtrOutputWithContext(ctx context.Context) ConnectionOperationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationOutput).ToConnectionOperationPtrOutputWithContext(ctx) +} + +// ConnectionOperationPtrInput is an input type that accepts ConnectionOperationArgs, ConnectionOperationPtr and ConnectionOperationPtrOutput values. +// You can construct a concrete instance of `ConnectionOperationPtrInput` via: +// +// ConnectionOperationArgs{...} +// +// or: +// +// nil +type ConnectionOperationPtrInput interface { + pulumi.Input + + ToConnectionOperationPtrOutput() ConnectionOperationPtrOutput + ToConnectionOperationPtrOutputWithContext(context.Context) ConnectionOperationPtrOutput +} + +type connectionOperationPtrType ConnectionOperationArgs + +func ConnectionOperationPtr(v *ConnectionOperationArgs) ConnectionOperationPtrInput { + return (*connectionOperationPtrType)(v) +} + +func (*connectionOperationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionOperation)(nil)).Elem() +} + +func (i *connectionOperationPtrType) ToConnectionOperationPtrOutput() ConnectionOperationPtrOutput { + return i.ToConnectionOperationPtrOutputWithContext(context.Background()) +} + +func (i *connectionOperationPtrType) ToConnectionOperationPtrOutputWithContext(ctx context.Context) ConnectionOperationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationPtrOutput) +} + +func (i *connectionOperationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionOperation] { + return pulumix.Output[*ConnectionOperation]{ + OutputState: i.ToConnectionOperationPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionOperationOutput struct{ *pulumi.OutputState } + +func (ConnectionOperationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionOperation)(nil)).Elem() +} + +func (o ConnectionOperationOutput) ToConnectionOperationOutput() ConnectionOperationOutput { + return o +} + +func (o ConnectionOperationOutput) ToConnectionOperationOutputWithContext(ctx context.Context) ConnectionOperationOutput { + return o +} + +func (o ConnectionOperationOutput) ToConnectionOperationPtrOutput() ConnectionOperationPtrOutput { + return o.ToConnectionOperationPtrOutputWithContext(context.Background()) +} + +func (o ConnectionOperationOutput) ToConnectionOperationPtrOutputWithContext(ctx context.Context) ConnectionOperationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionOperation) *ConnectionOperation { + return &v + }).(ConnectionOperationPtrOutput) +} + +func (o ConnectionOperationOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionOperation] { + return pulumix.Output[ConnectionOperation]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionOperationOutput) EquinixStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOperation) *string { return v.EquinixStatus }).(pulumi.StringPtrOutput) +} + +func (o ConnectionOperationOutput) Errors() ConnectionOperationErrorArrayOutput { + return o.ApplyT(func(v ConnectionOperation) []ConnectionOperationError { return v.Errors }).(ConnectionOperationErrorArrayOutput) +} + +func (o ConnectionOperationOutput) ProviderStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOperation) *string { return v.ProviderStatus }).(pulumi.StringPtrOutput) +} + +type ConnectionOperationPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionOperationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionOperation)(nil)).Elem() +} + +func (o ConnectionOperationPtrOutput) ToConnectionOperationPtrOutput() ConnectionOperationPtrOutput { + return o +} + +func (o ConnectionOperationPtrOutput) ToConnectionOperationPtrOutputWithContext(ctx context.Context) ConnectionOperationPtrOutput { + return o +} + +func (o ConnectionOperationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionOperation] { + return pulumix.Output[*ConnectionOperation]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionOperationPtrOutput) Elem() ConnectionOperationOutput { + return o.ApplyT(func(v *ConnectionOperation) ConnectionOperation { + if v != nil { + return *v + } + var ret ConnectionOperation + return ret + }).(ConnectionOperationOutput) +} + +func (o ConnectionOperationPtrOutput) EquinixStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionOperation) *string { + if v == nil { + return nil + } + return v.EquinixStatus + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionOperationPtrOutput) Errors() ConnectionOperationErrorArrayOutput { + return o.ApplyT(func(v *ConnectionOperation) []ConnectionOperationError { + if v == nil { + return nil + } + return v.Errors + }).(ConnectionOperationErrorArrayOutput) +} + +func (o ConnectionOperationPtrOutput) ProviderStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionOperation) *string { + if v == nil { + return nil + } + return v.ProviderStatus + }).(pulumi.StringPtrOutput) +} + +type ConnectionOperationError struct { + // Connection side additional information + AdditionalInfo []ConnectionOperationErrorAdditionalInfo `pulumi:"additionalInfo"` + CorrelationId *string `pulumi:"correlationId"` + Details *string `pulumi:"details"` + ErrorCode *string `pulumi:"errorCode"` + ErrorMessage *string `pulumi:"errorMessage"` + Help *string `pulumi:"help"` +} + +// ConnectionOperationErrorInput is an input type that accepts ConnectionOperationErrorArgs and ConnectionOperationErrorOutput values. +// You can construct a concrete instance of `ConnectionOperationErrorInput` via: +// +// ConnectionOperationErrorArgs{...} +type ConnectionOperationErrorInput interface { + pulumi.Input + + ToConnectionOperationErrorOutput() ConnectionOperationErrorOutput + ToConnectionOperationErrorOutputWithContext(context.Context) ConnectionOperationErrorOutput +} + +type ConnectionOperationErrorArgs struct { + // Connection side additional information + AdditionalInfo ConnectionOperationErrorAdditionalInfoArrayInput `pulumi:"additionalInfo"` + CorrelationId pulumi.StringPtrInput `pulumi:"correlationId"` + Details pulumi.StringPtrInput `pulumi:"details"` + ErrorCode pulumi.StringPtrInput `pulumi:"errorCode"` + ErrorMessage pulumi.StringPtrInput `pulumi:"errorMessage"` + Help pulumi.StringPtrInput `pulumi:"help"` +} + +func (ConnectionOperationErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionOperationError)(nil)).Elem() +} + +func (i ConnectionOperationErrorArgs) ToConnectionOperationErrorOutput() ConnectionOperationErrorOutput { + return i.ToConnectionOperationErrorOutputWithContext(context.Background()) +} + +func (i ConnectionOperationErrorArgs) ToConnectionOperationErrorOutputWithContext(ctx context.Context) ConnectionOperationErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationErrorOutput) +} + +func (i ConnectionOperationErrorArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionOperationError] { + return pulumix.Output[ConnectionOperationError]{ + OutputState: i.ToConnectionOperationErrorOutputWithContext(ctx).OutputState, + } +} + +// ConnectionOperationErrorArrayInput is an input type that accepts ConnectionOperationErrorArray and ConnectionOperationErrorArrayOutput values. +// You can construct a concrete instance of `ConnectionOperationErrorArrayInput` via: +// +// ConnectionOperationErrorArray{ ConnectionOperationErrorArgs{...} } +type ConnectionOperationErrorArrayInput interface { + pulumi.Input + + ToConnectionOperationErrorArrayOutput() ConnectionOperationErrorArrayOutput + ToConnectionOperationErrorArrayOutputWithContext(context.Context) ConnectionOperationErrorArrayOutput +} + +type ConnectionOperationErrorArray []ConnectionOperationErrorInput + +func (ConnectionOperationErrorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionOperationError)(nil)).Elem() +} + +func (i ConnectionOperationErrorArray) ToConnectionOperationErrorArrayOutput() ConnectionOperationErrorArrayOutput { + return i.ToConnectionOperationErrorArrayOutputWithContext(context.Background()) +} + +func (i ConnectionOperationErrorArray) ToConnectionOperationErrorArrayOutputWithContext(ctx context.Context) ConnectionOperationErrorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationErrorArrayOutput) +} + +func (i ConnectionOperationErrorArray) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionOperationError] { + return pulumix.Output[[]ConnectionOperationError]{ + OutputState: i.ToConnectionOperationErrorArrayOutputWithContext(ctx).OutputState, + } +} + +type ConnectionOperationErrorOutput struct{ *pulumi.OutputState } + +func (ConnectionOperationErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionOperationError)(nil)).Elem() +} + +func (o ConnectionOperationErrorOutput) ToConnectionOperationErrorOutput() ConnectionOperationErrorOutput { + return o +} + +func (o ConnectionOperationErrorOutput) ToConnectionOperationErrorOutputWithContext(ctx context.Context) ConnectionOperationErrorOutput { + return o +} + +func (o ConnectionOperationErrorOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionOperationError] { + return pulumix.Output[ConnectionOperationError]{ + OutputState: o.OutputState, + } +} + +// Connection side additional information +func (o ConnectionOperationErrorOutput) AdditionalInfo() ConnectionOperationErrorAdditionalInfoArrayOutput { + return o.ApplyT(func(v ConnectionOperationError) []ConnectionOperationErrorAdditionalInfo { return v.AdditionalInfo }).(ConnectionOperationErrorAdditionalInfoArrayOutput) +} + +func (o ConnectionOperationErrorOutput) CorrelationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOperationError) *string { return v.CorrelationId }).(pulumi.StringPtrOutput) +} + +func (o ConnectionOperationErrorOutput) Details() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOperationError) *string { return v.Details }).(pulumi.StringPtrOutput) +} + +func (o ConnectionOperationErrorOutput) ErrorCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOperationError) *string { return v.ErrorCode }).(pulumi.StringPtrOutput) +} + +func (o ConnectionOperationErrorOutput) ErrorMessage() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOperationError) *string { return v.ErrorMessage }).(pulumi.StringPtrOutput) +} + +func (o ConnectionOperationErrorOutput) Help() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOperationError) *string { return v.Help }).(pulumi.StringPtrOutput) +} + +type ConnectionOperationErrorArrayOutput struct{ *pulumi.OutputState } + +func (ConnectionOperationErrorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionOperationError)(nil)).Elem() +} + +func (o ConnectionOperationErrorArrayOutput) ToConnectionOperationErrorArrayOutput() ConnectionOperationErrorArrayOutput { + return o +} + +func (o ConnectionOperationErrorArrayOutput) ToConnectionOperationErrorArrayOutputWithContext(ctx context.Context) ConnectionOperationErrorArrayOutput { + return o +} + +func (o ConnectionOperationErrorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionOperationError] { + return pulumix.Output[[]ConnectionOperationError]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionOperationErrorArrayOutput) Index(i pulumi.IntInput) ConnectionOperationErrorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionOperationError { + return vs[0].([]ConnectionOperationError)[vs[1].(int)] + }).(ConnectionOperationErrorOutput) +} + +type ConnectionOperationErrorAdditionalInfo struct { + Property *string `pulumi:"property"` + Reason *string `pulumi:"reason"` +} + +// ConnectionOperationErrorAdditionalInfoInput is an input type that accepts ConnectionOperationErrorAdditionalInfoArgs and ConnectionOperationErrorAdditionalInfoOutput values. +// You can construct a concrete instance of `ConnectionOperationErrorAdditionalInfoInput` via: +// +// ConnectionOperationErrorAdditionalInfoArgs{...} +type ConnectionOperationErrorAdditionalInfoInput interface { + pulumi.Input + + ToConnectionOperationErrorAdditionalInfoOutput() ConnectionOperationErrorAdditionalInfoOutput + ToConnectionOperationErrorAdditionalInfoOutputWithContext(context.Context) ConnectionOperationErrorAdditionalInfoOutput +} + +type ConnectionOperationErrorAdditionalInfoArgs struct { + Property pulumi.StringPtrInput `pulumi:"property"` + Reason pulumi.StringPtrInput `pulumi:"reason"` +} + +func (ConnectionOperationErrorAdditionalInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionOperationErrorAdditionalInfo)(nil)).Elem() +} + +func (i ConnectionOperationErrorAdditionalInfoArgs) ToConnectionOperationErrorAdditionalInfoOutput() ConnectionOperationErrorAdditionalInfoOutput { + return i.ToConnectionOperationErrorAdditionalInfoOutputWithContext(context.Background()) +} + +func (i ConnectionOperationErrorAdditionalInfoArgs) ToConnectionOperationErrorAdditionalInfoOutputWithContext(ctx context.Context) ConnectionOperationErrorAdditionalInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationErrorAdditionalInfoOutput) +} + +func (i ConnectionOperationErrorAdditionalInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionOperationErrorAdditionalInfo] { + return pulumix.Output[ConnectionOperationErrorAdditionalInfo]{ + OutputState: i.ToConnectionOperationErrorAdditionalInfoOutputWithContext(ctx).OutputState, + } +} + +// ConnectionOperationErrorAdditionalInfoArrayInput is an input type that accepts ConnectionOperationErrorAdditionalInfoArray and ConnectionOperationErrorAdditionalInfoArrayOutput values. +// You can construct a concrete instance of `ConnectionOperationErrorAdditionalInfoArrayInput` via: +// +// ConnectionOperationErrorAdditionalInfoArray{ ConnectionOperationErrorAdditionalInfoArgs{...} } +type ConnectionOperationErrorAdditionalInfoArrayInput interface { + pulumi.Input + + ToConnectionOperationErrorAdditionalInfoArrayOutput() ConnectionOperationErrorAdditionalInfoArrayOutput + ToConnectionOperationErrorAdditionalInfoArrayOutputWithContext(context.Context) ConnectionOperationErrorAdditionalInfoArrayOutput +} + +type ConnectionOperationErrorAdditionalInfoArray []ConnectionOperationErrorAdditionalInfoInput + +func (ConnectionOperationErrorAdditionalInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionOperationErrorAdditionalInfo)(nil)).Elem() +} + +func (i ConnectionOperationErrorAdditionalInfoArray) ToConnectionOperationErrorAdditionalInfoArrayOutput() ConnectionOperationErrorAdditionalInfoArrayOutput { + return i.ToConnectionOperationErrorAdditionalInfoArrayOutputWithContext(context.Background()) +} + +func (i ConnectionOperationErrorAdditionalInfoArray) ToConnectionOperationErrorAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionOperationErrorAdditionalInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationErrorAdditionalInfoArrayOutput) +} + +func (i ConnectionOperationErrorAdditionalInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionOperationErrorAdditionalInfo] { + return pulumix.Output[[]ConnectionOperationErrorAdditionalInfo]{ + OutputState: i.ToConnectionOperationErrorAdditionalInfoArrayOutputWithContext(ctx).OutputState, + } +} + +type ConnectionOperationErrorAdditionalInfoOutput struct{ *pulumi.OutputState } + +func (ConnectionOperationErrorAdditionalInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionOperationErrorAdditionalInfo)(nil)).Elem() +} + +func (o ConnectionOperationErrorAdditionalInfoOutput) ToConnectionOperationErrorAdditionalInfoOutput() ConnectionOperationErrorAdditionalInfoOutput { + return o +} + +func (o ConnectionOperationErrorAdditionalInfoOutput) ToConnectionOperationErrorAdditionalInfoOutputWithContext(ctx context.Context) ConnectionOperationErrorAdditionalInfoOutput { + return o +} + +func (o ConnectionOperationErrorAdditionalInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionOperationErrorAdditionalInfo] { + return pulumix.Output[ConnectionOperationErrorAdditionalInfo]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionOperationErrorAdditionalInfoOutput) Property() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOperationErrorAdditionalInfo) *string { return v.Property }).(pulumi.StringPtrOutput) +} + +func (o ConnectionOperationErrorAdditionalInfoOutput) Reason() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOperationErrorAdditionalInfo) *string { return v.Reason }).(pulumi.StringPtrOutput) +} + +type ConnectionOperationErrorAdditionalInfoArrayOutput struct{ *pulumi.OutputState } + +func (ConnectionOperationErrorAdditionalInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionOperationErrorAdditionalInfo)(nil)).Elem() +} + +func (o ConnectionOperationErrorAdditionalInfoArrayOutput) ToConnectionOperationErrorAdditionalInfoArrayOutput() ConnectionOperationErrorAdditionalInfoArrayOutput { + return o +} + +func (o ConnectionOperationErrorAdditionalInfoArrayOutput) ToConnectionOperationErrorAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionOperationErrorAdditionalInfoArrayOutput { + return o +} + +func (o ConnectionOperationErrorAdditionalInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionOperationErrorAdditionalInfo] { + return pulumix.Output[[]ConnectionOperationErrorAdditionalInfo]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionOperationErrorAdditionalInfoArrayOutput) Index(i pulumi.IntInput) ConnectionOperationErrorAdditionalInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionOperationErrorAdditionalInfo { + return vs[0].([]ConnectionOperationErrorAdditionalInfo)[vs[1].(int)] + }).(ConnectionOperationErrorAdditionalInfoOutput) +} + +type ConnectionOrder struct { + // Billing tier for connection bandwidth + BillingTier *string `pulumi:"billingTier"` + // Order Identification + OrderId *string `pulumi:"orderId"` + // Order Reference Number + OrderNumber *string `pulumi:"orderNumber"` + // Purchase order number + PurchaseOrderNumber *string `pulumi:"purchaseOrderNumber"` +} + +// ConnectionOrderInput is an input type that accepts ConnectionOrderArgs and ConnectionOrderOutput values. +// You can construct a concrete instance of `ConnectionOrderInput` via: +// +// ConnectionOrderArgs{...} +type ConnectionOrderInput interface { + pulumi.Input + + ToConnectionOrderOutput() ConnectionOrderOutput + ToConnectionOrderOutputWithContext(context.Context) ConnectionOrderOutput +} + +type ConnectionOrderArgs struct { + // Billing tier for connection bandwidth + BillingTier pulumi.StringPtrInput `pulumi:"billingTier"` + // Order Identification + OrderId pulumi.StringPtrInput `pulumi:"orderId"` + // Order Reference Number + OrderNumber pulumi.StringPtrInput `pulumi:"orderNumber"` + // Purchase order number + PurchaseOrderNumber pulumi.StringPtrInput `pulumi:"purchaseOrderNumber"` +} + +func (ConnectionOrderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionOrder)(nil)).Elem() +} + +func (i ConnectionOrderArgs) ToConnectionOrderOutput() ConnectionOrderOutput { + return i.ToConnectionOrderOutputWithContext(context.Background()) +} + +func (i ConnectionOrderArgs) ToConnectionOrderOutputWithContext(ctx context.Context) ConnectionOrderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionOrderOutput) +} + +func (i ConnectionOrderArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionOrder] { + return pulumix.Output[ConnectionOrder]{ + OutputState: i.ToConnectionOrderOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionOrderArgs) ToConnectionOrderPtrOutput() ConnectionOrderPtrOutput { + return i.ToConnectionOrderPtrOutputWithContext(context.Background()) +} + +func (i ConnectionOrderArgs) ToConnectionOrderPtrOutputWithContext(ctx context.Context) ConnectionOrderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionOrderOutput).ToConnectionOrderPtrOutputWithContext(ctx) +} + +// ConnectionOrderPtrInput is an input type that accepts ConnectionOrderArgs, ConnectionOrderPtr and ConnectionOrderPtrOutput values. +// You can construct a concrete instance of `ConnectionOrderPtrInput` via: +// +// ConnectionOrderArgs{...} +// +// or: +// +// nil +type ConnectionOrderPtrInput interface { + pulumi.Input + + ToConnectionOrderPtrOutput() ConnectionOrderPtrOutput + ToConnectionOrderPtrOutputWithContext(context.Context) ConnectionOrderPtrOutput +} + +type connectionOrderPtrType ConnectionOrderArgs + +func ConnectionOrderPtr(v *ConnectionOrderArgs) ConnectionOrderPtrInput { + return (*connectionOrderPtrType)(v) +} + +func (*connectionOrderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionOrder)(nil)).Elem() +} + +func (i *connectionOrderPtrType) ToConnectionOrderPtrOutput() ConnectionOrderPtrOutput { + return i.ToConnectionOrderPtrOutputWithContext(context.Background()) +} + +func (i *connectionOrderPtrType) ToConnectionOrderPtrOutputWithContext(ctx context.Context) ConnectionOrderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionOrderPtrOutput) +} + +func (i *connectionOrderPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionOrder] { + return pulumix.Output[*ConnectionOrder]{ + OutputState: i.ToConnectionOrderPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionOrderOutput struct{ *pulumi.OutputState } + +func (ConnectionOrderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionOrder)(nil)).Elem() +} + +func (o ConnectionOrderOutput) ToConnectionOrderOutput() ConnectionOrderOutput { + return o +} + +func (o ConnectionOrderOutput) ToConnectionOrderOutputWithContext(ctx context.Context) ConnectionOrderOutput { + return o +} + +func (o ConnectionOrderOutput) ToConnectionOrderPtrOutput() ConnectionOrderPtrOutput { + return o.ToConnectionOrderPtrOutputWithContext(context.Background()) +} + +func (o ConnectionOrderOutput) ToConnectionOrderPtrOutputWithContext(ctx context.Context) ConnectionOrderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionOrder) *ConnectionOrder { + return &v + }).(ConnectionOrderPtrOutput) +} + +func (o ConnectionOrderOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionOrder] { + return pulumix.Output[ConnectionOrder]{ + OutputState: o.OutputState, + } +} + +// Billing tier for connection bandwidth +func (o ConnectionOrderOutput) BillingTier() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOrder) *string { return v.BillingTier }).(pulumi.StringPtrOutput) +} + +// Order Identification +func (o ConnectionOrderOutput) OrderId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOrder) *string { return v.OrderId }).(pulumi.StringPtrOutput) +} + +// Order Reference Number +func (o ConnectionOrderOutput) OrderNumber() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOrder) *string { return v.OrderNumber }).(pulumi.StringPtrOutput) +} + +// Purchase order number +func (o ConnectionOrderOutput) PurchaseOrderNumber() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOrder) *string { return v.PurchaseOrderNumber }).(pulumi.StringPtrOutput) +} + +type ConnectionOrderPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionOrderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionOrder)(nil)).Elem() +} + +func (o ConnectionOrderPtrOutput) ToConnectionOrderPtrOutput() ConnectionOrderPtrOutput { + return o +} + +func (o ConnectionOrderPtrOutput) ToConnectionOrderPtrOutputWithContext(ctx context.Context) ConnectionOrderPtrOutput { + return o +} + +func (o ConnectionOrderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionOrder] { + return pulumix.Output[*ConnectionOrder]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionOrderPtrOutput) Elem() ConnectionOrderOutput { + return o.ApplyT(func(v *ConnectionOrder) ConnectionOrder { + if v != nil { + return *v + } + var ret ConnectionOrder + return ret + }).(ConnectionOrderOutput) +} + +// Billing tier for connection bandwidth +func (o ConnectionOrderPtrOutput) BillingTier() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionOrder) *string { + if v == nil { + return nil + } + return v.BillingTier + }).(pulumi.StringPtrOutput) +} + +// Order Identification +func (o ConnectionOrderPtrOutput) OrderId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionOrder) *string { + if v == nil { + return nil + } + return v.OrderId + }).(pulumi.StringPtrOutput) +} + +// Order Reference Number +func (o ConnectionOrderPtrOutput) OrderNumber() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionOrder) *string { + if v == nil { + return nil + } + return v.OrderNumber + }).(pulumi.StringPtrOutput) +} + +// Purchase order number +func (o ConnectionOrderPtrOutput) PurchaseOrderNumber() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionOrder) *string { + if v == nil { + return nil + } + return v.PurchaseOrderNumber + }).(pulumi.StringPtrOutput) +} + +type ConnectionProject struct { + // Unique Resource URL + Href *string `pulumi:"href"` + // Project Id + ProjectId *string `pulumi:"projectId"` +} + +// ConnectionProjectInput is an input type that accepts ConnectionProjectArgs and ConnectionProjectOutput values. +// You can construct a concrete instance of `ConnectionProjectInput` via: +// +// ConnectionProjectArgs{...} +type ConnectionProjectInput interface { + pulumi.Input + + ToConnectionProjectOutput() ConnectionProjectOutput + ToConnectionProjectOutputWithContext(context.Context) ConnectionProjectOutput +} + +type ConnectionProjectArgs struct { + // Unique Resource URL + Href pulumi.StringPtrInput `pulumi:"href"` + // Project Id + ProjectId pulumi.StringPtrInput `pulumi:"projectId"` +} + +func (ConnectionProjectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionProject)(nil)).Elem() +} + +func (i ConnectionProjectArgs) ToConnectionProjectOutput() ConnectionProjectOutput { + return i.ToConnectionProjectOutputWithContext(context.Background()) +} + +func (i ConnectionProjectArgs) ToConnectionProjectOutputWithContext(ctx context.Context) ConnectionProjectOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionProjectOutput) +} + +func (i ConnectionProjectArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionProject] { + return pulumix.Output[ConnectionProject]{ + OutputState: i.ToConnectionProjectOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionProjectArgs) ToConnectionProjectPtrOutput() ConnectionProjectPtrOutput { + return i.ToConnectionProjectPtrOutputWithContext(context.Background()) +} + +func (i ConnectionProjectArgs) ToConnectionProjectPtrOutputWithContext(ctx context.Context) ConnectionProjectPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionProjectOutput).ToConnectionProjectPtrOutputWithContext(ctx) +} + +// ConnectionProjectPtrInput is an input type that accepts ConnectionProjectArgs, ConnectionProjectPtr and ConnectionProjectPtrOutput values. +// You can construct a concrete instance of `ConnectionProjectPtrInput` via: +// +// ConnectionProjectArgs{...} +// +// or: +// +// nil +type ConnectionProjectPtrInput interface { + pulumi.Input + + ToConnectionProjectPtrOutput() ConnectionProjectPtrOutput + ToConnectionProjectPtrOutputWithContext(context.Context) ConnectionProjectPtrOutput +} + +type connectionProjectPtrType ConnectionProjectArgs + +func ConnectionProjectPtr(v *ConnectionProjectArgs) ConnectionProjectPtrInput { + return (*connectionProjectPtrType)(v) +} + +func (*connectionProjectPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionProject)(nil)).Elem() +} + +func (i *connectionProjectPtrType) ToConnectionProjectPtrOutput() ConnectionProjectPtrOutput { + return i.ToConnectionProjectPtrOutputWithContext(context.Background()) +} + +func (i *connectionProjectPtrType) ToConnectionProjectPtrOutputWithContext(ctx context.Context) ConnectionProjectPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionProjectPtrOutput) +} + +func (i *connectionProjectPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProject] { + return pulumix.Output[*ConnectionProject]{ + OutputState: i.ToConnectionProjectPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionProjectOutput struct{ *pulumi.OutputState } + +func (ConnectionProjectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionProject)(nil)).Elem() +} + +func (o ConnectionProjectOutput) ToConnectionProjectOutput() ConnectionProjectOutput { + return o +} + +func (o ConnectionProjectOutput) ToConnectionProjectOutputWithContext(ctx context.Context) ConnectionProjectOutput { + return o +} + +func (o ConnectionProjectOutput) ToConnectionProjectPtrOutput() ConnectionProjectPtrOutput { + return o.ToConnectionProjectPtrOutputWithContext(context.Background()) +} + +func (o ConnectionProjectOutput) ToConnectionProjectPtrOutputWithContext(ctx context.Context) ConnectionProjectPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionProject) *ConnectionProject { + return &v + }).(ConnectionProjectPtrOutput) +} + +func (o ConnectionProjectOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionProject] { + return pulumix.Output[ConnectionProject]{ + OutputState: o.OutputState, + } +} + +// Unique Resource URL +func (o ConnectionProjectOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionProject) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +// Project Id +func (o ConnectionProjectOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionProject) *string { return v.ProjectId }).(pulumi.StringPtrOutput) +} + +type ConnectionProjectPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionProjectPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionProject)(nil)).Elem() +} + +func (o ConnectionProjectPtrOutput) ToConnectionProjectPtrOutput() ConnectionProjectPtrOutput { + return o +} + +func (o ConnectionProjectPtrOutput) ToConnectionProjectPtrOutputWithContext(ctx context.Context) ConnectionProjectPtrOutput { + return o +} + +func (o ConnectionProjectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProject] { + return pulumix.Output[*ConnectionProject]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionProjectPtrOutput) Elem() ConnectionProjectOutput { + return o.ApplyT(func(v *ConnectionProject) ConnectionProject { + if v != nil { + return *v + } + var ret ConnectionProject + return ret + }).(ConnectionProjectOutput) +} + +// Unique Resource URL +func (o ConnectionProjectPtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionProject) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) +} + +// Project Id +func (o ConnectionProjectPtrOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionProject) *string { + if v == nil { + return nil + } + return v.ProjectId + }).(pulumi.StringPtrOutput) +} + +type ConnectionRedundancy struct { + // Redundancy group identifier + Group *string `pulumi:"group"` + // Priority type- PRIMARY, SECONDARY + Priority *string `pulumi:"priority"` +} + +// ConnectionRedundancyInput is an input type that accepts ConnectionRedundancyArgs and ConnectionRedundancyOutput values. +// You can construct a concrete instance of `ConnectionRedundancyInput` via: +// +// ConnectionRedundancyArgs{...} +type ConnectionRedundancyInput interface { + pulumi.Input + + ToConnectionRedundancyOutput() ConnectionRedundancyOutput + ToConnectionRedundancyOutputWithContext(context.Context) ConnectionRedundancyOutput +} + +type ConnectionRedundancyArgs struct { + // Redundancy group identifier + Group pulumi.StringPtrInput `pulumi:"group"` + // Priority type- PRIMARY, SECONDARY + Priority pulumi.StringPtrInput `pulumi:"priority"` +} + +func (ConnectionRedundancyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionRedundancy)(nil)).Elem() +} + +func (i ConnectionRedundancyArgs) ToConnectionRedundancyOutput() ConnectionRedundancyOutput { + return i.ToConnectionRedundancyOutputWithContext(context.Background()) +} + +func (i ConnectionRedundancyArgs) ToConnectionRedundancyOutputWithContext(ctx context.Context) ConnectionRedundancyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionRedundancyOutput) +} + +func (i ConnectionRedundancyArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionRedundancy] { + return pulumix.Output[ConnectionRedundancy]{ + OutputState: i.ToConnectionRedundancyOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionRedundancyArgs) ToConnectionRedundancyPtrOutput() ConnectionRedundancyPtrOutput { + return i.ToConnectionRedundancyPtrOutputWithContext(context.Background()) +} + +func (i ConnectionRedundancyArgs) ToConnectionRedundancyPtrOutputWithContext(ctx context.Context) ConnectionRedundancyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionRedundancyOutput).ToConnectionRedundancyPtrOutputWithContext(ctx) +} + +// ConnectionRedundancyPtrInput is an input type that accepts ConnectionRedundancyArgs, ConnectionRedundancyPtr and ConnectionRedundancyPtrOutput values. +// You can construct a concrete instance of `ConnectionRedundancyPtrInput` via: +// +// ConnectionRedundancyArgs{...} +// +// or: +// +// nil +type ConnectionRedundancyPtrInput interface { + pulumi.Input + + ToConnectionRedundancyPtrOutput() ConnectionRedundancyPtrOutput + ToConnectionRedundancyPtrOutputWithContext(context.Context) ConnectionRedundancyPtrOutput +} + +type connectionRedundancyPtrType ConnectionRedundancyArgs + +func ConnectionRedundancyPtr(v *ConnectionRedundancyArgs) ConnectionRedundancyPtrInput { + return (*connectionRedundancyPtrType)(v) +} + +func (*connectionRedundancyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionRedundancy)(nil)).Elem() +} + +func (i *connectionRedundancyPtrType) ToConnectionRedundancyPtrOutput() ConnectionRedundancyPtrOutput { + return i.ToConnectionRedundancyPtrOutputWithContext(context.Background()) +} + +func (i *connectionRedundancyPtrType) ToConnectionRedundancyPtrOutputWithContext(ctx context.Context) ConnectionRedundancyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionRedundancyPtrOutput) +} + +func (i *connectionRedundancyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionRedundancy] { + return pulumix.Output[*ConnectionRedundancy]{ + OutputState: i.ToConnectionRedundancyPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionRedundancyOutput struct{ *pulumi.OutputState } + +func (ConnectionRedundancyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionRedundancy)(nil)).Elem() +} + +func (o ConnectionRedundancyOutput) ToConnectionRedundancyOutput() ConnectionRedundancyOutput { + return o +} + +func (o ConnectionRedundancyOutput) ToConnectionRedundancyOutputWithContext(ctx context.Context) ConnectionRedundancyOutput { + return o +} + +func (o ConnectionRedundancyOutput) ToConnectionRedundancyPtrOutput() ConnectionRedundancyPtrOutput { + return o.ToConnectionRedundancyPtrOutputWithContext(context.Background()) +} + +func (o ConnectionRedundancyOutput) ToConnectionRedundancyPtrOutputWithContext(ctx context.Context) ConnectionRedundancyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionRedundancy) *ConnectionRedundancy { + return &v + }).(ConnectionRedundancyPtrOutput) +} + +func (o ConnectionRedundancyOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionRedundancy] { + return pulumix.Output[ConnectionRedundancy]{ + OutputState: o.OutputState, + } +} + +// Redundancy group identifier +func (o ConnectionRedundancyOutput) Group() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionRedundancy) *string { return v.Group }).(pulumi.StringPtrOutput) +} + +// Priority type- PRIMARY, SECONDARY +func (o ConnectionRedundancyOutput) Priority() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionRedundancy) *string { return v.Priority }).(pulumi.StringPtrOutput) +} + +type ConnectionRedundancyPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionRedundancyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionRedundancy)(nil)).Elem() +} + +func (o ConnectionRedundancyPtrOutput) ToConnectionRedundancyPtrOutput() ConnectionRedundancyPtrOutput { + return o +} + +func (o ConnectionRedundancyPtrOutput) ToConnectionRedundancyPtrOutputWithContext(ctx context.Context) ConnectionRedundancyPtrOutput { + return o +} + +func (o ConnectionRedundancyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionRedundancy] { + return pulumix.Output[*ConnectionRedundancy]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionRedundancyPtrOutput) Elem() ConnectionRedundancyOutput { + return o.ApplyT(func(v *ConnectionRedundancy) ConnectionRedundancy { + if v != nil { + return *v + } + var ret ConnectionRedundancy + return ret + }).(ConnectionRedundancyOutput) +} + +// Redundancy group identifier +func (o ConnectionRedundancyPtrOutput) Group() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionRedundancy) *string { + if v == nil { + return nil + } + return v.Group + }).(pulumi.StringPtrOutput) +} + +// Priority type- PRIMARY, SECONDARY +func (o ConnectionRedundancyPtrOutput) Priority() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionRedundancy) *string { + if v == nil { + return nil + } + return v.Priority + }).(pulumi.StringPtrOutput) +} + +type ConnectionZSide struct { + // Point of access details + AccessPoint *ConnectionZSideAccessPoint `pulumi:"accessPoint"` + // Connection side additional information + AdditionalInfo []ConnectionZSideAdditionalInfo `pulumi:"additionalInfo"` + // For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets + ServiceToken *ConnectionZSideServiceToken `pulumi:"serviceToken"` +} + +// ConnectionZSideInput is an input type that accepts ConnectionZSideArgs and ConnectionZSideOutput values. +// You can construct a concrete instance of `ConnectionZSideInput` via: +// +// ConnectionZSideArgs{...} +type ConnectionZSideInput interface { + pulumi.Input + + ToConnectionZSideOutput() ConnectionZSideOutput + ToConnectionZSideOutputWithContext(context.Context) ConnectionZSideOutput +} + +type ConnectionZSideArgs struct { + // Point of access details + AccessPoint ConnectionZSideAccessPointPtrInput `pulumi:"accessPoint"` + // Connection side additional information + AdditionalInfo ConnectionZSideAdditionalInfoArrayInput `pulumi:"additionalInfo"` + // For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets + ServiceToken ConnectionZSideServiceTokenPtrInput `pulumi:"serviceToken"` +} + +func (ConnectionZSideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSide)(nil)).Elem() +} + +func (i ConnectionZSideArgs) ToConnectionZSideOutput() ConnectionZSideOutput { + return i.ToConnectionZSideOutputWithContext(context.Background()) +} + +func (i ConnectionZSideArgs) ToConnectionZSideOutputWithContext(ctx context.Context) ConnectionZSideOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideOutput) +} + +func (i ConnectionZSideArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSide] { + return pulumix.Output[ConnectionZSide]{ + OutputState: i.ToConnectionZSideOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionZSideArgs) ToConnectionZSidePtrOutput() ConnectionZSidePtrOutput { + return i.ToConnectionZSidePtrOutputWithContext(context.Background()) +} + +func (i ConnectionZSideArgs) ToConnectionZSidePtrOutputWithContext(ctx context.Context) ConnectionZSidePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideOutput).ToConnectionZSidePtrOutputWithContext(ctx) +} + +// ConnectionZSidePtrInput is an input type that accepts ConnectionZSideArgs, ConnectionZSidePtr and ConnectionZSidePtrOutput values. +// You can construct a concrete instance of `ConnectionZSidePtrInput` via: +// +// ConnectionZSideArgs{...} +// +// or: +// +// nil +type ConnectionZSidePtrInput interface { + pulumi.Input + + ToConnectionZSidePtrOutput() ConnectionZSidePtrOutput + ToConnectionZSidePtrOutputWithContext(context.Context) ConnectionZSidePtrOutput +} + +type connectionZSidePtrType ConnectionZSideArgs + +func ConnectionZSidePtr(v *ConnectionZSideArgs) ConnectionZSidePtrInput { + return (*connectionZSidePtrType)(v) +} + +func (*connectionZSidePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSide)(nil)).Elem() +} + +func (i *connectionZSidePtrType) ToConnectionZSidePtrOutput() ConnectionZSidePtrOutput { + return i.ToConnectionZSidePtrOutputWithContext(context.Background()) +} + +func (i *connectionZSidePtrType) ToConnectionZSidePtrOutputWithContext(ctx context.Context) ConnectionZSidePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSidePtrOutput) +} + +func (i *connectionZSidePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSide] { + return pulumix.Output[*ConnectionZSide]{ + OutputState: i.ToConnectionZSidePtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSide)(nil)).Elem() +} + +func (o ConnectionZSideOutput) ToConnectionZSideOutput() ConnectionZSideOutput { + return o +} + +func (o ConnectionZSideOutput) ToConnectionZSideOutputWithContext(ctx context.Context) ConnectionZSideOutput { + return o +} + +func (o ConnectionZSideOutput) ToConnectionZSidePtrOutput() ConnectionZSidePtrOutput { + return o.ToConnectionZSidePtrOutputWithContext(context.Background()) +} + +func (o ConnectionZSideOutput) ToConnectionZSidePtrOutputWithContext(ctx context.Context) ConnectionZSidePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSide) *ConnectionZSide { + return &v + }).(ConnectionZSidePtrOutput) +} + +func (o ConnectionZSideOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSide] { + return pulumix.Output[ConnectionZSide]{ + OutputState: o.OutputState, + } +} + +// Point of access details +func (o ConnectionZSideOutput) AccessPoint() ConnectionZSideAccessPointPtrOutput { + return o.ApplyT(func(v ConnectionZSide) *ConnectionZSideAccessPoint { return v.AccessPoint }).(ConnectionZSideAccessPointPtrOutput) +} + +// Connection side additional information +func (o ConnectionZSideOutput) AdditionalInfo() ConnectionZSideAdditionalInfoArrayOutput { + return o.ApplyT(func(v ConnectionZSide) []ConnectionZSideAdditionalInfo { return v.AdditionalInfo }).(ConnectionZSideAdditionalInfoArrayOutput) +} + +// For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets +func (o ConnectionZSideOutput) ServiceToken() ConnectionZSideServiceTokenPtrOutput { + return o.ApplyT(func(v ConnectionZSide) *ConnectionZSideServiceToken { return v.ServiceToken }).(ConnectionZSideServiceTokenPtrOutput) +} + +type ConnectionZSidePtrOutput struct{ *pulumi.OutputState } + +func (ConnectionZSidePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSide)(nil)).Elem() +} + +func (o ConnectionZSidePtrOutput) ToConnectionZSidePtrOutput() ConnectionZSidePtrOutput { + return o +} + +func (o ConnectionZSidePtrOutput) ToConnectionZSidePtrOutputWithContext(ctx context.Context) ConnectionZSidePtrOutput { + return o +} + +func (o ConnectionZSidePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSide] { + return pulumix.Output[*ConnectionZSide]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSidePtrOutput) Elem() ConnectionZSideOutput { + return o.ApplyT(func(v *ConnectionZSide) ConnectionZSide { + if v != nil { + return *v + } + var ret ConnectionZSide + return ret + }).(ConnectionZSideOutput) +} + +// Point of access details +func (o ConnectionZSidePtrOutput) AccessPoint() ConnectionZSideAccessPointPtrOutput { + return o.ApplyT(func(v *ConnectionZSide) *ConnectionZSideAccessPoint { + if v == nil { + return nil + } + return v.AccessPoint + }).(ConnectionZSideAccessPointPtrOutput) +} + +// Connection side additional information +func (o ConnectionZSidePtrOutput) AdditionalInfo() ConnectionZSideAdditionalInfoArrayOutput { + return o.ApplyT(func(v *ConnectionZSide) []ConnectionZSideAdditionalInfo { + if v == nil { + return nil + } + return v.AdditionalInfo + }).(ConnectionZSideAdditionalInfoArrayOutput) +} + +// For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets +func (o ConnectionZSidePtrOutput) ServiceToken() ConnectionZSideServiceTokenPtrOutput { + return o.ApplyT(func(v *ConnectionZSide) *ConnectionZSideServiceToken { + if v == nil { + return nil + } + return v.ServiceToken + }).(ConnectionZSideServiceTokenPtrOutput) +} + +type ConnectionZSideAccessPoint struct { + // Account + Account *ConnectionZSideAccessPointAccount `pulumi:"account"` + // Authentication key for provider based connections + AuthenticationKey *string `pulumi:"authenticationKey"` + // Deprecated: use router attribute instead; gateway is no longer a part of the supported backend + Gateway *ConnectionZSideAccessPointGateway `pulumi:"gateway"` + // Virtual device interface + Interface *ConnectionZSideAccessPointInterface `pulumi:"interface"` + // Connection link protocol + LinkProtocol *ConnectionZSideAccessPointLinkProtocol `pulumi:"linkProtocol"` + // Access point location + Location *ConnectionZSideAccessPointLocation `pulumi:"location"` + Network *ConnectionZSideAccessPointNetwork `pulumi:"network"` + // Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + PeeringType *string `pulumi:"peeringType"` + // Port access point information + Port *ConnectionZSideAccessPointPort `pulumi:"port"` + // Service Profile + Profile *ConnectionZSideAccessPointProfile `pulumi:"profile"` + // Provider assigned Connection Id + ProviderConnectionId *string `pulumi:"providerConnectionId"` + // Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + Router *ConnectionZSideAccessPointRouter `pulumi:"router"` + // Access point routing protocols configuration + RoutingProtocols []ConnectionZSideAccessPointRoutingProtocol `pulumi:"routingProtocols"` + // Access point seller region + SellerRegion *string `pulumi:"sellerRegion"` + // Interface type + Type *string `pulumi:"type"` + // Virtual device + VirtualDevice *ConnectionZSideAccessPointVirtualDevice `pulumi:"virtualDevice"` +} + +// ConnectionZSideAccessPointInput is an input type that accepts ConnectionZSideAccessPointArgs and ConnectionZSideAccessPointOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointInput` via: +// +// ConnectionZSideAccessPointArgs{...} +type ConnectionZSideAccessPointInput interface { + pulumi.Input + + ToConnectionZSideAccessPointOutput() ConnectionZSideAccessPointOutput + ToConnectionZSideAccessPointOutputWithContext(context.Context) ConnectionZSideAccessPointOutput +} + +type ConnectionZSideAccessPointArgs struct { + // Account + Account ConnectionZSideAccessPointAccountPtrInput `pulumi:"account"` + // Authentication key for provider based connections + AuthenticationKey pulumi.StringPtrInput `pulumi:"authenticationKey"` + // Deprecated: use router attribute instead; gateway is no longer a part of the supported backend + Gateway ConnectionZSideAccessPointGatewayPtrInput `pulumi:"gateway"` + // Virtual device interface + Interface ConnectionZSideAccessPointInterfacePtrInput `pulumi:"interface"` + // Connection link protocol + LinkProtocol ConnectionZSideAccessPointLinkProtocolPtrInput `pulumi:"linkProtocol"` + // Access point location + Location ConnectionZSideAccessPointLocationPtrInput `pulumi:"location"` + Network ConnectionZSideAccessPointNetworkPtrInput `pulumi:"network"` + // Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + PeeringType pulumi.StringPtrInput `pulumi:"peeringType"` + // Port access point information + Port ConnectionZSideAccessPointPortPtrInput `pulumi:"port"` + // Service Profile + Profile ConnectionZSideAccessPointProfilePtrInput `pulumi:"profile"` + // Provider assigned Connection Id + ProviderConnectionId pulumi.StringPtrInput `pulumi:"providerConnectionId"` + // Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + Router ConnectionZSideAccessPointRouterPtrInput `pulumi:"router"` + // Access point routing protocols configuration + RoutingProtocols ConnectionZSideAccessPointRoutingProtocolArrayInput `pulumi:"routingProtocols"` + // Access point seller region + SellerRegion pulumi.StringPtrInput `pulumi:"sellerRegion"` + // Interface type + Type pulumi.StringPtrInput `pulumi:"type"` + // Virtual device + VirtualDevice ConnectionZSideAccessPointVirtualDevicePtrInput `pulumi:"virtualDevice"` +} + +func (ConnectionZSideAccessPointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPoint)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointArgs) ToConnectionZSideAccessPointOutput() ConnectionZSideAccessPointOutput { + return i.ToConnectionZSideAccessPointOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointArgs) ToConnectionZSideAccessPointOutputWithContext(ctx context.Context) ConnectionZSideAccessPointOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointOutput) +} + +func (i ConnectionZSideAccessPointArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPoint] { + return pulumix.Output[ConnectionZSideAccessPoint]{ + OutputState: i.ToConnectionZSideAccessPointOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionZSideAccessPointArgs) ToConnectionZSideAccessPointPtrOutput() ConnectionZSideAccessPointPtrOutput { + return i.ToConnectionZSideAccessPointPtrOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointArgs) ToConnectionZSideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointOutput).ToConnectionZSideAccessPointPtrOutputWithContext(ctx) +} + +// ConnectionZSideAccessPointPtrInput is an input type that accepts ConnectionZSideAccessPointArgs, ConnectionZSideAccessPointPtr and ConnectionZSideAccessPointPtrOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointPtrInput` via: +// +// ConnectionZSideAccessPointArgs{...} +// +// or: +// +// nil +type ConnectionZSideAccessPointPtrInput interface { + pulumi.Input + + ToConnectionZSideAccessPointPtrOutput() ConnectionZSideAccessPointPtrOutput + ToConnectionZSideAccessPointPtrOutputWithContext(context.Context) ConnectionZSideAccessPointPtrOutput +} + +type connectionZSideAccessPointPtrType ConnectionZSideAccessPointArgs + +func ConnectionZSideAccessPointPtr(v *ConnectionZSideAccessPointArgs) ConnectionZSideAccessPointPtrInput { + return (*connectionZSideAccessPointPtrType)(v) +} + +func (*connectionZSideAccessPointPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPoint)(nil)).Elem() +} + +func (i *connectionZSideAccessPointPtrType) ToConnectionZSideAccessPointPtrOutput() ConnectionZSideAccessPointPtrOutput { + return i.ToConnectionZSideAccessPointPtrOutputWithContext(context.Background()) +} + +func (i *connectionZSideAccessPointPtrType) ToConnectionZSideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointPtrOutput) +} + +func (i *connectionZSideAccessPointPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPoint] { + return pulumix.Output[*ConnectionZSideAccessPoint]{ + OutputState: i.ToConnectionZSideAccessPointPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPoint)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointOutput) ToConnectionZSideAccessPointOutput() ConnectionZSideAccessPointOutput { + return o +} + +func (o ConnectionZSideAccessPointOutput) ToConnectionZSideAccessPointOutputWithContext(ctx context.Context) ConnectionZSideAccessPointOutput { + return o +} + +func (o ConnectionZSideAccessPointOutput) ToConnectionZSideAccessPointPtrOutput() ConnectionZSideAccessPointPtrOutput { + return o.ToConnectionZSideAccessPointPtrOutputWithContext(context.Background()) +} + +func (o ConnectionZSideAccessPointOutput) ToConnectionZSideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPoint) *ConnectionZSideAccessPoint { + return &v + }).(ConnectionZSideAccessPointPtrOutput) +} + +func (o ConnectionZSideAccessPointOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPoint] { + return pulumix.Output[ConnectionZSideAccessPoint]{ + OutputState: o.OutputState, + } +} + +// Account +func (o ConnectionZSideAccessPointOutput) Account() ConnectionZSideAccessPointAccountPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointAccount { return v.Account }).(ConnectionZSideAccessPointAccountPtrOutput) +} + +// Authentication key for provider based connections +func (o ConnectionZSideAccessPointOutput) AuthenticationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *string { return v.AuthenticationKey }).(pulumi.StringPtrOutput) +} + +// Deprecated: use router attribute instead; gateway is no longer a part of the supported backend +func (o ConnectionZSideAccessPointOutput) Gateway() ConnectionZSideAccessPointGatewayPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointGateway { return v.Gateway }).(ConnectionZSideAccessPointGatewayPtrOutput) +} + +// Virtual device interface +func (o ConnectionZSideAccessPointOutput) Interface() ConnectionZSideAccessPointInterfacePtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointInterface { return v.Interface }).(ConnectionZSideAccessPointInterfacePtrOutput) +} + +// Connection link protocol +func (o ConnectionZSideAccessPointOutput) LinkProtocol() ConnectionZSideAccessPointLinkProtocolPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointLinkProtocol { return v.LinkProtocol }).(ConnectionZSideAccessPointLinkProtocolPtrOutput) +} + +// Access point location +func (o ConnectionZSideAccessPointOutput) Location() ConnectionZSideAccessPointLocationPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointLocation { return v.Location }).(ConnectionZSideAccessPointLocationPtrOutput) +} + +func (o ConnectionZSideAccessPointOutput) Network() ConnectionZSideAccessPointNetworkPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointNetwork { return v.Network }).(ConnectionZSideAccessPointNetworkPtrOutput) +} + +// Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL +func (o ConnectionZSideAccessPointOutput) PeeringType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *string { return v.PeeringType }).(pulumi.StringPtrOutput) +} + +// Port access point information +func (o ConnectionZSideAccessPointOutput) Port() ConnectionZSideAccessPointPortPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointPort { return v.Port }).(ConnectionZSideAccessPointPortPtrOutput) +} + +// Service Profile +func (o ConnectionZSideAccessPointOutput) Profile() ConnectionZSideAccessPointProfilePtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointProfile { return v.Profile }).(ConnectionZSideAccessPointProfilePtrOutput) +} + +// Provider assigned Connection Id +func (o ConnectionZSideAccessPointOutput) ProviderConnectionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *string { return v.ProviderConnectionId }).(pulumi.StringPtrOutput) +} + +// Cloud Router access point information that replaces `gateway` (refers to below for nested schema) +func (o ConnectionZSideAccessPointOutput) Router() ConnectionZSideAccessPointRouterPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointRouter { return v.Router }).(ConnectionZSideAccessPointRouterPtrOutput) +} + +// Access point routing protocols configuration +func (o ConnectionZSideAccessPointOutput) RoutingProtocols() ConnectionZSideAccessPointRoutingProtocolArrayOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) []ConnectionZSideAccessPointRoutingProtocol { + return v.RoutingProtocols + }).(ConnectionZSideAccessPointRoutingProtocolArrayOutput) +} + +// Access point seller region +func (o ConnectionZSideAccessPointOutput) SellerRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *string { return v.SellerRegion }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionZSideAccessPointOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// Virtual device +func (o ConnectionZSideAccessPointOutput) VirtualDevice() ConnectionZSideAccessPointVirtualDevicePtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointVirtualDevice { return v.VirtualDevice }).(ConnectionZSideAccessPointVirtualDevicePtrOutput) +} + +type ConnectionZSideAccessPointPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPoint)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointPtrOutput) ToConnectionZSideAccessPointPtrOutput() ConnectionZSideAccessPointPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointPtrOutput) ToConnectionZSideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPoint] { + return pulumix.Output[*ConnectionZSideAccessPoint]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointPtrOutput) Elem() ConnectionZSideAccessPointOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) ConnectionZSideAccessPoint { + if v != nil { + return *v + } + var ret ConnectionZSideAccessPoint + return ret + }).(ConnectionZSideAccessPointOutput) +} + +// Account +func (o ConnectionZSideAccessPointPtrOutput) Account() ConnectionZSideAccessPointAccountPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointAccount { + if v == nil { + return nil + } + return v.Account + }).(ConnectionZSideAccessPointAccountPtrOutput) +} + +// Authentication key for provider based connections +func (o ConnectionZSideAccessPointPtrOutput) AuthenticationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *string { + if v == nil { + return nil + } + return v.AuthenticationKey + }).(pulumi.StringPtrOutput) +} + +// Deprecated: use router attribute instead; gateway is no longer a part of the supported backend +func (o ConnectionZSideAccessPointPtrOutput) Gateway() ConnectionZSideAccessPointGatewayPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointGateway { + if v == nil { + return nil + } + return v.Gateway + }).(ConnectionZSideAccessPointGatewayPtrOutput) +} + +// Virtual device interface +func (o ConnectionZSideAccessPointPtrOutput) Interface() ConnectionZSideAccessPointInterfacePtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointInterface { + if v == nil { + return nil + } + return v.Interface + }).(ConnectionZSideAccessPointInterfacePtrOutput) +} + +// Connection link protocol +func (o ConnectionZSideAccessPointPtrOutput) LinkProtocol() ConnectionZSideAccessPointLinkProtocolPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointLinkProtocol { + if v == nil { + return nil + } + return v.LinkProtocol + }).(ConnectionZSideAccessPointLinkProtocolPtrOutput) +} + +// Access point location +func (o ConnectionZSideAccessPointPtrOutput) Location() ConnectionZSideAccessPointLocationPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointLocation { + if v == nil { + return nil + } + return v.Location + }).(ConnectionZSideAccessPointLocationPtrOutput) +} + +func (o ConnectionZSideAccessPointPtrOutput) Network() ConnectionZSideAccessPointNetworkPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointNetwork { + if v == nil { + return nil + } + return v.Network + }).(ConnectionZSideAccessPointNetworkPtrOutput) +} + +// Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL +func (o ConnectionZSideAccessPointPtrOutput) PeeringType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *string { + if v == nil { + return nil + } + return v.PeeringType + }).(pulumi.StringPtrOutput) +} + +// Port access point information +func (o ConnectionZSideAccessPointPtrOutput) Port() ConnectionZSideAccessPointPortPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointPort { + if v == nil { + return nil + } + return v.Port + }).(ConnectionZSideAccessPointPortPtrOutput) +} + +// Service Profile +func (o ConnectionZSideAccessPointPtrOutput) Profile() ConnectionZSideAccessPointProfilePtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointProfile { + if v == nil { + return nil + } + return v.Profile + }).(ConnectionZSideAccessPointProfilePtrOutput) +} + +// Provider assigned Connection Id +func (o ConnectionZSideAccessPointPtrOutput) ProviderConnectionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *string { + if v == nil { + return nil + } + return v.ProviderConnectionId + }).(pulumi.StringPtrOutput) +} + +// Cloud Router access point information that replaces `gateway` (refers to below for nested schema) +func (o ConnectionZSideAccessPointPtrOutput) Router() ConnectionZSideAccessPointRouterPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointRouter { + if v == nil { + return nil + } + return v.Router + }).(ConnectionZSideAccessPointRouterPtrOutput) +} + +// Access point routing protocols configuration +func (o ConnectionZSideAccessPointPtrOutput) RoutingProtocols() ConnectionZSideAccessPointRoutingProtocolArrayOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) []ConnectionZSideAccessPointRoutingProtocol { + if v == nil { + return nil + } + return v.RoutingProtocols + }).(ConnectionZSideAccessPointRoutingProtocolArrayOutput) +} + +// Access point seller region +func (o ConnectionZSideAccessPointPtrOutput) SellerRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *string { + if v == nil { + return nil + } + return v.SellerRegion + }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionZSideAccessPointPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +// Virtual device +func (o ConnectionZSideAccessPointPtrOutput) VirtualDevice() ConnectionZSideAccessPointVirtualDevicePtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointVirtualDevice { + if v == nil { + return nil + } + return v.VirtualDevice + }).(ConnectionZSideAccessPointVirtualDevicePtrOutput) +} + +type ConnectionZSideAccessPointAccount struct { + AccountName *string `pulumi:"accountName"` + AccountNumber *int `pulumi:"accountNumber"` + GlobalCustId *string `pulumi:"globalCustId"` + GlobalOrgId *string `pulumi:"globalOrgId"` + GlobalOrganizationName *string `pulumi:"globalOrganizationName"` + OrgId *int `pulumi:"orgId"` + OrganizationName *string `pulumi:"organizationName"` +} + +// ConnectionZSideAccessPointAccountInput is an input type that accepts ConnectionZSideAccessPointAccountArgs and ConnectionZSideAccessPointAccountOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointAccountInput` via: +// +// ConnectionZSideAccessPointAccountArgs{...} +type ConnectionZSideAccessPointAccountInput interface { + pulumi.Input + + ToConnectionZSideAccessPointAccountOutput() ConnectionZSideAccessPointAccountOutput + ToConnectionZSideAccessPointAccountOutputWithContext(context.Context) ConnectionZSideAccessPointAccountOutput +} + +type ConnectionZSideAccessPointAccountArgs struct { + AccountName pulumi.StringPtrInput `pulumi:"accountName"` + AccountNumber pulumi.IntPtrInput `pulumi:"accountNumber"` + GlobalCustId pulumi.StringPtrInput `pulumi:"globalCustId"` + GlobalOrgId pulumi.StringPtrInput `pulumi:"globalOrgId"` + GlobalOrganizationName pulumi.StringPtrInput `pulumi:"globalOrganizationName"` + OrgId pulumi.IntPtrInput `pulumi:"orgId"` + OrganizationName pulumi.StringPtrInput `pulumi:"organizationName"` +} + +func (ConnectionZSideAccessPointAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointAccount)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointAccountArgs) ToConnectionZSideAccessPointAccountOutput() ConnectionZSideAccessPointAccountOutput { + return i.ToConnectionZSideAccessPointAccountOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointAccountArgs) ToConnectionZSideAccessPointAccountOutputWithContext(ctx context.Context) ConnectionZSideAccessPointAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointAccountOutput) +} + +func (i ConnectionZSideAccessPointAccountArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointAccount] { + return pulumix.Output[ConnectionZSideAccessPointAccount]{ + OutputState: i.ToConnectionZSideAccessPointAccountOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionZSideAccessPointAccountArgs) ToConnectionZSideAccessPointAccountPtrOutput() ConnectionZSideAccessPointAccountPtrOutput { + return i.ToConnectionZSideAccessPointAccountPtrOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointAccountArgs) ToConnectionZSideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointAccountOutput).ToConnectionZSideAccessPointAccountPtrOutputWithContext(ctx) +} + +// ConnectionZSideAccessPointAccountPtrInput is an input type that accepts ConnectionZSideAccessPointAccountArgs, ConnectionZSideAccessPointAccountPtr and ConnectionZSideAccessPointAccountPtrOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointAccountPtrInput` via: +// +// ConnectionZSideAccessPointAccountArgs{...} +// +// or: +// +// nil +type ConnectionZSideAccessPointAccountPtrInput interface { + pulumi.Input + + ToConnectionZSideAccessPointAccountPtrOutput() ConnectionZSideAccessPointAccountPtrOutput + ToConnectionZSideAccessPointAccountPtrOutputWithContext(context.Context) ConnectionZSideAccessPointAccountPtrOutput +} + +type connectionZSideAccessPointAccountPtrType ConnectionZSideAccessPointAccountArgs + +func ConnectionZSideAccessPointAccountPtr(v *ConnectionZSideAccessPointAccountArgs) ConnectionZSideAccessPointAccountPtrInput { + return (*connectionZSideAccessPointAccountPtrType)(v) +} + +func (*connectionZSideAccessPointAccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointAccount)(nil)).Elem() +} + +func (i *connectionZSideAccessPointAccountPtrType) ToConnectionZSideAccessPointAccountPtrOutput() ConnectionZSideAccessPointAccountPtrOutput { + return i.ToConnectionZSideAccessPointAccountPtrOutputWithContext(context.Background()) +} + +func (i *connectionZSideAccessPointAccountPtrType) ToConnectionZSideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointAccountPtrOutput) +} + +func (i *connectionZSideAccessPointAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointAccount] { + return pulumix.Output[*ConnectionZSideAccessPointAccount]{ + OutputState: i.ToConnectionZSideAccessPointAccountPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointAccountOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointAccount)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointAccountOutput) ToConnectionZSideAccessPointAccountOutput() ConnectionZSideAccessPointAccountOutput { + return o +} + +func (o ConnectionZSideAccessPointAccountOutput) ToConnectionZSideAccessPointAccountOutputWithContext(ctx context.Context) ConnectionZSideAccessPointAccountOutput { + return o +} + +func (o ConnectionZSideAccessPointAccountOutput) ToConnectionZSideAccessPointAccountPtrOutput() ConnectionZSideAccessPointAccountPtrOutput { + return o.ToConnectionZSideAccessPointAccountPtrOutputWithContext(context.Background()) +} + +func (o ConnectionZSideAccessPointAccountOutput) ToConnectionZSideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointAccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointAccount) *ConnectionZSideAccessPointAccount { + return &v + }).(ConnectionZSideAccessPointAccountPtrOutput) +} + +func (o ConnectionZSideAccessPointAccountOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointAccount] { + return pulumix.Output[ConnectionZSideAccessPointAccount]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointAccountOutput) AccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *string { return v.AccountName }).(pulumi.StringPtrOutput) +} + +func (o ConnectionZSideAccessPointAccountOutput) AccountNumber() pulumi.IntPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *int { return v.AccountNumber }).(pulumi.IntPtrOutput) +} + +func (o ConnectionZSideAccessPointAccountOutput) GlobalCustId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *string { return v.GlobalCustId }).(pulumi.StringPtrOutput) +} + +func (o ConnectionZSideAccessPointAccountOutput) GlobalOrgId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *string { return v.GlobalOrgId }).(pulumi.StringPtrOutput) +} + +func (o ConnectionZSideAccessPointAccountOutput) GlobalOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *string { return v.GlobalOrganizationName }).(pulumi.StringPtrOutput) +} + +func (o ConnectionZSideAccessPointAccountOutput) OrgId() pulumi.IntPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *int { return v.OrgId }).(pulumi.IntPtrOutput) +} + +func (o ConnectionZSideAccessPointAccountOutput) OrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *string { return v.OrganizationName }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointAccountPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointAccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointAccount)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointAccountPtrOutput) ToConnectionZSideAccessPointAccountPtrOutput() ConnectionZSideAccessPointAccountPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointAccountPtrOutput) ToConnectionZSideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointAccountPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointAccount] { + return pulumix.Output[*ConnectionZSideAccessPointAccount]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointAccountPtrOutput) Elem() ConnectionZSideAccessPointAccountOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) ConnectionZSideAccessPointAccount { + if v != nil { + return *v + } + var ret ConnectionZSideAccessPointAccount + return ret + }).(ConnectionZSideAccessPointAccountOutput) +} + +func (o ConnectionZSideAccessPointAccountPtrOutput) AccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *string { + if v == nil { + return nil + } + return v.AccountName + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionZSideAccessPointAccountPtrOutput) AccountNumber() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *int { + if v == nil { + return nil + } + return v.AccountNumber + }).(pulumi.IntPtrOutput) +} + +func (o ConnectionZSideAccessPointAccountPtrOutput) GlobalCustId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *string { + if v == nil { + return nil + } + return v.GlobalCustId + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionZSideAccessPointAccountPtrOutput) GlobalOrgId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *string { + if v == nil { + return nil + } + return v.GlobalOrgId + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionZSideAccessPointAccountPtrOutput) GlobalOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *string { + if v == nil { + return nil + } + return v.GlobalOrganizationName + }).(pulumi.StringPtrOutput) +} + +func (o ConnectionZSideAccessPointAccountPtrOutput) OrgId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *int { + if v == nil { + return nil + } + return v.OrgId + }).(pulumi.IntPtrOutput) +} + +func (o ConnectionZSideAccessPointAccountPtrOutput) OrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *string { + if v == nil { + return nil + } + return v.OrganizationName + }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointGateway struct { + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionZSideAccessPointGatewayInput is an input type that accepts ConnectionZSideAccessPointGatewayArgs and ConnectionZSideAccessPointGatewayOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointGatewayInput` via: +// +// ConnectionZSideAccessPointGatewayArgs{...} +type ConnectionZSideAccessPointGatewayInput interface { + pulumi.Input + + ToConnectionZSideAccessPointGatewayOutput() ConnectionZSideAccessPointGatewayOutput + ToConnectionZSideAccessPointGatewayOutputWithContext(context.Context) ConnectionZSideAccessPointGatewayOutput +} + +type ConnectionZSideAccessPointGatewayArgs struct { + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionZSideAccessPointGatewayArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointGateway)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointGatewayArgs) ToConnectionZSideAccessPointGatewayOutput() ConnectionZSideAccessPointGatewayOutput { + return i.ToConnectionZSideAccessPointGatewayOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointGatewayArgs) ToConnectionZSideAccessPointGatewayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointGatewayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointGatewayOutput) +} + +func (i ConnectionZSideAccessPointGatewayArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointGateway] { + return pulumix.Output[ConnectionZSideAccessPointGateway]{ + OutputState: i.ToConnectionZSideAccessPointGatewayOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionZSideAccessPointGatewayArgs) ToConnectionZSideAccessPointGatewayPtrOutput() ConnectionZSideAccessPointGatewayPtrOutput { + return i.ToConnectionZSideAccessPointGatewayPtrOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointGatewayArgs) ToConnectionZSideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointGatewayPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointGatewayOutput).ToConnectionZSideAccessPointGatewayPtrOutputWithContext(ctx) +} + +// ConnectionZSideAccessPointGatewayPtrInput is an input type that accepts ConnectionZSideAccessPointGatewayArgs, ConnectionZSideAccessPointGatewayPtr and ConnectionZSideAccessPointGatewayPtrOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointGatewayPtrInput` via: +// +// ConnectionZSideAccessPointGatewayArgs{...} +// +// or: +// +// nil +type ConnectionZSideAccessPointGatewayPtrInput interface { + pulumi.Input + + ToConnectionZSideAccessPointGatewayPtrOutput() ConnectionZSideAccessPointGatewayPtrOutput + ToConnectionZSideAccessPointGatewayPtrOutputWithContext(context.Context) ConnectionZSideAccessPointGatewayPtrOutput +} + +type connectionZSideAccessPointGatewayPtrType ConnectionZSideAccessPointGatewayArgs + +func ConnectionZSideAccessPointGatewayPtr(v *ConnectionZSideAccessPointGatewayArgs) ConnectionZSideAccessPointGatewayPtrInput { + return (*connectionZSideAccessPointGatewayPtrType)(v) +} + +func (*connectionZSideAccessPointGatewayPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointGateway)(nil)).Elem() +} + +func (i *connectionZSideAccessPointGatewayPtrType) ToConnectionZSideAccessPointGatewayPtrOutput() ConnectionZSideAccessPointGatewayPtrOutput { + return i.ToConnectionZSideAccessPointGatewayPtrOutputWithContext(context.Background()) +} + +func (i *connectionZSideAccessPointGatewayPtrType) ToConnectionZSideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointGatewayPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointGatewayPtrOutput) +} + +func (i *connectionZSideAccessPointGatewayPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointGateway] { + return pulumix.Output[*ConnectionZSideAccessPointGateway]{ + OutputState: i.ToConnectionZSideAccessPointGatewayPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointGatewayOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointGatewayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointGateway)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointGatewayOutput) ToConnectionZSideAccessPointGatewayOutput() ConnectionZSideAccessPointGatewayOutput { + return o +} + +func (o ConnectionZSideAccessPointGatewayOutput) ToConnectionZSideAccessPointGatewayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointGatewayOutput { + return o +} + +func (o ConnectionZSideAccessPointGatewayOutput) ToConnectionZSideAccessPointGatewayPtrOutput() ConnectionZSideAccessPointGatewayPtrOutput { + return o.ToConnectionZSideAccessPointGatewayPtrOutputWithContext(context.Background()) +} + +func (o ConnectionZSideAccessPointGatewayOutput) ToConnectionZSideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointGatewayPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointGateway) *ConnectionZSideAccessPointGateway { + return &v + }).(ConnectionZSideAccessPointGatewayPtrOutput) +} + +func (o ConnectionZSideAccessPointGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointGateway] { + return pulumix.Output[ConnectionZSideAccessPointGateway]{ + OutputState: o.OutputState, + } +} + +// Unique Resource Identifier +func (o ConnectionZSideAccessPointGatewayOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointGateway) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointGatewayOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointGateway) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointGatewayPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointGatewayPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointGateway)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointGatewayPtrOutput) ToConnectionZSideAccessPointGatewayPtrOutput() ConnectionZSideAccessPointGatewayPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointGatewayPtrOutput) ToConnectionZSideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointGatewayPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointGatewayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointGateway] { + return pulumix.Output[*ConnectionZSideAccessPointGateway]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointGatewayPtrOutput) Elem() ConnectionZSideAccessPointGatewayOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointGateway) ConnectionZSideAccessPointGateway { + if v != nil { + return *v + } + var ret ConnectionZSideAccessPointGateway + return ret + }).(ConnectionZSideAccessPointGatewayOutput) +} + +// Unique Resource Identifier +func (o ConnectionZSideAccessPointGatewayPtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointGateway) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointGatewayPtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointGateway) *string { + if v == nil { + return nil + } + return v.Uuid + }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointInterface struct { + // id + Id *string `pulumi:"id"` + // Interface type + Type *string `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionZSideAccessPointInterfaceInput is an input type that accepts ConnectionZSideAccessPointInterfaceArgs and ConnectionZSideAccessPointInterfaceOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointInterfaceInput` via: +// +// ConnectionZSideAccessPointInterfaceArgs{...} +type ConnectionZSideAccessPointInterfaceInput interface { + pulumi.Input + + ToConnectionZSideAccessPointInterfaceOutput() ConnectionZSideAccessPointInterfaceOutput + ToConnectionZSideAccessPointInterfaceOutputWithContext(context.Context) ConnectionZSideAccessPointInterfaceOutput +} + +type ConnectionZSideAccessPointInterfaceArgs struct { + // id + Id pulumi.StringPtrInput `pulumi:"id"` + // Interface type + Type pulumi.StringPtrInput `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionZSideAccessPointInterfaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointInterface)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointInterfaceArgs) ToConnectionZSideAccessPointInterfaceOutput() ConnectionZSideAccessPointInterfaceOutput { + return i.ToConnectionZSideAccessPointInterfaceOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointInterfaceArgs) ToConnectionZSideAccessPointInterfaceOutputWithContext(ctx context.Context) ConnectionZSideAccessPointInterfaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointInterfaceOutput) +} + +func (i ConnectionZSideAccessPointInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointInterface] { + return pulumix.Output[ConnectionZSideAccessPointInterface]{ + OutputState: i.ToConnectionZSideAccessPointInterfaceOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionZSideAccessPointInterfaceArgs) ToConnectionZSideAccessPointInterfacePtrOutput() ConnectionZSideAccessPointInterfacePtrOutput { + return i.ToConnectionZSideAccessPointInterfacePtrOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointInterfaceArgs) ToConnectionZSideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointInterfacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointInterfaceOutput).ToConnectionZSideAccessPointInterfacePtrOutputWithContext(ctx) +} + +// ConnectionZSideAccessPointInterfacePtrInput is an input type that accepts ConnectionZSideAccessPointInterfaceArgs, ConnectionZSideAccessPointInterfacePtr and ConnectionZSideAccessPointInterfacePtrOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointInterfacePtrInput` via: +// +// ConnectionZSideAccessPointInterfaceArgs{...} +// +// or: +// +// nil +type ConnectionZSideAccessPointInterfacePtrInput interface { + pulumi.Input + + ToConnectionZSideAccessPointInterfacePtrOutput() ConnectionZSideAccessPointInterfacePtrOutput + ToConnectionZSideAccessPointInterfacePtrOutputWithContext(context.Context) ConnectionZSideAccessPointInterfacePtrOutput +} + +type connectionZSideAccessPointInterfacePtrType ConnectionZSideAccessPointInterfaceArgs + +func ConnectionZSideAccessPointInterfacePtr(v *ConnectionZSideAccessPointInterfaceArgs) ConnectionZSideAccessPointInterfacePtrInput { + return (*connectionZSideAccessPointInterfacePtrType)(v) +} + +func (*connectionZSideAccessPointInterfacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointInterface)(nil)).Elem() +} + +func (i *connectionZSideAccessPointInterfacePtrType) ToConnectionZSideAccessPointInterfacePtrOutput() ConnectionZSideAccessPointInterfacePtrOutput { + return i.ToConnectionZSideAccessPointInterfacePtrOutputWithContext(context.Background()) +} + +func (i *connectionZSideAccessPointInterfacePtrType) ToConnectionZSideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointInterfacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointInterfacePtrOutput) +} + +func (i *connectionZSideAccessPointInterfacePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointInterface] { + return pulumix.Output[*ConnectionZSideAccessPointInterface]{ + OutputState: i.ToConnectionZSideAccessPointInterfacePtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointInterfaceOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointInterfaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointInterface)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointInterfaceOutput) ToConnectionZSideAccessPointInterfaceOutput() ConnectionZSideAccessPointInterfaceOutput { + return o +} + +func (o ConnectionZSideAccessPointInterfaceOutput) ToConnectionZSideAccessPointInterfaceOutputWithContext(ctx context.Context) ConnectionZSideAccessPointInterfaceOutput { + return o +} + +func (o ConnectionZSideAccessPointInterfaceOutput) ToConnectionZSideAccessPointInterfacePtrOutput() ConnectionZSideAccessPointInterfacePtrOutput { + return o.ToConnectionZSideAccessPointInterfacePtrOutputWithContext(context.Background()) +} + +func (o ConnectionZSideAccessPointInterfaceOutput) ToConnectionZSideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointInterfacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointInterface) *ConnectionZSideAccessPointInterface { + return &v + }).(ConnectionZSideAccessPointInterfacePtrOutput) +} + +func (o ConnectionZSideAccessPointInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointInterface] { + return pulumix.Output[ConnectionZSideAccessPointInterface]{ + OutputState: o.OutputState, + } +} + +// id +func (o ConnectionZSideAccessPointInterfaceOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointInterface) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionZSideAccessPointInterfaceOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointInterface) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointInterfaceOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointInterface) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointInterfacePtrOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointInterfacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointInterface)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointInterfacePtrOutput) ToConnectionZSideAccessPointInterfacePtrOutput() ConnectionZSideAccessPointInterfacePtrOutput { + return o +} + +func (o ConnectionZSideAccessPointInterfacePtrOutput) ToConnectionZSideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointInterfacePtrOutput { + return o +} + +func (o ConnectionZSideAccessPointInterfacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointInterface] { + return pulumix.Output[*ConnectionZSideAccessPointInterface]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointInterfacePtrOutput) Elem() ConnectionZSideAccessPointInterfaceOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointInterface) ConnectionZSideAccessPointInterface { + if v != nil { + return *v + } + var ret ConnectionZSideAccessPointInterface + return ret + }).(ConnectionZSideAccessPointInterfaceOutput) +} + +// id +func (o ConnectionZSideAccessPointInterfacePtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointInterface) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionZSideAccessPointInterfacePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointInterface) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointInterfacePtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointInterface) *string { + if v == nil { + return nil + } + return v.Uuid + }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointLinkProtocol struct { + // Interface type + Type *string `pulumi:"type"` + // Vlan Customer Tag information, vlanCTag value specified for QINQ connections + VlanCTag *int `pulumi:"vlanCTag"` + // Vlan Provider Tag information, vlanSTag value specified for QINQ connections + VlanSTag *int `pulumi:"vlanSTag"` + // Vlan Tag information, vlanTag value specified for DOT1Q connections + VlanTag *int `pulumi:"vlanTag"` +} + +// ConnectionZSideAccessPointLinkProtocolInput is an input type that accepts ConnectionZSideAccessPointLinkProtocolArgs and ConnectionZSideAccessPointLinkProtocolOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointLinkProtocolInput` via: +// +// ConnectionZSideAccessPointLinkProtocolArgs{...} +type ConnectionZSideAccessPointLinkProtocolInput interface { + pulumi.Input + + ToConnectionZSideAccessPointLinkProtocolOutput() ConnectionZSideAccessPointLinkProtocolOutput + ToConnectionZSideAccessPointLinkProtocolOutputWithContext(context.Context) ConnectionZSideAccessPointLinkProtocolOutput +} + +type ConnectionZSideAccessPointLinkProtocolArgs struct { + // Interface type + Type pulumi.StringPtrInput `pulumi:"type"` + // Vlan Customer Tag information, vlanCTag value specified for QINQ connections + VlanCTag pulumi.IntPtrInput `pulumi:"vlanCTag"` + // Vlan Provider Tag information, vlanSTag value specified for QINQ connections + VlanSTag pulumi.IntPtrInput `pulumi:"vlanSTag"` + // Vlan Tag information, vlanTag value specified for DOT1Q connections + VlanTag pulumi.IntPtrInput `pulumi:"vlanTag"` +} + +func (ConnectionZSideAccessPointLinkProtocolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointLinkProtocol)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointLinkProtocolArgs) ToConnectionZSideAccessPointLinkProtocolOutput() ConnectionZSideAccessPointLinkProtocolOutput { + return i.ToConnectionZSideAccessPointLinkProtocolOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointLinkProtocolArgs) ToConnectionZSideAccessPointLinkProtocolOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLinkProtocolOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointLinkProtocolOutput) +} + +func (i ConnectionZSideAccessPointLinkProtocolArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointLinkProtocol] { + return pulumix.Output[ConnectionZSideAccessPointLinkProtocol]{ + OutputState: i.ToConnectionZSideAccessPointLinkProtocolOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionZSideAccessPointLinkProtocolArgs) ToConnectionZSideAccessPointLinkProtocolPtrOutput() ConnectionZSideAccessPointLinkProtocolPtrOutput { + return i.ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointLinkProtocolArgs) ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLinkProtocolPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointLinkProtocolOutput).ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(ctx) +} + +// ConnectionZSideAccessPointLinkProtocolPtrInput is an input type that accepts ConnectionZSideAccessPointLinkProtocolArgs, ConnectionZSideAccessPointLinkProtocolPtr and ConnectionZSideAccessPointLinkProtocolPtrOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointLinkProtocolPtrInput` via: +// +// ConnectionZSideAccessPointLinkProtocolArgs{...} +// +// or: +// +// nil +type ConnectionZSideAccessPointLinkProtocolPtrInput interface { + pulumi.Input + + ToConnectionZSideAccessPointLinkProtocolPtrOutput() ConnectionZSideAccessPointLinkProtocolPtrOutput + ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(context.Context) ConnectionZSideAccessPointLinkProtocolPtrOutput +} + +type connectionZSideAccessPointLinkProtocolPtrType ConnectionZSideAccessPointLinkProtocolArgs + +func ConnectionZSideAccessPointLinkProtocolPtr(v *ConnectionZSideAccessPointLinkProtocolArgs) ConnectionZSideAccessPointLinkProtocolPtrInput { + return (*connectionZSideAccessPointLinkProtocolPtrType)(v) +} + +func (*connectionZSideAccessPointLinkProtocolPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointLinkProtocol)(nil)).Elem() +} + +func (i *connectionZSideAccessPointLinkProtocolPtrType) ToConnectionZSideAccessPointLinkProtocolPtrOutput() ConnectionZSideAccessPointLinkProtocolPtrOutput { + return i.ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(context.Background()) +} + +func (i *connectionZSideAccessPointLinkProtocolPtrType) ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLinkProtocolPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointLinkProtocolPtrOutput) +} + +func (i *connectionZSideAccessPointLinkProtocolPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointLinkProtocol] { + return pulumix.Output[*ConnectionZSideAccessPointLinkProtocol]{ + OutputState: i.ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointLinkProtocolOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointLinkProtocolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointLinkProtocol)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointLinkProtocolOutput) ToConnectionZSideAccessPointLinkProtocolOutput() ConnectionZSideAccessPointLinkProtocolOutput { + return o +} + +func (o ConnectionZSideAccessPointLinkProtocolOutput) ToConnectionZSideAccessPointLinkProtocolOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLinkProtocolOutput { + return o +} + +func (o ConnectionZSideAccessPointLinkProtocolOutput) ToConnectionZSideAccessPointLinkProtocolPtrOutput() ConnectionZSideAccessPointLinkProtocolPtrOutput { + return o.ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(context.Background()) +} + +func (o ConnectionZSideAccessPointLinkProtocolOutput) ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLinkProtocolPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointLinkProtocol) *ConnectionZSideAccessPointLinkProtocol { + return &v + }).(ConnectionZSideAccessPointLinkProtocolPtrOutput) +} + +func (o ConnectionZSideAccessPointLinkProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointLinkProtocol] { + return pulumix.Output[ConnectionZSideAccessPointLinkProtocol]{ + OutputState: o.OutputState, + } +} + +// Interface type +func (o ConnectionZSideAccessPointLinkProtocolOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointLinkProtocol) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// Vlan Customer Tag information, vlanCTag value specified for QINQ connections +func (o ConnectionZSideAccessPointLinkProtocolOutput) VlanCTag() pulumi.IntPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointLinkProtocol) *int { return v.VlanCTag }).(pulumi.IntPtrOutput) +} + +// Vlan Provider Tag information, vlanSTag value specified for QINQ connections +func (o ConnectionZSideAccessPointLinkProtocolOutput) VlanSTag() pulumi.IntPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointLinkProtocol) *int { return v.VlanSTag }).(pulumi.IntPtrOutput) +} + +// Vlan Tag information, vlanTag value specified for DOT1Q connections +func (o ConnectionZSideAccessPointLinkProtocolOutput) VlanTag() pulumi.IntPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointLinkProtocol) *int { return v.VlanTag }).(pulumi.IntPtrOutput) +} + +type ConnectionZSideAccessPointLinkProtocolPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointLinkProtocolPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointLinkProtocol)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) ToConnectionZSideAccessPointLinkProtocolPtrOutput() ConnectionZSideAccessPointLinkProtocolPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLinkProtocolPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointLinkProtocol] { + return pulumix.Output[*ConnectionZSideAccessPointLinkProtocol]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) Elem() ConnectionZSideAccessPointLinkProtocolOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointLinkProtocol) ConnectionZSideAccessPointLinkProtocol { + if v != nil { + return *v + } + var ret ConnectionZSideAccessPointLinkProtocol + return ret + }).(ConnectionZSideAccessPointLinkProtocolOutput) +} + +// Interface type +func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointLinkProtocol) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +// Vlan Customer Tag information, vlanCTag value specified for QINQ connections +func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) VlanCTag() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointLinkProtocol) *int { + if v == nil { + return nil + } + return v.VlanCTag + }).(pulumi.IntPtrOutput) +} + +// Vlan Provider Tag information, vlanSTag value specified for QINQ connections +func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) VlanSTag() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointLinkProtocol) *int { + if v == nil { + return nil + } + return v.VlanSTag + }).(pulumi.IntPtrOutput) +} + +// Vlan Tag information, vlanTag value specified for DOT1Q connections +func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) VlanTag() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointLinkProtocol) *int { + if v == nil { + return nil + } + return v.VlanTag + }).(pulumi.IntPtrOutput) +} + +type ConnectionZSideAccessPointLocation struct { + // IBX Code + Ibx *string `pulumi:"ibx"` + // Access point metro code + MetroCode *string `pulumi:"metroCode"` + // Access point metro name + MetroName *string `pulumi:"metroName"` + // Access point region + Region *string `pulumi:"region"` +} + +// ConnectionZSideAccessPointLocationInput is an input type that accepts ConnectionZSideAccessPointLocationArgs and ConnectionZSideAccessPointLocationOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointLocationInput` via: +// +// ConnectionZSideAccessPointLocationArgs{...} +type ConnectionZSideAccessPointLocationInput interface { + pulumi.Input + + ToConnectionZSideAccessPointLocationOutput() ConnectionZSideAccessPointLocationOutput + ToConnectionZSideAccessPointLocationOutputWithContext(context.Context) ConnectionZSideAccessPointLocationOutput +} + +type ConnectionZSideAccessPointLocationArgs struct { + // IBX Code + Ibx pulumi.StringPtrInput `pulumi:"ibx"` + // Access point metro code + MetroCode pulumi.StringPtrInput `pulumi:"metroCode"` + // Access point metro name + MetroName pulumi.StringPtrInput `pulumi:"metroName"` + // Access point region + Region pulumi.StringPtrInput `pulumi:"region"` +} + +func (ConnectionZSideAccessPointLocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointLocation)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointLocationArgs) ToConnectionZSideAccessPointLocationOutput() ConnectionZSideAccessPointLocationOutput { + return i.ToConnectionZSideAccessPointLocationOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointLocationArgs) ToConnectionZSideAccessPointLocationOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointLocationOutput) +} + +func (i ConnectionZSideAccessPointLocationArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointLocation] { + return pulumix.Output[ConnectionZSideAccessPointLocation]{ + OutputState: i.ToConnectionZSideAccessPointLocationOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionZSideAccessPointLocationArgs) ToConnectionZSideAccessPointLocationPtrOutput() ConnectionZSideAccessPointLocationPtrOutput { + return i.ToConnectionZSideAccessPointLocationPtrOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointLocationArgs) ToConnectionZSideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointLocationOutput).ToConnectionZSideAccessPointLocationPtrOutputWithContext(ctx) +} + +// ConnectionZSideAccessPointLocationPtrInput is an input type that accepts ConnectionZSideAccessPointLocationArgs, ConnectionZSideAccessPointLocationPtr and ConnectionZSideAccessPointLocationPtrOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointLocationPtrInput` via: +// +// ConnectionZSideAccessPointLocationArgs{...} +// +// or: +// +// nil +type ConnectionZSideAccessPointLocationPtrInput interface { + pulumi.Input + + ToConnectionZSideAccessPointLocationPtrOutput() ConnectionZSideAccessPointLocationPtrOutput + ToConnectionZSideAccessPointLocationPtrOutputWithContext(context.Context) ConnectionZSideAccessPointLocationPtrOutput +} + +type connectionZSideAccessPointLocationPtrType ConnectionZSideAccessPointLocationArgs + +func ConnectionZSideAccessPointLocationPtr(v *ConnectionZSideAccessPointLocationArgs) ConnectionZSideAccessPointLocationPtrInput { + return (*connectionZSideAccessPointLocationPtrType)(v) +} + +func (*connectionZSideAccessPointLocationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointLocation)(nil)).Elem() +} + +func (i *connectionZSideAccessPointLocationPtrType) ToConnectionZSideAccessPointLocationPtrOutput() ConnectionZSideAccessPointLocationPtrOutput { + return i.ToConnectionZSideAccessPointLocationPtrOutputWithContext(context.Background()) +} + +func (i *connectionZSideAccessPointLocationPtrType) ToConnectionZSideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointLocationPtrOutput) +} + +func (i *connectionZSideAccessPointLocationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointLocation] { + return pulumix.Output[*ConnectionZSideAccessPointLocation]{ + OutputState: i.ToConnectionZSideAccessPointLocationPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointLocationOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointLocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointLocation)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointLocationOutput) ToConnectionZSideAccessPointLocationOutput() ConnectionZSideAccessPointLocationOutput { + return o +} + +func (o ConnectionZSideAccessPointLocationOutput) ToConnectionZSideAccessPointLocationOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLocationOutput { + return o +} + +func (o ConnectionZSideAccessPointLocationOutput) ToConnectionZSideAccessPointLocationPtrOutput() ConnectionZSideAccessPointLocationPtrOutput { + return o.ToConnectionZSideAccessPointLocationPtrOutputWithContext(context.Background()) +} + +func (o ConnectionZSideAccessPointLocationOutput) ToConnectionZSideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLocationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointLocation) *ConnectionZSideAccessPointLocation { + return &v + }).(ConnectionZSideAccessPointLocationPtrOutput) +} + +func (o ConnectionZSideAccessPointLocationOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointLocation] { + return pulumix.Output[ConnectionZSideAccessPointLocation]{ + OutputState: o.OutputState, + } +} + +// IBX Code +func (o ConnectionZSideAccessPointLocationOutput) Ibx() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointLocation) *string { return v.Ibx }).(pulumi.StringPtrOutput) +} + +// Access point metro code +func (o ConnectionZSideAccessPointLocationOutput) MetroCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointLocation) *string { return v.MetroCode }).(pulumi.StringPtrOutput) +} + +// Access point metro name +func (o ConnectionZSideAccessPointLocationOutput) MetroName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointLocation) *string { return v.MetroName }).(pulumi.StringPtrOutput) +} + +// Access point region +func (o ConnectionZSideAccessPointLocationOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointLocation) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointLocationPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointLocationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointLocation)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointLocationPtrOutput) ToConnectionZSideAccessPointLocationPtrOutput() ConnectionZSideAccessPointLocationPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointLocationPtrOutput) ToConnectionZSideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLocationPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointLocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointLocation] { + return pulumix.Output[*ConnectionZSideAccessPointLocation]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointLocationPtrOutput) Elem() ConnectionZSideAccessPointLocationOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointLocation) ConnectionZSideAccessPointLocation { + if v != nil { + return *v + } + var ret ConnectionZSideAccessPointLocation + return ret + }).(ConnectionZSideAccessPointLocationOutput) +} + +// IBX Code +func (o ConnectionZSideAccessPointLocationPtrOutput) Ibx() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointLocation) *string { + if v == nil { + return nil + } + return v.Ibx + }).(pulumi.StringPtrOutput) +} + +// Access point metro code +func (o ConnectionZSideAccessPointLocationPtrOutput) MetroCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointLocation) *string { + if v == nil { + return nil + } + return v.MetroCode + }).(pulumi.StringPtrOutput) +} + +// Access point metro name +func (o ConnectionZSideAccessPointLocationPtrOutput) MetroName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointLocation) *string { + if v == nil { + return nil + } + return v.MetroName + }).(pulumi.StringPtrOutput) +} + +// Access point region +func (o ConnectionZSideAccessPointLocationPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointLocation) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointNetwork struct { + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionZSideAccessPointNetworkInput is an input type that accepts ConnectionZSideAccessPointNetworkArgs and ConnectionZSideAccessPointNetworkOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointNetworkInput` via: +// +// ConnectionZSideAccessPointNetworkArgs{...} +type ConnectionZSideAccessPointNetworkInput interface { + pulumi.Input + + ToConnectionZSideAccessPointNetworkOutput() ConnectionZSideAccessPointNetworkOutput + ToConnectionZSideAccessPointNetworkOutputWithContext(context.Context) ConnectionZSideAccessPointNetworkOutput +} + +type ConnectionZSideAccessPointNetworkArgs struct { + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionZSideAccessPointNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointNetwork)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointNetworkArgs) ToConnectionZSideAccessPointNetworkOutput() ConnectionZSideAccessPointNetworkOutput { + return i.ToConnectionZSideAccessPointNetworkOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointNetworkArgs) ToConnectionZSideAccessPointNetworkOutputWithContext(ctx context.Context) ConnectionZSideAccessPointNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointNetworkOutput) +} + +func (i ConnectionZSideAccessPointNetworkArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointNetwork] { + return pulumix.Output[ConnectionZSideAccessPointNetwork]{ + OutputState: i.ToConnectionZSideAccessPointNetworkOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionZSideAccessPointNetworkArgs) ToConnectionZSideAccessPointNetworkPtrOutput() ConnectionZSideAccessPointNetworkPtrOutput { + return i.ToConnectionZSideAccessPointNetworkPtrOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointNetworkArgs) ToConnectionZSideAccessPointNetworkPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointNetworkOutput).ToConnectionZSideAccessPointNetworkPtrOutputWithContext(ctx) +} + +// ConnectionZSideAccessPointNetworkPtrInput is an input type that accepts ConnectionZSideAccessPointNetworkArgs, ConnectionZSideAccessPointNetworkPtr and ConnectionZSideAccessPointNetworkPtrOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointNetworkPtrInput` via: +// +// ConnectionZSideAccessPointNetworkArgs{...} +// +// or: +// +// nil +type ConnectionZSideAccessPointNetworkPtrInput interface { + pulumi.Input + + ToConnectionZSideAccessPointNetworkPtrOutput() ConnectionZSideAccessPointNetworkPtrOutput + ToConnectionZSideAccessPointNetworkPtrOutputWithContext(context.Context) ConnectionZSideAccessPointNetworkPtrOutput +} + +type connectionZSideAccessPointNetworkPtrType ConnectionZSideAccessPointNetworkArgs + +func ConnectionZSideAccessPointNetworkPtr(v *ConnectionZSideAccessPointNetworkArgs) ConnectionZSideAccessPointNetworkPtrInput { + return (*connectionZSideAccessPointNetworkPtrType)(v) +} + +func (*connectionZSideAccessPointNetworkPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointNetwork)(nil)).Elem() +} + +func (i *connectionZSideAccessPointNetworkPtrType) ToConnectionZSideAccessPointNetworkPtrOutput() ConnectionZSideAccessPointNetworkPtrOutput { + return i.ToConnectionZSideAccessPointNetworkPtrOutputWithContext(context.Background()) +} + +func (i *connectionZSideAccessPointNetworkPtrType) ToConnectionZSideAccessPointNetworkPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointNetworkPtrOutput) +} + +func (i *connectionZSideAccessPointNetworkPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointNetwork] { + return pulumix.Output[*ConnectionZSideAccessPointNetwork]{ + OutputState: i.ToConnectionZSideAccessPointNetworkPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointNetworkOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointNetwork)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointNetworkOutput) ToConnectionZSideAccessPointNetworkOutput() ConnectionZSideAccessPointNetworkOutput { + return o +} + +func (o ConnectionZSideAccessPointNetworkOutput) ToConnectionZSideAccessPointNetworkOutputWithContext(ctx context.Context) ConnectionZSideAccessPointNetworkOutput { + return o +} + +func (o ConnectionZSideAccessPointNetworkOutput) ToConnectionZSideAccessPointNetworkPtrOutput() ConnectionZSideAccessPointNetworkPtrOutput { + return o.ToConnectionZSideAccessPointNetworkPtrOutputWithContext(context.Background()) +} + +func (o ConnectionZSideAccessPointNetworkOutput) ToConnectionZSideAccessPointNetworkPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointNetworkPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointNetwork) *ConnectionZSideAccessPointNetwork { + return &v + }).(ConnectionZSideAccessPointNetworkPtrOutput) +} + +func (o ConnectionZSideAccessPointNetworkOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointNetwork] { + return pulumix.Output[ConnectionZSideAccessPointNetwork]{ + OutputState: o.OutputState, + } +} + +// Unique Resource Identifier +func (o ConnectionZSideAccessPointNetworkOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointNetwork) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointNetworkOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointNetwork) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointNetworkPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointNetworkPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointNetwork)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointNetworkPtrOutput) ToConnectionZSideAccessPointNetworkPtrOutput() ConnectionZSideAccessPointNetworkPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointNetworkPtrOutput) ToConnectionZSideAccessPointNetworkPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointNetworkPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointNetworkPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointNetwork] { + return pulumix.Output[*ConnectionZSideAccessPointNetwork]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointNetworkPtrOutput) Elem() ConnectionZSideAccessPointNetworkOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointNetwork) ConnectionZSideAccessPointNetwork { + if v != nil { + return *v + } + var ret ConnectionZSideAccessPointNetwork + return ret + }).(ConnectionZSideAccessPointNetworkOutput) +} + +// Unique Resource Identifier +func (o ConnectionZSideAccessPointNetworkPtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointNetwork) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointNetworkPtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointNetwork) *string { + if v == nil { + return nil + } + return v.Uuid + }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointPort struct { + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Port name + Name *string `pulumi:"name"` + // Redundancy Information + Redundancies []ConnectionZSideAccessPointPortRedundancy `pulumi:"redundancies"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionZSideAccessPointPortInput is an input type that accepts ConnectionZSideAccessPointPortArgs and ConnectionZSideAccessPointPortOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointPortInput` via: +// +// ConnectionZSideAccessPointPortArgs{...} +type ConnectionZSideAccessPointPortInput interface { + pulumi.Input + + ToConnectionZSideAccessPointPortOutput() ConnectionZSideAccessPointPortOutput + ToConnectionZSideAccessPointPortOutputWithContext(context.Context) ConnectionZSideAccessPointPortOutput +} + +type ConnectionZSideAccessPointPortArgs struct { + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Port name + Name pulumi.StringPtrInput `pulumi:"name"` + // Redundancy Information + Redundancies ConnectionZSideAccessPointPortRedundancyArrayInput `pulumi:"redundancies"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionZSideAccessPointPortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointPort)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointPortArgs) ToConnectionZSideAccessPointPortOutput() ConnectionZSideAccessPointPortOutput { + return i.ToConnectionZSideAccessPointPortOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointPortArgs) ToConnectionZSideAccessPointPortOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointPortOutput) +} + +func (i ConnectionZSideAccessPointPortArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointPort] { + return pulumix.Output[ConnectionZSideAccessPointPort]{ + OutputState: i.ToConnectionZSideAccessPointPortOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionZSideAccessPointPortArgs) ToConnectionZSideAccessPointPortPtrOutput() ConnectionZSideAccessPointPortPtrOutput { + return i.ToConnectionZSideAccessPointPortPtrOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointPortArgs) ToConnectionZSideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointPortOutput).ToConnectionZSideAccessPointPortPtrOutputWithContext(ctx) +} + +// ConnectionZSideAccessPointPortPtrInput is an input type that accepts ConnectionZSideAccessPointPortArgs, ConnectionZSideAccessPointPortPtr and ConnectionZSideAccessPointPortPtrOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointPortPtrInput` via: +// +// ConnectionZSideAccessPointPortArgs{...} +// +// or: +// +// nil +type ConnectionZSideAccessPointPortPtrInput interface { + pulumi.Input + + ToConnectionZSideAccessPointPortPtrOutput() ConnectionZSideAccessPointPortPtrOutput + ToConnectionZSideAccessPointPortPtrOutputWithContext(context.Context) ConnectionZSideAccessPointPortPtrOutput +} + +type connectionZSideAccessPointPortPtrType ConnectionZSideAccessPointPortArgs + +func ConnectionZSideAccessPointPortPtr(v *ConnectionZSideAccessPointPortArgs) ConnectionZSideAccessPointPortPtrInput { + return (*connectionZSideAccessPointPortPtrType)(v) +} + +func (*connectionZSideAccessPointPortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointPort)(nil)).Elem() +} + +func (i *connectionZSideAccessPointPortPtrType) ToConnectionZSideAccessPointPortPtrOutput() ConnectionZSideAccessPointPortPtrOutput { + return i.ToConnectionZSideAccessPointPortPtrOutputWithContext(context.Background()) +} + +func (i *connectionZSideAccessPointPortPtrType) ToConnectionZSideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointPortPtrOutput) +} + +func (i *connectionZSideAccessPointPortPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointPort] { + return pulumix.Output[*ConnectionZSideAccessPointPort]{ + OutputState: i.ToConnectionZSideAccessPointPortPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointPortOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointPortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointPort)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointPortOutput) ToConnectionZSideAccessPointPortOutput() ConnectionZSideAccessPointPortOutput { + return o +} + +func (o ConnectionZSideAccessPointPortOutput) ToConnectionZSideAccessPointPortOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortOutput { + return o +} + +func (o ConnectionZSideAccessPointPortOutput) ToConnectionZSideAccessPointPortPtrOutput() ConnectionZSideAccessPointPortPtrOutput { + return o.ToConnectionZSideAccessPointPortPtrOutputWithContext(context.Background()) +} + +func (o ConnectionZSideAccessPointPortOutput) ToConnectionZSideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointPort) *ConnectionZSideAccessPointPort { + return &v + }).(ConnectionZSideAccessPointPortPtrOutput) +} + +func (o ConnectionZSideAccessPointPortOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointPort] { + return pulumix.Output[ConnectionZSideAccessPointPort]{ + OutputState: o.OutputState, + } +} + +// Unique Resource Identifier +func (o ConnectionZSideAccessPointPortOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointPort) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +// Port name +func (o ConnectionZSideAccessPointPortOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointPort) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Redundancy Information +func (o ConnectionZSideAccessPointPortOutput) Redundancies() ConnectionZSideAccessPointPortRedundancyArrayOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointPort) []ConnectionZSideAccessPointPortRedundancy { + return v.Redundancies + }).(ConnectionZSideAccessPointPortRedundancyArrayOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointPortOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointPort) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointPortPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointPortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointPort)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointPortPtrOutput) ToConnectionZSideAccessPointPortPtrOutput() ConnectionZSideAccessPointPortPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointPortPtrOutput) ToConnectionZSideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointPortPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointPort] { + return pulumix.Output[*ConnectionZSideAccessPointPort]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointPortPtrOutput) Elem() ConnectionZSideAccessPointPortOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointPort) ConnectionZSideAccessPointPort { + if v != nil { + return *v + } + var ret ConnectionZSideAccessPointPort + return ret + }).(ConnectionZSideAccessPointPortOutput) +} + +// Unique Resource Identifier +func (o ConnectionZSideAccessPointPortPtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointPort) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) +} + +// Port name +func (o ConnectionZSideAccessPointPortPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointPort) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Redundancy Information +func (o ConnectionZSideAccessPointPortPtrOutput) Redundancies() ConnectionZSideAccessPointPortRedundancyArrayOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointPort) []ConnectionZSideAccessPointPortRedundancy { + if v == nil { + return nil + } + return v.Redundancies + }).(ConnectionZSideAccessPointPortRedundancyArrayOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointPortPtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointPort) *string { + if v == nil { + return nil + } + return v.Uuid + }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointPortRedundancy struct { + // Priority type- PRIMARY, SECONDARY + Priority *string `pulumi:"priority"` +} + +// ConnectionZSideAccessPointPortRedundancyInput is an input type that accepts ConnectionZSideAccessPointPortRedundancyArgs and ConnectionZSideAccessPointPortRedundancyOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointPortRedundancyInput` via: +// +// ConnectionZSideAccessPointPortRedundancyArgs{...} +type ConnectionZSideAccessPointPortRedundancyInput interface { + pulumi.Input + + ToConnectionZSideAccessPointPortRedundancyOutput() ConnectionZSideAccessPointPortRedundancyOutput + ToConnectionZSideAccessPointPortRedundancyOutputWithContext(context.Context) ConnectionZSideAccessPointPortRedundancyOutput +} + +type ConnectionZSideAccessPointPortRedundancyArgs struct { + // Priority type- PRIMARY, SECONDARY + Priority pulumi.StringPtrInput `pulumi:"priority"` +} + +func (ConnectionZSideAccessPointPortRedundancyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointPortRedundancy)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointPortRedundancyArgs) ToConnectionZSideAccessPointPortRedundancyOutput() ConnectionZSideAccessPointPortRedundancyOutput { + return i.ToConnectionZSideAccessPointPortRedundancyOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointPortRedundancyArgs) ToConnectionZSideAccessPointPortRedundancyOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortRedundancyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointPortRedundancyOutput) +} + +func (i ConnectionZSideAccessPointPortRedundancyArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointPortRedundancy] { + return pulumix.Output[ConnectionZSideAccessPointPortRedundancy]{ + OutputState: i.ToConnectionZSideAccessPointPortRedundancyOutputWithContext(ctx).OutputState, + } +} + +// ConnectionZSideAccessPointPortRedundancyArrayInput is an input type that accepts ConnectionZSideAccessPointPortRedundancyArray and ConnectionZSideAccessPointPortRedundancyArrayOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointPortRedundancyArrayInput` via: +// +// ConnectionZSideAccessPointPortRedundancyArray{ ConnectionZSideAccessPointPortRedundancyArgs{...} } +type ConnectionZSideAccessPointPortRedundancyArrayInput interface { + pulumi.Input + + ToConnectionZSideAccessPointPortRedundancyArrayOutput() ConnectionZSideAccessPointPortRedundancyArrayOutput + ToConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(context.Context) ConnectionZSideAccessPointPortRedundancyArrayOutput +} + +type ConnectionZSideAccessPointPortRedundancyArray []ConnectionZSideAccessPointPortRedundancyInput + +func (ConnectionZSideAccessPointPortRedundancyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionZSideAccessPointPortRedundancy)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointPortRedundancyArray) ToConnectionZSideAccessPointPortRedundancyArrayOutput() ConnectionZSideAccessPointPortRedundancyArrayOutput { + return i.ToConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointPortRedundancyArray) ToConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortRedundancyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointPortRedundancyArrayOutput) +} + +func (i ConnectionZSideAccessPointPortRedundancyArray) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionZSideAccessPointPortRedundancy] { + return pulumix.Output[[]ConnectionZSideAccessPointPortRedundancy]{ + OutputState: i.ToConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointPortRedundancyOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointPortRedundancyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointPortRedundancy)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointPortRedundancyOutput) ToConnectionZSideAccessPointPortRedundancyOutput() ConnectionZSideAccessPointPortRedundancyOutput { + return o +} + +func (o ConnectionZSideAccessPointPortRedundancyOutput) ToConnectionZSideAccessPointPortRedundancyOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortRedundancyOutput { + return o +} + +func (o ConnectionZSideAccessPointPortRedundancyOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointPortRedundancy] { + return pulumix.Output[ConnectionZSideAccessPointPortRedundancy]{ + OutputState: o.OutputState, + } +} + +// Priority type- PRIMARY, SECONDARY +func (o ConnectionZSideAccessPointPortRedundancyOutput) Priority() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointPortRedundancy) *string { return v.Priority }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointPortRedundancyArrayOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointPortRedundancyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionZSideAccessPointPortRedundancy)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointPortRedundancyArrayOutput) ToConnectionZSideAccessPointPortRedundancyArrayOutput() ConnectionZSideAccessPointPortRedundancyArrayOutput { + return o +} + +func (o ConnectionZSideAccessPointPortRedundancyArrayOutput) ToConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortRedundancyArrayOutput { + return o +} + +func (o ConnectionZSideAccessPointPortRedundancyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionZSideAccessPointPortRedundancy] { + return pulumix.Output[[]ConnectionZSideAccessPointPortRedundancy]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointPortRedundancyArrayOutput) Index(i pulumi.IntInput) ConnectionZSideAccessPointPortRedundancyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionZSideAccessPointPortRedundancy { + return vs[0].([]ConnectionZSideAccessPointPortRedundancy)[vs[1].(int)] + }).(ConnectionZSideAccessPointPortRedundancyOutput) +} + +type ConnectionZSideAccessPointProfile struct { + // Access point config information + AccessPointTypeConfigs []ConnectionZSideAccessPointProfileAccessPointTypeConfig `pulumi:"accessPointTypeConfigs"` + // User-provided service description + Description *string `pulumi:"description"` + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Port name + Name *string `pulumi:"name"` + // Interface type + Type string `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid string `pulumi:"uuid"` +} + +// ConnectionZSideAccessPointProfileInput is an input type that accepts ConnectionZSideAccessPointProfileArgs and ConnectionZSideAccessPointProfileOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointProfileInput` via: +// +// ConnectionZSideAccessPointProfileArgs{...} +type ConnectionZSideAccessPointProfileInput interface { + pulumi.Input + + ToConnectionZSideAccessPointProfileOutput() ConnectionZSideAccessPointProfileOutput + ToConnectionZSideAccessPointProfileOutputWithContext(context.Context) ConnectionZSideAccessPointProfileOutput +} + +type ConnectionZSideAccessPointProfileArgs struct { + // Access point config information + AccessPointTypeConfigs ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput `pulumi:"accessPointTypeConfigs"` + // User-provided service description + Description pulumi.StringPtrInput `pulumi:"description"` + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Port name + Name pulumi.StringPtrInput `pulumi:"name"` + // Interface type + Type pulumi.StringInput `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid pulumi.StringInput `pulumi:"uuid"` +} + +func (ConnectionZSideAccessPointProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointProfile)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointProfileArgs) ToConnectionZSideAccessPointProfileOutput() ConnectionZSideAccessPointProfileOutput { + return i.ToConnectionZSideAccessPointProfileOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointProfileArgs) ToConnectionZSideAccessPointProfileOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointProfileOutput) +} + +func (i ConnectionZSideAccessPointProfileArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointProfile] { + return pulumix.Output[ConnectionZSideAccessPointProfile]{ + OutputState: i.ToConnectionZSideAccessPointProfileOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionZSideAccessPointProfileArgs) ToConnectionZSideAccessPointProfilePtrOutput() ConnectionZSideAccessPointProfilePtrOutput { + return i.ToConnectionZSideAccessPointProfilePtrOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointProfileArgs) ToConnectionZSideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointProfileOutput).ToConnectionZSideAccessPointProfilePtrOutputWithContext(ctx) +} + +// ConnectionZSideAccessPointProfilePtrInput is an input type that accepts ConnectionZSideAccessPointProfileArgs, ConnectionZSideAccessPointProfilePtr and ConnectionZSideAccessPointProfilePtrOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointProfilePtrInput` via: +// +// ConnectionZSideAccessPointProfileArgs{...} +// +// or: +// +// nil +type ConnectionZSideAccessPointProfilePtrInput interface { + pulumi.Input + + ToConnectionZSideAccessPointProfilePtrOutput() ConnectionZSideAccessPointProfilePtrOutput + ToConnectionZSideAccessPointProfilePtrOutputWithContext(context.Context) ConnectionZSideAccessPointProfilePtrOutput +} + +type connectionZSideAccessPointProfilePtrType ConnectionZSideAccessPointProfileArgs + +func ConnectionZSideAccessPointProfilePtr(v *ConnectionZSideAccessPointProfileArgs) ConnectionZSideAccessPointProfilePtrInput { + return (*connectionZSideAccessPointProfilePtrType)(v) +} + +func (*connectionZSideAccessPointProfilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointProfile)(nil)).Elem() +} + +func (i *connectionZSideAccessPointProfilePtrType) ToConnectionZSideAccessPointProfilePtrOutput() ConnectionZSideAccessPointProfilePtrOutput { + return i.ToConnectionZSideAccessPointProfilePtrOutputWithContext(context.Background()) +} + +func (i *connectionZSideAccessPointProfilePtrType) ToConnectionZSideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointProfilePtrOutput) +} + +func (i *connectionZSideAccessPointProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointProfile] { + return pulumix.Output[*ConnectionZSideAccessPointProfile]{ + OutputState: i.ToConnectionZSideAccessPointProfilePtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointProfileOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointProfile)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointProfileOutput) ToConnectionZSideAccessPointProfileOutput() ConnectionZSideAccessPointProfileOutput { + return o +} + +func (o ConnectionZSideAccessPointProfileOutput) ToConnectionZSideAccessPointProfileOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfileOutput { + return o +} + +func (o ConnectionZSideAccessPointProfileOutput) ToConnectionZSideAccessPointProfilePtrOutput() ConnectionZSideAccessPointProfilePtrOutput { + return o.ToConnectionZSideAccessPointProfilePtrOutputWithContext(context.Background()) +} + +func (o ConnectionZSideAccessPointProfileOutput) ToConnectionZSideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointProfile) *ConnectionZSideAccessPointProfile { + return &v + }).(ConnectionZSideAccessPointProfilePtrOutput) +} + +func (o ConnectionZSideAccessPointProfileOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointProfile] { + return pulumix.Output[ConnectionZSideAccessPointProfile]{ + OutputState: o.OutputState, + } +} + +// Access point config information +func (o ConnectionZSideAccessPointProfileOutput) AccessPointTypeConfigs() ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointProfile) []ConnectionZSideAccessPointProfileAccessPointTypeConfig { + return v.AccessPointTypeConfigs + }).(ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) +} + +// User-provided service description +func (o ConnectionZSideAccessPointProfileOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointProfile) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// Unique Resource Identifier +func (o ConnectionZSideAccessPointProfileOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointProfile) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +// Port name +func (o ConnectionZSideAccessPointProfileOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointProfile) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionZSideAccessPointProfileOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointProfile) string { return v.Type }).(pulumi.StringOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointProfileOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointProfile) string { return v.Uuid }).(pulumi.StringOutput) +} + +type ConnectionZSideAccessPointProfilePtrOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointProfilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointProfile)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointProfilePtrOutput) ToConnectionZSideAccessPointProfilePtrOutput() ConnectionZSideAccessPointProfilePtrOutput { + return o +} + +func (o ConnectionZSideAccessPointProfilePtrOutput) ToConnectionZSideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfilePtrOutput { + return o +} + +func (o ConnectionZSideAccessPointProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointProfile] { + return pulumix.Output[*ConnectionZSideAccessPointProfile]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointProfilePtrOutput) Elem() ConnectionZSideAccessPointProfileOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) ConnectionZSideAccessPointProfile { + if v != nil { + return *v + } + var ret ConnectionZSideAccessPointProfile + return ret + }).(ConnectionZSideAccessPointProfileOutput) +} + +// Access point config information +func (o ConnectionZSideAccessPointProfilePtrOutput) AccessPointTypeConfigs() ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) []ConnectionZSideAccessPointProfileAccessPointTypeConfig { + if v == nil { + return nil + } + return v.AccessPointTypeConfigs + }).(ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) +} + +// User-provided service description +func (o ConnectionZSideAccessPointProfilePtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) +} + +// Unique Resource Identifier +func (o ConnectionZSideAccessPointProfilePtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) +} + +// Port name +func (o ConnectionZSideAccessPointProfilePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionZSideAccessPointProfilePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointProfilePtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) *string { + if v == nil { + return nil + } + return &v.Uuid + }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointProfileAccessPointTypeConfig struct { + // Interface type + Type *string `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionZSideAccessPointProfileAccessPointTypeConfigInput is an input type that accepts ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs and ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointProfileAccessPointTypeConfigInput` via: +// +// ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs{...} +type ConnectionZSideAccessPointProfileAccessPointTypeConfigInput interface { + pulumi.Input + + ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutput() ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput + ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Context) ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput +} + +type ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs struct { + // Interface type + Type pulumi.StringPtrInput `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutput() ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { + return i.ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) +} + +func (i ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[ConnectionZSideAccessPointProfileAccessPointTypeConfig]{ + OutputState: i.ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx).OutputState, + } +} + +// ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput is an input type that accepts ConnectionZSideAccessPointProfileAccessPointTypeConfigArray and ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput` via: +// +// ConnectionZSideAccessPointProfileAccessPointTypeConfigArray{ ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs{...} } +type ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput interface { + pulumi.Input + + ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput() ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput + ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Context) ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput +} + +type ConnectionZSideAccessPointProfileAccessPointTypeConfigArray []ConnectionZSideAccessPointProfileAccessPointTypeConfigInput + +func (ConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput() ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { + return i.ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) +} + +func (i ConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionZSideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[[]ConnectionZSideAccessPointProfileAccessPointTypeConfig]{ + OutputState: i.ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutput() ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { + return o +} + +func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { + return o +} + +func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[ConnectionZSideAccessPointProfileAccessPointTypeConfig]{ + OutputState: o.OutputState, + } +} + +// Interface type +func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointProfileAccessPointTypeConfig) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointProfileAccessPointTypeConfig) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput() ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { + return o +} + +func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { + return o +} + +func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionZSideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[[]ConnectionZSideAccessPointProfileAccessPointTypeConfig]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) Index(i pulumi.IntInput) ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionZSideAccessPointProfileAccessPointTypeConfig { + return vs[0].([]ConnectionZSideAccessPointProfileAccessPointTypeConfig)[vs[1].(int)] + }).(ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) +} + +type ConnectionZSideAccessPointRouter struct { + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionZSideAccessPointRouterInput is an input type that accepts ConnectionZSideAccessPointRouterArgs and ConnectionZSideAccessPointRouterOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointRouterInput` via: +// +// ConnectionZSideAccessPointRouterArgs{...} +type ConnectionZSideAccessPointRouterInput interface { + pulumi.Input + + ToConnectionZSideAccessPointRouterOutput() ConnectionZSideAccessPointRouterOutput + ToConnectionZSideAccessPointRouterOutputWithContext(context.Context) ConnectionZSideAccessPointRouterOutput +} + +type ConnectionZSideAccessPointRouterArgs struct { + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionZSideAccessPointRouterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointRouter)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointRouterArgs) ToConnectionZSideAccessPointRouterOutput() ConnectionZSideAccessPointRouterOutput { + return i.ToConnectionZSideAccessPointRouterOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointRouterArgs) ToConnectionZSideAccessPointRouterOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRouterOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointRouterOutput) +} + +func (i ConnectionZSideAccessPointRouterArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointRouter] { + return pulumix.Output[ConnectionZSideAccessPointRouter]{ + OutputState: i.ToConnectionZSideAccessPointRouterOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionZSideAccessPointRouterArgs) ToConnectionZSideAccessPointRouterPtrOutput() ConnectionZSideAccessPointRouterPtrOutput { + return i.ToConnectionZSideAccessPointRouterPtrOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointRouterArgs) ToConnectionZSideAccessPointRouterPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRouterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointRouterOutput).ToConnectionZSideAccessPointRouterPtrOutputWithContext(ctx) +} + +// ConnectionZSideAccessPointRouterPtrInput is an input type that accepts ConnectionZSideAccessPointRouterArgs, ConnectionZSideAccessPointRouterPtr and ConnectionZSideAccessPointRouterPtrOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointRouterPtrInput` via: +// +// ConnectionZSideAccessPointRouterArgs{...} +// +// or: +// +// nil +type ConnectionZSideAccessPointRouterPtrInput interface { + pulumi.Input + + ToConnectionZSideAccessPointRouterPtrOutput() ConnectionZSideAccessPointRouterPtrOutput + ToConnectionZSideAccessPointRouterPtrOutputWithContext(context.Context) ConnectionZSideAccessPointRouterPtrOutput +} + +type connectionZSideAccessPointRouterPtrType ConnectionZSideAccessPointRouterArgs + +func ConnectionZSideAccessPointRouterPtr(v *ConnectionZSideAccessPointRouterArgs) ConnectionZSideAccessPointRouterPtrInput { + return (*connectionZSideAccessPointRouterPtrType)(v) +} + +func (*connectionZSideAccessPointRouterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointRouter)(nil)).Elem() +} + +func (i *connectionZSideAccessPointRouterPtrType) ToConnectionZSideAccessPointRouterPtrOutput() ConnectionZSideAccessPointRouterPtrOutput { + return i.ToConnectionZSideAccessPointRouterPtrOutputWithContext(context.Background()) +} + +func (i *connectionZSideAccessPointRouterPtrType) ToConnectionZSideAccessPointRouterPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRouterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointRouterPtrOutput) +} + +func (i *connectionZSideAccessPointRouterPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointRouter] { + return pulumix.Output[*ConnectionZSideAccessPointRouter]{ + OutputState: i.ToConnectionZSideAccessPointRouterPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointRouterOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointRouterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointRouter)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointRouterOutput) ToConnectionZSideAccessPointRouterOutput() ConnectionZSideAccessPointRouterOutput { + return o +} + +func (o ConnectionZSideAccessPointRouterOutput) ToConnectionZSideAccessPointRouterOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRouterOutput { + return o +} + +func (o ConnectionZSideAccessPointRouterOutput) ToConnectionZSideAccessPointRouterPtrOutput() ConnectionZSideAccessPointRouterPtrOutput { + return o.ToConnectionZSideAccessPointRouterPtrOutputWithContext(context.Background()) +} + +func (o ConnectionZSideAccessPointRouterOutput) ToConnectionZSideAccessPointRouterPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRouterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointRouter) *ConnectionZSideAccessPointRouter { + return &v + }).(ConnectionZSideAccessPointRouterPtrOutput) +} + +func (o ConnectionZSideAccessPointRouterOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointRouter] { + return pulumix.Output[ConnectionZSideAccessPointRouter]{ + OutputState: o.OutputState, + } +} + +// Unique Resource Identifier +func (o ConnectionZSideAccessPointRouterOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointRouter) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointRouterOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointRouter) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointRouterPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointRouterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointRouter)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointRouterPtrOutput) ToConnectionZSideAccessPointRouterPtrOutput() ConnectionZSideAccessPointRouterPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointRouterPtrOutput) ToConnectionZSideAccessPointRouterPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRouterPtrOutput { + return o +} + +func (o ConnectionZSideAccessPointRouterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointRouter] { + return pulumix.Output[*ConnectionZSideAccessPointRouter]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointRouterPtrOutput) Elem() ConnectionZSideAccessPointRouterOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointRouter) ConnectionZSideAccessPointRouter { + if v != nil { + return *v + } + var ret ConnectionZSideAccessPointRouter + return ret + }).(ConnectionZSideAccessPointRouterOutput) +} + +// Unique Resource Identifier +func (o ConnectionZSideAccessPointRouterPtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointRouter) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointRouterPtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointRouter) *string { + if v == nil { + return nil + } + return v.Uuid + }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointRoutingProtocol struct { + // Routing protocol instance state + State *string `pulumi:"state"` + // Interface type + Type *string `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionZSideAccessPointRoutingProtocolInput is an input type that accepts ConnectionZSideAccessPointRoutingProtocolArgs and ConnectionZSideAccessPointRoutingProtocolOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointRoutingProtocolInput` via: +// +// ConnectionZSideAccessPointRoutingProtocolArgs{...} +type ConnectionZSideAccessPointRoutingProtocolInput interface { + pulumi.Input + + ToConnectionZSideAccessPointRoutingProtocolOutput() ConnectionZSideAccessPointRoutingProtocolOutput + ToConnectionZSideAccessPointRoutingProtocolOutputWithContext(context.Context) ConnectionZSideAccessPointRoutingProtocolOutput +} + +type ConnectionZSideAccessPointRoutingProtocolArgs struct { + // Routing protocol instance state + State pulumi.StringPtrInput `pulumi:"state"` + // Interface type + Type pulumi.StringPtrInput `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionZSideAccessPointRoutingProtocolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointRoutingProtocol)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointRoutingProtocolArgs) ToConnectionZSideAccessPointRoutingProtocolOutput() ConnectionZSideAccessPointRoutingProtocolOutput { + return i.ToConnectionZSideAccessPointRoutingProtocolOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointRoutingProtocolArgs) ToConnectionZSideAccessPointRoutingProtocolOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRoutingProtocolOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointRoutingProtocolOutput) +} + +func (i ConnectionZSideAccessPointRoutingProtocolArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointRoutingProtocol] { + return pulumix.Output[ConnectionZSideAccessPointRoutingProtocol]{ + OutputState: i.ToConnectionZSideAccessPointRoutingProtocolOutputWithContext(ctx).OutputState, + } +} + +// ConnectionZSideAccessPointRoutingProtocolArrayInput is an input type that accepts ConnectionZSideAccessPointRoutingProtocolArray and ConnectionZSideAccessPointRoutingProtocolArrayOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointRoutingProtocolArrayInput` via: +// +// ConnectionZSideAccessPointRoutingProtocolArray{ ConnectionZSideAccessPointRoutingProtocolArgs{...} } +type ConnectionZSideAccessPointRoutingProtocolArrayInput interface { + pulumi.Input + + ToConnectionZSideAccessPointRoutingProtocolArrayOutput() ConnectionZSideAccessPointRoutingProtocolArrayOutput + ToConnectionZSideAccessPointRoutingProtocolArrayOutputWithContext(context.Context) ConnectionZSideAccessPointRoutingProtocolArrayOutput +} + +type ConnectionZSideAccessPointRoutingProtocolArray []ConnectionZSideAccessPointRoutingProtocolInput + +func (ConnectionZSideAccessPointRoutingProtocolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionZSideAccessPointRoutingProtocol)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointRoutingProtocolArray) ToConnectionZSideAccessPointRoutingProtocolArrayOutput() ConnectionZSideAccessPointRoutingProtocolArrayOutput { + return i.ToConnectionZSideAccessPointRoutingProtocolArrayOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointRoutingProtocolArray) ToConnectionZSideAccessPointRoutingProtocolArrayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRoutingProtocolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointRoutingProtocolArrayOutput) +} + +func (i ConnectionZSideAccessPointRoutingProtocolArray) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionZSideAccessPointRoutingProtocol] { + return pulumix.Output[[]ConnectionZSideAccessPointRoutingProtocol]{ + OutputState: i.ToConnectionZSideAccessPointRoutingProtocolArrayOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointRoutingProtocolOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointRoutingProtocolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointRoutingProtocol)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointRoutingProtocolOutput) ToConnectionZSideAccessPointRoutingProtocolOutput() ConnectionZSideAccessPointRoutingProtocolOutput { + return o +} + +func (o ConnectionZSideAccessPointRoutingProtocolOutput) ToConnectionZSideAccessPointRoutingProtocolOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRoutingProtocolOutput { + return o +} + +func (o ConnectionZSideAccessPointRoutingProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointRoutingProtocol] { + return pulumix.Output[ConnectionZSideAccessPointRoutingProtocol]{ + OutputState: o.OutputState, + } +} + +// Routing protocol instance state +func (o ConnectionZSideAccessPointRoutingProtocolOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointRoutingProtocol) *string { return v.State }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionZSideAccessPointRoutingProtocolOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointRoutingProtocol) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointRoutingProtocolOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointRoutingProtocol) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointRoutingProtocolArrayOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointRoutingProtocolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionZSideAccessPointRoutingProtocol)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointRoutingProtocolArrayOutput) ToConnectionZSideAccessPointRoutingProtocolArrayOutput() ConnectionZSideAccessPointRoutingProtocolArrayOutput { + return o +} + +func (o ConnectionZSideAccessPointRoutingProtocolArrayOutput) ToConnectionZSideAccessPointRoutingProtocolArrayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRoutingProtocolArrayOutput { + return o +} + +func (o ConnectionZSideAccessPointRoutingProtocolArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionZSideAccessPointRoutingProtocol] { + return pulumix.Output[[]ConnectionZSideAccessPointRoutingProtocol]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointRoutingProtocolArrayOutput) Index(i pulumi.IntInput) ConnectionZSideAccessPointRoutingProtocolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionZSideAccessPointRoutingProtocol { + return vs[0].([]ConnectionZSideAccessPointRoutingProtocol)[vs[1].(int)] + }).(ConnectionZSideAccessPointRoutingProtocolOutput) +} + +type ConnectionZSideAccessPointVirtualDevice struct { + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Interface type + Type *string `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionZSideAccessPointVirtualDeviceInput is an input type that accepts ConnectionZSideAccessPointVirtualDeviceArgs and ConnectionZSideAccessPointVirtualDeviceOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointVirtualDeviceInput` via: +// +// ConnectionZSideAccessPointVirtualDeviceArgs{...} +type ConnectionZSideAccessPointVirtualDeviceInput interface { + pulumi.Input + + ToConnectionZSideAccessPointVirtualDeviceOutput() ConnectionZSideAccessPointVirtualDeviceOutput + ToConnectionZSideAccessPointVirtualDeviceOutputWithContext(context.Context) ConnectionZSideAccessPointVirtualDeviceOutput +} + +type ConnectionZSideAccessPointVirtualDeviceArgs struct { + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Interface type + Type pulumi.StringPtrInput `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionZSideAccessPointVirtualDeviceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointVirtualDevice)(nil)).Elem() +} + +func (i ConnectionZSideAccessPointVirtualDeviceArgs) ToConnectionZSideAccessPointVirtualDeviceOutput() ConnectionZSideAccessPointVirtualDeviceOutput { + return i.ToConnectionZSideAccessPointVirtualDeviceOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointVirtualDeviceArgs) ToConnectionZSideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) ConnectionZSideAccessPointVirtualDeviceOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointVirtualDeviceOutput) +} + +func (i ConnectionZSideAccessPointVirtualDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointVirtualDevice] { + return pulumix.Output[ConnectionZSideAccessPointVirtualDevice]{ + OutputState: i.ToConnectionZSideAccessPointVirtualDeviceOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionZSideAccessPointVirtualDeviceArgs) ToConnectionZSideAccessPointVirtualDevicePtrOutput() ConnectionZSideAccessPointVirtualDevicePtrOutput { + return i.ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAccessPointVirtualDeviceArgs) ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointVirtualDevicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointVirtualDeviceOutput).ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(ctx) +} + +// ConnectionZSideAccessPointVirtualDevicePtrInput is an input type that accepts ConnectionZSideAccessPointVirtualDeviceArgs, ConnectionZSideAccessPointVirtualDevicePtr and ConnectionZSideAccessPointVirtualDevicePtrOutput values. +// You can construct a concrete instance of `ConnectionZSideAccessPointVirtualDevicePtrInput` via: +// +// ConnectionZSideAccessPointVirtualDeviceArgs{...} +// +// or: +// +// nil +type ConnectionZSideAccessPointVirtualDevicePtrInput interface { + pulumi.Input + + ToConnectionZSideAccessPointVirtualDevicePtrOutput() ConnectionZSideAccessPointVirtualDevicePtrOutput + ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(context.Context) ConnectionZSideAccessPointVirtualDevicePtrOutput +} + +type connectionZSideAccessPointVirtualDevicePtrType ConnectionZSideAccessPointVirtualDeviceArgs + +func ConnectionZSideAccessPointVirtualDevicePtr(v *ConnectionZSideAccessPointVirtualDeviceArgs) ConnectionZSideAccessPointVirtualDevicePtrInput { + return (*connectionZSideAccessPointVirtualDevicePtrType)(v) +} + +func (*connectionZSideAccessPointVirtualDevicePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointVirtualDevice)(nil)).Elem() +} + +func (i *connectionZSideAccessPointVirtualDevicePtrType) ToConnectionZSideAccessPointVirtualDevicePtrOutput() ConnectionZSideAccessPointVirtualDevicePtrOutput { + return i.ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(context.Background()) +} + +func (i *connectionZSideAccessPointVirtualDevicePtrType) ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointVirtualDevicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointVirtualDevicePtrOutput) +} + +func (i *connectionZSideAccessPointVirtualDevicePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointVirtualDevice] { + return pulumix.Output[*ConnectionZSideAccessPointVirtualDevice]{ + OutputState: i.ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAccessPointVirtualDeviceOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointVirtualDeviceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAccessPointVirtualDevice)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointVirtualDeviceOutput) ToConnectionZSideAccessPointVirtualDeviceOutput() ConnectionZSideAccessPointVirtualDeviceOutput { + return o +} + +func (o ConnectionZSideAccessPointVirtualDeviceOutput) ToConnectionZSideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) ConnectionZSideAccessPointVirtualDeviceOutput { + return o +} + +func (o ConnectionZSideAccessPointVirtualDeviceOutput) ToConnectionZSideAccessPointVirtualDevicePtrOutput() ConnectionZSideAccessPointVirtualDevicePtrOutput { + return o.ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(context.Background()) +} + +func (o ConnectionZSideAccessPointVirtualDeviceOutput) ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointVirtualDevicePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointVirtualDevice) *ConnectionZSideAccessPointVirtualDevice { + return &v + }).(ConnectionZSideAccessPointVirtualDevicePtrOutput) +} + +func (o ConnectionZSideAccessPointVirtualDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAccessPointVirtualDevice] { + return pulumix.Output[ConnectionZSideAccessPointVirtualDevice]{ + OutputState: o.OutputState, + } +} + +// Unique Resource Identifier +func (o ConnectionZSideAccessPointVirtualDeviceOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointVirtualDevice) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionZSideAccessPointVirtualDeviceOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointVirtualDevice) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointVirtualDeviceOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAccessPointVirtualDevice) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAccessPointVirtualDevicePtrOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAccessPointVirtualDevicePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideAccessPointVirtualDevice)(nil)).Elem() +} + +func (o ConnectionZSideAccessPointVirtualDevicePtrOutput) ToConnectionZSideAccessPointVirtualDevicePtrOutput() ConnectionZSideAccessPointVirtualDevicePtrOutput { + return o +} + +func (o ConnectionZSideAccessPointVirtualDevicePtrOutput) ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointVirtualDevicePtrOutput { + return o +} + +func (o ConnectionZSideAccessPointVirtualDevicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideAccessPointVirtualDevice] { + return pulumix.Output[*ConnectionZSideAccessPointVirtualDevice]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAccessPointVirtualDevicePtrOutput) Elem() ConnectionZSideAccessPointVirtualDeviceOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointVirtualDevice) ConnectionZSideAccessPointVirtualDevice { + if v != nil { + return *v + } + var ret ConnectionZSideAccessPointVirtualDevice + return ret + }).(ConnectionZSideAccessPointVirtualDeviceOutput) +} + +// Unique Resource Identifier +func (o ConnectionZSideAccessPointVirtualDevicePtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointVirtualDevice) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionZSideAccessPointVirtualDevicePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointVirtualDevice) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideAccessPointVirtualDevicePtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideAccessPointVirtualDevice) *string { + if v == nil { + return nil + } + return v.Uuid + }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAdditionalInfo struct { + // Additional information key + Key *string `pulumi:"key"` + // Additional information value + Value *string `pulumi:"value"` +} + +// ConnectionZSideAdditionalInfoInput is an input type that accepts ConnectionZSideAdditionalInfoArgs and ConnectionZSideAdditionalInfoOutput values. +// You can construct a concrete instance of `ConnectionZSideAdditionalInfoInput` via: +// +// ConnectionZSideAdditionalInfoArgs{...} +type ConnectionZSideAdditionalInfoInput interface { + pulumi.Input + + ToConnectionZSideAdditionalInfoOutput() ConnectionZSideAdditionalInfoOutput + ToConnectionZSideAdditionalInfoOutputWithContext(context.Context) ConnectionZSideAdditionalInfoOutput +} + +type ConnectionZSideAdditionalInfoArgs struct { + // Additional information key + Key pulumi.StringPtrInput `pulumi:"key"` + // Additional information value + Value pulumi.StringPtrInput `pulumi:"value"` +} + +func (ConnectionZSideAdditionalInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAdditionalInfo)(nil)).Elem() +} + +func (i ConnectionZSideAdditionalInfoArgs) ToConnectionZSideAdditionalInfoOutput() ConnectionZSideAdditionalInfoOutput { + return i.ToConnectionZSideAdditionalInfoOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAdditionalInfoArgs) ToConnectionZSideAdditionalInfoOutputWithContext(ctx context.Context) ConnectionZSideAdditionalInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAdditionalInfoOutput) +} + +func (i ConnectionZSideAdditionalInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAdditionalInfo] { + return pulumix.Output[ConnectionZSideAdditionalInfo]{ + OutputState: i.ToConnectionZSideAdditionalInfoOutputWithContext(ctx).OutputState, + } +} + +// ConnectionZSideAdditionalInfoArrayInput is an input type that accepts ConnectionZSideAdditionalInfoArray and ConnectionZSideAdditionalInfoArrayOutput values. +// You can construct a concrete instance of `ConnectionZSideAdditionalInfoArrayInput` via: +// +// ConnectionZSideAdditionalInfoArray{ ConnectionZSideAdditionalInfoArgs{...} } +type ConnectionZSideAdditionalInfoArrayInput interface { + pulumi.Input + + ToConnectionZSideAdditionalInfoArrayOutput() ConnectionZSideAdditionalInfoArrayOutput + ToConnectionZSideAdditionalInfoArrayOutputWithContext(context.Context) ConnectionZSideAdditionalInfoArrayOutput +} + +type ConnectionZSideAdditionalInfoArray []ConnectionZSideAdditionalInfoInput + +func (ConnectionZSideAdditionalInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionZSideAdditionalInfo)(nil)).Elem() +} + +func (i ConnectionZSideAdditionalInfoArray) ToConnectionZSideAdditionalInfoArrayOutput() ConnectionZSideAdditionalInfoArrayOutput { + return i.ToConnectionZSideAdditionalInfoArrayOutputWithContext(context.Background()) +} + +func (i ConnectionZSideAdditionalInfoArray) ToConnectionZSideAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionZSideAdditionalInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAdditionalInfoArrayOutput) +} + +func (i ConnectionZSideAdditionalInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionZSideAdditionalInfo] { + return pulumix.Output[[]ConnectionZSideAdditionalInfo]{ + OutputState: i.ToConnectionZSideAdditionalInfoArrayOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideAdditionalInfoOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAdditionalInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideAdditionalInfo)(nil)).Elem() +} + +func (o ConnectionZSideAdditionalInfoOutput) ToConnectionZSideAdditionalInfoOutput() ConnectionZSideAdditionalInfoOutput { + return o +} + +func (o ConnectionZSideAdditionalInfoOutput) ToConnectionZSideAdditionalInfoOutputWithContext(ctx context.Context) ConnectionZSideAdditionalInfoOutput { + return o +} + +func (o ConnectionZSideAdditionalInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideAdditionalInfo] { + return pulumix.Output[ConnectionZSideAdditionalInfo]{ + OutputState: o.OutputState, + } +} + +// Additional information key +func (o ConnectionZSideAdditionalInfoOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAdditionalInfo) *string { return v.Key }).(pulumi.StringPtrOutput) +} + +// Additional information value +func (o ConnectionZSideAdditionalInfoOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideAdditionalInfo) *string { return v.Value }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideAdditionalInfoArrayOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideAdditionalInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ConnectionZSideAdditionalInfo)(nil)).Elem() +} + +func (o ConnectionZSideAdditionalInfoArrayOutput) ToConnectionZSideAdditionalInfoArrayOutput() ConnectionZSideAdditionalInfoArrayOutput { + return o +} + +func (o ConnectionZSideAdditionalInfoArrayOutput) ToConnectionZSideAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionZSideAdditionalInfoArrayOutput { + return o +} + +func (o ConnectionZSideAdditionalInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionZSideAdditionalInfo] { + return pulumix.Output[[]ConnectionZSideAdditionalInfo]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideAdditionalInfoArrayOutput) Index(i pulumi.IntInput) ConnectionZSideAdditionalInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionZSideAdditionalInfo { + return vs[0].([]ConnectionZSideAdditionalInfo)[vs[1].(int)] + }).(ConnectionZSideAdditionalInfoOutput) +} + +type ConnectionZSideServiceToken struct { + // User-provided service description + Description *string `pulumi:"description"` + // Unique Resource Identifier + Href *string `pulumi:"href"` + // Interface type + Type *string `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid *string `pulumi:"uuid"` +} + +// ConnectionZSideServiceTokenInput is an input type that accepts ConnectionZSideServiceTokenArgs and ConnectionZSideServiceTokenOutput values. +// You can construct a concrete instance of `ConnectionZSideServiceTokenInput` via: +// +// ConnectionZSideServiceTokenArgs{...} +type ConnectionZSideServiceTokenInput interface { + pulumi.Input + + ToConnectionZSideServiceTokenOutput() ConnectionZSideServiceTokenOutput + ToConnectionZSideServiceTokenOutputWithContext(context.Context) ConnectionZSideServiceTokenOutput +} + +type ConnectionZSideServiceTokenArgs struct { + // User-provided service description + Description pulumi.StringPtrInput `pulumi:"description"` + // Unique Resource Identifier + Href pulumi.StringPtrInput `pulumi:"href"` + // Interface type + Type pulumi.StringPtrInput `pulumi:"type"` + // Equinix-assigned interface identifier + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ConnectionZSideServiceTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideServiceToken)(nil)).Elem() +} + +func (i ConnectionZSideServiceTokenArgs) ToConnectionZSideServiceTokenOutput() ConnectionZSideServiceTokenOutput { + return i.ToConnectionZSideServiceTokenOutputWithContext(context.Background()) +} + +func (i ConnectionZSideServiceTokenArgs) ToConnectionZSideServiceTokenOutputWithContext(ctx context.Context) ConnectionZSideServiceTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideServiceTokenOutput) +} + +func (i ConnectionZSideServiceTokenArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideServiceToken] { + return pulumix.Output[ConnectionZSideServiceToken]{ + OutputState: i.ToConnectionZSideServiceTokenOutputWithContext(ctx).OutputState, + } +} + +func (i ConnectionZSideServiceTokenArgs) ToConnectionZSideServiceTokenPtrOutput() ConnectionZSideServiceTokenPtrOutput { + return i.ToConnectionZSideServiceTokenPtrOutputWithContext(context.Background()) +} + +func (i ConnectionZSideServiceTokenArgs) ToConnectionZSideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionZSideServiceTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideServiceTokenOutput).ToConnectionZSideServiceTokenPtrOutputWithContext(ctx) +} + +// ConnectionZSideServiceTokenPtrInput is an input type that accepts ConnectionZSideServiceTokenArgs, ConnectionZSideServiceTokenPtr and ConnectionZSideServiceTokenPtrOutput values. +// You can construct a concrete instance of `ConnectionZSideServiceTokenPtrInput` via: +// +// ConnectionZSideServiceTokenArgs{...} +// +// or: +// +// nil +type ConnectionZSideServiceTokenPtrInput interface { + pulumi.Input + + ToConnectionZSideServiceTokenPtrOutput() ConnectionZSideServiceTokenPtrOutput + ToConnectionZSideServiceTokenPtrOutputWithContext(context.Context) ConnectionZSideServiceTokenPtrOutput +} + +type connectionZSideServiceTokenPtrType ConnectionZSideServiceTokenArgs + +func ConnectionZSideServiceTokenPtr(v *ConnectionZSideServiceTokenArgs) ConnectionZSideServiceTokenPtrInput { + return (*connectionZSideServiceTokenPtrType)(v) +} + +func (*connectionZSideServiceTokenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideServiceToken)(nil)).Elem() +} + +func (i *connectionZSideServiceTokenPtrType) ToConnectionZSideServiceTokenPtrOutput() ConnectionZSideServiceTokenPtrOutput { + return i.ToConnectionZSideServiceTokenPtrOutputWithContext(context.Background()) +} + +func (i *connectionZSideServiceTokenPtrType) ToConnectionZSideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionZSideServiceTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideServiceTokenPtrOutput) +} + +func (i *connectionZSideServiceTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideServiceToken] { + return pulumix.Output[*ConnectionZSideServiceToken]{ + OutputState: i.ToConnectionZSideServiceTokenPtrOutputWithContext(ctx).OutputState, + } +} + +type ConnectionZSideServiceTokenOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideServiceTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ConnectionZSideServiceToken)(nil)).Elem() +} + +func (o ConnectionZSideServiceTokenOutput) ToConnectionZSideServiceTokenOutput() ConnectionZSideServiceTokenOutput { + return o +} + +func (o ConnectionZSideServiceTokenOutput) ToConnectionZSideServiceTokenOutputWithContext(ctx context.Context) ConnectionZSideServiceTokenOutput { + return o +} + +func (o ConnectionZSideServiceTokenOutput) ToConnectionZSideServiceTokenPtrOutput() ConnectionZSideServiceTokenPtrOutput { + return o.ToConnectionZSideServiceTokenPtrOutputWithContext(context.Background()) +} + +func (o ConnectionZSideServiceTokenOutput) ToConnectionZSideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionZSideServiceTokenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideServiceToken) *ConnectionZSideServiceToken { + return &v + }).(ConnectionZSideServiceTokenPtrOutput) +} + +func (o ConnectionZSideServiceTokenOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionZSideServiceToken] { + return pulumix.Output[ConnectionZSideServiceToken]{ + OutputState: o.OutputState, + } +} + +// User-provided service description +func (o ConnectionZSideServiceTokenOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideServiceToken) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// Unique Resource Identifier +func (o ConnectionZSideServiceTokenOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideServiceToken) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionZSideServiceTokenOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideServiceToken) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideServiceTokenOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionZSideServiceToken) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ConnectionZSideServiceTokenPtrOutput struct{ *pulumi.OutputState } + +func (ConnectionZSideServiceTokenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ConnectionZSideServiceToken)(nil)).Elem() +} + +func (o ConnectionZSideServiceTokenPtrOutput) ToConnectionZSideServiceTokenPtrOutput() ConnectionZSideServiceTokenPtrOutput { + return o +} + +func (o ConnectionZSideServiceTokenPtrOutput) ToConnectionZSideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionZSideServiceTokenPtrOutput { + return o +} + +func (o ConnectionZSideServiceTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionZSideServiceToken] { + return pulumix.Output[*ConnectionZSideServiceToken]{ + OutputState: o.OutputState, + } +} + +func (o ConnectionZSideServiceTokenPtrOutput) Elem() ConnectionZSideServiceTokenOutput { + return o.ApplyT(func(v *ConnectionZSideServiceToken) ConnectionZSideServiceToken { + if v != nil { + return *v + } + var ret ConnectionZSideServiceToken + return ret + }).(ConnectionZSideServiceTokenOutput) +} + +// User-provided service description +func (o ConnectionZSideServiceTokenPtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideServiceToken) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) +} + +// Unique Resource Identifier +func (o ConnectionZSideServiceTokenPtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideServiceToken) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) +} + +// Interface type +func (o ConnectionZSideServiceTokenPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideServiceToken) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned interface identifier +func (o ConnectionZSideServiceTokenPtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionZSideServiceToken) *string { + if v == nil { + return nil + } + return v.Uuid + }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolBfd struct { + // Bidirectional Forwarding Detection enablement + Enabled bool `pulumi:"enabled"` + // Interval range between the received BFD control packets + Interval *string `pulumi:"interval"` +} + +// RoutingProtocolBfdInput is an input type that accepts RoutingProtocolBfdArgs and RoutingProtocolBfdOutput values. +// You can construct a concrete instance of `RoutingProtocolBfdInput` via: +// +// RoutingProtocolBfdArgs{...} +type RoutingProtocolBfdInput interface { + pulumi.Input + + ToRoutingProtocolBfdOutput() RoutingProtocolBfdOutput + ToRoutingProtocolBfdOutputWithContext(context.Context) RoutingProtocolBfdOutput +} + +type RoutingProtocolBfdArgs struct { + // Bidirectional Forwarding Detection enablement + Enabled pulumi.BoolInput `pulumi:"enabled"` + // Interval range between the received BFD control packets + Interval pulumi.StringPtrInput `pulumi:"interval"` +} + +func (RoutingProtocolBfdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolBfd)(nil)).Elem() +} + +func (i RoutingProtocolBfdArgs) ToRoutingProtocolBfdOutput() RoutingProtocolBfdOutput { + return i.ToRoutingProtocolBfdOutputWithContext(context.Background()) +} + +func (i RoutingProtocolBfdArgs) ToRoutingProtocolBfdOutputWithContext(ctx context.Context) RoutingProtocolBfdOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolBfdOutput) +} + +func (i RoutingProtocolBfdArgs) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolBfd] { + return pulumix.Output[RoutingProtocolBfd]{ + OutputState: i.ToRoutingProtocolBfdOutputWithContext(ctx).OutputState, + } +} + +func (i RoutingProtocolBfdArgs) ToRoutingProtocolBfdPtrOutput() RoutingProtocolBfdPtrOutput { + return i.ToRoutingProtocolBfdPtrOutputWithContext(context.Background()) +} + +func (i RoutingProtocolBfdArgs) ToRoutingProtocolBfdPtrOutputWithContext(ctx context.Context) RoutingProtocolBfdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolBfdOutput).ToRoutingProtocolBfdPtrOutputWithContext(ctx) +} + +// RoutingProtocolBfdPtrInput is an input type that accepts RoutingProtocolBfdArgs, RoutingProtocolBfdPtr and RoutingProtocolBfdPtrOutput values. +// You can construct a concrete instance of `RoutingProtocolBfdPtrInput` via: +// +// RoutingProtocolBfdArgs{...} +// +// or: +// +// nil +type RoutingProtocolBfdPtrInput interface { + pulumi.Input + + ToRoutingProtocolBfdPtrOutput() RoutingProtocolBfdPtrOutput + ToRoutingProtocolBfdPtrOutputWithContext(context.Context) RoutingProtocolBfdPtrOutput +} + +type routingProtocolBfdPtrType RoutingProtocolBfdArgs + +func RoutingProtocolBfdPtr(v *RoutingProtocolBfdArgs) RoutingProtocolBfdPtrInput { + return (*routingProtocolBfdPtrType)(v) +} + +func (*routingProtocolBfdPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProtocolBfd)(nil)).Elem() +} + +func (i *routingProtocolBfdPtrType) ToRoutingProtocolBfdPtrOutput() RoutingProtocolBfdPtrOutput { + return i.ToRoutingProtocolBfdPtrOutputWithContext(context.Background()) +} + +func (i *routingProtocolBfdPtrType) ToRoutingProtocolBfdPtrOutputWithContext(ctx context.Context) RoutingProtocolBfdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolBfdPtrOutput) +} + +func (i *routingProtocolBfdPtrType) ToOutput(ctx context.Context) pulumix.Output[*RoutingProtocolBfd] { + return pulumix.Output[*RoutingProtocolBfd]{ + OutputState: i.ToRoutingProtocolBfdPtrOutputWithContext(ctx).OutputState, + } +} + +type RoutingProtocolBfdOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolBfdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolBfd)(nil)).Elem() +} + +func (o RoutingProtocolBfdOutput) ToRoutingProtocolBfdOutput() RoutingProtocolBfdOutput { + return o +} + +func (o RoutingProtocolBfdOutput) ToRoutingProtocolBfdOutputWithContext(ctx context.Context) RoutingProtocolBfdOutput { + return o +} + +func (o RoutingProtocolBfdOutput) ToRoutingProtocolBfdPtrOutput() RoutingProtocolBfdPtrOutput { + return o.ToRoutingProtocolBfdPtrOutputWithContext(context.Background()) +} + +func (o RoutingProtocolBfdOutput) ToRoutingProtocolBfdPtrOutputWithContext(ctx context.Context) RoutingProtocolBfdPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingProtocolBfd) *RoutingProtocolBfd { + return &v + }).(RoutingProtocolBfdPtrOutput) +} + +func (o RoutingProtocolBfdOutput) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolBfd] { + return pulumix.Output[RoutingProtocolBfd]{ + OutputState: o.OutputState, + } +} + +// Bidirectional Forwarding Detection enablement +func (o RoutingProtocolBfdOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v RoutingProtocolBfd) bool { return v.Enabled }).(pulumi.BoolOutput) +} + +// Interval range between the received BFD control packets +func (o RoutingProtocolBfdOutput) Interval() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolBfd) *string { return v.Interval }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolBfdPtrOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolBfdPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProtocolBfd)(nil)).Elem() +} + +func (o RoutingProtocolBfdPtrOutput) ToRoutingProtocolBfdPtrOutput() RoutingProtocolBfdPtrOutput { + return o +} + +func (o RoutingProtocolBfdPtrOutput) ToRoutingProtocolBfdPtrOutputWithContext(ctx context.Context) RoutingProtocolBfdPtrOutput { + return o +} + +func (o RoutingProtocolBfdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RoutingProtocolBfd] { + return pulumix.Output[*RoutingProtocolBfd]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolBfdPtrOutput) Elem() RoutingProtocolBfdOutput { + return o.ApplyT(func(v *RoutingProtocolBfd) RoutingProtocolBfd { + if v != nil { + return *v + } + var ret RoutingProtocolBfd + return ret + }).(RoutingProtocolBfdOutput) +} + +// Bidirectional Forwarding Detection enablement +func (o RoutingProtocolBfdPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RoutingProtocolBfd) *bool { + if v == nil { + return nil + } + return &v.Enabled + }).(pulumi.BoolPtrOutput) +} + +// Interval range between the received BFD control packets +func (o RoutingProtocolBfdPtrOutput) Interval() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingProtocolBfd) *string { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolBgpIpv4 struct { + // Customer side peering ip + CustomerPeerIp string `pulumi:"customerPeerIp"` + // Admin status for the BGP session + Enabled *bool `pulumi:"enabled"` + // Equinix side peering ip + EquinixPeerIp *string `pulumi:"equinixPeerIp"` +} + +// RoutingProtocolBgpIpv4Input is an input type that accepts RoutingProtocolBgpIpv4Args and RoutingProtocolBgpIpv4Output values. +// You can construct a concrete instance of `RoutingProtocolBgpIpv4Input` via: +// +// RoutingProtocolBgpIpv4Args{...} +type RoutingProtocolBgpIpv4Input interface { + pulumi.Input + + ToRoutingProtocolBgpIpv4Output() RoutingProtocolBgpIpv4Output + ToRoutingProtocolBgpIpv4OutputWithContext(context.Context) RoutingProtocolBgpIpv4Output +} + +type RoutingProtocolBgpIpv4Args struct { + // Customer side peering ip + CustomerPeerIp pulumi.StringInput `pulumi:"customerPeerIp"` + // Admin status for the BGP session + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // Equinix side peering ip + EquinixPeerIp pulumi.StringPtrInput `pulumi:"equinixPeerIp"` +} + +func (RoutingProtocolBgpIpv4Args) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolBgpIpv4)(nil)).Elem() +} + +func (i RoutingProtocolBgpIpv4Args) ToRoutingProtocolBgpIpv4Output() RoutingProtocolBgpIpv4Output { + return i.ToRoutingProtocolBgpIpv4OutputWithContext(context.Background()) +} + +func (i RoutingProtocolBgpIpv4Args) ToRoutingProtocolBgpIpv4OutputWithContext(ctx context.Context) RoutingProtocolBgpIpv4Output { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolBgpIpv4Output) +} + +func (i RoutingProtocolBgpIpv4Args) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolBgpIpv4] { + return pulumix.Output[RoutingProtocolBgpIpv4]{ + OutputState: i.ToRoutingProtocolBgpIpv4OutputWithContext(ctx).OutputState, + } +} + +func (i RoutingProtocolBgpIpv4Args) ToRoutingProtocolBgpIpv4PtrOutput() RoutingProtocolBgpIpv4PtrOutput { + return i.ToRoutingProtocolBgpIpv4PtrOutputWithContext(context.Background()) +} + +func (i RoutingProtocolBgpIpv4Args) ToRoutingProtocolBgpIpv4PtrOutputWithContext(ctx context.Context) RoutingProtocolBgpIpv4PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolBgpIpv4Output).ToRoutingProtocolBgpIpv4PtrOutputWithContext(ctx) +} + +// RoutingProtocolBgpIpv4PtrInput is an input type that accepts RoutingProtocolBgpIpv4Args, RoutingProtocolBgpIpv4Ptr and RoutingProtocolBgpIpv4PtrOutput values. +// You can construct a concrete instance of `RoutingProtocolBgpIpv4PtrInput` via: +// +// RoutingProtocolBgpIpv4Args{...} +// +// or: +// +// nil +type RoutingProtocolBgpIpv4PtrInput interface { + pulumi.Input + + ToRoutingProtocolBgpIpv4PtrOutput() RoutingProtocolBgpIpv4PtrOutput + ToRoutingProtocolBgpIpv4PtrOutputWithContext(context.Context) RoutingProtocolBgpIpv4PtrOutput +} + +type routingProtocolBgpIpv4PtrType RoutingProtocolBgpIpv4Args + +func RoutingProtocolBgpIpv4Ptr(v *RoutingProtocolBgpIpv4Args) RoutingProtocolBgpIpv4PtrInput { + return (*routingProtocolBgpIpv4PtrType)(v) +} + +func (*routingProtocolBgpIpv4PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProtocolBgpIpv4)(nil)).Elem() +} + +func (i *routingProtocolBgpIpv4PtrType) ToRoutingProtocolBgpIpv4PtrOutput() RoutingProtocolBgpIpv4PtrOutput { + return i.ToRoutingProtocolBgpIpv4PtrOutputWithContext(context.Background()) +} + +func (i *routingProtocolBgpIpv4PtrType) ToRoutingProtocolBgpIpv4PtrOutputWithContext(ctx context.Context) RoutingProtocolBgpIpv4PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolBgpIpv4PtrOutput) +} + +func (i *routingProtocolBgpIpv4PtrType) ToOutput(ctx context.Context) pulumix.Output[*RoutingProtocolBgpIpv4] { + return pulumix.Output[*RoutingProtocolBgpIpv4]{ + OutputState: i.ToRoutingProtocolBgpIpv4PtrOutputWithContext(ctx).OutputState, + } +} + +type RoutingProtocolBgpIpv4Output struct{ *pulumi.OutputState } + +func (RoutingProtocolBgpIpv4Output) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolBgpIpv4)(nil)).Elem() +} + +func (o RoutingProtocolBgpIpv4Output) ToRoutingProtocolBgpIpv4Output() RoutingProtocolBgpIpv4Output { + return o +} + +func (o RoutingProtocolBgpIpv4Output) ToRoutingProtocolBgpIpv4OutputWithContext(ctx context.Context) RoutingProtocolBgpIpv4Output { + return o +} + +func (o RoutingProtocolBgpIpv4Output) ToRoutingProtocolBgpIpv4PtrOutput() RoutingProtocolBgpIpv4PtrOutput { + return o.ToRoutingProtocolBgpIpv4PtrOutputWithContext(context.Background()) +} + +func (o RoutingProtocolBgpIpv4Output) ToRoutingProtocolBgpIpv4PtrOutputWithContext(ctx context.Context) RoutingProtocolBgpIpv4PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingProtocolBgpIpv4) *RoutingProtocolBgpIpv4 { + return &v + }).(RoutingProtocolBgpIpv4PtrOutput) +} + +func (o RoutingProtocolBgpIpv4Output) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolBgpIpv4] { + return pulumix.Output[RoutingProtocolBgpIpv4]{ + OutputState: o.OutputState, + } +} + +// Customer side peering ip +func (o RoutingProtocolBgpIpv4Output) CustomerPeerIp() pulumi.StringOutput { + return o.ApplyT(func(v RoutingProtocolBgpIpv4) string { return v.CustomerPeerIp }).(pulumi.StringOutput) +} + +// Admin status for the BGP session +func (o RoutingProtocolBgpIpv4Output) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v RoutingProtocolBgpIpv4) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// Equinix side peering ip +func (o RoutingProtocolBgpIpv4Output) EquinixPeerIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolBgpIpv4) *string { return v.EquinixPeerIp }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolBgpIpv4PtrOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolBgpIpv4PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProtocolBgpIpv4)(nil)).Elem() +} + +func (o RoutingProtocolBgpIpv4PtrOutput) ToRoutingProtocolBgpIpv4PtrOutput() RoutingProtocolBgpIpv4PtrOutput { + return o +} + +func (o RoutingProtocolBgpIpv4PtrOutput) ToRoutingProtocolBgpIpv4PtrOutputWithContext(ctx context.Context) RoutingProtocolBgpIpv4PtrOutput { + return o +} + +func (o RoutingProtocolBgpIpv4PtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RoutingProtocolBgpIpv4] { + return pulumix.Output[*RoutingProtocolBgpIpv4]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolBgpIpv4PtrOutput) Elem() RoutingProtocolBgpIpv4Output { + return o.ApplyT(func(v *RoutingProtocolBgpIpv4) RoutingProtocolBgpIpv4 { + if v != nil { + return *v + } + var ret RoutingProtocolBgpIpv4 + return ret + }).(RoutingProtocolBgpIpv4Output) +} + +// Customer side peering ip +func (o RoutingProtocolBgpIpv4PtrOutput) CustomerPeerIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingProtocolBgpIpv4) *string { + if v == nil { + return nil + } + return &v.CustomerPeerIp + }).(pulumi.StringPtrOutput) +} + +// Admin status for the BGP session +func (o RoutingProtocolBgpIpv4PtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RoutingProtocolBgpIpv4) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) +} + +// Equinix side peering ip +func (o RoutingProtocolBgpIpv4PtrOutput) EquinixPeerIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingProtocolBgpIpv4) *string { + if v == nil { + return nil + } + return v.EquinixPeerIp + }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolBgpIpv6 struct { + // Customer side peering ip + CustomerPeerIp string `pulumi:"customerPeerIp"` + // Admin status for the BGP session + Enabled *bool `pulumi:"enabled"` + // Equinix side peering ip + EquinixPeerIp *string `pulumi:"equinixPeerIp"` +} + +// RoutingProtocolBgpIpv6Input is an input type that accepts RoutingProtocolBgpIpv6Args and RoutingProtocolBgpIpv6Output values. +// You can construct a concrete instance of `RoutingProtocolBgpIpv6Input` via: +// +// RoutingProtocolBgpIpv6Args{...} +type RoutingProtocolBgpIpv6Input interface { + pulumi.Input + + ToRoutingProtocolBgpIpv6Output() RoutingProtocolBgpIpv6Output + ToRoutingProtocolBgpIpv6OutputWithContext(context.Context) RoutingProtocolBgpIpv6Output +} + +type RoutingProtocolBgpIpv6Args struct { + // Customer side peering ip + CustomerPeerIp pulumi.StringInput `pulumi:"customerPeerIp"` + // Admin status for the BGP session + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // Equinix side peering ip + EquinixPeerIp pulumi.StringPtrInput `pulumi:"equinixPeerIp"` +} + +func (RoutingProtocolBgpIpv6Args) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolBgpIpv6)(nil)).Elem() +} + +func (i RoutingProtocolBgpIpv6Args) ToRoutingProtocolBgpIpv6Output() RoutingProtocolBgpIpv6Output { + return i.ToRoutingProtocolBgpIpv6OutputWithContext(context.Background()) +} + +func (i RoutingProtocolBgpIpv6Args) ToRoutingProtocolBgpIpv6OutputWithContext(ctx context.Context) RoutingProtocolBgpIpv6Output { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolBgpIpv6Output) +} + +func (i RoutingProtocolBgpIpv6Args) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolBgpIpv6] { + return pulumix.Output[RoutingProtocolBgpIpv6]{ + OutputState: i.ToRoutingProtocolBgpIpv6OutputWithContext(ctx).OutputState, + } +} + +func (i RoutingProtocolBgpIpv6Args) ToRoutingProtocolBgpIpv6PtrOutput() RoutingProtocolBgpIpv6PtrOutput { + return i.ToRoutingProtocolBgpIpv6PtrOutputWithContext(context.Background()) +} + +func (i RoutingProtocolBgpIpv6Args) ToRoutingProtocolBgpIpv6PtrOutputWithContext(ctx context.Context) RoutingProtocolBgpIpv6PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolBgpIpv6Output).ToRoutingProtocolBgpIpv6PtrOutputWithContext(ctx) +} + +// RoutingProtocolBgpIpv6PtrInput is an input type that accepts RoutingProtocolBgpIpv6Args, RoutingProtocolBgpIpv6Ptr and RoutingProtocolBgpIpv6PtrOutput values. +// You can construct a concrete instance of `RoutingProtocolBgpIpv6PtrInput` via: +// +// RoutingProtocolBgpIpv6Args{...} +// +// or: +// +// nil +type RoutingProtocolBgpIpv6PtrInput interface { + pulumi.Input + + ToRoutingProtocolBgpIpv6PtrOutput() RoutingProtocolBgpIpv6PtrOutput + ToRoutingProtocolBgpIpv6PtrOutputWithContext(context.Context) RoutingProtocolBgpIpv6PtrOutput +} + +type routingProtocolBgpIpv6PtrType RoutingProtocolBgpIpv6Args + +func RoutingProtocolBgpIpv6Ptr(v *RoutingProtocolBgpIpv6Args) RoutingProtocolBgpIpv6PtrInput { + return (*routingProtocolBgpIpv6PtrType)(v) +} + +func (*routingProtocolBgpIpv6PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProtocolBgpIpv6)(nil)).Elem() +} + +func (i *routingProtocolBgpIpv6PtrType) ToRoutingProtocolBgpIpv6PtrOutput() RoutingProtocolBgpIpv6PtrOutput { + return i.ToRoutingProtocolBgpIpv6PtrOutputWithContext(context.Background()) +} + +func (i *routingProtocolBgpIpv6PtrType) ToRoutingProtocolBgpIpv6PtrOutputWithContext(ctx context.Context) RoutingProtocolBgpIpv6PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolBgpIpv6PtrOutput) +} + +func (i *routingProtocolBgpIpv6PtrType) ToOutput(ctx context.Context) pulumix.Output[*RoutingProtocolBgpIpv6] { + return pulumix.Output[*RoutingProtocolBgpIpv6]{ + OutputState: i.ToRoutingProtocolBgpIpv6PtrOutputWithContext(ctx).OutputState, + } +} + +type RoutingProtocolBgpIpv6Output struct{ *pulumi.OutputState } + +func (RoutingProtocolBgpIpv6Output) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolBgpIpv6)(nil)).Elem() +} + +func (o RoutingProtocolBgpIpv6Output) ToRoutingProtocolBgpIpv6Output() RoutingProtocolBgpIpv6Output { + return o +} + +func (o RoutingProtocolBgpIpv6Output) ToRoutingProtocolBgpIpv6OutputWithContext(ctx context.Context) RoutingProtocolBgpIpv6Output { + return o +} + +func (o RoutingProtocolBgpIpv6Output) ToRoutingProtocolBgpIpv6PtrOutput() RoutingProtocolBgpIpv6PtrOutput { + return o.ToRoutingProtocolBgpIpv6PtrOutputWithContext(context.Background()) +} + +func (o RoutingProtocolBgpIpv6Output) ToRoutingProtocolBgpIpv6PtrOutputWithContext(ctx context.Context) RoutingProtocolBgpIpv6PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingProtocolBgpIpv6) *RoutingProtocolBgpIpv6 { + return &v + }).(RoutingProtocolBgpIpv6PtrOutput) +} + +func (o RoutingProtocolBgpIpv6Output) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolBgpIpv6] { + return pulumix.Output[RoutingProtocolBgpIpv6]{ + OutputState: o.OutputState, + } +} + +// Customer side peering ip +func (o RoutingProtocolBgpIpv6Output) CustomerPeerIp() pulumi.StringOutput { + return o.ApplyT(func(v RoutingProtocolBgpIpv6) string { return v.CustomerPeerIp }).(pulumi.StringOutput) +} + +// Admin status for the BGP session +func (o RoutingProtocolBgpIpv6Output) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v RoutingProtocolBgpIpv6) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// Equinix side peering ip +func (o RoutingProtocolBgpIpv6Output) EquinixPeerIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolBgpIpv6) *string { return v.EquinixPeerIp }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolBgpIpv6PtrOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolBgpIpv6PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProtocolBgpIpv6)(nil)).Elem() +} + +func (o RoutingProtocolBgpIpv6PtrOutput) ToRoutingProtocolBgpIpv6PtrOutput() RoutingProtocolBgpIpv6PtrOutput { + return o +} + +func (o RoutingProtocolBgpIpv6PtrOutput) ToRoutingProtocolBgpIpv6PtrOutputWithContext(ctx context.Context) RoutingProtocolBgpIpv6PtrOutput { + return o +} + +func (o RoutingProtocolBgpIpv6PtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RoutingProtocolBgpIpv6] { + return pulumix.Output[*RoutingProtocolBgpIpv6]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolBgpIpv6PtrOutput) Elem() RoutingProtocolBgpIpv6Output { + return o.ApplyT(func(v *RoutingProtocolBgpIpv6) RoutingProtocolBgpIpv6 { + if v != nil { + return *v + } + var ret RoutingProtocolBgpIpv6 + return ret + }).(RoutingProtocolBgpIpv6Output) +} + +// Customer side peering ip +func (o RoutingProtocolBgpIpv6PtrOutput) CustomerPeerIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingProtocolBgpIpv6) *string { + if v == nil { + return nil + } + return &v.CustomerPeerIp + }).(pulumi.StringPtrOutput) +} + +// Admin status for the BGP session +func (o RoutingProtocolBgpIpv6PtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RoutingProtocolBgpIpv6) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) +} + +// Equinix side peering ip +func (o RoutingProtocolBgpIpv6PtrOutput) EquinixPeerIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingProtocolBgpIpv6) *string { + if v == nil { + return nil + } + return v.EquinixPeerIp + }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolChange struct { + Href *string `pulumi:"href"` + Type *string `pulumi:"type"` + Uuid *string `pulumi:"uuid"` +} + +// RoutingProtocolChangeInput is an input type that accepts RoutingProtocolChangeArgs and RoutingProtocolChangeOutput values. +// You can construct a concrete instance of `RoutingProtocolChangeInput` via: +// +// RoutingProtocolChangeArgs{...} +type RoutingProtocolChangeInput interface { + pulumi.Input + + ToRoutingProtocolChangeOutput() RoutingProtocolChangeOutput + ToRoutingProtocolChangeOutputWithContext(context.Context) RoutingProtocolChangeOutput +} + +type RoutingProtocolChangeArgs struct { + Href pulumi.StringPtrInput `pulumi:"href"` + Type pulumi.StringPtrInput `pulumi:"type"` + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (RoutingProtocolChangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolChange)(nil)).Elem() +} + +func (i RoutingProtocolChangeArgs) ToRoutingProtocolChangeOutput() RoutingProtocolChangeOutput { + return i.ToRoutingProtocolChangeOutputWithContext(context.Background()) +} + +func (i RoutingProtocolChangeArgs) ToRoutingProtocolChangeOutputWithContext(ctx context.Context) RoutingProtocolChangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolChangeOutput) +} + +func (i RoutingProtocolChangeArgs) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolChange] { + return pulumix.Output[RoutingProtocolChange]{ + OutputState: i.ToRoutingProtocolChangeOutputWithContext(ctx).OutputState, + } +} + +// RoutingProtocolChangeArrayInput is an input type that accepts RoutingProtocolChangeArray and RoutingProtocolChangeArrayOutput values. +// You can construct a concrete instance of `RoutingProtocolChangeArrayInput` via: +// +// RoutingProtocolChangeArray{ RoutingProtocolChangeArgs{...} } +type RoutingProtocolChangeArrayInput interface { + pulumi.Input + + ToRoutingProtocolChangeArrayOutput() RoutingProtocolChangeArrayOutput + ToRoutingProtocolChangeArrayOutputWithContext(context.Context) RoutingProtocolChangeArrayOutput +} + +type RoutingProtocolChangeArray []RoutingProtocolChangeInput + +func (RoutingProtocolChangeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingProtocolChange)(nil)).Elem() +} + +func (i RoutingProtocolChangeArray) ToRoutingProtocolChangeArrayOutput() RoutingProtocolChangeArrayOutput { + return i.ToRoutingProtocolChangeArrayOutputWithContext(context.Background()) +} + +func (i RoutingProtocolChangeArray) ToRoutingProtocolChangeArrayOutputWithContext(ctx context.Context) RoutingProtocolChangeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolChangeArrayOutput) +} + +func (i RoutingProtocolChangeArray) ToOutput(ctx context.Context) pulumix.Output[[]RoutingProtocolChange] { + return pulumix.Output[[]RoutingProtocolChange]{ + OutputState: i.ToRoutingProtocolChangeArrayOutputWithContext(ctx).OutputState, + } +} + +type RoutingProtocolChangeOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolChangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolChange)(nil)).Elem() +} + +func (o RoutingProtocolChangeOutput) ToRoutingProtocolChangeOutput() RoutingProtocolChangeOutput { + return o +} + +func (o RoutingProtocolChangeOutput) ToRoutingProtocolChangeOutputWithContext(ctx context.Context) RoutingProtocolChangeOutput { + return o +} + +func (o RoutingProtocolChangeOutput) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolChange] { + return pulumix.Output[RoutingProtocolChange]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolChangeOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChange) *string { return v.Href }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolChangeOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChange) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolChangeOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChange) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolChangeArrayOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolChangeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingProtocolChange)(nil)).Elem() +} + +func (o RoutingProtocolChangeArrayOutput) ToRoutingProtocolChangeArrayOutput() RoutingProtocolChangeArrayOutput { + return o +} + +func (o RoutingProtocolChangeArrayOutput) ToRoutingProtocolChangeArrayOutputWithContext(ctx context.Context) RoutingProtocolChangeArrayOutput { + return o +} + +func (o RoutingProtocolChangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RoutingProtocolChange] { + return pulumix.Output[[]RoutingProtocolChange]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolChangeArrayOutput) Index(i pulumi.IntInput) RoutingProtocolChangeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingProtocolChange { + return vs[0].([]RoutingProtocolChange)[vs[1].(int)] + }).(RoutingProtocolChangeOutput) +} + +type RoutingProtocolChangeLog struct { + CreatedBy *string `pulumi:"createdBy"` + CreatedByEmail *string `pulumi:"createdByEmail"` + CreatedByFullName *string `pulumi:"createdByFullName"` + CreatedDateTime *string `pulumi:"createdDateTime"` + DeletedBy *string `pulumi:"deletedBy"` + DeletedByEmail *string `pulumi:"deletedByEmail"` + DeletedByFullName *string `pulumi:"deletedByFullName"` + DeletedDateTime *string `pulumi:"deletedDateTime"` + UpdatedBy *string `pulumi:"updatedBy"` + UpdatedByEmail *string `pulumi:"updatedByEmail"` + UpdatedByFullName *string `pulumi:"updatedByFullName"` + UpdatedDateTime *string `pulumi:"updatedDateTime"` +} + +// RoutingProtocolChangeLogInput is an input type that accepts RoutingProtocolChangeLogArgs and RoutingProtocolChangeLogOutput values. +// You can construct a concrete instance of `RoutingProtocolChangeLogInput` via: +// +// RoutingProtocolChangeLogArgs{...} +type RoutingProtocolChangeLogInput interface { + pulumi.Input + + ToRoutingProtocolChangeLogOutput() RoutingProtocolChangeLogOutput + ToRoutingProtocolChangeLogOutputWithContext(context.Context) RoutingProtocolChangeLogOutput +} + +type RoutingProtocolChangeLogArgs struct { + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + CreatedByEmail pulumi.StringPtrInput `pulumi:"createdByEmail"` + CreatedByFullName pulumi.StringPtrInput `pulumi:"createdByFullName"` + CreatedDateTime pulumi.StringPtrInput `pulumi:"createdDateTime"` + DeletedBy pulumi.StringPtrInput `pulumi:"deletedBy"` + DeletedByEmail pulumi.StringPtrInput `pulumi:"deletedByEmail"` + DeletedByFullName pulumi.StringPtrInput `pulumi:"deletedByFullName"` + DeletedDateTime pulumi.StringPtrInput `pulumi:"deletedDateTime"` + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` + UpdatedByEmail pulumi.StringPtrInput `pulumi:"updatedByEmail"` + UpdatedByFullName pulumi.StringPtrInput `pulumi:"updatedByFullName"` + UpdatedDateTime pulumi.StringPtrInput `pulumi:"updatedDateTime"` +} + +func (RoutingProtocolChangeLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolChangeLog)(nil)).Elem() +} + +func (i RoutingProtocolChangeLogArgs) ToRoutingProtocolChangeLogOutput() RoutingProtocolChangeLogOutput { + return i.ToRoutingProtocolChangeLogOutputWithContext(context.Background()) +} + +func (i RoutingProtocolChangeLogArgs) ToRoutingProtocolChangeLogOutputWithContext(ctx context.Context) RoutingProtocolChangeLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolChangeLogOutput) +} + +func (i RoutingProtocolChangeLogArgs) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolChangeLog] { + return pulumix.Output[RoutingProtocolChangeLog]{ + OutputState: i.ToRoutingProtocolChangeLogOutputWithContext(ctx).OutputState, + } +} + +// RoutingProtocolChangeLogArrayInput is an input type that accepts RoutingProtocolChangeLogArray and RoutingProtocolChangeLogArrayOutput values. +// You can construct a concrete instance of `RoutingProtocolChangeLogArrayInput` via: +// +// RoutingProtocolChangeLogArray{ RoutingProtocolChangeLogArgs{...} } +type RoutingProtocolChangeLogArrayInput interface { + pulumi.Input + + ToRoutingProtocolChangeLogArrayOutput() RoutingProtocolChangeLogArrayOutput + ToRoutingProtocolChangeLogArrayOutputWithContext(context.Context) RoutingProtocolChangeLogArrayOutput +} + +type RoutingProtocolChangeLogArray []RoutingProtocolChangeLogInput + +func (RoutingProtocolChangeLogArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingProtocolChangeLog)(nil)).Elem() +} + +func (i RoutingProtocolChangeLogArray) ToRoutingProtocolChangeLogArrayOutput() RoutingProtocolChangeLogArrayOutput { + return i.ToRoutingProtocolChangeLogArrayOutputWithContext(context.Background()) +} + +func (i RoutingProtocolChangeLogArray) ToRoutingProtocolChangeLogArrayOutputWithContext(ctx context.Context) RoutingProtocolChangeLogArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolChangeLogArrayOutput) +} + +func (i RoutingProtocolChangeLogArray) ToOutput(ctx context.Context) pulumix.Output[[]RoutingProtocolChangeLog] { + return pulumix.Output[[]RoutingProtocolChangeLog]{ + OutputState: i.ToRoutingProtocolChangeLogArrayOutputWithContext(ctx).OutputState, + } +} + +type RoutingProtocolChangeLogOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolChangeLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolChangeLog)(nil)).Elem() +} + +func (o RoutingProtocolChangeLogOutput) ToRoutingProtocolChangeLogOutput() RoutingProtocolChangeLogOutput { + return o +} + +func (o RoutingProtocolChangeLogOutput) ToRoutingProtocolChangeLogOutputWithContext(ctx context.Context) RoutingProtocolChangeLogOutput { + return o +} + +func (o RoutingProtocolChangeLogOutput) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolChangeLog] { + return pulumix.Output[RoutingProtocolChangeLog]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolChangeLogOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChangeLog) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolChangeLogOutput) CreatedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChangeLog) *string { return v.CreatedByEmail }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolChangeLogOutput) CreatedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChangeLog) *string { return v.CreatedByFullName }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolChangeLogOutput) CreatedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChangeLog) *string { return v.CreatedDateTime }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolChangeLogOutput) DeletedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChangeLog) *string { return v.DeletedBy }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolChangeLogOutput) DeletedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChangeLog) *string { return v.DeletedByEmail }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolChangeLogOutput) DeletedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChangeLog) *string { return v.DeletedByFullName }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolChangeLogOutput) DeletedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChangeLog) *string { return v.DeletedDateTime }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolChangeLogOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChangeLog) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolChangeLogOutput) UpdatedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChangeLog) *string { return v.UpdatedByEmail }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolChangeLogOutput) UpdatedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChangeLog) *string { return v.UpdatedByFullName }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolChangeLogOutput) UpdatedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolChangeLog) *string { return v.UpdatedDateTime }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolChangeLogArrayOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolChangeLogArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingProtocolChangeLog)(nil)).Elem() +} + +func (o RoutingProtocolChangeLogArrayOutput) ToRoutingProtocolChangeLogArrayOutput() RoutingProtocolChangeLogArrayOutput { + return o +} + +func (o RoutingProtocolChangeLogArrayOutput) ToRoutingProtocolChangeLogArrayOutputWithContext(ctx context.Context) RoutingProtocolChangeLogArrayOutput { + return o +} + +func (o RoutingProtocolChangeLogArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RoutingProtocolChangeLog] { + return pulumix.Output[[]RoutingProtocolChangeLog]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolChangeLogArrayOutput) Index(i pulumi.IntInput) RoutingProtocolChangeLogOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingProtocolChangeLog { + return vs[0].([]RoutingProtocolChangeLog)[vs[1].(int)] + }).(RoutingProtocolChangeLogOutput) +} + +type RoutingProtocolDirectIpv4 struct { + // Equinix side Interface IP address + EquinixIfaceIp string `pulumi:"equinixIfaceIp"` +} + +// RoutingProtocolDirectIpv4Input is an input type that accepts RoutingProtocolDirectIpv4Args and RoutingProtocolDirectIpv4Output values. +// You can construct a concrete instance of `RoutingProtocolDirectIpv4Input` via: +// +// RoutingProtocolDirectIpv4Args{...} +type RoutingProtocolDirectIpv4Input interface { + pulumi.Input + + ToRoutingProtocolDirectIpv4Output() RoutingProtocolDirectIpv4Output + ToRoutingProtocolDirectIpv4OutputWithContext(context.Context) RoutingProtocolDirectIpv4Output +} + +type RoutingProtocolDirectIpv4Args struct { + // Equinix side Interface IP address + EquinixIfaceIp pulumi.StringInput `pulumi:"equinixIfaceIp"` +} + +func (RoutingProtocolDirectIpv4Args) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolDirectIpv4)(nil)).Elem() +} + +func (i RoutingProtocolDirectIpv4Args) ToRoutingProtocolDirectIpv4Output() RoutingProtocolDirectIpv4Output { + return i.ToRoutingProtocolDirectIpv4OutputWithContext(context.Background()) +} + +func (i RoutingProtocolDirectIpv4Args) ToRoutingProtocolDirectIpv4OutputWithContext(ctx context.Context) RoutingProtocolDirectIpv4Output { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolDirectIpv4Output) +} + +func (i RoutingProtocolDirectIpv4Args) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolDirectIpv4] { + return pulumix.Output[RoutingProtocolDirectIpv4]{ + OutputState: i.ToRoutingProtocolDirectIpv4OutputWithContext(ctx).OutputState, + } +} + +func (i RoutingProtocolDirectIpv4Args) ToRoutingProtocolDirectIpv4PtrOutput() RoutingProtocolDirectIpv4PtrOutput { + return i.ToRoutingProtocolDirectIpv4PtrOutputWithContext(context.Background()) +} + +func (i RoutingProtocolDirectIpv4Args) ToRoutingProtocolDirectIpv4PtrOutputWithContext(ctx context.Context) RoutingProtocolDirectIpv4PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolDirectIpv4Output).ToRoutingProtocolDirectIpv4PtrOutputWithContext(ctx) +} + +// RoutingProtocolDirectIpv4PtrInput is an input type that accepts RoutingProtocolDirectIpv4Args, RoutingProtocolDirectIpv4Ptr and RoutingProtocolDirectIpv4PtrOutput values. +// You can construct a concrete instance of `RoutingProtocolDirectIpv4PtrInput` via: +// +// RoutingProtocolDirectIpv4Args{...} +// +// or: +// +// nil +type RoutingProtocolDirectIpv4PtrInput interface { + pulumi.Input + + ToRoutingProtocolDirectIpv4PtrOutput() RoutingProtocolDirectIpv4PtrOutput + ToRoutingProtocolDirectIpv4PtrOutputWithContext(context.Context) RoutingProtocolDirectIpv4PtrOutput +} + +type routingProtocolDirectIpv4PtrType RoutingProtocolDirectIpv4Args + +func RoutingProtocolDirectIpv4Ptr(v *RoutingProtocolDirectIpv4Args) RoutingProtocolDirectIpv4PtrInput { + return (*routingProtocolDirectIpv4PtrType)(v) +} + +func (*routingProtocolDirectIpv4PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProtocolDirectIpv4)(nil)).Elem() +} + +func (i *routingProtocolDirectIpv4PtrType) ToRoutingProtocolDirectIpv4PtrOutput() RoutingProtocolDirectIpv4PtrOutput { + return i.ToRoutingProtocolDirectIpv4PtrOutputWithContext(context.Background()) +} + +func (i *routingProtocolDirectIpv4PtrType) ToRoutingProtocolDirectIpv4PtrOutputWithContext(ctx context.Context) RoutingProtocolDirectIpv4PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolDirectIpv4PtrOutput) +} + +func (i *routingProtocolDirectIpv4PtrType) ToOutput(ctx context.Context) pulumix.Output[*RoutingProtocolDirectIpv4] { + return pulumix.Output[*RoutingProtocolDirectIpv4]{ + OutputState: i.ToRoutingProtocolDirectIpv4PtrOutputWithContext(ctx).OutputState, + } +} + +type RoutingProtocolDirectIpv4Output struct{ *pulumi.OutputState } + +func (RoutingProtocolDirectIpv4Output) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolDirectIpv4)(nil)).Elem() +} + +func (o RoutingProtocolDirectIpv4Output) ToRoutingProtocolDirectIpv4Output() RoutingProtocolDirectIpv4Output { + return o +} + +func (o RoutingProtocolDirectIpv4Output) ToRoutingProtocolDirectIpv4OutputWithContext(ctx context.Context) RoutingProtocolDirectIpv4Output { + return o +} + +func (o RoutingProtocolDirectIpv4Output) ToRoutingProtocolDirectIpv4PtrOutput() RoutingProtocolDirectIpv4PtrOutput { + return o.ToRoutingProtocolDirectIpv4PtrOutputWithContext(context.Background()) +} + +func (o RoutingProtocolDirectIpv4Output) ToRoutingProtocolDirectIpv4PtrOutputWithContext(ctx context.Context) RoutingProtocolDirectIpv4PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingProtocolDirectIpv4) *RoutingProtocolDirectIpv4 { + return &v + }).(RoutingProtocolDirectIpv4PtrOutput) +} + +func (o RoutingProtocolDirectIpv4Output) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolDirectIpv4] { + return pulumix.Output[RoutingProtocolDirectIpv4]{ + OutputState: o.OutputState, + } +} + +// Equinix side Interface IP address +func (o RoutingProtocolDirectIpv4Output) EquinixIfaceIp() pulumi.StringOutput { + return o.ApplyT(func(v RoutingProtocolDirectIpv4) string { return v.EquinixIfaceIp }).(pulumi.StringOutput) +} + +type RoutingProtocolDirectIpv4PtrOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolDirectIpv4PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProtocolDirectIpv4)(nil)).Elem() +} + +func (o RoutingProtocolDirectIpv4PtrOutput) ToRoutingProtocolDirectIpv4PtrOutput() RoutingProtocolDirectIpv4PtrOutput { + return o +} + +func (o RoutingProtocolDirectIpv4PtrOutput) ToRoutingProtocolDirectIpv4PtrOutputWithContext(ctx context.Context) RoutingProtocolDirectIpv4PtrOutput { + return o +} + +func (o RoutingProtocolDirectIpv4PtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RoutingProtocolDirectIpv4] { + return pulumix.Output[*RoutingProtocolDirectIpv4]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolDirectIpv4PtrOutput) Elem() RoutingProtocolDirectIpv4Output { + return o.ApplyT(func(v *RoutingProtocolDirectIpv4) RoutingProtocolDirectIpv4 { + if v != nil { + return *v + } + var ret RoutingProtocolDirectIpv4 + return ret + }).(RoutingProtocolDirectIpv4Output) +} + +// Equinix side Interface IP address +func (o RoutingProtocolDirectIpv4PtrOutput) EquinixIfaceIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingProtocolDirectIpv4) *string { + if v == nil { + return nil + } + return &v.EquinixIfaceIp + }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolDirectIpv6 struct { + // Equinix side Interface IP address + EquinixIfaceIp *string `pulumi:"equinixIfaceIp"` +} + +// RoutingProtocolDirectIpv6Input is an input type that accepts RoutingProtocolDirectIpv6Args and RoutingProtocolDirectIpv6Output values. +// You can construct a concrete instance of `RoutingProtocolDirectIpv6Input` via: +// +// RoutingProtocolDirectIpv6Args{...} +type RoutingProtocolDirectIpv6Input interface { + pulumi.Input + + ToRoutingProtocolDirectIpv6Output() RoutingProtocolDirectIpv6Output + ToRoutingProtocolDirectIpv6OutputWithContext(context.Context) RoutingProtocolDirectIpv6Output +} + +type RoutingProtocolDirectIpv6Args struct { + // Equinix side Interface IP address + EquinixIfaceIp pulumi.StringPtrInput `pulumi:"equinixIfaceIp"` +} + +func (RoutingProtocolDirectIpv6Args) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolDirectIpv6)(nil)).Elem() +} + +func (i RoutingProtocolDirectIpv6Args) ToRoutingProtocolDirectIpv6Output() RoutingProtocolDirectIpv6Output { + return i.ToRoutingProtocolDirectIpv6OutputWithContext(context.Background()) +} + +func (i RoutingProtocolDirectIpv6Args) ToRoutingProtocolDirectIpv6OutputWithContext(ctx context.Context) RoutingProtocolDirectIpv6Output { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolDirectIpv6Output) +} + +func (i RoutingProtocolDirectIpv6Args) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolDirectIpv6] { + return pulumix.Output[RoutingProtocolDirectIpv6]{ + OutputState: i.ToRoutingProtocolDirectIpv6OutputWithContext(ctx).OutputState, + } +} + +func (i RoutingProtocolDirectIpv6Args) ToRoutingProtocolDirectIpv6PtrOutput() RoutingProtocolDirectIpv6PtrOutput { + return i.ToRoutingProtocolDirectIpv6PtrOutputWithContext(context.Background()) +} + +func (i RoutingProtocolDirectIpv6Args) ToRoutingProtocolDirectIpv6PtrOutputWithContext(ctx context.Context) RoutingProtocolDirectIpv6PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolDirectIpv6Output).ToRoutingProtocolDirectIpv6PtrOutputWithContext(ctx) +} + +// RoutingProtocolDirectIpv6PtrInput is an input type that accepts RoutingProtocolDirectIpv6Args, RoutingProtocolDirectIpv6Ptr and RoutingProtocolDirectIpv6PtrOutput values. +// You can construct a concrete instance of `RoutingProtocolDirectIpv6PtrInput` via: +// +// RoutingProtocolDirectIpv6Args{...} +// +// or: +// +// nil +type RoutingProtocolDirectIpv6PtrInput interface { + pulumi.Input + + ToRoutingProtocolDirectIpv6PtrOutput() RoutingProtocolDirectIpv6PtrOutput + ToRoutingProtocolDirectIpv6PtrOutputWithContext(context.Context) RoutingProtocolDirectIpv6PtrOutput +} + +type routingProtocolDirectIpv6PtrType RoutingProtocolDirectIpv6Args + +func RoutingProtocolDirectIpv6Ptr(v *RoutingProtocolDirectIpv6Args) RoutingProtocolDirectIpv6PtrInput { + return (*routingProtocolDirectIpv6PtrType)(v) +} + +func (*routingProtocolDirectIpv6PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProtocolDirectIpv6)(nil)).Elem() +} + +func (i *routingProtocolDirectIpv6PtrType) ToRoutingProtocolDirectIpv6PtrOutput() RoutingProtocolDirectIpv6PtrOutput { + return i.ToRoutingProtocolDirectIpv6PtrOutputWithContext(context.Background()) +} + +func (i *routingProtocolDirectIpv6PtrType) ToRoutingProtocolDirectIpv6PtrOutputWithContext(ctx context.Context) RoutingProtocolDirectIpv6PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolDirectIpv6PtrOutput) +} + +func (i *routingProtocolDirectIpv6PtrType) ToOutput(ctx context.Context) pulumix.Output[*RoutingProtocolDirectIpv6] { + return pulumix.Output[*RoutingProtocolDirectIpv6]{ + OutputState: i.ToRoutingProtocolDirectIpv6PtrOutputWithContext(ctx).OutputState, + } +} + +type RoutingProtocolDirectIpv6Output struct{ *pulumi.OutputState } + +func (RoutingProtocolDirectIpv6Output) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolDirectIpv6)(nil)).Elem() +} + +func (o RoutingProtocolDirectIpv6Output) ToRoutingProtocolDirectIpv6Output() RoutingProtocolDirectIpv6Output { + return o +} + +func (o RoutingProtocolDirectIpv6Output) ToRoutingProtocolDirectIpv6OutputWithContext(ctx context.Context) RoutingProtocolDirectIpv6Output { + return o +} + +func (o RoutingProtocolDirectIpv6Output) ToRoutingProtocolDirectIpv6PtrOutput() RoutingProtocolDirectIpv6PtrOutput { + return o.ToRoutingProtocolDirectIpv6PtrOutputWithContext(context.Background()) +} + +func (o RoutingProtocolDirectIpv6Output) ToRoutingProtocolDirectIpv6PtrOutputWithContext(ctx context.Context) RoutingProtocolDirectIpv6PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RoutingProtocolDirectIpv6) *RoutingProtocolDirectIpv6 { + return &v + }).(RoutingProtocolDirectIpv6PtrOutput) +} + +func (o RoutingProtocolDirectIpv6Output) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolDirectIpv6] { + return pulumix.Output[RoutingProtocolDirectIpv6]{ + OutputState: o.OutputState, + } +} + +// Equinix side Interface IP address +func (o RoutingProtocolDirectIpv6Output) EquinixIfaceIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolDirectIpv6) *string { return v.EquinixIfaceIp }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolDirectIpv6PtrOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolDirectIpv6PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProtocolDirectIpv6)(nil)).Elem() +} + +func (o RoutingProtocolDirectIpv6PtrOutput) ToRoutingProtocolDirectIpv6PtrOutput() RoutingProtocolDirectIpv6PtrOutput { + return o +} + +func (o RoutingProtocolDirectIpv6PtrOutput) ToRoutingProtocolDirectIpv6PtrOutputWithContext(ctx context.Context) RoutingProtocolDirectIpv6PtrOutput { + return o +} + +func (o RoutingProtocolDirectIpv6PtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RoutingProtocolDirectIpv6] { + return pulumix.Output[*RoutingProtocolDirectIpv6]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolDirectIpv6PtrOutput) Elem() RoutingProtocolDirectIpv6Output { + return o.ApplyT(func(v *RoutingProtocolDirectIpv6) RoutingProtocolDirectIpv6 { + if v != nil { + return *v + } + var ret RoutingProtocolDirectIpv6 + return ret + }).(RoutingProtocolDirectIpv6Output) +} + +// Equinix side Interface IP address +func (o RoutingProtocolDirectIpv6PtrOutput) EquinixIfaceIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingProtocolDirectIpv6) *string { + if v == nil { + return nil + } + return v.EquinixIfaceIp + }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolOperation struct { + Errors []RoutingProtocolOperationError `pulumi:"errors"` +} + +// RoutingProtocolOperationInput is an input type that accepts RoutingProtocolOperationArgs and RoutingProtocolOperationOutput values. +// You can construct a concrete instance of `RoutingProtocolOperationInput` via: +// +// RoutingProtocolOperationArgs{...} +type RoutingProtocolOperationInput interface { + pulumi.Input + + ToRoutingProtocolOperationOutput() RoutingProtocolOperationOutput + ToRoutingProtocolOperationOutputWithContext(context.Context) RoutingProtocolOperationOutput +} + +type RoutingProtocolOperationArgs struct { + Errors RoutingProtocolOperationErrorArrayInput `pulumi:"errors"` +} + +func (RoutingProtocolOperationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolOperation)(nil)).Elem() +} + +func (i RoutingProtocolOperationArgs) ToRoutingProtocolOperationOutput() RoutingProtocolOperationOutput { + return i.ToRoutingProtocolOperationOutputWithContext(context.Background()) +} + +func (i RoutingProtocolOperationArgs) ToRoutingProtocolOperationOutputWithContext(ctx context.Context) RoutingProtocolOperationOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolOperationOutput) +} + +func (i RoutingProtocolOperationArgs) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolOperation] { + return pulumix.Output[RoutingProtocolOperation]{ + OutputState: i.ToRoutingProtocolOperationOutputWithContext(ctx).OutputState, + } +} + +// RoutingProtocolOperationArrayInput is an input type that accepts RoutingProtocolOperationArray and RoutingProtocolOperationArrayOutput values. +// You can construct a concrete instance of `RoutingProtocolOperationArrayInput` via: +// +// RoutingProtocolOperationArray{ RoutingProtocolOperationArgs{...} } +type RoutingProtocolOperationArrayInput interface { + pulumi.Input + + ToRoutingProtocolOperationArrayOutput() RoutingProtocolOperationArrayOutput + ToRoutingProtocolOperationArrayOutputWithContext(context.Context) RoutingProtocolOperationArrayOutput +} + +type RoutingProtocolOperationArray []RoutingProtocolOperationInput + +func (RoutingProtocolOperationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingProtocolOperation)(nil)).Elem() +} + +func (i RoutingProtocolOperationArray) ToRoutingProtocolOperationArrayOutput() RoutingProtocolOperationArrayOutput { + return i.ToRoutingProtocolOperationArrayOutputWithContext(context.Background()) +} + +func (i RoutingProtocolOperationArray) ToRoutingProtocolOperationArrayOutputWithContext(ctx context.Context) RoutingProtocolOperationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolOperationArrayOutput) +} + +func (i RoutingProtocolOperationArray) ToOutput(ctx context.Context) pulumix.Output[[]RoutingProtocolOperation] { + return pulumix.Output[[]RoutingProtocolOperation]{ + OutputState: i.ToRoutingProtocolOperationArrayOutputWithContext(ctx).OutputState, + } +} + +type RoutingProtocolOperationOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolOperationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolOperation)(nil)).Elem() +} + +func (o RoutingProtocolOperationOutput) ToRoutingProtocolOperationOutput() RoutingProtocolOperationOutput { + return o +} + +func (o RoutingProtocolOperationOutput) ToRoutingProtocolOperationOutputWithContext(ctx context.Context) RoutingProtocolOperationOutput { + return o +} + +func (o RoutingProtocolOperationOutput) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolOperation] { + return pulumix.Output[RoutingProtocolOperation]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolOperationOutput) Errors() RoutingProtocolOperationErrorArrayOutput { + return o.ApplyT(func(v RoutingProtocolOperation) []RoutingProtocolOperationError { return v.Errors }).(RoutingProtocolOperationErrorArrayOutput) +} + +type RoutingProtocolOperationArrayOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolOperationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingProtocolOperation)(nil)).Elem() +} + +func (o RoutingProtocolOperationArrayOutput) ToRoutingProtocolOperationArrayOutput() RoutingProtocolOperationArrayOutput { + return o +} + +func (o RoutingProtocolOperationArrayOutput) ToRoutingProtocolOperationArrayOutputWithContext(ctx context.Context) RoutingProtocolOperationArrayOutput { + return o +} + +func (o RoutingProtocolOperationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RoutingProtocolOperation] { + return pulumix.Output[[]RoutingProtocolOperation]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolOperationArrayOutput) Index(i pulumi.IntInput) RoutingProtocolOperationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingProtocolOperation { + return vs[0].([]RoutingProtocolOperation)[vs[1].(int)] + }).(RoutingProtocolOperationOutput) +} + +type RoutingProtocolOperationError struct { + AdditionalInfos []RoutingProtocolOperationErrorAdditionalInfo `pulumi:"additionalInfos"` + CorrelationId *string `pulumi:"correlationId"` + Details *string `pulumi:"details"` + ErrorCode *string `pulumi:"errorCode"` + ErrorMessage *string `pulumi:"errorMessage"` + Help *string `pulumi:"help"` +} + +// RoutingProtocolOperationErrorInput is an input type that accepts RoutingProtocolOperationErrorArgs and RoutingProtocolOperationErrorOutput values. +// You can construct a concrete instance of `RoutingProtocolOperationErrorInput` via: +// +// RoutingProtocolOperationErrorArgs{...} +type RoutingProtocolOperationErrorInput interface { + pulumi.Input + + ToRoutingProtocolOperationErrorOutput() RoutingProtocolOperationErrorOutput + ToRoutingProtocolOperationErrorOutputWithContext(context.Context) RoutingProtocolOperationErrorOutput +} + +type RoutingProtocolOperationErrorArgs struct { + AdditionalInfos RoutingProtocolOperationErrorAdditionalInfoArrayInput `pulumi:"additionalInfos"` + CorrelationId pulumi.StringPtrInput `pulumi:"correlationId"` + Details pulumi.StringPtrInput `pulumi:"details"` + ErrorCode pulumi.StringPtrInput `pulumi:"errorCode"` + ErrorMessage pulumi.StringPtrInput `pulumi:"errorMessage"` + Help pulumi.StringPtrInput `pulumi:"help"` +} + +func (RoutingProtocolOperationErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolOperationError)(nil)).Elem() +} + +func (i RoutingProtocolOperationErrorArgs) ToRoutingProtocolOperationErrorOutput() RoutingProtocolOperationErrorOutput { + return i.ToRoutingProtocolOperationErrorOutputWithContext(context.Background()) +} + +func (i RoutingProtocolOperationErrorArgs) ToRoutingProtocolOperationErrorOutputWithContext(ctx context.Context) RoutingProtocolOperationErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolOperationErrorOutput) +} + +func (i RoutingProtocolOperationErrorArgs) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolOperationError] { + return pulumix.Output[RoutingProtocolOperationError]{ + OutputState: i.ToRoutingProtocolOperationErrorOutputWithContext(ctx).OutputState, + } +} + +// RoutingProtocolOperationErrorArrayInput is an input type that accepts RoutingProtocolOperationErrorArray and RoutingProtocolOperationErrorArrayOutput values. +// You can construct a concrete instance of `RoutingProtocolOperationErrorArrayInput` via: +// +// RoutingProtocolOperationErrorArray{ RoutingProtocolOperationErrorArgs{...} } +type RoutingProtocolOperationErrorArrayInput interface { + pulumi.Input + + ToRoutingProtocolOperationErrorArrayOutput() RoutingProtocolOperationErrorArrayOutput + ToRoutingProtocolOperationErrorArrayOutputWithContext(context.Context) RoutingProtocolOperationErrorArrayOutput +} + +type RoutingProtocolOperationErrorArray []RoutingProtocolOperationErrorInput + +func (RoutingProtocolOperationErrorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingProtocolOperationError)(nil)).Elem() +} + +func (i RoutingProtocolOperationErrorArray) ToRoutingProtocolOperationErrorArrayOutput() RoutingProtocolOperationErrorArrayOutput { + return i.ToRoutingProtocolOperationErrorArrayOutputWithContext(context.Background()) +} + +func (i RoutingProtocolOperationErrorArray) ToRoutingProtocolOperationErrorArrayOutputWithContext(ctx context.Context) RoutingProtocolOperationErrorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolOperationErrorArrayOutput) +} + +func (i RoutingProtocolOperationErrorArray) ToOutput(ctx context.Context) pulumix.Output[[]RoutingProtocolOperationError] { + return pulumix.Output[[]RoutingProtocolOperationError]{ + OutputState: i.ToRoutingProtocolOperationErrorArrayOutputWithContext(ctx).OutputState, + } +} + +type RoutingProtocolOperationErrorOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolOperationErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolOperationError)(nil)).Elem() +} + +func (o RoutingProtocolOperationErrorOutput) ToRoutingProtocolOperationErrorOutput() RoutingProtocolOperationErrorOutput { + return o +} + +func (o RoutingProtocolOperationErrorOutput) ToRoutingProtocolOperationErrorOutputWithContext(ctx context.Context) RoutingProtocolOperationErrorOutput { + return o +} + +func (o RoutingProtocolOperationErrorOutput) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolOperationError] { + return pulumix.Output[RoutingProtocolOperationError]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolOperationErrorOutput) AdditionalInfos() RoutingProtocolOperationErrorAdditionalInfoArrayOutput { + return o.ApplyT(func(v RoutingProtocolOperationError) []RoutingProtocolOperationErrorAdditionalInfo { + return v.AdditionalInfos + }).(RoutingProtocolOperationErrorAdditionalInfoArrayOutput) +} + +func (o RoutingProtocolOperationErrorOutput) CorrelationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolOperationError) *string { return v.CorrelationId }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolOperationErrorOutput) Details() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolOperationError) *string { return v.Details }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolOperationErrorOutput) ErrorCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolOperationError) *string { return v.ErrorCode }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolOperationErrorOutput) ErrorMessage() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolOperationError) *string { return v.ErrorMessage }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolOperationErrorOutput) Help() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolOperationError) *string { return v.Help }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolOperationErrorArrayOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolOperationErrorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingProtocolOperationError)(nil)).Elem() +} + +func (o RoutingProtocolOperationErrorArrayOutput) ToRoutingProtocolOperationErrorArrayOutput() RoutingProtocolOperationErrorArrayOutput { + return o +} + +func (o RoutingProtocolOperationErrorArrayOutput) ToRoutingProtocolOperationErrorArrayOutputWithContext(ctx context.Context) RoutingProtocolOperationErrorArrayOutput { + return o +} + +func (o RoutingProtocolOperationErrorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RoutingProtocolOperationError] { + return pulumix.Output[[]RoutingProtocolOperationError]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolOperationErrorArrayOutput) Index(i pulumi.IntInput) RoutingProtocolOperationErrorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingProtocolOperationError { + return vs[0].([]RoutingProtocolOperationError)[vs[1].(int)] + }).(RoutingProtocolOperationErrorOutput) +} + +type RoutingProtocolOperationErrorAdditionalInfo struct { + Property *string `pulumi:"property"` + Reason *string `pulumi:"reason"` +} + +// RoutingProtocolOperationErrorAdditionalInfoInput is an input type that accepts RoutingProtocolOperationErrorAdditionalInfoArgs and RoutingProtocolOperationErrorAdditionalInfoOutput values. +// You can construct a concrete instance of `RoutingProtocolOperationErrorAdditionalInfoInput` via: +// +// RoutingProtocolOperationErrorAdditionalInfoArgs{...} +type RoutingProtocolOperationErrorAdditionalInfoInput interface { + pulumi.Input + + ToRoutingProtocolOperationErrorAdditionalInfoOutput() RoutingProtocolOperationErrorAdditionalInfoOutput + ToRoutingProtocolOperationErrorAdditionalInfoOutputWithContext(context.Context) RoutingProtocolOperationErrorAdditionalInfoOutput +} + +type RoutingProtocolOperationErrorAdditionalInfoArgs struct { + Property pulumi.StringPtrInput `pulumi:"property"` + Reason pulumi.StringPtrInput `pulumi:"reason"` +} + +func (RoutingProtocolOperationErrorAdditionalInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolOperationErrorAdditionalInfo)(nil)).Elem() +} + +func (i RoutingProtocolOperationErrorAdditionalInfoArgs) ToRoutingProtocolOperationErrorAdditionalInfoOutput() RoutingProtocolOperationErrorAdditionalInfoOutput { + return i.ToRoutingProtocolOperationErrorAdditionalInfoOutputWithContext(context.Background()) +} + +func (i RoutingProtocolOperationErrorAdditionalInfoArgs) ToRoutingProtocolOperationErrorAdditionalInfoOutputWithContext(ctx context.Context) RoutingProtocolOperationErrorAdditionalInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolOperationErrorAdditionalInfoOutput) +} + +func (i RoutingProtocolOperationErrorAdditionalInfoArgs) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolOperationErrorAdditionalInfo] { + return pulumix.Output[RoutingProtocolOperationErrorAdditionalInfo]{ + OutputState: i.ToRoutingProtocolOperationErrorAdditionalInfoOutputWithContext(ctx).OutputState, + } +} + +// RoutingProtocolOperationErrorAdditionalInfoArrayInput is an input type that accepts RoutingProtocolOperationErrorAdditionalInfoArray and RoutingProtocolOperationErrorAdditionalInfoArrayOutput values. +// You can construct a concrete instance of `RoutingProtocolOperationErrorAdditionalInfoArrayInput` via: +// +// RoutingProtocolOperationErrorAdditionalInfoArray{ RoutingProtocolOperationErrorAdditionalInfoArgs{...} } +type RoutingProtocolOperationErrorAdditionalInfoArrayInput interface { + pulumi.Input + + ToRoutingProtocolOperationErrorAdditionalInfoArrayOutput() RoutingProtocolOperationErrorAdditionalInfoArrayOutput + ToRoutingProtocolOperationErrorAdditionalInfoArrayOutputWithContext(context.Context) RoutingProtocolOperationErrorAdditionalInfoArrayOutput +} + +type RoutingProtocolOperationErrorAdditionalInfoArray []RoutingProtocolOperationErrorAdditionalInfoInput + +func (RoutingProtocolOperationErrorAdditionalInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingProtocolOperationErrorAdditionalInfo)(nil)).Elem() +} + +func (i RoutingProtocolOperationErrorAdditionalInfoArray) ToRoutingProtocolOperationErrorAdditionalInfoArrayOutput() RoutingProtocolOperationErrorAdditionalInfoArrayOutput { + return i.ToRoutingProtocolOperationErrorAdditionalInfoArrayOutputWithContext(context.Background()) +} + +func (i RoutingProtocolOperationErrorAdditionalInfoArray) ToRoutingProtocolOperationErrorAdditionalInfoArrayOutputWithContext(ctx context.Context) RoutingProtocolOperationErrorAdditionalInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolOperationErrorAdditionalInfoArrayOutput) +} + +func (i RoutingProtocolOperationErrorAdditionalInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]RoutingProtocolOperationErrorAdditionalInfo] { + return pulumix.Output[[]RoutingProtocolOperationErrorAdditionalInfo]{ + OutputState: i.ToRoutingProtocolOperationErrorAdditionalInfoArrayOutputWithContext(ctx).OutputState, + } +} + +type RoutingProtocolOperationErrorAdditionalInfoOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolOperationErrorAdditionalInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoutingProtocolOperationErrorAdditionalInfo)(nil)).Elem() +} + +func (o RoutingProtocolOperationErrorAdditionalInfoOutput) ToRoutingProtocolOperationErrorAdditionalInfoOutput() RoutingProtocolOperationErrorAdditionalInfoOutput { + return o +} + +func (o RoutingProtocolOperationErrorAdditionalInfoOutput) ToRoutingProtocolOperationErrorAdditionalInfoOutputWithContext(ctx context.Context) RoutingProtocolOperationErrorAdditionalInfoOutput { + return o +} + +func (o RoutingProtocolOperationErrorAdditionalInfoOutput) ToOutput(ctx context.Context) pulumix.Output[RoutingProtocolOperationErrorAdditionalInfo] { + return pulumix.Output[RoutingProtocolOperationErrorAdditionalInfo]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolOperationErrorAdditionalInfoOutput) Property() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolOperationErrorAdditionalInfo) *string { return v.Property }).(pulumi.StringPtrOutput) +} + +func (o RoutingProtocolOperationErrorAdditionalInfoOutput) Reason() pulumi.StringPtrOutput { + return o.ApplyT(func(v RoutingProtocolOperationErrorAdditionalInfo) *string { return v.Reason }).(pulumi.StringPtrOutput) +} + +type RoutingProtocolOperationErrorAdditionalInfoArrayOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolOperationErrorAdditionalInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoutingProtocolOperationErrorAdditionalInfo)(nil)).Elem() +} + +func (o RoutingProtocolOperationErrorAdditionalInfoArrayOutput) ToRoutingProtocolOperationErrorAdditionalInfoArrayOutput() RoutingProtocolOperationErrorAdditionalInfoArrayOutput { + return o +} + +func (o RoutingProtocolOperationErrorAdditionalInfoArrayOutput) ToRoutingProtocolOperationErrorAdditionalInfoArrayOutputWithContext(ctx context.Context) RoutingProtocolOperationErrorAdditionalInfoArrayOutput { + return o +} + +func (o RoutingProtocolOperationErrorAdditionalInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RoutingProtocolOperationErrorAdditionalInfo] { + return pulumix.Output[[]RoutingProtocolOperationErrorAdditionalInfo]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolOperationErrorAdditionalInfoArrayOutput) Index(i pulumi.IntInput) RoutingProtocolOperationErrorAdditionalInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingProtocolOperationErrorAdditionalInfo { + return vs[0].([]RoutingProtocolOperationErrorAdditionalInfo)[vs[1].(int)] + }).(RoutingProtocolOperationErrorAdditionalInfoOutput) +} + +type ServiceProfileAccessPointTypeConfig struct { + // Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller + AllowBandwidthAutoApproval *bool `pulumi:"allowBandwidthAutoApproval"` + // Availability of a bandwidth upgrade. The default is false + AllowBandwidthUpgrade *bool `pulumi:"allowBandwidthUpgrade"` + // Setting to enable or disable the ability of the buyer to customize the bandwidth + AllowCustomBandwidth *bool `pulumi:"allowCustomBandwidth"` + // Setting to allow or prohibit remote connections to the service profile + AllowRemoteConnections *bool `pulumi:"allowRemoteConnections"` + // Api configuration details + ApiConfig *ServiceProfileAccessPointTypeConfigApiConfig `pulumi:"apiConfig"` + // Authentication key details + AuthenticationKey *ServiceProfileAccessPointTypeConfigAuthenticationKey `pulumi:"authenticationKey"` + // Percentage of port bandwidth at which an allocation alert is generated + BandwidthAlertThreshold *float64 `pulumi:"bandwidthAlertThreshold"` + // Custom name for Connection + ConnectionLabel *string `pulumi:"connectionLabel"` + // Mandate redundant connections + ConnectionRedundancyRequired *bool `pulumi:"connectionRedundancyRequired"` + // Enable auto generate service key + EnableAutoGenerateServiceKey *bool `pulumi:"enableAutoGenerateServiceKey"` + // Link protocol configuration details + LinkProtocolConfig *ServiceProfileAccessPointTypeConfigLinkProtocolConfig `pulumi:"linkProtocolConfig"` + // Supported bandwidths + SupportedBandwidths []int `pulumi:"supportedBandwidths"` + // Type of access point type config - VD, COLO + Type string `pulumi:"type"` + // Colo/Port Uuid + Uuid *string `pulumi:"uuid"` +} + +// ServiceProfileAccessPointTypeConfigInput is an input type that accepts ServiceProfileAccessPointTypeConfigArgs and ServiceProfileAccessPointTypeConfigOutput values. +// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigInput` via: +// +// ServiceProfileAccessPointTypeConfigArgs{...} +type ServiceProfileAccessPointTypeConfigInput interface { + pulumi.Input + + ToServiceProfileAccessPointTypeConfigOutput() ServiceProfileAccessPointTypeConfigOutput + ToServiceProfileAccessPointTypeConfigOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigOutput +} + +type ServiceProfileAccessPointTypeConfigArgs struct { + // Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller + AllowBandwidthAutoApproval pulumi.BoolPtrInput `pulumi:"allowBandwidthAutoApproval"` + // Availability of a bandwidth upgrade. The default is false + AllowBandwidthUpgrade pulumi.BoolPtrInput `pulumi:"allowBandwidthUpgrade"` + // Setting to enable or disable the ability of the buyer to customize the bandwidth + AllowCustomBandwidth pulumi.BoolPtrInput `pulumi:"allowCustomBandwidth"` + // Setting to allow or prohibit remote connections to the service profile + AllowRemoteConnections pulumi.BoolPtrInput `pulumi:"allowRemoteConnections"` + // Api configuration details + ApiConfig ServiceProfileAccessPointTypeConfigApiConfigPtrInput `pulumi:"apiConfig"` + // Authentication key details + AuthenticationKey ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrInput `pulumi:"authenticationKey"` + // Percentage of port bandwidth at which an allocation alert is generated + BandwidthAlertThreshold pulumi.Float64PtrInput `pulumi:"bandwidthAlertThreshold"` + // Custom name for Connection + ConnectionLabel pulumi.StringPtrInput `pulumi:"connectionLabel"` + // Mandate redundant connections + ConnectionRedundancyRequired pulumi.BoolPtrInput `pulumi:"connectionRedundancyRequired"` + // Enable auto generate service key + EnableAutoGenerateServiceKey pulumi.BoolPtrInput `pulumi:"enableAutoGenerateServiceKey"` + // Link protocol configuration details + LinkProtocolConfig ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrInput `pulumi:"linkProtocolConfig"` + // Supported bandwidths + SupportedBandwidths pulumi.IntArrayInput `pulumi:"supportedBandwidths"` + // Type of access point type config - VD, COLO + Type pulumi.StringInput `pulumi:"type"` + // Colo/Port Uuid + Uuid pulumi.StringPtrInput `pulumi:"uuid"` +} + +func (ServiceProfileAccessPointTypeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileAccessPointTypeConfig)(nil)).Elem() } -func (i ConnectionNotificationArgs) ToConnectionNotificationOutput() ConnectionNotificationOutput { - return i.ToConnectionNotificationOutputWithContext(context.Background()) +func (i ServiceProfileAccessPointTypeConfigArgs) ToServiceProfileAccessPointTypeConfigOutput() ServiceProfileAccessPointTypeConfigOutput { + return i.ToServiceProfileAccessPointTypeConfigOutputWithContext(context.Background()) } -func (i ConnectionNotificationArgs) ToConnectionNotificationOutputWithContext(ctx context.Context) ConnectionNotificationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionNotificationOutput) +func (i ServiceProfileAccessPointTypeConfigArgs) ToServiceProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigOutput) } -// ConnectionNotificationArrayInput is an input type that accepts ConnectionNotificationArray and ConnectionNotificationArrayOutput values. -// You can construct a concrete instance of `ConnectionNotificationArrayInput` via: +func (i ServiceProfileAccessPointTypeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileAccessPointTypeConfig] { + return pulumix.Output[ServiceProfileAccessPointTypeConfig]{ + OutputState: i.ToServiceProfileAccessPointTypeConfigOutputWithContext(ctx).OutputState, + } +} + +// ServiceProfileAccessPointTypeConfigArrayInput is an input type that accepts ServiceProfileAccessPointTypeConfigArray and ServiceProfileAccessPointTypeConfigArrayOutput values. +// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigArrayInput` via: // -// ConnectionNotificationArray{ ConnectionNotificationArgs{...} } -type ConnectionNotificationArrayInput interface { +// ServiceProfileAccessPointTypeConfigArray{ ServiceProfileAccessPointTypeConfigArgs{...} } +type ServiceProfileAccessPointTypeConfigArrayInput interface { pulumi.Input - ToConnectionNotificationArrayOutput() ConnectionNotificationArrayOutput - ToConnectionNotificationArrayOutputWithContext(context.Context) ConnectionNotificationArrayOutput + ToServiceProfileAccessPointTypeConfigArrayOutput() ServiceProfileAccessPointTypeConfigArrayOutput + ToServiceProfileAccessPointTypeConfigArrayOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigArrayOutput } -type ConnectionNotificationArray []ConnectionNotificationInput +type ServiceProfileAccessPointTypeConfigArray []ServiceProfileAccessPointTypeConfigInput -func (ConnectionNotificationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionNotification)(nil)).Elem() +func (ServiceProfileAccessPointTypeConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfileAccessPointTypeConfig)(nil)).Elem() } -func (i ConnectionNotificationArray) ToConnectionNotificationArrayOutput() ConnectionNotificationArrayOutput { - return i.ToConnectionNotificationArrayOutputWithContext(context.Background()) +func (i ServiceProfileAccessPointTypeConfigArray) ToServiceProfileAccessPointTypeConfigArrayOutput() ServiceProfileAccessPointTypeConfigArrayOutput { + return i.ToServiceProfileAccessPointTypeConfigArrayOutputWithContext(context.Background()) } -func (i ConnectionNotificationArray) ToConnectionNotificationArrayOutputWithContext(ctx context.Context) ConnectionNotificationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionNotificationArrayOutput) +func (i ServiceProfileAccessPointTypeConfigArray) ToServiceProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigArrayOutput) } -type ConnectionNotificationOutput struct{ *pulumi.OutputState } +func (i ServiceProfileAccessPointTypeConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfileAccessPointTypeConfig] { + return pulumix.Output[[]ServiceProfileAccessPointTypeConfig]{ + OutputState: i.ToServiceProfileAccessPointTypeConfigArrayOutputWithContext(ctx).OutputState, + } +} -func (ConnectionNotificationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionNotification)(nil)).Elem() +type ServiceProfileAccessPointTypeConfigOutput struct{ *pulumi.OutputState } + +func (ServiceProfileAccessPointTypeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileAccessPointTypeConfig)(nil)).Elem() } -func (o ConnectionNotificationOutput) ToConnectionNotificationOutput() ConnectionNotificationOutput { +func (o ServiceProfileAccessPointTypeConfigOutput) ToServiceProfileAccessPointTypeConfigOutput() ServiceProfileAccessPointTypeConfigOutput { return o } -func (o ConnectionNotificationOutput) ToConnectionNotificationOutputWithContext(ctx context.Context) ConnectionNotificationOutput { +func (o ServiceProfileAccessPointTypeConfigOutput) ToServiceProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigOutput { return o } -// Array of contact emails -func (o ConnectionNotificationOutput) Emails() pulumi.StringArrayOutput { - return o.ApplyT(func(v ConnectionNotification) []string { return v.Emails }).(pulumi.StringArrayOutput) +func (o ServiceProfileAccessPointTypeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileAccessPointTypeConfig] { + return pulumix.Output[ServiceProfileAccessPointTypeConfig]{ + OutputState: o.OutputState, + } } -// Send interval -func (o ConnectionNotificationOutput) SendInterval() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionNotification) *string { return v.SendInterval }).(pulumi.StringPtrOutput) +// Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller +func (o ServiceProfileAccessPointTypeConfigOutput) AllowBandwidthAutoApproval() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *bool { return v.AllowBandwidthAutoApproval }).(pulumi.BoolPtrOutput) } -// Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS -func (o ConnectionNotificationOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v ConnectionNotification) string { return v.Type }).(pulumi.StringOutput) +// Availability of a bandwidth upgrade. The default is false +func (o ServiceProfileAccessPointTypeConfigOutput) AllowBandwidthUpgrade() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *bool { return v.AllowBandwidthUpgrade }).(pulumi.BoolPtrOutput) } -type ConnectionNotificationArrayOutput struct{ *pulumi.OutputState } +// Setting to enable or disable the ability of the buyer to customize the bandwidth +func (o ServiceProfileAccessPointTypeConfigOutput) AllowCustomBandwidth() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *bool { return v.AllowCustomBandwidth }).(pulumi.BoolPtrOutput) +} -func (ConnectionNotificationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionNotification)(nil)).Elem() +// Setting to allow or prohibit remote connections to the service profile +func (o ServiceProfileAccessPointTypeConfigOutput) AllowRemoteConnections() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *bool { return v.AllowRemoteConnections }).(pulumi.BoolPtrOutput) +} + +// Api configuration details +func (o ServiceProfileAccessPointTypeConfigOutput) ApiConfig() ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *ServiceProfileAccessPointTypeConfigApiConfig { + return v.ApiConfig + }).(ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) +} + +// Authentication key details +func (o ServiceProfileAccessPointTypeConfigOutput) AuthenticationKey() ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *ServiceProfileAccessPointTypeConfigAuthenticationKey { + return v.AuthenticationKey + }).(ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) +} + +// Percentage of port bandwidth at which an allocation alert is generated +func (o ServiceProfileAccessPointTypeConfigOutput) BandwidthAlertThreshold() pulumi.Float64PtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *float64 { return v.BandwidthAlertThreshold }).(pulumi.Float64PtrOutput) +} + +// Custom name for Connection +func (o ServiceProfileAccessPointTypeConfigOutput) ConnectionLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *string { return v.ConnectionLabel }).(pulumi.StringPtrOutput) +} + +// Mandate redundant connections +func (o ServiceProfileAccessPointTypeConfigOutput) ConnectionRedundancyRequired() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *bool { return v.ConnectionRedundancyRequired }).(pulumi.BoolPtrOutput) +} + +// Enable auto generate service key +func (o ServiceProfileAccessPointTypeConfigOutput) EnableAutoGenerateServiceKey() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *bool { return v.EnableAutoGenerateServiceKey }).(pulumi.BoolPtrOutput) +} + +// Link protocol configuration details +func (o ServiceProfileAccessPointTypeConfigOutput) LinkProtocolConfig() ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *ServiceProfileAccessPointTypeConfigLinkProtocolConfig { + return v.LinkProtocolConfig + }).(ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) +} + +// Supported bandwidths +func (o ServiceProfileAccessPointTypeConfigOutput) SupportedBandwidths() pulumi.IntArrayOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) []int { return v.SupportedBandwidths }).(pulumi.IntArrayOutput) +} + +// Type of access point type config - VD, COLO +func (o ServiceProfileAccessPointTypeConfigOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) string { return v.Type }).(pulumi.StringOutput) +} + +// Colo/Port Uuid +func (o ServiceProfileAccessPointTypeConfigOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} + +type ServiceProfileAccessPointTypeConfigArrayOutput struct{ *pulumi.OutputState } + +func (ServiceProfileAccessPointTypeConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfileAccessPointTypeConfig)(nil)).Elem() } -func (o ConnectionNotificationArrayOutput) ToConnectionNotificationArrayOutput() ConnectionNotificationArrayOutput { +func (o ServiceProfileAccessPointTypeConfigArrayOutput) ToServiceProfileAccessPointTypeConfigArrayOutput() ServiceProfileAccessPointTypeConfigArrayOutput { return o } -func (o ConnectionNotificationArrayOutput) ToConnectionNotificationArrayOutputWithContext(ctx context.Context) ConnectionNotificationArrayOutput { +func (o ServiceProfileAccessPointTypeConfigArrayOutput) ToServiceProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigArrayOutput { return o } -func (o ConnectionNotificationArrayOutput) Index(i pulumi.IntInput) ConnectionNotificationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionNotification { - return vs[0].([]ConnectionNotification)[vs[1].(int)] - }).(ConnectionNotificationOutput) +func (o ServiceProfileAccessPointTypeConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfileAccessPointTypeConfig] { + return pulumix.Output[[]ServiceProfileAccessPointTypeConfig]{ + OutputState: o.OutputState, + } } -type ConnectionOperation struct { - EquinixStatus *string `pulumi:"equinixStatus"` - Errors []ConnectionOperationError `pulumi:"errors"` - ProviderStatus *string `pulumi:"providerStatus"` +func (o ServiceProfileAccessPointTypeConfigArrayOutput) Index(i pulumi.IntInput) ServiceProfileAccessPointTypeConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfileAccessPointTypeConfig { + return vs[0].([]ServiceProfileAccessPointTypeConfig)[vs[1].(int)] + }).(ServiceProfileAccessPointTypeConfigOutput) } -// ConnectionOperationInput is an input type that accepts ConnectionOperationArgs and ConnectionOperationOutput values. -// You can construct a concrete instance of `ConnectionOperationInput` via: +type ServiceProfileAccessPointTypeConfigApiConfig struct { + // Setting showing that oversubscription support is available (true) or not (false). The default is false + AllowOverSubscription *bool `pulumi:"allowOverSubscription"` + // Setting indicating whether the API is available (true) or not (false) + ApiAvailable *bool `pulumi:"apiAvailable"` + // Bandwidth from api + BandwidthFromApi *bool `pulumi:"bandwidthFromApi"` + // Setting indicating that the port is managed by Equinix (true) or not (false) + EquinixManagedPort *bool `pulumi:"equinixManagedPort"` + // Setting indicating that the VLAN is managed by Equinix (true) or not (false) + EquinixManagedVlan *bool `pulumi:"equinixManagedVlan"` + // Integration id + IntegrationId *string `pulumi:"integrationId"` + // A cap on over subscription + OverSubscriptionLimit *int `pulumi:"overSubscriptionLimit"` +} + +// ServiceProfileAccessPointTypeConfigApiConfigInput is an input type that accepts ServiceProfileAccessPointTypeConfigApiConfigArgs and ServiceProfileAccessPointTypeConfigApiConfigOutput values. +// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigApiConfigInput` via: // -// ConnectionOperationArgs{...} -type ConnectionOperationInput interface { +// ServiceProfileAccessPointTypeConfigApiConfigArgs{...} +type ServiceProfileAccessPointTypeConfigApiConfigInput interface { pulumi.Input - ToConnectionOperationOutput() ConnectionOperationOutput - ToConnectionOperationOutputWithContext(context.Context) ConnectionOperationOutput + ToServiceProfileAccessPointTypeConfigApiConfigOutput() ServiceProfileAccessPointTypeConfigApiConfigOutput + ToServiceProfileAccessPointTypeConfigApiConfigOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigApiConfigOutput } -type ConnectionOperationArgs struct { - EquinixStatus pulumi.StringPtrInput `pulumi:"equinixStatus"` - Errors ConnectionOperationErrorArrayInput `pulumi:"errors"` - ProviderStatus pulumi.StringPtrInput `pulumi:"providerStatus"` +type ServiceProfileAccessPointTypeConfigApiConfigArgs struct { + // Setting showing that oversubscription support is available (true) or not (false). The default is false + AllowOverSubscription pulumi.BoolPtrInput `pulumi:"allowOverSubscription"` + // Setting indicating whether the API is available (true) or not (false) + ApiAvailable pulumi.BoolPtrInput `pulumi:"apiAvailable"` + // Bandwidth from api + BandwidthFromApi pulumi.BoolPtrInput `pulumi:"bandwidthFromApi"` + // Setting indicating that the port is managed by Equinix (true) or not (false) + EquinixManagedPort pulumi.BoolPtrInput `pulumi:"equinixManagedPort"` + // Setting indicating that the VLAN is managed by Equinix (true) or not (false) + EquinixManagedVlan pulumi.BoolPtrInput `pulumi:"equinixManagedVlan"` + // Integration id + IntegrationId pulumi.StringPtrInput `pulumi:"integrationId"` + // A cap on over subscription + OverSubscriptionLimit pulumi.IntPtrInput `pulumi:"overSubscriptionLimit"` } -func (ConnectionOperationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionOperation)(nil)).Elem() +func (ServiceProfileAccessPointTypeConfigApiConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileAccessPointTypeConfigApiConfig)(nil)).Elem() } -func (i ConnectionOperationArgs) ToConnectionOperationOutput() ConnectionOperationOutput { - return i.ToConnectionOperationOutputWithContext(context.Background()) +func (i ServiceProfileAccessPointTypeConfigApiConfigArgs) ToServiceProfileAccessPointTypeConfigApiConfigOutput() ServiceProfileAccessPointTypeConfigApiConfigOutput { + return i.ToServiceProfileAccessPointTypeConfigApiConfigOutputWithContext(context.Background()) } -func (i ConnectionOperationArgs) ToConnectionOperationOutputWithContext(ctx context.Context) ConnectionOperationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationOutput) +func (i ServiceProfileAccessPointTypeConfigApiConfigArgs) ToServiceProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigApiConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigApiConfigOutput) } -func (i ConnectionOperationArgs) ToConnectionOperationPtrOutput() ConnectionOperationPtrOutput { - return i.ToConnectionOperationPtrOutputWithContext(context.Background()) +func (i ServiceProfileAccessPointTypeConfigApiConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[ServiceProfileAccessPointTypeConfigApiConfig]{ + OutputState: i.ToServiceProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx).OutputState, + } } -func (i ConnectionOperationArgs) ToConnectionOperationPtrOutputWithContext(ctx context.Context) ConnectionOperationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationOutput).ToConnectionOperationPtrOutputWithContext(ctx) +func (i ServiceProfileAccessPointTypeConfigApiConfigArgs) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutput() ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { + return i.ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(context.Background()) } -// ConnectionOperationPtrInput is an input type that accepts ConnectionOperationArgs, ConnectionOperationPtr and ConnectionOperationPtrOutput values. -// You can construct a concrete instance of `ConnectionOperationPtrInput` via: +func (i ServiceProfileAccessPointTypeConfigApiConfigArgs) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigApiConfigOutput).ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(ctx) +} + +// ServiceProfileAccessPointTypeConfigApiConfigPtrInput is an input type that accepts ServiceProfileAccessPointTypeConfigApiConfigArgs, ServiceProfileAccessPointTypeConfigApiConfigPtr and ServiceProfileAccessPointTypeConfigApiConfigPtrOutput values. +// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigApiConfigPtrInput` via: // -// ConnectionOperationArgs{...} +// ServiceProfileAccessPointTypeConfigApiConfigArgs{...} // // or: // // nil -type ConnectionOperationPtrInput interface { +type ServiceProfileAccessPointTypeConfigApiConfigPtrInput interface { pulumi.Input - ToConnectionOperationPtrOutput() ConnectionOperationPtrOutput - ToConnectionOperationPtrOutputWithContext(context.Context) ConnectionOperationPtrOutput + ToServiceProfileAccessPointTypeConfigApiConfigPtrOutput() ServiceProfileAccessPointTypeConfigApiConfigPtrOutput + ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigApiConfigPtrOutput } -type connectionOperationPtrType ConnectionOperationArgs +type serviceProfileAccessPointTypeConfigApiConfigPtrType ServiceProfileAccessPointTypeConfigApiConfigArgs -func ConnectionOperationPtr(v *ConnectionOperationArgs) ConnectionOperationPtrInput { - return (*connectionOperationPtrType)(v) +func ServiceProfileAccessPointTypeConfigApiConfigPtr(v *ServiceProfileAccessPointTypeConfigApiConfigArgs) ServiceProfileAccessPointTypeConfigApiConfigPtrInput { + return (*serviceProfileAccessPointTypeConfigApiConfigPtrType)(v) } -func (*connectionOperationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionOperation)(nil)).Elem() +func (*serviceProfileAccessPointTypeConfigApiConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileAccessPointTypeConfigApiConfig)(nil)).Elem() } -func (i *connectionOperationPtrType) ToConnectionOperationPtrOutput() ConnectionOperationPtrOutput { - return i.ToConnectionOperationPtrOutputWithContext(context.Background()) +func (i *serviceProfileAccessPointTypeConfigApiConfigPtrType) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutput() ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { + return i.ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(context.Background()) } -func (i *connectionOperationPtrType) ToConnectionOperationPtrOutputWithContext(ctx context.Context) ConnectionOperationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationPtrOutput) +func (i *serviceProfileAccessPointTypeConfigApiConfigPtrType) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) } -type ConnectionOperationOutput struct{ *pulumi.OutputState } +func (i *serviceProfileAccessPointTypeConfigApiConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[*ServiceProfileAccessPointTypeConfigApiConfig]{ + OutputState: i.ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(ctx).OutputState, + } +} -func (ConnectionOperationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionOperation)(nil)).Elem() +type ServiceProfileAccessPointTypeConfigApiConfigOutput struct{ *pulumi.OutputState } + +func (ServiceProfileAccessPointTypeConfigApiConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileAccessPointTypeConfigApiConfig)(nil)).Elem() } -func (o ConnectionOperationOutput) ToConnectionOperationOutput() ConnectionOperationOutput { +func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) ToServiceProfileAccessPointTypeConfigApiConfigOutput() ServiceProfileAccessPointTypeConfigApiConfigOutput { return o } -func (o ConnectionOperationOutput) ToConnectionOperationOutputWithContext(ctx context.Context) ConnectionOperationOutput { +func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) ToServiceProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigApiConfigOutput { return o } -func (o ConnectionOperationOutput) ToConnectionOperationPtrOutput() ConnectionOperationPtrOutput { - return o.ToConnectionOperationPtrOutputWithContext(context.Background()) +func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutput() ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { + return o.ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(context.Background()) } -func (o ConnectionOperationOutput) ToConnectionOperationPtrOutputWithContext(ctx context.Context) ConnectionOperationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionOperation) *ConnectionOperation { +func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileAccessPointTypeConfigApiConfig) *ServiceProfileAccessPointTypeConfigApiConfig { return &v - }).(ConnectionOperationPtrOutput) + }).(ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) } -func (o ConnectionOperationOutput) EquinixStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionOperation) *string { return v.EquinixStatus }).(pulumi.StringPtrOutput) +func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[ServiceProfileAccessPointTypeConfigApiConfig]{ + OutputState: o.OutputState, + } } -func (o ConnectionOperationOutput) Errors() ConnectionOperationErrorArrayOutput { - return o.ApplyT(func(v ConnectionOperation) []ConnectionOperationError { return v.Errors }).(ConnectionOperationErrorArrayOutput) +// Setting showing that oversubscription support is available (true) or not (false). The default is false +func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) AllowOverSubscription() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *bool { return v.AllowOverSubscription }).(pulumi.BoolPtrOutput) } -func (o ConnectionOperationOutput) ProviderStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionOperation) *string { return v.ProviderStatus }).(pulumi.StringPtrOutput) +// Setting indicating whether the API is available (true) or not (false) +func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) ApiAvailable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *bool { return v.ApiAvailable }).(pulumi.BoolPtrOutput) } -type ConnectionOperationPtrOutput struct{ *pulumi.OutputState } +// Bandwidth from api +func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) BandwidthFromApi() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *bool { return v.BandwidthFromApi }).(pulumi.BoolPtrOutput) +} -func (ConnectionOperationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionOperation)(nil)).Elem() +// Setting indicating that the port is managed by Equinix (true) or not (false) +func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) EquinixManagedPort() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *bool { return v.EquinixManagedPort }).(pulumi.BoolPtrOutput) } -func (o ConnectionOperationPtrOutput) ToConnectionOperationPtrOutput() ConnectionOperationPtrOutput { +// Setting indicating that the VLAN is managed by Equinix (true) or not (false) +func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) EquinixManagedVlan() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *bool { return v.EquinixManagedVlan }).(pulumi.BoolPtrOutput) +} + +// Integration id +func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) IntegrationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *string { return v.IntegrationId }).(pulumi.StringPtrOutput) +} + +// A cap on over subscription +func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) OverSubscriptionLimit() pulumi.IntPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *int { return v.OverSubscriptionLimit }).(pulumi.IntPtrOutput) +} + +type ServiceProfileAccessPointTypeConfigApiConfigPtrOutput struct{ *pulumi.OutputState } + +func (ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +} + +func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutput() ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { return o } -func (o ConnectionOperationPtrOutput) ToConnectionOperationPtrOutputWithContext(ctx context.Context) ConnectionOperationPtrOutput { +func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { return o } -func (o ConnectionOperationPtrOutput) Elem() ConnectionOperationOutput { - return o.ApplyT(func(v *ConnectionOperation) ConnectionOperation { +func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[*ServiceProfileAccessPointTypeConfigApiConfig]{ + OutputState: o.OutputState, + } +} + +func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) Elem() ServiceProfileAccessPointTypeConfigApiConfigOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) ServiceProfileAccessPointTypeConfigApiConfig { if v != nil { return *v } - var ret ConnectionOperation + var ret ServiceProfileAccessPointTypeConfigApiConfig return ret - }).(ConnectionOperationOutput) + }).(ServiceProfileAccessPointTypeConfigApiConfigOutput) } -func (o ConnectionOperationPtrOutput) EquinixStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionOperation) *string { +// Setting showing that oversubscription support is available (true) or not (false). The default is false +func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) AllowOverSubscription() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *bool { if v == nil { return nil } - return v.EquinixStatus - }).(pulumi.StringPtrOutput) + return v.AllowOverSubscription + }).(pulumi.BoolPtrOutput) } -func (o ConnectionOperationPtrOutput) Errors() ConnectionOperationErrorArrayOutput { - return o.ApplyT(func(v *ConnectionOperation) []ConnectionOperationError { +// Setting indicating whether the API is available (true) or not (false) +func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) ApiAvailable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *bool { if v == nil { return nil } - return v.Errors - }).(ConnectionOperationErrorArrayOutput) + return v.ApiAvailable + }).(pulumi.BoolPtrOutput) } -func (o ConnectionOperationPtrOutput) ProviderStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionOperation) *string { +// Bandwidth from api +func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) BandwidthFromApi() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *bool { if v == nil { return nil } - return v.ProviderStatus - }).(pulumi.StringPtrOutput) -} - -type ConnectionOperationError struct { - // Connection additional information - AdditionalInfo []ConnectionOperationErrorAdditionalInfo `pulumi:"additionalInfo"` - CorrelationId *string `pulumi:"correlationId"` - Details *string `pulumi:"details"` - ErrorCode *string `pulumi:"errorCode"` - ErrorMessage *string `pulumi:"errorMessage"` - Help *string `pulumi:"help"` -} - -// ConnectionOperationErrorInput is an input type that accepts ConnectionOperationErrorArgs and ConnectionOperationErrorOutput values. -// You can construct a concrete instance of `ConnectionOperationErrorInput` via: -// -// ConnectionOperationErrorArgs{...} -type ConnectionOperationErrorInput interface { - pulumi.Input - - ToConnectionOperationErrorOutput() ConnectionOperationErrorOutput - ToConnectionOperationErrorOutputWithContext(context.Context) ConnectionOperationErrorOutput -} - -type ConnectionOperationErrorArgs struct { - // Connection additional information - AdditionalInfo ConnectionOperationErrorAdditionalInfoArrayInput `pulumi:"additionalInfo"` - CorrelationId pulumi.StringPtrInput `pulumi:"correlationId"` - Details pulumi.StringPtrInput `pulumi:"details"` - ErrorCode pulumi.StringPtrInput `pulumi:"errorCode"` - ErrorMessage pulumi.StringPtrInput `pulumi:"errorMessage"` - Help pulumi.StringPtrInput `pulumi:"help"` -} - -func (ConnectionOperationErrorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionOperationError)(nil)).Elem() -} - -func (i ConnectionOperationErrorArgs) ToConnectionOperationErrorOutput() ConnectionOperationErrorOutput { - return i.ToConnectionOperationErrorOutputWithContext(context.Background()) + return v.BandwidthFromApi + }).(pulumi.BoolPtrOutput) } -func (i ConnectionOperationErrorArgs) ToConnectionOperationErrorOutputWithContext(ctx context.Context) ConnectionOperationErrorOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationErrorOutput) +// Setting indicating that the port is managed by Equinix (true) or not (false) +func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) EquinixManagedPort() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *bool { + if v == nil { + return nil + } + return v.EquinixManagedPort + }).(pulumi.BoolPtrOutput) } -// ConnectionOperationErrorArrayInput is an input type that accepts ConnectionOperationErrorArray and ConnectionOperationErrorArrayOutput values. -// You can construct a concrete instance of `ConnectionOperationErrorArrayInput` via: -// -// ConnectionOperationErrorArray{ ConnectionOperationErrorArgs{...} } -type ConnectionOperationErrorArrayInput interface { - pulumi.Input - - ToConnectionOperationErrorArrayOutput() ConnectionOperationErrorArrayOutput - ToConnectionOperationErrorArrayOutputWithContext(context.Context) ConnectionOperationErrorArrayOutput +// Setting indicating that the VLAN is managed by Equinix (true) or not (false) +func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) EquinixManagedVlan() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *bool { + if v == nil { + return nil + } + return v.EquinixManagedVlan + }).(pulumi.BoolPtrOutput) } -type ConnectionOperationErrorArray []ConnectionOperationErrorInput - -func (ConnectionOperationErrorArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionOperationError)(nil)).Elem() +// Integration id +func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) IntegrationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *string { + if v == nil { + return nil + } + return v.IntegrationId + }).(pulumi.StringPtrOutput) } -func (i ConnectionOperationErrorArray) ToConnectionOperationErrorArrayOutput() ConnectionOperationErrorArrayOutput { - return i.ToConnectionOperationErrorArrayOutputWithContext(context.Background()) +// A cap on over subscription +func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) OverSubscriptionLimit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *int { + if v == nil { + return nil + } + return v.OverSubscriptionLimit + }).(pulumi.IntPtrOutput) } -func (i ConnectionOperationErrorArray) ToConnectionOperationErrorArrayOutputWithContext(ctx context.Context) ConnectionOperationErrorArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationErrorArrayOutput) +type ServiceProfileAccessPointTypeConfigAuthenticationKey struct { + // Description + Description *string `pulumi:"description"` + // Label + Label *string `pulumi:"label"` + // Required + Required *bool `pulumi:"required"` } -type ConnectionOperationErrorOutput struct{ *pulumi.OutputState } +// ServiceProfileAccessPointTypeConfigAuthenticationKeyInput is an input type that accepts ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs and ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput values. +// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigAuthenticationKeyInput` via: +// +// ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs{...} +type ServiceProfileAccessPointTypeConfigAuthenticationKeyInput interface { + pulumi.Input -func (ConnectionOperationErrorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionOperationError)(nil)).Elem() + ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput + ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput } -func (o ConnectionOperationErrorOutput) ToConnectionOperationErrorOutput() ConnectionOperationErrorOutput { - return o +type ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs struct { + // Description + Description pulumi.StringPtrInput `pulumi:"description"` + // Label + Label pulumi.StringPtrInput `pulumi:"label"` + // Required + Required pulumi.BoolPtrInput `pulumi:"required"` } -func (o ConnectionOperationErrorOutput) ToConnectionOperationErrorOutputWithContext(ctx context.Context) ConnectionOperationErrorOutput { - return o +func (ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() } -// Connection additional information -func (o ConnectionOperationErrorOutput) AdditionalInfo() ConnectionOperationErrorAdditionalInfoArrayOutput { - return o.ApplyT(func(v ConnectionOperationError) []ConnectionOperationErrorAdditionalInfo { return v.AdditionalInfo }).(ConnectionOperationErrorAdditionalInfoArrayOutput) +func (i ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput { + return i.ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(context.Background()) } -func (o ConnectionOperationErrorOutput) CorrelationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionOperationError) *string { return v.CorrelationId }).(pulumi.StringPtrOutput) +func (i ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) } -func (o ConnectionOperationErrorOutput) Details() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionOperationError) *string { return v.Details }).(pulumi.StringPtrOutput) +func (i ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[ServiceProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: i.ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx).OutputState, + } } -func (o ConnectionOperationErrorOutput) ErrorCode() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionOperationError) *string { return v.ErrorCode }).(pulumi.StringPtrOutput) +func (i ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { + return i.ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(context.Background()) } -func (o ConnectionOperationErrorOutput) ErrorMessage() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionOperationError) *string { return v.ErrorMessage }).(pulumi.StringPtrOutput) +func (i ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput).ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(ctx) } -func (o ConnectionOperationErrorOutput) Help() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionOperationError) *string { return v.Help }).(pulumi.StringPtrOutput) +// ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrInput is an input type that accepts ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs, ServiceProfileAccessPointTypeConfigAuthenticationKeyPtr and ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput values. +// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrInput` via: +// +// ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs{...} +// +// or: +// +// nil +type ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrInput interface { + pulumi.Input + + ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput + ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput } -type ConnectionOperationErrorArrayOutput struct{ *pulumi.OutputState } +type serviceProfileAccessPointTypeConfigAuthenticationKeyPtrType ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs -func (ConnectionOperationErrorArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionOperationError)(nil)).Elem() +func ServiceProfileAccessPointTypeConfigAuthenticationKeyPtr(v *ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrInput { + return (*serviceProfileAccessPointTypeConfigAuthenticationKeyPtrType)(v) } -func (o ConnectionOperationErrorArrayOutput) ToConnectionOperationErrorArrayOutput() ConnectionOperationErrorArrayOutput { - return o +func (*serviceProfileAccessPointTypeConfigAuthenticationKeyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() } -func (o ConnectionOperationErrorArrayOutput) ToConnectionOperationErrorArrayOutputWithContext(ctx context.Context) ConnectionOperationErrorArrayOutput { - return o +func (i *serviceProfileAccessPointTypeConfigAuthenticationKeyPtrType) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { + return i.ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(context.Background()) } -func (o ConnectionOperationErrorArrayOutput) Index(i pulumi.IntInput) ConnectionOperationErrorOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionOperationError { - return vs[0].([]ConnectionOperationError)[vs[1].(int)] - }).(ConnectionOperationErrorOutput) +func (i *serviceProfileAccessPointTypeConfigAuthenticationKeyPtrType) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) } -type ConnectionOperationErrorAdditionalInfo struct { - Property *string `pulumi:"property"` - Reason *string `pulumi:"reason"` +func (i *serviceProfileAccessPointTypeConfigAuthenticationKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[*ServiceProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: i.ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(ctx).OutputState, + } } -// ConnectionOperationErrorAdditionalInfoInput is an input type that accepts ConnectionOperationErrorAdditionalInfoArgs and ConnectionOperationErrorAdditionalInfoOutput values. -// You can construct a concrete instance of `ConnectionOperationErrorAdditionalInfoInput` via: -// -// ConnectionOperationErrorAdditionalInfoArgs{...} -type ConnectionOperationErrorAdditionalInfoInput interface { - pulumi.Input +type ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput struct{ *pulumi.OutputState } - ToConnectionOperationErrorAdditionalInfoOutput() ConnectionOperationErrorAdditionalInfoOutput - ToConnectionOperationErrorAdditionalInfoOutputWithContext(context.Context) ConnectionOperationErrorAdditionalInfoOutput +func (ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() } -type ConnectionOperationErrorAdditionalInfoArgs struct { - Property pulumi.StringPtrInput `pulumi:"property"` - Reason pulumi.StringPtrInput `pulumi:"reason"` +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput { + return o } -func (ConnectionOperationErrorAdditionalInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionOperationErrorAdditionalInfo)(nil)).Elem() +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput { + return o } -func (i ConnectionOperationErrorAdditionalInfoArgs) ToConnectionOperationErrorAdditionalInfoOutput() ConnectionOperationErrorAdditionalInfoOutput { - return i.ToConnectionOperationErrorAdditionalInfoOutputWithContext(context.Background()) +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { + return o.ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(context.Background()) } -func (i ConnectionOperationErrorAdditionalInfoArgs) ToConnectionOperationErrorAdditionalInfoOutputWithContext(ctx context.Context) ConnectionOperationErrorAdditionalInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationErrorAdditionalInfoOutput) +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileAccessPointTypeConfigAuthenticationKey) *ServiceProfileAccessPointTypeConfigAuthenticationKey { + return &v + }).(ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) } -// ConnectionOperationErrorAdditionalInfoArrayInput is an input type that accepts ConnectionOperationErrorAdditionalInfoArray and ConnectionOperationErrorAdditionalInfoArrayOutput values. -// You can construct a concrete instance of `ConnectionOperationErrorAdditionalInfoArrayInput` via: -// -// ConnectionOperationErrorAdditionalInfoArray{ ConnectionOperationErrorAdditionalInfoArgs{...} } -type ConnectionOperationErrorAdditionalInfoArrayInput interface { - pulumi.Input - - ToConnectionOperationErrorAdditionalInfoArrayOutput() ConnectionOperationErrorAdditionalInfoArrayOutput - ToConnectionOperationErrorAdditionalInfoArrayOutputWithContext(context.Context) ConnectionOperationErrorAdditionalInfoArrayOutput +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[ServiceProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: o.OutputState, + } } -type ConnectionOperationErrorAdditionalInfoArray []ConnectionOperationErrorAdditionalInfoInput - -func (ConnectionOperationErrorAdditionalInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionOperationErrorAdditionalInfo)(nil)).Elem() +// Description +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigAuthenticationKey) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (i ConnectionOperationErrorAdditionalInfoArray) ToConnectionOperationErrorAdditionalInfoArrayOutput() ConnectionOperationErrorAdditionalInfoArrayOutput { - return i.ToConnectionOperationErrorAdditionalInfoArrayOutputWithContext(context.Background()) +// Label +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigAuthenticationKey) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (i ConnectionOperationErrorAdditionalInfoArray) ToConnectionOperationErrorAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionOperationErrorAdditionalInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionOperationErrorAdditionalInfoArrayOutput) +// Required +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) Required() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigAuthenticationKey) *bool { return v.Required }).(pulumi.BoolPtrOutput) } -type ConnectionOperationErrorAdditionalInfoOutput struct{ *pulumi.OutputState } +type ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput struct{ *pulumi.OutputState } -func (ConnectionOperationErrorAdditionalInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionOperationErrorAdditionalInfo)(nil)).Elem() +func (ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() } -func (o ConnectionOperationErrorAdditionalInfoOutput) ToConnectionOperationErrorAdditionalInfoOutput() ConnectionOperationErrorAdditionalInfoOutput { +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { return o } -func (o ConnectionOperationErrorAdditionalInfoOutput) ToConnectionOperationErrorAdditionalInfoOutputWithContext(ctx context.Context) ConnectionOperationErrorAdditionalInfoOutput { +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { return o } -func (o ConnectionOperationErrorAdditionalInfoOutput) Property() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionOperationErrorAdditionalInfo) *string { return v.Property }).(pulumi.StringPtrOutput) -} - -func (o ConnectionOperationErrorAdditionalInfoOutput) Reason() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionOperationErrorAdditionalInfo) *string { return v.Reason }).(pulumi.StringPtrOutput) +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[*ServiceProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: o.OutputState, + } } -type ConnectionOperationErrorAdditionalInfoArrayOutput struct{ *pulumi.OutputState } - -func (ConnectionOperationErrorAdditionalInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionOperationErrorAdditionalInfo)(nil)).Elem() +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) Elem() ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigAuthenticationKey) ServiceProfileAccessPointTypeConfigAuthenticationKey { + if v != nil { + return *v + } + var ret ServiceProfileAccessPointTypeConfigAuthenticationKey + return ret + }).(ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) } -func (o ConnectionOperationErrorAdditionalInfoArrayOutput) ToConnectionOperationErrorAdditionalInfoArrayOutput() ConnectionOperationErrorAdditionalInfoArrayOutput { - return o +// Description +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigAuthenticationKey) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) } -func (o ConnectionOperationErrorAdditionalInfoArrayOutput) ToConnectionOperationErrorAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionOperationErrorAdditionalInfoArrayOutput { - return o +// Label +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigAuthenticationKey) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) } -func (o ConnectionOperationErrorAdditionalInfoArrayOutput) Index(i pulumi.IntInput) ConnectionOperationErrorAdditionalInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionOperationErrorAdditionalInfo { - return vs[0].([]ConnectionOperationErrorAdditionalInfo)[vs[1].(int)] - }).(ConnectionOperationErrorAdditionalInfoOutput) +// Required +func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) Required() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigAuthenticationKey) *bool { + if v == nil { + return nil + } + return v.Required + }).(pulumi.BoolPtrOutput) } -type ConnectionOrder struct { - // Billing tier for connection bandwidth - BillingTier *string `pulumi:"billingTier"` - // Order Identification - OrderId *string `pulumi:"orderId"` - // Order Reference Number - OrderNumber *string `pulumi:"orderNumber"` - // Purchase order number - PurchaseOrderNumber *string `pulumi:"purchaseOrderNumber"` +type ServiceProfileAccessPointTypeConfigLinkProtocolConfig struct { + // Port Encapsulation + Encapsulation *string `pulumi:"encapsulation"` + // Encapsulation strategy + EncapsulationStrategy *string `pulumi:"encapsulationStrategy"` + // Reuse vlan sTag + ReuseVlanSTag *bool `pulumi:"reuseVlanSTag"` } -// ConnectionOrderInput is an input type that accepts ConnectionOrderArgs and ConnectionOrderOutput values. -// You can construct a concrete instance of `ConnectionOrderInput` via: +// ServiceProfileAccessPointTypeConfigLinkProtocolConfigInput is an input type that accepts ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs and ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput values. +// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigLinkProtocolConfigInput` via: // -// ConnectionOrderArgs{...} -type ConnectionOrderInput interface { +// ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs{...} +type ServiceProfileAccessPointTypeConfigLinkProtocolConfigInput interface { pulumi.Input - ToConnectionOrderOutput() ConnectionOrderOutput - ToConnectionOrderOutputWithContext(context.Context) ConnectionOrderOutput + ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput + ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput } -type ConnectionOrderArgs struct { - // Billing tier for connection bandwidth - BillingTier pulumi.StringPtrInput `pulumi:"billingTier"` - // Order Identification - OrderId pulumi.StringPtrInput `pulumi:"orderId"` - // Order Reference Number - OrderNumber pulumi.StringPtrInput `pulumi:"orderNumber"` - // Purchase order number - PurchaseOrderNumber pulumi.StringPtrInput `pulumi:"purchaseOrderNumber"` +type ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs struct { + // Port Encapsulation + Encapsulation pulumi.StringPtrInput `pulumi:"encapsulation"` + // Encapsulation strategy + EncapsulationStrategy pulumi.StringPtrInput `pulumi:"encapsulationStrategy"` + // Reuse vlan sTag + ReuseVlanSTag pulumi.BoolPtrInput `pulumi:"reuseVlanSTag"` } -func (ConnectionOrderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionOrder)(nil)).Elem() +func (ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() } -func (i ConnectionOrderArgs) ToConnectionOrderOutput() ConnectionOrderOutput { - return i.ToConnectionOrderOutputWithContext(context.Background()) +func (i ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput { + return i.ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(context.Background()) } -func (i ConnectionOrderArgs) ToConnectionOrderOutputWithContext(ctx context.Context) ConnectionOrderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionOrderOutput) +func (i ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) } -func (i ConnectionOrderArgs) ToConnectionOrderPtrOutput() ConnectionOrderPtrOutput { - return i.ToConnectionOrderPtrOutputWithContext(context.Background()) +func (i ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[ServiceProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: i.ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx).OutputState, + } +} + +func (i ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { + return i.ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(context.Background()) } -func (i ConnectionOrderArgs) ToConnectionOrderPtrOutputWithContext(ctx context.Context) ConnectionOrderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionOrderOutput).ToConnectionOrderPtrOutputWithContext(ctx) +func (i ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput).ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(ctx) } -// ConnectionOrderPtrInput is an input type that accepts ConnectionOrderArgs, ConnectionOrderPtr and ConnectionOrderPtrOutput values. -// You can construct a concrete instance of `ConnectionOrderPtrInput` via: +// ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrInput is an input type that accepts ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs, ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtr and ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput values. +// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrInput` via: // -// ConnectionOrderArgs{...} +// ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs{...} // // or: // // nil -type ConnectionOrderPtrInput interface { +type ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrInput interface { pulumi.Input - ToConnectionOrderPtrOutput() ConnectionOrderPtrOutput - ToConnectionOrderPtrOutputWithContext(context.Context) ConnectionOrderPtrOutput + ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput + ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput } -type connectionOrderPtrType ConnectionOrderArgs +type serviceProfileAccessPointTypeConfigLinkProtocolConfigPtrType ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs -func ConnectionOrderPtr(v *ConnectionOrderArgs) ConnectionOrderPtrInput { - return (*connectionOrderPtrType)(v) +func ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtr(v *ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrInput { + return (*serviceProfileAccessPointTypeConfigLinkProtocolConfigPtrType)(v) } -func (*connectionOrderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionOrder)(nil)).Elem() +func (*serviceProfileAccessPointTypeConfigLinkProtocolConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() } -func (i *connectionOrderPtrType) ToConnectionOrderPtrOutput() ConnectionOrderPtrOutput { - return i.ToConnectionOrderPtrOutputWithContext(context.Background()) +func (i *serviceProfileAccessPointTypeConfigLinkProtocolConfigPtrType) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { + return i.ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(context.Background()) } -func (i *connectionOrderPtrType) ToConnectionOrderPtrOutputWithContext(ctx context.Context) ConnectionOrderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionOrderPtrOutput) +func (i *serviceProfileAccessPointTypeConfigLinkProtocolConfigPtrType) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) } -type ConnectionOrderOutput struct{ *pulumi.OutputState } +func (i *serviceProfileAccessPointTypeConfigLinkProtocolConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[*ServiceProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: i.ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(ctx).OutputState, + } +} -func (ConnectionOrderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionOrder)(nil)).Elem() +type ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput struct{ *pulumi.OutputState } + +func (ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() } -func (o ConnectionOrderOutput) ToConnectionOrderOutput() ConnectionOrderOutput { +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput { return o } -func (o ConnectionOrderOutput) ToConnectionOrderOutputWithContext(ctx context.Context) ConnectionOrderOutput { +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput { return o } -func (o ConnectionOrderOutput) ToConnectionOrderPtrOutput() ConnectionOrderPtrOutput { - return o.ToConnectionOrderPtrOutputWithContext(context.Background()) +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { + return o.ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(context.Background()) } -func (o ConnectionOrderOutput) ToConnectionOrderPtrOutputWithContext(ctx context.Context) ConnectionOrderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionOrder) *ConnectionOrder { +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *ServiceProfileAccessPointTypeConfigLinkProtocolConfig { return &v - }).(ConnectionOrderPtrOutput) + }).(ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) } -// Billing tier for connection bandwidth -func (o ConnectionOrderOutput) BillingTier() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionOrder) *string { return v.BillingTier }).(pulumi.StringPtrOutput) +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[ServiceProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: o.OutputState, + } } -// Order Identification -func (o ConnectionOrderOutput) OrderId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionOrder) *string { return v.OrderId }).(pulumi.StringPtrOutput) +// Port Encapsulation +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) Encapsulation() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *string { return v.Encapsulation }).(pulumi.StringPtrOutput) } -// Order Reference Number -func (o ConnectionOrderOutput) OrderNumber() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionOrder) *string { return v.OrderNumber }).(pulumi.StringPtrOutput) +// Encapsulation strategy +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) EncapsulationStrategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *string { return v.EncapsulationStrategy }).(pulumi.StringPtrOutput) } -// Purchase order number -func (o ConnectionOrderOutput) PurchaseOrderNumber() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionOrder) *string { return v.PurchaseOrderNumber }).(pulumi.StringPtrOutput) +// Reuse vlan sTag +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ReuseVlanSTag() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *bool { return v.ReuseVlanSTag }).(pulumi.BoolPtrOutput) } -type ConnectionOrderPtrOutput struct{ *pulumi.OutputState } +type ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput struct{ *pulumi.OutputState } -func (ConnectionOrderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionOrder)(nil)).Elem() +func (ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() } -func (o ConnectionOrderPtrOutput) ToConnectionOrderPtrOutput() ConnectionOrderPtrOutput { +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { return o } -func (o ConnectionOrderPtrOutput) ToConnectionOrderPtrOutputWithContext(ctx context.Context) ConnectionOrderPtrOutput { +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { return o } -func (o ConnectionOrderPtrOutput) Elem() ConnectionOrderOutput { - return o.ApplyT(func(v *ConnectionOrder) ConnectionOrder { +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[*ServiceProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: o.OutputState, + } +} + +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) Elem() ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigLinkProtocolConfig) ServiceProfileAccessPointTypeConfigLinkProtocolConfig { if v != nil { return *v } - var ret ConnectionOrder + var ret ServiceProfileAccessPointTypeConfigLinkProtocolConfig return ret - }).(ConnectionOrderOutput) -} - -// Billing tier for connection bandwidth -func (o ConnectionOrderPtrOutput) BillingTier() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionOrder) *string { - if v == nil { - return nil - } - return v.BillingTier - }).(pulumi.StringPtrOutput) + }).(ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) } -// Order Identification -func (o ConnectionOrderPtrOutput) OrderId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionOrder) *string { +// Port Encapsulation +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) Encapsulation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *string { if v == nil { return nil } - return v.OrderId + return v.Encapsulation }).(pulumi.StringPtrOutput) } -// Order Reference Number -func (o ConnectionOrderPtrOutput) OrderNumber() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionOrder) *string { +// Encapsulation strategy +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) EncapsulationStrategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *string { if v == nil { return nil } - return v.OrderNumber + return v.EncapsulationStrategy }).(pulumi.StringPtrOutput) } -// Purchase order number -func (o ConnectionOrderPtrOutput) PurchaseOrderNumber() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionOrder) *string { +// Reuse vlan sTag +func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) ReuseVlanSTag() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *bool { if v == nil { return nil } - return v.PurchaseOrderNumber - }).(pulumi.StringPtrOutput) -} - -type ConnectionProject struct { - // Unique Resource URL - Href *string `pulumi:"href"` - // Project Id - ProjectId *string `pulumi:"projectId"` -} - -// ConnectionProjectInput is an input type that accepts ConnectionProjectArgs and ConnectionProjectOutput values. -// You can construct a concrete instance of `ConnectionProjectInput` via: -// -// ConnectionProjectArgs{...} -type ConnectionProjectInput interface { - pulumi.Input - - ToConnectionProjectOutput() ConnectionProjectOutput - ToConnectionProjectOutputWithContext(context.Context) ConnectionProjectOutput -} - -type ConnectionProjectArgs struct { - // Unique Resource URL - Href pulumi.StringPtrInput `pulumi:"href"` - // Project Id - ProjectId pulumi.StringPtrInput `pulumi:"projectId"` -} - -func (ConnectionProjectArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionProject)(nil)).Elem() -} - -func (i ConnectionProjectArgs) ToConnectionProjectOutput() ConnectionProjectOutput { - return i.ToConnectionProjectOutputWithContext(context.Background()) -} - -func (i ConnectionProjectArgs) ToConnectionProjectOutputWithContext(ctx context.Context) ConnectionProjectOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionProjectOutput) -} - -func (i ConnectionProjectArgs) ToConnectionProjectPtrOutput() ConnectionProjectPtrOutput { - return i.ToConnectionProjectPtrOutputWithContext(context.Background()) + return v.ReuseVlanSTag + }).(pulumi.BoolPtrOutput) } -func (i ConnectionProjectArgs) ToConnectionProjectPtrOutputWithContext(ctx context.Context) ConnectionProjectPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionProjectOutput).ToConnectionProjectPtrOutputWithContext(ctx) +type ServiceProfileAccount struct { + // Account Name + AccountName *string `pulumi:"accountName"` + // Account Number + AccountNumber *int `pulumi:"accountNumber"` + // Global Customer organization identifier + GlobalCustId *string `pulumi:"globalCustId"` + // Global organization identifier + GlobalOrgId *string `pulumi:"globalOrgId"` + // Global organization name + GlobalOrganizationName *string `pulumi:"globalOrganizationName"` + // Customer organization identifier + OrgId *int `pulumi:"orgId"` + // Customer organization name + OrganizationName *string `pulumi:"organizationName"` + // Enterprise datastore id + UcmId *string `pulumi:"ucmId"` } -// ConnectionProjectPtrInput is an input type that accepts ConnectionProjectArgs, ConnectionProjectPtr and ConnectionProjectPtrOutput values. -// You can construct a concrete instance of `ConnectionProjectPtrInput` via: -// -// ConnectionProjectArgs{...} -// -// or: +// ServiceProfileAccountInput is an input type that accepts ServiceProfileAccountArgs and ServiceProfileAccountOutput values. +// You can construct a concrete instance of `ServiceProfileAccountInput` via: // -// nil -type ConnectionProjectPtrInput interface { +// ServiceProfileAccountArgs{...} +type ServiceProfileAccountInput interface { pulumi.Input - ToConnectionProjectPtrOutput() ConnectionProjectPtrOutput - ToConnectionProjectPtrOutputWithContext(context.Context) ConnectionProjectPtrOutput -} - -type connectionProjectPtrType ConnectionProjectArgs - -func ConnectionProjectPtr(v *ConnectionProjectArgs) ConnectionProjectPtrInput { - return (*connectionProjectPtrType)(v) -} - -func (*connectionProjectPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionProject)(nil)).Elem() -} - -func (i *connectionProjectPtrType) ToConnectionProjectPtrOutput() ConnectionProjectPtrOutput { - return i.ToConnectionProjectPtrOutputWithContext(context.Background()) -} - -func (i *connectionProjectPtrType) ToConnectionProjectPtrOutputWithContext(ctx context.Context) ConnectionProjectPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionProjectPtrOutput) + ToServiceProfileAccountOutput() ServiceProfileAccountOutput + ToServiceProfileAccountOutputWithContext(context.Context) ServiceProfileAccountOutput } -type ConnectionProjectOutput struct{ *pulumi.OutputState } - -func (ConnectionProjectOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionProject)(nil)).Elem() +type ServiceProfileAccountArgs struct { + // Account Name + AccountName pulumi.StringPtrInput `pulumi:"accountName"` + // Account Number + AccountNumber pulumi.IntPtrInput `pulumi:"accountNumber"` + // Global Customer organization identifier + GlobalCustId pulumi.StringPtrInput `pulumi:"globalCustId"` + // Global organization identifier + GlobalOrgId pulumi.StringPtrInput `pulumi:"globalOrgId"` + // Global organization name + GlobalOrganizationName pulumi.StringPtrInput `pulumi:"globalOrganizationName"` + // Customer organization identifier + OrgId pulumi.IntPtrInput `pulumi:"orgId"` + // Customer organization name + OrganizationName pulumi.StringPtrInput `pulumi:"organizationName"` + // Enterprise datastore id + UcmId pulumi.StringPtrInput `pulumi:"ucmId"` } -func (o ConnectionProjectOutput) ToConnectionProjectOutput() ConnectionProjectOutput { - return o +func (ServiceProfileAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileAccount)(nil)).Elem() } -func (o ConnectionProjectOutput) ToConnectionProjectOutputWithContext(ctx context.Context) ConnectionProjectOutput { - return o +func (i ServiceProfileAccountArgs) ToServiceProfileAccountOutput() ServiceProfileAccountOutput { + return i.ToServiceProfileAccountOutputWithContext(context.Background()) } - -func (o ConnectionProjectOutput) ToConnectionProjectPtrOutput() ConnectionProjectPtrOutput { - return o.ToConnectionProjectPtrOutputWithContext(context.Background()) + +func (i ServiceProfileAccountArgs) ToServiceProfileAccountOutputWithContext(ctx context.Context) ServiceProfileAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccountOutput) } -func (o ConnectionProjectOutput) ToConnectionProjectPtrOutputWithContext(ctx context.Context) ConnectionProjectPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionProject) *ConnectionProject { - return &v - }).(ConnectionProjectPtrOutput) +func (i ServiceProfileAccountArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileAccount] { + return pulumix.Output[ServiceProfileAccount]{ + OutputState: i.ToServiceProfileAccountOutputWithContext(ctx).OutputState, + } } -// Unique Resource URL -func (o ConnectionProjectOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionProject) *string { return v.Href }).(pulumi.StringPtrOutput) +func (i ServiceProfileAccountArgs) ToServiceProfileAccountPtrOutput() ServiceProfileAccountPtrOutput { + return i.ToServiceProfileAccountPtrOutputWithContext(context.Background()) } -// Project Id -func (o ConnectionProjectOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionProject) *string { return v.ProjectId }).(pulumi.StringPtrOutput) +func (i ServiceProfileAccountArgs) ToServiceProfileAccountPtrOutputWithContext(ctx context.Context) ServiceProfileAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccountOutput).ToServiceProfileAccountPtrOutputWithContext(ctx) } -type ConnectionProjectPtrOutput struct{ *pulumi.OutputState } +// ServiceProfileAccountPtrInput is an input type that accepts ServiceProfileAccountArgs, ServiceProfileAccountPtr and ServiceProfileAccountPtrOutput values. +// You can construct a concrete instance of `ServiceProfileAccountPtrInput` via: +// +// ServiceProfileAccountArgs{...} +// +// or: +// +// nil +type ServiceProfileAccountPtrInput interface { + pulumi.Input -func (ConnectionProjectPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionProject)(nil)).Elem() + ToServiceProfileAccountPtrOutput() ServiceProfileAccountPtrOutput + ToServiceProfileAccountPtrOutputWithContext(context.Context) ServiceProfileAccountPtrOutput } -func (o ConnectionProjectPtrOutput) ToConnectionProjectPtrOutput() ConnectionProjectPtrOutput { - return o -} +type serviceProfileAccountPtrType ServiceProfileAccountArgs -func (o ConnectionProjectPtrOutput) ToConnectionProjectPtrOutputWithContext(ctx context.Context) ConnectionProjectPtrOutput { - return o +func ServiceProfileAccountPtr(v *ServiceProfileAccountArgs) ServiceProfileAccountPtrInput { + return (*serviceProfileAccountPtrType)(v) } -func (o ConnectionProjectPtrOutput) Elem() ConnectionProjectOutput { - return o.ApplyT(func(v *ConnectionProject) ConnectionProject { - if v != nil { - return *v - } - var ret ConnectionProject - return ret - }).(ConnectionProjectOutput) +func (*serviceProfileAccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileAccount)(nil)).Elem() } -// Unique Resource URL -func (o ConnectionProjectPtrOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionProject) *string { - if v == nil { - return nil - } - return v.Href - }).(pulumi.StringPtrOutput) +func (i *serviceProfileAccountPtrType) ToServiceProfileAccountPtrOutput() ServiceProfileAccountPtrOutput { + return i.ToServiceProfileAccountPtrOutputWithContext(context.Background()) } -// Project Id -func (o ConnectionProjectPtrOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionProject) *string { - if v == nil { - return nil - } - return v.ProjectId - }).(pulumi.StringPtrOutput) +func (i *serviceProfileAccountPtrType) ToServiceProfileAccountPtrOutputWithContext(ctx context.Context) ServiceProfileAccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccountPtrOutput) } -type ConnectionRedundancy struct { - // Redundancy group identifier - Group *string `pulumi:"group"` - // Priority type- PRIMARY, SECONDARY - Priority *string `pulumi:"priority"` +func (i *serviceProfileAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileAccount] { + return pulumix.Output[*ServiceProfileAccount]{ + OutputState: i.ToServiceProfileAccountPtrOutputWithContext(ctx).OutputState, + } } -// ConnectionRedundancyInput is an input type that accepts ConnectionRedundancyArgs and ConnectionRedundancyOutput values. -// You can construct a concrete instance of `ConnectionRedundancyInput` via: -// -// ConnectionRedundancyArgs{...} -type ConnectionRedundancyInput interface { - pulumi.Input +type ServiceProfileAccountOutput struct{ *pulumi.OutputState } - ToConnectionRedundancyOutput() ConnectionRedundancyOutput - ToConnectionRedundancyOutputWithContext(context.Context) ConnectionRedundancyOutput +func (ServiceProfileAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileAccount)(nil)).Elem() } -type ConnectionRedundancyArgs struct { - // Redundancy group identifier - Group pulumi.StringPtrInput `pulumi:"group"` - // Priority type- PRIMARY, SECONDARY - Priority pulumi.StringPtrInput `pulumi:"priority"` +func (o ServiceProfileAccountOutput) ToServiceProfileAccountOutput() ServiceProfileAccountOutput { + return o } -func (ConnectionRedundancyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionRedundancy)(nil)).Elem() +func (o ServiceProfileAccountOutput) ToServiceProfileAccountOutputWithContext(ctx context.Context) ServiceProfileAccountOutput { + return o } -func (i ConnectionRedundancyArgs) ToConnectionRedundancyOutput() ConnectionRedundancyOutput { - return i.ToConnectionRedundancyOutputWithContext(context.Background()) +func (o ServiceProfileAccountOutput) ToServiceProfileAccountPtrOutput() ServiceProfileAccountPtrOutput { + return o.ToServiceProfileAccountPtrOutputWithContext(context.Background()) } -func (i ConnectionRedundancyArgs) ToConnectionRedundancyOutputWithContext(ctx context.Context) ConnectionRedundancyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionRedundancyOutput) +func (o ServiceProfileAccountOutput) ToServiceProfileAccountPtrOutputWithContext(ctx context.Context) ServiceProfileAccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileAccount) *ServiceProfileAccount { + return &v + }).(ServiceProfileAccountPtrOutput) } -func (i ConnectionRedundancyArgs) ToConnectionRedundancyPtrOutput() ConnectionRedundancyPtrOutput { - return i.ToConnectionRedundancyPtrOutputWithContext(context.Background()) +func (o ServiceProfileAccountOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileAccount] { + return pulumix.Output[ServiceProfileAccount]{ + OutputState: o.OutputState, + } } -func (i ConnectionRedundancyArgs) ToConnectionRedundancyPtrOutputWithContext(ctx context.Context) ConnectionRedundancyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionRedundancyOutput).ToConnectionRedundancyPtrOutputWithContext(ctx) +// Account Name +func (o ServiceProfileAccountOutput) AccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileAccount) *string { return v.AccountName }).(pulumi.StringPtrOutput) } -// ConnectionRedundancyPtrInput is an input type that accepts ConnectionRedundancyArgs, ConnectionRedundancyPtr and ConnectionRedundancyPtrOutput values. -// You can construct a concrete instance of `ConnectionRedundancyPtrInput` via: -// -// ConnectionRedundancyArgs{...} -// -// or: -// -// nil -type ConnectionRedundancyPtrInput interface { - pulumi.Input +// Account Number +func (o ServiceProfileAccountOutput) AccountNumber() pulumi.IntPtrOutput { + return o.ApplyT(func(v ServiceProfileAccount) *int { return v.AccountNumber }).(pulumi.IntPtrOutput) +} - ToConnectionRedundancyPtrOutput() ConnectionRedundancyPtrOutput - ToConnectionRedundancyPtrOutputWithContext(context.Context) ConnectionRedundancyPtrOutput +// Global Customer organization identifier +func (o ServiceProfileAccountOutput) GlobalCustId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileAccount) *string { return v.GlobalCustId }).(pulumi.StringPtrOutput) } -type connectionRedundancyPtrType ConnectionRedundancyArgs +// Global organization identifier +func (o ServiceProfileAccountOutput) GlobalOrgId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileAccount) *string { return v.GlobalOrgId }).(pulumi.StringPtrOutput) +} -func ConnectionRedundancyPtr(v *ConnectionRedundancyArgs) ConnectionRedundancyPtrInput { - return (*connectionRedundancyPtrType)(v) +// Global organization name +func (o ServiceProfileAccountOutput) GlobalOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileAccount) *string { return v.GlobalOrganizationName }).(pulumi.StringPtrOutput) } -func (*connectionRedundancyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionRedundancy)(nil)).Elem() +// Customer organization identifier +func (o ServiceProfileAccountOutput) OrgId() pulumi.IntPtrOutput { + return o.ApplyT(func(v ServiceProfileAccount) *int { return v.OrgId }).(pulumi.IntPtrOutput) } -func (i *connectionRedundancyPtrType) ToConnectionRedundancyPtrOutput() ConnectionRedundancyPtrOutput { - return i.ToConnectionRedundancyPtrOutputWithContext(context.Background()) +// Customer organization name +func (o ServiceProfileAccountOutput) OrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileAccount) *string { return v.OrganizationName }).(pulumi.StringPtrOutput) } -func (i *connectionRedundancyPtrType) ToConnectionRedundancyPtrOutputWithContext(ctx context.Context) ConnectionRedundancyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionRedundancyPtrOutput) +// Enterprise datastore id +func (o ServiceProfileAccountOutput) UcmId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileAccount) *string { return v.UcmId }).(pulumi.StringPtrOutput) } -type ConnectionRedundancyOutput struct{ *pulumi.OutputState } +type ServiceProfileAccountPtrOutput struct{ *pulumi.OutputState } -func (ConnectionRedundancyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionRedundancy)(nil)).Elem() +func (ServiceProfileAccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileAccount)(nil)).Elem() } -func (o ConnectionRedundancyOutput) ToConnectionRedundancyOutput() ConnectionRedundancyOutput { +func (o ServiceProfileAccountPtrOutput) ToServiceProfileAccountPtrOutput() ServiceProfileAccountPtrOutput { return o } -func (o ConnectionRedundancyOutput) ToConnectionRedundancyOutputWithContext(ctx context.Context) ConnectionRedundancyOutput { +func (o ServiceProfileAccountPtrOutput) ToServiceProfileAccountPtrOutputWithContext(ctx context.Context) ServiceProfileAccountPtrOutput { return o } -func (o ConnectionRedundancyOutput) ToConnectionRedundancyPtrOutput() ConnectionRedundancyPtrOutput { - return o.ToConnectionRedundancyPtrOutputWithContext(context.Background()) +func (o ServiceProfileAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileAccount] { + return pulumix.Output[*ServiceProfileAccount]{ + OutputState: o.OutputState, + } } -func (o ConnectionRedundancyOutput) ToConnectionRedundancyPtrOutputWithContext(ctx context.Context) ConnectionRedundancyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionRedundancy) *ConnectionRedundancy { - return &v - }).(ConnectionRedundancyPtrOutput) +func (o ServiceProfileAccountPtrOutput) Elem() ServiceProfileAccountOutput { + return o.ApplyT(func(v *ServiceProfileAccount) ServiceProfileAccount { + if v != nil { + return *v + } + var ret ServiceProfileAccount + return ret + }).(ServiceProfileAccountOutput) } -// Redundancy group identifier -func (o ConnectionRedundancyOutput) Group() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionRedundancy) *string { return v.Group }).(pulumi.StringPtrOutput) +// Account Name +func (o ServiceProfileAccountPtrOutput) AccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccount) *string { + if v == nil { + return nil + } + return v.AccountName + }).(pulumi.StringPtrOutput) } -// Priority type- PRIMARY, SECONDARY -func (o ConnectionRedundancyOutput) Priority() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionRedundancy) *string { return v.Priority }).(pulumi.StringPtrOutput) +// Account Number +func (o ServiceProfileAccountPtrOutput) AccountNumber() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccount) *int { + if v == nil { + return nil + } + return v.AccountNumber + }).(pulumi.IntPtrOutput) } -type ConnectionRedundancyPtrOutput struct{ *pulumi.OutputState } - -func (ConnectionRedundancyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionRedundancy)(nil)).Elem() +// Global Customer organization identifier +func (o ServiceProfileAccountPtrOutput) GlobalCustId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccount) *string { + if v == nil { + return nil + } + return v.GlobalCustId + }).(pulumi.StringPtrOutput) } -func (o ConnectionRedundancyPtrOutput) ToConnectionRedundancyPtrOutput() ConnectionRedundancyPtrOutput { - return o +// Global organization identifier +func (o ServiceProfileAccountPtrOutput) GlobalOrgId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccount) *string { + if v == nil { + return nil + } + return v.GlobalOrgId + }).(pulumi.StringPtrOutput) } -func (o ConnectionRedundancyPtrOutput) ToConnectionRedundancyPtrOutputWithContext(ctx context.Context) ConnectionRedundancyPtrOutput { - return o +// Global organization name +func (o ServiceProfileAccountPtrOutput) GlobalOrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccount) *string { + if v == nil { + return nil + } + return v.GlobalOrganizationName + }).(pulumi.StringPtrOutput) } -func (o ConnectionRedundancyPtrOutput) Elem() ConnectionRedundancyOutput { - return o.ApplyT(func(v *ConnectionRedundancy) ConnectionRedundancy { - if v != nil { - return *v +// Customer organization identifier +func (o ServiceProfileAccountPtrOutput) OrgId() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccount) *int { + if v == nil { + return nil } - var ret ConnectionRedundancy - return ret - }).(ConnectionRedundancyOutput) + return v.OrgId + }).(pulumi.IntPtrOutput) } -// Redundancy group identifier -func (o ConnectionRedundancyPtrOutput) Group() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionRedundancy) *string { +// Customer organization name +func (o ServiceProfileAccountPtrOutput) OrganizationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccount) *string { if v == nil { return nil } - return v.Group + return v.OrganizationName }).(pulumi.StringPtrOutput) } -// Priority type- PRIMARY, SECONDARY -func (o ConnectionRedundancyPtrOutput) Priority() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionRedundancy) *string { +// Enterprise datastore id +func (o ServiceProfileAccountPtrOutput) UcmId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileAccount) *string { if v == nil { return nil } - return v.Priority + return v.UcmId }).(pulumi.StringPtrOutput) } -type ConnectionZSide struct { - // Point of access details - AccessPoint *ConnectionZSideAccessPoint `pulumi:"accessPoint"` - // Connection side additional information - AdditionalInfo []ConnectionZSideAdditionalInfo `pulumi:"additionalInfo"` - // For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets - ServiceToken *ConnectionZSideServiceToken `pulumi:"serviceToken"` +type ServiceProfileChangeLog struct { + CreatedBy *string `pulumi:"createdBy"` + CreatedByEmail *string `pulumi:"createdByEmail"` + CreatedByFullName *string `pulumi:"createdByFullName"` + CreatedDateTime *string `pulumi:"createdDateTime"` + DeletedBy *string `pulumi:"deletedBy"` + DeletedByEmail *string `pulumi:"deletedByEmail"` + DeletedByFullName *string `pulumi:"deletedByFullName"` + DeletedDateTime *string `pulumi:"deletedDateTime"` + UpdatedBy *string `pulumi:"updatedBy"` + UpdatedByEmail *string `pulumi:"updatedByEmail"` + UpdatedByFullName *string `pulumi:"updatedByFullName"` + UpdatedDateTime *string `pulumi:"updatedDateTime"` } -// ConnectionZSideInput is an input type that accepts ConnectionZSideArgs and ConnectionZSideOutput values. -// You can construct a concrete instance of `ConnectionZSideInput` via: +// ServiceProfileChangeLogInput is an input type that accepts ServiceProfileChangeLogArgs and ServiceProfileChangeLogOutput values. +// You can construct a concrete instance of `ServiceProfileChangeLogInput` via: // -// ConnectionZSideArgs{...} -type ConnectionZSideInput interface { +// ServiceProfileChangeLogArgs{...} +type ServiceProfileChangeLogInput interface { pulumi.Input - ToConnectionZSideOutput() ConnectionZSideOutput - ToConnectionZSideOutputWithContext(context.Context) ConnectionZSideOutput + ToServiceProfileChangeLogOutput() ServiceProfileChangeLogOutput + ToServiceProfileChangeLogOutputWithContext(context.Context) ServiceProfileChangeLogOutput } -type ConnectionZSideArgs struct { - // Point of access details - AccessPoint ConnectionZSideAccessPointPtrInput `pulumi:"accessPoint"` - // Connection side additional information - AdditionalInfo ConnectionZSideAdditionalInfoArrayInput `pulumi:"additionalInfo"` - // For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets - ServiceToken ConnectionZSideServiceTokenPtrInput `pulumi:"serviceToken"` +type ServiceProfileChangeLogArgs struct { + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + CreatedByEmail pulumi.StringPtrInput `pulumi:"createdByEmail"` + CreatedByFullName pulumi.StringPtrInput `pulumi:"createdByFullName"` + CreatedDateTime pulumi.StringPtrInput `pulumi:"createdDateTime"` + DeletedBy pulumi.StringPtrInput `pulumi:"deletedBy"` + DeletedByEmail pulumi.StringPtrInput `pulumi:"deletedByEmail"` + DeletedByFullName pulumi.StringPtrInput `pulumi:"deletedByFullName"` + DeletedDateTime pulumi.StringPtrInput `pulumi:"deletedDateTime"` + UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` + UpdatedByEmail pulumi.StringPtrInput `pulumi:"updatedByEmail"` + UpdatedByFullName pulumi.StringPtrInput `pulumi:"updatedByFullName"` + UpdatedDateTime pulumi.StringPtrInput `pulumi:"updatedDateTime"` } -func (ConnectionZSideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSide)(nil)).Elem() +func (ServiceProfileChangeLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileChangeLog)(nil)).Elem() } -func (i ConnectionZSideArgs) ToConnectionZSideOutput() ConnectionZSideOutput { - return i.ToConnectionZSideOutputWithContext(context.Background()) +func (i ServiceProfileChangeLogArgs) ToServiceProfileChangeLogOutput() ServiceProfileChangeLogOutput { + return i.ToServiceProfileChangeLogOutputWithContext(context.Background()) } -func (i ConnectionZSideArgs) ToConnectionZSideOutputWithContext(ctx context.Context) ConnectionZSideOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideOutput) +func (i ServiceProfileChangeLogArgs) ToServiceProfileChangeLogOutputWithContext(ctx context.Context) ServiceProfileChangeLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileChangeLogOutput) } -func (i ConnectionZSideArgs) ToConnectionZSidePtrOutput() ConnectionZSidePtrOutput { - return i.ToConnectionZSidePtrOutputWithContext(context.Background()) +func (i ServiceProfileChangeLogArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileChangeLog] { + return pulumix.Output[ServiceProfileChangeLog]{ + OutputState: i.ToServiceProfileChangeLogOutputWithContext(ctx).OutputState, + } } -func (i ConnectionZSideArgs) ToConnectionZSidePtrOutputWithContext(ctx context.Context) ConnectionZSidePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideOutput).ToConnectionZSidePtrOutputWithContext(ctx) +func (i ServiceProfileChangeLogArgs) ToServiceProfileChangeLogPtrOutput() ServiceProfileChangeLogPtrOutput { + return i.ToServiceProfileChangeLogPtrOutputWithContext(context.Background()) } -// ConnectionZSidePtrInput is an input type that accepts ConnectionZSideArgs, ConnectionZSidePtr and ConnectionZSidePtrOutput values. -// You can construct a concrete instance of `ConnectionZSidePtrInput` via: +func (i ServiceProfileChangeLogArgs) ToServiceProfileChangeLogPtrOutputWithContext(ctx context.Context) ServiceProfileChangeLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileChangeLogOutput).ToServiceProfileChangeLogPtrOutputWithContext(ctx) +} + +// ServiceProfileChangeLogPtrInput is an input type that accepts ServiceProfileChangeLogArgs, ServiceProfileChangeLogPtr and ServiceProfileChangeLogPtrOutput values. +// You can construct a concrete instance of `ServiceProfileChangeLogPtrInput` via: // -// ConnectionZSideArgs{...} +// ServiceProfileChangeLogArgs{...} // // or: // // nil -type ConnectionZSidePtrInput interface { +type ServiceProfileChangeLogPtrInput interface { pulumi.Input - ToConnectionZSidePtrOutput() ConnectionZSidePtrOutput - ToConnectionZSidePtrOutputWithContext(context.Context) ConnectionZSidePtrOutput + ToServiceProfileChangeLogPtrOutput() ServiceProfileChangeLogPtrOutput + ToServiceProfileChangeLogPtrOutputWithContext(context.Context) ServiceProfileChangeLogPtrOutput } -type connectionZSidePtrType ConnectionZSideArgs +type serviceProfileChangeLogPtrType ServiceProfileChangeLogArgs -func ConnectionZSidePtr(v *ConnectionZSideArgs) ConnectionZSidePtrInput { - return (*connectionZSidePtrType)(v) +func ServiceProfileChangeLogPtr(v *ServiceProfileChangeLogArgs) ServiceProfileChangeLogPtrInput { + return (*serviceProfileChangeLogPtrType)(v) } -func (*connectionZSidePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSide)(nil)).Elem() +func (*serviceProfileChangeLogPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileChangeLog)(nil)).Elem() } -func (i *connectionZSidePtrType) ToConnectionZSidePtrOutput() ConnectionZSidePtrOutput { - return i.ToConnectionZSidePtrOutputWithContext(context.Background()) +func (i *serviceProfileChangeLogPtrType) ToServiceProfileChangeLogPtrOutput() ServiceProfileChangeLogPtrOutput { + return i.ToServiceProfileChangeLogPtrOutputWithContext(context.Background()) } -func (i *connectionZSidePtrType) ToConnectionZSidePtrOutputWithContext(ctx context.Context) ConnectionZSidePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSidePtrOutput) +func (i *serviceProfileChangeLogPtrType) ToServiceProfileChangeLogPtrOutputWithContext(ctx context.Context) ServiceProfileChangeLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileChangeLogPtrOutput) } -type ConnectionZSideOutput struct{ *pulumi.OutputState } +func (i *serviceProfileChangeLogPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileChangeLog] { + return pulumix.Output[*ServiceProfileChangeLog]{ + OutputState: i.ToServiceProfileChangeLogPtrOutputWithContext(ctx).OutputState, + } +} -func (ConnectionZSideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSide)(nil)).Elem() +type ServiceProfileChangeLogOutput struct{ *pulumi.OutputState } + +func (ServiceProfileChangeLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileChangeLog)(nil)).Elem() } -func (o ConnectionZSideOutput) ToConnectionZSideOutput() ConnectionZSideOutput { +func (o ServiceProfileChangeLogOutput) ToServiceProfileChangeLogOutput() ServiceProfileChangeLogOutput { return o } -func (o ConnectionZSideOutput) ToConnectionZSideOutputWithContext(ctx context.Context) ConnectionZSideOutput { +func (o ServiceProfileChangeLogOutput) ToServiceProfileChangeLogOutputWithContext(ctx context.Context) ServiceProfileChangeLogOutput { return o } -func (o ConnectionZSideOutput) ToConnectionZSidePtrOutput() ConnectionZSidePtrOutput { - return o.ToConnectionZSidePtrOutputWithContext(context.Background()) +func (o ServiceProfileChangeLogOutput) ToServiceProfileChangeLogPtrOutput() ServiceProfileChangeLogPtrOutput { + return o.ToServiceProfileChangeLogPtrOutputWithContext(context.Background()) } -func (o ConnectionZSideOutput) ToConnectionZSidePtrOutputWithContext(ctx context.Context) ConnectionZSidePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSide) *ConnectionZSide { +func (o ServiceProfileChangeLogOutput) ToServiceProfileChangeLogPtrOutputWithContext(ctx context.Context) ServiceProfileChangeLogPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileChangeLog) *ServiceProfileChangeLog { return &v - }).(ConnectionZSidePtrOutput) -} - -// Point of access details -func (o ConnectionZSideOutput) AccessPoint() ConnectionZSideAccessPointPtrOutput { - return o.ApplyT(func(v ConnectionZSide) *ConnectionZSideAccessPoint { return v.AccessPoint }).(ConnectionZSideAccessPointPtrOutput) -} - -// Connection side additional information -func (o ConnectionZSideOutput) AdditionalInfo() ConnectionZSideAdditionalInfoArrayOutput { - return o.ApplyT(func(v ConnectionZSide) []ConnectionZSideAdditionalInfo { return v.AdditionalInfo }).(ConnectionZSideAdditionalInfoArrayOutput) -} - -// For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets -func (o ConnectionZSideOutput) ServiceToken() ConnectionZSideServiceTokenPtrOutput { - return o.ApplyT(func(v ConnectionZSide) *ConnectionZSideServiceToken { return v.ServiceToken }).(ConnectionZSideServiceTokenPtrOutput) -} - -type ConnectionZSidePtrOutput struct{ *pulumi.OutputState } - -func (ConnectionZSidePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSide)(nil)).Elem() -} - -func (o ConnectionZSidePtrOutput) ToConnectionZSidePtrOutput() ConnectionZSidePtrOutput { - return o + }).(ServiceProfileChangeLogPtrOutput) } -func (o ConnectionZSidePtrOutput) ToConnectionZSidePtrOutputWithContext(ctx context.Context) ConnectionZSidePtrOutput { - return o +func (o ServiceProfileChangeLogOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileChangeLog] { + return pulumix.Output[ServiceProfileChangeLog]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSidePtrOutput) Elem() ConnectionZSideOutput { - return o.ApplyT(func(v *ConnectionZSide) ConnectionZSide { - if v != nil { - return *v - } - var ret ConnectionZSide - return ret - }).(ConnectionZSideOutput) +func (o ServiceProfileChangeLogOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) } -// Point of access details -func (o ConnectionZSidePtrOutput) AccessPoint() ConnectionZSideAccessPointPtrOutput { - return o.ApplyT(func(v *ConnectionZSide) *ConnectionZSideAccessPoint { - if v == nil { - return nil - } - return v.AccessPoint - }).(ConnectionZSideAccessPointPtrOutput) +func (o ServiceProfileChangeLogOutput) CreatedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.CreatedByEmail }).(pulumi.StringPtrOutput) } -// Connection side additional information -func (o ConnectionZSidePtrOutput) AdditionalInfo() ConnectionZSideAdditionalInfoArrayOutput { - return o.ApplyT(func(v *ConnectionZSide) []ConnectionZSideAdditionalInfo { - if v == nil { - return nil - } - return v.AdditionalInfo - }).(ConnectionZSideAdditionalInfoArrayOutput) +func (o ServiceProfileChangeLogOutput) CreatedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.CreatedByFullName }).(pulumi.StringPtrOutput) } -// For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets -func (o ConnectionZSidePtrOutput) ServiceToken() ConnectionZSideServiceTokenPtrOutput { - return o.ApplyT(func(v *ConnectionZSide) *ConnectionZSideServiceToken { - if v == nil { - return nil - } - return v.ServiceToken - }).(ConnectionZSideServiceTokenPtrOutput) +func (o ServiceProfileChangeLogOutput) CreatedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.CreatedDateTime }).(pulumi.StringPtrOutput) } -type ConnectionZSideAccessPoint struct { - // Customer account information that is associated with this connection - Account *ConnectionZSideAccessPointAccount `pulumi:"account"` - AuthenticationKey *string `pulumi:"authenticationKey"` - Gateway *ConnectionZSideAccessPointGateway `pulumi:"gateway"` - Interface *ConnectionZSideAccessPointInterface `pulumi:"interface"` - LinkProtocol *ConnectionZSideAccessPointLinkProtocol `pulumi:"linkProtocol"` - Location *ConnectionZSideAccessPointLocation `pulumi:"location"` - PeeringType *string `pulumi:"peeringType"` - Port *ConnectionZSideAccessPointPort `pulumi:"port"` - Profile *ConnectionZSideAccessPointProfile `pulumi:"profile"` - ProviderConnectionId *string `pulumi:"providerConnectionId"` - RoutingProtocols []ConnectionZSideAccessPointRoutingProtocol `pulumi:"routingProtocols"` - SellerRegion *string `pulumi:"sellerRegion"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type *string `pulumi:"type"` - VirtualDevice *ConnectionZSideAccessPointVirtualDevice `pulumi:"virtualDevice"` +func (o ServiceProfileChangeLogOutput) DeletedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.DeletedBy }).(pulumi.StringPtrOutput) } -// ConnectionZSideAccessPointInput is an input type that accepts ConnectionZSideAccessPointArgs and ConnectionZSideAccessPointOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointInput` via: -// -// ConnectionZSideAccessPointArgs{...} -type ConnectionZSideAccessPointInput interface { - pulumi.Input - - ToConnectionZSideAccessPointOutput() ConnectionZSideAccessPointOutput - ToConnectionZSideAccessPointOutputWithContext(context.Context) ConnectionZSideAccessPointOutput +func (o ServiceProfileChangeLogOutput) DeletedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.DeletedByEmail }).(pulumi.StringPtrOutput) } -type ConnectionZSideAccessPointArgs struct { - // Customer account information that is associated with this connection - Account ConnectionZSideAccessPointAccountPtrInput `pulumi:"account"` - AuthenticationKey pulumi.StringPtrInput `pulumi:"authenticationKey"` - Gateway ConnectionZSideAccessPointGatewayPtrInput `pulumi:"gateway"` - Interface ConnectionZSideAccessPointInterfacePtrInput `pulumi:"interface"` - LinkProtocol ConnectionZSideAccessPointLinkProtocolPtrInput `pulumi:"linkProtocol"` - Location ConnectionZSideAccessPointLocationPtrInput `pulumi:"location"` - PeeringType pulumi.StringPtrInput `pulumi:"peeringType"` - Port ConnectionZSideAccessPointPortPtrInput `pulumi:"port"` - Profile ConnectionZSideAccessPointProfilePtrInput `pulumi:"profile"` - ProviderConnectionId pulumi.StringPtrInput `pulumi:"providerConnectionId"` - RoutingProtocols ConnectionZSideAccessPointRoutingProtocolArrayInput `pulumi:"routingProtocols"` - SellerRegion pulumi.StringPtrInput `pulumi:"sellerRegion"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringPtrInput `pulumi:"type"` - VirtualDevice ConnectionZSideAccessPointVirtualDevicePtrInput `pulumi:"virtualDevice"` +func (o ServiceProfileChangeLogOutput) DeletedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.DeletedByFullName }).(pulumi.StringPtrOutput) } -func (ConnectionZSideAccessPointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPoint)(nil)).Elem() +func (o ServiceProfileChangeLogOutput) DeletedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.DeletedDateTime }).(pulumi.StringPtrOutput) } -func (i ConnectionZSideAccessPointArgs) ToConnectionZSideAccessPointOutput() ConnectionZSideAccessPointOutput { - return i.ToConnectionZSideAccessPointOutputWithContext(context.Background()) +func (o ServiceProfileChangeLogOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) } -func (i ConnectionZSideAccessPointArgs) ToConnectionZSideAccessPointOutputWithContext(ctx context.Context) ConnectionZSideAccessPointOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointOutput) +func (o ServiceProfileChangeLogOutput) UpdatedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.UpdatedByEmail }).(pulumi.StringPtrOutput) } -func (i ConnectionZSideAccessPointArgs) ToConnectionZSideAccessPointPtrOutput() ConnectionZSideAccessPointPtrOutput { - return i.ToConnectionZSideAccessPointPtrOutputWithContext(context.Background()) +func (o ServiceProfileChangeLogOutput) UpdatedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.UpdatedByFullName }).(pulumi.StringPtrOutput) } -func (i ConnectionZSideAccessPointArgs) ToConnectionZSideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointOutput).ToConnectionZSideAccessPointPtrOutputWithContext(ctx) +func (o ServiceProfileChangeLogOutput) UpdatedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.UpdatedDateTime }).(pulumi.StringPtrOutput) } -// ConnectionZSideAccessPointPtrInput is an input type that accepts ConnectionZSideAccessPointArgs, ConnectionZSideAccessPointPtr and ConnectionZSideAccessPointPtrOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointPtrInput` via: -// -// ConnectionZSideAccessPointArgs{...} -// -// or: -// -// nil -type ConnectionZSideAccessPointPtrInput interface { - pulumi.Input +type ServiceProfileChangeLogPtrOutput struct{ *pulumi.OutputState } - ToConnectionZSideAccessPointPtrOutput() ConnectionZSideAccessPointPtrOutput - ToConnectionZSideAccessPointPtrOutputWithContext(context.Context) ConnectionZSideAccessPointPtrOutput +func (ServiceProfileChangeLogPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileChangeLog)(nil)).Elem() } -type connectionZSideAccessPointPtrType ConnectionZSideAccessPointArgs +func (o ServiceProfileChangeLogPtrOutput) ToServiceProfileChangeLogPtrOutput() ServiceProfileChangeLogPtrOutput { + return o +} -func ConnectionZSideAccessPointPtr(v *ConnectionZSideAccessPointArgs) ConnectionZSideAccessPointPtrInput { - return (*connectionZSideAccessPointPtrType)(v) +func (o ServiceProfileChangeLogPtrOutput) ToServiceProfileChangeLogPtrOutputWithContext(ctx context.Context) ServiceProfileChangeLogPtrOutput { + return o } -func (*connectionZSideAccessPointPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPoint)(nil)).Elem() +func (o ServiceProfileChangeLogPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileChangeLog] { + return pulumix.Output[*ServiceProfileChangeLog]{ + OutputState: o.OutputState, + } } -func (i *connectionZSideAccessPointPtrType) ToConnectionZSideAccessPointPtrOutput() ConnectionZSideAccessPointPtrOutput { - return i.ToConnectionZSideAccessPointPtrOutputWithContext(context.Background()) +func (o ServiceProfileChangeLogPtrOutput) Elem() ServiceProfileChangeLogOutput { + return o.ApplyT(func(v *ServiceProfileChangeLog) ServiceProfileChangeLog { + if v != nil { + return *v + } + var ret ServiceProfileChangeLog + return ret + }).(ServiceProfileChangeLogOutput) } -func (i *connectionZSideAccessPointPtrType) ToConnectionZSideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointPtrOutput) +func (o ServiceProfileChangeLogPtrOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileChangeLog) *string { + if v == nil { + return nil + } + return v.CreatedBy + }).(pulumi.StringPtrOutput) } -type ConnectionZSideAccessPointOutput struct{ *pulumi.OutputState } +func (o ServiceProfileChangeLogPtrOutput) CreatedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileChangeLog) *string { + if v == nil { + return nil + } + return v.CreatedByEmail + }).(pulumi.StringPtrOutput) +} -func (ConnectionZSideAccessPointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPoint)(nil)).Elem() +func (o ServiceProfileChangeLogPtrOutput) CreatedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileChangeLog) *string { + if v == nil { + return nil + } + return v.CreatedByFullName + }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointOutput) ToConnectionZSideAccessPointOutput() ConnectionZSideAccessPointOutput { - return o +func (o ServiceProfileChangeLogPtrOutput) CreatedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileChangeLog) *string { + if v == nil { + return nil + } + return v.CreatedDateTime + }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointOutput) ToConnectionZSideAccessPointOutputWithContext(ctx context.Context) ConnectionZSideAccessPointOutput { - return o +func (o ServiceProfileChangeLogPtrOutput) DeletedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileChangeLog) *string { + if v == nil { + return nil + } + return v.DeletedBy + }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointOutput) ToConnectionZSideAccessPointPtrOutput() ConnectionZSideAccessPointPtrOutput { - return o.ToConnectionZSideAccessPointPtrOutputWithContext(context.Background()) +func (o ServiceProfileChangeLogPtrOutput) DeletedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileChangeLog) *string { + if v == nil { + return nil + } + return v.DeletedByEmail + }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointOutput) ToConnectionZSideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPoint) *ConnectionZSideAccessPoint { - return &v - }).(ConnectionZSideAccessPointPtrOutput) +func (o ServiceProfileChangeLogPtrOutput) DeletedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileChangeLog) *string { + if v == nil { + return nil + } + return v.DeletedByFullName + }).(pulumi.StringPtrOutput) } -// Customer account information that is associated with this connection -func (o ConnectionZSideAccessPointOutput) Account() ConnectionZSideAccessPointAccountPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointAccount { return v.Account }).(ConnectionZSideAccessPointAccountPtrOutput) +func (o ServiceProfileChangeLogPtrOutput) DeletedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileChangeLog) *string { + if v == nil { + return nil + } + return v.DeletedDateTime + }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointOutput) AuthenticationKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) *string { return v.AuthenticationKey }).(pulumi.StringPtrOutput) +func (o ServiceProfileChangeLogPtrOutput) UpdatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileChangeLog) *string { + if v == nil { + return nil + } + return v.UpdatedBy + }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointOutput) Gateway() ConnectionZSideAccessPointGatewayPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointGateway { return v.Gateway }).(ConnectionZSideAccessPointGatewayPtrOutput) +func (o ServiceProfileChangeLogPtrOutput) UpdatedByEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileChangeLog) *string { + if v == nil { + return nil + } + return v.UpdatedByEmail + }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointOutput) Interface() ConnectionZSideAccessPointInterfacePtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointInterface { return v.Interface }).(ConnectionZSideAccessPointInterfacePtrOutput) +func (o ServiceProfileChangeLogPtrOutput) UpdatedByFullName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileChangeLog) *string { + if v == nil { + return nil + } + return v.UpdatedByFullName + }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointOutput) LinkProtocol() ConnectionZSideAccessPointLinkProtocolPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointLinkProtocol { return v.LinkProtocol }).(ConnectionZSideAccessPointLinkProtocolPtrOutput) +func (o ServiceProfileChangeLogPtrOutput) UpdatedDateTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileChangeLog) *string { + if v == nil { + return nil + } + return v.UpdatedDateTime + }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointOutput) Location() ConnectionZSideAccessPointLocationPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointLocation { return v.Location }).(ConnectionZSideAccessPointLocationPtrOutput) +type ServiceProfileCustomField struct { + // Required field + CaptureInEmail *bool `pulumi:"captureInEmail"` + // Data type + DataType string `pulumi:"dataType"` + // Description + Description *string `pulumi:"description"` + // Label + Label string `pulumi:"label"` + // Options + Options []string `pulumi:"options"` + // Required field + Required bool `pulumi:"required"` } -func (o ConnectionZSideAccessPointOutput) PeeringType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) *string { return v.PeeringType }).(pulumi.StringPtrOutput) +// ServiceProfileCustomFieldInput is an input type that accepts ServiceProfileCustomFieldArgs and ServiceProfileCustomFieldOutput values. +// You can construct a concrete instance of `ServiceProfileCustomFieldInput` via: +// +// ServiceProfileCustomFieldArgs{...} +type ServiceProfileCustomFieldInput interface { + pulumi.Input + + ToServiceProfileCustomFieldOutput() ServiceProfileCustomFieldOutput + ToServiceProfileCustomFieldOutputWithContext(context.Context) ServiceProfileCustomFieldOutput } -func (o ConnectionZSideAccessPointOutput) Port() ConnectionZSideAccessPointPortPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointPort { return v.Port }).(ConnectionZSideAccessPointPortPtrOutput) +type ServiceProfileCustomFieldArgs struct { + // Required field + CaptureInEmail pulumi.BoolPtrInput `pulumi:"captureInEmail"` + // Data type + DataType pulumi.StringInput `pulumi:"dataType"` + // Description + Description pulumi.StringPtrInput `pulumi:"description"` + // Label + Label pulumi.StringInput `pulumi:"label"` + // Options + Options pulumi.StringArrayInput `pulumi:"options"` + // Required field + Required pulumi.BoolInput `pulumi:"required"` } -func (o ConnectionZSideAccessPointOutput) Profile() ConnectionZSideAccessPointProfilePtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointProfile { return v.Profile }).(ConnectionZSideAccessPointProfilePtrOutput) +func (ServiceProfileCustomFieldArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileCustomField)(nil)).Elem() } -func (o ConnectionZSideAccessPointOutput) ProviderConnectionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) *string { return v.ProviderConnectionId }).(pulumi.StringPtrOutput) +func (i ServiceProfileCustomFieldArgs) ToServiceProfileCustomFieldOutput() ServiceProfileCustomFieldOutput { + return i.ToServiceProfileCustomFieldOutputWithContext(context.Background()) } -func (o ConnectionZSideAccessPointOutput) RoutingProtocols() ConnectionZSideAccessPointRoutingProtocolArrayOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) []ConnectionZSideAccessPointRoutingProtocol { - return v.RoutingProtocols - }).(ConnectionZSideAccessPointRoutingProtocolArrayOutput) +func (i ServiceProfileCustomFieldArgs) ToServiceProfileCustomFieldOutputWithContext(ctx context.Context) ServiceProfileCustomFieldOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileCustomFieldOutput) } -func (o ConnectionZSideAccessPointOutput) SellerRegion() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) *string { return v.SellerRegion }).(pulumi.StringPtrOutput) +func (i ServiceProfileCustomFieldArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileCustomField] { + return pulumix.Output[ServiceProfileCustomField]{ + OutputState: i.ToServiceProfileCustomFieldOutputWithContext(ctx).OutputState, + } } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideAccessPointOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) *string { return v.Type }).(pulumi.StringPtrOutput) +// ServiceProfileCustomFieldArrayInput is an input type that accepts ServiceProfileCustomFieldArray and ServiceProfileCustomFieldArrayOutput values. +// You can construct a concrete instance of `ServiceProfileCustomFieldArrayInput` via: +// +// ServiceProfileCustomFieldArray{ ServiceProfileCustomFieldArgs{...} } +type ServiceProfileCustomFieldArrayInput interface { + pulumi.Input + + ToServiceProfileCustomFieldArrayOutput() ServiceProfileCustomFieldArrayOutput + ToServiceProfileCustomFieldArrayOutputWithContext(context.Context) ServiceProfileCustomFieldArrayOutput } -func (o ConnectionZSideAccessPointOutput) VirtualDevice() ConnectionZSideAccessPointVirtualDevicePtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPoint) *ConnectionZSideAccessPointVirtualDevice { return v.VirtualDevice }).(ConnectionZSideAccessPointVirtualDevicePtrOutput) +type ServiceProfileCustomFieldArray []ServiceProfileCustomFieldInput + +func (ServiceProfileCustomFieldArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfileCustomField)(nil)).Elem() } -type ConnectionZSideAccessPointPtrOutput struct{ *pulumi.OutputState } +func (i ServiceProfileCustomFieldArray) ToServiceProfileCustomFieldArrayOutput() ServiceProfileCustomFieldArrayOutput { + return i.ToServiceProfileCustomFieldArrayOutputWithContext(context.Background()) +} -func (ConnectionZSideAccessPointPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPoint)(nil)).Elem() +func (i ServiceProfileCustomFieldArray) ToServiceProfileCustomFieldArrayOutputWithContext(ctx context.Context) ServiceProfileCustomFieldArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileCustomFieldArrayOutput) } -func (o ConnectionZSideAccessPointPtrOutput) ToConnectionZSideAccessPointPtrOutput() ConnectionZSideAccessPointPtrOutput { - return o +func (i ServiceProfileCustomFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfileCustomField] { + return pulumix.Output[[]ServiceProfileCustomField]{ + OutputState: i.ToServiceProfileCustomFieldArrayOutputWithContext(ctx).OutputState, + } } -func (o ConnectionZSideAccessPointPtrOutput) ToConnectionZSideAccessPointPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPtrOutput { - return o +type ServiceProfileCustomFieldOutput struct{ *pulumi.OutputState } + +func (ServiceProfileCustomFieldOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileCustomField)(nil)).Elem() } -func (o ConnectionZSideAccessPointPtrOutput) Elem() ConnectionZSideAccessPointOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) ConnectionZSideAccessPoint { - if v != nil { - return *v - } - var ret ConnectionZSideAccessPoint - return ret - }).(ConnectionZSideAccessPointOutput) +func (o ServiceProfileCustomFieldOutput) ToServiceProfileCustomFieldOutput() ServiceProfileCustomFieldOutput { + return o } -// Customer account information that is associated with this connection -func (o ConnectionZSideAccessPointPtrOutput) Account() ConnectionZSideAccessPointAccountPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointAccount { - if v == nil { - return nil - } - return v.Account - }).(ConnectionZSideAccessPointAccountPtrOutput) +func (o ServiceProfileCustomFieldOutput) ToServiceProfileCustomFieldOutputWithContext(ctx context.Context) ServiceProfileCustomFieldOutput { + return o } -func (o ConnectionZSideAccessPointPtrOutput) AuthenticationKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) *string { - if v == nil { - return nil - } - return v.AuthenticationKey - }).(pulumi.StringPtrOutput) +func (o ServiceProfileCustomFieldOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileCustomField] { + return pulumix.Output[ServiceProfileCustomField]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointPtrOutput) Gateway() ConnectionZSideAccessPointGatewayPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointGateway { - if v == nil { - return nil - } - return v.Gateway - }).(ConnectionZSideAccessPointGatewayPtrOutput) +// Required field +func (o ServiceProfileCustomFieldOutput) CaptureInEmail() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileCustomField) *bool { return v.CaptureInEmail }).(pulumi.BoolPtrOutput) } -func (o ConnectionZSideAccessPointPtrOutput) Interface() ConnectionZSideAccessPointInterfacePtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointInterface { - if v == nil { - return nil - } - return v.Interface - }).(ConnectionZSideAccessPointInterfacePtrOutput) +// Data type +func (o ServiceProfileCustomFieldOutput) DataType() pulumi.StringOutput { + return o.ApplyT(func(v ServiceProfileCustomField) string { return v.DataType }).(pulumi.StringOutput) } -func (o ConnectionZSideAccessPointPtrOutput) LinkProtocol() ConnectionZSideAccessPointLinkProtocolPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointLinkProtocol { - if v == nil { - return nil - } - return v.LinkProtocol - }).(ConnectionZSideAccessPointLinkProtocolPtrOutput) +// Description +func (o ServiceProfileCustomFieldOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileCustomField) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointPtrOutput) Location() ConnectionZSideAccessPointLocationPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointLocation { - if v == nil { - return nil - } - return v.Location - }).(ConnectionZSideAccessPointLocationPtrOutput) +// Label +func (o ServiceProfileCustomFieldOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v ServiceProfileCustomField) string { return v.Label }).(pulumi.StringOutput) } -func (o ConnectionZSideAccessPointPtrOutput) PeeringType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) *string { - if v == nil { - return nil - } - return v.PeeringType - }).(pulumi.StringPtrOutput) +// Options +func (o ServiceProfileCustomFieldOutput) Options() pulumi.StringArrayOutput { + return o.ApplyT(func(v ServiceProfileCustomField) []string { return v.Options }).(pulumi.StringArrayOutput) } -func (o ConnectionZSideAccessPointPtrOutput) Port() ConnectionZSideAccessPointPortPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointPort { - if v == nil { - return nil - } - return v.Port - }).(ConnectionZSideAccessPointPortPtrOutput) +// Required field +func (o ServiceProfileCustomFieldOutput) Required() pulumi.BoolOutput { + return o.ApplyT(func(v ServiceProfileCustomField) bool { return v.Required }).(pulumi.BoolOutput) } -func (o ConnectionZSideAccessPointPtrOutput) Profile() ConnectionZSideAccessPointProfilePtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointProfile { - if v == nil { - return nil - } - return v.Profile - }).(ConnectionZSideAccessPointProfilePtrOutput) -} +type ServiceProfileCustomFieldArrayOutput struct{ *pulumi.OutputState } -func (o ConnectionZSideAccessPointPtrOutput) ProviderConnectionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) *string { - if v == nil { - return nil - } - return v.ProviderConnectionId - }).(pulumi.StringPtrOutput) +func (ServiceProfileCustomFieldArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfileCustomField)(nil)).Elem() } -func (o ConnectionZSideAccessPointPtrOutput) RoutingProtocols() ConnectionZSideAccessPointRoutingProtocolArrayOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) []ConnectionZSideAccessPointRoutingProtocol { - if v == nil { - return nil - } - return v.RoutingProtocols - }).(ConnectionZSideAccessPointRoutingProtocolArrayOutput) +func (o ServiceProfileCustomFieldArrayOutput) ToServiceProfileCustomFieldArrayOutput() ServiceProfileCustomFieldArrayOutput { + return o } -func (o ConnectionZSideAccessPointPtrOutput) SellerRegion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) *string { - if v == nil { - return nil - } - return v.SellerRegion - }).(pulumi.StringPtrOutput) +func (o ServiceProfileCustomFieldArrayOutput) ToServiceProfileCustomFieldArrayOutputWithContext(ctx context.Context) ServiceProfileCustomFieldArrayOutput { + return o } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideAccessPointPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) +func (o ServiceProfileCustomFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfileCustomField] { + return pulumix.Output[[]ServiceProfileCustomField]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointPtrOutput) VirtualDevice() ConnectionZSideAccessPointVirtualDevicePtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPoint) *ConnectionZSideAccessPointVirtualDevice { - if v == nil { - return nil - } - return v.VirtualDevice - }).(ConnectionZSideAccessPointVirtualDevicePtrOutput) +func (o ServiceProfileCustomFieldArrayOutput) Index(i pulumi.IntInput) ServiceProfileCustomFieldOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfileCustomField { + return vs[0].([]ServiceProfileCustomField)[vs[1].(int)] + }).(ServiceProfileCustomFieldOutput) } -type ConnectionZSideAccessPointAccount struct { - AccountName *string `pulumi:"accountName"` - AccountNumber *int `pulumi:"accountNumber"` - GlobalCustId *string `pulumi:"globalCustId"` - GlobalOrgId *string `pulumi:"globalOrgId"` - GlobalOrganizationName *string `pulumi:"globalOrganizationName"` - OrgId *int `pulumi:"orgId"` - OrganizationName *string `pulumi:"organizationName"` +type ServiceProfileMarketingInfo struct { + // Logo + Logo *string `pulumi:"logo"` + // Process Step + ProcessSteps []ServiceProfileMarketingInfoProcessStep `pulumi:"processSteps"` + // Promotion + Promotion *bool `pulumi:"promotion"` } -// ConnectionZSideAccessPointAccountInput is an input type that accepts ConnectionZSideAccessPointAccountArgs and ConnectionZSideAccessPointAccountOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointAccountInput` via: +// ServiceProfileMarketingInfoInput is an input type that accepts ServiceProfileMarketingInfoArgs and ServiceProfileMarketingInfoOutput values. +// You can construct a concrete instance of `ServiceProfileMarketingInfoInput` via: // -// ConnectionZSideAccessPointAccountArgs{...} -type ConnectionZSideAccessPointAccountInput interface { +// ServiceProfileMarketingInfoArgs{...} +type ServiceProfileMarketingInfoInput interface { pulumi.Input - ToConnectionZSideAccessPointAccountOutput() ConnectionZSideAccessPointAccountOutput - ToConnectionZSideAccessPointAccountOutputWithContext(context.Context) ConnectionZSideAccessPointAccountOutput + ToServiceProfileMarketingInfoOutput() ServiceProfileMarketingInfoOutput + ToServiceProfileMarketingInfoOutputWithContext(context.Context) ServiceProfileMarketingInfoOutput } -type ConnectionZSideAccessPointAccountArgs struct { - AccountName pulumi.StringPtrInput `pulumi:"accountName"` - AccountNumber pulumi.IntPtrInput `pulumi:"accountNumber"` - GlobalCustId pulumi.StringPtrInput `pulumi:"globalCustId"` - GlobalOrgId pulumi.StringPtrInput `pulumi:"globalOrgId"` - GlobalOrganizationName pulumi.StringPtrInput `pulumi:"globalOrganizationName"` - OrgId pulumi.IntPtrInput `pulumi:"orgId"` - OrganizationName pulumi.StringPtrInput `pulumi:"organizationName"` +type ServiceProfileMarketingInfoArgs struct { + // Logo + Logo pulumi.StringPtrInput `pulumi:"logo"` + // Process Step + ProcessSteps ServiceProfileMarketingInfoProcessStepArrayInput `pulumi:"processSteps"` + // Promotion + Promotion pulumi.BoolPtrInput `pulumi:"promotion"` } -func (ConnectionZSideAccessPointAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointAccount)(nil)).Elem() +func (ServiceProfileMarketingInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileMarketingInfo)(nil)).Elem() } -func (i ConnectionZSideAccessPointAccountArgs) ToConnectionZSideAccessPointAccountOutput() ConnectionZSideAccessPointAccountOutput { - return i.ToConnectionZSideAccessPointAccountOutputWithContext(context.Background()) +func (i ServiceProfileMarketingInfoArgs) ToServiceProfileMarketingInfoOutput() ServiceProfileMarketingInfoOutput { + return i.ToServiceProfileMarketingInfoOutputWithContext(context.Background()) } -func (i ConnectionZSideAccessPointAccountArgs) ToConnectionZSideAccessPointAccountOutputWithContext(ctx context.Context) ConnectionZSideAccessPointAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointAccountOutput) +func (i ServiceProfileMarketingInfoArgs) ToServiceProfileMarketingInfoOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMarketingInfoOutput) } -func (i ConnectionZSideAccessPointAccountArgs) ToConnectionZSideAccessPointAccountPtrOutput() ConnectionZSideAccessPointAccountPtrOutput { - return i.ToConnectionZSideAccessPointAccountPtrOutputWithContext(context.Background()) +func (i ServiceProfileMarketingInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileMarketingInfo] { + return pulumix.Output[ServiceProfileMarketingInfo]{ + OutputState: i.ToServiceProfileMarketingInfoOutputWithContext(ctx).OutputState, + } } -func (i ConnectionZSideAccessPointAccountArgs) ToConnectionZSideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointAccountOutput).ToConnectionZSideAccessPointAccountPtrOutputWithContext(ctx) +func (i ServiceProfileMarketingInfoArgs) ToServiceProfileMarketingInfoPtrOutput() ServiceProfileMarketingInfoPtrOutput { + return i.ToServiceProfileMarketingInfoPtrOutputWithContext(context.Background()) } -// ConnectionZSideAccessPointAccountPtrInput is an input type that accepts ConnectionZSideAccessPointAccountArgs, ConnectionZSideAccessPointAccountPtr and ConnectionZSideAccessPointAccountPtrOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointAccountPtrInput` via: +func (i ServiceProfileMarketingInfoArgs) ToServiceProfileMarketingInfoPtrOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMarketingInfoOutput).ToServiceProfileMarketingInfoPtrOutputWithContext(ctx) +} + +// ServiceProfileMarketingInfoPtrInput is an input type that accepts ServiceProfileMarketingInfoArgs, ServiceProfileMarketingInfoPtr and ServiceProfileMarketingInfoPtrOutput values. +// You can construct a concrete instance of `ServiceProfileMarketingInfoPtrInput` via: // -// ConnectionZSideAccessPointAccountArgs{...} +// ServiceProfileMarketingInfoArgs{...} // // or: // // nil -type ConnectionZSideAccessPointAccountPtrInput interface { +type ServiceProfileMarketingInfoPtrInput interface { pulumi.Input - ToConnectionZSideAccessPointAccountPtrOutput() ConnectionZSideAccessPointAccountPtrOutput - ToConnectionZSideAccessPointAccountPtrOutputWithContext(context.Context) ConnectionZSideAccessPointAccountPtrOutput + ToServiceProfileMarketingInfoPtrOutput() ServiceProfileMarketingInfoPtrOutput + ToServiceProfileMarketingInfoPtrOutputWithContext(context.Context) ServiceProfileMarketingInfoPtrOutput } -type connectionZSideAccessPointAccountPtrType ConnectionZSideAccessPointAccountArgs +type serviceProfileMarketingInfoPtrType ServiceProfileMarketingInfoArgs -func ConnectionZSideAccessPointAccountPtr(v *ConnectionZSideAccessPointAccountArgs) ConnectionZSideAccessPointAccountPtrInput { - return (*connectionZSideAccessPointAccountPtrType)(v) +func ServiceProfileMarketingInfoPtr(v *ServiceProfileMarketingInfoArgs) ServiceProfileMarketingInfoPtrInput { + return (*serviceProfileMarketingInfoPtrType)(v) } -func (*connectionZSideAccessPointAccountPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointAccount)(nil)).Elem() +func (*serviceProfileMarketingInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileMarketingInfo)(nil)).Elem() } -func (i *connectionZSideAccessPointAccountPtrType) ToConnectionZSideAccessPointAccountPtrOutput() ConnectionZSideAccessPointAccountPtrOutput { - return i.ToConnectionZSideAccessPointAccountPtrOutputWithContext(context.Background()) +func (i *serviceProfileMarketingInfoPtrType) ToServiceProfileMarketingInfoPtrOutput() ServiceProfileMarketingInfoPtrOutput { + return i.ToServiceProfileMarketingInfoPtrOutputWithContext(context.Background()) } -func (i *connectionZSideAccessPointAccountPtrType) ToConnectionZSideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointAccountPtrOutput) +func (i *serviceProfileMarketingInfoPtrType) ToServiceProfileMarketingInfoPtrOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMarketingInfoPtrOutput) } -type ConnectionZSideAccessPointAccountOutput struct{ *pulumi.OutputState } +func (i *serviceProfileMarketingInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileMarketingInfo] { + return pulumix.Output[*ServiceProfileMarketingInfo]{ + OutputState: i.ToServiceProfileMarketingInfoPtrOutputWithContext(ctx).OutputState, + } +} -func (ConnectionZSideAccessPointAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointAccount)(nil)).Elem() +type ServiceProfileMarketingInfoOutput struct{ *pulumi.OutputState } + +func (ServiceProfileMarketingInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileMarketingInfo)(nil)).Elem() } -func (o ConnectionZSideAccessPointAccountOutput) ToConnectionZSideAccessPointAccountOutput() ConnectionZSideAccessPointAccountOutput { +func (o ServiceProfileMarketingInfoOutput) ToServiceProfileMarketingInfoOutput() ServiceProfileMarketingInfoOutput { return o } -func (o ConnectionZSideAccessPointAccountOutput) ToConnectionZSideAccessPointAccountOutputWithContext(ctx context.Context) ConnectionZSideAccessPointAccountOutput { +func (o ServiceProfileMarketingInfoOutput) ToServiceProfileMarketingInfoOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoOutput { return o } -func (o ConnectionZSideAccessPointAccountOutput) ToConnectionZSideAccessPointAccountPtrOutput() ConnectionZSideAccessPointAccountPtrOutput { - return o.ToConnectionZSideAccessPointAccountPtrOutputWithContext(context.Background()) +func (o ServiceProfileMarketingInfoOutput) ToServiceProfileMarketingInfoPtrOutput() ServiceProfileMarketingInfoPtrOutput { + return o.ToServiceProfileMarketingInfoPtrOutputWithContext(context.Background()) } -func (o ConnectionZSideAccessPointAccountOutput) ToConnectionZSideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointAccountPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointAccount) *ConnectionZSideAccessPointAccount { +func (o ServiceProfileMarketingInfoOutput) ToServiceProfileMarketingInfoPtrOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileMarketingInfo) *ServiceProfileMarketingInfo { return &v - }).(ConnectionZSideAccessPointAccountPtrOutput) -} - -func (o ConnectionZSideAccessPointAccountOutput) AccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *string { return v.AccountName }).(pulumi.StringPtrOutput) + }).(ServiceProfileMarketingInfoPtrOutput) } -func (o ConnectionZSideAccessPointAccountOutput) AccountNumber() pulumi.IntPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *int { return v.AccountNumber }).(pulumi.IntPtrOutput) +func (o ServiceProfileMarketingInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileMarketingInfo] { + return pulumix.Output[ServiceProfileMarketingInfo]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointAccountOutput) GlobalCustId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *string { return v.GlobalCustId }).(pulumi.StringPtrOutput) +// Logo +func (o ServiceProfileMarketingInfoOutput) Logo() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileMarketingInfo) *string { return v.Logo }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointAccountOutput) GlobalOrgId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *string { return v.GlobalOrgId }).(pulumi.StringPtrOutput) +// Process Step +func (o ServiceProfileMarketingInfoOutput) ProcessSteps() ServiceProfileMarketingInfoProcessStepArrayOutput { + return o.ApplyT(func(v ServiceProfileMarketingInfo) []ServiceProfileMarketingInfoProcessStep { return v.ProcessSteps }).(ServiceProfileMarketingInfoProcessStepArrayOutput) } -func (o ConnectionZSideAccessPointAccountOutput) GlobalOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *string { return v.GlobalOrganizationName }).(pulumi.StringPtrOutput) +// Promotion +func (o ServiceProfileMarketingInfoOutput) Promotion() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileMarketingInfo) *bool { return v.Promotion }).(pulumi.BoolPtrOutput) } -func (o ConnectionZSideAccessPointAccountOutput) OrgId() pulumi.IntPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *int { return v.OrgId }).(pulumi.IntPtrOutput) -} +type ServiceProfileMarketingInfoPtrOutput struct{ *pulumi.OutputState } -func (o ConnectionZSideAccessPointAccountOutput) OrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointAccount) *string { return v.OrganizationName }).(pulumi.StringPtrOutput) +func (ServiceProfileMarketingInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileMarketingInfo)(nil)).Elem() } -type ConnectionZSideAccessPointAccountPtrOutput struct{ *pulumi.OutputState } - -func (ConnectionZSideAccessPointAccountPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointAccount)(nil)).Elem() +func (o ServiceProfileMarketingInfoPtrOutput) ToServiceProfileMarketingInfoPtrOutput() ServiceProfileMarketingInfoPtrOutput { + return o } -func (o ConnectionZSideAccessPointAccountPtrOutput) ToConnectionZSideAccessPointAccountPtrOutput() ConnectionZSideAccessPointAccountPtrOutput { +func (o ServiceProfileMarketingInfoPtrOutput) ToServiceProfileMarketingInfoPtrOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoPtrOutput { return o } -func (o ConnectionZSideAccessPointAccountPtrOutput) ToConnectionZSideAccessPointAccountPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointAccountPtrOutput { - return o +func (o ServiceProfileMarketingInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileMarketingInfo] { + return pulumix.Output[*ServiceProfileMarketingInfo]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointAccountPtrOutput) Elem() ConnectionZSideAccessPointAccountOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) ConnectionZSideAccessPointAccount { +func (o ServiceProfileMarketingInfoPtrOutput) Elem() ServiceProfileMarketingInfoOutput { + return o.ApplyT(func(v *ServiceProfileMarketingInfo) ServiceProfileMarketingInfo { if v != nil { return *v } - var ret ConnectionZSideAccessPointAccount + var ret ServiceProfileMarketingInfo return ret - }).(ConnectionZSideAccessPointAccountOutput) -} - -func (o ConnectionZSideAccessPointAccountPtrOutput) AccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *string { - if v == nil { - return nil - } - return v.AccountName - }).(pulumi.StringPtrOutput) -} - -func (o ConnectionZSideAccessPointAccountPtrOutput) AccountNumber() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *int { - if v == nil { - return nil - } - return v.AccountNumber - }).(pulumi.IntPtrOutput) -} - -func (o ConnectionZSideAccessPointAccountPtrOutput) GlobalCustId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *string { - if v == nil { - return nil - } - return v.GlobalCustId - }).(pulumi.StringPtrOutput) -} - -func (o ConnectionZSideAccessPointAccountPtrOutput) GlobalOrgId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *string { - if v == nil { - return nil - } - return v.GlobalOrgId - }).(pulumi.StringPtrOutput) + }).(ServiceProfileMarketingInfoOutput) } -func (o ConnectionZSideAccessPointAccountPtrOutput) GlobalOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *string { +// Logo +func (o ServiceProfileMarketingInfoPtrOutput) Logo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileMarketingInfo) *string { if v == nil { return nil } - return v.GlobalOrganizationName + return v.Logo }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointAccountPtrOutput) OrgId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *int { +// Process Step +func (o ServiceProfileMarketingInfoPtrOutput) ProcessSteps() ServiceProfileMarketingInfoProcessStepArrayOutput { + return o.ApplyT(func(v *ServiceProfileMarketingInfo) []ServiceProfileMarketingInfoProcessStep { if v == nil { return nil } - return v.OrgId - }).(pulumi.IntPtrOutput) + return v.ProcessSteps + }).(ServiceProfileMarketingInfoProcessStepArrayOutput) } -func (o ConnectionZSideAccessPointAccountPtrOutput) OrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointAccount) *string { +// Promotion +func (o ServiceProfileMarketingInfoPtrOutput) Promotion() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ServiceProfileMarketingInfo) *bool { if v == nil { return nil } - return v.OrganizationName - }).(pulumi.StringPtrOutput) + return v.Promotion + }).(pulumi.BoolPtrOutput) } -type ConnectionZSideAccessPointGateway struct { - // Connection URI information - Href *string `pulumi:"href"` - Uuid *string `pulumi:"uuid"` +type ServiceProfileMarketingInfoProcessStep struct { + // Description + Description *string `pulumi:"description"` + // Sub Title + SubTitle *string `pulumi:"subTitle"` + // Title + Title *string `pulumi:"title"` } -// ConnectionZSideAccessPointGatewayInput is an input type that accepts ConnectionZSideAccessPointGatewayArgs and ConnectionZSideAccessPointGatewayOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointGatewayInput` via: +// ServiceProfileMarketingInfoProcessStepInput is an input type that accepts ServiceProfileMarketingInfoProcessStepArgs and ServiceProfileMarketingInfoProcessStepOutput values. +// You can construct a concrete instance of `ServiceProfileMarketingInfoProcessStepInput` via: // -// ConnectionZSideAccessPointGatewayArgs{...} -type ConnectionZSideAccessPointGatewayInput interface { +// ServiceProfileMarketingInfoProcessStepArgs{...} +type ServiceProfileMarketingInfoProcessStepInput interface { pulumi.Input - ToConnectionZSideAccessPointGatewayOutput() ConnectionZSideAccessPointGatewayOutput - ToConnectionZSideAccessPointGatewayOutputWithContext(context.Context) ConnectionZSideAccessPointGatewayOutput -} - -type ConnectionZSideAccessPointGatewayArgs struct { - // Connection URI information - Href pulumi.StringPtrInput `pulumi:"href"` - Uuid pulumi.StringPtrInput `pulumi:"uuid"` + ToServiceProfileMarketingInfoProcessStepOutput() ServiceProfileMarketingInfoProcessStepOutput + ToServiceProfileMarketingInfoProcessStepOutputWithContext(context.Context) ServiceProfileMarketingInfoProcessStepOutput } -func (ConnectionZSideAccessPointGatewayArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointGateway)(nil)).Elem() +type ServiceProfileMarketingInfoProcessStepArgs struct { + // Description + Description pulumi.StringPtrInput `pulumi:"description"` + // Sub Title + SubTitle pulumi.StringPtrInput `pulumi:"subTitle"` + // Title + Title pulumi.StringPtrInput `pulumi:"title"` } -func (i ConnectionZSideAccessPointGatewayArgs) ToConnectionZSideAccessPointGatewayOutput() ConnectionZSideAccessPointGatewayOutput { - return i.ToConnectionZSideAccessPointGatewayOutputWithContext(context.Background()) +func (ServiceProfileMarketingInfoProcessStepArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileMarketingInfoProcessStep)(nil)).Elem() } -func (i ConnectionZSideAccessPointGatewayArgs) ToConnectionZSideAccessPointGatewayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointGatewayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointGatewayOutput) +func (i ServiceProfileMarketingInfoProcessStepArgs) ToServiceProfileMarketingInfoProcessStepOutput() ServiceProfileMarketingInfoProcessStepOutput { + return i.ToServiceProfileMarketingInfoProcessStepOutputWithContext(context.Background()) } -func (i ConnectionZSideAccessPointGatewayArgs) ToConnectionZSideAccessPointGatewayPtrOutput() ConnectionZSideAccessPointGatewayPtrOutput { - return i.ToConnectionZSideAccessPointGatewayPtrOutputWithContext(context.Background()) +func (i ServiceProfileMarketingInfoProcessStepArgs) ToServiceProfileMarketingInfoProcessStepOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoProcessStepOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMarketingInfoProcessStepOutput) } -func (i ConnectionZSideAccessPointGatewayArgs) ToConnectionZSideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointGatewayPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointGatewayOutput).ToConnectionZSideAccessPointGatewayPtrOutputWithContext(ctx) +func (i ServiceProfileMarketingInfoProcessStepArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileMarketingInfoProcessStep] { + return pulumix.Output[ServiceProfileMarketingInfoProcessStep]{ + OutputState: i.ToServiceProfileMarketingInfoProcessStepOutputWithContext(ctx).OutputState, + } } -// ConnectionZSideAccessPointGatewayPtrInput is an input type that accepts ConnectionZSideAccessPointGatewayArgs, ConnectionZSideAccessPointGatewayPtr and ConnectionZSideAccessPointGatewayPtrOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointGatewayPtrInput` via: -// -// ConnectionZSideAccessPointGatewayArgs{...} -// -// or: +// ServiceProfileMarketingInfoProcessStepArrayInput is an input type that accepts ServiceProfileMarketingInfoProcessStepArray and ServiceProfileMarketingInfoProcessStepArrayOutput values. +// You can construct a concrete instance of `ServiceProfileMarketingInfoProcessStepArrayInput` via: // -// nil -type ConnectionZSideAccessPointGatewayPtrInput interface { +// ServiceProfileMarketingInfoProcessStepArray{ ServiceProfileMarketingInfoProcessStepArgs{...} } +type ServiceProfileMarketingInfoProcessStepArrayInput interface { pulumi.Input - ToConnectionZSideAccessPointGatewayPtrOutput() ConnectionZSideAccessPointGatewayPtrOutput - ToConnectionZSideAccessPointGatewayPtrOutputWithContext(context.Context) ConnectionZSideAccessPointGatewayPtrOutput + ToServiceProfileMarketingInfoProcessStepArrayOutput() ServiceProfileMarketingInfoProcessStepArrayOutput + ToServiceProfileMarketingInfoProcessStepArrayOutputWithContext(context.Context) ServiceProfileMarketingInfoProcessStepArrayOutput } -type connectionZSideAccessPointGatewayPtrType ConnectionZSideAccessPointGatewayArgs +type ServiceProfileMarketingInfoProcessStepArray []ServiceProfileMarketingInfoProcessStepInput -func ConnectionZSideAccessPointGatewayPtr(v *ConnectionZSideAccessPointGatewayArgs) ConnectionZSideAccessPointGatewayPtrInput { - return (*connectionZSideAccessPointGatewayPtrType)(v) +func (ServiceProfileMarketingInfoProcessStepArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfileMarketingInfoProcessStep)(nil)).Elem() } -func (*connectionZSideAccessPointGatewayPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointGateway)(nil)).Elem() +func (i ServiceProfileMarketingInfoProcessStepArray) ToServiceProfileMarketingInfoProcessStepArrayOutput() ServiceProfileMarketingInfoProcessStepArrayOutput { + return i.ToServiceProfileMarketingInfoProcessStepArrayOutputWithContext(context.Background()) } -func (i *connectionZSideAccessPointGatewayPtrType) ToConnectionZSideAccessPointGatewayPtrOutput() ConnectionZSideAccessPointGatewayPtrOutput { - return i.ToConnectionZSideAccessPointGatewayPtrOutputWithContext(context.Background()) +func (i ServiceProfileMarketingInfoProcessStepArray) ToServiceProfileMarketingInfoProcessStepArrayOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoProcessStepArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMarketingInfoProcessStepArrayOutput) } -func (i *connectionZSideAccessPointGatewayPtrType) ToConnectionZSideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointGatewayPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointGatewayPtrOutput) +func (i ServiceProfileMarketingInfoProcessStepArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfileMarketingInfoProcessStep] { + return pulumix.Output[[]ServiceProfileMarketingInfoProcessStep]{ + OutputState: i.ToServiceProfileMarketingInfoProcessStepArrayOutputWithContext(ctx).OutputState, + } } -type ConnectionZSideAccessPointGatewayOutput struct{ *pulumi.OutputState } +type ServiceProfileMarketingInfoProcessStepOutput struct{ *pulumi.OutputState } -func (ConnectionZSideAccessPointGatewayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointGateway)(nil)).Elem() +func (ServiceProfileMarketingInfoProcessStepOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileMarketingInfoProcessStep)(nil)).Elem() } -func (o ConnectionZSideAccessPointGatewayOutput) ToConnectionZSideAccessPointGatewayOutput() ConnectionZSideAccessPointGatewayOutput { +func (o ServiceProfileMarketingInfoProcessStepOutput) ToServiceProfileMarketingInfoProcessStepOutput() ServiceProfileMarketingInfoProcessStepOutput { return o } -func (o ConnectionZSideAccessPointGatewayOutput) ToConnectionZSideAccessPointGatewayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointGatewayOutput { +func (o ServiceProfileMarketingInfoProcessStepOutput) ToServiceProfileMarketingInfoProcessStepOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoProcessStepOutput { return o } -func (o ConnectionZSideAccessPointGatewayOutput) ToConnectionZSideAccessPointGatewayPtrOutput() ConnectionZSideAccessPointGatewayPtrOutput { - return o.ToConnectionZSideAccessPointGatewayPtrOutputWithContext(context.Background()) +func (o ServiceProfileMarketingInfoProcessStepOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileMarketingInfoProcessStep] { + return pulumix.Output[ServiceProfileMarketingInfoProcessStep]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointGatewayOutput) ToConnectionZSideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointGatewayPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointGateway) *ConnectionZSideAccessPointGateway { - return &v - }).(ConnectionZSideAccessPointGatewayPtrOutput) +// Description +func (o ServiceProfileMarketingInfoProcessStepOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileMarketingInfoProcessStep) *string { return v.Description }).(pulumi.StringPtrOutput) } -// Connection URI information -func (o ConnectionZSideAccessPointGatewayOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointGateway) *string { return v.Href }).(pulumi.StringPtrOutput) +// Sub Title +func (o ServiceProfileMarketingInfoProcessStepOutput) SubTitle() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileMarketingInfoProcessStep) *string { return v.SubTitle }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointGatewayOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointGateway) *string { return v.Uuid }).(pulumi.StringPtrOutput) +// Title +func (o ServiceProfileMarketingInfoProcessStepOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileMarketingInfoProcessStep) *string { return v.Title }).(pulumi.StringPtrOutput) } -type ConnectionZSideAccessPointGatewayPtrOutput struct{ *pulumi.OutputState } +type ServiceProfileMarketingInfoProcessStepArrayOutput struct{ *pulumi.OutputState } -func (ConnectionZSideAccessPointGatewayPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointGateway)(nil)).Elem() +func (ServiceProfileMarketingInfoProcessStepArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfileMarketingInfoProcessStep)(nil)).Elem() } -func (o ConnectionZSideAccessPointGatewayPtrOutput) ToConnectionZSideAccessPointGatewayPtrOutput() ConnectionZSideAccessPointGatewayPtrOutput { +func (o ServiceProfileMarketingInfoProcessStepArrayOutput) ToServiceProfileMarketingInfoProcessStepArrayOutput() ServiceProfileMarketingInfoProcessStepArrayOutput { return o } -func (o ConnectionZSideAccessPointGatewayPtrOutput) ToConnectionZSideAccessPointGatewayPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointGatewayPtrOutput { +func (o ServiceProfileMarketingInfoProcessStepArrayOutput) ToServiceProfileMarketingInfoProcessStepArrayOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoProcessStepArrayOutput { return o } -func (o ConnectionZSideAccessPointGatewayPtrOutput) Elem() ConnectionZSideAccessPointGatewayOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointGateway) ConnectionZSideAccessPointGateway { - if v != nil { - return *v - } - var ret ConnectionZSideAccessPointGateway - return ret - }).(ConnectionZSideAccessPointGatewayOutput) -} - -// Connection URI information -func (o ConnectionZSideAccessPointGatewayPtrOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointGateway) *string { - if v == nil { - return nil - } - return v.Href - }).(pulumi.StringPtrOutput) +func (o ServiceProfileMarketingInfoProcessStepArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfileMarketingInfoProcessStep] { + return pulumix.Output[[]ServiceProfileMarketingInfoProcessStep]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointGatewayPtrOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointGateway) *string { - if v == nil { - return nil - } - return v.Uuid - }).(pulumi.StringPtrOutput) +func (o ServiceProfileMarketingInfoProcessStepArrayOutput) Index(i pulumi.IntInput) ServiceProfileMarketingInfoProcessStepOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfileMarketingInfoProcessStep { + return vs[0].([]ServiceProfileMarketingInfoProcessStep)[vs[1].(int)] + }).(ServiceProfileMarketingInfoProcessStepOutput) } -type ConnectionZSideAccessPointInterface struct { - // The ID of this resource. - Id *string `pulumi:"id"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type *string `pulumi:"type"` - Uuid *string `pulumi:"uuid"` +type ServiceProfileMetro struct { + // Metro Code - Example SV + Code *string `pulumi:"code"` + // Display Name + DisplayName *string `pulumi:"displayName"` + // IBX- Equinix International Business Exchange list + Ibxs []string `pulumi:"ibxs"` + // In Trail + InTrail *bool `pulumi:"inTrail"` + // Metro Name + Name *string `pulumi:"name"` + // Seller Regions + SellerRegions map[string]string `pulumi:"sellerRegions"` } -// ConnectionZSideAccessPointInterfaceInput is an input type that accepts ConnectionZSideAccessPointInterfaceArgs and ConnectionZSideAccessPointInterfaceOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointInterfaceInput` via: +// ServiceProfileMetroInput is an input type that accepts ServiceProfileMetroArgs and ServiceProfileMetroOutput values. +// You can construct a concrete instance of `ServiceProfileMetroInput` via: // -// ConnectionZSideAccessPointInterfaceArgs{...} -type ConnectionZSideAccessPointInterfaceInput interface { +// ServiceProfileMetroArgs{...} +type ServiceProfileMetroInput interface { pulumi.Input - ToConnectionZSideAccessPointInterfaceOutput() ConnectionZSideAccessPointInterfaceOutput - ToConnectionZSideAccessPointInterfaceOutputWithContext(context.Context) ConnectionZSideAccessPointInterfaceOutput -} - -type ConnectionZSideAccessPointInterfaceArgs struct { - // The ID of this resource. - Id pulumi.StringPtrInput `pulumi:"id"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringPtrInput `pulumi:"type"` - Uuid pulumi.StringPtrInput `pulumi:"uuid"` + ToServiceProfileMetroOutput() ServiceProfileMetroOutput + ToServiceProfileMetroOutputWithContext(context.Context) ServiceProfileMetroOutput } -func (ConnectionZSideAccessPointInterfaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointInterface)(nil)).Elem() +type ServiceProfileMetroArgs struct { + // Metro Code - Example SV + Code pulumi.StringPtrInput `pulumi:"code"` + // Display Name + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + // IBX- Equinix International Business Exchange list + Ibxs pulumi.StringArrayInput `pulumi:"ibxs"` + // In Trail + InTrail pulumi.BoolPtrInput `pulumi:"inTrail"` + // Metro Name + Name pulumi.StringPtrInput `pulumi:"name"` + // Seller Regions + SellerRegions pulumi.StringMapInput `pulumi:"sellerRegions"` } -func (i ConnectionZSideAccessPointInterfaceArgs) ToConnectionZSideAccessPointInterfaceOutput() ConnectionZSideAccessPointInterfaceOutput { - return i.ToConnectionZSideAccessPointInterfaceOutputWithContext(context.Background()) +func (ServiceProfileMetroArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileMetro)(nil)).Elem() } -func (i ConnectionZSideAccessPointInterfaceArgs) ToConnectionZSideAccessPointInterfaceOutputWithContext(ctx context.Context) ConnectionZSideAccessPointInterfaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointInterfaceOutput) +func (i ServiceProfileMetroArgs) ToServiceProfileMetroOutput() ServiceProfileMetroOutput { + return i.ToServiceProfileMetroOutputWithContext(context.Background()) } -func (i ConnectionZSideAccessPointInterfaceArgs) ToConnectionZSideAccessPointInterfacePtrOutput() ConnectionZSideAccessPointInterfacePtrOutput { - return i.ToConnectionZSideAccessPointInterfacePtrOutputWithContext(context.Background()) +func (i ServiceProfileMetroArgs) ToServiceProfileMetroOutputWithContext(ctx context.Context) ServiceProfileMetroOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMetroOutput) } -func (i ConnectionZSideAccessPointInterfaceArgs) ToConnectionZSideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointInterfacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointInterfaceOutput).ToConnectionZSideAccessPointInterfacePtrOutputWithContext(ctx) +func (i ServiceProfileMetroArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileMetro] { + return pulumix.Output[ServiceProfileMetro]{ + OutputState: i.ToServiceProfileMetroOutputWithContext(ctx).OutputState, + } } -// ConnectionZSideAccessPointInterfacePtrInput is an input type that accepts ConnectionZSideAccessPointInterfaceArgs, ConnectionZSideAccessPointInterfacePtr and ConnectionZSideAccessPointInterfacePtrOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointInterfacePtrInput` via: -// -// ConnectionZSideAccessPointInterfaceArgs{...} -// -// or: +// ServiceProfileMetroArrayInput is an input type that accepts ServiceProfileMetroArray and ServiceProfileMetroArrayOutput values. +// You can construct a concrete instance of `ServiceProfileMetroArrayInput` via: // -// nil -type ConnectionZSideAccessPointInterfacePtrInput interface { +// ServiceProfileMetroArray{ ServiceProfileMetroArgs{...} } +type ServiceProfileMetroArrayInput interface { pulumi.Input - ToConnectionZSideAccessPointInterfacePtrOutput() ConnectionZSideAccessPointInterfacePtrOutput - ToConnectionZSideAccessPointInterfacePtrOutputWithContext(context.Context) ConnectionZSideAccessPointInterfacePtrOutput + ToServiceProfileMetroArrayOutput() ServiceProfileMetroArrayOutput + ToServiceProfileMetroArrayOutputWithContext(context.Context) ServiceProfileMetroArrayOutput } -type connectionZSideAccessPointInterfacePtrType ConnectionZSideAccessPointInterfaceArgs +type ServiceProfileMetroArray []ServiceProfileMetroInput -func ConnectionZSideAccessPointInterfacePtr(v *ConnectionZSideAccessPointInterfaceArgs) ConnectionZSideAccessPointInterfacePtrInput { - return (*connectionZSideAccessPointInterfacePtrType)(v) +func (ServiceProfileMetroArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfileMetro)(nil)).Elem() } -func (*connectionZSideAccessPointInterfacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointInterface)(nil)).Elem() +func (i ServiceProfileMetroArray) ToServiceProfileMetroArrayOutput() ServiceProfileMetroArrayOutput { + return i.ToServiceProfileMetroArrayOutputWithContext(context.Background()) } -func (i *connectionZSideAccessPointInterfacePtrType) ToConnectionZSideAccessPointInterfacePtrOutput() ConnectionZSideAccessPointInterfacePtrOutput { - return i.ToConnectionZSideAccessPointInterfacePtrOutputWithContext(context.Background()) +func (i ServiceProfileMetroArray) ToServiceProfileMetroArrayOutputWithContext(ctx context.Context) ServiceProfileMetroArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMetroArrayOutput) } -func (i *connectionZSideAccessPointInterfacePtrType) ToConnectionZSideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointInterfacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointInterfacePtrOutput) +func (i ServiceProfileMetroArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfileMetro] { + return pulumix.Output[[]ServiceProfileMetro]{ + OutputState: i.ToServiceProfileMetroArrayOutputWithContext(ctx).OutputState, + } } -type ConnectionZSideAccessPointInterfaceOutput struct{ *pulumi.OutputState } +type ServiceProfileMetroOutput struct{ *pulumi.OutputState } -func (ConnectionZSideAccessPointInterfaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointInterface)(nil)).Elem() +func (ServiceProfileMetroOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileMetro)(nil)).Elem() } -func (o ConnectionZSideAccessPointInterfaceOutput) ToConnectionZSideAccessPointInterfaceOutput() ConnectionZSideAccessPointInterfaceOutput { +func (o ServiceProfileMetroOutput) ToServiceProfileMetroOutput() ServiceProfileMetroOutput { return o } -func (o ConnectionZSideAccessPointInterfaceOutput) ToConnectionZSideAccessPointInterfaceOutputWithContext(ctx context.Context) ConnectionZSideAccessPointInterfaceOutput { +func (o ServiceProfileMetroOutput) ToServiceProfileMetroOutputWithContext(ctx context.Context) ServiceProfileMetroOutput { return o } -func (o ConnectionZSideAccessPointInterfaceOutput) ToConnectionZSideAccessPointInterfacePtrOutput() ConnectionZSideAccessPointInterfacePtrOutput { - return o.ToConnectionZSideAccessPointInterfacePtrOutputWithContext(context.Background()) +func (o ServiceProfileMetroOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileMetro] { + return pulumix.Output[ServiceProfileMetro]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointInterfaceOutput) ToConnectionZSideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointInterfacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointInterface) *ConnectionZSideAccessPointInterface { - return &v - }).(ConnectionZSideAccessPointInterfacePtrOutput) +// Metro Code - Example SV +func (o ServiceProfileMetroOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileMetro) *string { return v.Code }).(pulumi.StringPtrOutput) } -// The ID of this resource. -func (o ConnectionZSideAccessPointInterfaceOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointInterface) *string { return v.Id }).(pulumi.StringPtrOutput) +// Display Name +func (o ServiceProfileMetroOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileMetro) *string { return v.DisplayName }).(pulumi.StringPtrOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideAccessPointInterfaceOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointInterface) *string { return v.Type }).(pulumi.StringPtrOutput) +// IBX- Equinix International Business Exchange list +func (o ServiceProfileMetroOutput) Ibxs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ServiceProfileMetro) []string { return v.Ibxs }).(pulumi.StringArrayOutput) } -func (o ConnectionZSideAccessPointInterfaceOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointInterface) *string { return v.Uuid }).(pulumi.StringPtrOutput) +// In Trail +func (o ServiceProfileMetroOutput) InTrail() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ServiceProfileMetro) *bool { return v.InTrail }).(pulumi.BoolPtrOutput) } -type ConnectionZSideAccessPointInterfacePtrOutput struct{ *pulumi.OutputState } - -func (ConnectionZSideAccessPointInterfacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointInterface)(nil)).Elem() +// Metro Name +func (o ServiceProfileMetroOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileMetro) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointInterfacePtrOutput) ToConnectionZSideAccessPointInterfacePtrOutput() ConnectionZSideAccessPointInterfacePtrOutput { - return o +// Seller Regions +func (o ServiceProfileMetroOutput) SellerRegions() pulumi.StringMapOutput { + return o.ApplyT(func(v ServiceProfileMetro) map[string]string { return v.SellerRegions }).(pulumi.StringMapOutput) } -func (o ConnectionZSideAccessPointInterfacePtrOutput) ToConnectionZSideAccessPointInterfacePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointInterfacePtrOutput { - return o +type ServiceProfileMetroArrayOutput struct{ *pulumi.OutputState } + +func (ServiceProfileMetroArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfileMetro)(nil)).Elem() } -func (o ConnectionZSideAccessPointInterfacePtrOutput) Elem() ConnectionZSideAccessPointInterfaceOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointInterface) ConnectionZSideAccessPointInterface { - if v != nil { - return *v - } - var ret ConnectionZSideAccessPointInterface - return ret - }).(ConnectionZSideAccessPointInterfaceOutput) +func (o ServiceProfileMetroArrayOutput) ToServiceProfileMetroArrayOutput() ServiceProfileMetroArrayOutput { + return o } -// The ID of this resource. -func (o ConnectionZSideAccessPointInterfacePtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointInterface) *string { - if v == nil { - return nil - } - return v.Id - }).(pulumi.StringPtrOutput) +func (o ServiceProfileMetroArrayOutput) ToServiceProfileMetroArrayOutputWithContext(ctx context.Context) ServiceProfileMetroArrayOutput { + return o } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideAccessPointInterfacePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointInterface) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) +func (o ServiceProfileMetroArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfileMetro] { + return pulumix.Output[[]ServiceProfileMetro]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointInterfacePtrOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointInterface) *string { - if v == nil { - return nil - } - return v.Uuid - }).(pulumi.StringPtrOutput) +func (o ServiceProfileMetroArrayOutput) Index(i pulumi.IntInput) ServiceProfileMetroOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfileMetro { + return vs[0].([]ServiceProfileMetro)[vs[1].(int)] + }).(ServiceProfileMetroOutput) } -type ConnectionZSideAccessPointLinkProtocol struct { - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type *string `pulumi:"type"` - VlanCTag *int `pulumi:"vlanCTag"` - VlanSTag *int `pulumi:"vlanSTag"` - VlanTag *int `pulumi:"vlanTag"` +type ServiceProfileNotification struct { + // Array of contact emails + Emails []string `pulumi:"emails"` + // Send interval + SendInterval *string `pulumi:"sendInterval"` + // Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + Type string `pulumi:"type"` } -// ConnectionZSideAccessPointLinkProtocolInput is an input type that accepts ConnectionZSideAccessPointLinkProtocolArgs and ConnectionZSideAccessPointLinkProtocolOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointLinkProtocolInput` via: +// ServiceProfileNotificationInput is an input type that accepts ServiceProfileNotificationArgs and ServiceProfileNotificationOutput values. +// You can construct a concrete instance of `ServiceProfileNotificationInput` via: // -// ConnectionZSideAccessPointLinkProtocolArgs{...} -type ConnectionZSideAccessPointLinkProtocolInput interface { +// ServiceProfileNotificationArgs{...} +type ServiceProfileNotificationInput interface { pulumi.Input - ToConnectionZSideAccessPointLinkProtocolOutput() ConnectionZSideAccessPointLinkProtocolOutput - ToConnectionZSideAccessPointLinkProtocolOutputWithContext(context.Context) ConnectionZSideAccessPointLinkProtocolOutput -} - -type ConnectionZSideAccessPointLinkProtocolArgs struct { - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringPtrInput `pulumi:"type"` - VlanCTag pulumi.IntPtrInput `pulumi:"vlanCTag"` - VlanSTag pulumi.IntPtrInput `pulumi:"vlanSTag"` - VlanTag pulumi.IntPtrInput `pulumi:"vlanTag"` + ToServiceProfileNotificationOutput() ServiceProfileNotificationOutput + ToServiceProfileNotificationOutputWithContext(context.Context) ServiceProfileNotificationOutput } -func (ConnectionZSideAccessPointLinkProtocolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointLinkProtocol)(nil)).Elem() +type ServiceProfileNotificationArgs struct { + // Array of contact emails + Emails pulumi.StringArrayInput `pulumi:"emails"` + // Send interval + SendInterval pulumi.StringPtrInput `pulumi:"sendInterval"` + // Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + Type pulumi.StringInput `pulumi:"type"` } -func (i ConnectionZSideAccessPointLinkProtocolArgs) ToConnectionZSideAccessPointLinkProtocolOutput() ConnectionZSideAccessPointLinkProtocolOutput { - return i.ToConnectionZSideAccessPointLinkProtocolOutputWithContext(context.Background()) +func (ServiceProfileNotificationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileNotification)(nil)).Elem() } -func (i ConnectionZSideAccessPointLinkProtocolArgs) ToConnectionZSideAccessPointLinkProtocolOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLinkProtocolOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointLinkProtocolOutput) +func (i ServiceProfileNotificationArgs) ToServiceProfileNotificationOutput() ServiceProfileNotificationOutput { + return i.ToServiceProfileNotificationOutputWithContext(context.Background()) } -func (i ConnectionZSideAccessPointLinkProtocolArgs) ToConnectionZSideAccessPointLinkProtocolPtrOutput() ConnectionZSideAccessPointLinkProtocolPtrOutput { - return i.ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(context.Background()) +func (i ServiceProfileNotificationArgs) ToServiceProfileNotificationOutputWithContext(ctx context.Context) ServiceProfileNotificationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileNotificationOutput) } -func (i ConnectionZSideAccessPointLinkProtocolArgs) ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLinkProtocolPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointLinkProtocolOutput).ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(ctx) +func (i ServiceProfileNotificationArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileNotification] { + return pulumix.Output[ServiceProfileNotification]{ + OutputState: i.ToServiceProfileNotificationOutputWithContext(ctx).OutputState, + } } -// ConnectionZSideAccessPointLinkProtocolPtrInput is an input type that accepts ConnectionZSideAccessPointLinkProtocolArgs, ConnectionZSideAccessPointLinkProtocolPtr and ConnectionZSideAccessPointLinkProtocolPtrOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointLinkProtocolPtrInput` via: -// -// ConnectionZSideAccessPointLinkProtocolArgs{...} -// -// or: +// ServiceProfileNotificationArrayInput is an input type that accepts ServiceProfileNotificationArray and ServiceProfileNotificationArrayOutput values. +// You can construct a concrete instance of `ServiceProfileNotificationArrayInput` via: // -// nil -type ConnectionZSideAccessPointLinkProtocolPtrInput interface { +// ServiceProfileNotificationArray{ ServiceProfileNotificationArgs{...} } +type ServiceProfileNotificationArrayInput interface { pulumi.Input - ToConnectionZSideAccessPointLinkProtocolPtrOutput() ConnectionZSideAccessPointLinkProtocolPtrOutput - ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(context.Context) ConnectionZSideAccessPointLinkProtocolPtrOutput + ToServiceProfileNotificationArrayOutput() ServiceProfileNotificationArrayOutput + ToServiceProfileNotificationArrayOutputWithContext(context.Context) ServiceProfileNotificationArrayOutput } -type connectionZSideAccessPointLinkProtocolPtrType ConnectionZSideAccessPointLinkProtocolArgs +type ServiceProfileNotificationArray []ServiceProfileNotificationInput -func ConnectionZSideAccessPointLinkProtocolPtr(v *ConnectionZSideAccessPointLinkProtocolArgs) ConnectionZSideAccessPointLinkProtocolPtrInput { - return (*connectionZSideAccessPointLinkProtocolPtrType)(v) +func (ServiceProfileNotificationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfileNotification)(nil)).Elem() } -func (*connectionZSideAccessPointLinkProtocolPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointLinkProtocol)(nil)).Elem() +func (i ServiceProfileNotificationArray) ToServiceProfileNotificationArrayOutput() ServiceProfileNotificationArrayOutput { + return i.ToServiceProfileNotificationArrayOutputWithContext(context.Background()) } -func (i *connectionZSideAccessPointLinkProtocolPtrType) ToConnectionZSideAccessPointLinkProtocolPtrOutput() ConnectionZSideAccessPointLinkProtocolPtrOutput { - return i.ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(context.Background()) +func (i ServiceProfileNotificationArray) ToServiceProfileNotificationArrayOutputWithContext(ctx context.Context) ServiceProfileNotificationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileNotificationArrayOutput) } -func (i *connectionZSideAccessPointLinkProtocolPtrType) ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLinkProtocolPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointLinkProtocolPtrOutput) +func (i ServiceProfileNotificationArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfileNotification] { + return pulumix.Output[[]ServiceProfileNotification]{ + OutputState: i.ToServiceProfileNotificationArrayOutputWithContext(ctx).OutputState, + } } -type ConnectionZSideAccessPointLinkProtocolOutput struct{ *pulumi.OutputState } +type ServiceProfileNotificationOutput struct{ *pulumi.OutputState } -func (ConnectionZSideAccessPointLinkProtocolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointLinkProtocol)(nil)).Elem() +func (ServiceProfileNotificationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileNotification)(nil)).Elem() } -func (o ConnectionZSideAccessPointLinkProtocolOutput) ToConnectionZSideAccessPointLinkProtocolOutput() ConnectionZSideAccessPointLinkProtocolOutput { +func (o ServiceProfileNotificationOutput) ToServiceProfileNotificationOutput() ServiceProfileNotificationOutput { return o } -func (o ConnectionZSideAccessPointLinkProtocolOutput) ToConnectionZSideAccessPointLinkProtocolOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLinkProtocolOutput { +func (o ServiceProfileNotificationOutput) ToServiceProfileNotificationOutputWithContext(ctx context.Context) ServiceProfileNotificationOutput { return o } -func (o ConnectionZSideAccessPointLinkProtocolOutput) ToConnectionZSideAccessPointLinkProtocolPtrOutput() ConnectionZSideAccessPointLinkProtocolPtrOutput { - return o.ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(context.Background()) -} - -func (o ConnectionZSideAccessPointLinkProtocolOutput) ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLinkProtocolPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointLinkProtocol) *ConnectionZSideAccessPointLinkProtocol { - return &v - }).(ConnectionZSideAccessPointLinkProtocolPtrOutput) -} - -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideAccessPointLinkProtocolOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointLinkProtocol) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -func (o ConnectionZSideAccessPointLinkProtocolOutput) VlanCTag() pulumi.IntPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointLinkProtocol) *int { return v.VlanCTag }).(pulumi.IntPtrOutput) -} - -func (o ConnectionZSideAccessPointLinkProtocolOutput) VlanSTag() pulumi.IntPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointLinkProtocol) *int { return v.VlanSTag }).(pulumi.IntPtrOutput) -} - -func (o ConnectionZSideAccessPointLinkProtocolOutput) VlanTag() pulumi.IntPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointLinkProtocol) *int { return v.VlanTag }).(pulumi.IntPtrOutput) -} - -type ConnectionZSideAccessPointLinkProtocolPtrOutput struct{ *pulumi.OutputState } +func (o ServiceProfileNotificationOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileNotification] { + return pulumix.Output[ServiceProfileNotification]{ + OutputState: o.OutputState, + } +} -func (ConnectionZSideAccessPointLinkProtocolPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointLinkProtocol)(nil)).Elem() +// Array of contact emails +func (o ServiceProfileNotificationOutput) Emails() pulumi.StringArrayOutput { + return o.ApplyT(func(v ServiceProfileNotification) []string { return v.Emails }).(pulumi.StringArrayOutput) } -func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) ToConnectionZSideAccessPointLinkProtocolPtrOutput() ConnectionZSideAccessPointLinkProtocolPtrOutput { - return o +// Send interval +func (o ServiceProfileNotificationOutput) SendInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileNotification) *string { return v.SendInterval }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) ToConnectionZSideAccessPointLinkProtocolPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLinkProtocolPtrOutput { - return o +// Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS +func (o ServiceProfileNotificationOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v ServiceProfileNotification) string { return v.Type }).(pulumi.StringOutput) } -func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) Elem() ConnectionZSideAccessPointLinkProtocolOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointLinkProtocol) ConnectionZSideAccessPointLinkProtocol { - if v != nil { - return *v - } - var ret ConnectionZSideAccessPointLinkProtocol - return ret - }).(ConnectionZSideAccessPointLinkProtocolOutput) +type ServiceProfileNotificationArrayOutput struct{ *pulumi.OutputState } + +func (ServiceProfileNotificationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfileNotification)(nil)).Elem() } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointLinkProtocol) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) +func (o ServiceProfileNotificationArrayOutput) ToServiceProfileNotificationArrayOutput() ServiceProfileNotificationArrayOutput { + return o } -func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) VlanCTag() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointLinkProtocol) *int { - if v == nil { - return nil - } - return v.VlanCTag - }).(pulumi.IntPtrOutput) +func (o ServiceProfileNotificationArrayOutput) ToServiceProfileNotificationArrayOutputWithContext(ctx context.Context) ServiceProfileNotificationArrayOutput { + return o } -func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) VlanSTag() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointLinkProtocol) *int { - if v == nil { - return nil - } - return v.VlanSTag - }).(pulumi.IntPtrOutput) +func (o ServiceProfileNotificationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfileNotification] { + return pulumix.Output[[]ServiceProfileNotification]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointLinkProtocolPtrOutput) VlanTag() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointLinkProtocol) *int { - if v == nil { - return nil - } - return v.VlanTag - }).(pulumi.IntPtrOutput) +func (o ServiceProfileNotificationArrayOutput) Index(i pulumi.IntInput) ServiceProfileNotificationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfileNotification { + return vs[0].([]ServiceProfileNotification)[vs[1].(int)] + }).(ServiceProfileNotificationOutput) } -type ConnectionZSideAccessPointLocation struct { - Ibx *string `pulumi:"ibx"` - MetroCode *string `pulumi:"metroCode"` - MetroName *string `pulumi:"metroName"` - Region *string `pulumi:"region"` +type ServiceProfilePort struct { + // Cross Connect Id + CrossConnectId *string `pulumi:"crossConnectId"` + // Colo/Port Location + Location *ServiceProfilePortLocation `pulumi:"location"` + // Seller Region + SellerRegion *string `pulumi:"sellerRegion"` + // Seller Region details + SellerRegionDescription *string `pulumi:"sellerRegionDescription"` + // Colo/Port Type + Type string `pulumi:"type"` + // Colo/Port Uuid + Uuid string `pulumi:"uuid"` } -// ConnectionZSideAccessPointLocationInput is an input type that accepts ConnectionZSideAccessPointLocationArgs and ConnectionZSideAccessPointLocationOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointLocationInput` via: +// ServiceProfilePortInput is an input type that accepts ServiceProfilePortArgs and ServiceProfilePortOutput values. +// You can construct a concrete instance of `ServiceProfilePortInput` via: // -// ConnectionZSideAccessPointLocationArgs{...} -type ConnectionZSideAccessPointLocationInput interface { +// ServiceProfilePortArgs{...} +type ServiceProfilePortInput interface { pulumi.Input - ToConnectionZSideAccessPointLocationOutput() ConnectionZSideAccessPointLocationOutput - ToConnectionZSideAccessPointLocationOutputWithContext(context.Context) ConnectionZSideAccessPointLocationOutput -} - -type ConnectionZSideAccessPointLocationArgs struct { - Ibx pulumi.StringPtrInput `pulumi:"ibx"` - MetroCode pulumi.StringPtrInput `pulumi:"metroCode"` - MetroName pulumi.StringPtrInput `pulumi:"metroName"` - Region pulumi.StringPtrInput `pulumi:"region"` + ToServiceProfilePortOutput() ServiceProfilePortOutput + ToServiceProfilePortOutputWithContext(context.Context) ServiceProfilePortOutput } -func (ConnectionZSideAccessPointLocationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointLocation)(nil)).Elem() +type ServiceProfilePortArgs struct { + // Cross Connect Id + CrossConnectId pulumi.StringPtrInput `pulumi:"crossConnectId"` + // Colo/Port Location + Location ServiceProfilePortLocationPtrInput `pulumi:"location"` + // Seller Region + SellerRegion pulumi.StringPtrInput `pulumi:"sellerRegion"` + // Seller Region details + SellerRegionDescription pulumi.StringPtrInput `pulumi:"sellerRegionDescription"` + // Colo/Port Type + Type pulumi.StringInput `pulumi:"type"` + // Colo/Port Uuid + Uuid pulumi.StringInput `pulumi:"uuid"` } -func (i ConnectionZSideAccessPointLocationArgs) ToConnectionZSideAccessPointLocationOutput() ConnectionZSideAccessPointLocationOutput { - return i.ToConnectionZSideAccessPointLocationOutputWithContext(context.Background()) +func (ServiceProfilePortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfilePort)(nil)).Elem() } -func (i ConnectionZSideAccessPointLocationArgs) ToConnectionZSideAccessPointLocationOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLocationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointLocationOutput) +func (i ServiceProfilePortArgs) ToServiceProfilePortOutput() ServiceProfilePortOutput { + return i.ToServiceProfilePortOutputWithContext(context.Background()) } -func (i ConnectionZSideAccessPointLocationArgs) ToConnectionZSideAccessPointLocationPtrOutput() ConnectionZSideAccessPointLocationPtrOutput { - return i.ToConnectionZSideAccessPointLocationPtrOutputWithContext(context.Background()) +func (i ServiceProfilePortArgs) ToServiceProfilePortOutputWithContext(ctx context.Context) ServiceProfilePortOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfilePortOutput) } -func (i ConnectionZSideAccessPointLocationArgs) ToConnectionZSideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLocationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointLocationOutput).ToConnectionZSideAccessPointLocationPtrOutputWithContext(ctx) +func (i ServiceProfilePortArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfilePort] { + return pulumix.Output[ServiceProfilePort]{ + OutputState: i.ToServiceProfilePortOutputWithContext(ctx).OutputState, + } } -// ConnectionZSideAccessPointLocationPtrInput is an input type that accepts ConnectionZSideAccessPointLocationArgs, ConnectionZSideAccessPointLocationPtr and ConnectionZSideAccessPointLocationPtrOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointLocationPtrInput` via: -// -// ConnectionZSideAccessPointLocationArgs{...} -// -// or: +// ServiceProfilePortArrayInput is an input type that accepts ServiceProfilePortArray and ServiceProfilePortArrayOutput values. +// You can construct a concrete instance of `ServiceProfilePortArrayInput` via: // -// nil -type ConnectionZSideAccessPointLocationPtrInput interface { +// ServiceProfilePortArray{ ServiceProfilePortArgs{...} } +type ServiceProfilePortArrayInput interface { pulumi.Input - ToConnectionZSideAccessPointLocationPtrOutput() ConnectionZSideAccessPointLocationPtrOutput - ToConnectionZSideAccessPointLocationPtrOutputWithContext(context.Context) ConnectionZSideAccessPointLocationPtrOutput + ToServiceProfilePortArrayOutput() ServiceProfilePortArrayOutput + ToServiceProfilePortArrayOutputWithContext(context.Context) ServiceProfilePortArrayOutput } -type connectionZSideAccessPointLocationPtrType ConnectionZSideAccessPointLocationArgs +type ServiceProfilePortArray []ServiceProfilePortInput -func ConnectionZSideAccessPointLocationPtr(v *ConnectionZSideAccessPointLocationArgs) ConnectionZSideAccessPointLocationPtrInput { - return (*connectionZSideAccessPointLocationPtrType)(v) +func (ServiceProfilePortArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfilePort)(nil)).Elem() } -func (*connectionZSideAccessPointLocationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointLocation)(nil)).Elem() +func (i ServiceProfilePortArray) ToServiceProfilePortArrayOutput() ServiceProfilePortArrayOutput { + return i.ToServiceProfilePortArrayOutputWithContext(context.Background()) } -func (i *connectionZSideAccessPointLocationPtrType) ToConnectionZSideAccessPointLocationPtrOutput() ConnectionZSideAccessPointLocationPtrOutput { - return i.ToConnectionZSideAccessPointLocationPtrOutputWithContext(context.Background()) +func (i ServiceProfilePortArray) ToServiceProfilePortArrayOutputWithContext(ctx context.Context) ServiceProfilePortArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfilePortArrayOutput) } -func (i *connectionZSideAccessPointLocationPtrType) ToConnectionZSideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLocationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointLocationPtrOutput) +func (i ServiceProfilePortArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfilePort] { + return pulumix.Output[[]ServiceProfilePort]{ + OutputState: i.ToServiceProfilePortArrayOutputWithContext(ctx).OutputState, + } } -type ConnectionZSideAccessPointLocationOutput struct{ *pulumi.OutputState } +type ServiceProfilePortOutput struct{ *pulumi.OutputState } -func (ConnectionZSideAccessPointLocationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointLocation)(nil)).Elem() +func (ServiceProfilePortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfilePort)(nil)).Elem() } -func (o ConnectionZSideAccessPointLocationOutput) ToConnectionZSideAccessPointLocationOutput() ConnectionZSideAccessPointLocationOutput { +func (o ServiceProfilePortOutput) ToServiceProfilePortOutput() ServiceProfilePortOutput { return o } -func (o ConnectionZSideAccessPointLocationOutput) ToConnectionZSideAccessPointLocationOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLocationOutput { +func (o ServiceProfilePortOutput) ToServiceProfilePortOutputWithContext(ctx context.Context) ServiceProfilePortOutput { return o } -func (o ConnectionZSideAccessPointLocationOutput) ToConnectionZSideAccessPointLocationPtrOutput() ConnectionZSideAccessPointLocationPtrOutput { - return o.ToConnectionZSideAccessPointLocationPtrOutputWithContext(context.Background()) -} - -func (o ConnectionZSideAccessPointLocationOutput) ToConnectionZSideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLocationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointLocation) *ConnectionZSideAccessPointLocation { - return &v - }).(ConnectionZSideAccessPointLocationPtrOutput) -} - -func (o ConnectionZSideAccessPointLocationOutput) Ibx() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointLocation) *string { return v.Ibx }).(pulumi.StringPtrOutput) -} - -func (o ConnectionZSideAccessPointLocationOutput) MetroCode() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointLocation) *string { return v.MetroCode }).(pulumi.StringPtrOutput) +func (o ServiceProfilePortOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfilePort] { + return pulumix.Output[ServiceProfilePort]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointLocationOutput) MetroName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointLocation) *string { return v.MetroName }).(pulumi.StringPtrOutput) +// Cross Connect Id +func (o ServiceProfilePortOutput) CrossConnectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfilePort) *string { return v.CrossConnectId }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointLocationOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointLocation) *string { return v.Region }).(pulumi.StringPtrOutput) +// Colo/Port Location +func (o ServiceProfilePortOutput) Location() ServiceProfilePortLocationPtrOutput { + return o.ApplyT(func(v ServiceProfilePort) *ServiceProfilePortLocation { return v.Location }).(ServiceProfilePortLocationPtrOutput) } -type ConnectionZSideAccessPointLocationPtrOutput struct{ *pulumi.OutputState } - -func (ConnectionZSideAccessPointLocationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointLocation)(nil)).Elem() +// Seller Region +func (o ServiceProfilePortOutput) SellerRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfilePort) *string { return v.SellerRegion }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointLocationPtrOutput) ToConnectionZSideAccessPointLocationPtrOutput() ConnectionZSideAccessPointLocationPtrOutput { - return o +// Seller Region details +func (o ServiceProfilePortOutput) SellerRegionDescription() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfilePort) *string { return v.SellerRegionDescription }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointLocationPtrOutput) ToConnectionZSideAccessPointLocationPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointLocationPtrOutput { - return o +// Colo/Port Type +func (o ServiceProfilePortOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v ServiceProfilePort) string { return v.Type }).(pulumi.StringOutput) } -func (o ConnectionZSideAccessPointLocationPtrOutput) Elem() ConnectionZSideAccessPointLocationOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointLocation) ConnectionZSideAccessPointLocation { - if v != nil { - return *v - } - var ret ConnectionZSideAccessPointLocation - return ret - }).(ConnectionZSideAccessPointLocationOutput) +// Colo/Port Uuid +func (o ServiceProfilePortOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v ServiceProfilePort) string { return v.Uuid }).(pulumi.StringOutput) } -func (o ConnectionZSideAccessPointLocationPtrOutput) Ibx() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointLocation) *string { - if v == nil { - return nil - } - return v.Ibx - }).(pulumi.StringPtrOutput) -} +type ServiceProfilePortArrayOutput struct{ *pulumi.OutputState } -func (o ConnectionZSideAccessPointLocationPtrOutput) MetroCode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointLocation) *string { - if v == nil { - return nil - } - return v.MetroCode - }).(pulumi.StringPtrOutput) +func (ServiceProfilePortArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfilePort)(nil)).Elem() } -func (o ConnectionZSideAccessPointLocationPtrOutput) MetroName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointLocation) *string { - if v == nil { - return nil - } - return v.MetroName - }).(pulumi.StringPtrOutput) +func (o ServiceProfilePortArrayOutput) ToServiceProfilePortArrayOutput() ServiceProfilePortArrayOutput { + return o } -func (o ConnectionZSideAccessPointLocationPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointLocation) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (o ServiceProfilePortArrayOutput) ToServiceProfilePortArrayOutputWithContext(ctx context.Context) ServiceProfilePortArrayOutput { + return o } -type ConnectionZSideAccessPointPort struct { - // Connection URI information - Href *string `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name *string `pulumi:"name"` - // Redundancy Information - Redundancies []ConnectionZSideAccessPointPortRedundancy `pulumi:"redundancies"` - Uuid *string `pulumi:"uuid"` +func (o ServiceProfilePortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfilePort] { + return pulumix.Output[[]ServiceProfilePort]{ + OutputState: o.OutputState, + } } -// ConnectionZSideAccessPointPortInput is an input type that accepts ConnectionZSideAccessPointPortArgs and ConnectionZSideAccessPointPortOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointPortInput` via: +func (o ServiceProfilePortArrayOutput) Index(i pulumi.IntInput) ServiceProfilePortOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfilePort { + return vs[0].([]ServiceProfilePort)[vs[1].(int)] + }).(ServiceProfilePortOutput) +} + +type ServiceProfilePortLocation struct { + // IBX Code + Ibx *string `pulumi:"ibx"` + // Access point metro code + MetroCode *string `pulumi:"metroCode"` + // Access point metro name + MetroName *string `pulumi:"metroName"` + // Access point region + Region *string `pulumi:"region"` +} + +// ServiceProfilePortLocationInput is an input type that accepts ServiceProfilePortLocationArgs and ServiceProfilePortLocationOutput values. +// You can construct a concrete instance of `ServiceProfilePortLocationInput` via: // -// ConnectionZSideAccessPointPortArgs{...} -type ConnectionZSideAccessPointPortInput interface { +// ServiceProfilePortLocationArgs{...} +type ServiceProfilePortLocationInput interface { pulumi.Input - ToConnectionZSideAccessPointPortOutput() ConnectionZSideAccessPointPortOutput - ToConnectionZSideAccessPointPortOutputWithContext(context.Context) ConnectionZSideAccessPointPortOutput + ToServiceProfilePortLocationOutput() ServiceProfilePortLocationOutput + ToServiceProfilePortLocationOutputWithContext(context.Context) ServiceProfilePortLocationOutput } -type ConnectionZSideAccessPointPortArgs struct { - // Connection URI information - Href pulumi.StringPtrInput `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name pulumi.StringPtrInput `pulumi:"name"` - // Redundancy Information - Redundancies ConnectionZSideAccessPointPortRedundancyArrayInput `pulumi:"redundancies"` - Uuid pulumi.StringPtrInput `pulumi:"uuid"` +type ServiceProfilePortLocationArgs struct { + // IBX Code + Ibx pulumi.StringPtrInput `pulumi:"ibx"` + // Access point metro code + MetroCode pulumi.StringPtrInput `pulumi:"metroCode"` + // Access point metro name + MetroName pulumi.StringPtrInput `pulumi:"metroName"` + // Access point region + Region pulumi.StringPtrInput `pulumi:"region"` } -func (ConnectionZSideAccessPointPortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointPort)(nil)).Elem() +func (ServiceProfilePortLocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfilePortLocation)(nil)).Elem() } -func (i ConnectionZSideAccessPointPortArgs) ToConnectionZSideAccessPointPortOutput() ConnectionZSideAccessPointPortOutput { - return i.ToConnectionZSideAccessPointPortOutputWithContext(context.Background()) +func (i ServiceProfilePortLocationArgs) ToServiceProfilePortLocationOutput() ServiceProfilePortLocationOutput { + return i.ToServiceProfilePortLocationOutputWithContext(context.Background()) } -func (i ConnectionZSideAccessPointPortArgs) ToConnectionZSideAccessPointPortOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointPortOutput) +func (i ServiceProfilePortLocationArgs) ToServiceProfilePortLocationOutputWithContext(ctx context.Context) ServiceProfilePortLocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfilePortLocationOutput) } -func (i ConnectionZSideAccessPointPortArgs) ToConnectionZSideAccessPointPortPtrOutput() ConnectionZSideAccessPointPortPtrOutput { - return i.ToConnectionZSideAccessPointPortPtrOutputWithContext(context.Background()) +func (i ServiceProfilePortLocationArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfilePortLocation] { + return pulumix.Output[ServiceProfilePortLocation]{ + OutputState: i.ToServiceProfilePortLocationOutputWithContext(ctx).OutputState, + } } -func (i ConnectionZSideAccessPointPortArgs) ToConnectionZSideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointPortOutput).ToConnectionZSideAccessPointPortPtrOutputWithContext(ctx) +func (i ServiceProfilePortLocationArgs) ToServiceProfilePortLocationPtrOutput() ServiceProfilePortLocationPtrOutput { + return i.ToServiceProfilePortLocationPtrOutputWithContext(context.Background()) } -// ConnectionZSideAccessPointPortPtrInput is an input type that accepts ConnectionZSideAccessPointPortArgs, ConnectionZSideAccessPointPortPtr and ConnectionZSideAccessPointPortPtrOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointPortPtrInput` via: +func (i ServiceProfilePortLocationArgs) ToServiceProfilePortLocationPtrOutputWithContext(ctx context.Context) ServiceProfilePortLocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfilePortLocationOutput).ToServiceProfilePortLocationPtrOutputWithContext(ctx) +} + +// ServiceProfilePortLocationPtrInput is an input type that accepts ServiceProfilePortLocationArgs, ServiceProfilePortLocationPtr and ServiceProfilePortLocationPtrOutput values. +// You can construct a concrete instance of `ServiceProfilePortLocationPtrInput` via: // -// ConnectionZSideAccessPointPortArgs{...} +// ServiceProfilePortLocationArgs{...} // // or: // // nil -type ConnectionZSideAccessPointPortPtrInput interface { +type ServiceProfilePortLocationPtrInput interface { pulumi.Input - ToConnectionZSideAccessPointPortPtrOutput() ConnectionZSideAccessPointPortPtrOutput - ToConnectionZSideAccessPointPortPtrOutputWithContext(context.Context) ConnectionZSideAccessPointPortPtrOutput + ToServiceProfilePortLocationPtrOutput() ServiceProfilePortLocationPtrOutput + ToServiceProfilePortLocationPtrOutputWithContext(context.Context) ServiceProfilePortLocationPtrOutput } -type connectionZSideAccessPointPortPtrType ConnectionZSideAccessPointPortArgs +type serviceProfilePortLocationPtrType ServiceProfilePortLocationArgs -func ConnectionZSideAccessPointPortPtr(v *ConnectionZSideAccessPointPortArgs) ConnectionZSideAccessPointPortPtrInput { - return (*connectionZSideAccessPointPortPtrType)(v) +func ServiceProfilePortLocationPtr(v *ServiceProfilePortLocationArgs) ServiceProfilePortLocationPtrInput { + return (*serviceProfilePortLocationPtrType)(v) } -func (*connectionZSideAccessPointPortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointPort)(nil)).Elem() +func (*serviceProfilePortLocationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfilePortLocation)(nil)).Elem() } -func (i *connectionZSideAccessPointPortPtrType) ToConnectionZSideAccessPointPortPtrOutput() ConnectionZSideAccessPointPortPtrOutput { - return i.ToConnectionZSideAccessPointPortPtrOutputWithContext(context.Background()) +func (i *serviceProfilePortLocationPtrType) ToServiceProfilePortLocationPtrOutput() ServiceProfilePortLocationPtrOutput { + return i.ToServiceProfilePortLocationPtrOutputWithContext(context.Background()) } -func (i *connectionZSideAccessPointPortPtrType) ToConnectionZSideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointPortPtrOutput) +func (i *serviceProfilePortLocationPtrType) ToServiceProfilePortLocationPtrOutputWithContext(ctx context.Context) ServiceProfilePortLocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfilePortLocationPtrOutput) } -type ConnectionZSideAccessPointPortOutput struct{ *pulumi.OutputState } +func (i *serviceProfilePortLocationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfilePortLocation] { + return pulumix.Output[*ServiceProfilePortLocation]{ + OutputState: i.ToServiceProfilePortLocationPtrOutputWithContext(ctx).OutputState, + } +} -func (ConnectionZSideAccessPointPortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointPort)(nil)).Elem() +type ServiceProfilePortLocationOutput struct{ *pulumi.OutputState } + +func (ServiceProfilePortLocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfilePortLocation)(nil)).Elem() } -func (o ConnectionZSideAccessPointPortOutput) ToConnectionZSideAccessPointPortOutput() ConnectionZSideAccessPointPortOutput { +func (o ServiceProfilePortLocationOutput) ToServiceProfilePortLocationOutput() ServiceProfilePortLocationOutput { return o } -func (o ConnectionZSideAccessPointPortOutput) ToConnectionZSideAccessPointPortOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortOutput { +func (o ServiceProfilePortLocationOutput) ToServiceProfilePortLocationOutputWithContext(ctx context.Context) ServiceProfilePortLocationOutput { return o } -func (o ConnectionZSideAccessPointPortOutput) ToConnectionZSideAccessPointPortPtrOutput() ConnectionZSideAccessPointPortPtrOutput { - return o.ToConnectionZSideAccessPointPortPtrOutputWithContext(context.Background()) +func (o ServiceProfilePortLocationOutput) ToServiceProfilePortLocationPtrOutput() ServiceProfilePortLocationPtrOutput { + return o.ToServiceProfilePortLocationPtrOutputWithContext(context.Background()) } -func (o ConnectionZSideAccessPointPortOutput) ToConnectionZSideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointPort) *ConnectionZSideAccessPointPort { +func (o ServiceProfilePortLocationOutput) ToServiceProfilePortLocationPtrOutputWithContext(ctx context.Context) ServiceProfilePortLocationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfilePortLocation) *ServiceProfilePortLocation { return &v - }).(ConnectionZSideAccessPointPortPtrOutput) + }).(ServiceProfilePortLocationPtrOutput) } -// Connection URI information -func (o ConnectionZSideAccessPointPortOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointPort) *string { return v.Href }).(pulumi.StringPtrOutput) +func (o ServiceProfilePortLocationOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfilePortLocation] { + return pulumix.Output[ServiceProfilePortLocation]{ + OutputState: o.OutputState, + } } -// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores -func (o ConnectionZSideAccessPointPortOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointPort) *string { return v.Name }).(pulumi.StringPtrOutput) +// IBX Code +func (o ServiceProfilePortLocationOutput) Ibx() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfilePortLocation) *string { return v.Ibx }).(pulumi.StringPtrOutput) } -// Redundancy Information -func (o ConnectionZSideAccessPointPortOutput) Redundancies() ConnectionZSideAccessPointPortRedundancyArrayOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointPort) []ConnectionZSideAccessPointPortRedundancy { - return v.Redundancies - }).(ConnectionZSideAccessPointPortRedundancyArrayOutput) +// Access point metro code +func (o ServiceProfilePortLocationOutput) MetroCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfilePortLocation) *string { return v.MetroCode }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointPortOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointPort) *string { return v.Uuid }).(pulumi.StringPtrOutput) +// Access point metro name +func (o ServiceProfilePortLocationOutput) MetroName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfilePortLocation) *string { return v.MetroName }).(pulumi.StringPtrOutput) } -type ConnectionZSideAccessPointPortPtrOutput struct{ *pulumi.OutputState } +// Access point region +func (o ServiceProfilePortLocationOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfilePortLocation) *string { return v.Region }).(pulumi.StringPtrOutput) +} -func (ConnectionZSideAccessPointPortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointPort)(nil)).Elem() +type ServiceProfilePortLocationPtrOutput struct{ *pulumi.OutputState } + +func (ServiceProfilePortLocationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfilePortLocation)(nil)).Elem() } -func (o ConnectionZSideAccessPointPortPtrOutput) ToConnectionZSideAccessPointPortPtrOutput() ConnectionZSideAccessPointPortPtrOutput { +func (o ServiceProfilePortLocationPtrOutput) ToServiceProfilePortLocationPtrOutput() ServiceProfilePortLocationPtrOutput { return o } -func (o ConnectionZSideAccessPointPortPtrOutput) ToConnectionZSideAccessPointPortPtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortPtrOutput { +func (o ServiceProfilePortLocationPtrOutput) ToServiceProfilePortLocationPtrOutputWithContext(ctx context.Context) ServiceProfilePortLocationPtrOutput { return o } -func (o ConnectionZSideAccessPointPortPtrOutput) Elem() ConnectionZSideAccessPointPortOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointPort) ConnectionZSideAccessPointPort { +func (o ServiceProfilePortLocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfilePortLocation] { + return pulumix.Output[*ServiceProfilePortLocation]{ + OutputState: o.OutputState, + } +} + +func (o ServiceProfilePortLocationPtrOutput) Elem() ServiceProfilePortLocationOutput { + return o.ApplyT(func(v *ServiceProfilePortLocation) ServiceProfilePortLocation { if v != nil { return *v } - var ret ConnectionZSideAccessPointPort + var ret ServiceProfilePortLocation return ret - }).(ConnectionZSideAccessPointPortOutput) + }).(ServiceProfilePortLocationOutput) } -// Connection URI information -func (o ConnectionZSideAccessPointPortPtrOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointPort) *string { +// IBX Code +func (o ServiceProfilePortLocationPtrOutput) Ibx() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfilePortLocation) *string { if v == nil { return nil } - return v.Href + return v.Ibx }).(pulumi.StringPtrOutput) } -// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores -func (o ConnectionZSideAccessPointPortPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointPort) *string { +// Access point metro code +func (o ServiceProfilePortLocationPtrOutput) MetroCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfilePortLocation) *string { if v == nil { return nil } - return v.Name + return v.MetroCode }).(pulumi.StringPtrOutput) } -// Redundancy Information -func (o ConnectionZSideAccessPointPortPtrOutput) Redundancies() ConnectionZSideAccessPointPortRedundancyArrayOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointPort) []ConnectionZSideAccessPointPortRedundancy { +// Access point metro name +func (o ServiceProfilePortLocationPtrOutput) MetroName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfilePortLocation) *string { if v == nil { return nil } - return v.Redundancies - }).(ConnectionZSideAccessPointPortRedundancyArrayOutput) + return v.MetroName + }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointPortPtrOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointPort) *string { +// Access point region +func (o ServiceProfilePortLocationPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfilePortLocation) *string { if v == nil { return nil } - return v.Uuid + return v.Region }).(pulumi.StringPtrOutput) } -type ConnectionZSideAccessPointPortRedundancy struct { - // Priority type- PRIMARY, SECONDARY - Priority *string `pulumi:"priority"` +type ServiceProfileProject struct { + // Unique Resource URL + Href *string `pulumi:"href"` + // Project Id + ProjectId *string `pulumi:"projectId"` } -// ConnectionZSideAccessPointPortRedundancyInput is an input type that accepts ConnectionZSideAccessPointPortRedundancyArgs and ConnectionZSideAccessPointPortRedundancyOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointPortRedundancyInput` via: +// ServiceProfileProjectInput is an input type that accepts ServiceProfileProjectArgs and ServiceProfileProjectOutput values. +// You can construct a concrete instance of `ServiceProfileProjectInput` via: // -// ConnectionZSideAccessPointPortRedundancyArgs{...} -type ConnectionZSideAccessPointPortRedundancyInput interface { +// ServiceProfileProjectArgs{...} +type ServiceProfileProjectInput interface { pulumi.Input - ToConnectionZSideAccessPointPortRedundancyOutput() ConnectionZSideAccessPointPortRedundancyOutput - ToConnectionZSideAccessPointPortRedundancyOutputWithContext(context.Context) ConnectionZSideAccessPointPortRedundancyOutput + ToServiceProfileProjectOutput() ServiceProfileProjectOutput + ToServiceProfileProjectOutputWithContext(context.Context) ServiceProfileProjectOutput } -type ConnectionZSideAccessPointPortRedundancyArgs struct { - // Priority type- PRIMARY, SECONDARY - Priority pulumi.StringPtrInput `pulumi:"priority"` +type ServiceProfileProjectArgs struct { + // Unique Resource URL + Href pulumi.StringPtrInput `pulumi:"href"` + // Project Id + ProjectId pulumi.StringPtrInput `pulumi:"projectId"` } -func (ConnectionZSideAccessPointPortRedundancyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointPortRedundancy)(nil)).Elem() +func (ServiceProfileProjectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileProject)(nil)).Elem() } -func (i ConnectionZSideAccessPointPortRedundancyArgs) ToConnectionZSideAccessPointPortRedundancyOutput() ConnectionZSideAccessPointPortRedundancyOutput { - return i.ToConnectionZSideAccessPointPortRedundancyOutputWithContext(context.Background()) +func (i ServiceProfileProjectArgs) ToServiceProfileProjectOutput() ServiceProfileProjectOutput { + return i.ToServiceProfileProjectOutputWithContext(context.Background()) } -func (i ConnectionZSideAccessPointPortRedundancyArgs) ToConnectionZSideAccessPointPortRedundancyOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortRedundancyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointPortRedundancyOutput) +func (i ServiceProfileProjectArgs) ToServiceProfileProjectOutputWithContext(ctx context.Context) ServiceProfileProjectOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileProjectOutput) } -// ConnectionZSideAccessPointPortRedundancyArrayInput is an input type that accepts ConnectionZSideAccessPointPortRedundancyArray and ConnectionZSideAccessPointPortRedundancyArrayOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointPortRedundancyArrayInput` via: +func (i ServiceProfileProjectArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileProject] { + return pulumix.Output[ServiceProfileProject]{ + OutputState: i.ToServiceProfileProjectOutputWithContext(ctx).OutputState, + } +} + +func (i ServiceProfileProjectArgs) ToServiceProfileProjectPtrOutput() ServiceProfileProjectPtrOutput { + return i.ToServiceProfileProjectPtrOutputWithContext(context.Background()) +} + +func (i ServiceProfileProjectArgs) ToServiceProfileProjectPtrOutputWithContext(ctx context.Context) ServiceProfileProjectPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileProjectOutput).ToServiceProfileProjectPtrOutputWithContext(ctx) +} + +// ServiceProfileProjectPtrInput is an input type that accepts ServiceProfileProjectArgs, ServiceProfileProjectPtr and ServiceProfileProjectPtrOutput values. +// You can construct a concrete instance of `ServiceProfileProjectPtrInput` via: // -// ConnectionZSideAccessPointPortRedundancyArray{ ConnectionZSideAccessPointPortRedundancyArgs{...} } -type ConnectionZSideAccessPointPortRedundancyArrayInput interface { +// ServiceProfileProjectArgs{...} +// +// or: +// +// nil +type ServiceProfileProjectPtrInput interface { pulumi.Input - ToConnectionZSideAccessPointPortRedundancyArrayOutput() ConnectionZSideAccessPointPortRedundancyArrayOutput - ToConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(context.Context) ConnectionZSideAccessPointPortRedundancyArrayOutput + ToServiceProfileProjectPtrOutput() ServiceProfileProjectPtrOutput + ToServiceProfileProjectPtrOutputWithContext(context.Context) ServiceProfileProjectPtrOutput } -type ConnectionZSideAccessPointPortRedundancyArray []ConnectionZSideAccessPointPortRedundancyInput +type serviceProfileProjectPtrType ServiceProfileProjectArgs + +func ServiceProfileProjectPtr(v *ServiceProfileProjectArgs) ServiceProfileProjectPtrInput { + return (*serviceProfileProjectPtrType)(v) +} + +func (*serviceProfileProjectPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileProject)(nil)).Elem() +} -func (ConnectionZSideAccessPointPortRedundancyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionZSideAccessPointPortRedundancy)(nil)).Elem() +func (i *serviceProfileProjectPtrType) ToServiceProfileProjectPtrOutput() ServiceProfileProjectPtrOutput { + return i.ToServiceProfileProjectPtrOutputWithContext(context.Background()) } -func (i ConnectionZSideAccessPointPortRedundancyArray) ToConnectionZSideAccessPointPortRedundancyArrayOutput() ConnectionZSideAccessPointPortRedundancyArrayOutput { - return i.ToConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(context.Background()) +func (i *serviceProfileProjectPtrType) ToServiceProfileProjectPtrOutputWithContext(ctx context.Context) ServiceProfileProjectPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileProjectPtrOutput) } -func (i ConnectionZSideAccessPointPortRedundancyArray) ToConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortRedundancyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointPortRedundancyArrayOutput) +func (i *serviceProfileProjectPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileProject] { + return pulumix.Output[*ServiceProfileProject]{ + OutputState: i.ToServiceProfileProjectPtrOutputWithContext(ctx).OutputState, + } } -type ConnectionZSideAccessPointPortRedundancyOutput struct{ *pulumi.OutputState } +type ServiceProfileProjectOutput struct{ *pulumi.OutputState } -func (ConnectionZSideAccessPointPortRedundancyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointPortRedundancy)(nil)).Elem() +func (ServiceProfileProjectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileProject)(nil)).Elem() } -func (o ConnectionZSideAccessPointPortRedundancyOutput) ToConnectionZSideAccessPointPortRedundancyOutput() ConnectionZSideAccessPointPortRedundancyOutput { +func (o ServiceProfileProjectOutput) ToServiceProfileProjectOutput() ServiceProfileProjectOutput { return o } -func (o ConnectionZSideAccessPointPortRedundancyOutput) ToConnectionZSideAccessPointPortRedundancyOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortRedundancyOutput { +func (o ServiceProfileProjectOutput) ToServiceProfileProjectOutputWithContext(ctx context.Context) ServiceProfileProjectOutput { return o } -// Priority type- PRIMARY, SECONDARY -func (o ConnectionZSideAccessPointPortRedundancyOutput) Priority() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointPortRedundancy) *string { return v.Priority }).(pulumi.StringPtrOutput) +func (o ServiceProfileProjectOutput) ToServiceProfileProjectPtrOutput() ServiceProfileProjectPtrOutput { + return o.ToServiceProfileProjectPtrOutputWithContext(context.Background()) } -type ConnectionZSideAccessPointPortRedundancyArrayOutput struct{ *pulumi.OutputState } - -func (ConnectionZSideAccessPointPortRedundancyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionZSideAccessPointPortRedundancy)(nil)).Elem() +func (o ServiceProfileProjectOutput) ToServiceProfileProjectPtrOutputWithContext(ctx context.Context) ServiceProfileProjectPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileProject) *ServiceProfileProject { + return &v + }).(ServiceProfileProjectPtrOutput) } -func (o ConnectionZSideAccessPointPortRedundancyArrayOutput) ToConnectionZSideAccessPointPortRedundancyArrayOutput() ConnectionZSideAccessPointPortRedundancyArrayOutput { - return o +func (o ServiceProfileProjectOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileProject] { + return pulumix.Output[ServiceProfileProject]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointPortRedundancyArrayOutput) ToConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointPortRedundancyArrayOutput { - return o +// Unique Resource URL +func (o ServiceProfileProjectOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileProject) *string { return v.Href }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointPortRedundancyArrayOutput) Index(i pulumi.IntInput) ConnectionZSideAccessPointPortRedundancyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionZSideAccessPointPortRedundancy { - return vs[0].([]ConnectionZSideAccessPointPortRedundancy)[vs[1].(int)] - }).(ConnectionZSideAccessPointPortRedundancyOutput) +// Project Id +func (o ServiceProfileProjectOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileProject) *string { return v.ProjectId }).(pulumi.StringPtrOutput) } -type ConnectionZSideAccessPointProfile struct { - AccessPointTypeConfigs []ConnectionZSideAccessPointProfileAccessPointTypeConfig `pulumi:"accessPointTypeConfigs"` - Description *string `pulumi:"description"` - // Connection URI information - Href *string `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name *string `pulumi:"name"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - Uuid string `pulumi:"uuid"` -} +type ServiceProfileProjectPtrOutput struct{ *pulumi.OutputState } -// ConnectionZSideAccessPointProfileInput is an input type that accepts ConnectionZSideAccessPointProfileArgs and ConnectionZSideAccessPointProfileOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointProfileInput` via: -// -// ConnectionZSideAccessPointProfileArgs{...} -type ConnectionZSideAccessPointProfileInput interface { - pulumi.Input +func (ServiceProfileProjectPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileProject)(nil)).Elem() +} - ToConnectionZSideAccessPointProfileOutput() ConnectionZSideAccessPointProfileOutput - ToConnectionZSideAccessPointProfileOutputWithContext(context.Context) ConnectionZSideAccessPointProfileOutput +func (o ServiceProfileProjectPtrOutput) ToServiceProfileProjectPtrOutput() ServiceProfileProjectPtrOutput { + return o } -type ConnectionZSideAccessPointProfileArgs struct { - AccessPointTypeConfigs ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput `pulumi:"accessPointTypeConfigs"` - Description pulumi.StringPtrInput `pulumi:"description"` - // Connection URI information - Href pulumi.StringPtrInput `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name pulumi.StringPtrInput `pulumi:"name"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - Uuid pulumi.StringInput `pulumi:"uuid"` +func (o ServiceProfileProjectPtrOutput) ToServiceProfileProjectPtrOutputWithContext(ctx context.Context) ServiceProfileProjectPtrOutput { + return o } -func (ConnectionZSideAccessPointProfileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointProfile)(nil)).Elem() +func (o ServiceProfileProjectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileProject] { + return pulumix.Output[*ServiceProfileProject]{ + OutputState: o.OutputState, + } } -func (i ConnectionZSideAccessPointProfileArgs) ToConnectionZSideAccessPointProfileOutput() ConnectionZSideAccessPointProfileOutput { - return i.ToConnectionZSideAccessPointProfileOutputWithContext(context.Background()) +func (o ServiceProfileProjectPtrOutput) Elem() ServiceProfileProjectOutput { + return o.ApplyT(func(v *ServiceProfileProject) ServiceProfileProject { + if v != nil { + return *v + } + var ret ServiceProfileProject + return ret + }).(ServiceProfileProjectOutput) } -func (i ConnectionZSideAccessPointProfileArgs) ToConnectionZSideAccessPointProfileOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfileOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointProfileOutput) +// Unique Resource URL +func (o ServiceProfileProjectPtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileProject) *string { + if v == nil { + return nil + } + return v.Href + }).(pulumi.StringPtrOutput) } -func (i ConnectionZSideAccessPointProfileArgs) ToConnectionZSideAccessPointProfilePtrOutput() ConnectionZSideAccessPointProfilePtrOutput { - return i.ToConnectionZSideAccessPointProfilePtrOutputWithContext(context.Background()) +// Project Id +func (o ServiceProfileProjectPtrOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileProject) *string { + if v == nil { + return nil + } + return v.ProjectId + }).(pulumi.StringPtrOutput) } -func (i ConnectionZSideAccessPointProfileArgs) ToConnectionZSideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointProfileOutput).ToConnectionZSideAccessPointProfilePtrOutputWithContext(ctx) +type ServiceProfileVirtualDevice struct { + // Device Interface Uuid + InterfaceUuid *string `pulumi:"interfaceUuid"` + // Device Location + Location *ServiceProfileVirtualDeviceLocation `pulumi:"location"` + // Virtual Device Type + Type string `pulumi:"type"` + // Virtual Device Uuid + Uuid string `pulumi:"uuid"` } -// ConnectionZSideAccessPointProfilePtrInput is an input type that accepts ConnectionZSideAccessPointProfileArgs, ConnectionZSideAccessPointProfilePtr and ConnectionZSideAccessPointProfilePtrOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointProfilePtrInput` via: -// -// ConnectionZSideAccessPointProfileArgs{...} -// -// or: +// ServiceProfileVirtualDeviceInput is an input type that accepts ServiceProfileVirtualDeviceArgs and ServiceProfileVirtualDeviceOutput values. +// You can construct a concrete instance of `ServiceProfileVirtualDeviceInput` via: // -// nil -type ConnectionZSideAccessPointProfilePtrInput interface { +// ServiceProfileVirtualDeviceArgs{...} +type ServiceProfileVirtualDeviceInput interface { pulumi.Input - ToConnectionZSideAccessPointProfilePtrOutput() ConnectionZSideAccessPointProfilePtrOutput - ToConnectionZSideAccessPointProfilePtrOutputWithContext(context.Context) ConnectionZSideAccessPointProfilePtrOutput + ToServiceProfileVirtualDeviceOutput() ServiceProfileVirtualDeviceOutput + ToServiceProfileVirtualDeviceOutputWithContext(context.Context) ServiceProfileVirtualDeviceOutput } -type connectionZSideAccessPointProfilePtrType ConnectionZSideAccessPointProfileArgs - -func ConnectionZSideAccessPointProfilePtr(v *ConnectionZSideAccessPointProfileArgs) ConnectionZSideAccessPointProfilePtrInput { - return (*connectionZSideAccessPointProfilePtrType)(v) +type ServiceProfileVirtualDeviceArgs struct { + // Device Interface Uuid + InterfaceUuid pulumi.StringPtrInput `pulumi:"interfaceUuid"` + // Device Location + Location ServiceProfileVirtualDeviceLocationPtrInput `pulumi:"location"` + // Virtual Device Type + Type pulumi.StringInput `pulumi:"type"` + // Virtual Device Uuid + Uuid pulumi.StringInput `pulumi:"uuid"` } -func (*connectionZSideAccessPointProfilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointProfile)(nil)).Elem() +func (ServiceProfileVirtualDeviceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileVirtualDevice)(nil)).Elem() } -func (i *connectionZSideAccessPointProfilePtrType) ToConnectionZSideAccessPointProfilePtrOutput() ConnectionZSideAccessPointProfilePtrOutput { - return i.ToConnectionZSideAccessPointProfilePtrOutputWithContext(context.Background()) +func (i ServiceProfileVirtualDeviceArgs) ToServiceProfileVirtualDeviceOutput() ServiceProfileVirtualDeviceOutput { + return i.ToServiceProfileVirtualDeviceOutputWithContext(context.Background()) } -func (i *connectionZSideAccessPointProfilePtrType) ToConnectionZSideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointProfilePtrOutput) +func (i ServiceProfileVirtualDeviceArgs) ToServiceProfileVirtualDeviceOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileVirtualDeviceOutput) } -type ConnectionZSideAccessPointProfileOutput struct{ *pulumi.OutputState } - -func (ConnectionZSideAccessPointProfileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointProfile)(nil)).Elem() +func (i ServiceProfileVirtualDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileVirtualDevice] { + return pulumix.Output[ServiceProfileVirtualDevice]{ + OutputState: i.ToServiceProfileVirtualDeviceOutputWithContext(ctx).OutputState, + } } -func (o ConnectionZSideAccessPointProfileOutput) ToConnectionZSideAccessPointProfileOutput() ConnectionZSideAccessPointProfileOutput { - return o -} +// ServiceProfileVirtualDeviceArrayInput is an input type that accepts ServiceProfileVirtualDeviceArray and ServiceProfileVirtualDeviceArrayOutput values. +// You can construct a concrete instance of `ServiceProfileVirtualDeviceArrayInput` via: +// +// ServiceProfileVirtualDeviceArray{ ServiceProfileVirtualDeviceArgs{...} } +type ServiceProfileVirtualDeviceArrayInput interface { + pulumi.Input -func (o ConnectionZSideAccessPointProfileOutput) ToConnectionZSideAccessPointProfileOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfileOutput { - return o + ToServiceProfileVirtualDeviceArrayOutput() ServiceProfileVirtualDeviceArrayOutput + ToServiceProfileVirtualDeviceArrayOutputWithContext(context.Context) ServiceProfileVirtualDeviceArrayOutput } -func (o ConnectionZSideAccessPointProfileOutput) ToConnectionZSideAccessPointProfilePtrOutput() ConnectionZSideAccessPointProfilePtrOutput { - return o.ToConnectionZSideAccessPointProfilePtrOutputWithContext(context.Background()) -} +type ServiceProfileVirtualDeviceArray []ServiceProfileVirtualDeviceInput -func (o ConnectionZSideAccessPointProfileOutput) ToConnectionZSideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointProfile) *ConnectionZSideAccessPointProfile { - return &v - }).(ConnectionZSideAccessPointProfilePtrOutput) +func (ServiceProfileVirtualDeviceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfileVirtualDevice)(nil)).Elem() } -func (o ConnectionZSideAccessPointProfileOutput) AccessPointTypeConfigs() ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointProfile) []ConnectionZSideAccessPointProfileAccessPointTypeConfig { - return v.AccessPointTypeConfigs - }).(ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) +func (i ServiceProfileVirtualDeviceArray) ToServiceProfileVirtualDeviceArrayOutput() ServiceProfileVirtualDeviceArrayOutput { + return i.ToServiceProfileVirtualDeviceArrayOutputWithContext(context.Background()) } -func (o ConnectionZSideAccessPointProfileOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointProfile) *string { return v.Description }).(pulumi.StringPtrOutput) +func (i ServiceProfileVirtualDeviceArray) ToServiceProfileVirtualDeviceArrayOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileVirtualDeviceArrayOutput) } -// Connection URI information -func (o ConnectionZSideAccessPointProfileOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointProfile) *string { return v.Href }).(pulumi.StringPtrOutput) +func (i ServiceProfileVirtualDeviceArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfileVirtualDevice] { + return pulumix.Output[[]ServiceProfileVirtualDevice]{ + OutputState: i.ToServiceProfileVirtualDeviceArrayOutputWithContext(ctx).OutputState, + } } -// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores -func (o ConnectionZSideAccessPointProfileOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointProfile) *string { return v.Name }).(pulumi.StringPtrOutput) -} +type ServiceProfileVirtualDeviceOutput struct{ *pulumi.OutputState } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideAccessPointProfileOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointProfile) string { return v.Type }).(pulumi.StringOutput) +func (ServiceProfileVirtualDeviceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileVirtualDevice)(nil)).Elem() } -func (o ConnectionZSideAccessPointProfileOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointProfile) string { return v.Uuid }).(pulumi.StringOutput) +func (o ServiceProfileVirtualDeviceOutput) ToServiceProfileVirtualDeviceOutput() ServiceProfileVirtualDeviceOutput { + return o } -type ConnectionZSideAccessPointProfilePtrOutput struct{ *pulumi.OutputState } +func (o ServiceProfileVirtualDeviceOutput) ToServiceProfileVirtualDeviceOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceOutput { + return o +} -func (ConnectionZSideAccessPointProfilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointProfile)(nil)).Elem() +func (o ServiceProfileVirtualDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileVirtualDevice] { + return pulumix.Output[ServiceProfileVirtualDevice]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointProfilePtrOutput) ToConnectionZSideAccessPointProfilePtrOutput() ConnectionZSideAccessPointProfilePtrOutput { - return o +// Device Interface Uuid +func (o ServiceProfileVirtualDeviceOutput) InterfaceUuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileVirtualDevice) *string { return v.InterfaceUuid }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointProfilePtrOutput) ToConnectionZSideAccessPointProfilePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfilePtrOutput { - return o +// Device Location +func (o ServiceProfileVirtualDeviceOutput) Location() ServiceProfileVirtualDeviceLocationPtrOutput { + return o.ApplyT(func(v ServiceProfileVirtualDevice) *ServiceProfileVirtualDeviceLocation { return v.Location }).(ServiceProfileVirtualDeviceLocationPtrOutput) } -func (o ConnectionZSideAccessPointProfilePtrOutput) Elem() ConnectionZSideAccessPointProfileOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) ConnectionZSideAccessPointProfile { - if v != nil { - return *v - } - var ret ConnectionZSideAccessPointProfile - return ret - }).(ConnectionZSideAccessPointProfileOutput) +// Virtual Device Type +func (o ServiceProfileVirtualDeviceOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v ServiceProfileVirtualDevice) string { return v.Type }).(pulumi.StringOutput) } -func (o ConnectionZSideAccessPointProfilePtrOutput) AccessPointTypeConfigs() ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) []ConnectionZSideAccessPointProfileAccessPointTypeConfig { - if v == nil { - return nil - } - return v.AccessPointTypeConfigs - }).(ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) +// Virtual Device Uuid +func (o ServiceProfileVirtualDeviceOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v ServiceProfileVirtualDevice) string { return v.Uuid }).(pulumi.StringOutput) } -func (o ConnectionZSideAccessPointProfilePtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) *string { - if v == nil { - return nil - } - return v.Description - }).(pulumi.StringPtrOutput) +type ServiceProfileVirtualDeviceArrayOutput struct{ *pulumi.OutputState } + +func (ServiceProfileVirtualDeviceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ServiceProfileVirtualDevice)(nil)).Elem() } -// Connection URI information -func (o ConnectionZSideAccessPointProfilePtrOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) *string { - if v == nil { - return nil - } - return v.Href - }).(pulumi.StringPtrOutput) +func (o ServiceProfileVirtualDeviceArrayOutput) ToServiceProfileVirtualDeviceArrayOutput() ServiceProfileVirtualDeviceArrayOutput { + return o } -// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores -func (o ConnectionZSideAccessPointProfilePtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +func (o ServiceProfileVirtualDeviceArrayOutput) ToServiceProfileVirtualDeviceArrayOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceArrayOutput { + return o } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideAccessPointProfilePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) +func (o ServiceProfileVirtualDeviceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceProfileVirtualDevice] { + return pulumix.Output[[]ServiceProfileVirtualDevice]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointProfilePtrOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointProfile) *string { - if v == nil { - return nil - } - return &v.Uuid - }).(pulumi.StringPtrOutput) +func (o ServiceProfileVirtualDeviceArrayOutput) Index(i pulumi.IntInput) ServiceProfileVirtualDeviceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfileVirtualDevice { + return vs[0].([]ServiceProfileVirtualDevice)[vs[1].(int)] + }).(ServiceProfileVirtualDeviceOutput) } -type ConnectionZSideAccessPointProfileAccessPointTypeConfig struct { - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type *string `pulumi:"type"` - Uuid *string `pulumi:"uuid"` +type ServiceProfileVirtualDeviceLocation struct { + // IBX Code + Ibx *string `pulumi:"ibx"` + // Access point metro code + MetroCode *string `pulumi:"metroCode"` + // Access point metro name + MetroName *string `pulumi:"metroName"` + // Access point region + Region *string `pulumi:"region"` } -// ConnectionZSideAccessPointProfileAccessPointTypeConfigInput is an input type that accepts ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs and ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointProfileAccessPointTypeConfigInput` via: +// ServiceProfileVirtualDeviceLocationInput is an input type that accepts ServiceProfileVirtualDeviceLocationArgs and ServiceProfileVirtualDeviceLocationOutput values. +// You can construct a concrete instance of `ServiceProfileVirtualDeviceLocationInput` via: // -// ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs{...} -type ConnectionZSideAccessPointProfileAccessPointTypeConfigInput interface { +// ServiceProfileVirtualDeviceLocationArgs{...} +type ServiceProfileVirtualDeviceLocationInput interface { pulumi.Input - ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutput() ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput - ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Context) ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput + ToServiceProfileVirtualDeviceLocationOutput() ServiceProfileVirtualDeviceLocationOutput + ToServiceProfileVirtualDeviceLocationOutputWithContext(context.Context) ServiceProfileVirtualDeviceLocationOutput } -type ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs struct { - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringPtrInput `pulumi:"type"` - Uuid pulumi.StringPtrInput `pulumi:"uuid"` +type ServiceProfileVirtualDeviceLocationArgs struct { + // IBX Code + Ibx pulumi.StringPtrInput `pulumi:"ibx"` + // Access point metro code + MetroCode pulumi.StringPtrInput `pulumi:"metroCode"` + // Access point metro name + MetroName pulumi.StringPtrInput `pulumi:"metroName"` + // Access point region + Region pulumi.StringPtrInput `pulumi:"region"` } -func (ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func (ServiceProfileVirtualDeviceLocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileVirtualDeviceLocation)(nil)).Elem() } -func (i ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutput() ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { - return i.ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Background()) +func (i ServiceProfileVirtualDeviceLocationArgs) ToServiceProfileVirtualDeviceLocationOutput() ServiceProfileVirtualDeviceLocationOutput { + return i.ToServiceProfileVirtualDeviceLocationOutputWithContext(context.Background()) } -func (i ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) +func (i ServiceProfileVirtualDeviceLocationArgs) ToServiceProfileVirtualDeviceLocationOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceLocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileVirtualDeviceLocationOutput) } -// ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput is an input type that accepts ConnectionZSideAccessPointProfileAccessPointTypeConfigArray and ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput` via: +func (i ServiceProfileVirtualDeviceLocationArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileVirtualDeviceLocation] { + return pulumix.Output[ServiceProfileVirtualDeviceLocation]{ + OutputState: i.ToServiceProfileVirtualDeviceLocationOutputWithContext(ctx).OutputState, + } +} + +func (i ServiceProfileVirtualDeviceLocationArgs) ToServiceProfileVirtualDeviceLocationPtrOutput() ServiceProfileVirtualDeviceLocationPtrOutput { + return i.ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(context.Background()) +} + +func (i ServiceProfileVirtualDeviceLocationArgs) ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceLocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileVirtualDeviceLocationOutput).ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(ctx) +} + +// ServiceProfileVirtualDeviceLocationPtrInput is an input type that accepts ServiceProfileVirtualDeviceLocationArgs, ServiceProfileVirtualDeviceLocationPtr and ServiceProfileVirtualDeviceLocationPtrOutput values. +// You can construct a concrete instance of `ServiceProfileVirtualDeviceLocationPtrInput` via: // -// ConnectionZSideAccessPointProfileAccessPointTypeConfigArray{ ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs{...} } -type ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput interface { +// ServiceProfileVirtualDeviceLocationArgs{...} +// +// or: +// +// nil +type ServiceProfileVirtualDeviceLocationPtrInput interface { pulumi.Input - ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput() ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput - ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Context) ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput + ToServiceProfileVirtualDeviceLocationPtrOutput() ServiceProfileVirtualDeviceLocationPtrOutput + ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(context.Context) ServiceProfileVirtualDeviceLocationPtrOutput } -type ConnectionZSideAccessPointProfileAccessPointTypeConfigArray []ConnectionZSideAccessPointProfileAccessPointTypeConfigInput +type serviceProfileVirtualDeviceLocationPtrType ServiceProfileVirtualDeviceLocationArgs -func (ConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func ServiceProfileVirtualDeviceLocationPtr(v *ServiceProfileVirtualDeviceLocationArgs) ServiceProfileVirtualDeviceLocationPtrInput { + return (*serviceProfileVirtualDeviceLocationPtrType)(v) } -func (i ConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput() ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { - return i.ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Background()) +func (*serviceProfileVirtualDeviceLocationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileVirtualDeviceLocation)(nil)).Elem() } -func (i ConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) +func (i *serviceProfileVirtualDeviceLocationPtrType) ToServiceProfileVirtualDeviceLocationPtrOutput() ServiceProfileVirtualDeviceLocationPtrOutput { + return i.ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(context.Background()) } -type ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput struct{ *pulumi.OutputState } +func (i *serviceProfileVirtualDeviceLocationPtrType) ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceLocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileVirtualDeviceLocationPtrOutput) +} -func (ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func (i *serviceProfileVirtualDeviceLocationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileVirtualDeviceLocation] { + return pulumix.Output[*ServiceProfileVirtualDeviceLocation]{ + OutputState: i.ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(ctx).OutputState, + } } -func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutput() ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { - return o +type ServiceProfileVirtualDeviceLocationOutput struct{ *pulumi.OutputState } + +func (ServiceProfileVirtualDeviceLocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ServiceProfileVirtualDeviceLocation)(nil)).Elem() } -func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ToConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { +func (o ServiceProfileVirtualDeviceLocationOutput) ToServiceProfileVirtualDeviceLocationOutput() ServiceProfileVirtualDeviceLocationOutput { return o } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointProfileAccessPointTypeConfig) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o ServiceProfileVirtualDeviceLocationOutput) ToServiceProfileVirtualDeviceLocationOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceLocationOutput { + return o } -func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointProfileAccessPointTypeConfig) *string { return v.Uuid }).(pulumi.StringPtrOutput) +func (o ServiceProfileVirtualDeviceLocationOutput) ToServiceProfileVirtualDeviceLocationPtrOutput() ServiceProfileVirtualDeviceLocationPtrOutput { + return o.ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(context.Background()) } -type ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput struct{ *pulumi.OutputState } +func (o ServiceProfileVirtualDeviceLocationOutput) ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceLocationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileVirtualDeviceLocation) *ServiceProfileVirtualDeviceLocation { + return &v + }).(ServiceProfileVirtualDeviceLocationPtrOutput) +} -func (ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func (o ServiceProfileVirtualDeviceLocationOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceProfileVirtualDeviceLocation] { + return pulumix.Output[ServiceProfileVirtualDeviceLocation]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput() ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o +// IBX Code +func (o ServiceProfileVirtualDeviceLocationOutput) Ibx() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileVirtualDeviceLocation) *string { return v.Ibx }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ToConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o +// Access point metro code +func (o ServiceProfileVirtualDeviceLocationOutput) MetroCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileVirtualDeviceLocation) *string { return v.MetroCode }).(pulumi.StringPtrOutput) } -func (o ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) Index(i pulumi.IntInput) ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionZSideAccessPointProfileAccessPointTypeConfig { - return vs[0].([]ConnectionZSideAccessPointProfileAccessPointTypeConfig)[vs[1].(int)] - }).(ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) +// Access point metro name +func (o ServiceProfileVirtualDeviceLocationOutput) MetroName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileVirtualDeviceLocation) *string { return v.MetroName }).(pulumi.StringPtrOutput) } -type ConnectionZSideAccessPointRoutingProtocol struct { - // Connection overall state - State *string `pulumi:"state"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type *string `pulumi:"type"` - Uuid *string `pulumi:"uuid"` +// Access point region +func (o ServiceProfileVirtualDeviceLocationOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v ServiceProfileVirtualDeviceLocation) *string { return v.Region }).(pulumi.StringPtrOutput) } -// ConnectionZSideAccessPointRoutingProtocolInput is an input type that accepts ConnectionZSideAccessPointRoutingProtocolArgs and ConnectionZSideAccessPointRoutingProtocolOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointRoutingProtocolInput` via: -// -// ConnectionZSideAccessPointRoutingProtocolArgs{...} -type ConnectionZSideAccessPointRoutingProtocolInput interface { - pulumi.Input +type ServiceProfileVirtualDeviceLocationPtrOutput struct{ *pulumi.OutputState } - ToConnectionZSideAccessPointRoutingProtocolOutput() ConnectionZSideAccessPointRoutingProtocolOutput - ToConnectionZSideAccessPointRoutingProtocolOutputWithContext(context.Context) ConnectionZSideAccessPointRoutingProtocolOutput +func (ServiceProfileVirtualDeviceLocationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ServiceProfileVirtualDeviceLocation)(nil)).Elem() } -type ConnectionZSideAccessPointRoutingProtocolArgs struct { - // Connection overall state - State pulumi.StringPtrInput `pulumi:"state"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringPtrInput `pulumi:"type"` - Uuid pulumi.StringPtrInput `pulumi:"uuid"` +func (o ServiceProfileVirtualDeviceLocationPtrOutput) ToServiceProfileVirtualDeviceLocationPtrOutput() ServiceProfileVirtualDeviceLocationPtrOutput { + return o } -func (ConnectionZSideAccessPointRoutingProtocolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointRoutingProtocol)(nil)).Elem() +func (o ServiceProfileVirtualDeviceLocationPtrOutput) ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceLocationPtrOutput { + return o } -func (i ConnectionZSideAccessPointRoutingProtocolArgs) ToConnectionZSideAccessPointRoutingProtocolOutput() ConnectionZSideAccessPointRoutingProtocolOutput { - return i.ToConnectionZSideAccessPointRoutingProtocolOutputWithContext(context.Background()) +func (o ServiceProfileVirtualDeviceLocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfileVirtualDeviceLocation] { + return pulumix.Output[*ServiceProfileVirtualDeviceLocation]{ + OutputState: o.OutputState, + } } -func (i ConnectionZSideAccessPointRoutingProtocolArgs) ToConnectionZSideAccessPointRoutingProtocolOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRoutingProtocolOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointRoutingProtocolOutput) +func (o ServiceProfileVirtualDeviceLocationPtrOutput) Elem() ServiceProfileVirtualDeviceLocationOutput { + return o.ApplyT(func(v *ServiceProfileVirtualDeviceLocation) ServiceProfileVirtualDeviceLocation { + if v != nil { + return *v + } + var ret ServiceProfileVirtualDeviceLocation + return ret + }).(ServiceProfileVirtualDeviceLocationOutput) } -// ConnectionZSideAccessPointRoutingProtocolArrayInput is an input type that accepts ConnectionZSideAccessPointRoutingProtocolArray and ConnectionZSideAccessPointRoutingProtocolArrayOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointRoutingProtocolArrayInput` via: -// -// ConnectionZSideAccessPointRoutingProtocolArray{ ConnectionZSideAccessPointRoutingProtocolArgs{...} } -type ConnectionZSideAccessPointRoutingProtocolArrayInput interface { - pulumi.Input - - ToConnectionZSideAccessPointRoutingProtocolArrayOutput() ConnectionZSideAccessPointRoutingProtocolArrayOutput - ToConnectionZSideAccessPointRoutingProtocolArrayOutputWithContext(context.Context) ConnectionZSideAccessPointRoutingProtocolArrayOutput +// IBX Code +func (o ServiceProfileVirtualDeviceLocationPtrOutput) Ibx() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileVirtualDeviceLocation) *string { + if v == nil { + return nil + } + return v.Ibx + }).(pulumi.StringPtrOutput) } -type ConnectionZSideAccessPointRoutingProtocolArray []ConnectionZSideAccessPointRoutingProtocolInput - -func (ConnectionZSideAccessPointRoutingProtocolArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionZSideAccessPointRoutingProtocol)(nil)).Elem() +// Access point metro code +func (o ServiceProfileVirtualDeviceLocationPtrOutput) MetroCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileVirtualDeviceLocation) *string { + if v == nil { + return nil + } + return v.MetroCode + }).(pulumi.StringPtrOutput) } -func (i ConnectionZSideAccessPointRoutingProtocolArray) ToConnectionZSideAccessPointRoutingProtocolArrayOutput() ConnectionZSideAccessPointRoutingProtocolArrayOutput { - return i.ToConnectionZSideAccessPointRoutingProtocolArrayOutputWithContext(context.Background()) +// Access point metro name +func (o ServiceProfileVirtualDeviceLocationPtrOutput) MetroName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileVirtualDeviceLocation) *string { + if v == nil { + return nil + } + return v.MetroName + }).(pulumi.StringPtrOutput) } -func (i ConnectionZSideAccessPointRoutingProtocolArray) ToConnectionZSideAccessPointRoutingProtocolArrayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRoutingProtocolArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointRoutingProtocolArrayOutput) +// Access point region +func (o ServiceProfileVirtualDeviceLocationPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ServiceProfileVirtualDeviceLocation) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -type ConnectionZSideAccessPointRoutingProtocolOutput struct{ *pulumi.OutputState } +type GetCloudRouterAccount struct { + AccountName string `pulumi:"accountName"` + AccountNumber int `pulumi:"accountNumber"` + GlobalCustId string `pulumi:"globalCustId"` + GlobalOrgId string `pulumi:"globalOrgId"` + GlobalOrganizationName string `pulumi:"globalOrganizationName"` + OrgId int `pulumi:"orgId"` + OrganizationName string `pulumi:"organizationName"` +} -func (ConnectionZSideAccessPointRoutingProtocolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointRoutingProtocol)(nil)).Elem() +// GetCloudRouterAccountInput is an input type that accepts GetCloudRouterAccountArgs and GetCloudRouterAccountOutput values. +// You can construct a concrete instance of `GetCloudRouterAccountInput` via: +// +// GetCloudRouterAccountArgs{...} +type GetCloudRouterAccountInput interface { + pulumi.Input + + ToGetCloudRouterAccountOutput() GetCloudRouterAccountOutput + ToGetCloudRouterAccountOutputWithContext(context.Context) GetCloudRouterAccountOutput } -func (o ConnectionZSideAccessPointRoutingProtocolOutput) ToConnectionZSideAccessPointRoutingProtocolOutput() ConnectionZSideAccessPointRoutingProtocolOutput { - return o +type GetCloudRouterAccountArgs struct { + AccountName pulumi.StringInput `pulumi:"accountName"` + AccountNumber pulumi.IntInput `pulumi:"accountNumber"` + GlobalCustId pulumi.StringInput `pulumi:"globalCustId"` + GlobalOrgId pulumi.StringInput `pulumi:"globalOrgId"` + GlobalOrganizationName pulumi.StringInput `pulumi:"globalOrganizationName"` + OrgId pulumi.IntInput `pulumi:"orgId"` + OrganizationName pulumi.StringInput `pulumi:"organizationName"` } -func (o ConnectionZSideAccessPointRoutingProtocolOutput) ToConnectionZSideAccessPointRoutingProtocolOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRoutingProtocolOutput { - return o +func (GetCloudRouterAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterAccount)(nil)).Elem() } -// Connection overall state -func (o ConnectionZSideAccessPointRoutingProtocolOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointRoutingProtocol) *string { return v.State }).(pulumi.StringPtrOutput) +func (i GetCloudRouterAccountArgs) ToGetCloudRouterAccountOutput() GetCloudRouterAccountOutput { + return i.ToGetCloudRouterAccountOutputWithContext(context.Background()) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideAccessPointRoutingProtocolOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointRoutingProtocol) *string { return v.Type }).(pulumi.StringPtrOutput) +func (i GetCloudRouterAccountArgs) ToGetCloudRouterAccountOutputWithContext(ctx context.Context) GetCloudRouterAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterAccountOutput) } -func (o ConnectionZSideAccessPointRoutingProtocolOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointRoutingProtocol) *string { return v.Uuid }).(pulumi.StringPtrOutput) +func (i GetCloudRouterAccountArgs) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterAccount] { + return pulumix.Output[GetCloudRouterAccount]{ + OutputState: i.ToGetCloudRouterAccountOutputWithContext(ctx).OutputState, + } } -type ConnectionZSideAccessPointRoutingProtocolArrayOutput struct{ *pulumi.OutputState } +// GetCloudRouterAccountArrayInput is an input type that accepts GetCloudRouterAccountArray and GetCloudRouterAccountArrayOutput values. +// You can construct a concrete instance of `GetCloudRouterAccountArrayInput` via: +// +// GetCloudRouterAccountArray{ GetCloudRouterAccountArgs{...} } +type GetCloudRouterAccountArrayInput interface { + pulumi.Input -func (ConnectionZSideAccessPointRoutingProtocolArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionZSideAccessPointRoutingProtocol)(nil)).Elem() + ToGetCloudRouterAccountArrayOutput() GetCloudRouterAccountArrayOutput + ToGetCloudRouterAccountArrayOutputWithContext(context.Context) GetCloudRouterAccountArrayOutput } -func (o ConnectionZSideAccessPointRoutingProtocolArrayOutput) ToConnectionZSideAccessPointRoutingProtocolArrayOutput() ConnectionZSideAccessPointRoutingProtocolArrayOutput { - return o -} +type GetCloudRouterAccountArray []GetCloudRouterAccountInput -func (o ConnectionZSideAccessPointRoutingProtocolArrayOutput) ToConnectionZSideAccessPointRoutingProtocolArrayOutputWithContext(ctx context.Context) ConnectionZSideAccessPointRoutingProtocolArrayOutput { - return o +func (GetCloudRouterAccountArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterAccount)(nil)).Elem() } -func (o ConnectionZSideAccessPointRoutingProtocolArrayOutput) Index(i pulumi.IntInput) ConnectionZSideAccessPointRoutingProtocolOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionZSideAccessPointRoutingProtocol { - return vs[0].([]ConnectionZSideAccessPointRoutingProtocol)[vs[1].(int)] - }).(ConnectionZSideAccessPointRoutingProtocolOutput) +func (i GetCloudRouterAccountArray) ToGetCloudRouterAccountArrayOutput() GetCloudRouterAccountArrayOutput { + return i.ToGetCloudRouterAccountArrayOutputWithContext(context.Background()) } -type ConnectionZSideAccessPointVirtualDevice struct { - // Connection URI information - Href *string `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type *string `pulumi:"type"` - Uuid *string `pulumi:"uuid"` +func (i GetCloudRouterAccountArray) ToGetCloudRouterAccountArrayOutputWithContext(ctx context.Context) GetCloudRouterAccountArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterAccountArrayOutput) } -// ConnectionZSideAccessPointVirtualDeviceInput is an input type that accepts ConnectionZSideAccessPointVirtualDeviceArgs and ConnectionZSideAccessPointVirtualDeviceOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointVirtualDeviceInput` via: -// -// ConnectionZSideAccessPointVirtualDeviceArgs{...} -type ConnectionZSideAccessPointVirtualDeviceInput interface { - pulumi.Input - - ToConnectionZSideAccessPointVirtualDeviceOutput() ConnectionZSideAccessPointVirtualDeviceOutput - ToConnectionZSideAccessPointVirtualDeviceOutputWithContext(context.Context) ConnectionZSideAccessPointVirtualDeviceOutput +func (i GetCloudRouterAccountArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterAccount] { + return pulumix.Output[[]GetCloudRouterAccount]{ + OutputState: i.ToGetCloudRouterAccountArrayOutputWithContext(ctx).OutputState, + } } -type ConnectionZSideAccessPointVirtualDeviceArgs struct { - // Connection URI information - Href pulumi.StringPtrInput `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringPtrInput `pulumi:"type"` - Uuid pulumi.StringPtrInput `pulumi:"uuid"` -} +type GetCloudRouterAccountOutput struct{ *pulumi.OutputState } -func (ConnectionZSideAccessPointVirtualDeviceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointVirtualDevice)(nil)).Elem() +func (GetCloudRouterAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterAccount)(nil)).Elem() } -func (i ConnectionZSideAccessPointVirtualDeviceArgs) ToConnectionZSideAccessPointVirtualDeviceOutput() ConnectionZSideAccessPointVirtualDeviceOutput { - return i.ToConnectionZSideAccessPointVirtualDeviceOutputWithContext(context.Background()) +func (o GetCloudRouterAccountOutput) ToGetCloudRouterAccountOutput() GetCloudRouterAccountOutput { + return o } -func (i ConnectionZSideAccessPointVirtualDeviceArgs) ToConnectionZSideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) ConnectionZSideAccessPointVirtualDeviceOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointVirtualDeviceOutput) +func (o GetCloudRouterAccountOutput) ToGetCloudRouterAccountOutputWithContext(ctx context.Context) GetCloudRouterAccountOutput { + return o } -func (i ConnectionZSideAccessPointVirtualDeviceArgs) ToConnectionZSideAccessPointVirtualDevicePtrOutput() ConnectionZSideAccessPointVirtualDevicePtrOutput { - return i.ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(context.Background()) +func (o GetCloudRouterAccountOutput) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterAccount] { + return pulumix.Output[GetCloudRouterAccount]{ + OutputState: o.OutputState, + } } -func (i ConnectionZSideAccessPointVirtualDeviceArgs) ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointVirtualDevicePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointVirtualDeviceOutput).ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(ctx) +func (o GetCloudRouterAccountOutput) AccountName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterAccount) string { return v.AccountName }).(pulumi.StringOutput) } -// ConnectionZSideAccessPointVirtualDevicePtrInput is an input type that accepts ConnectionZSideAccessPointVirtualDeviceArgs, ConnectionZSideAccessPointVirtualDevicePtr and ConnectionZSideAccessPointVirtualDevicePtrOutput values. -// You can construct a concrete instance of `ConnectionZSideAccessPointVirtualDevicePtrInput` via: -// -// ConnectionZSideAccessPointVirtualDeviceArgs{...} -// -// or: -// -// nil -type ConnectionZSideAccessPointVirtualDevicePtrInput interface { - pulumi.Input - - ToConnectionZSideAccessPointVirtualDevicePtrOutput() ConnectionZSideAccessPointVirtualDevicePtrOutput - ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(context.Context) ConnectionZSideAccessPointVirtualDevicePtrOutput +func (o GetCloudRouterAccountOutput) AccountNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetCloudRouterAccount) int { return v.AccountNumber }).(pulumi.IntOutput) } -type connectionZSideAccessPointVirtualDevicePtrType ConnectionZSideAccessPointVirtualDeviceArgs +func (o GetCloudRouterAccountOutput) GlobalCustId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterAccount) string { return v.GlobalCustId }).(pulumi.StringOutput) +} -func ConnectionZSideAccessPointVirtualDevicePtr(v *ConnectionZSideAccessPointVirtualDeviceArgs) ConnectionZSideAccessPointVirtualDevicePtrInput { - return (*connectionZSideAccessPointVirtualDevicePtrType)(v) +func (o GetCloudRouterAccountOutput) GlobalOrgId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterAccount) string { return v.GlobalOrgId }).(pulumi.StringOutput) } -func (*connectionZSideAccessPointVirtualDevicePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointVirtualDevice)(nil)).Elem() +func (o GetCloudRouterAccountOutput) GlobalOrganizationName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterAccount) string { return v.GlobalOrganizationName }).(pulumi.StringOutput) } -func (i *connectionZSideAccessPointVirtualDevicePtrType) ToConnectionZSideAccessPointVirtualDevicePtrOutput() ConnectionZSideAccessPointVirtualDevicePtrOutput { - return i.ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(context.Background()) +func (o GetCloudRouterAccountOutput) OrgId() pulumi.IntOutput { + return o.ApplyT(func(v GetCloudRouterAccount) int { return v.OrgId }).(pulumi.IntOutput) } -func (i *connectionZSideAccessPointVirtualDevicePtrType) ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointVirtualDevicePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAccessPointVirtualDevicePtrOutput) +func (o GetCloudRouterAccountOutput) OrganizationName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterAccount) string { return v.OrganizationName }).(pulumi.StringOutput) } -type ConnectionZSideAccessPointVirtualDeviceOutput struct{ *pulumi.OutputState } +type GetCloudRouterAccountArrayOutput struct{ *pulumi.OutputState } -func (ConnectionZSideAccessPointVirtualDeviceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAccessPointVirtualDevice)(nil)).Elem() +func (GetCloudRouterAccountArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterAccount)(nil)).Elem() } -func (o ConnectionZSideAccessPointVirtualDeviceOutput) ToConnectionZSideAccessPointVirtualDeviceOutput() ConnectionZSideAccessPointVirtualDeviceOutput { +func (o GetCloudRouterAccountArrayOutput) ToGetCloudRouterAccountArrayOutput() GetCloudRouterAccountArrayOutput { return o } -func (o ConnectionZSideAccessPointVirtualDeviceOutput) ToConnectionZSideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) ConnectionZSideAccessPointVirtualDeviceOutput { +func (o GetCloudRouterAccountArrayOutput) ToGetCloudRouterAccountArrayOutputWithContext(ctx context.Context) GetCloudRouterAccountArrayOutput { return o } -func (o ConnectionZSideAccessPointVirtualDeviceOutput) ToConnectionZSideAccessPointVirtualDevicePtrOutput() ConnectionZSideAccessPointVirtualDevicePtrOutput { - return o.ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(context.Background()) +func (o GetCloudRouterAccountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterAccount] { + return pulumix.Output[[]GetCloudRouterAccount]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideAccessPointVirtualDeviceOutput) ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointVirtualDevicePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideAccessPointVirtualDevice) *ConnectionZSideAccessPointVirtualDevice { - return &v - }).(ConnectionZSideAccessPointVirtualDevicePtrOutput) +func (o GetCloudRouterAccountArrayOutput) Index(i pulumi.IntInput) GetCloudRouterAccountOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudRouterAccount { + return vs[0].([]GetCloudRouterAccount)[vs[1].(int)] + }).(GetCloudRouterAccountOutput) } -// Connection URI information -func (o ConnectionZSideAccessPointVirtualDeviceOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointVirtualDevice) *string { return v.Href }).(pulumi.StringPtrOutput) +type GetCloudRouterChangeLog struct { + CreatedBy string `pulumi:"createdBy"` + CreatedByEmail string `pulumi:"createdByEmail"` + CreatedByFullName string `pulumi:"createdByFullName"` + CreatedDateTime string `pulumi:"createdDateTime"` + DeletedBy string `pulumi:"deletedBy"` + DeletedByEmail string `pulumi:"deletedByEmail"` + DeletedByFullName string `pulumi:"deletedByFullName"` + DeletedDateTime string `pulumi:"deletedDateTime"` + UpdatedBy string `pulumi:"updatedBy"` + UpdatedByEmail string `pulumi:"updatedByEmail"` + UpdatedByFullName string `pulumi:"updatedByFullName"` + UpdatedDateTime string `pulumi:"updatedDateTime"` } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideAccessPointVirtualDeviceOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointVirtualDevice) *string { return v.Type }).(pulumi.StringPtrOutput) +// GetCloudRouterChangeLogInput is an input type that accepts GetCloudRouterChangeLogArgs and GetCloudRouterChangeLogOutput values. +// You can construct a concrete instance of `GetCloudRouterChangeLogInput` via: +// +// GetCloudRouterChangeLogArgs{...} +type GetCloudRouterChangeLogInput interface { + pulumi.Input + + ToGetCloudRouterChangeLogOutput() GetCloudRouterChangeLogOutput + ToGetCloudRouterChangeLogOutputWithContext(context.Context) GetCloudRouterChangeLogOutput } -func (o ConnectionZSideAccessPointVirtualDeviceOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAccessPointVirtualDevice) *string { return v.Uuid }).(pulumi.StringPtrOutput) +type GetCloudRouterChangeLogArgs struct { + CreatedBy pulumi.StringInput `pulumi:"createdBy"` + CreatedByEmail pulumi.StringInput `pulumi:"createdByEmail"` + CreatedByFullName pulumi.StringInput `pulumi:"createdByFullName"` + CreatedDateTime pulumi.StringInput `pulumi:"createdDateTime"` + DeletedBy pulumi.StringInput `pulumi:"deletedBy"` + DeletedByEmail pulumi.StringInput `pulumi:"deletedByEmail"` + DeletedByFullName pulumi.StringInput `pulumi:"deletedByFullName"` + DeletedDateTime pulumi.StringInput `pulumi:"deletedDateTime"` + UpdatedBy pulumi.StringInput `pulumi:"updatedBy"` + UpdatedByEmail pulumi.StringInput `pulumi:"updatedByEmail"` + UpdatedByFullName pulumi.StringInput `pulumi:"updatedByFullName"` + UpdatedDateTime pulumi.StringInput `pulumi:"updatedDateTime"` } -type ConnectionZSideAccessPointVirtualDevicePtrOutput struct{ *pulumi.OutputState } +func (GetCloudRouterChangeLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterChangeLog)(nil)).Elem() +} -func (ConnectionZSideAccessPointVirtualDevicePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideAccessPointVirtualDevice)(nil)).Elem() +func (i GetCloudRouterChangeLogArgs) ToGetCloudRouterChangeLogOutput() GetCloudRouterChangeLogOutput { + return i.ToGetCloudRouterChangeLogOutputWithContext(context.Background()) } -func (o ConnectionZSideAccessPointVirtualDevicePtrOutput) ToConnectionZSideAccessPointVirtualDevicePtrOutput() ConnectionZSideAccessPointVirtualDevicePtrOutput { - return o +func (i GetCloudRouterChangeLogArgs) ToGetCloudRouterChangeLogOutputWithContext(ctx context.Context) GetCloudRouterChangeLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterChangeLogOutput) } -func (o ConnectionZSideAccessPointVirtualDevicePtrOutput) ToConnectionZSideAccessPointVirtualDevicePtrOutputWithContext(ctx context.Context) ConnectionZSideAccessPointVirtualDevicePtrOutput { - return o +func (i GetCloudRouterChangeLogArgs) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterChangeLog] { + return pulumix.Output[GetCloudRouterChangeLog]{ + OutputState: i.ToGetCloudRouterChangeLogOutputWithContext(ctx).OutputState, + } } -func (o ConnectionZSideAccessPointVirtualDevicePtrOutput) Elem() ConnectionZSideAccessPointVirtualDeviceOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointVirtualDevice) ConnectionZSideAccessPointVirtualDevice { - if v != nil { - return *v - } - var ret ConnectionZSideAccessPointVirtualDevice - return ret - }).(ConnectionZSideAccessPointVirtualDeviceOutput) +// GetCloudRouterChangeLogArrayInput is an input type that accepts GetCloudRouterChangeLogArray and GetCloudRouterChangeLogArrayOutput values. +// You can construct a concrete instance of `GetCloudRouterChangeLogArrayInput` via: +// +// GetCloudRouterChangeLogArray{ GetCloudRouterChangeLogArgs{...} } +type GetCloudRouterChangeLogArrayInput interface { + pulumi.Input + + ToGetCloudRouterChangeLogArrayOutput() GetCloudRouterChangeLogArrayOutput + ToGetCloudRouterChangeLogArrayOutputWithContext(context.Context) GetCloudRouterChangeLogArrayOutput } -// Connection URI information -func (o ConnectionZSideAccessPointVirtualDevicePtrOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointVirtualDevice) *string { - if v == nil { - return nil - } - return v.Href - }).(pulumi.StringPtrOutput) +type GetCloudRouterChangeLogArray []GetCloudRouterChangeLogInput + +func (GetCloudRouterChangeLogArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterChangeLog)(nil)).Elem() } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideAccessPointVirtualDevicePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointVirtualDevice) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) +func (i GetCloudRouterChangeLogArray) ToGetCloudRouterChangeLogArrayOutput() GetCloudRouterChangeLogArrayOutput { + return i.ToGetCloudRouterChangeLogArrayOutputWithContext(context.Background()) } -func (o ConnectionZSideAccessPointVirtualDevicePtrOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideAccessPointVirtualDevice) *string { - if v == nil { - return nil - } - return v.Uuid - }).(pulumi.StringPtrOutput) +func (i GetCloudRouterChangeLogArray) ToGetCloudRouterChangeLogArrayOutputWithContext(ctx context.Context) GetCloudRouterChangeLogArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterChangeLogArrayOutput) } -type ConnectionZSideAdditionalInfo struct { - // Additional information key - Key *string `pulumi:"key"` - // Additional information value - Value *string `pulumi:"value"` +func (i GetCloudRouterChangeLogArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterChangeLog] { + return pulumix.Output[[]GetCloudRouterChangeLog]{ + OutputState: i.ToGetCloudRouterChangeLogArrayOutputWithContext(ctx).OutputState, + } } -// ConnectionZSideAdditionalInfoInput is an input type that accepts ConnectionZSideAdditionalInfoArgs and ConnectionZSideAdditionalInfoOutput values. -// You can construct a concrete instance of `ConnectionZSideAdditionalInfoInput` via: -// -// ConnectionZSideAdditionalInfoArgs{...} -type ConnectionZSideAdditionalInfoInput interface { - pulumi.Input +type GetCloudRouterChangeLogOutput struct{ *pulumi.OutputState } - ToConnectionZSideAdditionalInfoOutput() ConnectionZSideAdditionalInfoOutput - ToConnectionZSideAdditionalInfoOutputWithContext(context.Context) ConnectionZSideAdditionalInfoOutput +func (GetCloudRouterChangeLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterChangeLog)(nil)).Elem() } -type ConnectionZSideAdditionalInfoArgs struct { - // Additional information key - Key pulumi.StringPtrInput `pulumi:"key"` - // Additional information value - Value pulumi.StringPtrInput `pulumi:"value"` +func (o GetCloudRouterChangeLogOutput) ToGetCloudRouterChangeLogOutput() GetCloudRouterChangeLogOutput { + return o } -func (ConnectionZSideAdditionalInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAdditionalInfo)(nil)).Elem() +func (o GetCloudRouterChangeLogOutput) ToGetCloudRouterChangeLogOutputWithContext(ctx context.Context) GetCloudRouterChangeLogOutput { + return o } -func (i ConnectionZSideAdditionalInfoArgs) ToConnectionZSideAdditionalInfoOutput() ConnectionZSideAdditionalInfoOutput { - return i.ToConnectionZSideAdditionalInfoOutputWithContext(context.Background()) +func (o GetCloudRouterChangeLogOutput) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterChangeLog] { + return pulumix.Output[GetCloudRouterChangeLog]{ + OutputState: o.OutputState, + } } -func (i ConnectionZSideAdditionalInfoArgs) ToConnectionZSideAdditionalInfoOutputWithContext(ctx context.Context) ConnectionZSideAdditionalInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAdditionalInfoOutput) +func (o GetCloudRouterChangeLogOutput) CreatedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterChangeLog) string { return v.CreatedBy }).(pulumi.StringOutput) } -// ConnectionZSideAdditionalInfoArrayInput is an input type that accepts ConnectionZSideAdditionalInfoArray and ConnectionZSideAdditionalInfoArrayOutput values. -// You can construct a concrete instance of `ConnectionZSideAdditionalInfoArrayInput` via: -// -// ConnectionZSideAdditionalInfoArray{ ConnectionZSideAdditionalInfoArgs{...} } -type ConnectionZSideAdditionalInfoArrayInput interface { - pulumi.Input - - ToConnectionZSideAdditionalInfoArrayOutput() ConnectionZSideAdditionalInfoArrayOutput - ToConnectionZSideAdditionalInfoArrayOutputWithContext(context.Context) ConnectionZSideAdditionalInfoArrayOutput +func (o GetCloudRouterChangeLogOutput) CreatedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterChangeLog) string { return v.CreatedByEmail }).(pulumi.StringOutput) } -type ConnectionZSideAdditionalInfoArray []ConnectionZSideAdditionalInfoInput +func (o GetCloudRouterChangeLogOutput) CreatedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterChangeLog) string { return v.CreatedByFullName }).(pulumi.StringOutput) +} -func (ConnectionZSideAdditionalInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionZSideAdditionalInfo)(nil)).Elem() +func (o GetCloudRouterChangeLogOutput) CreatedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterChangeLog) string { return v.CreatedDateTime }).(pulumi.StringOutput) } -func (i ConnectionZSideAdditionalInfoArray) ToConnectionZSideAdditionalInfoArrayOutput() ConnectionZSideAdditionalInfoArrayOutput { - return i.ToConnectionZSideAdditionalInfoArrayOutputWithContext(context.Background()) +func (o GetCloudRouterChangeLogOutput) DeletedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterChangeLog) string { return v.DeletedBy }).(pulumi.StringOutput) } -func (i ConnectionZSideAdditionalInfoArray) ToConnectionZSideAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionZSideAdditionalInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideAdditionalInfoArrayOutput) +func (o GetCloudRouterChangeLogOutput) DeletedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterChangeLog) string { return v.DeletedByEmail }).(pulumi.StringOutput) } -type ConnectionZSideAdditionalInfoOutput struct{ *pulumi.OutputState } +func (o GetCloudRouterChangeLogOutput) DeletedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterChangeLog) string { return v.DeletedByFullName }).(pulumi.StringOutput) +} -func (ConnectionZSideAdditionalInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideAdditionalInfo)(nil)).Elem() +func (o GetCloudRouterChangeLogOutput) DeletedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterChangeLog) string { return v.DeletedDateTime }).(pulumi.StringOutput) } -func (o ConnectionZSideAdditionalInfoOutput) ToConnectionZSideAdditionalInfoOutput() ConnectionZSideAdditionalInfoOutput { - return o +func (o GetCloudRouterChangeLogOutput) UpdatedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterChangeLog) string { return v.UpdatedBy }).(pulumi.StringOutput) } -func (o ConnectionZSideAdditionalInfoOutput) ToConnectionZSideAdditionalInfoOutputWithContext(ctx context.Context) ConnectionZSideAdditionalInfoOutput { - return o +func (o GetCloudRouterChangeLogOutput) UpdatedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterChangeLog) string { return v.UpdatedByEmail }).(pulumi.StringOutput) } -// Additional information key -func (o ConnectionZSideAdditionalInfoOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAdditionalInfo) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o GetCloudRouterChangeLogOutput) UpdatedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterChangeLog) string { return v.UpdatedByFullName }).(pulumi.StringOutput) } -// Additional information value -func (o ConnectionZSideAdditionalInfoOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideAdditionalInfo) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o GetCloudRouterChangeLogOutput) UpdatedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterChangeLog) string { return v.UpdatedDateTime }).(pulumi.StringOutput) } -type ConnectionZSideAdditionalInfoArrayOutput struct{ *pulumi.OutputState } +type GetCloudRouterChangeLogArrayOutput struct{ *pulumi.OutputState } -func (ConnectionZSideAdditionalInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ConnectionZSideAdditionalInfo)(nil)).Elem() +func (GetCloudRouterChangeLogArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterChangeLog)(nil)).Elem() } -func (o ConnectionZSideAdditionalInfoArrayOutput) ToConnectionZSideAdditionalInfoArrayOutput() ConnectionZSideAdditionalInfoArrayOutput { +func (o GetCloudRouterChangeLogArrayOutput) ToGetCloudRouterChangeLogArrayOutput() GetCloudRouterChangeLogArrayOutput { return o } -func (o ConnectionZSideAdditionalInfoArrayOutput) ToConnectionZSideAdditionalInfoArrayOutputWithContext(ctx context.Context) ConnectionZSideAdditionalInfoArrayOutput { +func (o GetCloudRouterChangeLogArrayOutput) ToGetCloudRouterChangeLogArrayOutputWithContext(ctx context.Context) GetCloudRouterChangeLogArrayOutput { return o } -func (o ConnectionZSideAdditionalInfoArrayOutput) Index(i pulumi.IntInput) ConnectionZSideAdditionalInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionZSideAdditionalInfo { - return vs[0].([]ConnectionZSideAdditionalInfo)[vs[1].(int)] - }).(ConnectionZSideAdditionalInfoOutput) +func (o GetCloudRouterChangeLogArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterChangeLog] { + return pulumix.Output[[]GetCloudRouterChangeLog]{ + OutputState: o.OutputState, + } } -type ConnectionZSideServiceToken struct { - Description *string `pulumi:"description"` - // Connection URI information - Href *string `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type *string `pulumi:"type"` - Uuid *string `pulumi:"uuid"` +func (o GetCloudRouterChangeLogArrayOutput) Index(i pulumi.IntInput) GetCloudRouterChangeLogOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudRouterChangeLog { + return vs[0].([]GetCloudRouterChangeLog)[vs[1].(int)] + }).(GetCloudRouterChangeLogOutput) } -// ConnectionZSideServiceTokenInput is an input type that accepts ConnectionZSideServiceTokenArgs and ConnectionZSideServiceTokenOutput values. -// You can construct a concrete instance of `ConnectionZSideServiceTokenInput` via: -// -// ConnectionZSideServiceTokenArgs{...} -type ConnectionZSideServiceTokenInput interface { - pulumi.Input - - ToConnectionZSideServiceTokenOutput() ConnectionZSideServiceTokenOutput - ToConnectionZSideServiceTokenOutputWithContext(context.Context) ConnectionZSideServiceTokenOutput +type GetCloudRouterLocation struct { + Href string `pulumi:"href"` + Ibx string `pulumi:"ibx"` + MetroCode string `pulumi:"metroCode"` + MetroName string `pulumi:"metroName"` + Region string `pulumi:"region"` } -type ConnectionZSideServiceTokenArgs struct { - Description pulumi.StringPtrInput `pulumi:"description"` - // Connection URI information - Href pulumi.StringPtrInput `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringPtrInput `pulumi:"type"` - Uuid pulumi.StringPtrInput `pulumi:"uuid"` +// GetCloudRouterLocationInput is an input type that accepts GetCloudRouterLocationArgs and GetCloudRouterLocationOutput values. +// You can construct a concrete instance of `GetCloudRouterLocationInput` via: +// +// GetCloudRouterLocationArgs{...} +type GetCloudRouterLocationInput interface { + pulumi.Input + + ToGetCloudRouterLocationOutput() GetCloudRouterLocationOutput + ToGetCloudRouterLocationOutputWithContext(context.Context) GetCloudRouterLocationOutput } -func (ConnectionZSideServiceTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideServiceToken)(nil)).Elem() +type GetCloudRouterLocationArgs struct { + Href pulumi.StringInput `pulumi:"href"` + Ibx pulumi.StringInput `pulumi:"ibx"` + MetroCode pulumi.StringInput `pulumi:"metroCode"` + MetroName pulumi.StringInput `pulumi:"metroName"` + Region pulumi.StringInput `pulumi:"region"` } -func (i ConnectionZSideServiceTokenArgs) ToConnectionZSideServiceTokenOutput() ConnectionZSideServiceTokenOutput { - return i.ToConnectionZSideServiceTokenOutputWithContext(context.Background()) +func (GetCloudRouterLocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterLocation)(nil)).Elem() } -func (i ConnectionZSideServiceTokenArgs) ToConnectionZSideServiceTokenOutputWithContext(ctx context.Context) ConnectionZSideServiceTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideServiceTokenOutput) +func (i GetCloudRouterLocationArgs) ToGetCloudRouterLocationOutput() GetCloudRouterLocationOutput { + return i.ToGetCloudRouterLocationOutputWithContext(context.Background()) } -func (i ConnectionZSideServiceTokenArgs) ToConnectionZSideServiceTokenPtrOutput() ConnectionZSideServiceTokenPtrOutput { - return i.ToConnectionZSideServiceTokenPtrOutputWithContext(context.Background()) +func (i GetCloudRouterLocationArgs) ToGetCloudRouterLocationOutputWithContext(ctx context.Context) GetCloudRouterLocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterLocationOutput) } -func (i ConnectionZSideServiceTokenArgs) ToConnectionZSideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionZSideServiceTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideServiceTokenOutput).ToConnectionZSideServiceTokenPtrOutputWithContext(ctx) +func (i GetCloudRouterLocationArgs) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterLocation] { + return pulumix.Output[GetCloudRouterLocation]{ + OutputState: i.ToGetCloudRouterLocationOutputWithContext(ctx).OutputState, + } } -// ConnectionZSideServiceTokenPtrInput is an input type that accepts ConnectionZSideServiceTokenArgs, ConnectionZSideServiceTokenPtr and ConnectionZSideServiceTokenPtrOutput values. -// You can construct a concrete instance of `ConnectionZSideServiceTokenPtrInput` via: +// GetCloudRouterLocationArrayInput is an input type that accepts GetCloudRouterLocationArray and GetCloudRouterLocationArrayOutput values. +// You can construct a concrete instance of `GetCloudRouterLocationArrayInput` via: // -// ConnectionZSideServiceTokenArgs{...} -// -// or: -// -// nil -type ConnectionZSideServiceTokenPtrInput interface { +// GetCloudRouterLocationArray{ GetCloudRouterLocationArgs{...} } +type GetCloudRouterLocationArrayInput interface { pulumi.Input - ToConnectionZSideServiceTokenPtrOutput() ConnectionZSideServiceTokenPtrOutput - ToConnectionZSideServiceTokenPtrOutputWithContext(context.Context) ConnectionZSideServiceTokenPtrOutput + ToGetCloudRouterLocationArrayOutput() GetCloudRouterLocationArrayOutput + ToGetCloudRouterLocationArrayOutputWithContext(context.Context) GetCloudRouterLocationArrayOutput } -type connectionZSideServiceTokenPtrType ConnectionZSideServiceTokenArgs +type GetCloudRouterLocationArray []GetCloudRouterLocationInput -func ConnectionZSideServiceTokenPtr(v *ConnectionZSideServiceTokenArgs) ConnectionZSideServiceTokenPtrInput { - return (*connectionZSideServiceTokenPtrType)(v) +func (GetCloudRouterLocationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterLocation)(nil)).Elem() } -func (*connectionZSideServiceTokenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideServiceToken)(nil)).Elem() +func (i GetCloudRouterLocationArray) ToGetCloudRouterLocationArrayOutput() GetCloudRouterLocationArrayOutput { + return i.ToGetCloudRouterLocationArrayOutputWithContext(context.Background()) } -func (i *connectionZSideServiceTokenPtrType) ToConnectionZSideServiceTokenPtrOutput() ConnectionZSideServiceTokenPtrOutput { - return i.ToConnectionZSideServiceTokenPtrOutputWithContext(context.Background()) +func (i GetCloudRouterLocationArray) ToGetCloudRouterLocationArrayOutputWithContext(ctx context.Context) GetCloudRouterLocationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterLocationArrayOutput) } -func (i *connectionZSideServiceTokenPtrType) ToConnectionZSideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionZSideServiceTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConnectionZSideServiceTokenPtrOutput) +func (i GetCloudRouterLocationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterLocation] { + return pulumix.Output[[]GetCloudRouterLocation]{ + OutputState: i.ToGetCloudRouterLocationArrayOutputWithContext(ctx).OutputState, + } } -type ConnectionZSideServiceTokenOutput struct{ *pulumi.OutputState } +type GetCloudRouterLocationOutput struct{ *pulumi.OutputState } -func (ConnectionZSideServiceTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConnectionZSideServiceToken)(nil)).Elem() +func (GetCloudRouterLocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterLocation)(nil)).Elem() } -func (o ConnectionZSideServiceTokenOutput) ToConnectionZSideServiceTokenOutput() ConnectionZSideServiceTokenOutput { +func (o GetCloudRouterLocationOutput) ToGetCloudRouterLocationOutput() GetCloudRouterLocationOutput { return o } -func (o ConnectionZSideServiceTokenOutput) ToConnectionZSideServiceTokenOutputWithContext(ctx context.Context) ConnectionZSideServiceTokenOutput { +func (o GetCloudRouterLocationOutput) ToGetCloudRouterLocationOutputWithContext(ctx context.Context) GetCloudRouterLocationOutput { return o } -func (o ConnectionZSideServiceTokenOutput) ToConnectionZSideServiceTokenPtrOutput() ConnectionZSideServiceTokenPtrOutput { - return o.ToConnectionZSideServiceTokenPtrOutputWithContext(context.Background()) +func (o GetCloudRouterLocationOutput) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterLocation] { + return pulumix.Output[GetCloudRouterLocation]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideServiceTokenOutput) ToConnectionZSideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionZSideServiceTokenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ConnectionZSideServiceToken) *ConnectionZSideServiceToken { - return &v - }).(ConnectionZSideServiceTokenPtrOutput) +func (o GetCloudRouterLocationOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterLocation) string { return v.Href }).(pulumi.StringOutput) } -func (o ConnectionZSideServiceTokenOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideServiceToken) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o GetCloudRouterLocationOutput) Ibx() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterLocation) string { return v.Ibx }).(pulumi.StringOutput) } -// Connection URI information -func (o ConnectionZSideServiceTokenOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideServiceToken) *string { return v.Href }).(pulumi.StringPtrOutput) +func (o GetCloudRouterLocationOutput) MetroCode() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterLocation) string { return v.MetroCode }).(pulumi.StringOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideServiceTokenOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideServiceToken) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o GetCloudRouterLocationOutput) MetroName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterLocation) string { return v.MetroName }).(pulumi.StringOutput) } -func (o ConnectionZSideServiceTokenOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ConnectionZSideServiceToken) *string { return v.Uuid }).(pulumi.StringPtrOutput) +func (o GetCloudRouterLocationOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterLocation) string { return v.Region }).(pulumi.StringOutput) } -type ConnectionZSideServiceTokenPtrOutput struct{ *pulumi.OutputState } +type GetCloudRouterLocationArrayOutput struct{ *pulumi.OutputState } -func (ConnectionZSideServiceTokenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ConnectionZSideServiceToken)(nil)).Elem() +func (GetCloudRouterLocationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterLocation)(nil)).Elem() } -func (o ConnectionZSideServiceTokenPtrOutput) ToConnectionZSideServiceTokenPtrOutput() ConnectionZSideServiceTokenPtrOutput { +func (o GetCloudRouterLocationArrayOutput) ToGetCloudRouterLocationArrayOutput() GetCloudRouterLocationArrayOutput { return o } -func (o ConnectionZSideServiceTokenPtrOutput) ToConnectionZSideServiceTokenPtrOutputWithContext(ctx context.Context) ConnectionZSideServiceTokenPtrOutput { +func (o GetCloudRouterLocationArrayOutput) ToGetCloudRouterLocationArrayOutputWithContext(ctx context.Context) GetCloudRouterLocationArrayOutput { return o } -func (o ConnectionZSideServiceTokenPtrOutput) Elem() ConnectionZSideServiceTokenOutput { - return o.ApplyT(func(v *ConnectionZSideServiceToken) ConnectionZSideServiceToken { - if v != nil { - return *v - } - var ret ConnectionZSideServiceToken - return ret - }).(ConnectionZSideServiceTokenOutput) +func (o GetCloudRouterLocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterLocation] { + return pulumix.Output[[]GetCloudRouterLocation]{ + OutputState: o.OutputState, + } } -func (o ConnectionZSideServiceTokenPtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideServiceToken) *string { - if v == nil { - return nil - } - return v.Description - }).(pulumi.StringPtrOutput) +func (o GetCloudRouterLocationArrayOutput) Index(i pulumi.IntInput) GetCloudRouterLocationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudRouterLocation { + return vs[0].([]GetCloudRouterLocation)[vs[1].(int)] + }).(GetCloudRouterLocationOutput) } -// Connection URI information -func (o ConnectionZSideServiceTokenPtrOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideServiceToken) *string { - if v == nil { - return nil - } - return v.Href - }).(pulumi.StringPtrOutput) +type GetCloudRouterNotification struct { + Emails []string `pulumi:"emails"` + SendInterval string `pulumi:"sendInterval"` + Type string `pulumi:"type"` } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o ConnectionZSideServiceTokenPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideServiceToken) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) +// GetCloudRouterNotificationInput is an input type that accepts GetCloudRouterNotificationArgs and GetCloudRouterNotificationOutput values. +// You can construct a concrete instance of `GetCloudRouterNotificationInput` via: +// +// GetCloudRouterNotificationArgs{...} +type GetCloudRouterNotificationInput interface { + pulumi.Input + + ToGetCloudRouterNotificationOutput() GetCloudRouterNotificationOutput + ToGetCloudRouterNotificationOutputWithContext(context.Context) GetCloudRouterNotificationOutput } -func (o ConnectionZSideServiceTokenPtrOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ConnectionZSideServiceToken) *string { - if v == nil { - return nil - } - return v.Uuid - }).(pulumi.StringPtrOutput) +type GetCloudRouterNotificationArgs struct { + Emails pulumi.StringArrayInput `pulumi:"emails"` + SendInterval pulumi.StringInput `pulumi:"sendInterval"` + Type pulumi.StringInput `pulumi:"type"` } -type ServiceProfileAccessPointTypeConfig struct { - // Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller - AllowBandwidthAutoApproval *bool `pulumi:"allowBandwidthAutoApproval"` - // Availability of a bandwidth upgrade. The default is false - AllowBandwidthUpgrade *bool `pulumi:"allowBandwidthUpgrade"` - // Setting to enable or disable the ability of the buyer to customize the bandwidth - AllowCustomBandwidth *bool `pulumi:"allowCustomBandwidth"` - // Setting to allow or prohibit remote connections to the service profile - AllowRemoteConnections *bool `pulumi:"allowRemoteConnections"` - // Api configuration details - ApiConfig *ServiceProfileAccessPointTypeConfigApiConfig `pulumi:"apiConfig"` - // Authentication key details - AuthenticationKey *ServiceProfileAccessPointTypeConfigAuthenticationKey `pulumi:"authenticationKey"` - // Percentage of port bandwidth at which an allocation alert is generated - BandwidthAlertThreshold *float64 `pulumi:"bandwidthAlertThreshold"` - // Custom name for Connection - ConnectionLabel *string `pulumi:"connectionLabel"` - // Mandate redundant connections - ConnectionRedundancyRequired *bool `pulumi:"connectionRedundancyRequired"` - // Enable auto generate service key - EnableAutoGenerateServiceKey *bool `pulumi:"enableAutoGenerateServiceKey"` - // Link protocol configuration details - LinkProtocolConfig *ServiceProfileAccessPointTypeConfigLinkProtocolConfig `pulumi:"linkProtocolConfig"` - // Supported bandwidths - SupportedBandwidths []int `pulumi:"supportedBandwidths"` - // Type of access point type config - VD, COLO - Type string `pulumi:"type"` - // Colo/Port Uuid - Uuid *string `pulumi:"uuid"` +func (GetCloudRouterNotificationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterNotification)(nil)).Elem() } -// ServiceProfileAccessPointTypeConfigInput is an input type that accepts ServiceProfileAccessPointTypeConfigArgs and ServiceProfileAccessPointTypeConfigOutput values. -// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigInput` via: +func (i GetCloudRouterNotificationArgs) ToGetCloudRouterNotificationOutput() GetCloudRouterNotificationOutput { + return i.ToGetCloudRouterNotificationOutputWithContext(context.Background()) +} + +func (i GetCloudRouterNotificationArgs) ToGetCloudRouterNotificationOutputWithContext(ctx context.Context) GetCloudRouterNotificationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterNotificationOutput) +} + +func (i GetCloudRouterNotificationArgs) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterNotification] { + return pulumix.Output[GetCloudRouterNotification]{ + OutputState: i.ToGetCloudRouterNotificationOutputWithContext(ctx).OutputState, + } +} + +// GetCloudRouterNotificationArrayInput is an input type that accepts GetCloudRouterNotificationArray and GetCloudRouterNotificationArrayOutput values. +// You can construct a concrete instance of `GetCloudRouterNotificationArrayInput` via: // -// ServiceProfileAccessPointTypeConfigArgs{...} -type ServiceProfileAccessPointTypeConfigInput interface { +// GetCloudRouterNotificationArray{ GetCloudRouterNotificationArgs{...} } +type GetCloudRouterNotificationArrayInput interface { pulumi.Input - ToServiceProfileAccessPointTypeConfigOutput() ServiceProfileAccessPointTypeConfigOutput - ToServiceProfileAccessPointTypeConfigOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigOutput + ToGetCloudRouterNotificationArrayOutput() GetCloudRouterNotificationArrayOutput + ToGetCloudRouterNotificationArrayOutputWithContext(context.Context) GetCloudRouterNotificationArrayOutput } -type ServiceProfileAccessPointTypeConfigArgs struct { - // Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller - AllowBandwidthAutoApproval pulumi.BoolPtrInput `pulumi:"allowBandwidthAutoApproval"` - // Availability of a bandwidth upgrade. The default is false - AllowBandwidthUpgrade pulumi.BoolPtrInput `pulumi:"allowBandwidthUpgrade"` - // Setting to enable or disable the ability of the buyer to customize the bandwidth - AllowCustomBandwidth pulumi.BoolPtrInput `pulumi:"allowCustomBandwidth"` - // Setting to allow or prohibit remote connections to the service profile - AllowRemoteConnections pulumi.BoolPtrInput `pulumi:"allowRemoteConnections"` - // Api configuration details - ApiConfig ServiceProfileAccessPointTypeConfigApiConfigPtrInput `pulumi:"apiConfig"` - // Authentication key details - AuthenticationKey ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrInput `pulumi:"authenticationKey"` - // Percentage of port bandwidth at which an allocation alert is generated - BandwidthAlertThreshold pulumi.Float64PtrInput `pulumi:"bandwidthAlertThreshold"` - // Custom name for Connection - ConnectionLabel pulumi.StringPtrInput `pulumi:"connectionLabel"` - // Mandate redundant connections - ConnectionRedundancyRequired pulumi.BoolPtrInput `pulumi:"connectionRedundancyRequired"` - // Enable auto generate service key - EnableAutoGenerateServiceKey pulumi.BoolPtrInput `pulumi:"enableAutoGenerateServiceKey"` - // Link protocol configuration details - LinkProtocolConfig ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrInput `pulumi:"linkProtocolConfig"` - // Supported bandwidths - SupportedBandwidths pulumi.IntArrayInput `pulumi:"supportedBandwidths"` - // Type of access point type config - VD, COLO - Type pulumi.StringInput `pulumi:"type"` - // Colo/Port Uuid - Uuid pulumi.StringPtrInput `pulumi:"uuid"` +type GetCloudRouterNotificationArray []GetCloudRouterNotificationInput + +func (GetCloudRouterNotificationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterNotification)(nil)).Elem() } -func (ServiceProfileAccessPointTypeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileAccessPointTypeConfig)(nil)).Elem() +func (i GetCloudRouterNotificationArray) ToGetCloudRouterNotificationArrayOutput() GetCloudRouterNotificationArrayOutput { + return i.ToGetCloudRouterNotificationArrayOutputWithContext(context.Background()) } -func (i ServiceProfileAccessPointTypeConfigArgs) ToServiceProfileAccessPointTypeConfigOutput() ServiceProfileAccessPointTypeConfigOutput { - return i.ToServiceProfileAccessPointTypeConfigOutputWithContext(context.Background()) +func (i GetCloudRouterNotificationArray) ToGetCloudRouterNotificationArrayOutputWithContext(ctx context.Context) GetCloudRouterNotificationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterNotificationArrayOutput) } -func (i ServiceProfileAccessPointTypeConfigArgs) ToServiceProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigOutput) +func (i GetCloudRouterNotificationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterNotification] { + return pulumix.Output[[]GetCloudRouterNotification]{ + OutputState: i.ToGetCloudRouterNotificationArrayOutputWithContext(ctx).OutputState, + } } -// ServiceProfileAccessPointTypeConfigArrayInput is an input type that accepts ServiceProfileAccessPointTypeConfigArray and ServiceProfileAccessPointTypeConfigArrayOutput values. -// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigArrayInput` via: -// -// ServiceProfileAccessPointTypeConfigArray{ ServiceProfileAccessPointTypeConfigArgs{...} } -type ServiceProfileAccessPointTypeConfigArrayInput interface { - pulumi.Input +type GetCloudRouterNotificationOutput struct{ *pulumi.OutputState } - ToServiceProfileAccessPointTypeConfigArrayOutput() ServiceProfileAccessPointTypeConfigArrayOutput - ToServiceProfileAccessPointTypeConfigArrayOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigArrayOutput +func (GetCloudRouterNotificationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterNotification)(nil)).Elem() } -type ServiceProfileAccessPointTypeConfigArray []ServiceProfileAccessPointTypeConfigInput +func (o GetCloudRouterNotificationOutput) ToGetCloudRouterNotificationOutput() GetCloudRouterNotificationOutput { + return o +} -func (ServiceProfileAccessPointTypeConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfileAccessPointTypeConfig)(nil)).Elem() +func (o GetCloudRouterNotificationOutput) ToGetCloudRouterNotificationOutputWithContext(ctx context.Context) GetCloudRouterNotificationOutput { + return o } -func (i ServiceProfileAccessPointTypeConfigArray) ToServiceProfileAccessPointTypeConfigArrayOutput() ServiceProfileAccessPointTypeConfigArrayOutput { - return i.ToServiceProfileAccessPointTypeConfigArrayOutputWithContext(context.Background()) +func (o GetCloudRouterNotificationOutput) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterNotification] { + return pulumix.Output[GetCloudRouterNotification]{ + OutputState: o.OutputState, + } } -func (i ServiceProfileAccessPointTypeConfigArray) ToServiceProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigArrayOutput) +func (o GetCloudRouterNotificationOutput) Emails() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudRouterNotification) []string { return v.Emails }).(pulumi.StringArrayOutput) } -type ServiceProfileAccessPointTypeConfigOutput struct{ *pulumi.OutputState } +func (o GetCloudRouterNotificationOutput) SendInterval() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterNotification) string { return v.SendInterval }).(pulumi.StringOutput) +} -func (ServiceProfileAccessPointTypeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileAccessPointTypeConfig)(nil)).Elem() +func (o GetCloudRouterNotificationOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterNotification) string { return v.Type }).(pulumi.StringOutput) } -func (o ServiceProfileAccessPointTypeConfigOutput) ToServiceProfileAccessPointTypeConfigOutput() ServiceProfileAccessPointTypeConfigOutput { +type GetCloudRouterNotificationArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudRouterNotificationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterNotification)(nil)).Elem() +} + +func (o GetCloudRouterNotificationArrayOutput) ToGetCloudRouterNotificationArrayOutput() GetCloudRouterNotificationArrayOutput { return o } -func (o ServiceProfileAccessPointTypeConfigOutput) ToServiceProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigOutput { +func (o GetCloudRouterNotificationArrayOutput) ToGetCloudRouterNotificationArrayOutputWithContext(ctx context.Context) GetCloudRouterNotificationArrayOutput { return o } -// Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller -func (o ServiceProfileAccessPointTypeConfigOutput) AllowBandwidthAutoApproval() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *bool { return v.AllowBandwidthAutoApproval }).(pulumi.BoolPtrOutput) +func (o GetCloudRouterNotificationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterNotification] { + return pulumix.Output[[]GetCloudRouterNotification]{ + OutputState: o.OutputState, + } } -// Availability of a bandwidth upgrade. The default is false -func (o ServiceProfileAccessPointTypeConfigOutput) AllowBandwidthUpgrade() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *bool { return v.AllowBandwidthUpgrade }).(pulumi.BoolPtrOutput) +func (o GetCloudRouterNotificationArrayOutput) Index(i pulumi.IntInput) GetCloudRouterNotificationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudRouterNotification { + return vs[0].([]GetCloudRouterNotification)[vs[1].(int)] + }).(GetCloudRouterNotificationOutput) } -// Setting to enable or disable the ability of the buyer to customize the bandwidth -func (o ServiceProfileAccessPointTypeConfigOutput) AllowCustomBandwidth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *bool { return v.AllowCustomBandwidth }).(pulumi.BoolPtrOutput) +type GetCloudRouterOrder struct { + BillingTier string `pulumi:"billingTier"` + OrderId string `pulumi:"orderId"` + OrderNumber string `pulumi:"orderNumber"` + PurchaseOrderNumber string `pulumi:"purchaseOrderNumber"` } -// Setting to allow or prohibit remote connections to the service profile -func (o ServiceProfileAccessPointTypeConfigOutput) AllowRemoteConnections() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *bool { return v.AllowRemoteConnections }).(pulumi.BoolPtrOutput) +// GetCloudRouterOrderInput is an input type that accepts GetCloudRouterOrderArgs and GetCloudRouterOrderOutput values. +// You can construct a concrete instance of `GetCloudRouterOrderInput` via: +// +// GetCloudRouterOrderArgs{...} +type GetCloudRouterOrderInput interface { + pulumi.Input + + ToGetCloudRouterOrderOutput() GetCloudRouterOrderOutput + ToGetCloudRouterOrderOutputWithContext(context.Context) GetCloudRouterOrderOutput +} + +type GetCloudRouterOrderArgs struct { + BillingTier pulumi.StringInput `pulumi:"billingTier"` + OrderId pulumi.StringInput `pulumi:"orderId"` + OrderNumber pulumi.StringInput `pulumi:"orderNumber"` + PurchaseOrderNumber pulumi.StringInput `pulumi:"purchaseOrderNumber"` +} + +func (GetCloudRouterOrderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterOrder)(nil)).Elem() +} + +func (i GetCloudRouterOrderArgs) ToGetCloudRouterOrderOutput() GetCloudRouterOrderOutput { + return i.ToGetCloudRouterOrderOutputWithContext(context.Background()) +} + +func (i GetCloudRouterOrderArgs) ToGetCloudRouterOrderOutputWithContext(ctx context.Context) GetCloudRouterOrderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterOrderOutput) +} + +func (i GetCloudRouterOrderArgs) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterOrder] { + return pulumix.Output[GetCloudRouterOrder]{ + OutputState: i.ToGetCloudRouterOrderOutputWithContext(ctx).OutputState, + } +} + +// GetCloudRouterOrderArrayInput is an input type that accepts GetCloudRouterOrderArray and GetCloudRouterOrderArrayOutput values. +// You can construct a concrete instance of `GetCloudRouterOrderArrayInput` via: +// +// GetCloudRouterOrderArray{ GetCloudRouterOrderArgs{...} } +type GetCloudRouterOrderArrayInput interface { + pulumi.Input + + ToGetCloudRouterOrderArrayOutput() GetCloudRouterOrderArrayOutput + ToGetCloudRouterOrderArrayOutputWithContext(context.Context) GetCloudRouterOrderArrayOutput +} + +type GetCloudRouterOrderArray []GetCloudRouterOrderInput + +func (GetCloudRouterOrderArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterOrder)(nil)).Elem() +} + +func (i GetCloudRouterOrderArray) ToGetCloudRouterOrderArrayOutput() GetCloudRouterOrderArrayOutput { + return i.ToGetCloudRouterOrderArrayOutputWithContext(context.Background()) } -// Api configuration details -func (o ServiceProfileAccessPointTypeConfigOutput) ApiConfig() ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *ServiceProfileAccessPointTypeConfigApiConfig { - return v.ApiConfig - }).(ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) +func (i GetCloudRouterOrderArray) ToGetCloudRouterOrderArrayOutputWithContext(ctx context.Context) GetCloudRouterOrderArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterOrderArrayOutput) } -// Authentication key details -func (o ServiceProfileAccessPointTypeConfigOutput) AuthenticationKey() ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *ServiceProfileAccessPointTypeConfigAuthenticationKey { - return v.AuthenticationKey - }).(ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) +func (i GetCloudRouterOrderArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterOrder] { + return pulumix.Output[[]GetCloudRouterOrder]{ + OutputState: i.ToGetCloudRouterOrderArrayOutputWithContext(ctx).OutputState, + } } -// Percentage of port bandwidth at which an allocation alert is generated -func (o ServiceProfileAccessPointTypeConfigOutput) BandwidthAlertThreshold() pulumi.Float64PtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *float64 { return v.BandwidthAlertThreshold }).(pulumi.Float64PtrOutput) +type GetCloudRouterOrderOutput struct{ *pulumi.OutputState } + +func (GetCloudRouterOrderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterOrder)(nil)).Elem() } -// Custom name for Connection -func (o ServiceProfileAccessPointTypeConfigOutput) ConnectionLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *string { return v.ConnectionLabel }).(pulumi.StringPtrOutput) +func (o GetCloudRouterOrderOutput) ToGetCloudRouterOrderOutput() GetCloudRouterOrderOutput { + return o } -// Mandate redundant connections -func (o ServiceProfileAccessPointTypeConfigOutput) ConnectionRedundancyRequired() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *bool { return v.ConnectionRedundancyRequired }).(pulumi.BoolPtrOutput) +func (o GetCloudRouterOrderOutput) ToGetCloudRouterOrderOutputWithContext(ctx context.Context) GetCloudRouterOrderOutput { + return o } -// Enable auto generate service key -func (o ServiceProfileAccessPointTypeConfigOutput) EnableAutoGenerateServiceKey() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *bool { return v.EnableAutoGenerateServiceKey }).(pulumi.BoolPtrOutput) +func (o GetCloudRouterOrderOutput) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterOrder] { + return pulumix.Output[GetCloudRouterOrder]{ + OutputState: o.OutputState, + } } -// Link protocol configuration details -func (o ServiceProfileAccessPointTypeConfigOutput) LinkProtocolConfig() ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *ServiceProfileAccessPointTypeConfigLinkProtocolConfig { - return v.LinkProtocolConfig - }).(ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) +func (o GetCloudRouterOrderOutput) BillingTier() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterOrder) string { return v.BillingTier }).(pulumi.StringOutput) } -// Supported bandwidths -func (o ServiceProfileAccessPointTypeConfigOutput) SupportedBandwidths() pulumi.IntArrayOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) []int { return v.SupportedBandwidths }).(pulumi.IntArrayOutput) +func (o GetCloudRouterOrderOutput) OrderId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterOrder) string { return v.OrderId }).(pulumi.StringOutput) } -// Type of access point type config - VD, COLO -func (o ServiceProfileAccessPointTypeConfigOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) string { return v.Type }).(pulumi.StringOutput) +func (o GetCloudRouterOrderOutput) OrderNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterOrder) string { return v.OrderNumber }).(pulumi.StringOutput) } -// Colo/Port Uuid -func (o ServiceProfileAccessPointTypeConfigOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfig) *string { return v.Uuid }).(pulumi.StringPtrOutput) +func (o GetCloudRouterOrderOutput) PurchaseOrderNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterOrder) string { return v.PurchaseOrderNumber }).(pulumi.StringOutput) } -type ServiceProfileAccessPointTypeConfigArrayOutput struct{ *pulumi.OutputState } +type GetCloudRouterOrderArrayOutput struct{ *pulumi.OutputState } -func (ServiceProfileAccessPointTypeConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfileAccessPointTypeConfig)(nil)).Elem() +func (GetCloudRouterOrderArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterOrder)(nil)).Elem() } -func (o ServiceProfileAccessPointTypeConfigArrayOutput) ToServiceProfileAccessPointTypeConfigArrayOutput() ServiceProfileAccessPointTypeConfigArrayOutput { +func (o GetCloudRouterOrderArrayOutput) ToGetCloudRouterOrderArrayOutput() GetCloudRouterOrderArrayOutput { return o } -func (o ServiceProfileAccessPointTypeConfigArrayOutput) ToServiceProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigArrayOutput { +func (o GetCloudRouterOrderArrayOutput) ToGetCloudRouterOrderArrayOutputWithContext(ctx context.Context) GetCloudRouterOrderArrayOutput { return o } -func (o ServiceProfileAccessPointTypeConfigArrayOutput) Index(i pulumi.IntInput) ServiceProfileAccessPointTypeConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfileAccessPointTypeConfig { - return vs[0].([]ServiceProfileAccessPointTypeConfig)[vs[1].(int)] - }).(ServiceProfileAccessPointTypeConfigOutput) +func (o GetCloudRouterOrderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterOrder] { + return pulumix.Output[[]GetCloudRouterOrder]{ + OutputState: o.OutputState, + } } -type ServiceProfileAccessPointTypeConfigApiConfig struct { - AllowOverSubscription *bool `pulumi:"allowOverSubscription"` - ApiAvailable *bool `pulumi:"apiAvailable"` - BandwidthFromApi *bool `pulumi:"bandwidthFromApi"` - EquinixManagedPort *bool `pulumi:"equinixManagedPort"` - EquinixManagedVlan *bool `pulumi:"equinixManagedVlan"` - IntegrationId *string `pulumi:"integrationId"` - OverSubscriptionLimit *int `pulumi:"overSubscriptionLimit"` +func (o GetCloudRouterOrderArrayOutput) Index(i pulumi.IntInput) GetCloudRouterOrderOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudRouterOrder { + return vs[0].([]GetCloudRouterOrder)[vs[1].(int)] + }).(GetCloudRouterOrderOutput) } -// ServiceProfileAccessPointTypeConfigApiConfigInput is an input type that accepts ServiceProfileAccessPointTypeConfigApiConfigArgs and ServiceProfileAccessPointTypeConfigApiConfigOutput values. -// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigApiConfigInput` via: +type GetCloudRouterPackage struct { + Code string `pulumi:"code"` +} + +// GetCloudRouterPackageInput is an input type that accepts GetCloudRouterPackageArgs and GetCloudRouterPackageOutput values. +// You can construct a concrete instance of `GetCloudRouterPackageInput` via: // -// ServiceProfileAccessPointTypeConfigApiConfigArgs{...} -type ServiceProfileAccessPointTypeConfigApiConfigInput interface { +// GetCloudRouterPackageArgs{...} +type GetCloudRouterPackageInput interface { pulumi.Input - ToServiceProfileAccessPointTypeConfigApiConfigOutput() ServiceProfileAccessPointTypeConfigApiConfigOutput - ToServiceProfileAccessPointTypeConfigApiConfigOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigApiConfigOutput -} - -type ServiceProfileAccessPointTypeConfigApiConfigArgs struct { - AllowOverSubscription pulumi.BoolPtrInput `pulumi:"allowOverSubscription"` - ApiAvailable pulumi.BoolPtrInput `pulumi:"apiAvailable"` - BandwidthFromApi pulumi.BoolPtrInput `pulumi:"bandwidthFromApi"` - EquinixManagedPort pulumi.BoolPtrInput `pulumi:"equinixManagedPort"` - EquinixManagedVlan pulumi.BoolPtrInput `pulumi:"equinixManagedVlan"` - IntegrationId pulumi.StringPtrInput `pulumi:"integrationId"` - OverSubscriptionLimit pulumi.IntPtrInput `pulumi:"overSubscriptionLimit"` + ToGetCloudRouterPackageOutput() GetCloudRouterPackageOutput + ToGetCloudRouterPackageOutputWithContext(context.Context) GetCloudRouterPackageOutput } -func (ServiceProfileAccessPointTypeConfigApiConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +type GetCloudRouterPackageArgs struct { + Code pulumi.StringInput `pulumi:"code"` } -func (i ServiceProfileAccessPointTypeConfigApiConfigArgs) ToServiceProfileAccessPointTypeConfigApiConfigOutput() ServiceProfileAccessPointTypeConfigApiConfigOutput { - return i.ToServiceProfileAccessPointTypeConfigApiConfigOutputWithContext(context.Background()) +func (GetCloudRouterPackageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterPackage)(nil)).Elem() } -func (i ServiceProfileAccessPointTypeConfigApiConfigArgs) ToServiceProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigApiConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigApiConfigOutput) +func (i GetCloudRouterPackageArgs) ToGetCloudRouterPackageOutput() GetCloudRouterPackageOutput { + return i.ToGetCloudRouterPackageOutputWithContext(context.Background()) } -func (i ServiceProfileAccessPointTypeConfigApiConfigArgs) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutput() ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { - return i.ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(context.Background()) +func (i GetCloudRouterPackageArgs) ToGetCloudRouterPackageOutputWithContext(ctx context.Context) GetCloudRouterPackageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterPackageOutput) } -func (i ServiceProfileAccessPointTypeConfigApiConfigArgs) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigApiConfigOutput).ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(ctx) +func (i GetCloudRouterPackageArgs) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterPackage] { + return pulumix.Output[GetCloudRouterPackage]{ + OutputState: i.ToGetCloudRouterPackageOutputWithContext(ctx).OutputState, + } } -// ServiceProfileAccessPointTypeConfigApiConfigPtrInput is an input type that accepts ServiceProfileAccessPointTypeConfigApiConfigArgs, ServiceProfileAccessPointTypeConfigApiConfigPtr and ServiceProfileAccessPointTypeConfigApiConfigPtrOutput values. -// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigApiConfigPtrInput` via: -// -// ServiceProfileAccessPointTypeConfigApiConfigArgs{...} -// -// or: +// GetCloudRouterPackageArrayInput is an input type that accepts GetCloudRouterPackageArray and GetCloudRouterPackageArrayOutput values. +// You can construct a concrete instance of `GetCloudRouterPackageArrayInput` via: // -// nil -type ServiceProfileAccessPointTypeConfigApiConfigPtrInput interface { +// GetCloudRouterPackageArray{ GetCloudRouterPackageArgs{...} } +type GetCloudRouterPackageArrayInput interface { pulumi.Input - ToServiceProfileAccessPointTypeConfigApiConfigPtrOutput() ServiceProfileAccessPointTypeConfigApiConfigPtrOutput - ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigApiConfigPtrOutput + ToGetCloudRouterPackageArrayOutput() GetCloudRouterPackageArrayOutput + ToGetCloudRouterPackageArrayOutputWithContext(context.Context) GetCloudRouterPackageArrayOutput } -type serviceProfileAccessPointTypeConfigApiConfigPtrType ServiceProfileAccessPointTypeConfigApiConfigArgs +type GetCloudRouterPackageArray []GetCloudRouterPackageInput -func ServiceProfileAccessPointTypeConfigApiConfigPtr(v *ServiceProfileAccessPointTypeConfigApiConfigArgs) ServiceProfileAccessPointTypeConfigApiConfigPtrInput { - return (*serviceProfileAccessPointTypeConfigApiConfigPtrType)(v) +func (GetCloudRouterPackageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterPackage)(nil)).Elem() } -func (*serviceProfileAccessPointTypeConfigApiConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +func (i GetCloudRouterPackageArray) ToGetCloudRouterPackageArrayOutput() GetCloudRouterPackageArrayOutput { + return i.ToGetCloudRouterPackageArrayOutputWithContext(context.Background()) } -func (i *serviceProfileAccessPointTypeConfigApiConfigPtrType) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutput() ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { - return i.ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(context.Background()) +func (i GetCloudRouterPackageArray) ToGetCloudRouterPackageArrayOutputWithContext(ctx context.Context) GetCloudRouterPackageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterPackageArrayOutput) } -func (i *serviceProfileAccessPointTypeConfigApiConfigPtrType) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) +func (i GetCloudRouterPackageArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterPackage] { + return pulumix.Output[[]GetCloudRouterPackage]{ + OutputState: i.ToGetCloudRouterPackageArrayOutputWithContext(ctx).OutputState, + } } -type ServiceProfileAccessPointTypeConfigApiConfigOutput struct{ *pulumi.OutputState } +type GetCloudRouterPackageOutput struct{ *pulumi.OutputState } -func (ServiceProfileAccessPointTypeConfigApiConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +func (GetCloudRouterPackageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterPackage)(nil)).Elem() } -func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) ToServiceProfileAccessPointTypeConfigApiConfigOutput() ServiceProfileAccessPointTypeConfigApiConfigOutput { +func (o GetCloudRouterPackageOutput) ToGetCloudRouterPackageOutput() GetCloudRouterPackageOutput { return o } -func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) ToServiceProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigApiConfigOutput { +func (o GetCloudRouterPackageOutput) ToGetCloudRouterPackageOutputWithContext(ctx context.Context) GetCloudRouterPackageOutput { return o } -func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutput() ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { - return o.ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(context.Background()) +func (o GetCloudRouterPackageOutput) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterPackage] { + return pulumix.Output[GetCloudRouterPackage]{ + OutputState: o.OutputState, + } } -func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileAccessPointTypeConfigApiConfig) *ServiceProfileAccessPointTypeConfigApiConfig { - return &v - }).(ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) +func (o GetCloudRouterPackageOutput) Code() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterPackage) string { return v.Code }).(pulumi.StringOutput) } -func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) AllowOverSubscription() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *bool { return v.AllowOverSubscription }).(pulumi.BoolPtrOutput) +type GetCloudRouterPackageArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudRouterPackageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterPackage)(nil)).Elem() } -func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) ApiAvailable() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *bool { return v.ApiAvailable }).(pulumi.BoolPtrOutput) +func (o GetCloudRouterPackageArrayOutput) ToGetCloudRouterPackageArrayOutput() GetCloudRouterPackageArrayOutput { + return o } -func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) BandwidthFromApi() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *bool { return v.BandwidthFromApi }).(pulumi.BoolPtrOutput) +func (o GetCloudRouterPackageArrayOutput) ToGetCloudRouterPackageArrayOutputWithContext(ctx context.Context) GetCloudRouterPackageArrayOutput { + return o } -func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) EquinixManagedPort() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *bool { return v.EquinixManagedPort }).(pulumi.BoolPtrOutput) +func (o GetCloudRouterPackageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterPackage] { + return pulumix.Output[[]GetCloudRouterPackage]{ + OutputState: o.OutputState, + } } -func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) EquinixManagedVlan() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *bool { return v.EquinixManagedVlan }).(pulumi.BoolPtrOutput) +func (o GetCloudRouterPackageArrayOutput) Index(i pulumi.IntInput) GetCloudRouterPackageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudRouterPackage { + return vs[0].([]GetCloudRouterPackage)[vs[1].(int)] + }).(GetCloudRouterPackageOutput) } -func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) IntegrationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *string { return v.IntegrationId }).(pulumi.StringPtrOutput) +type GetCloudRouterProject struct { + // Unique Resource URL + Href string `pulumi:"href"` + // Project Id + ProjectId string `pulumi:"projectId"` } -func (o ServiceProfileAccessPointTypeConfigApiConfigOutput) OverSubscriptionLimit() pulumi.IntPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigApiConfig) *int { return v.OverSubscriptionLimit }).(pulumi.IntPtrOutput) +// GetCloudRouterProjectInput is an input type that accepts GetCloudRouterProjectArgs and GetCloudRouterProjectOutput values. +// You can construct a concrete instance of `GetCloudRouterProjectInput` via: +// +// GetCloudRouterProjectArgs{...} +type GetCloudRouterProjectInput interface { + pulumi.Input + + ToGetCloudRouterProjectOutput() GetCloudRouterProjectOutput + ToGetCloudRouterProjectOutputWithContext(context.Context) GetCloudRouterProjectOutput } -type ServiceProfileAccessPointTypeConfigApiConfigPtrOutput struct{ *pulumi.OutputState } +type GetCloudRouterProjectArgs struct { + // Unique Resource URL + Href pulumi.StringInput `pulumi:"href"` + // Project Id + ProjectId pulumi.StringInput `pulumi:"projectId"` +} -func (ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +func (GetCloudRouterProjectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterProject)(nil)).Elem() } -func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutput() ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { - return o +func (i GetCloudRouterProjectArgs) ToGetCloudRouterProjectOutput() GetCloudRouterProjectOutput { + return i.ToGetCloudRouterProjectOutputWithContext(context.Background()) } -func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) ToServiceProfileAccessPointTypeConfigApiConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigApiConfigPtrOutput { - return o +func (i GetCloudRouterProjectArgs) ToGetCloudRouterProjectOutputWithContext(ctx context.Context) GetCloudRouterProjectOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterProjectOutput) } -func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) Elem() ServiceProfileAccessPointTypeConfigApiConfigOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) ServiceProfileAccessPointTypeConfigApiConfig { - if v != nil { - return *v - } - var ret ServiceProfileAccessPointTypeConfigApiConfig - return ret - }).(ServiceProfileAccessPointTypeConfigApiConfigOutput) +func (i GetCloudRouterProjectArgs) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterProject] { + return pulumix.Output[GetCloudRouterProject]{ + OutputState: i.ToGetCloudRouterProjectOutputWithContext(ctx).OutputState, + } } -func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) AllowOverSubscription() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *bool { - if v == nil { - return nil - } - return v.AllowOverSubscription - }).(pulumi.BoolPtrOutput) +// GetCloudRouterProjectArrayInput is an input type that accepts GetCloudRouterProjectArray and GetCloudRouterProjectArrayOutput values. +// You can construct a concrete instance of `GetCloudRouterProjectArrayInput` via: +// +// GetCloudRouterProjectArray{ GetCloudRouterProjectArgs{...} } +type GetCloudRouterProjectArrayInput interface { + pulumi.Input + + ToGetCloudRouterProjectArrayOutput() GetCloudRouterProjectArrayOutput + ToGetCloudRouterProjectArrayOutputWithContext(context.Context) GetCloudRouterProjectArrayOutput } -func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) ApiAvailable() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *bool { - if v == nil { - return nil - } - return v.ApiAvailable - }).(pulumi.BoolPtrOutput) +type GetCloudRouterProjectArray []GetCloudRouterProjectInput + +func (GetCloudRouterProjectArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterProject)(nil)).Elem() } -func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) BandwidthFromApi() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *bool { - if v == nil { - return nil - } - return v.BandwidthFromApi - }).(pulumi.BoolPtrOutput) +func (i GetCloudRouterProjectArray) ToGetCloudRouterProjectArrayOutput() GetCloudRouterProjectArrayOutput { + return i.ToGetCloudRouterProjectArrayOutputWithContext(context.Background()) } -func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) EquinixManagedPort() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *bool { - if v == nil { - return nil - } - return v.EquinixManagedPort - }).(pulumi.BoolPtrOutput) +func (i GetCloudRouterProjectArray) ToGetCloudRouterProjectArrayOutputWithContext(ctx context.Context) GetCloudRouterProjectArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterProjectArrayOutput) } -func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) EquinixManagedVlan() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *bool { - if v == nil { - return nil - } - return v.EquinixManagedVlan - }).(pulumi.BoolPtrOutput) +func (i GetCloudRouterProjectArray) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterProject] { + return pulumix.Output[[]GetCloudRouterProject]{ + OutputState: i.ToGetCloudRouterProjectArrayOutputWithContext(ctx).OutputState, + } } -func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) IntegrationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *string { - if v == nil { - return nil - } - return v.IntegrationId - }).(pulumi.StringPtrOutput) +type GetCloudRouterProjectOutput struct{ *pulumi.OutputState } + +func (GetCloudRouterProjectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterProject)(nil)).Elem() } -func (o ServiceProfileAccessPointTypeConfigApiConfigPtrOutput) OverSubscriptionLimit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigApiConfig) *int { - if v == nil { - return nil - } - return v.OverSubscriptionLimit - }).(pulumi.IntPtrOutput) +func (o GetCloudRouterProjectOutput) ToGetCloudRouterProjectOutput() GetCloudRouterProjectOutput { + return o } -type ServiceProfileAccessPointTypeConfigAuthenticationKey struct { - // User-provided service description - Description *string `pulumi:"description"` - Label *string `pulumi:"label"` - Required *bool `pulumi:"required"` +func (o GetCloudRouterProjectOutput) ToGetCloudRouterProjectOutputWithContext(ctx context.Context) GetCloudRouterProjectOutput { + return o } -// ServiceProfileAccessPointTypeConfigAuthenticationKeyInput is an input type that accepts ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs and ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput values. -// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigAuthenticationKeyInput` via: -// -// ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs{...} -type ServiceProfileAccessPointTypeConfigAuthenticationKeyInput interface { - pulumi.Input +func (o GetCloudRouterProjectOutput) ToOutput(ctx context.Context) pulumix.Output[GetCloudRouterProject] { + return pulumix.Output[GetCloudRouterProject]{ + OutputState: o.OutputState, + } +} - ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput - ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput +// Unique Resource URL +func (o GetCloudRouterProjectOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterProject) string { return v.Href }).(pulumi.StringOutput) } -type ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs struct { - // User-provided service description - Description pulumi.StringPtrInput `pulumi:"description"` - Label pulumi.StringPtrInput `pulumi:"label"` - Required pulumi.BoolPtrInput `pulumi:"required"` +// Project Id +func (o GetCloudRouterProjectOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterProject) string { return v.ProjectId }).(pulumi.StringOutput) } -func (ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() +type GetCloudRouterProjectArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudRouterProjectArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterProject)(nil)).Elem() } -func (i ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput { - return i.ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(context.Background()) +func (o GetCloudRouterProjectArrayOutput) ToGetCloudRouterProjectArrayOutput() GetCloudRouterProjectArrayOutput { + return o } -func (i ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) +func (o GetCloudRouterProjectArrayOutput) ToGetCloudRouterProjectArrayOutputWithContext(ctx context.Context) GetCloudRouterProjectArrayOutput { + return o } -func (i ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { - return i.ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(context.Background()) +func (o GetCloudRouterProjectArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetCloudRouterProject] { + return pulumix.Output[[]GetCloudRouterProject]{ + OutputState: o.OutputState, + } +} + +func (o GetCloudRouterProjectArrayOutput) Index(i pulumi.IntInput) GetCloudRouterProjectOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudRouterProject { + return vs[0].([]GetCloudRouterProject)[vs[1].(int)] + }).(GetCloudRouterProjectOutput) +} + +type GetConnectionASide struct { + AccessPoint GetConnectionASideAccessPoint `pulumi:"accessPoint"` + ServiceToken GetConnectionASideServiceToken `pulumi:"serviceToken"` +} + +// GetConnectionASideInput is an input type that accepts GetConnectionASideArgs and GetConnectionASideOutput values. +// You can construct a concrete instance of `GetConnectionASideInput` via: +// +// GetConnectionASideArgs{...} +type GetConnectionASideInput interface { + pulumi.Input + + ToGetConnectionASideOutput() GetConnectionASideOutput + ToGetConnectionASideOutputWithContext(context.Context) GetConnectionASideOutput +} + +type GetConnectionASideArgs struct { + AccessPoint GetConnectionASideAccessPointInput `pulumi:"accessPoint"` + ServiceToken GetConnectionASideServiceTokenInput `pulumi:"serviceToken"` +} + +func (GetConnectionASideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASide)(nil)).Elem() } -func (i ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput).ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(ctx) +func (i GetConnectionASideArgs) ToGetConnectionASideOutput() GetConnectionASideOutput { + return i.ToGetConnectionASideOutputWithContext(context.Background()) } -// ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrInput is an input type that accepts ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs, ServiceProfileAccessPointTypeConfigAuthenticationKeyPtr and ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput values. -// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrInput` via: -// -// ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs{...} -// -// or: -// -// nil -type ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrInput interface { - pulumi.Input +func (i GetConnectionASideArgs) ToGetConnectionASideOutputWithContext(ctx context.Context) GetConnectionASideOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideOutput) +} - ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput - ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput +func (i GetConnectionASideArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASide] { + return pulumix.Output[GetConnectionASide]{ + OutputState: i.ToGetConnectionASideOutputWithContext(ctx).OutputState, + } } -type serviceProfileAccessPointTypeConfigAuthenticationKeyPtrType ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs +type GetConnectionASideOutput struct{ *pulumi.OutputState } -func ServiceProfileAccessPointTypeConfigAuthenticationKeyPtr(v *ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrInput { - return (*serviceProfileAccessPointTypeConfigAuthenticationKeyPtrType)(v) +func (GetConnectionASideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASide)(nil)).Elem() } -func (*serviceProfileAccessPointTypeConfigAuthenticationKeyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() +func (o GetConnectionASideOutput) ToGetConnectionASideOutput() GetConnectionASideOutput { + return o } -func (i *serviceProfileAccessPointTypeConfigAuthenticationKeyPtrType) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { - return i.ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(context.Background()) +func (o GetConnectionASideOutput) ToGetConnectionASideOutputWithContext(ctx context.Context) GetConnectionASideOutput { + return o } -func (i *serviceProfileAccessPointTypeConfigAuthenticationKeyPtrType) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) +func (o GetConnectionASideOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASide] { + return pulumix.Output[GetConnectionASide]{ + OutputState: o.OutputState, + } } -type ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput struct{ *pulumi.OutputState } +func (o GetConnectionASideOutput) AccessPoint() GetConnectionASideAccessPointOutput { + return o.ApplyT(func(v GetConnectionASide) GetConnectionASideAccessPoint { return v.AccessPoint }).(GetConnectionASideAccessPointOutput) +} -func (ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() +func (o GetConnectionASideOutput) ServiceToken() GetConnectionASideServiceTokenOutput { + return o.ApplyT(func(v GetConnectionASide) GetConnectionASideServiceToken { return v.ServiceToken }).(GetConnectionASideServiceTokenOutput) } -func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput { - return o +type GetConnectionASideAccessPoint struct { + Accounts []GetConnectionASideAccessPointAccount `pulumi:"accounts"` + AuthenticationKey string `pulumi:"authenticationKey"` + // Deprecated: router attribute will be returned instead + Gateways []GetConnectionASideAccessPointGateway `pulumi:"gateways"` + Interfaces []GetConnectionASideAccessPointInterface `pulumi:"interfaces"` + LinkProtocols []GetConnectionASideAccessPointLinkProtocol `pulumi:"linkProtocols"` + Locations []GetConnectionASideAccessPointLocation `pulumi:"locations"` + PeeringType string `pulumi:"peeringType"` + Ports []GetConnectionASideAccessPointPort `pulumi:"ports"` + Profiles []GetConnectionASideAccessPointProfile `pulumi:"profiles"` + ProviderConnectionId string `pulumi:"providerConnectionId"` + // CloudRouter; Replaces `gateway` attribute (Set of Object) + Routers []GetConnectionASideAccessPointRouter `pulumi:"routers"` + SellerRegion string `pulumi:"sellerRegion"` + Type string `pulumi:"type"` + VirtualDevices []GetConnectionASideAccessPointVirtualDevice `pulumi:"virtualDevices"` } -func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ToServiceProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput { - return o +// GetConnectionASideAccessPointInput is an input type that accepts GetConnectionASideAccessPointArgs and GetConnectionASideAccessPointOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointInput` via: +// +// GetConnectionASideAccessPointArgs{...} +type GetConnectionASideAccessPointInput interface { + pulumi.Input + + ToGetConnectionASideAccessPointOutput() GetConnectionASideAccessPointOutput + ToGetConnectionASideAccessPointOutputWithContext(context.Context) GetConnectionASideAccessPointOutput } -func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { - return o.ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(context.Background()) +type GetConnectionASideAccessPointArgs struct { + Accounts GetConnectionASideAccessPointAccountArrayInput `pulumi:"accounts"` + AuthenticationKey pulumi.StringInput `pulumi:"authenticationKey"` + // Deprecated: router attribute will be returned instead + Gateways GetConnectionASideAccessPointGatewayArrayInput `pulumi:"gateways"` + Interfaces GetConnectionASideAccessPointInterfaceArrayInput `pulumi:"interfaces"` + LinkProtocols GetConnectionASideAccessPointLinkProtocolArrayInput `pulumi:"linkProtocols"` + Locations GetConnectionASideAccessPointLocationArrayInput `pulumi:"locations"` + PeeringType pulumi.StringInput `pulumi:"peeringType"` + Ports GetConnectionASideAccessPointPortArrayInput `pulumi:"ports"` + Profiles GetConnectionASideAccessPointProfileArrayInput `pulumi:"profiles"` + ProviderConnectionId pulumi.StringInput `pulumi:"providerConnectionId"` + // CloudRouter; Replaces `gateway` attribute (Set of Object) + Routers GetConnectionASideAccessPointRouterArrayInput `pulumi:"routers"` + SellerRegion pulumi.StringInput `pulumi:"sellerRegion"` + Type pulumi.StringInput `pulumi:"type"` + VirtualDevices GetConnectionASideAccessPointVirtualDeviceArrayInput `pulumi:"virtualDevices"` } -func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileAccessPointTypeConfigAuthenticationKey) *ServiceProfileAccessPointTypeConfigAuthenticationKey { - return &v - }).(ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) +func (GetConnectionASideAccessPointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPoint)(nil)).Elem() } -// User-provided service description -func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigAuthenticationKey) *string { return v.Description }).(pulumi.StringPtrOutput) +func (i GetConnectionASideAccessPointArgs) ToGetConnectionASideAccessPointOutput() GetConnectionASideAccessPointOutput { + return i.ToGetConnectionASideAccessPointOutputWithContext(context.Background()) } -func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigAuthenticationKey) *string { return v.Label }).(pulumi.StringPtrOutput) +func (i GetConnectionASideAccessPointArgs) ToGetConnectionASideAccessPointOutputWithContext(ctx context.Context) GetConnectionASideAccessPointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointOutput) } -func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) Required() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigAuthenticationKey) *bool { return v.Required }).(pulumi.BoolPtrOutput) +func (i GetConnectionASideAccessPointArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPoint] { + return pulumix.Output[GetConnectionASideAccessPoint]{ + OutputState: i.ToGetConnectionASideAccessPointOutputWithContext(ctx).OutputState, + } } -type ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointOutput struct{ *pulumi.OutputState } -func (ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() +func (GetConnectionASideAccessPointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPoint)(nil)).Elem() } -func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput() ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { +func (o GetConnectionASideAccessPointOutput) ToGetConnectionASideAccessPointOutput() GetConnectionASideAccessPointOutput { return o } -func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) ToServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput { +func (o GetConnectionASideAccessPointOutput) ToGetConnectionASideAccessPointOutputWithContext(ctx context.Context) GetConnectionASideAccessPointOutput { return o } -func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) Elem() ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigAuthenticationKey) ServiceProfileAccessPointTypeConfigAuthenticationKey { - if v != nil { - return *v - } - var ret ServiceProfileAccessPointTypeConfigAuthenticationKey - return ret - }).(ServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) +func (o GetConnectionASideAccessPointOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPoint] { + return pulumix.Output[GetConnectionASideAccessPoint]{ + OutputState: o.OutputState, + } } -// User-provided service description -func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigAuthenticationKey) *string { - if v == nil { - return nil - } - return v.Description - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointOutput) Accounts() GetConnectionASideAccessPointAccountArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointAccount { return v.Accounts }).(GetConnectionASideAccessPointAccountArrayOutput) } -func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigAuthenticationKey) *string { - if v == nil { - return nil - } - return v.Label - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointOutput) AuthenticationKey() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) string { return v.AuthenticationKey }).(pulumi.StringOutput) } -func (o ServiceProfileAccessPointTypeConfigAuthenticationKeyPtrOutput) Required() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigAuthenticationKey) *bool { - if v == nil { - return nil - } - return v.Required - }).(pulumi.BoolPtrOutput) +// Deprecated: router attribute will be returned instead +func (o GetConnectionASideAccessPointOutput) Gateways() GetConnectionASideAccessPointGatewayArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointGateway { return v.Gateways }).(GetConnectionASideAccessPointGatewayArrayOutput) } -type ServiceProfileAccessPointTypeConfigLinkProtocolConfig struct { - Encapsulation *string `pulumi:"encapsulation"` - EncapsulationStrategy *string `pulumi:"encapsulationStrategy"` - ReuseVlanSTag *bool `pulumi:"reuseVlanSTag"` +func (o GetConnectionASideAccessPointOutput) Interfaces() GetConnectionASideAccessPointInterfaceArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointInterface { return v.Interfaces }).(GetConnectionASideAccessPointInterfaceArrayOutput) } -// ServiceProfileAccessPointTypeConfigLinkProtocolConfigInput is an input type that accepts ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs and ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput values. -// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigLinkProtocolConfigInput` via: -// -// ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs{...} -type ServiceProfileAccessPointTypeConfigLinkProtocolConfigInput interface { - pulumi.Input - - ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput - ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput +func (o GetConnectionASideAccessPointOutput) LinkProtocols() GetConnectionASideAccessPointLinkProtocolArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointLinkProtocol { + return v.LinkProtocols + }).(GetConnectionASideAccessPointLinkProtocolArrayOutput) } -type ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs struct { - Encapsulation pulumi.StringPtrInput `pulumi:"encapsulation"` - EncapsulationStrategy pulumi.StringPtrInput `pulumi:"encapsulationStrategy"` - ReuseVlanSTag pulumi.BoolPtrInput `pulumi:"reuseVlanSTag"` +func (o GetConnectionASideAccessPointOutput) Locations() GetConnectionASideAccessPointLocationArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointLocation { return v.Locations }).(GetConnectionASideAccessPointLocationArrayOutput) } -func (ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() +func (o GetConnectionASideAccessPointOutput) PeeringType() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) string { return v.PeeringType }).(pulumi.StringOutput) } -func (i ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput { - return i.ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(context.Background()) +func (o GetConnectionASideAccessPointOutput) Ports() GetConnectionASideAccessPointPortArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointPort { return v.Ports }).(GetConnectionASideAccessPointPortArrayOutput) } -func (i ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) +func (o GetConnectionASideAccessPointOutput) Profiles() GetConnectionASideAccessPointProfileArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointProfile { return v.Profiles }).(GetConnectionASideAccessPointProfileArrayOutput) } -func (i ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { - return i.ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(context.Background()) +func (o GetConnectionASideAccessPointOutput) ProviderConnectionId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) string { return v.ProviderConnectionId }).(pulumi.StringOutput) } -func (i ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput).ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(ctx) +// CloudRouter; Replaces `gateway` attribute (Set of Object) +func (o GetConnectionASideAccessPointOutput) Routers() GetConnectionASideAccessPointRouterArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointRouter { return v.Routers }).(GetConnectionASideAccessPointRouterArrayOutput) } -// ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrInput is an input type that accepts ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs, ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtr and ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput values. -// You can construct a concrete instance of `ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrInput` via: -// -// ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs{...} -// -// or: -// -// nil -type ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrInput interface { - pulumi.Input +func (o GetConnectionASideAccessPointOutput) SellerRegion() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) string { return v.SellerRegion }).(pulumi.StringOutput) +} - ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput - ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput +func (o GetConnectionASideAccessPointOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) string { return v.Type }).(pulumi.StringOutput) } -type serviceProfileAccessPointTypeConfigLinkProtocolConfigPtrType ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs +func (o GetConnectionASideAccessPointOutput) VirtualDevices() GetConnectionASideAccessPointVirtualDeviceArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointVirtualDevice { + return v.VirtualDevices + }).(GetConnectionASideAccessPointVirtualDeviceArrayOutput) +} -func ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtr(v *ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrInput { - return (*serviceProfileAccessPointTypeConfigLinkProtocolConfigPtrType)(v) +type GetConnectionASideAccessPointAccount struct { + AccountName string `pulumi:"accountName"` + AccountNumber int `pulumi:"accountNumber"` + GlobalCustId string `pulumi:"globalCustId"` + GlobalOrgId string `pulumi:"globalOrgId"` + GlobalOrganizationName string `pulumi:"globalOrganizationName"` + OrgId int `pulumi:"orgId"` + OrganizationName string `pulumi:"organizationName"` } -func (*serviceProfileAccessPointTypeConfigLinkProtocolConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() +// GetConnectionASideAccessPointAccountInput is an input type that accepts GetConnectionASideAccessPointAccountArgs and GetConnectionASideAccessPointAccountOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointAccountInput` via: +// +// GetConnectionASideAccessPointAccountArgs{...} +type GetConnectionASideAccessPointAccountInput interface { + pulumi.Input + + ToGetConnectionASideAccessPointAccountOutput() GetConnectionASideAccessPointAccountOutput + ToGetConnectionASideAccessPointAccountOutputWithContext(context.Context) GetConnectionASideAccessPointAccountOutput } -func (i *serviceProfileAccessPointTypeConfigLinkProtocolConfigPtrType) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { - return i.ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(context.Background()) +type GetConnectionASideAccessPointAccountArgs struct { + AccountName pulumi.StringInput `pulumi:"accountName"` + AccountNumber pulumi.IntInput `pulumi:"accountNumber"` + GlobalCustId pulumi.StringInput `pulumi:"globalCustId"` + GlobalOrgId pulumi.StringInput `pulumi:"globalOrgId"` + GlobalOrganizationName pulumi.StringInput `pulumi:"globalOrganizationName"` + OrgId pulumi.IntInput `pulumi:"orgId"` + OrganizationName pulumi.StringInput `pulumi:"organizationName"` } -func (i *serviceProfileAccessPointTypeConfigLinkProtocolConfigPtrType) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) +func (GetConnectionASideAccessPointAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointAccount)(nil)).Elem() } -type ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput struct{ *pulumi.OutputState } +func (i GetConnectionASideAccessPointAccountArgs) ToGetConnectionASideAccessPointAccountOutput() GetConnectionASideAccessPointAccountOutput { + return i.ToGetConnectionASideAccessPointAccountOutputWithContext(context.Background()) +} -func (ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() +func (i GetConnectionASideAccessPointAccountArgs) ToGetConnectionASideAccessPointAccountOutputWithContext(ctx context.Context) GetConnectionASideAccessPointAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointAccountOutput) } -func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput { - return o +func (i GetConnectionASideAccessPointAccountArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointAccount] { + return pulumix.Output[GetConnectionASideAccessPointAccount]{ + OutputState: i.ToGetConnectionASideAccessPointAccountOutputWithContext(ctx).OutputState, + } } -func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput { - return o +// GetConnectionASideAccessPointAccountArrayInput is an input type that accepts GetConnectionASideAccessPointAccountArray and GetConnectionASideAccessPointAccountArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointAccountArrayInput` via: +// +// GetConnectionASideAccessPointAccountArray{ GetConnectionASideAccessPointAccountArgs{...} } +type GetConnectionASideAccessPointAccountArrayInput interface { + pulumi.Input + + ToGetConnectionASideAccessPointAccountArrayOutput() GetConnectionASideAccessPointAccountArrayOutput + ToGetConnectionASideAccessPointAccountArrayOutputWithContext(context.Context) GetConnectionASideAccessPointAccountArrayOutput } -func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { - return o.ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(context.Background()) -} +type GetConnectionASideAccessPointAccountArray []GetConnectionASideAccessPointAccountInput -func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *ServiceProfileAccessPointTypeConfigLinkProtocolConfig { - return &v - }).(ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) +func (GetConnectionASideAccessPointAccountArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointAccount)(nil)).Elem() } -func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) Encapsulation() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *string { return v.Encapsulation }).(pulumi.StringPtrOutput) +func (i GetConnectionASideAccessPointAccountArray) ToGetConnectionASideAccessPointAccountArrayOutput() GetConnectionASideAccessPointAccountArrayOutput { + return i.ToGetConnectionASideAccessPointAccountArrayOutputWithContext(context.Background()) } -func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) EncapsulationStrategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *string { return v.EncapsulationStrategy }).(pulumi.StringPtrOutput) +func (i GetConnectionASideAccessPointAccountArray) ToGetConnectionASideAccessPointAccountArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointAccountArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointAccountArrayOutput) } -func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ReuseVlanSTag() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *bool { return v.ReuseVlanSTag }).(pulumi.BoolPtrOutput) +func (i GetConnectionASideAccessPointAccountArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointAccount] { + return pulumix.Output[[]GetConnectionASideAccessPointAccount]{ + OutputState: i.ToGetConnectionASideAccessPointAccountArrayOutputWithContext(ctx).OutputState, + } } -type ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointAccountOutput struct{ *pulumi.OutputState } -func (ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() +func (GetConnectionASideAccessPointAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointAccount)(nil)).Elem() } -func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput() ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { +func (o GetConnectionASideAccessPointAccountOutput) ToGetConnectionASideAccessPointAccountOutput() GetConnectionASideAccessPointAccountOutput { return o } -func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) ToServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutputWithContext(ctx context.Context) ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput { +func (o GetConnectionASideAccessPointAccountOutput) ToGetConnectionASideAccessPointAccountOutputWithContext(ctx context.Context) GetConnectionASideAccessPointAccountOutput { return o } -func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) Elem() ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigLinkProtocolConfig) ServiceProfileAccessPointTypeConfigLinkProtocolConfig { - if v != nil { - return *v - } - var ret ServiceProfileAccessPointTypeConfigLinkProtocolConfig - return ret - }).(ServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) +func (o GetConnectionASideAccessPointAccountOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointAccount] { + return pulumix.Output[GetConnectionASideAccessPointAccount]{ + OutputState: o.OutputState, + } } -func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) Encapsulation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *string { - if v == nil { - return nil - } - return v.Encapsulation - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointAccountOutput) AccountName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointAccount) string { return v.AccountName }).(pulumi.StringOutput) } -func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) EncapsulationStrategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *string { - if v == nil { - return nil - } - return v.EncapsulationStrategy - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointAccountOutput) AccountNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointAccount) int { return v.AccountNumber }).(pulumi.IntOutput) } -func (o ServiceProfileAccessPointTypeConfigLinkProtocolConfigPtrOutput) ReuseVlanSTag() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccessPointTypeConfigLinkProtocolConfig) *bool { - if v == nil { - return nil - } - return v.ReuseVlanSTag - }).(pulumi.BoolPtrOutput) +func (o GetConnectionASideAccessPointAccountOutput) GlobalCustId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointAccount) string { return v.GlobalCustId }).(pulumi.StringOutput) } -type ServiceProfileAccount struct { - // Account Name - AccountName *string `pulumi:"accountName"` - // Account Number - AccountNumber *int `pulumi:"accountNumber"` - // Global Customer organization identifier - GlobalCustId *string `pulumi:"globalCustId"` - // Global organization identifier - GlobalOrgId *string `pulumi:"globalOrgId"` - // Global organization name - GlobalOrganizationName *string `pulumi:"globalOrganizationName"` - // Customer organization identifier - OrgId *int `pulumi:"orgId"` - // Customer organization name - OrganizationName *string `pulumi:"organizationName"` - // Enterprise datastore id - UcmId *string `pulumi:"ucmId"` +func (o GetConnectionASideAccessPointAccountOutput) GlobalOrgId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointAccount) string { return v.GlobalOrgId }).(pulumi.StringOutput) } -// ServiceProfileAccountInput is an input type that accepts ServiceProfileAccountArgs and ServiceProfileAccountOutput values. -// You can construct a concrete instance of `ServiceProfileAccountInput` via: -// -// ServiceProfileAccountArgs{...} -type ServiceProfileAccountInput interface { - pulumi.Input +func (o GetConnectionASideAccessPointAccountOutput) GlobalOrganizationName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointAccount) string { return v.GlobalOrganizationName }).(pulumi.StringOutput) +} - ToServiceProfileAccountOutput() ServiceProfileAccountOutput - ToServiceProfileAccountOutputWithContext(context.Context) ServiceProfileAccountOutput +func (o GetConnectionASideAccessPointAccountOutput) OrgId() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointAccount) int { return v.OrgId }).(pulumi.IntOutput) } -type ServiceProfileAccountArgs struct { - // Account Name - AccountName pulumi.StringPtrInput `pulumi:"accountName"` - // Account Number - AccountNumber pulumi.IntPtrInput `pulumi:"accountNumber"` - // Global Customer organization identifier - GlobalCustId pulumi.StringPtrInput `pulumi:"globalCustId"` - // Global organization identifier - GlobalOrgId pulumi.StringPtrInput `pulumi:"globalOrgId"` - // Global organization name - GlobalOrganizationName pulumi.StringPtrInput `pulumi:"globalOrganizationName"` - // Customer organization identifier - OrgId pulumi.IntPtrInput `pulumi:"orgId"` - // Customer organization name - OrganizationName pulumi.StringPtrInput `pulumi:"organizationName"` - // Enterprise datastore id - UcmId pulumi.StringPtrInput `pulumi:"ucmId"` +func (o GetConnectionASideAccessPointAccountOutput) OrganizationName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointAccount) string { return v.OrganizationName }).(pulumi.StringOutput) } -func (ServiceProfileAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileAccount)(nil)).Elem() +type GetConnectionASideAccessPointAccountArrayOutput struct{ *pulumi.OutputState } + +func (GetConnectionASideAccessPointAccountArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointAccount)(nil)).Elem() } -func (i ServiceProfileAccountArgs) ToServiceProfileAccountOutput() ServiceProfileAccountOutput { - return i.ToServiceProfileAccountOutputWithContext(context.Background()) +func (o GetConnectionASideAccessPointAccountArrayOutput) ToGetConnectionASideAccessPointAccountArrayOutput() GetConnectionASideAccessPointAccountArrayOutput { + return o } -func (i ServiceProfileAccountArgs) ToServiceProfileAccountOutputWithContext(ctx context.Context) ServiceProfileAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccountOutput) +func (o GetConnectionASideAccessPointAccountArrayOutput) ToGetConnectionASideAccessPointAccountArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointAccountArrayOutput { + return o } -func (i ServiceProfileAccountArgs) ToServiceProfileAccountPtrOutput() ServiceProfileAccountPtrOutput { - return i.ToServiceProfileAccountPtrOutputWithContext(context.Background()) +func (o GetConnectionASideAccessPointAccountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointAccount] { + return pulumix.Output[[]GetConnectionASideAccessPointAccount]{ + OutputState: o.OutputState, + } } -func (i ServiceProfileAccountArgs) ToServiceProfileAccountPtrOutputWithContext(ctx context.Context) ServiceProfileAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccountOutput).ToServiceProfileAccountPtrOutputWithContext(ctx) +func (o GetConnectionASideAccessPointAccountArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointAccountOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointAccount { + return vs[0].([]GetConnectionASideAccessPointAccount)[vs[1].(int)] + }).(GetConnectionASideAccessPointAccountOutput) } -// ServiceProfileAccountPtrInput is an input type that accepts ServiceProfileAccountArgs, ServiceProfileAccountPtr and ServiceProfileAccountPtrOutput values. -// You can construct a concrete instance of `ServiceProfileAccountPtrInput` via: -// -// ServiceProfileAccountArgs{...} -// -// or: +type GetConnectionASideAccessPointGateway struct { + Href string `pulumi:"href"` + State string `pulumi:"state"` + Uuid string `pulumi:"uuid"` +} + +// GetConnectionASideAccessPointGatewayInput is an input type that accepts GetConnectionASideAccessPointGatewayArgs and GetConnectionASideAccessPointGatewayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointGatewayInput` via: // -// nil -type ServiceProfileAccountPtrInput interface { +// GetConnectionASideAccessPointGatewayArgs{...} +type GetConnectionASideAccessPointGatewayInput interface { pulumi.Input - ToServiceProfileAccountPtrOutput() ServiceProfileAccountPtrOutput - ToServiceProfileAccountPtrOutputWithContext(context.Context) ServiceProfileAccountPtrOutput + ToGetConnectionASideAccessPointGatewayOutput() GetConnectionASideAccessPointGatewayOutput + ToGetConnectionASideAccessPointGatewayOutputWithContext(context.Context) GetConnectionASideAccessPointGatewayOutput } -type serviceProfileAccountPtrType ServiceProfileAccountArgs +type GetConnectionASideAccessPointGatewayArgs struct { + Href pulumi.StringInput `pulumi:"href"` + State pulumi.StringInput `pulumi:"state"` + Uuid pulumi.StringInput `pulumi:"uuid"` +} -func ServiceProfileAccountPtr(v *ServiceProfileAccountArgs) ServiceProfileAccountPtrInput { - return (*serviceProfileAccountPtrType)(v) +func (GetConnectionASideAccessPointGatewayArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointGateway)(nil)).Elem() } -func (*serviceProfileAccountPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileAccount)(nil)).Elem() +func (i GetConnectionASideAccessPointGatewayArgs) ToGetConnectionASideAccessPointGatewayOutput() GetConnectionASideAccessPointGatewayOutput { + return i.ToGetConnectionASideAccessPointGatewayOutputWithContext(context.Background()) } -func (i *serviceProfileAccountPtrType) ToServiceProfileAccountPtrOutput() ServiceProfileAccountPtrOutput { - return i.ToServiceProfileAccountPtrOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointGatewayArgs) ToGetConnectionASideAccessPointGatewayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointGatewayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointGatewayOutput) } -func (i *serviceProfileAccountPtrType) ToServiceProfileAccountPtrOutputWithContext(ctx context.Context) ServiceProfileAccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileAccountPtrOutput) +func (i GetConnectionASideAccessPointGatewayArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointGateway] { + return pulumix.Output[GetConnectionASideAccessPointGateway]{ + OutputState: i.ToGetConnectionASideAccessPointGatewayOutputWithContext(ctx).OutputState, + } } -type ServiceProfileAccountOutput struct{ *pulumi.OutputState } +// GetConnectionASideAccessPointGatewayArrayInput is an input type that accepts GetConnectionASideAccessPointGatewayArray and GetConnectionASideAccessPointGatewayArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointGatewayArrayInput` via: +// +// GetConnectionASideAccessPointGatewayArray{ GetConnectionASideAccessPointGatewayArgs{...} } +type GetConnectionASideAccessPointGatewayArrayInput interface { + pulumi.Input -func (ServiceProfileAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileAccount)(nil)).Elem() + ToGetConnectionASideAccessPointGatewayArrayOutput() GetConnectionASideAccessPointGatewayArrayOutput + ToGetConnectionASideAccessPointGatewayArrayOutputWithContext(context.Context) GetConnectionASideAccessPointGatewayArrayOutput } -func (o ServiceProfileAccountOutput) ToServiceProfileAccountOutput() ServiceProfileAccountOutput { - return o -} +type GetConnectionASideAccessPointGatewayArray []GetConnectionASideAccessPointGatewayInput -func (o ServiceProfileAccountOutput) ToServiceProfileAccountOutputWithContext(ctx context.Context) ServiceProfileAccountOutput { - return o +func (GetConnectionASideAccessPointGatewayArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointGateway)(nil)).Elem() } -func (o ServiceProfileAccountOutput) ToServiceProfileAccountPtrOutput() ServiceProfileAccountPtrOutput { - return o.ToServiceProfileAccountPtrOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointGatewayArray) ToGetConnectionASideAccessPointGatewayArrayOutput() GetConnectionASideAccessPointGatewayArrayOutput { + return i.ToGetConnectionASideAccessPointGatewayArrayOutputWithContext(context.Background()) } -func (o ServiceProfileAccountOutput) ToServiceProfileAccountPtrOutputWithContext(ctx context.Context) ServiceProfileAccountPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileAccount) *ServiceProfileAccount { - return &v - }).(ServiceProfileAccountPtrOutput) +func (i GetConnectionASideAccessPointGatewayArray) ToGetConnectionASideAccessPointGatewayArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointGatewayArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointGatewayArrayOutput) } -// Account Name -func (o ServiceProfileAccountOutput) AccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileAccount) *string { return v.AccountName }).(pulumi.StringPtrOutput) +func (i GetConnectionASideAccessPointGatewayArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointGateway] { + return pulumix.Output[[]GetConnectionASideAccessPointGateway]{ + OutputState: i.ToGetConnectionASideAccessPointGatewayArrayOutputWithContext(ctx).OutputState, + } } -// Account Number -func (o ServiceProfileAccountOutput) AccountNumber() pulumi.IntPtrOutput { - return o.ApplyT(func(v ServiceProfileAccount) *int { return v.AccountNumber }).(pulumi.IntPtrOutput) +type GetConnectionASideAccessPointGatewayOutput struct{ *pulumi.OutputState } + +func (GetConnectionASideAccessPointGatewayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointGateway)(nil)).Elem() } -// Global Customer organization identifier -func (o ServiceProfileAccountOutput) GlobalCustId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileAccount) *string { return v.GlobalCustId }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointGatewayOutput) ToGetConnectionASideAccessPointGatewayOutput() GetConnectionASideAccessPointGatewayOutput { + return o } -// Global organization identifier -func (o ServiceProfileAccountOutput) GlobalOrgId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileAccount) *string { return v.GlobalOrgId }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointGatewayOutput) ToGetConnectionASideAccessPointGatewayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointGatewayOutput { + return o } -// Global organization name -func (o ServiceProfileAccountOutput) GlobalOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileAccount) *string { return v.GlobalOrganizationName }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointGateway] { + return pulumix.Output[GetConnectionASideAccessPointGateway]{ + OutputState: o.OutputState, + } } -// Customer organization identifier -func (o ServiceProfileAccountOutput) OrgId() pulumi.IntPtrOutput { - return o.ApplyT(func(v ServiceProfileAccount) *int { return v.OrgId }).(pulumi.IntPtrOutput) +func (o GetConnectionASideAccessPointGatewayOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointGateway) string { return v.Href }).(pulumi.StringOutput) } -// Customer organization name -func (o ServiceProfileAccountOutput) OrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileAccount) *string { return v.OrganizationName }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointGatewayOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointGateway) string { return v.State }).(pulumi.StringOutput) } -// Enterprise datastore id -func (o ServiceProfileAccountOutput) UcmId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileAccount) *string { return v.UcmId }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointGatewayOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointGateway) string { return v.Uuid }).(pulumi.StringOutput) } -type ServiceProfileAccountPtrOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointGatewayArrayOutput struct{ *pulumi.OutputState } -func (ServiceProfileAccountPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileAccount)(nil)).Elem() +func (GetConnectionASideAccessPointGatewayArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointGateway)(nil)).Elem() } -func (o ServiceProfileAccountPtrOutput) ToServiceProfileAccountPtrOutput() ServiceProfileAccountPtrOutput { +func (o GetConnectionASideAccessPointGatewayArrayOutput) ToGetConnectionASideAccessPointGatewayArrayOutput() GetConnectionASideAccessPointGatewayArrayOutput { return o } -func (o ServiceProfileAccountPtrOutput) ToServiceProfileAccountPtrOutputWithContext(ctx context.Context) ServiceProfileAccountPtrOutput { +func (o GetConnectionASideAccessPointGatewayArrayOutput) ToGetConnectionASideAccessPointGatewayArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointGatewayArrayOutput { return o } -func (o ServiceProfileAccountPtrOutput) Elem() ServiceProfileAccountOutput { - return o.ApplyT(func(v *ServiceProfileAccount) ServiceProfileAccount { - if v != nil { - return *v - } - var ret ServiceProfileAccount - return ret - }).(ServiceProfileAccountOutput) +func (o GetConnectionASideAccessPointGatewayArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointGateway] { + return pulumix.Output[[]GetConnectionASideAccessPointGateway]{ + OutputState: o.OutputState, + } } -// Account Name -func (o ServiceProfileAccountPtrOutput) AccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccount) *string { - if v == nil { - return nil - } - return v.AccountName - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointGatewayArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointGatewayOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointGateway { + return vs[0].([]GetConnectionASideAccessPointGateway)[vs[1].(int)] + }).(GetConnectionASideAccessPointGatewayOutput) } -// Account Number -func (o ServiceProfileAccountPtrOutput) AccountNumber() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccount) *int { - if v == nil { - return nil - } - return v.AccountNumber - }).(pulumi.IntPtrOutput) +type GetConnectionASideAccessPointInterface struct { + Id string `pulumi:"id"` + Type string `pulumi:"type"` + Uuid string `pulumi:"uuid"` } -// Global Customer organization identifier -func (o ServiceProfileAccountPtrOutput) GlobalCustId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccount) *string { - if v == nil { - return nil - } - return v.GlobalCustId - }).(pulumi.StringPtrOutput) -} +// GetConnectionASideAccessPointInterfaceInput is an input type that accepts GetConnectionASideAccessPointInterfaceArgs and GetConnectionASideAccessPointInterfaceOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointInterfaceInput` via: +// +// GetConnectionASideAccessPointInterfaceArgs{...} +type GetConnectionASideAccessPointInterfaceInput interface { + pulumi.Input -// Global organization identifier -func (o ServiceProfileAccountPtrOutput) GlobalOrgId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccount) *string { - if v == nil { - return nil - } - return v.GlobalOrgId - }).(pulumi.StringPtrOutput) + ToGetConnectionASideAccessPointInterfaceOutput() GetConnectionASideAccessPointInterfaceOutput + ToGetConnectionASideAccessPointInterfaceOutputWithContext(context.Context) GetConnectionASideAccessPointInterfaceOutput } -// Global organization name -func (o ServiceProfileAccountPtrOutput) GlobalOrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccount) *string { - if v == nil { - return nil - } - return v.GlobalOrganizationName - }).(pulumi.StringPtrOutput) +type GetConnectionASideAccessPointInterfaceArgs struct { + Id pulumi.StringInput `pulumi:"id"` + Type pulumi.StringInput `pulumi:"type"` + Uuid pulumi.StringInput `pulumi:"uuid"` } -// Customer organization identifier -func (o ServiceProfileAccountPtrOutput) OrgId() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccount) *int { - if v == nil { - return nil - } - return v.OrgId - }).(pulumi.IntPtrOutput) +func (GetConnectionASideAccessPointInterfaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointInterface)(nil)).Elem() } -// Customer organization name -func (o ServiceProfileAccountPtrOutput) OrganizationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccount) *string { - if v == nil { - return nil - } - return v.OrganizationName - }).(pulumi.StringPtrOutput) +func (i GetConnectionASideAccessPointInterfaceArgs) ToGetConnectionASideAccessPointInterfaceOutput() GetConnectionASideAccessPointInterfaceOutput { + return i.ToGetConnectionASideAccessPointInterfaceOutputWithContext(context.Background()) } -// Enterprise datastore id -func (o ServiceProfileAccountPtrOutput) UcmId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileAccount) *string { - if v == nil { - return nil - } - return v.UcmId - }).(pulumi.StringPtrOutput) +func (i GetConnectionASideAccessPointInterfaceArgs) ToGetConnectionASideAccessPointInterfaceOutputWithContext(ctx context.Context) GetConnectionASideAccessPointInterfaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointInterfaceOutput) } -type ServiceProfileChangeLog struct { - CreatedBy *string `pulumi:"createdBy"` - CreatedByEmail *string `pulumi:"createdByEmail"` - CreatedByFullName *string `pulumi:"createdByFullName"` - CreatedDateTime *string `pulumi:"createdDateTime"` - DeletedBy *string `pulumi:"deletedBy"` - DeletedByEmail *string `pulumi:"deletedByEmail"` - DeletedByFullName *string `pulumi:"deletedByFullName"` - DeletedDateTime *string `pulumi:"deletedDateTime"` - UpdatedBy *string `pulumi:"updatedBy"` - UpdatedByEmail *string `pulumi:"updatedByEmail"` - UpdatedByFullName *string `pulumi:"updatedByFullName"` - UpdatedDateTime *string `pulumi:"updatedDateTime"` +func (i GetConnectionASideAccessPointInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointInterface] { + return pulumix.Output[GetConnectionASideAccessPointInterface]{ + OutputState: i.ToGetConnectionASideAccessPointInterfaceOutputWithContext(ctx).OutputState, + } } -// ServiceProfileChangeLogInput is an input type that accepts ServiceProfileChangeLogArgs and ServiceProfileChangeLogOutput values. -// You can construct a concrete instance of `ServiceProfileChangeLogInput` via: +// GetConnectionASideAccessPointInterfaceArrayInput is an input type that accepts GetConnectionASideAccessPointInterfaceArray and GetConnectionASideAccessPointInterfaceArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointInterfaceArrayInput` via: // -// ServiceProfileChangeLogArgs{...} -type ServiceProfileChangeLogInput interface { +// GetConnectionASideAccessPointInterfaceArray{ GetConnectionASideAccessPointInterfaceArgs{...} } +type GetConnectionASideAccessPointInterfaceArrayInput interface { pulumi.Input - ToServiceProfileChangeLogOutput() ServiceProfileChangeLogOutput - ToServiceProfileChangeLogOutputWithContext(context.Context) ServiceProfileChangeLogOutput + ToGetConnectionASideAccessPointInterfaceArrayOutput() GetConnectionASideAccessPointInterfaceArrayOutput + ToGetConnectionASideAccessPointInterfaceArrayOutputWithContext(context.Context) GetConnectionASideAccessPointInterfaceArrayOutput } -type ServiceProfileChangeLogArgs struct { - CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` - CreatedByEmail pulumi.StringPtrInput `pulumi:"createdByEmail"` - CreatedByFullName pulumi.StringPtrInput `pulumi:"createdByFullName"` - CreatedDateTime pulumi.StringPtrInput `pulumi:"createdDateTime"` - DeletedBy pulumi.StringPtrInput `pulumi:"deletedBy"` - DeletedByEmail pulumi.StringPtrInput `pulumi:"deletedByEmail"` - DeletedByFullName pulumi.StringPtrInput `pulumi:"deletedByFullName"` - DeletedDateTime pulumi.StringPtrInput `pulumi:"deletedDateTime"` - UpdatedBy pulumi.StringPtrInput `pulumi:"updatedBy"` - UpdatedByEmail pulumi.StringPtrInput `pulumi:"updatedByEmail"` - UpdatedByFullName pulumi.StringPtrInput `pulumi:"updatedByFullName"` - UpdatedDateTime pulumi.StringPtrInput `pulumi:"updatedDateTime"` -} +type GetConnectionASideAccessPointInterfaceArray []GetConnectionASideAccessPointInterfaceInput -func (ServiceProfileChangeLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileChangeLog)(nil)).Elem() +func (GetConnectionASideAccessPointInterfaceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointInterface)(nil)).Elem() } -func (i ServiceProfileChangeLogArgs) ToServiceProfileChangeLogOutput() ServiceProfileChangeLogOutput { - return i.ToServiceProfileChangeLogOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointInterfaceArray) ToGetConnectionASideAccessPointInterfaceArrayOutput() GetConnectionASideAccessPointInterfaceArrayOutput { + return i.ToGetConnectionASideAccessPointInterfaceArrayOutputWithContext(context.Background()) } -func (i ServiceProfileChangeLogArgs) ToServiceProfileChangeLogOutputWithContext(ctx context.Context) ServiceProfileChangeLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileChangeLogOutput) +func (i GetConnectionASideAccessPointInterfaceArray) ToGetConnectionASideAccessPointInterfaceArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointInterfaceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointInterfaceArrayOutput) } -func (i ServiceProfileChangeLogArgs) ToServiceProfileChangeLogPtrOutput() ServiceProfileChangeLogPtrOutput { - return i.ToServiceProfileChangeLogPtrOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointInterface] { + return pulumix.Output[[]GetConnectionASideAccessPointInterface]{ + OutputState: i.ToGetConnectionASideAccessPointInterfaceArrayOutputWithContext(ctx).OutputState, + } } -func (i ServiceProfileChangeLogArgs) ToServiceProfileChangeLogPtrOutputWithContext(ctx context.Context) ServiceProfileChangeLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileChangeLogOutput).ToServiceProfileChangeLogPtrOutputWithContext(ctx) -} +type GetConnectionASideAccessPointInterfaceOutput struct{ *pulumi.OutputState } -// ServiceProfileChangeLogPtrInput is an input type that accepts ServiceProfileChangeLogArgs, ServiceProfileChangeLogPtr and ServiceProfileChangeLogPtrOutput values. -// You can construct a concrete instance of `ServiceProfileChangeLogPtrInput` via: -// -// ServiceProfileChangeLogArgs{...} -// -// or: -// -// nil -type ServiceProfileChangeLogPtrInput interface { - pulumi.Input +func (GetConnectionASideAccessPointInterfaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointInterface)(nil)).Elem() +} - ToServiceProfileChangeLogPtrOutput() ServiceProfileChangeLogPtrOutput - ToServiceProfileChangeLogPtrOutputWithContext(context.Context) ServiceProfileChangeLogPtrOutput +func (o GetConnectionASideAccessPointInterfaceOutput) ToGetConnectionASideAccessPointInterfaceOutput() GetConnectionASideAccessPointInterfaceOutput { + return o } -type serviceProfileChangeLogPtrType ServiceProfileChangeLogArgs +func (o GetConnectionASideAccessPointInterfaceOutput) ToGetConnectionASideAccessPointInterfaceOutputWithContext(ctx context.Context) GetConnectionASideAccessPointInterfaceOutput { + return o +} -func ServiceProfileChangeLogPtr(v *ServiceProfileChangeLogArgs) ServiceProfileChangeLogPtrInput { - return (*serviceProfileChangeLogPtrType)(v) +func (o GetConnectionASideAccessPointInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointInterface] { + return pulumix.Output[GetConnectionASideAccessPointInterface]{ + OutputState: o.OutputState, + } } -func (*serviceProfileChangeLogPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileChangeLog)(nil)).Elem() +func (o GetConnectionASideAccessPointInterfaceOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointInterface) string { return v.Id }).(pulumi.StringOutput) } -func (i *serviceProfileChangeLogPtrType) ToServiceProfileChangeLogPtrOutput() ServiceProfileChangeLogPtrOutput { - return i.ToServiceProfileChangeLogPtrOutputWithContext(context.Background()) +func (o GetConnectionASideAccessPointInterfaceOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointInterface) string { return v.Type }).(pulumi.StringOutput) } -func (i *serviceProfileChangeLogPtrType) ToServiceProfileChangeLogPtrOutputWithContext(ctx context.Context) ServiceProfileChangeLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileChangeLogPtrOutput) +func (o GetConnectionASideAccessPointInterfaceOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointInterface) string { return v.Uuid }).(pulumi.StringOutput) } -type ServiceProfileChangeLogOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointInterfaceArrayOutput struct{ *pulumi.OutputState } -func (ServiceProfileChangeLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileChangeLog)(nil)).Elem() +func (GetConnectionASideAccessPointInterfaceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointInterface)(nil)).Elem() } -func (o ServiceProfileChangeLogOutput) ToServiceProfileChangeLogOutput() ServiceProfileChangeLogOutput { +func (o GetConnectionASideAccessPointInterfaceArrayOutput) ToGetConnectionASideAccessPointInterfaceArrayOutput() GetConnectionASideAccessPointInterfaceArrayOutput { return o } -func (o ServiceProfileChangeLogOutput) ToServiceProfileChangeLogOutputWithContext(ctx context.Context) ServiceProfileChangeLogOutput { +func (o GetConnectionASideAccessPointInterfaceArrayOutput) ToGetConnectionASideAccessPointInterfaceArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointInterfaceArrayOutput { return o } -func (o ServiceProfileChangeLogOutput) ToServiceProfileChangeLogPtrOutput() ServiceProfileChangeLogPtrOutput { - return o.ToServiceProfileChangeLogPtrOutputWithContext(context.Background()) +func (o GetConnectionASideAccessPointInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointInterface] { + return pulumix.Output[[]GetConnectionASideAccessPointInterface]{ + OutputState: o.OutputState, + } } -func (o ServiceProfileChangeLogOutput) ToServiceProfileChangeLogPtrOutputWithContext(ctx context.Context) ServiceProfileChangeLogPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileChangeLog) *ServiceProfileChangeLog { - return &v - }).(ServiceProfileChangeLogPtrOutput) +func (o GetConnectionASideAccessPointInterfaceArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointInterfaceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointInterface { + return vs[0].([]GetConnectionASideAccessPointInterface)[vs[1].(int)] + }).(GetConnectionASideAccessPointInterfaceOutput) } -func (o ServiceProfileChangeLogOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +type GetConnectionASideAccessPointLinkProtocol struct { + Type string `pulumi:"type"` + VlanCTag int `pulumi:"vlanCTag"` + VlanSTag int `pulumi:"vlanSTag"` + VlanTag int `pulumi:"vlanTag"` } -func (o ServiceProfileChangeLogOutput) CreatedByEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.CreatedByEmail }).(pulumi.StringPtrOutput) +// GetConnectionASideAccessPointLinkProtocolInput is an input type that accepts GetConnectionASideAccessPointLinkProtocolArgs and GetConnectionASideAccessPointLinkProtocolOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointLinkProtocolInput` via: +// +// GetConnectionASideAccessPointLinkProtocolArgs{...} +type GetConnectionASideAccessPointLinkProtocolInput interface { + pulumi.Input + + ToGetConnectionASideAccessPointLinkProtocolOutput() GetConnectionASideAccessPointLinkProtocolOutput + ToGetConnectionASideAccessPointLinkProtocolOutputWithContext(context.Context) GetConnectionASideAccessPointLinkProtocolOutput } -func (o ServiceProfileChangeLogOutput) CreatedByFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.CreatedByFullName }).(pulumi.StringPtrOutput) +type GetConnectionASideAccessPointLinkProtocolArgs struct { + Type pulumi.StringInput `pulumi:"type"` + VlanCTag pulumi.IntInput `pulumi:"vlanCTag"` + VlanSTag pulumi.IntInput `pulumi:"vlanSTag"` + VlanTag pulumi.IntInput `pulumi:"vlanTag"` } -func (o ServiceProfileChangeLogOutput) CreatedDateTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.CreatedDateTime }).(pulumi.StringPtrOutput) +func (GetConnectionASideAccessPointLinkProtocolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointLinkProtocol)(nil)).Elem() } -func (o ServiceProfileChangeLogOutput) DeletedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.DeletedBy }).(pulumi.StringPtrOutput) +func (i GetConnectionASideAccessPointLinkProtocolArgs) ToGetConnectionASideAccessPointLinkProtocolOutput() GetConnectionASideAccessPointLinkProtocolOutput { + return i.ToGetConnectionASideAccessPointLinkProtocolOutputWithContext(context.Background()) } -func (o ServiceProfileChangeLogOutput) DeletedByEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.DeletedByEmail }).(pulumi.StringPtrOutput) +func (i GetConnectionASideAccessPointLinkProtocolArgs) ToGetConnectionASideAccessPointLinkProtocolOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLinkProtocolOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointLinkProtocolOutput) +} + +func (i GetConnectionASideAccessPointLinkProtocolArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointLinkProtocol] { + return pulumix.Output[GetConnectionASideAccessPointLinkProtocol]{ + OutputState: i.ToGetConnectionASideAccessPointLinkProtocolOutputWithContext(ctx).OutputState, + } } -func (o ServiceProfileChangeLogOutput) DeletedByFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.DeletedByFullName }).(pulumi.StringPtrOutput) +// GetConnectionASideAccessPointLinkProtocolArrayInput is an input type that accepts GetConnectionASideAccessPointLinkProtocolArray and GetConnectionASideAccessPointLinkProtocolArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointLinkProtocolArrayInput` via: +// +// GetConnectionASideAccessPointLinkProtocolArray{ GetConnectionASideAccessPointLinkProtocolArgs{...} } +type GetConnectionASideAccessPointLinkProtocolArrayInput interface { + pulumi.Input + + ToGetConnectionASideAccessPointLinkProtocolArrayOutput() GetConnectionASideAccessPointLinkProtocolArrayOutput + ToGetConnectionASideAccessPointLinkProtocolArrayOutputWithContext(context.Context) GetConnectionASideAccessPointLinkProtocolArrayOutput } -func (o ServiceProfileChangeLogOutput) DeletedDateTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.DeletedDateTime }).(pulumi.StringPtrOutput) -} +type GetConnectionASideAccessPointLinkProtocolArray []GetConnectionASideAccessPointLinkProtocolInput -func (o ServiceProfileChangeLogOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.UpdatedBy }).(pulumi.StringPtrOutput) +func (GetConnectionASideAccessPointLinkProtocolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointLinkProtocol)(nil)).Elem() } -func (o ServiceProfileChangeLogOutput) UpdatedByEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.UpdatedByEmail }).(pulumi.StringPtrOutput) +func (i GetConnectionASideAccessPointLinkProtocolArray) ToGetConnectionASideAccessPointLinkProtocolArrayOutput() GetConnectionASideAccessPointLinkProtocolArrayOutput { + return i.ToGetConnectionASideAccessPointLinkProtocolArrayOutputWithContext(context.Background()) } -func (o ServiceProfileChangeLogOutput) UpdatedByFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.UpdatedByFullName }).(pulumi.StringPtrOutput) +func (i GetConnectionASideAccessPointLinkProtocolArray) ToGetConnectionASideAccessPointLinkProtocolArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLinkProtocolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointLinkProtocolArrayOutput) } -func (o ServiceProfileChangeLogOutput) UpdatedDateTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileChangeLog) *string { return v.UpdatedDateTime }).(pulumi.StringPtrOutput) +func (i GetConnectionASideAccessPointLinkProtocolArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointLinkProtocol] { + return pulumix.Output[[]GetConnectionASideAccessPointLinkProtocol]{ + OutputState: i.ToGetConnectionASideAccessPointLinkProtocolArrayOutputWithContext(ctx).OutputState, + } } -type ServiceProfileChangeLogPtrOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointLinkProtocolOutput struct{ *pulumi.OutputState } -func (ServiceProfileChangeLogPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileChangeLog)(nil)).Elem() +func (GetConnectionASideAccessPointLinkProtocolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointLinkProtocol)(nil)).Elem() } -func (o ServiceProfileChangeLogPtrOutput) ToServiceProfileChangeLogPtrOutput() ServiceProfileChangeLogPtrOutput { +func (o GetConnectionASideAccessPointLinkProtocolOutput) ToGetConnectionASideAccessPointLinkProtocolOutput() GetConnectionASideAccessPointLinkProtocolOutput { return o } -func (o ServiceProfileChangeLogPtrOutput) ToServiceProfileChangeLogPtrOutputWithContext(ctx context.Context) ServiceProfileChangeLogPtrOutput { +func (o GetConnectionASideAccessPointLinkProtocolOutput) ToGetConnectionASideAccessPointLinkProtocolOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLinkProtocolOutput { return o } -func (o ServiceProfileChangeLogPtrOutput) Elem() ServiceProfileChangeLogOutput { - return o.ApplyT(func(v *ServiceProfileChangeLog) ServiceProfileChangeLog { - if v != nil { - return *v - } - var ret ServiceProfileChangeLog - return ret - }).(ServiceProfileChangeLogOutput) -} - -func (o ServiceProfileChangeLogPtrOutput) CreatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileChangeLog) *string { - if v == nil { - return nil - } - return v.CreatedBy - }).(pulumi.StringPtrOutput) -} - -func (o ServiceProfileChangeLogPtrOutput) CreatedByEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileChangeLog) *string { - if v == nil { - return nil - } - return v.CreatedByEmail - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointLinkProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointLinkProtocol] { + return pulumix.Output[GetConnectionASideAccessPointLinkProtocol]{ + OutputState: o.OutputState, + } } -func (o ServiceProfileChangeLogPtrOutput) CreatedByFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileChangeLog) *string { - if v == nil { - return nil - } - return v.CreatedByFullName - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointLinkProtocolOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointLinkProtocol) string { return v.Type }).(pulumi.StringOutput) } -func (o ServiceProfileChangeLogPtrOutput) CreatedDateTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileChangeLog) *string { - if v == nil { - return nil - } - return v.CreatedDateTime - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointLinkProtocolOutput) VlanCTag() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointLinkProtocol) int { return v.VlanCTag }).(pulumi.IntOutput) } -func (o ServiceProfileChangeLogPtrOutput) DeletedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileChangeLog) *string { - if v == nil { - return nil - } - return v.DeletedBy - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointLinkProtocolOutput) VlanSTag() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointLinkProtocol) int { return v.VlanSTag }).(pulumi.IntOutput) } -func (o ServiceProfileChangeLogPtrOutput) DeletedByEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileChangeLog) *string { - if v == nil { - return nil - } - return v.DeletedByEmail - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointLinkProtocolOutput) VlanTag() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointLinkProtocol) int { return v.VlanTag }).(pulumi.IntOutput) } -func (o ServiceProfileChangeLogPtrOutput) DeletedByFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileChangeLog) *string { - if v == nil { - return nil - } - return v.DeletedByFullName - }).(pulumi.StringPtrOutput) -} +type GetConnectionASideAccessPointLinkProtocolArrayOutput struct{ *pulumi.OutputState } -func (o ServiceProfileChangeLogPtrOutput) DeletedDateTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileChangeLog) *string { - if v == nil { - return nil - } - return v.DeletedDateTime - }).(pulumi.StringPtrOutput) +func (GetConnectionASideAccessPointLinkProtocolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointLinkProtocol)(nil)).Elem() } -func (o ServiceProfileChangeLogPtrOutput) UpdatedBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileChangeLog) *string { - if v == nil { - return nil - } - return v.UpdatedBy - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointLinkProtocolArrayOutput) ToGetConnectionASideAccessPointLinkProtocolArrayOutput() GetConnectionASideAccessPointLinkProtocolArrayOutput { + return o } -func (o ServiceProfileChangeLogPtrOutput) UpdatedByEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileChangeLog) *string { - if v == nil { - return nil - } - return v.UpdatedByEmail - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointLinkProtocolArrayOutput) ToGetConnectionASideAccessPointLinkProtocolArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLinkProtocolArrayOutput { + return o } -func (o ServiceProfileChangeLogPtrOutput) UpdatedByFullName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileChangeLog) *string { - if v == nil { - return nil - } - return v.UpdatedByFullName - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointLinkProtocolArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointLinkProtocol] { + return pulumix.Output[[]GetConnectionASideAccessPointLinkProtocol]{ + OutputState: o.OutputState, + } } -func (o ServiceProfileChangeLogPtrOutput) UpdatedDateTime() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileChangeLog) *string { - if v == nil { - return nil - } - return v.UpdatedDateTime - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointLinkProtocolArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointLinkProtocolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointLinkProtocol { + return vs[0].([]GetConnectionASideAccessPointLinkProtocol)[vs[1].(int)] + }).(GetConnectionASideAccessPointLinkProtocolOutput) } -type ServiceProfileCustomField struct { - // Required field - CaptureInEmail *bool `pulumi:"captureInEmail"` - // Data type - DataType string `pulumi:"dataType"` - // Description - Description *string `pulumi:"description"` - // Label - Label string `pulumi:"label"` - // Options - Options []string `pulumi:"options"` - // Required field - Required bool `pulumi:"required"` +type GetConnectionASideAccessPointLocation struct { + Href string `pulumi:"href"` + Ibx string `pulumi:"ibx"` + MetroCode string `pulumi:"metroCode"` + MetroName string `pulumi:"metroName"` + Region string `pulumi:"region"` } -// ServiceProfileCustomFieldInput is an input type that accepts ServiceProfileCustomFieldArgs and ServiceProfileCustomFieldOutput values. -// You can construct a concrete instance of `ServiceProfileCustomFieldInput` via: +// GetConnectionASideAccessPointLocationInput is an input type that accepts GetConnectionASideAccessPointLocationArgs and GetConnectionASideAccessPointLocationOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointLocationInput` via: // -// ServiceProfileCustomFieldArgs{...} -type ServiceProfileCustomFieldInput interface { +// GetConnectionASideAccessPointLocationArgs{...} +type GetConnectionASideAccessPointLocationInput interface { pulumi.Input - ToServiceProfileCustomFieldOutput() ServiceProfileCustomFieldOutput - ToServiceProfileCustomFieldOutputWithContext(context.Context) ServiceProfileCustomFieldOutput + ToGetConnectionASideAccessPointLocationOutput() GetConnectionASideAccessPointLocationOutput + ToGetConnectionASideAccessPointLocationOutputWithContext(context.Context) GetConnectionASideAccessPointLocationOutput } -type ServiceProfileCustomFieldArgs struct { - // Required field - CaptureInEmail pulumi.BoolPtrInput `pulumi:"captureInEmail"` - // Data type - DataType pulumi.StringInput `pulumi:"dataType"` - // Description - Description pulumi.StringPtrInput `pulumi:"description"` - // Label - Label pulumi.StringInput `pulumi:"label"` - // Options - Options pulumi.StringArrayInput `pulumi:"options"` - // Required field - Required pulumi.BoolInput `pulumi:"required"` +type GetConnectionASideAccessPointLocationArgs struct { + Href pulumi.StringInput `pulumi:"href"` + Ibx pulumi.StringInput `pulumi:"ibx"` + MetroCode pulumi.StringInput `pulumi:"metroCode"` + MetroName pulumi.StringInput `pulumi:"metroName"` + Region pulumi.StringInput `pulumi:"region"` } -func (ServiceProfileCustomFieldArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileCustomField)(nil)).Elem() +func (GetConnectionASideAccessPointLocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointLocation)(nil)).Elem() } -func (i ServiceProfileCustomFieldArgs) ToServiceProfileCustomFieldOutput() ServiceProfileCustomFieldOutput { - return i.ToServiceProfileCustomFieldOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointLocationArgs) ToGetConnectionASideAccessPointLocationOutput() GetConnectionASideAccessPointLocationOutput { + return i.ToGetConnectionASideAccessPointLocationOutputWithContext(context.Background()) } -func (i ServiceProfileCustomFieldArgs) ToServiceProfileCustomFieldOutputWithContext(ctx context.Context) ServiceProfileCustomFieldOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileCustomFieldOutput) +func (i GetConnectionASideAccessPointLocationArgs) ToGetConnectionASideAccessPointLocationOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointLocationOutput) } -// ServiceProfileCustomFieldArrayInput is an input type that accepts ServiceProfileCustomFieldArray and ServiceProfileCustomFieldArrayOutput values. -// You can construct a concrete instance of `ServiceProfileCustomFieldArrayInput` via: +func (i GetConnectionASideAccessPointLocationArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointLocation] { + return pulumix.Output[GetConnectionASideAccessPointLocation]{ + OutputState: i.ToGetConnectionASideAccessPointLocationOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionASideAccessPointLocationArrayInput is an input type that accepts GetConnectionASideAccessPointLocationArray and GetConnectionASideAccessPointLocationArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointLocationArrayInput` via: // -// ServiceProfileCustomFieldArray{ ServiceProfileCustomFieldArgs{...} } -type ServiceProfileCustomFieldArrayInput interface { +// GetConnectionASideAccessPointLocationArray{ GetConnectionASideAccessPointLocationArgs{...} } +type GetConnectionASideAccessPointLocationArrayInput interface { pulumi.Input - ToServiceProfileCustomFieldArrayOutput() ServiceProfileCustomFieldArrayOutput - ToServiceProfileCustomFieldArrayOutputWithContext(context.Context) ServiceProfileCustomFieldArrayOutput + ToGetConnectionASideAccessPointLocationArrayOutput() GetConnectionASideAccessPointLocationArrayOutput + ToGetConnectionASideAccessPointLocationArrayOutputWithContext(context.Context) GetConnectionASideAccessPointLocationArrayOutput } -type ServiceProfileCustomFieldArray []ServiceProfileCustomFieldInput +type GetConnectionASideAccessPointLocationArray []GetConnectionASideAccessPointLocationInput -func (ServiceProfileCustomFieldArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfileCustomField)(nil)).Elem() +func (GetConnectionASideAccessPointLocationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointLocation)(nil)).Elem() } -func (i ServiceProfileCustomFieldArray) ToServiceProfileCustomFieldArrayOutput() ServiceProfileCustomFieldArrayOutput { - return i.ToServiceProfileCustomFieldArrayOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointLocationArray) ToGetConnectionASideAccessPointLocationArrayOutput() GetConnectionASideAccessPointLocationArrayOutput { + return i.ToGetConnectionASideAccessPointLocationArrayOutputWithContext(context.Background()) } -func (i ServiceProfileCustomFieldArray) ToServiceProfileCustomFieldArrayOutputWithContext(ctx context.Context) ServiceProfileCustomFieldArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileCustomFieldArrayOutput) +func (i GetConnectionASideAccessPointLocationArray) ToGetConnectionASideAccessPointLocationArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLocationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointLocationArrayOutput) } -type ServiceProfileCustomFieldOutput struct{ *pulumi.OutputState } +func (i GetConnectionASideAccessPointLocationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointLocation] { + return pulumix.Output[[]GetConnectionASideAccessPointLocation]{ + OutputState: i.ToGetConnectionASideAccessPointLocationArrayOutputWithContext(ctx).OutputState, + } +} -func (ServiceProfileCustomFieldOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileCustomField)(nil)).Elem() +type GetConnectionASideAccessPointLocationOutput struct{ *pulumi.OutputState } + +func (GetConnectionASideAccessPointLocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointLocation)(nil)).Elem() } -func (o ServiceProfileCustomFieldOutput) ToServiceProfileCustomFieldOutput() ServiceProfileCustomFieldOutput { +func (o GetConnectionASideAccessPointLocationOutput) ToGetConnectionASideAccessPointLocationOutput() GetConnectionASideAccessPointLocationOutput { return o } -func (o ServiceProfileCustomFieldOutput) ToServiceProfileCustomFieldOutputWithContext(ctx context.Context) ServiceProfileCustomFieldOutput { +func (o GetConnectionASideAccessPointLocationOutput) ToGetConnectionASideAccessPointLocationOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLocationOutput { return o } - -// Required field -func (o ServiceProfileCustomFieldOutput) CaptureInEmail() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileCustomField) *bool { return v.CaptureInEmail }).(pulumi.BoolPtrOutput) + +func (o GetConnectionASideAccessPointLocationOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointLocation] { + return pulumix.Output[GetConnectionASideAccessPointLocation]{ + OutputState: o.OutputState, + } } -// Data type -func (o ServiceProfileCustomFieldOutput) DataType() pulumi.StringOutput { - return o.ApplyT(func(v ServiceProfileCustomField) string { return v.DataType }).(pulumi.StringOutput) +func (o GetConnectionASideAccessPointLocationOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointLocation) string { return v.Href }).(pulumi.StringOutput) } -// Description -func (o ServiceProfileCustomFieldOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileCustomField) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointLocationOutput) Ibx() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointLocation) string { return v.Ibx }).(pulumi.StringOutput) } -// Label -func (o ServiceProfileCustomFieldOutput) Label() pulumi.StringOutput { - return o.ApplyT(func(v ServiceProfileCustomField) string { return v.Label }).(pulumi.StringOutput) +func (o GetConnectionASideAccessPointLocationOutput) MetroCode() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointLocation) string { return v.MetroCode }).(pulumi.StringOutput) } -// Options -func (o ServiceProfileCustomFieldOutput) Options() pulumi.StringArrayOutput { - return o.ApplyT(func(v ServiceProfileCustomField) []string { return v.Options }).(pulumi.StringArrayOutput) +func (o GetConnectionASideAccessPointLocationOutput) MetroName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointLocation) string { return v.MetroName }).(pulumi.StringOutput) } -// Required field -func (o ServiceProfileCustomFieldOutput) Required() pulumi.BoolOutput { - return o.ApplyT(func(v ServiceProfileCustomField) bool { return v.Required }).(pulumi.BoolOutput) +func (o GetConnectionASideAccessPointLocationOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointLocation) string { return v.Region }).(pulumi.StringOutput) } -type ServiceProfileCustomFieldArrayOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointLocationArrayOutput struct{ *pulumi.OutputState } -func (ServiceProfileCustomFieldArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfileCustomField)(nil)).Elem() +func (GetConnectionASideAccessPointLocationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointLocation)(nil)).Elem() } -func (o ServiceProfileCustomFieldArrayOutput) ToServiceProfileCustomFieldArrayOutput() ServiceProfileCustomFieldArrayOutput { +func (o GetConnectionASideAccessPointLocationArrayOutput) ToGetConnectionASideAccessPointLocationArrayOutput() GetConnectionASideAccessPointLocationArrayOutput { return o } -func (o ServiceProfileCustomFieldArrayOutput) ToServiceProfileCustomFieldArrayOutputWithContext(ctx context.Context) ServiceProfileCustomFieldArrayOutput { +func (o GetConnectionASideAccessPointLocationArrayOutput) ToGetConnectionASideAccessPointLocationArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLocationArrayOutput { return o } -func (o ServiceProfileCustomFieldArrayOutput) Index(i pulumi.IntInput) ServiceProfileCustomFieldOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfileCustomField { - return vs[0].([]ServiceProfileCustomField)[vs[1].(int)] - }).(ServiceProfileCustomFieldOutput) +func (o GetConnectionASideAccessPointLocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointLocation] { + return pulumix.Output[[]GetConnectionASideAccessPointLocation]{ + OutputState: o.OutputState, + } } -type ServiceProfileMarketingInfo struct { - // Logo - Logo *string `pulumi:"logo"` - // Process Step - ProcessSteps []ServiceProfileMarketingInfoProcessStep `pulumi:"processSteps"` - // Promotion - Promotion *bool `pulumi:"promotion"` +func (o GetConnectionASideAccessPointLocationArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointLocationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointLocation { + return vs[0].([]GetConnectionASideAccessPointLocation)[vs[1].(int)] + }).(GetConnectionASideAccessPointLocationOutput) } -// ServiceProfileMarketingInfoInput is an input type that accepts ServiceProfileMarketingInfoArgs and ServiceProfileMarketingInfoOutput values. -// You can construct a concrete instance of `ServiceProfileMarketingInfoInput` via: +type GetConnectionASideAccessPointPort struct { + Href string `pulumi:"href"` + Name string `pulumi:"name"` + Redundancies []GetConnectionASideAccessPointPortRedundancy `pulumi:"redundancies"` + Uuid string `pulumi:"uuid"` +} + +// GetConnectionASideAccessPointPortInput is an input type that accepts GetConnectionASideAccessPointPortArgs and GetConnectionASideAccessPointPortOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointPortInput` via: // -// ServiceProfileMarketingInfoArgs{...} -type ServiceProfileMarketingInfoInput interface { +// GetConnectionASideAccessPointPortArgs{...} +type GetConnectionASideAccessPointPortInput interface { pulumi.Input - ToServiceProfileMarketingInfoOutput() ServiceProfileMarketingInfoOutput - ToServiceProfileMarketingInfoOutputWithContext(context.Context) ServiceProfileMarketingInfoOutput -} - -type ServiceProfileMarketingInfoArgs struct { - // Logo - Logo pulumi.StringPtrInput `pulumi:"logo"` - // Process Step - ProcessSteps ServiceProfileMarketingInfoProcessStepArrayInput `pulumi:"processSteps"` - // Promotion - Promotion pulumi.BoolPtrInput `pulumi:"promotion"` + ToGetConnectionASideAccessPointPortOutput() GetConnectionASideAccessPointPortOutput + ToGetConnectionASideAccessPointPortOutputWithContext(context.Context) GetConnectionASideAccessPointPortOutput } -func (ServiceProfileMarketingInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileMarketingInfo)(nil)).Elem() +type GetConnectionASideAccessPointPortArgs struct { + Href pulumi.StringInput `pulumi:"href"` + Name pulumi.StringInput `pulumi:"name"` + Redundancies GetConnectionASideAccessPointPortRedundancyArrayInput `pulumi:"redundancies"` + Uuid pulumi.StringInput `pulumi:"uuid"` } -func (i ServiceProfileMarketingInfoArgs) ToServiceProfileMarketingInfoOutput() ServiceProfileMarketingInfoOutput { - return i.ToServiceProfileMarketingInfoOutputWithContext(context.Background()) +func (GetConnectionASideAccessPointPortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointPort)(nil)).Elem() } -func (i ServiceProfileMarketingInfoArgs) ToServiceProfileMarketingInfoOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMarketingInfoOutput) +func (i GetConnectionASideAccessPointPortArgs) ToGetConnectionASideAccessPointPortOutput() GetConnectionASideAccessPointPortOutput { + return i.ToGetConnectionASideAccessPointPortOutputWithContext(context.Background()) } -func (i ServiceProfileMarketingInfoArgs) ToServiceProfileMarketingInfoPtrOutput() ServiceProfileMarketingInfoPtrOutput { - return i.ToServiceProfileMarketingInfoPtrOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointPortArgs) ToGetConnectionASideAccessPointPortOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointPortOutput) } -func (i ServiceProfileMarketingInfoArgs) ToServiceProfileMarketingInfoPtrOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMarketingInfoOutput).ToServiceProfileMarketingInfoPtrOutputWithContext(ctx) +func (i GetConnectionASideAccessPointPortArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointPort] { + return pulumix.Output[GetConnectionASideAccessPointPort]{ + OutputState: i.ToGetConnectionASideAccessPointPortOutputWithContext(ctx).OutputState, + } } -// ServiceProfileMarketingInfoPtrInput is an input type that accepts ServiceProfileMarketingInfoArgs, ServiceProfileMarketingInfoPtr and ServiceProfileMarketingInfoPtrOutput values. -// You can construct a concrete instance of `ServiceProfileMarketingInfoPtrInput` via: -// -// ServiceProfileMarketingInfoArgs{...} -// -// or: +// GetConnectionASideAccessPointPortArrayInput is an input type that accepts GetConnectionASideAccessPointPortArray and GetConnectionASideAccessPointPortArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointPortArrayInput` via: // -// nil -type ServiceProfileMarketingInfoPtrInput interface { +// GetConnectionASideAccessPointPortArray{ GetConnectionASideAccessPointPortArgs{...} } +type GetConnectionASideAccessPointPortArrayInput interface { pulumi.Input - ToServiceProfileMarketingInfoPtrOutput() ServiceProfileMarketingInfoPtrOutput - ToServiceProfileMarketingInfoPtrOutputWithContext(context.Context) ServiceProfileMarketingInfoPtrOutput + ToGetConnectionASideAccessPointPortArrayOutput() GetConnectionASideAccessPointPortArrayOutput + ToGetConnectionASideAccessPointPortArrayOutputWithContext(context.Context) GetConnectionASideAccessPointPortArrayOutput } -type serviceProfileMarketingInfoPtrType ServiceProfileMarketingInfoArgs +type GetConnectionASideAccessPointPortArray []GetConnectionASideAccessPointPortInput -func ServiceProfileMarketingInfoPtr(v *ServiceProfileMarketingInfoArgs) ServiceProfileMarketingInfoPtrInput { - return (*serviceProfileMarketingInfoPtrType)(v) +func (GetConnectionASideAccessPointPortArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointPort)(nil)).Elem() } -func (*serviceProfileMarketingInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileMarketingInfo)(nil)).Elem() +func (i GetConnectionASideAccessPointPortArray) ToGetConnectionASideAccessPointPortArrayOutput() GetConnectionASideAccessPointPortArrayOutput { + return i.ToGetConnectionASideAccessPointPortArrayOutputWithContext(context.Background()) } -func (i *serviceProfileMarketingInfoPtrType) ToServiceProfileMarketingInfoPtrOutput() ServiceProfileMarketingInfoPtrOutput { - return i.ToServiceProfileMarketingInfoPtrOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointPortArray) ToGetConnectionASideAccessPointPortArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointPortArrayOutput) } -func (i *serviceProfileMarketingInfoPtrType) ToServiceProfileMarketingInfoPtrOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMarketingInfoPtrOutput) +func (i GetConnectionASideAccessPointPortArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointPort] { + return pulumix.Output[[]GetConnectionASideAccessPointPort]{ + OutputState: i.ToGetConnectionASideAccessPointPortArrayOutputWithContext(ctx).OutputState, + } } -type ServiceProfileMarketingInfoOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointPortOutput struct{ *pulumi.OutputState } -func (ServiceProfileMarketingInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileMarketingInfo)(nil)).Elem() +func (GetConnectionASideAccessPointPortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointPort)(nil)).Elem() } -func (o ServiceProfileMarketingInfoOutput) ToServiceProfileMarketingInfoOutput() ServiceProfileMarketingInfoOutput { +func (o GetConnectionASideAccessPointPortOutput) ToGetConnectionASideAccessPointPortOutput() GetConnectionASideAccessPointPortOutput { return o } -func (o ServiceProfileMarketingInfoOutput) ToServiceProfileMarketingInfoOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoOutput { +func (o GetConnectionASideAccessPointPortOutput) ToGetConnectionASideAccessPointPortOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortOutput { return o } -func (o ServiceProfileMarketingInfoOutput) ToServiceProfileMarketingInfoPtrOutput() ServiceProfileMarketingInfoPtrOutput { - return o.ToServiceProfileMarketingInfoPtrOutputWithContext(context.Background()) +func (o GetConnectionASideAccessPointPortOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointPort] { + return pulumix.Output[GetConnectionASideAccessPointPort]{ + OutputState: o.OutputState, + } } -func (o ServiceProfileMarketingInfoOutput) ToServiceProfileMarketingInfoPtrOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileMarketingInfo) *ServiceProfileMarketingInfo { - return &v - }).(ServiceProfileMarketingInfoPtrOutput) +func (o GetConnectionASideAccessPointPortOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointPort) string { return v.Href }).(pulumi.StringOutput) } -// Logo -func (o ServiceProfileMarketingInfoOutput) Logo() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileMarketingInfo) *string { return v.Logo }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointPortOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointPort) string { return v.Name }).(pulumi.StringOutput) } -// Process Step -func (o ServiceProfileMarketingInfoOutput) ProcessSteps() ServiceProfileMarketingInfoProcessStepArrayOutput { - return o.ApplyT(func(v ServiceProfileMarketingInfo) []ServiceProfileMarketingInfoProcessStep { return v.ProcessSteps }).(ServiceProfileMarketingInfoProcessStepArrayOutput) +func (o GetConnectionASideAccessPointPortOutput) Redundancies() GetConnectionASideAccessPointPortRedundancyArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointPort) []GetConnectionASideAccessPointPortRedundancy { + return v.Redundancies + }).(GetConnectionASideAccessPointPortRedundancyArrayOutput) } -// Promotion -func (o ServiceProfileMarketingInfoOutput) Promotion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileMarketingInfo) *bool { return v.Promotion }).(pulumi.BoolPtrOutput) +func (o GetConnectionASideAccessPointPortOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointPort) string { return v.Uuid }).(pulumi.StringOutput) } -type ServiceProfileMarketingInfoPtrOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointPortArrayOutput struct{ *pulumi.OutputState } -func (ServiceProfileMarketingInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileMarketingInfo)(nil)).Elem() +func (GetConnectionASideAccessPointPortArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointPort)(nil)).Elem() } -func (o ServiceProfileMarketingInfoPtrOutput) ToServiceProfileMarketingInfoPtrOutput() ServiceProfileMarketingInfoPtrOutput { +func (o GetConnectionASideAccessPointPortArrayOutput) ToGetConnectionASideAccessPointPortArrayOutput() GetConnectionASideAccessPointPortArrayOutput { return o } -func (o ServiceProfileMarketingInfoPtrOutput) ToServiceProfileMarketingInfoPtrOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoPtrOutput { +func (o GetConnectionASideAccessPointPortArrayOutput) ToGetConnectionASideAccessPointPortArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortArrayOutput { return o } -func (o ServiceProfileMarketingInfoPtrOutput) Elem() ServiceProfileMarketingInfoOutput { - return o.ApplyT(func(v *ServiceProfileMarketingInfo) ServiceProfileMarketingInfo { - if v != nil { - return *v - } - var ret ServiceProfileMarketingInfo - return ret - }).(ServiceProfileMarketingInfoOutput) +func (o GetConnectionASideAccessPointPortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointPort] { + return pulumix.Output[[]GetConnectionASideAccessPointPort]{ + OutputState: o.OutputState, + } } -// Logo -func (o ServiceProfileMarketingInfoPtrOutput) Logo() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileMarketingInfo) *string { - if v == nil { - return nil - } - return v.Logo - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointPortArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointPortOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointPort { + return vs[0].([]GetConnectionASideAccessPointPort)[vs[1].(int)] + }).(GetConnectionASideAccessPointPortOutput) } -// Process Step -func (o ServiceProfileMarketingInfoPtrOutput) ProcessSteps() ServiceProfileMarketingInfoProcessStepArrayOutput { - return o.ApplyT(func(v *ServiceProfileMarketingInfo) []ServiceProfileMarketingInfoProcessStep { - if v == nil { - return nil - } - return v.ProcessSteps - }).(ServiceProfileMarketingInfoProcessStepArrayOutput) +type GetConnectionASideAccessPointPortRedundancy struct { + Priority string `pulumi:"priority"` } -// Promotion -func (o ServiceProfileMarketingInfoPtrOutput) Promotion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ServiceProfileMarketingInfo) *bool { - if v == nil { - return nil - } - return v.Promotion - }).(pulumi.BoolPtrOutput) +// GetConnectionASideAccessPointPortRedundancyInput is an input type that accepts GetConnectionASideAccessPointPortRedundancyArgs and GetConnectionASideAccessPointPortRedundancyOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointPortRedundancyInput` via: +// +// GetConnectionASideAccessPointPortRedundancyArgs{...} +type GetConnectionASideAccessPointPortRedundancyInput interface { + pulumi.Input + + ToGetConnectionASideAccessPointPortRedundancyOutput() GetConnectionASideAccessPointPortRedundancyOutput + ToGetConnectionASideAccessPointPortRedundancyOutputWithContext(context.Context) GetConnectionASideAccessPointPortRedundancyOutput } -type ServiceProfileMarketingInfoProcessStep struct { - // User-provided service description - Description *string `pulumi:"description"` - SubTitle *string `pulumi:"subTitle"` - Title *string `pulumi:"title"` +type GetConnectionASideAccessPointPortRedundancyArgs struct { + Priority pulumi.StringInput `pulumi:"priority"` } -// ServiceProfileMarketingInfoProcessStepInput is an input type that accepts ServiceProfileMarketingInfoProcessStepArgs and ServiceProfileMarketingInfoProcessStepOutput values. -// You can construct a concrete instance of `ServiceProfileMarketingInfoProcessStepInput` via: +func (GetConnectionASideAccessPointPortRedundancyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointPortRedundancy)(nil)).Elem() +} + +func (i GetConnectionASideAccessPointPortRedundancyArgs) ToGetConnectionASideAccessPointPortRedundancyOutput() GetConnectionASideAccessPointPortRedundancyOutput { + return i.ToGetConnectionASideAccessPointPortRedundancyOutputWithContext(context.Background()) +} + +func (i GetConnectionASideAccessPointPortRedundancyArgs) ToGetConnectionASideAccessPointPortRedundancyOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortRedundancyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointPortRedundancyOutput) +} + +func (i GetConnectionASideAccessPointPortRedundancyArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointPortRedundancy] { + return pulumix.Output[GetConnectionASideAccessPointPortRedundancy]{ + OutputState: i.ToGetConnectionASideAccessPointPortRedundancyOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionASideAccessPointPortRedundancyArrayInput is an input type that accepts GetConnectionASideAccessPointPortRedundancyArray and GetConnectionASideAccessPointPortRedundancyArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointPortRedundancyArrayInput` via: // -// ServiceProfileMarketingInfoProcessStepArgs{...} -type ServiceProfileMarketingInfoProcessStepInput interface { +// GetConnectionASideAccessPointPortRedundancyArray{ GetConnectionASideAccessPointPortRedundancyArgs{...} } +type GetConnectionASideAccessPointPortRedundancyArrayInput interface { pulumi.Input - ToServiceProfileMarketingInfoProcessStepOutput() ServiceProfileMarketingInfoProcessStepOutput - ToServiceProfileMarketingInfoProcessStepOutputWithContext(context.Context) ServiceProfileMarketingInfoProcessStepOutput + ToGetConnectionASideAccessPointPortRedundancyArrayOutput() GetConnectionASideAccessPointPortRedundancyArrayOutput + ToGetConnectionASideAccessPointPortRedundancyArrayOutputWithContext(context.Context) GetConnectionASideAccessPointPortRedundancyArrayOutput } -type ServiceProfileMarketingInfoProcessStepArgs struct { - // User-provided service description - Description pulumi.StringPtrInput `pulumi:"description"` - SubTitle pulumi.StringPtrInput `pulumi:"subTitle"` - Title pulumi.StringPtrInput `pulumi:"title"` +type GetConnectionASideAccessPointPortRedundancyArray []GetConnectionASideAccessPointPortRedundancyInput + +func (GetConnectionASideAccessPointPortRedundancyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointPortRedundancy)(nil)).Elem() } -func (ServiceProfileMarketingInfoProcessStepArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileMarketingInfoProcessStep)(nil)).Elem() +func (i GetConnectionASideAccessPointPortRedundancyArray) ToGetConnectionASideAccessPointPortRedundancyArrayOutput() GetConnectionASideAccessPointPortRedundancyArrayOutput { + return i.ToGetConnectionASideAccessPointPortRedundancyArrayOutputWithContext(context.Background()) } -func (i ServiceProfileMarketingInfoProcessStepArgs) ToServiceProfileMarketingInfoProcessStepOutput() ServiceProfileMarketingInfoProcessStepOutput { - return i.ToServiceProfileMarketingInfoProcessStepOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointPortRedundancyArray) ToGetConnectionASideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortRedundancyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointPortRedundancyArrayOutput) } -func (i ServiceProfileMarketingInfoProcessStepArgs) ToServiceProfileMarketingInfoProcessStepOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoProcessStepOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMarketingInfoProcessStepOutput) +func (i GetConnectionASideAccessPointPortRedundancyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointPortRedundancy] { + return pulumix.Output[[]GetConnectionASideAccessPointPortRedundancy]{ + OutputState: i.ToGetConnectionASideAccessPointPortRedundancyArrayOutputWithContext(ctx).OutputState, + } } -// ServiceProfileMarketingInfoProcessStepArrayInput is an input type that accepts ServiceProfileMarketingInfoProcessStepArray and ServiceProfileMarketingInfoProcessStepArrayOutput values. -// You can construct a concrete instance of `ServiceProfileMarketingInfoProcessStepArrayInput` via: -// -// ServiceProfileMarketingInfoProcessStepArray{ ServiceProfileMarketingInfoProcessStepArgs{...} } -type ServiceProfileMarketingInfoProcessStepArrayInput interface { - pulumi.Input +type GetConnectionASideAccessPointPortRedundancyOutput struct{ *pulumi.OutputState } - ToServiceProfileMarketingInfoProcessStepArrayOutput() ServiceProfileMarketingInfoProcessStepArrayOutput - ToServiceProfileMarketingInfoProcessStepArrayOutputWithContext(context.Context) ServiceProfileMarketingInfoProcessStepArrayOutput +func (GetConnectionASideAccessPointPortRedundancyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointPortRedundancy)(nil)).Elem() } -type ServiceProfileMarketingInfoProcessStepArray []ServiceProfileMarketingInfoProcessStepInput +func (o GetConnectionASideAccessPointPortRedundancyOutput) ToGetConnectionASideAccessPointPortRedundancyOutput() GetConnectionASideAccessPointPortRedundancyOutput { + return o +} -func (ServiceProfileMarketingInfoProcessStepArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfileMarketingInfoProcessStep)(nil)).Elem() +func (o GetConnectionASideAccessPointPortRedundancyOutput) ToGetConnectionASideAccessPointPortRedundancyOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortRedundancyOutput { + return o } -func (i ServiceProfileMarketingInfoProcessStepArray) ToServiceProfileMarketingInfoProcessStepArrayOutput() ServiceProfileMarketingInfoProcessStepArrayOutput { - return i.ToServiceProfileMarketingInfoProcessStepArrayOutputWithContext(context.Background()) +func (o GetConnectionASideAccessPointPortRedundancyOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointPortRedundancy] { + return pulumix.Output[GetConnectionASideAccessPointPortRedundancy]{ + OutputState: o.OutputState, + } } -func (i ServiceProfileMarketingInfoProcessStepArray) ToServiceProfileMarketingInfoProcessStepArrayOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoProcessStepArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMarketingInfoProcessStepArrayOutput) +func (o GetConnectionASideAccessPointPortRedundancyOutput) Priority() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointPortRedundancy) string { return v.Priority }).(pulumi.StringOutput) } -type ServiceProfileMarketingInfoProcessStepOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointPortRedundancyArrayOutput struct{ *pulumi.OutputState } -func (ServiceProfileMarketingInfoProcessStepOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileMarketingInfoProcessStep)(nil)).Elem() +func (GetConnectionASideAccessPointPortRedundancyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointPortRedundancy)(nil)).Elem() } -func (o ServiceProfileMarketingInfoProcessStepOutput) ToServiceProfileMarketingInfoProcessStepOutput() ServiceProfileMarketingInfoProcessStepOutput { +func (o GetConnectionASideAccessPointPortRedundancyArrayOutput) ToGetConnectionASideAccessPointPortRedundancyArrayOutput() GetConnectionASideAccessPointPortRedundancyArrayOutput { return o } -func (o ServiceProfileMarketingInfoProcessStepOutput) ToServiceProfileMarketingInfoProcessStepOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoProcessStepOutput { +func (o GetConnectionASideAccessPointPortRedundancyArrayOutput) ToGetConnectionASideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortRedundancyArrayOutput { return o } -// User-provided service description -func (o ServiceProfileMarketingInfoProcessStepOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileMarketingInfoProcessStep) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointPortRedundancyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointPortRedundancy] { + return pulumix.Output[[]GetConnectionASideAccessPointPortRedundancy]{ + OutputState: o.OutputState, + } } -func (o ServiceProfileMarketingInfoProcessStepOutput) SubTitle() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileMarketingInfoProcessStep) *string { return v.SubTitle }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointPortRedundancyArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointPortRedundancyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointPortRedundancy { + return vs[0].([]GetConnectionASideAccessPointPortRedundancy)[vs[1].(int)] + }).(GetConnectionASideAccessPointPortRedundancyOutput) } -func (o ServiceProfileMarketingInfoProcessStepOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileMarketingInfoProcessStep) *string { return v.Title }).(pulumi.StringPtrOutput) +type GetConnectionASideAccessPointProfile struct { + AccessPointTypeConfigs []GetConnectionASideAccessPointProfileAccessPointTypeConfig `pulumi:"accessPointTypeConfigs"` + Description string `pulumi:"description"` + Href string `pulumi:"href"` + Name string `pulumi:"name"` + Type string `pulumi:"type"` + Uuid string `pulumi:"uuid"` } -type ServiceProfileMarketingInfoProcessStepArrayOutput struct{ *pulumi.OutputState } +// GetConnectionASideAccessPointProfileInput is an input type that accepts GetConnectionASideAccessPointProfileArgs and GetConnectionASideAccessPointProfileOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointProfileInput` via: +// +// GetConnectionASideAccessPointProfileArgs{...} +type GetConnectionASideAccessPointProfileInput interface { + pulumi.Input -func (ServiceProfileMarketingInfoProcessStepArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfileMarketingInfoProcessStep)(nil)).Elem() + ToGetConnectionASideAccessPointProfileOutput() GetConnectionASideAccessPointProfileOutput + ToGetConnectionASideAccessPointProfileOutputWithContext(context.Context) GetConnectionASideAccessPointProfileOutput } -func (o ServiceProfileMarketingInfoProcessStepArrayOutput) ToServiceProfileMarketingInfoProcessStepArrayOutput() ServiceProfileMarketingInfoProcessStepArrayOutput { - return o +type GetConnectionASideAccessPointProfileArgs struct { + AccessPointTypeConfigs GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput `pulumi:"accessPointTypeConfigs"` + Description pulumi.StringInput `pulumi:"description"` + Href pulumi.StringInput `pulumi:"href"` + Name pulumi.StringInput `pulumi:"name"` + Type pulumi.StringInput `pulumi:"type"` + Uuid pulumi.StringInput `pulumi:"uuid"` } -func (o ServiceProfileMarketingInfoProcessStepArrayOutput) ToServiceProfileMarketingInfoProcessStepArrayOutputWithContext(ctx context.Context) ServiceProfileMarketingInfoProcessStepArrayOutput { - return o +func (GetConnectionASideAccessPointProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointProfile)(nil)).Elem() } -func (o ServiceProfileMarketingInfoProcessStepArrayOutput) Index(i pulumi.IntInput) ServiceProfileMarketingInfoProcessStepOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfileMarketingInfoProcessStep { - return vs[0].([]ServiceProfileMarketingInfoProcessStep)[vs[1].(int)] - }).(ServiceProfileMarketingInfoProcessStepOutput) +func (i GetConnectionASideAccessPointProfileArgs) ToGetConnectionASideAccessPointProfileOutput() GetConnectionASideAccessPointProfileOutput { + return i.ToGetConnectionASideAccessPointProfileOutputWithContext(context.Background()) } -type ServiceProfileMetro struct { - // Metro Code - Example SV - Code *string `pulumi:"code"` - // Display Name - DisplayName *string `pulumi:"displayName"` - // IBX- Equinix International Business Exchange list - Ibxs []string `pulumi:"ibxs"` - // In Trail - InTrail *bool `pulumi:"inTrail"` - // Metro Name - Name *string `pulumi:"name"` - // Seller Regions - SellerRegions map[string]string `pulumi:"sellerRegions"` +func (i GetConnectionASideAccessPointProfileArgs) ToGetConnectionASideAccessPointProfileOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileOutput) } -// ServiceProfileMetroInput is an input type that accepts ServiceProfileMetroArgs and ServiceProfileMetroOutput values. -// You can construct a concrete instance of `ServiceProfileMetroInput` via: +func (i GetConnectionASideAccessPointProfileArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointProfile] { + return pulumix.Output[GetConnectionASideAccessPointProfile]{ + OutputState: i.ToGetConnectionASideAccessPointProfileOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionASideAccessPointProfileArrayInput is an input type that accepts GetConnectionASideAccessPointProfileArray and GetConnectionASideAccessPointProfileArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointProfileArrayInput` via: // -// ServiceProfileMetroArgs{...} -type ServiceProfileMetroInput interface { +// GetConnectionASideAccessPointProfileArray{ GetConnectionASideAccessPointProfileArgs{...} } +type GetConnectionASideAccessPointProfileArrayInput interface { pulumi.Input - ToServiceProfileMetroOutput() ServiceProfileMetroOutput - ToServiceProfileMetroOutputWithContext(context.Context) ServiceProfileMetroOutput + ToGetConnectionASideAccessPointProfileArrayOutput() GetConnectionASideAccessPointProfileArrayOutput + ToGetConnectionASideAccessPointProfileArrayOutputWithContext(context.Context) GetConnectionASideAccessPointProfileArrayOutput } -type ServiceProfileMetroArgs struct { - // Metro Code - Example SV - Code pulumi.StringPtrInput `pulumi:"code"` - // Display Name - DisplayName pulumi.StringPtrInput `pulumi:"displayName"` - // IBX- Equinix International Business Exchange list - Ibxs pulumi.StringArrayInput `pulumi:"ibxs"` - // In Trail - InTrail pulumi.BoolPtrInput `pulumi:"inTrail"` - // Metro Name - Name pulumi.StringPtrInput `pulumi:"name"` - // Seller Regions - SellerRegions pulumi.StringMapInput `pulumi:"sellerRegions"` +type GetConnectionASideAccessPointProfileArray []GetConnectionASideAccessPointProfileInput + +func (GetConnectionASideAccessPointProfileArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointProfile)(nil)).Elem() } -func (ServiceProfileMetroArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileMetro)(nil)).Elem() +func (i GetConnectionASideAccessPointProfileArray) ToGetConnectionASideAccessPointProfileArrayOutput() GetConnectionASideAccessPointProfileArrayOutput { + return i.ToGetConnectionASideAccessPointProfileArrayOutputWithContext(context.Background()) } -func (i ServiceProfileMetroArgs) ToServiceProfileMetroOutput() ServiceProfileMetroOutput { - return i.ToServiceProfileMetroOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointProfileArray) ToGetConnectionASideAccessPointProfileArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileArrayOutput) } -func (i ServiceProfileMetroArgs) ToServiceProfileMetroOutputWithContext(ctx context.Context) ServiceProfileMetroOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMetroOutput) +func (i GetConnectionASideAccessPointProfileArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointProfile] { + return pulumix.Output[[]GetConnectionASideAccessPointProfile]{ + OutputState: i.ToGetConnectionASideAccessPointProfileArrayOutputWithContext(ctx).OutputState, + } } -// ServiceProfileMetroArrayInput is an input type that accepts ServiceProfileMetroArray and ServiceProfileMetroArrayOutput values. -// You can construct a concrete instance of `ServiceProfileMetroArrayInput` via: -// -// ServiceProfileMetroArray{ ServiceProfileMetroArgs{...} } -type ServiceProfileMetroArrayInput interface { - pulumi.Input +type GetConnectionASideAccessPointProfileOutput struct{ *pulumi.OutputState } - ToServiceProfileMetroArrayOutput() ServiceProfileMetroArrayOutput - ToServiceProfileMetroArrayOutputWithContext(context.Context) ServiceProfileMetroArrayOutput +func (GetConnectionASideAccessPointProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointProfile)(nil)).Elem() } -type ServiceProfileMetroArray []ServiceProfileMetroInput +func (o GetConnectionASideAccessPointProfileOutput) ToGetConnectionASideAccessPointProfileOutput() GetConnectionASideAccessPointProfileOutput { + return o +} -func (ServiceProfileMetroArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfileMetro)(nil)).Elem() +func (o GetConnectionASideAccessPointProfileOutput) ToGetConnectionASideAccessPointProfileOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileOutput { + return o } -func (i ServiceProfileMetroArray) ToServiceProfileMetroArrayOutput() ServiceProfileMetroArrayOutput { - return i.ToServiceProfileMetroArrayOutputWithContext(context.Background()) +func (o GetConnectionASideAccessPointProfileOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointProfile] { + return pulumix.Output[GetConnectionASideAccessPointProfile]{ + OutputState: o.OutputState, + } } -func (i ServiceProfileMetroArray) ToServiceProfileMetroArrayOutputWithContext(ctx context.Context) ServiceProfileMetroArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMetroArrayOutput) +func (o GetConnectionASideAccessPointProfileOutput) AccessPointTypeConfigs() GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfile) []GetConnectionASideAccessPointProfileAccessPointTypeConfig { + return v.AccessPointTypeConfigs + }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) } -type ServiceProfileMetroOutput struct{ *pulumi.OutputState } +func (o GetConnectionASideAccessPointProfileOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfile) string { return v.Description }).(pulumi.StringOutput) +} -func (ServiceProfileMetroOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileMetro)(nil)).Elem() +func (o GetConnectionASideAccessPointProfileOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfile) string { return v.Href }).(pulumi.StringOutput) } -func (o ServiceProfileMetroOutput) ToServiceProfileMetroOutput() ServiceProfileMetroOutput { +func (o GetConnectionASideAccessPointProfileOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfile) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetConnectionASideAccessPointProfileOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfile) string { return v.Type }).(pulumi.StringOutput) +} + +func (o GetConnectionASideAccessPointProfileOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfile) string { return v.Uuid }).(pulumi.StringOutput) +} + +type GetConnectionASideAccessPointProfileArrayOutput struct{ *pulumi.OutputState } + +func (GetConnectionASideAccessPointProfileArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointProfile)(nil)).Elem() +} + +func (o GetConnectionASideAccessPointProfileArrayOutput) ToGetConnectionASideAccessPointProfileArrayOutput() GetConnectionASideAccessPointProfileArrayOutput { return o } -func (o ServiceProfileMetroOutput) ToServiceProfileMetroOutputWithContext(ctx context.Context) ServiceProfileMetroOutput { +func (o GetConnectionASideAccessPointProfileArrayOutput) ToGetConnectionASideAccessPointProfileArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileArrayOutput { return o } -// Metro Code - Example SV -func (o ServiceProfileMetroOutput) Code() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileMetro) *string { return v.Code }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointProfile] { + return pulumix.Output[[]GetConnectionASideAccessPointProfile]{ + OutputState: o.OutputState, + } } -// Display Name -func (o ServiceProfileMetroOutput) DisplayName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileMetro) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointProfileOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointProfile { + return vs[0].([]GetConnectionASideAccessPointProfile)[vs[1].(int)] + }).(GetConnectionASideAccessPointProfileOutput) } -// IBX- Equinix International Business Exchange list -func (o ServiceProfileMetroOutput) Ibxs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ServiceProfileMetro) []string { return v.Ibxs }).(pulumi.StringArrayOutput) +type GetConnectionASideAccessPointProfileAccessPointTypeConfig struct { + AllowBandwidthAutoApproval bool `pulumi:"allowBandwidthAutoApproval"` + AllowBandwidthUpgrade bool `pulumi:"allowBandwidthUpgrade"` + AllowCustomBandwidth bool `pulumi:"allowCustomBandwidth"` + AllowRemoteConnections bool `pulumi:"allowRemoteConnections"` + ApiConfigs []GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig `pulumi:"apiConfigs"` + AuthenticationKeys []GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey `pulumi:"authenticationKeys"` + BandwidthAlertThreshold float64 `pulumi:"bandwidthAlertThreshold"` + ConnectionLabel string `pulumi:"connectionLabel"` + ConnectionRedundancyRequired bool `pulumi:"connectionRedundancyRequired"` + EnableAutoGenerateServiceKey bool `pulumi:"enableAutoGenerateServiceKey"` + LinkProtocolConfigs []GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig `pulumi:"linkProtocolConfigs"` + SupportedBandwidths []int `pulumi:"supportedBandwidths"` + Type string `pulumi:"type"` + Uuid string `pulumi:"uuid"` } -// In Trail -func (o ServiceProfileMetroOutput) InTrail() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServiceProfileMetro) *bool { return v.InTrail }).(pulumi.BoolPtrOutput) +// GetConnectionASideAccessPointProfileAccessPointTypeConfigInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs and GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigInput` via: +// +// GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs{...} +type GetConnectionASideAccessPointProfileAccessPointTypeConfigInput interface { + pulumi.Input + + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput +} + +type GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs struct { + AllowBandwidthAutoApproval pulumi.BoolInput `pulumi:"allowBandwidthAutoApproval"` + AllowBandwidthUpgrade pulumi.BoolInput `pulumi:"allowBandwidthUpgrade"` + AllowCustomBandwidth pulumi.BoolInput `pulumi:"allowCustomBandwidth"` + AllowRemoteConnections pulumi.BoolInput `pulumi:"allowRemoteConnections"` + ApiConfigs GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput `pulumi:"apiConfigs"` + AuthenticationKeys GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput `pulumi:"authenticationKeys"` + BandwidthAlertThreshold pulumi.Float64Input `pulumi:"bandwidthAlertThreshold"` + ConnectionLabel pulumi.StringInput `pulumi:"connectionLabel"` + ConnectionRedundancyRequired pulumi.BoolInput `pulumi:"connectionRedundancyRequired"` + EnableAutoGenerateServiceKey pulumi.BoolInput `pulumi:"enableAutoGenerateServiceKey"` + LinkProtocolConfigs GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput `pulumi:"linkProtocolConfigs"` + SupportedBandwidths pulumi.IntArrayInput `pulumi:"supportedBandwidths"` + Type pulumi.StringInput `pulumi:"type"` + Uuid pulumi.StringInput `pulumi:"uuid"` +} + +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +} + +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput { + return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Background()) } -// Metro Name -func (o ServiceProfileMetroOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileMetro) *string { return v.Name }).(pulumi.StringPtrOutput) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) } -// Seller Regions -func (o ServiceProfileMetroOutput) SellerRegions() pulumi.StringMapOutput { - return o.ApplyT(func(v ServiceProfileMetro) map[string]string { return v.SellerRegions }).(pulumi.StringMapOutput) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfig]{ + OutputState: i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx).OutputState, + } } -type ServiceProfileMetroArrayOutput struct{ *pulumi.OutputState } +// GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigArray and GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput` via: +// +// GetConnectionASideAccessPointProfileAccessPointTypeConfigArray{ GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs{...} } +type GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput interface { + pulumi.Input -func (ServiceProfileMetroArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfileMetro)(nil)).Elem() + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput } -func (o ServiceProfileMetroArrayOutput) ToServiceProfileMetroArrayOutput() ServiceProfileMetroArrayOutput { - return o +type GetConnectionASideAccessPointProfileAccessPointTypeConfigArray []GetConnectionASideAccessPointProfileAccessPointTypeConfigInput + +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() } -func (o ServiceProfileMetroArrayOutput) ToServiceProfileMetroArrayOutputWithContext(ctx context.Context) ServiceProfileMetroArrayOutput { - return o +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { + return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Background()) } -func (o ServiceProfileMetroArrayOutput) Index(i pulumi.IntInput) ServiceProfileMetroOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfileMetro { - return vs[0].([]ServiceProfileMetro)[vs[1].(int)] - }).(ServiceProfileMetroOutput) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) } -type ServiceProfileNotification struct { - // Array of contact emails - Emails []string `pulumi:"emails"` - // Send interval - SendInterval *string `pulumi:"sendInterval"` - // Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS - Type string `pulumi:"type"` +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfig]{ + OutputState: i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx).OutputState, + } } -// ServiceProfileNotificationInput is an input type that accepts ServiceProfileNotificationArgs and ServiceProfileNotificationOutput values. -// You can construct a concrete instance of `ServiceProfileNotificationInput` via: -// -// ServiceProfileNotificationArgs{...} -type ServiceProfileNotificationInput interface { - pulumi.Input +type GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput struct{ *pulumi.OutputState } - ToServiceProfileNotificationOutput() ServiceProfileNotificationOutput - ToServiceProfileNotificationOutputWithContext(context.Context) ServiceProfileNotificationOutput +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() } -type ServiceProfileNotificationArgs struct { - // Array of contact emails - Emails pulumi.StringArrayInput `pulumi:"emails"` - // Send interval - SendInterval pulumi.StringPtrInput `pulumi:"sendInterval"` - // Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS - Type pulumi.StringInput `pulumi:"type"` +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput { + return o } -func (ServiceProfileNotificationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileNotification)(nil)).Elem() +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput { + return o } -func (i ServiceProfileNotificationArgs) ToServiceProfileNotificationOutput() ServiceProfileNotificationOutput { - return i.ToServiceProfileNotificationOutputWithContext(context.Background()) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfig]{ + OutputState: o.OutputState, + } } -func (i ServiceProfileNotificationArgs) ToServiceProfileNotificationOutputWithContext(ctx context.Context) ServiceProfileNotificationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileNotificationOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) AllowBandwidthAutoApproval() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) bool { + return v.AllowBandwidthAutoApproval + }).(pulumi.BoolOutput) } -// ServiceProfileNotificationArrayInput is an input type that accepts ServiceProfileNotificationArray and ServiceProfileNotificationArrayOutput values. -// You can construct a concrete instance of `ServiceProfileNotificationArrayInput` via: -// -// ServiceProfileNotificationArray{ ServiceProfileNotificationArgs{...} } -type ServiceProfileNotificationArrayInput interface { - pulumi.Input +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) AllowBandwidthUpgrade() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) bool { return v.AllowBandwidthUpgrade }).(pulumi.BoolOutput) +} - ToServiceProfileNotificationArrayOutput() ServiceProfileNotificationArrayOutput - ToServiceProfileNotificationArrayOutputWithContext(context.Context) ServiceProfileNotificationArrayOutput +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) AllowCustomBandwidth() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) bool { return v.AllowCustomBandwidth }).(pulumi.BoolOutput) } -type ServiceProfileNotificationArray []ServiceProfileNotificationInput +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) AllowRemoteConnections() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) bool { + return v.AllowRemoteConnections + }).(pulumi.BoolOutput) +} -func (ServiceProfileNotificationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfileNotification)(nil)).Elem() +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ApiConfigs() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) []GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig { + return v.ApiConfigs + }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) } -func (i ServiceProfileNotificationArray) ToServiceProfileNotificationArrayOutput() ServiceProfileNotificationArrayOutput { - return i.ToServiceProfileNotificationArrayOutputWithContext(context.Background()) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) AuthenticationKeys() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) []GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey { + return v.AuthenticationKeys + }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) } -func (i ServiceProfileNotificationArray) ToServiceProfileNotificationArrayOutputWithContext(ctx context.Context) ServiceProfileNotificationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileNotificationArrayOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) BandwidthAlertThreshold() pulumi.Float64Output { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) float64 { + return v.BandwidthAlertThreshold + }).(pulumi.Float64Output) } -type ServiceProfileNotificationOutput struct{ *pulumi.OutputState } +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ConnectionLabel() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) string { return v.ConnectionLabel }).(pulumi.StringOutput) +} -func (ServiceProfileNotificationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileNotification)(nil)).Elem() +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ConnectionRedundancyRequired() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) bool { + return v.ConnectionRedundancyRequired + }).(pulumi.BoolOutput) } -func (o ServiceProfileNotificationOutput) ToServiceProfileNotificationOutput() ServiceProfileNotificationOutput { - return o +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) EnableAutoGenerateServiceKey() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) bool { + return v.EnableAutoGenerateServiceKey + }).(pulumi.BoolOutput) } -func (o ServiceProfileNotificationOutput) ToServiceProfileNotificationOutputWithContext(ctx context.Context) ServiceProfileNotificationOutput { - return o +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) LinkProtocolConfigs() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) []GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig { + return v.LinkProtocolConfigs + }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) } -// Array of contact emails -func (o ServiceProfileNotificationOutput) Emails() pulumi.StringArrayOutput { - return o.ApplyT(func(v ServiceProfileNotification) []string { return v.Emails }).(pulumi.StringArrayOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) SupportedBandwidths() pulumi.IntArrayOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) []int { return v.SupportedBandwidths }).(pulumi.IntArrayOutput) } -// Send interval -func (o ServiceProfileNotificationOutput) SendInterval() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileNotification) *string { return v.SendInterval }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) string { return v.Type }).(pulumi.StringOutput) } -// Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS -func (o ServiceProfileNotificationOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v ServiceProfileNotification) string { return v.Type }).(pulumi.StringOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) string { return v.Uuid }).(pulumi.StringOutput) } -type ServiceProfileNotificationArrayOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput struct{ *pulumi.OutputState } -func (ServiceProfileNotificationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfileNotification)(nil)).Elem() +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() } -func (o ServiceProfileNotificationArrayOutput) ToServiceProfileNotificationArrayOutput() ServiceProfileNotificationArrayOutput { +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { return o } -func (o ServiceProfileNotificationArrayOutput) ToServiceProfileNotificationArrayOutputWithContext(ctx context.Context) ServiceProfileNotificationArrayOutput { +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { return o } -func (o ServiceProfileNotificationArrayOutput) Index(i pulumi.IntInput) ServiceProfileNotificationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfileNotification { - return vs[0].([]ServiceProfileNotification)[vs[1].(int)] - }).(ServiceProfileNotificationOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfig]{ + OutputState: o.OutputState, + } } -type ServiceProfilePort struct { - // Cross Connect Id - CrossConnectId *string `pulumi:"crossConnectId"` - // Colo/Port Location - Location *ServiceProfilePortLocation `pulumi:"location"` - // Seller Region - SellerRegion *string `pulumi:"sellerRegion"` - // Seller Region details - SellerRegionDescription *string `pulumi:"sellerRegionDescription"` - // Colo/Port Type - Type string `pulumi:"type"` - // Colo/Port Uuid - Uuid string `pulumi:"uuid"` +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointProfileAccessPointTypeConfig { + return vs[0].([]GetConnectionASideAccessPointProfileAccessPointTypeConfig)[vs[1].(int)] + }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) } -// ServiceProfilePortInput is an input type that accepts ServiceProfilePortArgs and ServiceProfilePortOutput values. -// You can construct a concrete instance of `ServiceProfilePortInput` via: +type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig struct { + AllowOverSubscription bool `pulumi:"allowOverSubscription"` + ApiAvailable bool `pulumi:"apiAvailable"` + BandwidthFromApi bool `pulumi:"bandwidthFromApi"` + EquinixManagedPort bool `pulumi:"equinixManagedPort"` + EquinixManagedVlan bool `pulumi:"equinixManagedVlan"` + IntegrationId string `pulumi:"integrationId"` + OverSubscriptionLimit int `pulumi:"overSubscriptionLimit"` +} + +// GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs and GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigInput` via: // -// ServiceProfilePortArgs{...} -type ServiceProfilePortInput interface { +// GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs{...} +type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigInput interface { pulumi.Input - ToServiceProfilePortOutput() ServiceProfilePortOutput - ToServiceProfilePortOutputWithContext(context.Context) ServiceProfilePortOutput + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput } -type ServiceProfilePortArgs struct { - // Cross Connect Id - CrossConnectId pulumi.StringPtrInput `pulumi:"crossConnectId"` - // Colo/Port Location - Location ServiceProfilePortLocationPtrInput `pulumi:"location"` - // Seller Region - SellerRegion pulumi.StringPtrInput `pulumi:"sellerRegion"` - // Seller Region details - SellerRegionDescription pulumi.StringPtrInput `pulumi:"sellerRegionDescription"` - // Colo/Port Type - Type pulumi.StringInput `pulumi:"type"` - // Colo/Port Uuid - Uuid pulumi.StringInput `pulumi:"uuid"` +type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs struct { + AllowOverSubscription pulumi.BoolInput `pulumi:"allowOverSubscription"` + ApiAvailable pulumi.BoolInput `pulumi:"apiAvailable"` + BandwidthFromApi pulumi.BoolInput `pulumi:"bandwidthFromApi"` + EquinixManagedPort pulumi.BoolInput `pulumi:"equinixManagedPort"` + EquinixManagedVlan pulumi.BoolInput `pulumi:"equinixManagedVlan"` + IntegrationId pulumi.StringInput `pulumi:"integrationId"` + OverSubscriptionLimit pulumi.IntInput `pulumi:"overSubscriptionLimit"` } -func (ServiceProfilePortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfilePort)(nil)).Elem() +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() } -func (i ServiceProfilePortArgs) ToServiceProfilePortOutput() ServiceProfilePortOutput { - return i.ToServiceProfilePortOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput { + return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(context.Background()) } -func (i ServiceProfilePortArgs) ToServiceProfilePortOutputWithContext(ctx context.Context) ServiceProfilePortOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfilePortOutput) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) } -// ServiceProfilePortArrayInput is an input type that accepts ServiceProfilePortArray and ServiceProfilePortArrayOutput values. -// You can construct a concrete instance of `ServiceProfilePortArrayInput` via: +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig]{ + OutputState: i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArray and GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput` via: // -// ServiceProfilePortArray{ ServiceProfilePortArgs{...} } -type ServiceProfilePortArrayInput interface { +// GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArray{ GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs{...} } +type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput interface { pulumi.Input - ToServiceProfilePortArrayOutput() ServiceProfilePortArrayOutput - ToServiceProfilePortArrayOutputWithContext(context.Context) ServiceProfilePortArrayOutput + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput } -type ServiceProfilePortArray []ServiceProfilePortInput +type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArray []GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigInput -func (ServiceProfilePortArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfilePort)(nil)).Elem() +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +} + +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { + return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(context.Background()) } -func (i ServiceProfilePortArray) ToServiceProfilePortArrayOutput() ServiceProfilePortArrayOutput { - return i.ToServiceProfilePortArrayOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) } -func (i ServiceProfilePortArray) ToServiceProfilePortArrayOutputWithContext(ctx context.Context) ServiceProfilePortArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfilePortArrayOutput) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig]{ + OutputState: i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(ctx).OutputState, + } } -type ServiceProfilePortOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput struct{ *pulumi.OutputState } -func (ServiceProfilePortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfilePort)(nil)).Elem() +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() } -func (o ServiceProfilePortOutput) ToServiceProfilePortOutput() ServiceProfilePortOutput { +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput { return o } -func (o ServiceProfilePortOutput) ToServiceProfilePortOutputWithContext(ctx context.Context) ServiceProfilePortOutput { +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput { return o } -// Cross Connect Id -func (o ServiceProfilePortOutput) CrossConnectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfilePort) *string { return v.CrossConnectId }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig]{ + OutputState: o.OutputState, + } } -// Colo/Port Location -func (o ServiceProfilePortOutput) Location() ServiceProfilePortLocationPtrOutput { - return o.ApplyT(func(v ServiceProfilePort) *ServiceProfilePortLocation { return v.Location }).(ServiceProfilePortLocationPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) AllowOverSubscription() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) bool { + return v.AllowOverSubscription + }).(pulumi.BoolOutput) } -// Seller Region -func (o ServiceProfilePortOutput) SellerRegion() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfilePort) *string { return v.SellerRegion }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ApiAvailable() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) bool { return v.ApiAvailable }).(pulumi.BoolOutput) } -// Seller Region details -func (o ServiceProfilePortOutput) SellerRegionDescription() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfilePort) *string { return v.SellerRegionDescription }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) BandwidthFromApi() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) bool { + return v.BandwidthFromApi + }).(pulumi.BoolOutput) } -// Colo/Port Type -func (o ServiceProfilePortOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v ServiceProfilePort) string { return v.Type }).(pulumi.StringOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) EquinixManagedPort() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) bool { + return v.EquinixManagedPort + }).(pulumi.BoolOutput) } -// Colo/Port Uuid -func (o ServiceProfilePortOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v ServiceProfilePort) string { return v.Uuid }).(pulumi.StringOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) EquinixManagedVlan() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) bool { + return v.EquinixManagedVlan + }).(pulumi.BoolOutput) } -type ServiceProfilePortArrayOutput struct{ *pulumi.OutputState } +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) IntegrationId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) string { + return v.IntegrationId + }).(pulumi.StringOutput) +} -func (ServiceProfilePortArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfilePort)(nil)).Elem() +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) OverSubscriptionLimit() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) int { + return v.OverSubscriptionLimit + }).(pulumi.IntOutput) } -func (o ServiceProfilePortArrayOutput) ToServiceProfilePortArrayOutput() ServiceProfilePortArrayOutput { +type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +} + +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { return o } -func (o ServiceProfilePortArrayOutput) ToServiceProfilePortArrayOutputWithContext(ctx context.Context) ServiceProfilePortArrayOutput { +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { return o } -func (o ServiceProfilePortArrayOutput) Index(i pulumi.IntInput) ServiceProfilePortOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfilePort { - return vs[0].([]ServiceProfilePort)[vs[1].(int)] - }).(ServiceProfilePortOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig]{ + OutputState: o.OutputState, + } } -type ServiceProfilePortLocation struct { - Ibx *string `pulumi:"ibx"` - MetroCode *string `pulumi:"metroCode"` - MetroName *string `pulumi:"metroName"` - Region *string `pulumi:"region"` +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig { + return vs[0].([]GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig)[vs[1].(int)] + }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) } -// ServiceProfilePortLocationInput is an input type that accepts ServiceProfilePortLocationArgs and ServiceProfilePortLocationOutput values. -// You can construct a concrete instance of `ServiceProfilePortLocationInput` via: +type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey struct { + Description string `pulumi:"description"` + Label string `pulumi:"label"` + Required bool `pulumi:"required"` +} + +// GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs and GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput` via: // -// ServiceProfilePortLocationArgs{...} -type ServiceProfilePortLocationInput interface { +// GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs{...} +type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput interface { pulumi.Input - ToServiceProfilePortLocationOutput() ServiceProfilePortLocationOutput - ToServiceProfilePortLocationOutputWithContext(context.Context) ServiceProfilePortLocationOutput -} - -type ServiceProfilePortLocationArgs struct { - Ibx pulumi.StringPtrInput `pulumi:"ibx"` - MetroCode pulumi.StringPtrInput `pulumi:"metroCode"` - MetroName pulumi.StringPtrInput `pulumi:"metroName"` - Region pulumi.StringPtrInput `pulumi:"region"` + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput } -func (ServiceProfilePortLocationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfilePortLocation)(nil)).Elem() +type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Label pulumi.StringInput `pulumi:"label"` + Required pulumi.BoolInput `pulumi:"required"` } -func (i ServiceProfilePortLocationArgs) ToServiceProfilePortLocationOutput() ServiceProfilePortLocationOutput { - return i.ToServiceProfilePortLocationOutputWithContext(context.Background()) +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() } -func (i ServiceProfilePortLocationArgs) ToServiceProfilePortLocationOutputWithContext(ctx context.Context) ServiceProfilePortLocationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfilePortLocationOutput) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { + return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(context.Background()) } -func (i ServiceProfilePortLocationArgs) ToServiceProfilePortLocationPtrOutput() ServiceProfilePortLocationPtrOutput { - return i.ToServiceProfilePortLocationPtrOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) } -func (i ServiceProfilePortLocationArgs) ToServiceProfilePortLocationPtrOutputWithContext(ctx context.Context) ServiceProfilePortLocationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfilePortLocationOutput).ToServiceProfilePortLocationPtrOutputWithContext(ctx) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx).OutputState, + } } -// ServiceProfilePortLocationPtrInput is an input type that accepts ServiceProfilePortLocationArgs, ServiceProfilePortLocationPtr and ServiceProfilePortLocationPtrOutput values. -// You can construct a concrete instance of `ServiceProfilePortLocationPtrInput` via: -// -// ServiceProfilePortLocationArgs{...} -// -// or: +// GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray and GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput` via: // -// nil -type ServiceProfilePortLocationPtrInput interface { +// GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray{ GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs{...} } +type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput interface { pulumi.Input - ToServiceProfilePortLocationPtrOutput() ServiceProfilePortLocationPtrOutput - ToServiceProfilePortLocationPtrOutputWithContext(context.Context) ServiceProfilePortLocationPtrOutput + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput } -type serviceProfilePortLocationPtrType ServiceProfilePortLocationArgs +type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray []GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput -func ServiceProfilePortLocationPtr(v *ServiceProfilePortLocationArgs) ServiceProfilePortLocationPtrInput { - return (*serviceProfilePortLocationPtrType)(v) +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() } -func (*serviceProfilePortLocationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfilePortLocation)(nil)).Elem() +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { + return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(context.Background()) } -func (i *serviceProfilePortLocationPtrType) ToServiceProfilePortLocationPtrOutput() ServiceProfilePortLocationPtrOutput { - return i.ToServiceProfilePortLocationPtrOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) } -func (i *serviceProfilePortLocationPtrType) ToServiceProfilePortLocationPtrOutputWithContext(ctx context.Context) ServiceProfilePortLocationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfilePortLocationPtrOutput) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(ctx).OutputState, + } } -type ServiceProfilePortLocationOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput struct{ *pulumi.OutputState } -func (ServiceProfilePortLocationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfilePortLocation)(nil)).Elem() +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() } -func (o ServiceProfilePortLocationOutput) ToServiceProfilePortLocationOutput() ServiceProfilePortLocationOutput { +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { return o } -func (o ServiceProfilePortLocationOutput) ToServiceProfilePortLocationOutputWithContext(ctx context.Context) ServiceProfilePortLocationOutput { +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { return o } -func (o ServiceProfilePortLocationOutput) ToServiceProfilePortLocationPtrOutput() ServiceProfilePortLocationPtrOutput { - return o.ToServiceProfilePortLocationPtrOutputWithContext(context.Background()) -} - -func (o ServiceProfilePortLocationOutput) ToServiceProfilePortLocationPtrOutputWithContext(ctx context.Context) ServiceProfilePortLocationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfilePortLocation) *ServiceProfilePortLocation { - return &v - }).(ServiceProfilePortLocationPtrOutput) -} - -func (o ServiceProfilePortLocationOutput) Ibx() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfilePortLocation) *string { return v.Ibx }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: o.OutputState, + } } -func (o ServiceProfilePortLocationOutput) MetroCode() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfilePortLocation) *string { return v.MetroCode }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey) string { + return v.Description + }).(pulumi.StringOutput) } -func (o ServiceProfilePortLocationOutput) MetroName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfilePortLocation) *string { return v.MetroName }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey) string { + return v.Label + }).(pulumi.StringOutput) } -func (o ServiceProfilePortLocationOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfilePortLocation) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) Required() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey) bool { + return v.Required + }).(pulumi.BoolOutput) } -type ServiceProfilePortLocationPtrOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput struct{ *pulumi.OutputState } -func (ServiceProfilePortLocationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfilePortLocation)(nil)).Elem() +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() } -func (o ServiceProfilePortLocationPtrOutput) ToServiceProfilePortLocationPtrOutput() ServiceProfilePortLocationPtrOutput { +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { return o } -func (o ServiceProfilePortLocationPtrOutput) ToServiceProfilePortLocationPtrOutputWithContext(ctx context.Context) ServiceProfilePortLocationPtrOutput { +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { return o } -func (o ServiceProfilePortLocationPtrOutput) Elem() ServiceProfilePortLocationOutput { - return o.ApplyT(func(v *ServiceProfilePortLocation) ServiceProfilePortLocation { - if v != nil { - return *v - } - var ret ServiceProfilePortLocation - return ret - }).(ServiceProfilePortLocationOutput) -} - -func (o ServiceProfilePortLocationPtrOutput) Ibx() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfilePortLocation) *string { - if v == nil { - return nil - } - return v.Ibx - }).(pulumi.StringPtrOutput) -} - -func (o ServiceProfilePortLocationPtrOutput) MetroCode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfilePortLocation) *string { - if v == nil { - return nil - } - return v.MetroCode - }).(pulumi.StringPtrOutput) -} - -func (o ServiceProfilePortLocationPtrOutput) MetroName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfilePortLocation) *string { - if v == nil { - return nil - } - return v.MetroName - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: o.OutputState, + } } - -func (o ServiceProfilePortLocationPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfilePortLocation) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) + +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey { + return vs[0].([]GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey)[vs[1].(int)] + }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) } -type ServiceProfileProject struct { - // Unique Resource URL - Href *string `pulumi:"href"` - // Project Id - ProjectId *string `pulumi:"projectId"` +type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig struct { + Encapsulation string `pulumi:"encapsulation"` + EncapsulationStrategy string `pulumi:"encapsulationStrategy"` + ReuseVlanSTag bool `pulumi:"reuseVlanSTag"` } -// ServiceProfileProjectInput is an input type that accepts ServiceProfileProjectArgs and ServiceProfileProjectOutput values. -// You can construct a concrete instance of `ServiceProfileProjectInput` via: +// GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs and GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput` via: // -// ServiceProfileProjectArgs{...} -type ServiceProfileProjectInput interface { +// GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs{...} +type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput interface { pulumi.Input - ToServiceProfileProjectOutput() ServiceProfileProjectOutput - ToServiceProfileProjectOutputWithContext(context.Context) ServiceProfileProjectOutput -} - -type ServiceProfileProjectArgs struct { - // Unique Resource URL - Href pulumi.StringPtrInput `pulumi:"href"` - // Project Id - ProjectId pulumi.StringPtrInput `pulumi:"projectId"` + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput } -func (ServiceProfileProjectArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileProject)(nil)).Elem() +type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs struct { + Encapsulation pulumi.StringInput `pulumi:"encapsulation"` + EncapsulationStrategy pulumi.StringInput `pulumi:"encapsulationStrategy"` + ReuseVlanSTag pulumi.BoolInput `pulumi:"reuseVlanSTag"` } -func (i ServiceProfileProjectArgs) ToServiceProfileProjectOutput() ServiceProfileProjectOutput { - return i.ToServiceProfileProjectOutputWithContext(context.Background()) +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() } -func (i ServiceProfileProjectArgs) ToServiceProfileProjectOutputWithContext(ctx context.Context) ServiceProfileProjectOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileProjectOutput) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { + return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(context.Background()) } -func (i ServiceProfileProjectArgs) ToServiceProfileProjectPtrOutput() ServiceProfileProjectPtrOutput { - return i.ToServiceProfileProjectPtrOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) } -func (i ServiceProfileProjectArgs) ToServiceProfileProjectPtrOutputWithContext(ctx context.Context) ServiceProfileProjectPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileProjectOutput).ToServiceProfileProjectPtrOutputWithContext(ctx) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx).OutputState, + } } -// ServiceProfileProjectPtrInput is an input type that accepts ServiceProfileProjectArgs, ServiceProfileProjectPtr and ServiceProfileProjectPtrOutput values. -// You can construct a concrete instance of `ServiceProfileProjectPtrInput` via: -// -// ServiceProfileProjectArgs{...} -// -// or: +// GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray and GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput` via: // -// nil -type ServiceProfileProjectPtrInput interface { +// GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray{ GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs{...} } +type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput interface { pulumi.Input - ToServiceProfileProjectPtrOutput() ServiceProfileProjectPtrOutput - ToServiceProfileProjectPtrOutputWithContext(context.Context) ServiceProfileProjectPtrOutput + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput + ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput } -type serviceProfileProjectPtrType ServiceProfileProjectArgs +type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray []GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput -func ServiceProfileProjectPtr(v *ServiceProfileProjectArgs) ServiceProfileProjectPtrInput { - return (*serviceProfileProjectPtrType)(v) +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() } -func (*serviceProfileProjectPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileProject)(nil)).Elem() +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { + return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(context.Background()) } -func (i *serviceProfileProjectPtrType) ToServiceProfileProjectPtrOutput() ServiceProfileProjectPtrOutput { - return i.ToServiceProfileProjectPtrOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) } -func (i *serviceProfileProjectPtrType) ToServiceProfileProjectPtrOutputWithContext(ctx context.Context) ServiceProfileProjectPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileProjectPtrOutput) +func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(ctx).OutputState, + } } -type ServiceProfileProjectOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput struct{ *pulumi.OutputState } -func (ServiceProfileProjectOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileProject)(nil)).Elem() +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() } -func (o ServiceProfileProjectOutput) ToServiceProfileProjectOutput() ServiceProfileProjectOutput { +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { return o } -func (o ServiceProfileProjectOutput) ToServiceProfileProjectOutputWithContext(ctx context.Context) ServiceProfileProjectOutput { +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { return o } -func (o ServiceProfileProjectOutput) ToServiceProfileProjectPtrOutput() ServiceProfileProjectPtrOutput { - return o.ToServiceProfileProjectPtrOutputWithContext(context.Background()) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: o.OutputState, + } } -func (o ServiceProfileProjectOutput) ToServiceProfileProjectPtrOutputWithContext(ctx context.Context) ServiceProfileProjectPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileProject) *ServiceProfileProject { - return &v - }).(ServiceProfileProjectPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) Encapsulation() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig) string { + return v.Encapsulation + }).(pulumi.StringOutput) } -// Unique Resource URL -func (o ServiceProfileProjectOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileProject) *string { return v.Href }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) EncapsulationStrategy() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig) string { + return v.EncapsulationStrategy + }).(pulumi.StringOutput) } -// Project Id -func (o ServiceProfileProjectOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileProject) *string { return v.ProjectId }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ReuseVlanSTag() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig) bool { + return v.ReuseVlanSTag + }).(pulumi.BoolOutput) } -type ServiceProfileProjectPtrOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput struct{ *pulumi.OutputState } -func (ServiceProfileProjectPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileProject)(nil)).Elem() +func (GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() } -func (o ServiceProfileProjectPtrOutput) ToServiceProfileProjectPtrOutput() ServiceProfileProjectPtrOutput { +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { return o } -func (o ServiceProfileProjectPtrOutput) ToServiceProfileProjectPtrOutputWithContext(ctx context.Context) ServiceProfileProjectPtrOutput { +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { return o } -func (o ServiceProfileProjectPtrOutput) Elem() ServiceProfileProjectOutput { - return o.ApplyT(func(v *ServiceProfileProject) ServiceProfileProject { - if v != nil { - return *v - } - var ret ServiceProfileProject - return ret - }).(ServiceProfileProjectOutput) -} - -// Unique Resource URL -func (o ServiceProfileProjectPtrOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileProject) *string { - if v == nil { - return nil - } - return v.Href - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[[]GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: o.OutputState, + } } -// Project Id -func (o ServiceProfileProjectPtrOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileProject) *string { - if v == nil { - return nil - } - return v.ProjectId - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig { + return vs[0].([]GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)[vs[1].(int)] + }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) } -type ServiceProfileVirtualDevice struct { - // Device Interface Uuid - InterfaceUuid *string `pulumi:"interfaceUuid"` - // Device Location - Location *ServiceProfileVirtualDeviceLocation `pulumi:"location"` - // Virtual Device Type - Type string `pulumi:"type"` - // Virtual Device Uuid - Uuid string `pulumi:"uuid"` +type GetConnectionASideAccessPointRouter struct { + Href string `pulumi:"href"` + State string `pulumi:"state"` + Uuid string `pulumi:"uuid"` } -// ServiceProfileVirtualDeviceInput is an input type that accepts ServiceProfileVirtualDeviceArgs and ServiceProfileVirtualDeviceOutput values. -// You can construct a concrete instance of `ServiceProfileVirtualDeviceInput` via: +// GetConnectionASideAccessPointRouterInput is an input type that accepts GetConnectionASideAccessPointRouterArgs and GetConnectionASideAccessPointRouterOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointRouterInput` via: // -// ServiceProfileVirtualDeviceArgs{...} -type ServiceProfileVirtualDeviceInput interface { +// GetConnectionASideAccessPointRouterArgs{...} +type GetConnectionASideAccessPointRouterInput interface { pulumi.Input - ToServiceProfileVirtualDeviceOutput() ServiceProfileVirtualDeviceOutput - ToServiceProfileVirtualDeviceOutputWithContext(context.Context) ServiceProfileVirtualDeviceOutput + ToGetConnectionASideAccessPointRouterOutput() GetConnectionASideAccessPointRouterOutput + ToGetConnectionASideAccessPointRouterOutputWithContext(context.Context) GetConnectionASideAccessPointRouterOutput } -type ServiceProfileVirtualDeviceArgs struct { - // Device Interface Uuid - InterfaceUuid pulumi.StringPtrInput `pulumi:"interfaceUuid"` - // Device Location - Location ServiceProfileVirtualDeviceLocationPtrInput `pulumi:"location"` - // Virtual Device Type - Type pulumi.StringInput `pulumi:"type"` - // Virtual Device Uuid - Uuid pulumi.StringInput `pulumi:"uuid"` +type GetConnectionASideAccessPointRouterArgs struct { + Href pulumi.StringInput `pulumi:"href"` + State pulumi.StringInput `pulumi:"state"` + Uuid pulumi.StringInput `pulumi:"uuid"` } -func (ServiceProfileVirtualDeviceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileVirtualDevice)(nil)).Elem() +func (GetConnectionASideAccessPointRouterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointRouter)(nil)).Elem() } -func (i ServiceProfileVirtualDeviceArgs) ToServiceProfileVirtualDeviceOutput() ServiceProfileVirtualDeviceOutput { - return i.ToServiceProfileVirtualDeviceOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointRouterArgs) ToGetConnectionASideAccessPointRouterOutput() GetConnectionASideAccessPointRouterOutput { + return i.ToGetConnectionASideAccessPointRouterOutputWithContext(context.Background()) } -func (i ServiceProfileVirtualDeviceArgs) ToServiceProfileVirtualDeviceOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileVirtualDeviceOutput) +func (i GetConnectionASideAccessPointRouterArgs) ToGetConnectionASideAccessPointRouterOutputWithContext(ctx context.Context) GetConnectionASideAccessPointRouterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointRouterOutput) } -// ServiceProfileVirtualDeviceArrayInput is an input type that accepts ServiceProfileVirtualDeviceArray and ServiceProfileVirtualDeviceArrayOutput values. -// You can construct a concrete instance of `ServiceProfileVirtualDeviceArrayInput` via: +func (i GetConnectionASideAccessPointRouterArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointRouter] { + return pulumix.Output[GetConnectionASideAccessPointRouter]{ + OutputState: i.ToGetConnectionASideAccessPointRouterOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionASideAccessPointRouterArrayInput is an input type that accepts GetConnectionASideAccessPointRouterArray and GetConnectionASideAccessPointRouterArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointRouterArrayInput` via: // -// ServiceProfileVirtualDeviceArray{ ServiceProfileVirtualDeviceArgs{...} } -type ServiceProfileVirtualDeviceArrayInput interface { +// GetConnectionASideAccessPointRouterArray{ GetConnectionASideAccessPointRouterArgs{...} } +type GetConnectionASideAccessPointRouterArrayInput interface { pulumi.Input - ToServiceProfileVirtualDeviceArrayOutput() ServiceProfileVirtualDeviceArrayOutput - ToServiceProfileVirtualDeviceArrayOutputWithContext(context.Context) ServiceProfileVirtualDeviceArrayOutput + ToGetConnectionASideAccessPointRouterArrayOutput() GetConnectionASideAccessPointRouterArrayOutput + ToGetConnectionASideAccessPointRouterArrayOutputWithContext(context.Context) GetConnectionASideAccessPointRouterArrayOutput } -type ServiceProfileVirtualDeviceArray []ServiceProfileVirtualDeviceInput +type GetConnectionASideAccessPointRouterArray []GetConnectionASideAccessPointRouterInput -func (ServiceProfileVirtualDeviceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfileVirtualDevice)(nil)).Elem() +func (GetConnectionASideAccessPointRouterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointRouter)(nil)).Elem() } -func (i ServiceProfileVirtualDeviceArray) ToServiceProfileVirtualDeviceArrayOutput() ServiceProfileVirtualDeviceArrayOutput { - return i.ToServiceProfileVirtualDeviceArrayOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointRouterArray) ToGetConnectionASideAccessPointRouterArrayOutput() GetConnectionASideAccessPointRouterArrayOutput { + return i.ToGetConnectionASideAccessPointRouterArrayOutputWithContext(context.Background()) } -func (i ServiceProfileVirtualDeviceArray) ToServiceProfileVirtualDeviceArrayOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileVirtualDeviceArrayOutput) +func (i GetConnectionASideAccessPointRouterArray) ToGetConnectionASideAccessPointRouterArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointRouterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointRouterArrayOutput) } -type ServiceProfileVirtualDeviceOutput struct{ *pulumi.OutputState } +func (i GetConnectionASideAccessPointRouterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointRouter] { + return pulumix.Output[[]GetConnectionASideAccessPointRouter]{ + OutputState: i.ToGetConnectionASideAccessPointRouterArrayOutputWithContext(ctx).OutputState, + } +} -func (ServiceProfileVirtualDeviceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileVirtualDevice)(nil)).Elem() +type GetConnectionASideAccessPointRouterOutput struct{ *pulumi.OutputState } + +func (GetConnectionASideAccessPointRouterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointRouter)(nil)).Elem() } -func (o ServiceProfileVirtualDeviceOutput) ToServiceProfileVirtualDeviceOutput() ServiceProfileVirtualDeviceOutput { +func (o GetConnectionASideAccessPointRouterOutput) ToGetConnectionASideAccessPointRouterOutput() GetConnectionASideAccessPointRouterOutput { return o } -func (o ServiceProfileVirtualDeviceOutput) ToServiceProfileVirtualDeviceOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceOutput { +func (o GetConnectionASideAccessPointRouterOutput) ToGetConnectionASideAccessPointRouterOutputWithContext(ctx context.Context) GetConnectionASideAccessPointRouterOutput { return o } -// Device Interface Uuid -func (o ServiceProfileVirtualDeviceOutput) InterfaceUuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileVirtualDevice) *string { return v.InterfaceUuid }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointRouterOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointRouter] { + return pulumix.Output[GetConnectionASideAccessPointRouter]{ + OutputState: o.OutputState, + } } -// Device Location -func (o ServiceProfileVirtualDeviceOutput) Location() ServiceProfileVirtualDeviceLocationPtrOutput { - return o.ApplyT(func(v ServiceProfileVirtualDevice) *ServiceProfileVirtualDeviceLocation { return v.Location }).(ServiceProfileVirtualDeviceLocationPtrOutput) +func (o GetConnectionASideAccessPointRouterOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointRouter) string { return v.Href }).(pulumi.StringOutput) } -// Virtual Device Type -func (o ServiceProfileVirtualDeviceOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v ServiceProfileVirtualDevice) string { return v.Type }).(pulumi.StringOutput) +func (o GetConnectionASideAccessPointRouterOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointRouter) string { return v.State }).(pulumi.StringOutput) } -// Virtual Device Uuid -func (o ServiceProfileVirtualDeviceOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v ServiceProfileVirtualDevice) string { return v.Uuid }).(pulumi.StringOutput) +func (o GetConnectionASideAccessPointRouterOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointRouter) string { return v.Uuid }).(pulumi.StringOutput) } -type ServiceProfileVirtualDeviceArrayOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointRouterArrayOutput struct{ *pulumi.OutputState } -func (ServiceProfileVirtualDeviceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ServiceProfileVirtualDevice)(nil)).Elem() +func (GetConnectionASideAccessPointRouterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointRouter)(nil)).Elem() } -func (o ServiceProfileVirtualDeviceArrayOutput) ToServiceProfileVirtualDeviceArrayOutput() ServiceProfileVirtualDeviceArrayOutput { +func (o GetConnectionASideAccessPointRouterArrayOutput) ToGetConnectionASideAccessPointRouterArrayOutput() GetConnectionASideAccessPointRouterArrayOutput { return o } -func (o ServiceProfileVirtualDeviceArrayOutput) ToServiceProfileVirtualDeviceArrayOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceArrayOutput { +func (o GetConnectionASideAccessPointRouterArrayOutput) ToGetConnectionASideAccessPointRouterArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointRouterArrayOutput { return o } -func (o ServiceProfileVirtualDeviceArrayOutput) Index(i pulumi.IntInput) ServiceProfileVirtualDeviceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceProfileVirtualDevice { - return vs[0].([]ServiceProfileVirtualDevice)[vs[1].(int)] - }).(ServiceProfileVirtualDeviceOutput) +func (o GetConnectionASideAccessPointRouterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointRouter] { + return pulumix.Output[[]GetConnectionASideAccessPointRouter]{ + OutputState: o.OutputState, + } } -type ServiceProfileVirtualDeviceLocation struct { - Ibx *string `pulumi:"ibx"` - MetroCode *string `pulumi:"metroCode"` - MetroName *string `pulumi:"metroName"` - Region *string `pulumi:"region"` +func (o GetConnectionASideAccessPointRouterArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointRouterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointRouter { + return vs[0].([]GetConnectionASideAccessPointRouter)[vs[1].(int)] + }).(GetConnectionASideAccessPointRouterOutput) } -// ServiceProfileVirtualDeviceLocationInput is an input type that accepts ServiceProfileVirtualDeviceLocationArgs and ServiceProfileVirtualDeviceLocationOutput values. -// You can construct a concrete instance of `ServiceProfileVirtualDeviceLocationInput` via: -// -// ServiceProfileVirtualDeviceLocationArgs{...} -type ServiceProfileVirtualDeviceLocationInput interface { - pulumi.Input - - ToServiceProfileVirtualDeviceLocationOutput() ServiceProfileVirtualDeviceLocationOutput - ToServiceProfileVirtualDeviceLocationOutputWithContext(context.Context) ServiceProfileVirtualDeviceLocationOutput +type GetConnectionASideAccessPointVirtualDevice struct { + Href string `pulumi:"href"` + Type string `pulumi:"type"` + Uuid string `pulumi:"uuid"` } -type ServiceProfileVirtualDeviceLocationArgs struct { - Ibx pulumi.StringPtrInput `pulumi:"ibx"` - MetroCode pulumi.StringPtrInput `pulumi:"metroCode"` - MetroName pulumi.StringPtrInput `pulumi:"metroName"` - Region pulumi.StringPtrInput `pulumi:"region"` +// GetConnectionASideAccessPointVirtualDeviceInput is an input type that accepts GetConnectionASideAccessPointVirtualDeviceArgs and GetConnectionASideAccessPointVirtualDeviceOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointVirtualDeviceInput` via: +// +// GetConnectionASideAccessPointVirtualDeviceArgs{...} +type GetConnectionASideAccessPointVirtualDeviceInput interface { + pulumi.Input + + ToGetConnectionASideAccessPointVirtualDeviceOutput() GetConnectionASideAccessPointVirtualDeviceOutput + ToGetConnectionASideAccessPointVirtualDeviceOutputWithContext(context.Context) GetConnectionASideAccessPointVirtualDeviceOutput } -func (ServiceProfileVirtualDeviceLocationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileVirtualDeviceLocation)(nil)).Elem() +type GetConnectionASideAccessPointVirtualDeviceArgs struct { + Href pulumi.StringInput `pulumi:"href"` + Type pulumi.StringInput `pulumi:"type"` + Uuid pulumi.StringInput `pulumi:"uuid"` } -func (i ServiceProfileVirtualDeviceLocationArgs) ToServiceProfileVirtualDeviceLocationOutput() ServiceProfileVirtualDeviceLocationOutput { - return i.ToServiceProfileVirtualDeviceLocationOutputWithContext(context.Background()) +func (GetConnectionASideAccessPointVirtualDeviceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointVirtualDevice)(nil)).Elem() } -func (i ServiceProfileVirtualDeviceLocationArgs) ToServiceProfileVirtualDeviceLocationOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceLocationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileVirtualDeviceLocationOutput) +func (i GetConnectionASideAccessPointVirtualDeviceArgs) ToGetConnectionASideAccessPointVirtualDeviceOutput() GetConnectionASideAccessPointVirtualDeviceOutput { + return i.ToGetConnectionASideAccessPointVirtualDeviceOutputWithContext(context.Background()) } -func (i ServiceProfileVirtualDeviceLocationArgs) ToServiceProfileVirtualDeviceLocationPtrOutput() ServiceProfileVirtualDeviceLocationPtrOutput { - return i.ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointVirtualDeviceArgs) ToGetConnectionASideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) GetConnectionASideAccessPointVirtualDeviceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointVirtualDeviceOutput) } -func (i ServiceProfileVirtualDeviceLocationArgs) ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceLocationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileVirtualDeviceLocationOutput).ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(ctx) +func (i GetConnectionASideAccessPointVirtualDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointVirtualDevice] { + return pulumix.Output[GetConnectionASideAccessPointVirtualDevice]{ + OutputState: i.ToGetConnectionASideAccessPointVirtualDeviceOutputWithContext(ctx).OutputState, + } } -// ServiceProfileVirtualDeviceLocationPtrInput is an input type that accepts ServiceProfileVirtualDeviceLocationArgs, ServiceProfileVirtualDeviceLocationPtr and ServiceProfileVirtualDeviceLocationPtrOutput values. -// You can construct a concrete instance of `ServiceProfileVirtualDeviceLocationPtrInput` via: -// -// ServiceProfileVirtualDeviceLocationArgs{...} -// -// or: +// GetConnectionASideAccessPointVirtualDeviceArrayInput is an input type that accepts GetConnectionASideAccessPointVirtualDeviceArray and GetConnectionASideAccessPointVirtualDeviceArrayOutput values. +// You can construct a concrete instance of `GetConnectionASideAccessPointVirtualDeviceArrayInput` via: // -// nil -type ServiceProfileVirtualDeviceLocationPtrInput interface { +// GetConnectionASideAccessPointVirtualDeviceArray{ GetConnectionASideAccessPointVirtualDeviceArgs{...} } +type GetConnectionASideAccessPointVirtualDeviceArrayInput interface { pulumi.Input - ToServiceProfileVirtualDeviceLocationPtrOutput() ServiceProfileVirtualDeviceLocationPtrOutput - ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(context.Context) ServiceProfileVirtualDeviceLocationPtrOutput + ToGetConnectionASideAccessPointVirtualDeviceArrayOutput() GetConnectionASideAccessPointVirtualDeviceArrayOutput + ToGetConnectionASideAccessPointVirtualDeviceArrayOutputWithContext(context.Context) GetConnectionASideAccessPointVirtualDeviceArrayOutput } -type serviceProfileVirtualDeviceLocationPtrType ServiceProfileVirtualDeviceLocationArgs +type GetConnectionASideAccessPointVirtualDeviceArray []GetConnectionASideAccessPointVirtualDeviceInput -func ServiceProfileVirtualDeviceLocationPtr(v *ServiceProfileVirtualDeviceLocationArgs) ServiceProfileVirtualDeviceLocationPtrInput { - return (*serviceProfileVirtualDeviceLocationPtrType)(v) +func (GetConnectionASideAccessPointVirtualDeviceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointVirtualDevice)(nil)).Elem() } -func (*serviceProfileVirtualDeviceLocationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileVirtualDeviceLocation)(nil)).Elem() +func (i GetConnectionASideAccessPointVirtualDeviceArray) ToGetConnectionASideAccessPointVirtualDeviceArrayOutput() GetConnectionASideAccessPointVirtualDeviceArrayOutput { + return i.ToGetConnectionASideAccessPointVirtualDeviceArrayOutputWithContext(context.Background()) } -func (i *serviceProfileVirtualDeviceLocationPtrType) ToServiceProfileVirtualDeviceLocationPtrOutput() ServiceProfileVirtualDeviceLocationPtrOutput { - return i.ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(context.Background()) +func (i GetConnectionASideAccessPointVirtualDeviceArray) ToGetConnectionASideAccessPointVirtualDeviceArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointVirtualDeviceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointVirtualDeviceArrayOutput) } -func (i *serviceProfileVirtualDeviceLocationPtrType) ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceLocationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileVirtualDeviceLocationPtrOutput) +func (i GetConnectionASideAccessPointVirtualDeviceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointVirtualDevice] { + return pulumix.Output[[]GetConnectionASideAccessPointVirtualDevice]{ + OutputState: i.ToGetConnectionASideAccessPointVirtualDeviceArrayOutputWithContext(ctx).OutputState, + } } -type ServiceProfileVirtualDeviceLocationOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointVirtualDeviceOutput struct{ *pulumi.OutputState } -func (ServiceProfileVirtualDeviceLocationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServiceProfileVirtualDeviceLocation)(nil)).Elem() +func (GetConnectionASideAccessPointVirtualDeviceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideAccessPointVirtualDevice)(nil)).Elem() } -func (o ServiceProfileVirtualDeviceLocationOutput) ToServiceProfileVirtualDeviceLocationOutput() ServiceProfileVirtualDeviceLocationOutput { +func (o GetConnectionASideAccessPointVirtualDeviceOutput) ToGetConnectionASideAccessPointVirtualDeviceOutput() GetConnectionASideAccessPointVirtualDeviceOutput { return o } -func (o ServiceProfileVirtualDeviceLocationOutput) ToServiceProfileVirtualDeviceLocationOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceLocationOutput { +func (o GetConnectionASideAccessPointVirtualDeviceOutput) ToGetConnectionASideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) GetConnectionASideAccessPointVirtualDeviceOutput { return o } -func (o ServiceProfileVirtualDeviceLocationOutput) ToServiceProfileVirtualDeviceLocationPtrOutput() ServiceProfileVirtualDeviceLocationPtrOutput { - return o.ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(context.Background()) -} - -func (o ServiceProfileVirtualDeviceLocationOutput) ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceLocationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ServiceProfileVirtualDeviceLocation) *ServiceProfileVirtualDeviceLocation { - return &v - }).(ServiceProfileVirtualDeviceLocationPtrOutput) -} - -func (o ServiceProfileVirtualDeviceLocationOutput) Ibx() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileVirtualDeviceLocation) *string { return v.Ibx }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointVirtualDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideAccessPointVirtualDevice] { + return pulumix.Output[GetConnectionASideAccessPointVirtualDevice]{ + OutputState: o.OutputState, + } } -func (o ServiceProfileVirtualDeviceLocationOutput) MetroCode() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileVirtualDeviceLocation) *string { return v.MetroCode }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointVirtualDeviceOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointVirtualDevice) string { return v.Href }).(pulumi.StringOutput) } -func (o ServiceProfileVirtualDeviceLocationOutput) MetroName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileVirtualDeviceLocation) *string { return v.MetroName }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointVirtualDeviceOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointVirtualDevice) string { return v.Type }).(pulumi.StringOutput) } -func (o ServiceProfileVirtualDeviceLocationOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServiceProfileVirtualDeviceLocation) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointVirtualDeviceOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideAccessPointVirtualDevice) string { return v.Uuid }).(pulumi.StringOutput) } -type ServiceProfileVirtualDeviceLocationPtrOutput struct{ *pulumi.OutputState } +type GetConnectionASideAccessPointVirtualDeviceArrayOutput struct{ *pulumi.OutputState } -func (ServiceProfileVirtualDeviceLocationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ServiceProfileVirtualDeviceLocation)(nil)).Elem() +func (GetConnectionASideAccessPointVirtualDeviceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionASideAccessPointVirtualDevice)(nil)).Elem() } -func (o ServiceProfileVirtualDeviceLocationPtrOutput) ToServiceProfileVirtualDeviceLocationPtrOutput() ServiceProfileVirtualDeviceLocationPtrOutput { +func (o GetConnectionASideAccessPointVirtualDeviceArrayOutput) ToGetConnectionASideAccessPointVirtualDeviceArrayOutput() GetConnectionASideAccessPointVirtualDeviceArrayOutput { return o } -func (o ServiceProfileVirtualDeviceLocationPtrOutput) ToServiceProfileVirtualDeviceLocationPtrOutputWithContext(ctx context.Context) ServiceProfileVirtualDeviceLocationPtrOutput { +func (o GetConnectionASideAccessPointVirtualDeviceArrayOutput) ToGetConnectionASideAccessPointVirtualDeviceArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointVirtualDeviceArrayOutput { return o } -func (o ServiceProfileVirtualDeviceLocationPtrOutput) Elem() ServiceProfileVirtualDeviceLocationOutput { - return o.ApplyT(func(v *ServiceProfileVirtualDeviceLocation) ServiceProfileVirtualDeviceLocation { - if v != nil { - return *v - } - var ret ServiceProfileVirtualDeviceLocation - return ret - }).(ServiceProfileVirtualDeviceLocationOutput) -} - -func (o ServiceProfileVirtualDeviceLocationPtrOutput) Ibx() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileVirtualDeviceLocation) *string { - if v == nil { - return nil - } - return v.Ibx - }).(pulumi.StringPtrOutput) -} - -func (o ServiceProfileVirtualDeviceLocationPtrOutput) MetroCode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileVirtualDeviceLocation) *string { - if v == nil { - return nil - } - return v.MetroCode - }).(pulumi.StringPtrOutput) -} - -func (o ServiceProfileVirtualDeviceLocationPtrOutput) MetroName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileVirtualDeviceLocation) *string { - if v == nil { - return nil - } - return v.MetroName - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointVirtualDeviceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionASideAccessPointVirtualDevice] { + return pulumix.Output[[]GetConnectionASideAccessPointVirtualDevice]{ + OutputState: o.OutputState, + } } -func (o ServiceProfileVirtualDeviceLocationPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServiceProfileVirtualDeviceLocation) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (o GetConnectionASideAccessPointVirtualDeviceArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointVirtualDeviceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointVirtualDevice { + return vs[0].([]GetConnectionASideAccessPointVirtualDevice)[vs[1].(int)] + }).(GetConnectionASideAccessPointVirtualDeviceOutput) } -type GetConnectionASide struct { - AccessPoint GetConnectionASideAccessPoint `pulumi:"accessPoint"` - ServiceToken GetConnectionASideServiceToken `pulumi:"serviceToken"` +type GetConnectionASideServiceToken struct { + Description string `pulumi:"description"` + Href string `pulumi:"href"` + Type string `pulumi:"type"` + Uuid string `pulumi:"uuid"` } -// GetConnectionASideInput is an input type that accepts GetConnectionASideArgs and GetConnectionASideOutput values. -// You can construct a concrete instance of `GetConnectionASideInput` via: +// GetConnectionASideServiceTokenInput is an input type that accepts GetConnectionASideServiceTokenArgs and GetConnectionASideServiceTokenOutput values. +// You can construct a concrete instance of `GetConnectionASideServiceTokenInput` via: // -// GetConnectionASideArgs{...} -type GetConnectionASideInput interface { +// GetConnectionASideServiceTokenArgs{...} +type GetConnectionASideServiceTokenInput interface { pulumi.Input - ToGetConnectionASideOutput() GetConnectionASideOutput - ToGetConnectionASideOutputWithContext(context.Context) GetConnectionASideOutput + ToGetConnectionASideServiceTokenOutput() GetConnectionASideServiceTokenOutput + ToGetConnectionASideServiceTokenOutputWithContext(context.Context) GetConnectionASideServiceTokenOutput } -type GetConnectionASideArgs struct { - AccessPoint GetConnectionASideAccessPointInput `pulumi:"accessPoint"` - ServiceToken GetConnectionASideServiceTokenInput `pulumi:"serviceToken"` +type GetConnectionASideServiceTokenArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Href pulumi.StringInput `pulumi:"href"` + Type pulumi.StringInput `pulumi:"type"` + Uuid pulumi.StringInput `pulumi:"uuid"` } -func (GetConnectionASideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASide)(nil)).Elem() +func (GetConnectionASideServiceTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideServiceToken)(nil)).Elem() } -func (i GetConnectionASideArgs) ToGetConnectionASideOutput() GetConnectionASideOutput { - return i.ToGetConnectionASideOutputWithContext(context.Background()) +func (i GetConnectionASideServiceTokenArgs) ToGetConnectionASideServiceTokenOutput() GetConnectionASideServiceTokenOutput { + return i.ToGetConnectionASideServiceTokenOutputWithContext(context.Background()) } -func (i GetConnectionASideArgs) ToGetConnectionASideOutputWithContext(ctx context.Context) GetConnectionASideOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideOutput) +func (i GetConnectionASideServiceTokenArgs) ToGetConnectionASideServiceTokenOutputWithContext(ctx context.Context) GetConnectionASideServiceTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideServiceTokenOutput) } -type GetConnectionASideOutput struct{ *pulumi.OutputState } +func (i GetConnectionASideServiceTokenArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideServiceToken] { + return pulumix.Output[GetConnectionASideServiceToken]{ + OutputState: i.ToGetConnectionASideServiceTokenOutputWithContext(ctx).OutputState, + } +} -func (GetConnectionASideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASide)(nil)).Elem() +type GetConnectionASideServiceTokenOutput struct{ *pulumi.OutputState } + +func (GetConnectionASideServiceTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionASideServiceToken)(nil)).Elem() } -func (o GetConnectionASideOutput) ToGetConnectionASideOutput() GetConnectionASideOutput { +func (o GetConnectionASideServiceTokenOutput) ToGetConnectionASideServiceTokenOutput() GetConnectionASideServiceTokenOutput { return o } -func (o GetConnectionASideOutput) ToGetConnectionASideOutputWithContext(ctx context.Context) GetConnectionASideOutput { +func (o GetConnectionASideServiceTokenOutput) ToGetConnectionASideServiceTokenOutputWithContext(ctx context.Context) GetConnectionASideServiceTokenOutput { return o } -func (o GetConnectionASideOutput) AccessPoint() GetConnectionASideAccessPointOutput { - return o.ApplyT(func(v GetConnectionASide) GetConnectionASideAccessPoint { return v.AccessPoint }).(GetConnectionASideAccessPointOutput) +func (o GetConnectionASideServiceTokenOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionASideServiceToken] { + return pulumix.Output[GetConnectionASideServiceToken]{ + OutputState: o.OutputState, + } } -func (o GetConnectionASideOutput) ServiceToken() GetConnectionASideServiceTokenOutput { - return o.ApplyT(func(v GetConnectionASide) GetConnectionASideServiceToken { return v.ServiceToken }).(GetConnectionASideServiceTokenOutput) +func (o GetConnectionASideServiceTokenOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideServiceToken) string { return v.Description }).(pulumi.StringOutput) } -type GetConnectionASideAccessPoint struct { - // Customer account information that is associated with this connection - Accounts []GetConnectionASideAccessPointAccount `pulumi:"accounts"` - AuthenticationKey string `pulumi:"authenticationKey"` - Gateways []GetConnectionASideAccessPointGateway `pulumi:"gateways"` - Interfaces []GetConnectionASideAccessPointInterface `pulumi:"interfaces"` - LinkProtocols []GetConnectionASideAccessPointLinkProtocol `pulumi:"linkProtocols"` - Locations []GetConnectionASideAccessPointLocation `pulumi:"locations"` - PeeringType string `pulumi:"peeringType"` - Ports []GetConnectionASideAccessPointPort `pulumi:"ports"` - Profiles []GetConnectionASideAccessPointProfile `pulumi:"profiles"` - ProviderConnectionId string `pulumi:"providerConnectionId"` - SellerRegion string `pulumi:"sellerRegion"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - VirtualDevices []GetConnectionASideAccessPointVirtualDevice `pulumi:"virtualDevices"` +func (o GetConnectionASideServiceTokenOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideServiceToken) string { return v.Href }).(pulumi.StringOutput) } -// GetConnectionASideAccessPointInput is an input type that accepts GetConnectionASideAccessPointArgs and GetConnectionASideAccessPointOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointInput` via: -// -// GetConnectionASideAccessPointArgs{...} -type GetConnectionASideAccessPointInput interface { - pulumi.Input - - ToGetConnectionASideAccessPointOutput() GetConnectionASideAccessPointOutput - ToGetConnectionASideAccessPointOutputWithContext(context.Context) GetConnectionASideAccessPointOutput +func (o GetConnectionASideServiceTokenOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideServiceToken) string { return v.Type }).(pulumi.StringOutput) } -type GetConnectionASideAccessPointArgs struct { - // Customer account information that is associated with this connection - Accounts GetConnectionASideAccessPointAccountArrayInput `pulumi:"accounts"` - AuthenticationKey pulumi.StringInput `pulumi:"authenticationKey"` - Gateways GetConnectionASideAccessPointGatewayArrayInput `pulumi:"gateways"` - Interfaces GetConnectionASideAccessPointInterfaceArrayInput `pulumi:"interfaces"` - LinkProtocols GetConnectionASideAccessPointLinkProtocolArrayInput `pulumi:"linkProtocols"` - Locations GetConnectionASideAccessPointLocationArrayInput `pulumi:"locations"` - PeeringType pulumi.StringInput `pulumi:"peeringType"` - Ports GetConnectionASideAccessPointPortArrayInput `pulumi:"ports"` - Profiles GetConnectionASideAccessPointProfileArrayInput `pulumi:"profiles"` - ProviderConnectionId pulumi.StringInput `pulumi:"providerConnectionId"` - SellerRegion pulumi.StringInput `pulumi:"sellerRegion"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - VirtualDevices GetConnectionASideAccessPointVirtualDeviceArrayInput `pulumi:"virtualDevices"` +func (o GetConnectionASideServiceTokenOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionASideServiceToken) string { return v.Uuid }).(pulumi.StringOutput) } -func (GetConnectionASideAccessPointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPoint)(nil)).Elem() +type GetConnectionAccount struct { + AccountName string `pulumi:"accountName"` + AccountNumber int `pulumi:"accountNumber"` + GlobalCustId string `pulumi:"globalCustId"` + GlobalOrgId string `pulumi:"globalOrgId"` + GlobalOrganizationName string `pulumi:"globalOrganizationName"` + OrgId int `pulumi:"orgId"` + OrganizationName string `pulumi:"organizationName"` } -func (i GetConnectionASideAccessPointArgs) ToGetConnectionASideAccessPointOutput() GetConnectionASideAccessPointOutput { - return i.ToGetConnectionASideAccessPointOutputWithContext(context.Background()) -} +// GetConnectionAccountInput is an input type that accepts GetConnectionAccountArgs and GetConnectionAccountOutput values. +// You can construct a concrete instance of `GetConnectionAccountInput` via: +// +// GetConnectionAccountArgs{...} +type GetConnectionAccountInput interface { + pulumi.Input -func (i GetConnectionASideAccessPointArgs) ToGetConnectionASideAccessPointOutputWithContext(ctx context.Context) GetConnectionASideAccessPointOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointOutput) + ToGetConnectionAccountOutput() GetConnectionAccountOutput + ToGetConnectionAccountOutputWithContext(context.Context) GetConnectionAccountOutput } -type GetConnectionASideAccessPointOutput struct{ *pulumi.OutputState } - -func (GetConnectionASideAccessPointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPoint)(nil)).Elem() +type GetConnectionAccountArgs struct { + AccountName pulumi.StringInput `pulumi:"accountName"` + AccountNumber pulumi.IntInput `pulumi:"accountNumber"` + GlobalCustId pulumi.StringInput `pulumi:"globalCustId"` + GlobalOrgId pulumi.StringInput `pulumi:"globalOrgId"` + GlobalOrganizationName pulumi.StringInput `pulumi:"globalOrganizationName"` + OrgId pulumi.IntInput `pulumi:"orgId"` + OrganizationName pulumi.StringInput `pulumi:"organizationName"` } -func (o GetConnectionASideAccessPointOutput) ToGetConnectionASideAccessPointOutput() GetConnectionASideAccessPointOutput { - return o +func (GetConnectionAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionAccount)(nil)).Elem() } -func (o GetConnectionASideAccessPointOutput) ToGetConnectionASideAccessPointOutputWithContext(ctx context.Context) GetConnectionASideAccessPointOutput { - return o +func (i GetConnectionAccountArgs) ToGetConnectionAccountOutput() GetConnectionAccountOutput { + return i.ToGetConnectionAccountOutputWithContext(context.Background()) } -// Customer account information that is associated with this connection -func (o GetConnectionASideAccessPointOutput) Accounts() GetConnectionASideAccessPointAccountArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointAccount { return v.Accounts }).(GetConnectionASideAccessPointAccountArrayOutput) +func (i GetConnectionAccountArgs) ToGetConnectionAccountOutputWithContext(ctx context.Context) GetConnectionAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionAccountOutput) } -func (o GetConnectionASideAccessPointOutput) AuthenticationKey() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPoint) string { return v.AuthenticationKey }).(pulumi.StringOutput) +func (i GetConnectionAccountArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionAccount] { + return pulumix.Output[GetConnectionAccount]{ + OutputState: i.ToGetConnectionAccountOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionASideAccessPointOutput) Gateways() GetConnectionASideAccessPointGatewayArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointGateway { return v.Gateways }).(GetConnectionASideAccessPointGatewayArrayOutput) +type GetConnectionAccountOutput struct{ *pulumi.OutputState } + +func (GetConnectionAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionAccount)(nil)).Elem() } -func (o GetConnectionASideAccessPointOutput) Interfaces() GetConnectionASideAccessPointInterfaceArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointInterface { return v.Interfaces }).(GetConnectionASideAccessPointInterfaceArrayOutput) +func (o GetConnectionAccountOutput) ToGetConnectionAccountOutput() GetConnectionAccountOutput { + return o } -func (o GetConnectionASideAccessPointOutput) LinkProtocols() GetConnectionASideAccessPointLinkProtocolArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointLinkProtocol { - return v.LinkProtocols - }).(GetConnectionASideAccessPointLinkProtocolArrayOutput) +func (o GetConnectionAccountOutput) ToGetConnectionAccountOutputWithContext(ctx context.Context) GetConnectionAccountOutput { + return o } -func (o GetConnectionASideAccessPointOutput) Locations() GetConnectionASideAccessPointLocationArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointLocation { return v.Locations }).(GetConnectionASideAccessPointLocationArrayOutput) +func (o GetConnectionAccountOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionAccount] { + return pulumix.Output[GetConnectionAccount]{ + OutputState: o.OutputState, + } } -func (o GetConnectionASideAccessPointOutput) PeeringType() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPoint) string { return v.PeeringType }).(pulumi.StringOutput) +func (o GetConnectionAccountOutput) AccountName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionAccount) string { return v.AccountName }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointOutput) Ports() GetConnectionASideAccessPointPortArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointPort { return v.Ports }).(GetConnectionASideAccessPointPortArrayOutput) +func (o GetConnectionAccountOutput) AccountNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionAccount) int { return v.AccountNumber }).(pulumi.IntOutput) } -func (o GetConnectionASideAccessPointOutput) Profiles() GetConnectionASideAccessPointProfileArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointProfile { return v.Profiles }).(GetConnectionASideAccessPointProfileArrayOutput) +func (o GetConnectionAccountOutput) GlobalCustId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionAccount) string { return v.GlobalCustId }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointOutput) ProviderConnectionId() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPoint) string { return v.ProviderConnectionId }).(pulumi.StringOutput) +func (o GetConnectionAccountOutput) GlobalOrgId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionAccount) string { return v.GlobalOrgId }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointOutput) SellerRegion() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPoint) string { return v.SellerRegion }).(pulumi.StringOutput) +func (o GetConnectionAccountOutput) GlobalOrganizationName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionAccount) string { return v.GlobalOrganizationName }).(pulumi.StringOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionASideAccessPointOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPoint) string { return v.Type }).(pulumi.StringOutput) +func (o GetConnectionAccountOutput) OrgId() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionAccount) int { return v.OrgId }).(pulumi.IntOutput) } -func (o GetConnectionASideAccessPointOutput) VirtualDevices() GetConnectionASideAccessPointVirtualDeviceArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPoint) []GetConnectionASideAccessPointVirtualDevice { - return v.VirtualDevices - }).(GetConnectionASideAccessPointVirtualDeviceArrayOutput) +func (o GetConnectionAccountOutput) OrganizationName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionAccount) string { return v.OrganizationName }).(pulumi.StringOutput) } -type GetConnectionASideAccessPointAccount struct { - AccountName string `pulumi:"accountName"` - AccountNumber int `pulumi:"accountNumber"` - GlobalCustId string `pulumi:"globalCustId"` - GlobalOrgId string `pulumi:"globalOrgId"` - GlobalOrganizationName string `pulumi:"globalOrganizationName"` - OrgId int `pulumi:"orgId"` - OrganizationName string `pulumi:"organizationName"` +type GetConnectionAdditionalInfo struct { + Key string `pulumi:"key"` + Value string `pulumi:"value"` } -// GetConnectionASideAccessPointAccountInput is an input type that accepts GetConnectionASideAccessPointAccountArgs and GetConnectionASideAccessPointAccountOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointAccountInput` via: +// GetConnectionAdditionalInfoInput is an input type that accepts GetConnectionAdditionalInfoArgs and GetConnectionAdditionalInfoOutput values. +// You can construct a concrete instance of `GetConnectionAdditionalInfoInput` via: // -// GetConnectionASideAccessPointAccountArgs{...} -type GetConnectionASideAccessPointAccountInput interface { +// GetConnectionAdditionalInfoArgs{...} +type GetConnectionAdditionalInfoInput interface { pulumi.Input - ToGetConnectionASideAccessPointAccountOutput() GetConnectionASideAccessPointAccountOutput - ToGetConnectionASideAccessPointAccountOutputWithContext(context.Context) GetConnectionASideAccessPointAccountOutput + ToGetConnectionAdditionalInfoOutput() GetConnectionAdditionalInfoOutput + ToGetConnectionAdditionalInfoOutputWithContext(context.Context) GetConnectionAdditionalInfoOutput } -type GetConnectionASideAccessPointAccountArgs struct { - AccountName pulumi.StringInput `pulumi:"accountName"` - AccountNumber pulumi.IntInput `pulumi:"accountNumber"` - GlobalCustId pulumi.StringInput `pulumi:"globalCustId"` - GlobalOrgId pulumi.StringInput `pulumi:"globalOrgId"` - GlobalOrganizationName pulumi.StringInput `pulumi:"globalOrganizationName"` - OrgId pulumi.IntInput `pulumi:"orgId"` - OrganizationName pulumi.StringInput `pulumi:"organizationName"` +type GetConnectionAdditionalInfoArgs struct { + Key pulumi.StringInput `pulumi:"key"` + Value pulumi.StringInput `pulumi:"value"` } -func (GetConnectionASideAccessPointAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointAccount)(nil)).Elem() +func (GetConnectionAdditionalInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionAdditionalInfo)(nil)).Elem() } -func (i GetConnectionASideAccessPointAccountArgs) ToGetConnectionASideAccessPointAccountOutput() GetConnectionASideAccessPointAccountOutput { - return i.ToGetConnectionASideAccessPointAccountOutputWithContext(context.Background()) +func (i GetConnectionAdditionalInfoArgs) ToGetConnectionAdditionalInfoOutput() GetConnectionAdditionalInfoOutput { + return i.ToGetConnectionAdditionalInfoOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointAccountArgs) ToGetConnectionASideAccessPointAccountOutputWithContext(ctx context.Context) GetConnectionASideAccessPointAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointAccountOutput) +func (i GetConnectionAdditionalInfoArgs) ToGetConnectionAdditionalInfoOutputWithContext(ctx context.Context) GetConnectionAdditionalInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionAdditionalInfoOutput) } -// GetConnectionASideAccessPointAccountArrayInput is an input type that accepts GetConnectionASideAccessPointAccountArray and GetConnectionASideAccessPointAccountArrayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointAccountArrayInput` via: +func (i GetConnectionAdditionalInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionAdditionalInfo] { + return pulumix.Output[GetConnectionAdditionalInfo]{ + OutputState: i.ToGetConnectionAdditionalInfoOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionAdditionalInfoArrayInput is an input type that accepts GetConnectionAdditionalInfoArray and GetConnectionAdditionalInfoArrayOutput values. +// You can construct a concrete instance of `GetConnectionAdditionalInfoArrayInput` via: // -// GetConnectionASideAccessPointAccountArray{ GetConnectionASideAccessPointAccountArgs{...} } -type GetConnectionASideAccessPointAccountArrayInput interface { +// GetConnectionAdditionalInfoArray{ GetConnectionAdditionalInfoArgs{...} } +type GetConnectionAdditionalInfoArrayInput interface { pulumi.Input - ToGetConnectionASideAccessPointAccountArrayOutput() GetConnectionASideAccessPointAccountArrayOutput - ToGetConnectionASideAccessPointAccountArrayOutputWithContext(context.Context) GetConnectionASideAccessPointAccountArrayOutput + ToGetConnectionAdditionalInfoArrayOutput() GetConnectionAdditionalInfoArrayOutput + ToGetConnectionAdditionalInfoArrayOutputWithContext(context.Context) GetConnectionAdditionalInfoArrayOutput } -type GetConnectionASideAccessPointAccountArray []GetConnectionASideAccessPointAccountInput +type GetConnectionAdditionalInfoArray []GetConnectionAdditionalInfoInput -func (GetConnectionASideAccessPointAccountArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointAccount)(nil)).Elem() +func (GetConnectionAdditionalInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionAdditionalInfo)(nil)).Elem() } -func (i GetConnectionASideAccessPointAccountArray) ToGetConnectionASideAccessPointAccountArrayOutput() GetConnectionASideAccessPointAccountArrayOutput { - return i.ToGetConnectionASideAccessPointAccountArrayOutputWithContext(context.Background()) +func (i GetConnectionAdditionalInfoArray) ToGetConnectionAdditionalInfoArrayOutput() GetConnectionAdditionalInfoArrayOutput { + return i.ToGetConnectionAdditionalInfoArrayOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointAccountArray) ToGetConnectionASideAccessPointAccountArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointAccountArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointAccountArrayOutput) +func (i GetConnectionAdditionalInfoArray) ToGetConnectionAdditionalInfoArrayOutputWithContext(ctx context.Context) GetConnectionAdditionalInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionAdditionalInfoArrayOutput) } -type GetConnectionASideAccessPointAccountOutput struct{ *pulumi.OutputState } - -func (GetConnectionASideAccessPointAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointAccount)(nil)).Elem() +func (i GetConnectionAdditionalInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionAdditionalInfo] { + return pulumix.Output[[]GetConnectionAdditionalInfo]{ + OutputState: i.ToGetConnectionAdditionalInfoArrayOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionASideAccessPointAccountOutput) ToGetConnectionASideAccessPointAccountOutput() GetConnectionASideAccessPointAccountOutput { - return o -} +type GetConnectionAdditionalInfoOutput struct{ *pulumi.OutputState } -func (o GetConnectionASideAccessPointAccountOutput) ToGetConnectionASideAccessPointAccountOutputWithContext(ctx context.Context) GetConnectionASideAccessPointAccountOutput { - return o +func (GetConnectionAdditionalInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionAdditionalInfo)(nil)).Elem() } -func (o GetConnectionASideAccessPointAccountOutput) AccountName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointAccount) string { return v.AccountName }).(pulumi.StringOutput) +func (o GetConnectionAdditionalInfoOutput) ToGetConnectionAdditionalInfoOutput() GetConnectionAdditionalInfoOutput { + return o } -func (o GetConnectionASideAccessPointAccountOutput) AccountNumber() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointAccount) int { return v.AccountNumber }).(pulumi.IntOutput) +func (o GetConnectionAdditionalInfoOutput) ToGetConnectionAdditionalInfoOutputWithContext(ctx context.Context) GetConnectionAdditionalInfoOutput { + return o } -func (o GetConnectionASideAccessPointAccountOutput) GlobalCustId() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointAccount) string { return v.GlobalCustId }).(pulumi.StringOutput) +func (o GetConnectionAdditionalInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionAdditionalInfo] { + return pulumix.Output[GetConnectionAdditionalInfo]{ + OutputState: o.OutputState, + } } -func (o GetConnectionASideAccessPointAccountOutput) GlobalOrgId() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointAccount) string { return v.GlobalOrgId }).(pulumi.StringOutput) +func (o GetConnectionAdditionalInfoOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionAdditionalInfo) string { return v.Key }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointAccountOutput) GlobalOrganizationName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointAccount) string { return v.GlobalOrganizationName }).(pulumi.StringOutput) +func (o GetConnectionAdditionalInfoOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionAdditionalInfo) string { return v.Value }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointAccountOutput) OrgId() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointAccount) int { return v.OrgId }).(pulumi.IntOutput) -} +type GetConnectionAdditionalInfoArrayOutput struct{ *pulumi.OutputState } -func (o GetConnectionASideAccessPointAccountOutput) OrganizationName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointAccount) string { return v.OrganizationName }).(pulumi.StringOutput) +func (GetConnectionAdditionalInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionAdditionalInfo)(nil)).Elem() } -type GetConnectionASideAccessPointAccountArrayOutput struct{ *pulumi.OutputState } - -func (GetConnectionASideAccessPointAccountArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointAccount)(nil)).Elem() +func (o GetConnectionAdditionalInfoArrayOutput) ToGetConnectionAdditionalInfoArrayOutput() GetConnectionAdditionalInfoArrayOutput { + return o } -func (o GetConnectionASideAccessPointAccountArrayOutput) ToGetConnectionASideAccessPointAccountArrayOutput() GetConnectionASideAccessPointAccountArrayOutput { +func (o GetConnectionAdditionalInfoArrayOutput) ToGetConnectionAdditionalInfoArrayOutputWithContext(ctx context.Context) GetConnectionAdditionalInfoArrayOutput { return o } -func (o GetConnectionASideAccessPointAccountArrayOutput) ToGetConnectionASideAccessPointAccountArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointAccountArrayOutput { - return o +func (o GetConnectionAdditionalInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionAdditionalInfo] { + return pulumix.Output[[]GetConnectionAdditionalInfo]{ + OutputState: o.OutputState, + } } -func (o GetConnectionASideAccessPointAccountArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointAccountOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointAccount { - return vs[0].([]GetConnectionASideAccessPointAccount)[vs[1].(int)] - }).(GetConnectionASideAccessPointAccountOutput) +func (o GetConnectionAdditionalInfoArrayOutput) Index(i pulumi.IntInput) GetConnectionAdditionalInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionAdditionalInfo { + return vs[0].([]GetConnectionAdditionalInfo)[vs[1].(int)] + }).(GetConnectionAdditionalInfoOutput) } -type GetConnectionASideAccessPointGateway struct { - // Connection URI information - Href string `pulumi:"href"` - // Connection overall state - State string `pulumi:"state"` - // Equinix-assigned connection identifier - Uuid string `pulumi:"uuid"` +type GetConnectionChangeLog struct { + CreatedBy string `pulumi:"createdBy"` + CreatedByEmail string `pulumi:"createdByEmail"` + CreatedByFullName string `pulumi:"createdByFullName"` + CreatedDateTime string `pulumi:"createdDateTime"` + DeletedBy string `pulumi:"deletedBy"` + DeletedByEmail string `pulumi:"deletedByEmail"` + DeletedByFullName string `pulumi:"deletedByFullName"` + DeletedDateTime string `pulumi:"deletedDateTime"` + UpdatedBy string `pulumi:"updatedBy"` + UpdatedByEmail string `pulumi:"updatedByEmail"` + UpdatedByFullName string `pulumi:"updatedByFullName"` + UpdatedDateTime string `pulumi:"updatedDateTime"` } -// GetConnectionASideAccessPointGatewayInput is an input type that accepts GetConnectionASideAccessPointGatewayArgs and GetConnectionASideAccessPointGatewayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointGatewayInput` via: +// GetConnectionChangeLogInput is an input type that accepts GetConnectionChangeLogArgs and GetConnectionChangeLogOutput values. +// You can construct a concrete instance of `GetConnectionChangeLogInput` via: // -// GetConnectionASideAccessPointGatewayArgs{...} -type GetConnectionASideAccessPointGatewayInput interface { +// GetConnectionChangeLogArgs{...} +type GetConnectionChangeLogInput interface { pulumi.Input - ToGetConnectionASideAccessPointGatewayOutput() GetConnectionASideAccessPointGatewayOutput - ToGetConnectionASideAccessPointGatewayOutputWithContext(context.Context) GetConnectionASideAccessPointGatewayOutput + ToGetConnectionChangeLogOutput() GetConnectionChangeLogOutput + ToGetConnectionChangeLogOutputWithContext(context.Context) GetConnectionChangeLogOutput } -type GetConnectionASideAccessPointGatewayArgs struct { - // Connection URI information - Href pulumi.StringInput `pulumi:"href"` - // Connection overall state - State pulumi.StringInput `pulumi:"state"` - // Equinix-assigned connection identifier - Uuid pulumi.StringInput `pulumi:"uuid"` +type GetConnectionChangeLogArgs struct { + CreatedBy pulumi.StringInput `pulumi:"createdBy"` + CreatedByEmail pulumi.StringInput `pulumi:"createdByEmail"` + CreatedByFullName pulumi.StringInput `pulumi:"createdByFullName"` + CreatedDateTime pulumi.StringInput `pulumi:"createdDateTime"` + DeletedBy pulumi.StringInput `pulumi:"deletedBy"` + DeletedByEmail pulumi.StringInput `pulumi:"deletedByEmail"` + DeletedByFullName pulumi.StringInput `pulumi:"deletedByFullName"` + DeletedDateTime pulumi.StringInput `pulumi:"deletedDateTime"` + UpdatedBy pulumi.StringInput `pulumi:"updatedBy"` + UpdatedByEmail pulumi.StringInput `pulumi:"updatedByEmail"` + UpdatedByFullName pulumi.StringInput `pulumi:"updatedByFullName"` + UpdatedDateTime pulumi.StringInput `pulumi:"updatedDateTime"` +} + +func (GetConnectionChangeLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionChangeLog)(nil)).Elem() } -func (GetConnectionASideAccessPointGatewayArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointGateway)(nil)).Elem() +func (i GetConnectionChangeLogArgs) ToGetConnectionChangeLogOutput() GetConnectionChangeLogOutput { + return i.ToGetConnectionChangeLogOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointGatewayArgs) ToGetConnectionASideAccessPointGatewayOutput() GetConnectionASideAccessPointGatewayOutput { - return i.ToGetConnectionASideAccessPointGatewayOutputWithContext(context.Background()) +func (i GetConnectionChangeLogArgs) ToGetConnectionChangeLogOutputWithContext(ctx context.Context) GetConnectionChangeLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionChangeLogOutput) } -func (i GetConnectionASideAccessPointGatewayArgs) ToGetConnectionASideAccessPointGatewayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointGatewayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointGatewayOutput) +func (i GetConnectionChangeLogArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionChangeLog] { + return pulumix.Output[GetConnectionChangeLog]{ + OutputState: i.ToGetConnectionChangeLogOutputWithContext(ctx).OutputState, + } } -// GetConnectionASideAccessPointGatewayArrayInput is an input type that accepts GetConnectionASideAccessPointGatewayArray and GetConnectionASideAccessPointGatewayArrayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointGatewayArrayInput` via: -// -// GetConnectionASideAccessPointGatewayArray{ GetConnectionASideAccessPointGatewayArgs{...} } -type GetConnectionASideAccessPointGatewayArrayInput interface { - pulumi.Input +type GetConnectionChangeLogOutput struct{ *pulumi.OutputState } - ToGetConnectionASideAccessPointGatewayArrayOutput() GetConnectionASideAccessPointGatewayArrayOutput - ToGetConnectionASideAccessPointGatewayArrayOutputWithContext(context.Context) GetConnectionASideAccessPointGatewayArrayOutput +func (GetConnectionChangeLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionChangeLog)(nil)).Elem() } -type GetConnectionASideAccessPointGatewayArray []GetConnectionASideAccessPointGatewayInput - -func (GetConnectionASideAccessPointGatewayArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointGateway)(nil)).Elem() +func (o GetConnectionChangeLogOutput) ToGetConnectionChangeLogOutput() GetConnectionChangeLogOutput { + return o } -func (i GetConnectionASideAccessPointGatewayArray) ToGetConnectionASideAccessPointGatewayArrayOutput() GetConnectionASideAccessPointGatewayArrayOutput { - return i.ToGetConnectionASideAccessPointGatewayArrayOutputWithContext(context.Background()) +func (o GetConnectionChangeLogOutput) ToGetConnectionChangeLogOutputWithContext(ctx context.Context) GetConnectionChangeLogOutput { + return o } -func (i GetConnectionASideAccessPointGatewayArray) ToGetConnectionASideAccessPointGatewayArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointGatewayArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointGatewayArrayOutput) +func (o GetConnectionChangeLogOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionChangeLog] { + return pulumix.Output[GetConnectionChangeLog]{ + OutputState: o.OutputState, + } } -type GetConnectionASideAccessPointGatewayOutput struct{ *pulumi.OutputState } +func (o GetConnectionChangeLogOutput) CreatedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionChangeLog) string { return v.CreatedBy }).(pulumi.StringOutput) +} -func (GetConnectionASideAccessPointGatewayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointGateway)(nil)).Elem() +func (o GetConnectionChangeLogOutput) CreatedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionChangeLog) string { return v.CreatedByEmail }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointGatewayOutput) ToGetConnectionASideAccessPointGatewayOutput() GetConnectionASideAccessPointGatewayOutput { - return o +func (o GetConnectionChangeLogOutput) CreatedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionChangeLog) string { return v.CreatedByFullName }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointGatewayOutput) ToGetConnectionASideAccessPointGatewayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointGatewayOutput { - return o +func (o GetConnectionChangeLogOutput) CreatedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionChangeLog) string { return v.CreatedDateTime }).(pulumi.StringOutput) } -// Connection URI information -func (o GetConnectionASideAccessPointGatewayOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointGateway) string { return v.Href }).(pulumi.StringOutput) +func (o GetConnectionChangeLogOutput) DeletedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionChangeLog) string { return v.DeletedBy }).(pulumi.StringOutput) } -// Connection overall state -func (o GetConnectionASideAccessPointGatewayOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointGateway) string { return v.State }).(pulumi.StringOutput) +func (o GetConnectionChangeLogOutput) DeletedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionChangeLog) string { return v.DeletedByEmail }).(pulumi.StringOutput) } -// Equinix-assigned connection identifier -func (o GetConnectionASideAccessPointGatewayOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointGateway) string { return v.Uuid }).(pulumi.StringOutput) +func (o GetConnectionChangeLogOutput) DeletedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionChangeLog) string { return v.DeletedByFullName }).(pulumi.StringOutput) } -type GetConnectionASideAccessPointGatewayArrayOutput struct{ *pulumi.OutputState } +func (o GetConnectionChangeLogOutput) DeletedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionChangeLog) string { return v.DeletedDateTime }).(pulumi.StringOutput) +} -func (GetConnectionASideAccessPointGatewayArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointGateway)(nil)).Elem() +func (o GetConnectionChangeLogOutput) UpdatedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionChangeLog) string { return v.UpdatedBy }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointGatewayArrayOutput) ToGetConnectionASideAccessPointGatewayArrayOutput() GetConnectionASideAccessPointGatewayArrayOutput { - return o +func (o GetConnectionChangeLogOutput) UpdatedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionChangeLog) string { return v.UpdatedByEmail }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointGatewayArrayOutput) ToGetConnectionASideAccessPointGatewayArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointGatewayArrayOutput { - return o +func (o GetConnectionChangeLogOutput) UpdatedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionChangeLog) string { return v.UpdatedByFullName }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointGatewayArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointGatewayOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointGateway { - return vs[0].([]GetConnectionASideAccessPointGateway)[vs[1].(int)] - }).(GetConnectionASideAccessPointGatewayOutput) +func (o GetConnectionChangeLogOutput) UpdatedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionChangeLog) string { return v.UpdatedDateTime }).(pulumi.StringOutput) } -type GetConnectionASideAccessPointInterface struct { - // The ID of this resource. - Id string `pulumi:"id"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid string `pulumi:"uuid"` +type GetConnectionNotification struct { + Emails []string `pulumi:"emails"` + SendInterval string `pulumi:"sendInterval"` + Type string `pulumi:"type"` } -// GetConnectionASideAccessPointInterfaceInput is an input type that accepts GetConnectionASideAccessPointInterfaceArgs and GetConnectionASideAccessPointInterfaceOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointInterfaceInput` via: +// GetConnectionNotificationInput is an input type that accepts GetConnectionNotificationArgs and GetConnectionNotificationOutput values. +// You can construct a concrete instance of `GetConnectionNotificationInput` via: // -// GetConnectionASideAccessPointInterfaceArgs{...} -type GetConnectionASideAccessPointInterfaceInput interface { +// GetConnectionNotificationArgs{...} +type GetConnectionNotificationInput interface { pulumi.Input - ToGetConnectionASideAccessPointInterfaceOutput() GetConnectionASideAccessPointInterfaceOutput - ToGetConnectionASideAccessPointInterfaceOutputWithContext(context.Context) GetConnectionASideAccessPointInterfaceOutput + ToGetConnectionNotificationOutput() GetConnectionNotificationOutput + ToGetConnectionNotificationOutputWithContext(context.Context) GetConnectionNotificationOutput } -type GetConnectionASideAccessPointInterfaceArgs struct { - // The ID of this resource. - Id pulumi.StringInput `pulumi:"id"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid pulumi.StringInput `pulumi:"uuid"` +type GetConnectionNotificationArgs struct { + Emails pulumi.StringArrayInput `pulumi:"emails"` + SendInterval pulumi.StringInput `pulumi:"sendInterval"` + Type pulumi.StringInput `pulumi:"type"` } -func (GetConnectionASideAccessPointInterfaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointInterface)(nil)).Elem() +func (GetConnectionNotificationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionNotification)(nil)).Elem() } -func (i GetConnectionASideAccessPointInterfaceArgs) ToGetConnectionASideAccessPointInterfaceOutput() GetConnectionASideAccessPointInterfaceOutput { - return i.ToGetConnectionASideAccessPointInterfaceOutputWithContext(context.Background()) +func (i GetConnectionNotificationArgs) ToGetConnectionNotificationOutput() GetConnectionNotificationOutput { + return i.ToGetConnectionNotificationOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointInterfaceArgs) ToGetConnectionASideAccessPointInterfaceOutputWithContext(ctx context.Context) GetConnectionASideAccessPointInterfaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointInterfaceOutput) +func (i GetConnectionNotificationArgs) ToGetConnectionNotificationOutputWithContext(ctx context.Context) GetConnectionNotificationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionNotificationOutput) } -// GetConnectionASideAccessPointInterfaceArrayInput is an input type that accepts GetConnectionASideAccessPointInterfaceArray and GetConnectionASideAccessPointInterfaceArrayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointInterfaceArrayInput` via: +func (i GetConnectionNotificationArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionNotification] { + return pulumix.Output[GetConnectionNotification]{ + OutputState: i.ToGetConnectionNotificationOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionNotificationArrayInput is an input type that accepts GetConnectionNotificationArray and GetConnectionNotificationArrayOutput values. +// You can construct a concrete instance of `GetConnectionNotificationArrayInput` via: // -// GetConnectionASideAccessPointInterfaceArray{ GetConnectionASideAccessPointInterfaceArgs{...} } -type GetConnectionASideAccessPointInterfaceArrayInput interface { +// GetConnectionNotificationArray{ GetConnectionNotificationArgs{...} } +type GetConnectionNotificationArrayInput interface { pulumi.Input - ToGetConnectionASideAccessPointInterfaceArrayOutput() GetConnectionASideAccessPointInterfaceArrayOutput - ToGetConnectionASideAccessPointInterfaceArrayOutputWithContext(context.Context) GetConnectionASideAccessPointInterfaceArrayOutput + ToGetConnectionNotificationArrayOutput() GetConnectionNotificationArrayOutput + ToGetConnectionNotificationArrayOutputWithContext(context.Context) GetConnectionNotificationArrayOutput } -type GetConnectionASideAccessPointInterfaceArray []GetConnectionASideAccessPointInterfaceInput +type GetConnectionNotificationArray []GetConnectionNotificationInput -func (GetConnectionASideAccessPointInterfaceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointInterface)(nil)).Elem() +func (GetConnectionNotificationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionNotification)(nil)).Elem() } -func (i GetConnectionASideAccessPointInterfaceArray) ToGetConnectionASideAccessPointInterfaceArrayOutput() GetConnectionASideAccessPointInterfaceArrayOutput { - return i.ToGetConnectionASideAccessPointInterfaceArrayOutputWithContext(context.Background()) +func (i GetConnectionNotificationArray) ToGetConnectionNotificationArrayOutput() GetConnectionNotificationArrayOutput { + return i.ToGetConnectionNotificationArrayOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointInterfaceArray) ToGetConnectionASideAccessPointInterfaceArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointInterfaceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointInterfaceArrayOutput) +func (i GetConnectionNotificationArray) ToGetConnectionNotificationArrayOutputWithContext(ctx context.Context) GetConnectionNotificationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionNotificationArrayOutput) } -type GetConnectionASideAccessPointInterfaceOutput struct{ *pulumi.OutputState } - -func (GetConnectionASideAccessPointInterfaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointInterface)(nil)).Elem() +func (i GetConnectionNotificationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionNotification] { + return pulumix.Output[[]GetConnectionNotification]{ + OutputState: i.ToGetConnectionNotificationArrayOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionASideAccessPointInterfaceOutput) ToGetConnectionASideAccessPointInterfaceOutput() GetConnectionASideAccessPointInterfaceOutput { - return o -} +type GetConnectionNotificationOutput struct{ *pulumi.OutputState } -func (o GetConnectionASideAccessPointInterfaceOutput) ToGetConnectionASideAccessPointInterfaceOutputWithContext(ctx context.Context) GetConnectionASideAccessPointInterfaceOutput { - return o +func (GetConnectionNotificationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionNotification)(nil)).Elem() } -// The ID of this resource. -func (o GetConnectionASideAccessPointInterfaceOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointInterface) string { return v.Id }).(pulumi.StringOutput) +func (o GetConnectionNotificationOutput) ToGetConnectionNotificationOutput() GetConnectionNotificationOutput { + return o } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionASideAccessPointInterfaceOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointInterface) string { return v.Type }).(pulumi.StringOutput) +func (o GetConnectionNotificationOutput) ToGetConnectionNotificationOutputWithContext(ctx context.Context) GetConnectionNotificationOutput { + return o } -// Equinix-assigned connection identifier -func (o GetConnectionASideAccessPointInterfaceOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointInterface) string { return v.Uuid }).(pulumi.StringOutput) +func (o GetConnectionNotificationOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionNotification] { + return pulumix.Output[GetConnectionNotification]{ + OutputState: o.OutputState, + } } -type GetConnectionASideAccessPointInterfaceArrayOutput struct{ *pulumi.OutputState } - -func (GetConnectionASideAccessPointInterfaceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointInterface)(nil)).Elem() +func (o GetConnectionNotificationOutput) Emails() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetConnectionNotification) []string { return v.Emails }).(pulumi.StringArrayOutput) } -func (o GetConnectionASideAccessPointInterfaceArrayOutput) ToGetConnectionASideAccessPointInterfaceArrayOutput() GetConnectionASideAccessPointInterfaceArrayOutput { - return o +func (o GetConnectionNotificationOutput) SendInterval() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionNotification) string { return v.SendInterval }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointInterfaceArrayOutput) ToGetConnectionASideAccessPointInterfaceArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointInterfaceArrayOutput { - return o +func (o GetConnectionNotificationOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionNotification) string { return v.Type }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointInterfaceArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointInterfaceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointInterface { - return vs[0].([]GetConnectionASideAccessPointInterface)[vs[1].(int)] - }).(GetConnectionASideAccessPointInterfaceOutput) -} +type GetConnectionNotificationArrayOutput struct{ *pulumi.OutputState } -type GetConnectionASideAccessPointLinkProtocol struct { - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - VlanCTag int `pulumi:"vlanCTag"` - VlanSTag int `pulumi:"vlanSTag"` - VlanTag int `pulumi:"vlanTag"` +func (GetConnectionNotificationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionNotification)(nil)).Elem() } -// GetConnectionASideAccessPointLinkProtocolInput is an input type that accepts GetConnectionASideAccessPointLinkProtocolArgs and GetConnectionASideAccessPointLinkProtocolOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointLinkProtocolInput` via: -// -// GetConnectionASideAccessPointLinkProtocolArgs{...} -type GetConnectionASideAccessPointLinkProtocolInput interface { - pulumi.Input - - ToGetConnectionASideAccessPointLinkProtocolOutput() GetConnectionASideAccessPointLinkProtocolOutput - ToGetConnectionASideAccessPointLinkProtocolOutputWithContext(context.Context) GetConnectionASideAccessPointLinkProtocolOutput +func (o GetConnectionNotificationArrayOutput) ToGetConnectionNotificationArrayOutput() GetConnectionNotificationArrayOutput { + return o } -type GetConnectionASideAccessPointLinkProtocolArgs struct { - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - VlanCTag pulumi.IntInput `pulumi:"vlanCTag"` - VlanSTag pulumi.IntInput `pulumi:"vlanSTag"` - VlanTag pulumi.IntInput `pulumi:"vlanTag"` +func (o GetConnectionNotificationArrayOutput) ToGetConnectionNotificationArrayOutputWithContext(ctx context.Context) GetConnectionNotificationArrayOutput { + return o } -func (GetConnectionASideAccessPointLinkProtocolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointLinkProtocol)(nil)).Elem() +func (o GetConnectionNotificationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionNotification] { + return pulumix.Output[[]GetConnectionNotification]{ + OutputState: o.OutputState, + } } -func (i GetConnectionASideAccessPointLinkProtocolArgs) ToGetConnectionASideAccessPointLinkProtocolOutput() GetConnectionASideAccessPointLinkProtocolOutput { - return i.ToGetConnectionASideAccessPointLinkProtocolOutputWithContext(context.Background()) +func (o GetConnectionNotificationArrayOutput) Index(i pulumi.IntInput) GetConnectionNotificationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionNotification { + return vs[0].([]GetConnectionNotification)[vs[1].(int)] + }).(GetConnectionNotificationOutput) } -func (i GetConnectionASideAccessPointLinkProtocolArgs) ToGetConnectionASideAccessPointLinkProtocolOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLinkProtocolOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointLinkProtocolOutput) +type GetConnectionOperation struct { + EquinixStatus string `pulumi:"equinixStatus"` + Errors []GetConnectionOperationError `pulumi:"errors"` + ProviderStatus string `pulumi:"providerStatus"` } -// GetConnectionASideAccessPointLinkProtocolArrayInput is an input type that accepts GetConnectionASideAccessPointLinkProtocolArray and GetConnectionASideAccessPointLinkProtocolArrayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointLinkProtocolArrayInput` via: +// GetConnectionOperationInput is an input type that accepts GetConnectionOperationArgs and GetConnectionOperationOutput values. +// You can construct a concrete instance of `GetConnectionOperationInput` via: // -// GetConnectionASideAccessPointLinkProtocolArray{ GetConnectionASideAccessPointLinkProtocolArgs{...} } -type GetConnectionASideAccessPointLinkProtocolArrayInput interface { +// GetConnectionOperationArgs{...} +type GetConnectionOperationInput interface { pulumi.Input - ToGetConnectionASideAccessPointLinkProtocolArrayOutput() GetConnectionASideAccessPointLinkProtocolArrayOutput - ToGetConnectionASideAccessPointLinkProtocolArrayOutputWithContext(context.Context) GetConnectionASideAccessPointLinkProtocolArrayOutput -} - -type GetConnectionASideAccessPointLinkProtocolArray []GetConnectionASideAccessPointLinkProtocolInput - -func (GetConnectionASideAccessPointLinkProtocolArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointLinkProtocol)(nil)).Elem() + ToGetConnectionOperationOutput() GetConnectionOperationOutput + ToGetConnectionOperationOutputWithContext(context.Context) GetConnectionOperationOutput } -func (i GetConnectionASideAccessPointLinkProtocolArray) ToGetConnectionASideAccessPointLinkProtocolArrayOutput() GetConnectionASideAccessPointLinkProtocolArrayOutput { - return i.ToGetConnectionASideAccessPointLinkProtocolArrayOutputWithContext(context.Background()) +type GetConnectionOperationArgs struct { + EquinixStatus pulumi.StringInput `pulumi:"equinixStatus"` + Errors GetConnectionOperationErrorArrayInput `pulumi:"errors"` + ProviderStatus pulumi.StringInput `pulumi:"providerStatus"` } -func (i GetConnectionASideAccessPointLinkProtocolArray) ToGetConnectionASideAccessPointLinkProtocolArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLinkProtocolArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointLinkProtocolArrayOutput) +func (GetConnectionOperationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionOperation)(nil)).Elem() } -type GetConnectionASideAccessPointLinkProtocolOutput struct{ *pulumi.OutputState } - -func (GetConnectionASideAccessPointLinkProtocolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointLinkProtocol)(nil)).Elem() +func (i GetConnectionOperationArgs) ToGetConnectionOperationOutput() GetConnectionOperationOutput { + return i.ToGetConnectionOperationOutputWithContext(context.Background()) } -func (o GetConnectionASideAccessPointLinkProtocolOutput) ToGetConnectionASideAccessPointLinkProtocolOutput() GetConnectionASideAccessPointLinkProtocolOutput { - return o +func (i GetConnectionOperationArgs) ToGetConnectionOperationOutputWithContext(ctx context.Context) GetConnectionOperationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionOperationOutput) } -func (o GetConnectionASideAccessPointLinkProtocolOutput) ToGetConnectionASideAccessPointLinkProtocolOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLinkProtocolOutput { - return o +func (i GetConnectionOperationArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionOperation] { + return pulumix.Output[GetConnectionOperation]{ + OutputState: i.ToGetConnectionOperationOutputWithContext(ctx).OutputState, + } } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionASideAccessPointLinkProtocolOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointLinkProtocol) string { return v.Type }).(pulumi.StringOutput) -} +type GetConnectionOperationOutput struct{ *pulumi.OutputState } -func (o GetConnectionASideAccessPointLinkProtocolOutput) VlanCTag() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointLinkProtocol) int { return v.VlanCTag }).(pulumi.IntOutput) +func (GetConnectionOperationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionOperation)(nil)).Elem() } -func (o GetConnectionASideAccessPointLinkProtocolOutput) VlanSTag() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointLinkProtocol) int { return v.VlanSTag }).(pulumi.IntOutput) +func (o GetConnectionOperationOutput) ToGetConnectionOperationOutput() GetConnectionOperationOutput { + return o } -func (o GetConnectionASideAccessPointLinkProtocolOutput) VlanTag() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointLinkProtocol) int { return v.VlanTag }).(pulumi.IntOutput) +func (o GetConnectionOperationOutput) ToGetConnectionOperationOutputWithContext(ctx context.Context) GetConnectionOperationOutput { + return o } -type GetConnectionASideAccessPointLinkProtocolArrayOutput struct{ *pulumi.OutputState } - -func (GetConnectionASideAccessPointLinkProtocolArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointLinkProtocol)(nil)).Elem() +func (o GetConnectionOperationOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionOperation] { + return pulumix.Output[GetConnectionOperation]{ + OutputState: o.OutputState, + } } -func (o GetConnectionASideAccessPointLinkProtocolArrayOutput) ToGetConnectionASideAccessPointLinkProtocolArrayOutput() GetConnectionASideAccessPointLinkProtocolArrayOutput { - return o +func (o GetConnectionOperationOutput) EquinixStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOperation) string { return v.EquinixStatus }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointLinkProtocolArrayOutput) ToGetConnectionASideAccessPointLinkProtocolArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLinkProtocolArrayOutput { - return o +func (o GetConnectionOperationOutput) Errors() GetConnectionOperationErrorArrayOutput { + return o.ApplyT(func(v GetConnectionOperation) []GetConnectionOperationError { return v.Errors }).(GetConnectionOperationErrorArrayOutput) } -func (o GetConnectionASideAccessPointLinkProtocolArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointLinkProtocolOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointLinkProtocol { - return vs[0].([]GetConnectionASideAccessPointLinkProtocol)[vs[1].(int)] - }).(GetConnectionASideAccessPointLinkProtocolOutput) +func (o GetConnectionOperationOutput) ProviderStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOperation) string { return v.ProviderStatus }).(pulumi.StringOutput) } -type GetConnectionASideAccessPointLocation struct { - // Connection URI information - Href string `pulumi:"href"` - Ibx string `pulumi:"ibx"` - MetroCode string `pulumi:"metroCode"` - MetroName string `pulumi:"metroName"` - Region string `pulumi:"region"` +type GetConnectionOperationError struct { + AdditionalInfos []GetConnectionOperationErrorAdditionalInfo `pulumi:"additionalInfos"` + CorrelationId string `pulumi:"correlationId"` + Details string `pulumi:"details"` + ErrorCode string `pulumi:"errorCode"` + ErrorMessage string `pulumi:"errorMessage"` + Help string `pulumi:"help"` } -// GetConnectionASideAccessPointLocationInput is an input type that accepts GetConnectionASideAccessPointLocationArgs and GetConnectionASideAccessPointLocationOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointLocationInput` via: +// GetConnectionOperationErrorInput is an input type that accepts GetConnectionOperationErrorArgs and GetConnectionOperationErrorOutput values. +// You can construct a concrete instance of `GetConnectionOperationErrorInput` via: // -// GetConnectionASideAccessPointLocationArgs{...} -type GetConnectionASideAccessPointLocationInput interface { +// GetConnectionOperationErrorArgs{...} +type GetConnectionOperationErrorInput interface { pulumi.Input - ToGetConnectionASideAccessPointLocationOutput() GetConnectionASideAccessPointLocationOutput - ToGetConnectionASideAccessPointLocationOutputWithContext(context.Context) GetConnectionASideAccessPointLocationOutput + ToGetConnectionOperationErrorOutput() GetConnectionOperationErrorOutput + ToGetConnectionOperationErrorOutputWithContext(context.Context) GetConnectionOperationErrorOutput } -type GetConnectionASideAccessPointLocationArgs struct { - // Connection URI information - Href pulumi.StringInput `pulumi:"href"` - Ibx pulumi.StringInput `pulumi:"ibx"` - MetroCode pulumi.StringInput `pulumi:"metroCode"` - MetroName pulumi.StringInput `pulumi:"metroName"` - Region pulumi.StringInput `pulumi:"region"` +type GetConnectionOperationErrorArgs struct { + AdditionalInfos GetConnectionOperationErrorAdditionalInfoArrayInput `pulumi:"additionalInfos"` + CorrelationId pulumi.StringInput `pulumi:"correlationId"` + Details pulumi.StringInput `pulumi:"details"` + ErrorCode pulumi.StringInput `pulumi:"errorCode"` + ErrorMessage pulumi.StringInput `pulumi:"errorMessage"` + Help pulumi.StringInput `pulumi:"help"` } -func (GetConnectionASideAccessPointLocationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointLocation)(nil)).Elem() +func (GetConnectionOperationErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionOperationError)(nil)).Elem() } -func (i GetConnectionASideAccessPointLocationArgs) ToGetConnectionASideAccessPointLocationOutput() GetConnectionASideAccessPointLocationOutput { - return i.ToGetConnectionASideAccessPointLocationOutputWithContext(context.Background()) +func (i GetConnectionOperationErrorArgs) ToGetConnectionOperationErrorOutput() GetConnectionOperationErrorOutput { + return i.ToGetConnectionOperationErrorOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointLocationArgs) ToGetConnectionASideAccessPointLocationOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLocationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointLocationOutput) +func (i GetConnectionOperationErrorArgs) ToGetConnectionOperationErrorOutputWithContext(ctx context.Context) GetConnectionOperationErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionOperationErrorOutput) } -// GetConnectionASideAccessPointLocationArrayInput is an input type that accepts GetConnectionASideAccessPointLocationArray and GetConnectionASideAccessPointLocationArrayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointLocationArrayInput` via: +func (i GetConnectionOperationErrorArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionOperationError] { + return pulumix.Output[GetConnectionOperationError]{ + OutputState: i.ToGetConnectionOperationErrorOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionOperationErrorArrayInput is an input type that accepts GetConnectionOperationErrorArray and GetConnectionOperationErrorArrayOutput values. +// You can construct a concrete instance of `GetConnectionOperationErrorArrayInput` via: // -// GetConnectionASideAccessPointLocationArray{ GetConnectionASideAccessPointLocationArgs{...} } -type GetConnectionASideAccessPointLocationArrayInput interface { +// GetConnectionOperationErrorArray{ GetConnectionOperationErrorArgs{...} } +type GetConnectionOperationErrorArrayInput interface { pulumi.Input - ToGetConnectionASideAccessPointLocationArrayOutput() GetConnectionASideAccessPointLocationArrayOutput - ToGetConnectionASideAccessPointLocationArrayOutputWithContext(context.Context) GetConnectionASideAccessPointLocationArrayOutput + ToGetConnectionOperationErrorArrayOutput() GetConnectionOperationErrorArrayOutput + ToGetConnectionOperationErrorArrayOutputWithContext(context.Context) GetConnectionOperationErrorArrayOutput } -type GetConnectionASideAccessPointLocationArray []GetConnectionASideAccessPointLocationInput +type GetConnectionOperationErrorArray []GetConnectionOperationErrorInput -func (GetConnectionASideAccessPointLocationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointLocation)(nil)).Elem() +func (GetConnectionOperationErrorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionOperationError)(nil)).Elem() } -func (i GetConnectionASideAccessPointLocationArray) ToGetConnectionASideAccessPointLocationArrayOutput() GetConnectionASideAccessPointLocationArrayOutput { - return i.ToGetConnectionASideAccessPointLocationArrayOutputWithContext(context.Background()) +func (i GetConnectionOperationErrorArray) ToGetConnectionOperationErrorArrayOutput() GetConnectionOperationErrorArrayOutput { + return i.ToGetConnectionOperationErrorArrayOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointLocationArray) ToGetConnectionASideAccessPointLocationArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLocationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointLocationArrayOutput) +func (i GetConnectionOperationErrorArray) ToGetConnectionOperationErrorArrayOutputWithContext(ctx context.Context) GetConnectionOperationErrorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionOperationErrorArrayOutput) } -type GetConnectionASideAccessPointLocationOutput struct{ *pulumi.OutputState } +func (i GetConnectionOperationErrorArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionOperationError] { + return pulumix.Output[[]GetConnectionOperationError]{ + OutputState: i.ToGetConnectionOperationErrorArrayOutputWithContext(ctx).OutputState, + } +} -func (GetConnectionASideAccessPointLocationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointLocation)(nil)).Elem() +type GetConnectionOperationErrorOutput struct{ *pulumi.OutputState } + +func (GetConnectionOperationErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionOperationError)(nil)).Elem() } -func (o GetConnectionASideAccessPointLocationOutput) ToGetConnectionASideAccessPointLocationOutput() GetConnectionASideAccessPointLocationOutput { +func (o GetConnectionOperationErrorOutput) ToGetConnectionOperationErrorOutput() GetConnectionOperationErrorOutput { return o } -func (o GetConnectionASideAccessPointLocationOutput) ToGetConnectionASideAccessPointLocationOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLocationOutput { +func (o GetConnectionOperationErrorOutput) ToGetConnectionOperationErrorOutputWithContext(ctx context.Context) GetConnectionOperationErrorOutput { return o } -// Connection URI information -func (o GetConnectionASideAccessPointLocationOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointLocation) string { return v.Href }).(pulumi.StringOutput) +func (o GetConnectionOperationErrorOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionOperationError] { + return pulumix.Output[GetConnectionOperationError]{ + OutputState: o.OutputState, + } } -func (o GetConnectionASideAccessPointLocationOutput) Ibx() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointLocation) string { return v.Ibx }).(pulumi.StringOutput) +func (o GetConnectionOperationErrorOutput) AdditionalInfos() GetConnectionOperationErrorAdditionalInfoArrayOutput { + return o.ApplyT(func(v GetConnectionOperationError) []GetConnectionOperationErrorAdditionalInfo { + return v.AdditionalInfos + }).(GetConnectionOperationErrorAdditionalInfoArrayOutput) } -func (o GetConnectionASideAccessPointLocationOutput) MetroCode() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointLocation) string { return v.MetroCode }).(pulumi.StringOutput) +func (o GetConnectionOperationErrorOutput) CorrelationId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOperationError) string { return v.CorrelationId }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointLocationOutput) MetroName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointLocation) string { return v.MetroName }).(pulumi.StringOutput) +func (o GetConnectionOperationErrorOutput) Details() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOperationError) string { return v.Details }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointLocationOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointLocation) string { return v.Region }).(pulumi.StringOutput) +func (o GetConnectionOperationErrorOutput) ErrorCode() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOperationError) string { return v.ErrorCode }).(pulumi.StringOutput) } -type GetConnectionASideAccessPointLocationArrayOutput struct{ *pulumi.OutputState } +func (o GetConnectionOperationErrorOutput) ErrorMessage() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOperationError) string { return v.ErrorMessage }).(pulumi.StringOutput) +} -func (GetConnectionASideAccessPointLocationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointLocation)(nil)).Elem() +func (o GetConnectionOperationErrorOutput) Help() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOperationError) string { return v.Help }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointLocationArrayOutput) ToGetConnectionASideAccessPointLocationArrayOutput() GetConnectionASideAccessPointLocationArrayOutput { +type GetConnectionOperationErrorArrayOutput struct{ *pulumi.OutputState } + +func (GetConnectionOperationErrorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionOperationError)(nil)).Elem() +} + +func (o GetConnectionOperationErrorArrayOutput) ToGetConnectionOperationErrorArrayOutput() GetConnectionOperationErrorArrayOutput { return o } -func (o GetConnectionASideAccessPointLocationArrayOutput) ToGetConnectionASideAccessPointLocationArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointLocationArrayOutput { +func (o GetConnectionOperationErrorArrayOutput) ToGetConnectionOperationErrorArrayOutputWithContext(ctx context.Context) GetConnectionOperationErrorArrayOutput { return o } -func (o GetConnectionASideAccessPointLocationArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointLocationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointLocation { - return vs[0].([]GetConnectionASideAccessPointLocation)[vs[1].(int)] - }).(GetConnectionASideAccessPointLocationOutput) +func (o GetConnectionOperationErrorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionOperationError] { + return pulumix.Output[[]GetConnectionOperationError]{ + OutputState: o.OutputState, + } } -type GetConnectionASideAccessPointPort struct { - // Connection URI information - Href string `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name string `pulumi:"name"` - // Redundancy Information - Redundancies []GetConnectionASideAccessPointPortRedundancy `pulumi:"redundancies"` - // Equinix-assigned connection identifier - Uuid string `pulumi:"uuid"` +func (o GetConnectionOperationErrorArrayOutput) Index(i pulumi.IntInput) GetConnectionOperationErrorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionOperationError { + return vs[0].([]GetConnectionOperationError)[vs[1].(int)] + }).(GetConnectionOperationErrorOutput) } -// GetConnectionASideAccessPointPortInput is an input type that accepts GetConnectionASideAccessPointPortArgs and GetConnectionASideAccessPointPortOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointPortInput` via: +type GetConnectionOperationErrorAdditionalInfo struct { + Property string `pulumi:"property"` + Reason string `pulumi:"reason"` +} + +// GetConnectionOperationErrorAdditionalInfoInput is an input type that accepts GetConnectionOperationErrorAdditionalInfoArgs and GetConnectionOperationErrorAdditionalInfoOutput values. +// You can construct a concrete instance of `GetConnectionOperationErrorAdditionalInfoInput` via: // -// GetConnectionASideAccessPointPortArgs{...} -type GetConnectionASideAccessPointPortInput interface { +// GetConnectionOperationErrorAdditionalInfoArgs{...} +type GetConnectionOperationErrorAdditionalInfoInput interface { pulumi.Input - ToGetConnectionASideAccessPointPortOutput() GetConnectionASideAccessPointPortOutput - ToGetConnectionASideAccessPointPortOutputWithContext(context.Context) GetConnectionASideAccessPointPortOutput + ToGetConnectionOperationErrorAdditionalInfoOutput() GetConnectionOperationErrorAdditionalInfoOutput + ToGetConnectionOperationErrorAdditionalInfoOutputWithContext(context.Context) GetConnectionOperationErrorAdditionalInfoOutput } -type GetConnectionASideAccessPointPortArgs struct { - // Connection URI information - Href pulumi.StringInput `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name pulumi.StringInput `pulumi:"name"` - // Redundancy Information - Redundancies GetConnectionASideAccessPointPortRedundancyArrayInput `pulumi:"redundancies"` - // Equinix-assigned connection identifier - Uuid pulumi.StringInput `pulumi:"uuid"` +type GetConnectionOperationErrorAdditionalInfoArgs struct { + Property pulumi.StringInput `pulumi:"property"` + Reason pulumi.StringInput `pulumi:"reason"` } -func (GetConnectionASideAccessPointPortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointPort)(nil)).Elem() +func (GetConnectionOperationErrorAdditionalInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionOperationErrorAdditionalInfo)(nil)).Elem() } -func (i GetConnectionASideAccessPointPortArgs) ToGetConnectionASideAccessPointPortOutput() GetConnectionASideAccessPointPortOutput { - return i.ToGetConnectionASideAccessPointPortOutputWithContext(context.Background()) +func (i GetConnectionOperationErrorAdditionalInfoArgs) ToGetConnectionOperationErrorAdditionalInfoOutput() GetConnectionOperationErrorAdditionalInfoOutput { + return i.ToGetConnectionOperationErrorAdditionalInfoOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointPortArgs) ToGetConnectionASideAccessPointPortOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointPortOutput) +func (i GetConnectionOperationErrorAdditionalInfoArgs) ToGetConnectionOperationErrorAdditionalInfoOutputWithContext(ctx context.Context) GetConnectionOperationErrorAdditionalInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionOperationErrorAdditionalInfoOutput) } -// GetConnectionASideAccessPointPortArrayInput is an input type that accepts GetConnectionASideAccessPointPortArray and GetConnectionASideAccessPointPortArrayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointPortArrayInput` via: +func (i GetConnectionOperationErrorAdditionalInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionOperationErrorAdditionalInfo] { + return pulumix.Output[GetConnectionOperationErrorAdditionalInfo]{ + OutputState: i.ToGetConnectionOperationErrorAdditionalInfoOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionOperationErrorAdditionalInfoArrayInput is an input type that accepts GetConnectionOperationErrorAdditionalInfoArray and GetConnectionOperationErrorAdditionalInfoArrayOutput values. +// You can construct a concrete instance of `GetConnectionOperationErrorAdditionalInfoArrayInput` via: // -// GetConnectionASideAccessPointPortArray{ GetConnectionASideAccessPointPortArgs{...} } -type GetConnectionASideAccessPointPortArrayInput interface { +// GetConnectionOperationErrorAdditionalInfoArray{ GetConnectionOperationErrorAdditionalInfoArgs{...} } +type GetConnectionOperationErrorAdditionalInfoArrayInput interface { pulumi.Input - ToGetConnectionASideAccessPointPortArrayOutput() GetConnectionASideAccessPointPortArrayOutput - ToGetConnectionASideAccessPointPortArrayOutputWithContext(context.Context) GetConnectionASideAccessPointPortArrayOutput + ToGetConnectionOperationErrorAdditionalInfoArrayOutput() GetConnectionOperationErrorAdditionalInfoArrayOutput + ToGetConnectionOperationErrorAdditionalInfoArrayOutputWithContext(context.Context) GetConnectionOperationErrorAdditionalInfoArrayOutput } -type GetConnectionASideAccessPointPortArray []GetConnectionASideAccessPointPortInput +type GetConnectionOperationErrorAdditionalInfoArray []GetConnectionOperationErrorAdditionalInfoInput -func (GetConnectionASideAccessPointPortArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointPort)(nil)).Elem() +func (GetConnectionOperationErrorAdditionalInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionOperationErrorAdditionalInfo)(nil)).Elem() } -func (i GetConnectionASideAccessPointPortArray) ToGetConnectionASideAccessPointPortArrayOutput() GetConnectionASideAccessPointPortArrayOutput { - return i.ToGetConnectionASideAccessPointPortArrayOutputWithContext(context.Background()) +func (i GetConnectionOperationErrorAdditionalInfoArray) ToGetConnectionOperationErrorAdditionalInfoArrayOutput() GetConnectionOperationErrorAdditionalInfoArrayOutput { + return i.ToGetConnectionOperationErrorAdditionalInfoArrayOutputWithContext(context.Background()) +} + +func (i GetConnectionOperationErrorAdditionalInfoArray) ToGetConnectionOperationErrorAdditionalInfoArrayOutputWithContext(ctx context.Context) GetConnectionOperationErrorAdditionalInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionOperationErrorAdditionalInfoArrayOutput) } -func (i GetConnectionASideAccessPointPortArray) ToGetConnectionASideAccessPointPortArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointPortArrayOutput) +func (i GetConnectionOperationErrorAdditionalInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionOperationErrorAdditionalInfo] { + return pulumix.Output[[]GetConnectionOperationErrorAdditionalInfo]{ + OutputState: i.ToGetConnectionOperationErrorAdditionalInfoArrayOutputWithContext(ctx).OutputState, + } } -type GetConnectionASideAccessPointPortOutput struct{ *pulumi.OutputState } +type GetConnectionOperationErrorAdditionalInfoOutput struct{ *pulumi.OutputState } -func (GetConnectionASideAccessPointPortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointPort)(nil)).Elem() +func (GetConnectionOperationErrorAdditionalInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionOperationErrorAdditionalInfo)(nil)).Elem() } -func (o GetConnectionASideAccessPointPortOutput) ToGetConnectionASideAccessPointPortOutput() GetConnectionASideAccessPointPortOutput { +func (o GetConnectionOperationErrorAdditionalInfoOutput) ToGetConnectionOperationErrorAdditionalInfoOutput() GetConnectionOperationErrorAdditionalInfoOutput { return o } -func (o GetConnectionASideAccessPointPortOutput) ToGetConnectionASideAccessPointPortOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortOutput { +func (o GetConnectionOperationErrorAdditionalInfoOutput) ToGetConnectionOperationErrorAdditionalInfoOutputWithContext(ctx context.Context) GetConnectionOperationErrorAdditionalInfoOutput { return o } -// Connection URI information -func (o GetConnectionASideAccessPointPortOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointPort) string { return v.Href }).(pulumi.StringOutput) -} - -// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores -func (o GetConnectionASideAccessPointPortOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointPort) string { return v.Name }).(pulumi.StringOutput) +func (o GetConnectionOperationErrorAdditionalInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionOperationErrorAdditionalInfo] { + return pulumix.Output[GetConnectionOperationErrorAdditionalInfo]{ + OutputState: o.OutputState, + } } -// Redundancy Information -func (o GetConnectionASideAccessPointPortOutput) Redundancies() GetConnectionASideAccessPointPortRedundancyArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointPort) []GetConnectionASideAccessPointPortRedundancy { - return v.Redundancies - }).(GetConnectionASideAccessPointPortRedundancyArrayOutput) +func (o GetConnectionOperationErrorAdditionalInfoOutput) Property() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOperationErrorAdditionalInfo) string { return v.Property }).(pulumi.StringOutput) } -// Equinix-assigned connection identifier -func (o GetConnectionASideAccessPointPortOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointPort) string { return v.Uuid }).(pulumi.StringOutput) +func (o GetConnectionOperationErrorAdditionalInfoOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOperationErrorAdditionalInfo) string { return v.Reason }).(pulumi.StringOutput) } -type GetConnectionASideAccessPointPortArrayOutput struct{ *pulumi.OutputState } +type GetConnectionOperationErrorAdditionalInfoArrayOutput struct{ *pulumi.OutputState } -func (GetConnectionASideAccessPointPortArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointPort)(nil)).Elem() +func (GetConnectionOperationErrorAdditionalInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionOperationErrorAdditionalInfo)(nil)).Elem() } -func (o GetConnectionASideAccessPointPortArrayOutput) ToGetConnectionASideAccessPointPortArrayOutput() GetConnectionASideAccessPointPortArrayOutput { +func (o GetConnectionOperationErrorAdditionalInfoArrayOutput) ToGetConnectionOperationErrorAdditionalInfoArrayOutput() GetConnectionOperationErrorAdditionalInfoArrayOutput { return o } -func (o GetConnectionASideAccessPointPortArrayOutput) ToGetConnectionASideAccessPointPortArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortArrayOutput { +func (o GetConnectionOperationErrorAdditionalInfoArrayOutput) ToGetConnectionOperationErrorAdditionalInfoArrayOutputWithContext(ctx context.Context) GetConnectionOperationErrorAdditionalInfoArrayOutput { return o } -func (o GetConnectionASideAccessPointPortArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointPortOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointPort { - return vs[0].([]GetConnectionASideAccessPointPort)[vs[1].(int)] - }).(GetConnectionASideAccessPointPortOutput) +func (o GetConnectionOperationErrorAdditionalInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionOperationErrorAdditionalInfo] { + return pulumix.Output[[]GetConnectionOperationErrorAdditionalInfo]{ + OutputState: o.OutputState, + } } -type GetConnectionASideAccessPointPortRedundancy struct { - Priority string `pulumi:"priority"` +func (o GetConnectionOperationErrorAdditionalInfoArrayOutput) Index(i pulumi.IntInput) GetConnectionOperationErrorAdditionalInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionOperationErrorAdditionalInfo { + return vs[0].([]GetConnectionOperationErrorAdditionalInfo)[vs[1].(int)] + }).(GetConnectionOperationErrorAdditionalInfoOutput) } -// GetConnectionASideAccessPointPortRedundancyInput is an input type that accepts GetConnectionASideAccessPointPortRedundancyArgs and GetConnectionASideAccessPointPortRedundancyOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointPortRedundancyInput` via: +type GetConnectionOrder struct { + BillingTier string `pulumi:"billingTier"` + OrderId string `pulumi:"orderId"` + OrderNumber string `pulumi:"orderNumber"` + PurchaseOrderNumber string `pulumi:"purchaseOrderNumber"` +} + +// GetConnectionOrderInput is an input type that accepts GetConnectionOrderArgs and GetConnectionOrderOutput values. +// You can construct a concrete instance of `GetConnectionOrderInput` via: // -// GetConnectionASideAccessPointPortRedundancyArgs{...} -type GetConnectionASideAccessPointPortRedundancyInput interface { +// GetConnectionOrderArgs{...} +type GetConnectionOrderInput interface { pulumi.Input - ToGetConnectionASideAccessPointPortRedundancyOutput() GetConnectionASideAccessPointPortRedundancyOutput - ToGetConnectionASideAccessPointPortRedundancyOutputWithContext(context.Context) GetConnectionASideAccessPointPortRedundancyOutput + ToGetConnectionOrderOutput() GetConnectionOrderOutput + ToGetConnectionOrderOutputWithContext(context.Context) GetConnectionOrderOutput } -type GetConnectionASideAccessPointPortRedundancyArgs struct { - Priority pulumi.StringInput `pulumi:"priority"` +type GetConnectionOrderArgs struct { + BillingTier pulumi.StringInput `pulumi:"billingTier"` + OrderId pulumi.StringInput `pulumi:"orderId"` + OrderNumber pulumi.StringInput `pulumi:"orderNumber"` + PurchaseOrderNumber pulumi.StringInput `pulumi:"purchaseOrderNumber"` } -func (GetConnectionASideAccessPointPortRedundancyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointPortRedundancy)(nil)).Elem() +func (GetConnectionOrderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionOrder)(nil)).Elem() } -func (i GetConnectionASideAccessPointPortRedundancyArgs) ToGetConnectionASideAccessPointPortRedundancyOutput() GetConnectionASideAccessPointPortRedundancyOutput { - return i.ToGetConnectionASideAccessPointPortRedundancyOutputWithContext(context.Background()) +func (i GetConnectionOrderArgs) ToGetConnectionOrderOutput() GetConnectionOrderOutput { + return i.ToGetConnectionOrderOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointPortRedundancyArgs) ToGetConnectionASideAccessPointPortRedundancyOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortRedundancyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointPortRedundancyOutput) +func (i GetConnectionOrderArgs) ToGetConnectionOrderOutputWithContext(ctx context.Context) GetConnectionOrderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionOrderOutput) } -// GetConnectionASideAccessPointPortRedundancyArrayInput is an input type that accepts GetConnectionASideAccessPointPortRedundancyArray and GetConnectionASideAccessPointPortRedundancyArrayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointPortRedundancyArrayInput` via: -// -// GetConnectionASideAccessPointPortRedundancyArray{ GetConnectionASideAccessPointPortRedundancyArgs{...} } -type GetConnectionASideAccessPointPortRedundancyArrayInput interface { - pulumi.Input +func (i GetConnectionOrderArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionOrder] { + return pulumix.Output[GetConnectionOrder]{ + OutputState: i.ToGetConnectionOrderOutputWithContext(ctx).OutputState, + } +} - ToGetConnectionASideAccessPointPortRedundancyArrayOutput() GetConnectionASideAccessPointPortRedundancyArrayOutput - ToGetConnectionASideAccessPointPortRedundancyArrayOutputWithContext(context.Context) GetConnectionASideAccessPointPortRedundancyArrayOutput +type GetConnectionOrderOutput struct{ *pulumi.OutputState } + +func (GetConnectionOrderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionOrder)(nil)).Elem() } -type GetConnectionASideAccessPointPortRedundancyArray []GetConnectionASideAccessPointPortRedundancyInput +func (o GetConnectionOrderOutput) ToGetConnectionOrderOutput() GetConnectionOrderOutput { + return o +} -func (GetConnectionASideAccessPointPortRedundancyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointPortRedundancy)(nil)).Elem() +func (o GetConnectionOrderOutput) ToGetConnectionOrderOutputWithContext(ctx context.Context) GetConnectionOrderOutput { + return o } -func (i GetConnectionASideAccessPointPortRedundancyArray) ToGetConnectionASideAccessPointPortRedundancyArrayOutput() GetConnectionASideAccessPointPortRedundancyArrayOutput { - return i.ToGetConnectionASideAccessPointPortRedundancyArrayOutputWithContext(context.Background()) +func (o GetConnectionOrderOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionOrder] { + return pulumix.Output[GetConnectionOrder]{ + OutputState: o.OutputState, + } } -func (i GetConnectionASideAccessPointPortRedundancyArray) ToGetConnectionASideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortRedundancyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointPortRedundancyArrayOutput) +func (o GetConnectionOrderOutput) BillingTier() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOrder) string { return v.BillingTier }).(pulumi.StringOutput) } -type GetConnectionASideAccessPointPortRedundancyOutput struct{ *pulumi.OutputState } +func (o GetConnectionOrderOutput) OrderId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOrder) string { return v.OrderId }).(pulumi.StringOutput) +} -func (GetConnectionASideAccessPointPortRedundancyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointPortRedundancy)(nil)).Elem() +func (o GetConnectionOrderOutput) OrderNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOrder) string { return v.OrderNumber }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointPortRedundancyOutput) ToGetConnectionASideAccessPointPortRedundancyOutput() GetConnectionASideAccessPointPortRedundancyOutput { - return o +func (o GetConnectionOrderOutput) PurchaseOrderNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOrder) string { return v.PurchaseOrderNumber }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointPortRedundancyOutput) ToGetConnectionASideAccessPointPortRedundancyOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortRedundancyOutput { - return o +type GetConnectionProject struct { + // Unique Resource URL + Href string `pulumi:"href"` + // Project Id + ProjectId string `pulumi:"projectId"` } -func (o GetConnectionASideAccessPointPortRedundancyOutput) Priority() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointPortRedundancy) string { return v.Priority }).(pulumi.StringOutput) +// GetConnectionProjectInput is an input type that accepts GetConnectionProjectArgs and GetConnectionProjectOutput values. +// You can construct a concrete instance of `GetConnectionProjectInput` via: +// +// GetConnectionProjectArgs{...} +type GetConnectionProjectInput interface { + pulumi.Input + + ToGetConnectionProjectOutput() GetConnectionProjectOutput + ToGetConnectionProjectOutputWithContext(context.Context) GetConnectionProjectOutput } -type GetConnectionASideAccessPointPortRedundancyArrayOutput struct{ *pulumi.OutputState } +type GetConnectionProjectArgs struct { + // Unique Resource URL + Href pulumi.StringInput `pulumi:"href"` + // Project Id + ProjectId pulumi.StringInput `pulumi:"projectId"` +} -func (GetConnectionASideAccessPointPortRedundancyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointPortRedundancy)(nil)).Elem() +func (GetConnectionProjectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionProject)(nil)).Elem() } -func (o GetConnectionASideAccessPointPortRedundancyArrayOutput) ToGetConnectionASideAccessPointPortRedundancyArrayOutput() GetConnectionASideAccessPointPortRedundancyArrayOutput { - return o +func (i GetConnectionProjectArgs) ToGetConnectionProjectOutput() GetConnectionProjectOutput { + return i.ToGetConnectionProjectOutputWithContext(context.Background()) } -func (o GetConnectionASideAccessPointPortRedundancyArrayOutput) ToGetConnectionASideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointPortRedundancyArrayOutput { - return o +func (i GetConnectionProjectArgs) ToGetConnectionProjectOutputWithContext(ctx context.Context) GetConnectionProjectOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionProjectOutput) } -func (o GetConnectionASideAccessPointPortRedundancyArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointPortRedundancyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointPortRedundancy { - return vs[0].([]GetConnectionASideAccessPointPortRedundancy)[vs[1].(int)] - }).(GetConnectionASideAccessPointPortRedundancyOutput) +func (i GetConnectionProjectArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionProject] { + return pulumix.Output[GetConnectionProject]{ + OutputState: i.ToGetConnectionProjectOutputWithContext(ctx).OutputState, + } } -type GetConnectionASideAccessPointProfile struct { - AccessPointTypeConfigs []GetConnectionASideAccessPointProfileAccessPointTypeConfig `pulumi:"accessPointTypeConfigs"` - // Customer-provided connection description - Description string `pulumi:"description"` - // Connection URI information - Href string `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name string `pulumi:"name"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid string `pulumi:"uuid"` +func (i GetConnectionProjectArgs) ToGetConnectionProjectPtrOutput() GetConnectionProjectPtrOutput { + return i.ToGetConnectionProjectPtrOutputWithContext(context.Background()) } -// GetConnectionASideAccessPointProfileInput is an input type that accepts GetConnectionASideAccessPointProfileArgs and GetConnectionASideAccessPointProfileOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointProfileInput` via: +func (i GetConnectionProjectArgs) ToGetConnectionProjectPtrOutputWithContext(ctx context.Context) GetConnectionProjectPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionProjectOutput).ToGetConnectionProjectPtrOutputWithContext(ctx) +} + +// GetConnectionProjectPtrInput is an input type that accepts GetConnectionProjectArgs, GetConnectionProjectPtr and GetConnectionProjectPtrOutput values. +// You can construct a concrete instance of `GetConnectionProjectPtrInput` via: // -// GetConnectionASideAccessPointProfileArgs{...} -type GetConnectionASideAccessPointProfileInput interface { +// GetConnectionProjectArgs{...} +// +// or: +// +// nil +type GetConnectionProjectPtrInput interface { pulumi.Input - ToGetConnectionASideAccessPointProfileOutput() GetConnectionASideAccessPointProfileOutput - ToGetConnectionASideAccessPointProfileOutputWithContext(context.Context) GetConnectionASideAccessPointProfileOutput + ToGetConnectionProjectPtrOutput() GetConnectionProjectPtrOutput + ToGetConnectionProjectPtrOutputWithContext(context.Context) GetConnectionProjectPtrOutput } -type GetConnectionASideAccessPointProfileArgs struct { - AccessPointTypeConfigs GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput `pulumi:"accessPointTypeConfigs"` - // Customer-provided connection description - Description pulumi.StringInput `pulumi:"description"` - // Connection URI information - Href pulumi.StringInput `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name pulumi.StringInput `pulumi:"name"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid pulumi.StringInput `pulumi:"uuid"` +type getConnectionProjectPtrType GetConnectionProjectArgs + +func GetConnectionProjectPtr(v *GetConnectionProjectArgs) GetConnectionProjectPtrInput { + return (*getConnectionProjectPtrType)(v) } -func (GetConnectionASideAccessPointProfileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointProfile)(nil)).Elem() +func (*getConnectionProjectPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetConnectionProject)(nil)).Elem() } -func (i GetConnectionASideAccessPointProfileArgs) ToGetConnectionASideAccessPointProfileOutput() GetConnectionASideAccessPointProfileOutput { - return i.ToGetConnectionASideAccessPointProfileOutputWithContext(context.Background()) +func (i *getConnectionProjectPtrType) ToGetConnectionProjectPtrOutput() GetConnectionProjectPtrOutput { + return i.ToGetConnectionProjectPtrOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointProfileArgs) ToGetConnectionASideAccessPointProfileOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileOutput) +func (i *getConnectionProjectPtrType) ToGetConnectionProjectPtrOutputWithContext(ctx context.Context) GetConnectionProjectPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionProjectPtrOutput) } -// GetConnectionASideAccessPointProfileArrayInput is an input type that accepts GetConnectionASideAccessPointProfileArray and GetConnectionASideAccessPointProfileArrayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointProfileArrayInput` via: -// -// GetConnectionASideAccessPointProfileArray{ GetConnectionASideAccessPointProfileArgs{...} } -type GetConnectionASideAccessPointProfileArrayInput interface { - pulumi.Input +func (i *getConnectionProjectPtrType) ToOutput(ctx context.Context) pulumix.Output[*GetConnectionProject] { + return pulumix.Output[*GetConnectionProject]{ + OutputState: i.ToGetConnectionProjectPtrOutputWithContext(ctx).OutputState, + } +} - ToGetConnectionASideAccessPointProfileArrayOutput() GetConnectionASideAccessPointProfileArrayOutput - ToGetConnectionASideAccessPointProfileArrayOutputWithContext(context.Context) GetConnectionASideAccessPointProfileArrayOutput +type GetConnectionProjectOutput struct{ *pulumi.OutputState } + +func (GetConnectionProjectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionProject)(nil)).Elem() } -type GetConnectionASideAccessPointProfileArray []GetConnectionASideAccessPointProfileInput +func (o GetConnectionProjectOutput) ToGetConnectionProjectOutput() GetConnectionProjectOutput { + return o +} -func (GetConnectionASideAccessPointProfileArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointProfile)(nil)).Elem() +func (o GetConnectionProjectOutput) ToGetConnectionProjectOutputWithContext(ctx context.Context) GetConnectionProjectOutput { + return o } -func (i GetConnectionASideAccessPointProfileArray) ToGetConnectionASideAccessPointProfileArrayOutput() GetConnectionASideAccessPointProfileArrayOutput { - return i.ToGetConnectionASideAccessPointProfileArrayOutputWithContext(context.Background()) +func (o GetConnectionProjectOutput) ToGetConnectionProjectPtrOutput() GetConnectionProjectPtrOutput { + return o.ToGetConnectionProjectPtrOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointProfileArray) ToGetConnectionASideAccessPointProfileArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileArrayOutput) +func (o GetConnectionProjectOutput) ToGetConnectionProjectPtrOutputWithContext(ctx context.Context) GetConnectionProjectPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetConnectionProject) *GetConnectionProject { + return &v + }).(GetConnectionProjectPtrOutput) +} + +func (o GetConnectionProjectOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionProject] { + return pulumix.Output[GetConnectionProject]{ + OutputState: o.OutputState, + } +} + +// Unique Resource URL +func (o GetConnectionProjectOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionProject) string { return v.Href }).(pulumi.StringOutput) +} + +// Project Id +func (o GetConnectionProjectOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionProject) string { return v.ProjectId }).(pulumi.StringOutput) } -type GetConnectionASideAccessPointProfileOutput struct{ *pulumi.OutputState } +type GetConnectionProjectPtrOutput struct{ *pulumi.OutputState } -func (GetConnectionASideAccessPointProfileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointProfile)(nil)).Elem() +func (GetConnectionProjectPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetConnectionProject)(nil)).Elem() } -func (o GetConnectionASideAccessPointProfileOutput) ToGetConnectionASideAccessPointProfileOutput() GetConnectionASideAccessPointProfileOutput { +func (o GetConnectionProjectPtrOutput) ToGetConnectionProjectPtrOutput() GetConnectionProjectPtrOutput { return o } -func (o GetConnectionASideAccessPointProfileOutput) ToGetConnectionASideAccessPointProfileOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileOutput { +func (o GetConnectionProjectPtrOutput) ToGetConnectionProjectPtrOutputWithContext(ctx context.Context) GetConnectionProjectPtrOutput { return o } -func (o GetConnectionASideAccessPointProfileOutput) AccessPointTypeConfigs() GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfile) []GetConnectionASideAccessPointProfileAccessPointTypeConfig { - return v.AccessPointTypeConfigs - }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) -} - -// Customer-provided connection description -func (o GetConnectionASideAccessPointProfileOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfile) string { return v.Description }).(pulumi.StringOutput) +func (o GetConnectionProjectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetConnectionProject] { + return pulumix.Output[*GetConnectionProject]{ + OutputState: o.OutputState, + } } -// Connection URI information -func (o GetConnectionASideAccessPointProfileOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfile) string { return v.Href }).(pulumi.StringOutput) +func (o GetConnectionProjectPtrOutput) Elem() GetConnectionProjectOutput { + return o.ApplyT(func(v *GetConnectionProject) GetConnectionProject { + if v != nil { + return *v + } + var ret GetConnectionProject + return ret + }).(GetConnectionProjectOutput) } -// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores -func (o GetConnectionASideAccessPointProfileOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfile) string { return v.Name }).(pulumi.StringOutput) +// Unique Resource URL +func (o GetConnectionProjectPtrOutput) Href() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetConnectionProject) *string { + if v == nil { + return nil + } + return &v.Href + }).(pulumi.StringPtrOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionASideAccessPointProfileOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfile) string { return v.Type }).(pulumi.StringOutput) +// Project Id +func (o GetConnectionProjectPtrOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetConnectionProject) *string { + if v == nil { + return nil + } + return &v.ProjectId + }).(pulumi.StringPtrOutput) } -// Equinix-assigned connection identifier -func (o GetConnectionASideAccessPointProfileOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfile) string { return v.Uuid }).(pulumi.StringOutput) +type GetConnectionRedundancy struct { + Group string `pulumi:"group"` + Priority string `pulumi:"priority"` } -type GetConnectionASideAccessPointProfileArrayOutput struct{ *pulumi.OutputState } +// GetConnectionRedundancyInput is an input type that accepts GetConnectionRedundancyArgs and GetConnectionRedundancyOutput values. +// You can construct a concrete instance of `GetConnectionRedundancyInput` via: +// +// GetConnectionRedundancyArgs{...} +type GetConnectionRedundancyInput interface { + pulumi.Input -func (GetConnectionASideAccessPointProfileArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointProfile)(nil)).Elem() + ToGetConnectionRedundancyOutput() GetConnectionRedundancyOutput + ToGetConnectionRedundancyOutputWithContext(context.Context) GetConnectionRedundancyOutput } -func (o GetConnectionASideAccessPointProfileArrayOutput) ToGetConnectionASideAccessPointProfileArrayOutput() GetConnectionASideAccessPointProfileArrayOutput { - return o +type GetConnectionRedundancyArgs struct { + Group pulumi.StringInput `pulumi:"group"` + Priority pulumi.StringInput `pulumi:"priority"` } -func (o GetConnectionASideAccessPointProfileArrayOutput) ToGetConnectionASideAccessPointProfileArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileArrayOutput { - return o +func (GetConnectionRedundancyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionRedundancy)(nil)).Elem() } -func (o GetConnectionASideAccessPointProfileArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointProfileOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointProfile { - return vs[0].([]GetConnectionASideAccessPointProfile)[vs[1].(int)] - }).(GetConnectionASideAccessPointProfileOutput) +func (i GetConnectionRedundancyArgs) ToGetConnectionRedundancyOutput() GetConnectionRedundancyOutput { + return i.ToGetConnectionRedundancyOutputWithContext(context.Background()) } -type GetConnectionASideAccessPointProfileAccessPointTypeConfig struct { - AllowBandwidthAutoApproval bool `pulumi:"allowBandwidthAutoApproval"` - AllowBandwidthUpgrade bool `pulumi:"allowBandwidthUpgrade"` - AllowCustomBandwidth bool `pulumi:"allowCustomBandwidth"` - AllowRemoteConnections bool `pulumi:"allowRemoteConnections"` - ApiConfigs []GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig `pulumi:"apiConfigs"` - AuthenticationKeys []GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey `pulumi:"authenticationKeys"` - BandwidthAlertThreshold float64 `pulumi:"bandwidthAlertThreshold"` - ConnectionLabel string `pulumi:"connectionLabel"` - ConnectionRedundancyRequired bool `pulumi:"connectionRedundancyRequired"` - EnableAutoGenerateServiceKey bool `pulumi:"enableAutoGenerateServiceKey"` - LinkProtocolConfigs []GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig `pulumi:"linkProtocolConfigs"` - SupportedBandwidths []int `pulumi:"supportedBandwidths"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid string `pulumi:"uuid"` +func (i GetConnectionRedundancyArgs) ToGetConnectionRedundancyOutputWithContext(ctx context.Context) GetConnectionRedundancyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionRedundancyOutput) } -// GetConnectionASideAccessPointProfileAccessPointTypeConfigInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs and GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigInput` via: -// -// GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs{...} -type GetConnectionASideAccessPointProfileAccessPointTypeConfigInput interface { - pulumi.Input - - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput +func (i GetConnectionRedundancyArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionRedundancy] { + return pulumix.Output[GetConnectionRedundancy]{ + OutputState: i.ToGetConnectionRedundancyOutputWithContext(ctx).OutputState, + } } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs struct { - AllowBandwidthAutoApproval pulumi.BoolInput `pulumi:"allowBandwidthAutoApproval"` - AllowBandwidthUpgrade pulumi.BoolInput `pulumi:"allowBandwidthUpgrade"` - AllowCustomBandwidth pulumi.BoolInput `pulumi:"allowCustomBandwidth"` - AllowRemoteConnections pulumi.BoolInput `pulumi:"allowRemoteConnections"` - ApiConfigs GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput `pulumi:"apiConfigs"` - AuthenticationKeys GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput `pulumi:"authenticationKeys"` - BandwidthAlertThreshold pulumi.Float64Input `pulumi:"bandwidthAlertThreshold"` - ConnectionLabel pulumi.StringInput `pulumi:"connectionLabel"` - ConnectionRedundancyRequired pulumi.BoolInput `pulumi:"connectionRedundancyRequired"` - EnableAutoGenerateServiceKey pulumi.BoolInput `pulumi:"enableAutoGenerateServiceKey"` - LinkProtocolConfigs GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput `pulumi:"linkProtocolConfigs"` - SupportedBandwidths pulumi.IntArrayInput `pulumi:"supportedBandwidths"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid pulumi.StringInput `pulumi:"uuid"` -} +type GetConnectionRedundancyOutput struct{ *pulumi.OutputState } -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func (GetConnectionRedundancyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionRedundancy)(nil)).Elem() } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput { - return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Background()) +func (o GetConnectionRedundancyOutput) ToGetConnectionRedundancyOutput() GetConnectionRedundancyOutput { + return o } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) +func (o GetConnectionRedundancyOutput) ToGetConnectionRedundancyOutputWithContext(ctx context.Context) GetConnectionRedundancyOutput { + return o } -// GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigArray and GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput` via: -// -// GetConnectionASideAccessPointProfileAccessPointTypeConfigArray{ GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs{...} } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput interface { - pulumi.Input - - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput +func (o GetConnectionRedundancyOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionRedundancy] { + return pulumix.Output[GetConnectionRedundancy]{ + OutputState: o.OutputState, + } } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigArray []GetConnectionASideAccessPointProfileAccessPointTypeConfigInput - -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func (o GetConnectionRedundancyOutput) Group() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionRedundancy) string { return v.Group }).(pulumi.StringOutput) } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { - return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Background()) +func (o GetConnectionRedundancyOutput) Priority() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionRedundancy) string { return v.Priority }).(pulumi.StringOutput) } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) +type GetConnectionZSide struct { + AccessPoint GetConnectionZSideAccessPoint `pulumi:"accessPoint"` + ServiceToken GetConnectionZSideServiceToken `pulumi:"serviceToken"` } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput struct{ *pulumi.OutputState } +// GetConnectionZSideInput is an input type that accepts GetConnectionZSideArgs and GetConnectionZSideOutput values. +// You can construct a concrete instance of `GetConnectionZSideInput` via: +// +// GetConnectionZSideArgs{...} +type GetConnectionZSideInput interface { + pulumi.Input -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() + ToGetConnectionZSideOutput() GetConnectionZSideOutput + ToGetConnectionZSideOutputWithContext(context.Context) GetConnectionZSideOutput } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput { - return o +type GetConnectionZSideArgs struct { + AccessPoint GetConnectionZSideAccessPointInput `pulumi:"accessPoint"` + ServiceToken GetConnectionZSideServiceTokenInput `pulumi:"serviceToken"` } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput { - return o +func (GetConnectionZSideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSide)(nil)).Elem() } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) AllowBandwidthAutoApproval() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) bool { - return v.AllowBandwidthAutoApproval - }).(pulumi.BoolOutput) +func (i GetConnectionZSideArgs) ToGetConnectionZSideOutput() GetConnectionZSideOutput { + return i.ToGetConnectionZSideOutputWithContext(context.Background()) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) AllowBandwidthUpgrade() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) bool { return v.AllowBandwidthUpgrade }).(pulumi.BoolOutput) +func (i GetConnectionZSideArgs) ToGetConnectionZSideOutputWithContext(ctx context.Context) GetConnectionZSideOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) AllowCustomBandwidth() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) bool { return v.AllowCustomBandwidth }).(pulumi.BoolOutput) +func (i GetConnectionZSideArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSide] { + return pulumix.Output[GetConnectionZSide]{ + OutputState: i.ToGetConnectionZSideOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) AllowRemoteConnections() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) bool { - return v.AllowRemoteConnections - }).(pulumi.BoolOutput) +type GetConnectionZSideOutput struct{ *pulumi.OutputState } + +func (GetConnectionZSideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSide)(nil)).Elem() } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ApiConfigs() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) []GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig { - return v.ApiConfigs - }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) +func (o GetConnectionZSideOutput) ToGetConnectionZSideOutput() GetConnectionZSideOutput { + return o } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) AuthenticationKeys() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) []GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey { - return v.AuthenticationKeys - }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) +func (o GetConnectionZSideOutput) ToGetConnectionZSideOutputWithContext(ctx context.Context) GetConnectionZSideOutput { + return o } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) BandwidthAlertThreshold() pulumi.Float64Output { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) float64 { - return v.BandwidthAlertThreshold - }).(pulumi.Float64Output) +func (o GetConnectionZSideOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSide] { + return pulumix.Output[GetConnectionZSide]{ + OutputState: o.OutputState, + } } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ConnectionLabel() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) string { return v.ConnectionLabel }).(pulumi.StringOutput) +func (o GetConnectionZSideOutput) AccessPoint() GetConnectionZSideAccessPointOutput { + return o.ApplyT(func(v GetConnectionZSide) GetConnectionZSideAccessPoint { return v.AccessPoint }).(GetConnectionZSideAccessPointOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ConnectionRedundancyRequired() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) bool { - return v.ConnectionRedundancyRequired - }).(pulumi.BoolOutput) +func (o GetConnectionZSideOutput) ServiceToken() GetConnectionZSideServiceTokenOutput { + return o.ApplyT(func(v GetConnectionZSide) GetConnectionZSideServiceToken { return v.ServiceToken }).(GetConnectionZSideServiceTokenOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) EnableAutoGenerateServiceKey() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) bool { - return v.EnableAutoGenerateServiceKey - }).(pulumi.BoolOutput) +type GetConnectionZSideAccessPoint struct { + Accounts []GetConnectionZSideAccessPointAccount `pulumi:"accounts"` + AuthenticationKey string `pulumi:"authenticationKey"` + // Deprecated: router attribute will be returned instead + Gateways []GetConnectionZSideAccessPointGateway `pulumi:"gateways"` + Interfaces []GetConnectionZSideAccessPointInterface `pulumi:"interfaces"` + LinkProtocols []GetConnectionZSideAccessPointLinkProtocol `pulumi:"linkProtocols"` + Locations []GetConnectionZSideAccessPointLocation `pulumi:"locations"` + PeeringType string `pulumi:"peeringType"` + Ports []GetConnectionZSideAccessPointPort `pulumi:"ports"` + Profiles []GetConnectionZSideAccessPointProfile `pulumi:"profiles"` + ProviderConnectionId string `pulumi:"providerConnectionId"` + // CloudRouter; Replaces `gateway` attribute (Set of Object) + Routers []GetConnectionZSideAccessPointRouter `pulumi:"routers"` + SellerRegion string `pulumi:"sellerRegion"` + Type string `pulumi:"type"` + VirtualDevices []GetConnectionZSideAccessPointVirtualDevice `pulumi:"virtualDevices"` } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) LinkProtocolConfigs() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) []GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig { - return v.LinkProtocolConfigs - }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) +// GetConnectionZSideAccessPointInput is an input type that accepts GetConnectionZSideAccessPointArgs and GetConnectionZSideAccessPointOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointInput` via: +// +// GetConnectionZSideAccessPointArgs{...} +type GetConnectionZSideAccessPointInput interface { + pulumi.Input + + ToGetConnectionZSideAccessPointOutput() GetConnectionZSideAccessPointOutput + ToGetConnectionZSideAccessPointOutputWithContext(context.Context) GetConnectionZSideAccessPointOutput } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) SupportedBandwidths() pulumi.IntArrayOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) []int { return v.SupportedBandwidths }).(pulumi.IntArrayOutput) +type GetConnectionZSideAccessPointArgs struct { + Accounts GetConnectionZSideAccessPointAccountArrayInput `pulumi:"accounts"` + AuthenticationKey pulumi.StringInput `pulumi:"authenticationKey"` + // Deprecated: router attribute will be returned instead + Gateways GetConnectionZSideAccessPointGatewayArrayInput `pulumi:"gateways"` + Interfaces GetConnectionZSideAccessPointInterfaceArrayInput `pulumi:"interfaces"` + LinkProtocols GetConnectionZSideAccessPointLinkProtocolArrayInput `pulumi:"linkProtocols"` + Locations GetConnectionZSideAccessPointLocationArrayInput `pulumi:"locations"` + PeeringType pulumi.StringInput `pulumi:"peeringType"` + Ports GetConnectionZSideAccessPointPortArrayInput `pulumi:"ports"` + Profiles GetConnectionZSideAccessPointProfileArrayInput `pulumi:"profiles"` + ProviderConnectionId pulumi.StringInput `pulumi:"providerConnectionId"` + // CloudRouter; Replaces `gateway` attribute (Set of Object) + Routers GetConnectionZSideAccessPointRouterArrayInput `pulumi:"routers"` + SellerRegion pulumi.StringInput `pulumi:"sellerRegion"` + Type pulumi.StringInput `pulumi:"type"` + VirtualDevices GetConnectionZSideAccessPointVirtualDeviceArrayInput `pulumi:"virtualDevices"` } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) string { return v.Type }).(pulumi.StringOutput) +func (GetConnectionZSideAccessPointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPoint)(nil)).Elem() } -// Equinix-assigned connection identifier -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) string { return v.Uuid }).(pulumi.StringOutput) +func (i GetConnectionZSideAccessPointArgs) ToGetConnectionZSideAccessPointOutput() GetConnectionZSideAccessPointOutput { + return i.ToGetConnectionZSideAccessPointOutputWithContext(context.Background()) } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput struct{ *pulumi.OutputState } - -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func (i GetConnectionZSideAccessPointArgs) ToGetConnectionZSideAccessPointOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o +func (i GetConnectionZSideAccessPointArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPoint] { + return pulumix.Output[GetConnectionZSideAccessPoint]{ + OutputState: i.ToGetConnectionZSideAccessPointOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o -} +type GetConnectionZSideAccessPointOutput struct{ *pulumi.OutputState } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointProfileAccessPointTypeConfig { - return vs[0].([]GetConnectionASideAccessPointProfileAccessPointTypeConfig)[vs[1].(int)] - }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) +func (GetConnectionZSideAccessPointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPoint)(nil)).Elem() } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig struct { - AllowOverSubscription bool `pulumi:"allowOverSubscription"` - ApiAvailable bool `pulumi:"apiAvailable"` - BandwidthFromApi bool `pulumi:"bandwidthFromApi"` - EquinixManagedPort bool `pulumi:"equinixManagedPort"` - EquinixManagedVlan bool `pulumi:"equinixManagedVlan"` - IntegrationId string `pulumi:"integrationId"` - OverSubscriptionLimit int `pulumi:"overSubscriptionLimit"` +func (o GetConnectionZSideAccessPointOutput) ToGetConnectionZSideAccessPointOutput() GetConnectionZSideAccessPointOutput { + return o } -// GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs and GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigInput` via: -// -// GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs{...} -type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigInput interface { - pulumi.Input - - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput +func (o GetConnectionZSideAccessPointOutput) ToGetConnectionZSideAccessPointOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointOutput { + return o } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs struct { - AllowOverSubscription pulumi.BoolInput `pulumi:"allowOverSubscription"` - ApiAvailable pulumi.BoolInput `pulumi:"apiAvailable"` - BandwidthFromApi pulumi.BoolInput `pulumi:"bandwidthFromApi"` - EquinixManagedPort pulumi.BoolInput `pulumi:"equinixManagedPort"` - EquinixManagedVlan pulumi.BoolInput `pulumi:"equinixManagedVlan"` - IntegrationId pulumi.StringInput `pulumi:"integrationId"` - OverSubscriptionLimit pulumi.IntInput `pulumi:"overSubscriptionLimit"` +func (o GetConnectionZSideAccessPointOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPoint] { + return pulumix.Output[GetConnectionZSideAccessPoint]{ + OutputState: o.OutputState, + } } -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +func (o GetConnectionZSideAccessPointOutput) Accounts() GetConnectionZSideAccessPointAccountArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointAccount { return v.Accounts }).(GetConnectionZSideAccessPointAccountArrayOutput) } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput { - return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(context.Background()) +func (o GetConnectionZSideAccessPointOutput) AuthenticationKey() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) string { return v.AuthenticationKey }).(pulumi.StringOutput) } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) +// Deprecated: router attribute will be returned instead +func (o GetConnectionZSideAccessPointOutput) Gateways() GetConnectionZSideAccessPointGatewayArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointGateway { return v.Gateways }).(GetConnectionZSideAccessPointGatewayArrayOutput) } -// GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArray and GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput` via: -// -// GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArray{ GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArgs{...} } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput interface { - pulumi.Input - - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput +func (o GetConnectionZSideAccessPointOutput) Interfaces() GetConnectionZSideAccessPointInterfaceArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointInterface { return v.Interfaces }).(GetConnectionZSideAccessPointInterfaceArrayOutput) } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArray []GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigInput - -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +func (o GetConnectionZSideAccessPointOutput) LinkProtocols() GetConnectionZSideAccessPointLinkProtocolArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointLinkProtocol { + return v.LinkProtocols + }).(GetConnectionZSideAccessPointLinkProtocolArrayOutput) } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { - return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(context.Background()) +func (o GetConnectionZSideAccessPointOutput) Locations() GetConnectionZSideAccessPointLocationArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointLocation { return v.Locations }).(GetConnectionZSideAccessPointLocationArrayOutput) } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) +func (o GetConnectionZSideAccessPointOutput) PeeringType() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) string { return v.PeeringType }).(pulumi.StringOutput) } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput struct{ *pulumi.OutputState } - -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +func (o GetConnectionZSideAccessPointOutput) Ports() GetConnectionZSideAccessPointPortArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointPort { return v.Ports }).(GetConnectionZSideAccessPointPortArrayOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput { - return o +func (o GetConnectionZSideAccessPointOutput) Profiles() GetConnectionZSideAccessPointProfileArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointProfile { return v.Profiles }).(GetConnectionZSideAccessPointProfileArrayOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput { - return o +func (o GetConnectionZSideAccessPointOutput) ProviderConnectionId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) string { return v.ProviderConnectionId }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) AllowOverSubscription() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) bool { - return v.AllowOverSubscription - }).(pulumi.BoolOutput) +// CloudRouter; Replaces `gateway` attribute (Set of Object) +func (o GetConnectionZSideAccessPointOutput) Routers() GetConnectionZSideAccessPointRouterArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointRouter { return v.Routers }).(GetConnectionZSideAccessPointRouterArrayOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ApiAvailable() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) bool { return v.ApiAvailable }).(pulumi.BoolOutput) +func (o GetConnectionZSideAccessPointOutput) SellerRegion() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) string { return v.SellerRegion }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) BandwidthFromApi() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) bool { - return v.BandwidthFromApi - }).(pulumi.BoolOutput) +func (o GetConnectionZSideAccessPointOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) string { return v.Type }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) EquinixManagedPort() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) bool { - return v.EquinixManagedPort - }).(pulumi.BoolOutput) +func (o GetConnectionZSideAccessPointOutput) VirtualDevices() GetConnectionZSideAccessPointVirtualDeviceArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointVirtualDevice { + return v.VirtualDevices + }).(GetConnectionZSideAccessPointVirtualDeviceArrayOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) EquinixManagedVlan() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) bool { - return v.EquinixManagedVlan - }).(pulumi.BoolOutput) +type GetConnectionZSideAccessPointAccount struct { + AccountName string `pulumi:"accountName"` + AccountNumber int `pulumi:"accountNumber"` + GlobalCustId string `pulumi:"globalCustId"` + GlobalOrgId string `pulumi:"globalOrgId"` + GlobalOrganizationName string `pulumi:"globalOrganizationName"` + OrgId int `pulumi:"orgId"` + OrganizationName string `pulumi:"organizationName"` } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) IntegrationId() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) string { - return v.IntegrationId - }).(pulumi.StringOutput) -} +// GetConnectionZSideAccessPointAccountInput is an input type that accepts GetConnectionZSideAccessPointAccountArgs and GetConnectionZSideAccessPointAccountOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointAccountInput` via: +// +// GetConnectionZSideAccessPointAccountArgs{...} +type GetConnectionZSideAccessPointAccountInput interface { + pulumi.Input -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) OverSubscriptionLimit() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig) int { - return v.OverSubscriptionLimit - }).(pulumi.IntOutput) + ToGetConnectionZSideAccessPointAccountOutput() GetConnectionZSideAccessPointAccountOutput + ToGetConnectionZSideAccessPointAccountOutputWithContext(context.Context) GetConnectionZSideAccessPointAccountOutput } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput struct{ *pulumi.OutputState } - -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +type GetConnectionZSideAccessPointAccountArgs struct { + AccountName pulumi.StringInput `pulumi:"accountName"` + AccountNumber pulumi.IntInput `pulumi:"accountNumber"` + GlobalCustId pulumi.StringInput `pulumi:"globalCustId"` + GlobalOrgId pulumi.StringInput `pulumi:"globalOrgId"` + GlobalOrganizationName pulumi.StringInput `pulumi:"globalOrganizationName"` + OrgId pulumi.IntInput `pulumi:"orgId"` + OrganizationName pulumi.StringInput `pulumi:"organizationName"` } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { - return o +func (GetConnectionZSideAccessPointAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointAccount)(nil)).Elem() } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { - return o +func (i GetConnectionZSideAccessPointAccountArgs) ToGetConnectionZSideAccessPointAccountOutput() GetConnectionZSideAccessPointAccountOutput { + return i.ToGetConnectionZSideAccessPointAccountOutputWithContext(context.Background()) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig { - return vs[0].([]GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig)[vs[1].(int)] - }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigOutput) +func (i GetConnectionZSideAccessPointAccountArgs) ToGetConnectionZSideAccessPointAccountOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointAccountOutput) } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey struct { - // Customer-provided connection description - Description string `pulumi:"description"` - Label string `pulumi:"label"` - Required bool `pulumi:"required"` +func (i GetConnectionZSideAccessPointAccountArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointAccount] { + return pulumix.Output[GetConnectionZSideAccessPointAccount]{ + OutputState: i.ToGetConnectionZSideAccessPointAccountOutputWithContext(ctx).OutputState, + } } -// GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs and GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput` via: +// GetConnectionZSideAccessPointAccountArrayInput is an input type that accepts GetConnectionZSideAccessPointAccountArray and GetConnectionZSideAccessPointAccountArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointAccountArrayInput` via: // -// GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs{...} -type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput interface { +// GetConnectionZSideAccessPointAccountArray{ GetConnectionZSideAccessPointAccountArgs{...} } +type GetConnectionZSideAccessPointAccountArrayInput interface { pulumi.Input - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput + ToGetConnectionZSideAccessPointAccountArrayOutput() GetConnectionZSideAccessPointAccountArrayOutput + ToGetConnectionZSideAccessPointAccountArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointAccountArrayOutput } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs struct { - // Customer-provided connection description - Description pulumi.StringInput `pulumi:"description"` - Label pulumi.StringInput `pulumi:"label"` - Required pulumi.BoolInput `pulumi:"required"` -} +type GetConnectionZSideAccessPointAccountArray []GetConnectionZSideAccessPointAccountInput -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() +func (GetConnectionZSideAccessPointAccountArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointAccount)(nil)).Elem() } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { - return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointAccountArray) ToGetConnectionZSideAccessPointAccountArrayOutput() GetConnectionZSideAccessPointAccountArrayOutput { + return i.ToGetConnectionZSideAccessPointAccountArrayOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) +func (i GetConnectionZSideAccessPointAccountArray) ToGetConnectionZSideAccessPointAccountArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointAccountArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointAccountArrayOutput) } -// GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray and GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput` via: -// -// GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray{ GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs{...} } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput interface { - pulumi.Input - - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput +func (i GetConnectionZSideAccessPointAccountArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointAccount] { + return pulumix.Output[[]GetConnectionZSideAccessPointAccount]{ + OutputState: i.ToGetConnectionZSideAccessPointAccountArrayOutputWithContext(ctx).OutputState, + } } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray []GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput +type GetConnectionZSideAccessPointAccountOutput struct{ *pulumi.OutputState } -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() +func (GetConnectionZSideAccessPointAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointAccount)(nil)).Elem() } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { - return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(context.Background()) +func (o GetConnectionZSideAccessPointAccountOutput) ToGetConnectionZSideAccessPointAccountOutput() GetConnectionZSideAccessPointAccountOutput { + return o } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) +func (o GetConnectionZSideAccessPointAccountOutput) ToGetConnectionZSideAccessPointAccountOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointAccountOutput { + return o +} + +func (o GetConnectionZSideAccessPointAccountOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointAccount] { + return pulumix.Output[GetConnectionZSideAccessPointAccount]{ + OutputState: o.OutputState, + } } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput struct{ *pulumi.OutputState } +func (o GetConnectionZSideAccessPointAccountOutput) AccountName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) string { return v.AccountName }).(pulumi.StringOutput) +} -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() +func (o GetConnectionZSideAccessPointAccountOutput) AccountNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) int { return v.AccountNumber }).(pulumi.IntOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { - return o +func (o GetConnectionZSideAccessPointAccountOutput) GlobalCustId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) string { return v.GlobalCustId }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { - return o +func (o GetConnectionZSideAccessPointAccountOutput) GlobalOrgId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) string { return v.GlobalOrgId }).(pulumi.StringOutput) } -// Customer-provided connection description -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey) string { - return v.Description - }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointAccountOutput) GlobalOrganizationName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) string { return v.GlobalOrganizationName }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) Label() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey) string { - return v.Label - }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointAccountOutput) OrgId() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) int { return v.OrgId }).(pulumi.IntOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) Required() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey) bool { - return v.Required - }).(pulumi.BoolOutput) +func (o GetConnectionZSideAccessPointAccountOutput) OrganizationName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) string { return v.OrganizationName }).(pulumi.StringOutput) } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointAccountArrayOutput struct{ *pulumi.OutputState } -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() +func (GetConnectionZSideAccessPointAccountArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointAccount)(nil)).Elem() } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { +func (o GetConnectionZSideAccessPointAccountArrayOutput) ToGetConnectionZSideAccessPointAccountArrayOutput() GetConnectionZSideAccessPointAccountArrayOutput { return o } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { +func (o GetConnectionZSideAccessPointAccountArrayOutput) ToGetConnectionZSideAccessPointAccountArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointAccountArrayOutput { return o } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey { - return vs[0].([]GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey)[vs[1].(int)] - }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) +func (o GetConnectionZSideAccessPointAccountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointAccount] { + return pulumix.Output[[]GetConnectionZSideAccessPointAccount]{ + OutputState: o.OutputState, + } } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig struct { - Encapsulation string `pulumi:"encapsulation"` - EncapsulationStrategy string `pulumi:"encapsulationStrategy"` - ReuseVlanSTag bool `pulumi:"reuseVlanSTag"` +func (o GetConnectionZSideAccessPointAccountArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointAccountOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointAccount { + return vs[0].([]GetConnectionZSideAccessPointAccount)[vs[1].(int)] + }).(GetConnectionZSideAccessPointAccountOutput) } -// GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs and GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput` via: +type GetConnectionZSideAccessPointGateway struct { + Href string `pulumi:"href"` + State string `pulumi:"state"` + Uuid string `pulumi:"uuid"` +} + +// GetConnectionZSideAccessPointGatewayInput is an input type that accepts GetConnectionZSideAccessPointGatewayArgs and GetConnectionZSideAccessPointGatewayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointGatewayInput` via: // -// GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs{...} -type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput interface { +// GetConnectionZSideAccessPointGatewayArgs{...} +type GetConnectionZSideAccessPointGatewayInput interface { pulumi.Input - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput + ToGetConnectionZSideAccessPointGatewayOutput() GetConnectionZSideAccessPointGatewayOutput + ToGetConnectionZSideAccessPointGatewayOutputWithContext(context.Context) GetConnectionZSideAccessPointGatewayOutput } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs struct { - Encapsulation pulumi.StringInput `pulumi:"encapsulation"` - EncapsulationStrategy pulumi.StringInput `pulumi:"encapsulationStrategy"` - ReuseVlanSTag pulumi.BoolInput `pulumi:"reuseVlanSTag"` +type GetConnectionZSideAccessPointGatewayArgs struct { + Href pulumi.StringInput `pulumi:"href"` + State pulumi.StringInput `pulumi:"state"` + Uuid pulumi.StringInput `pulumi:"uuid"` } -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() +func (GetConnectionZSideAccessPointGatewayArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointGateway)(nil)).Elem() } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { - return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointGatewayArgs) ToGetConnectionZSideAccessPointGatewayOutput() GetConnectionZSideAccessPointGatewayOutput { + return i.ToGetConnectionZSideAccessPointGatewayOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) +func (i GetConnectionZSideAccessPointGatewayArgs) ToGetConnectionZSideAccessPointGatewayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointGatewayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointGatewayOutput) } -// GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput is an input type that accepts GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray and GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput` via: +func (i GetConnectionZSideAccessPointGatewayArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointGateway] { + return pulumix.Output[GetConnectionZSideAccessPointGateway]{ + OutputState: i.ToGetConnectionZSideAccessPointGatewayOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionZSideAccessPointGatewayArrayInput is an input type that accepts GetConnectionZSideAccessPointGatewayArray and GetConnectionZSideAccessPointGatewayArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointGatewayArrayInput` via: // -// GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray{ GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs{...} } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput interface { +// GetConnectionZSideAccessPointGatewayArray{ GetConnectionZSideAccessPointGatewayArgs{...} } +type GetConnectionZSideAccessPointGatewayArrayInput interface { pulumi.Input - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput - ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput + ToGetConnectionZSideAccessPointGatewayArrayOutput() GetConnectionZSideAccessPointGatewayArrayOutput + ToGetConnectionZSideAccessPointGatewayArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointGatewayArrayOutput } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray []GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput +type GetConnectionZSideAccessPointGatewayArray []GetConnectionZSideAccessPointGatewayInput -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() +func (GetConnectionZSideAccessPointGatewayArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointGateway)(nil)).Elem() } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { - return i.ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointGatewayArray) ToGetConnectionZSideAccessPointGatewayArrayOutput() GetConnectionZSideAccessPointGatewayArrayOutput { + return i.ToGetConnectionZSideAccessPointGatewayArrayOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) +func (i GetConnectionZSideAccessPointGatewayArray) ToGetConnectionZSideAccessPointGatewayArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointGatewayArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointGatewayArrayOutput) } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput struct{ *pulumi.OutputState } +func (i GetConnectionZSideAccessPointGatewayArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointGateway] { + return pulumix.Output[[]GetConnectionZSideAccessPointGateway]{ + OutputState: i.ToGetConnectionZSideAccessPointGatewayArrayOutputWithContext(ctx).OutputState, + } +} -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() +type GetConnectionZSideAccessPointGatewayOutput struct{ *pulumi.OutputState } + +func (GetConnectionZSideAccessPointGatewayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointGateway)(nil)).Elem() } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { +func (o GetConnectionZSideAccessPointGatewayOutput) ToGetConnectionZSideAccessPointGatewayOutput() GetConnectionZSideAccessPointGatewayOutput { return o } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { +func (o GetConnectionZSideAccessPointGatewayOutput) ToGetConnectionZSideAccessPointGatewayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointGatewayOutput { return o } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) Encapsulation() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig) string { - return v.Encapsulation - }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointGateway] { + return pulumix.Output[GetConnectionZSideAccessPointGateway]{ + OutputState: o.OutputState, + } } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) EncapsulationStrategy() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig) string { - return v.EncapsulationStrategy - }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointGatewayOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointGateway) string { return v.Href }).(pulumi.StringOutput) } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ReuseVlanSTag() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig) bool { - return v.ReuseVlanSTag - }).(pulumi.BoolOutput) +func (o GetConnectionZSideAccessPointGatewayOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointGateway) string { return v.State }).(pulumi.StringOutput) } -type GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput struct{ *pulumi.OutputState } +func (o GetConnectionZSideAccessPointGatewayOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointGateway) string { return v.Uuid }).(pulumi.StringOutput) +} -func (GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() +type GetConnectionZSideAccessPointGatewayArrayOutput struct{ *pulumi.OutputState } + +func (GetConnectionZSideAccessPointGatewayArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointGateway)(nil)).Elem() } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput() GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { +func (o GetConnectionZSideAccessPointGatewayArrayOutput) ToGetConnectionZSideAccessPointGatewayArrayOutput() GetConnectionZSideAccessPointGatewayArrayOutput { return o } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ToGetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { +func (o GetConnectionZSideAccessPointGatewayArrayOutput) ToGetConnectionZSideAccessPointGatewayArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointGatewayArrayOutput { return o } -func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig { - return vs[0].([]GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)[vs[1].(int)] - }).(GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) +func (o GetConnectionZSideAccessPointGatewayArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointGateway] { + return pulumix.Output[[]GetConnectionZSideAccessPointGateway]{ + OutputState: o.OutputState, + } } -type GetConnectionASideAccessPointVirtualDevice struct { - // Connection URI information - Href string `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC +func (o GetConnectionZSideAccessPointGatewayArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointGatewayOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointGateway { + return vs[0].([]GetConnectionZSideAccessPointGateway)[vs[1].(int)] + }).(GetConnectionZSideAccessPointGatewayOutput) +} + +type GetConnectionZSideAccessPointInterface struct { + Id string `pulumi:"id"` Type string `pulumi:"type"` - // Equinix-assigned connection identifier Uuid string `pulumi:"uuid"` } -// GetConnectionASideAccessPointVirtualDeviceInput is an input type that accepts GetConnectionASideAccessPointVirtualDeviceArgs and GetConnectionASideAccessPointVirtualDeviceOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointVirtualDeviceInput` via: +// GetConnectionZSideAccessPointInterfaceInput is an input type that accepts GetConnectionZSideAccessPointInterfaceArgs and GetConnectionZSideAccessPointInterfaceOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointInterfaceInput` via: // -// GetConnectionASideAccessPointVirtualDeviceArgs{...} -type GetConnectionASideAccessPointVirtualDeviceInput interface { +// GetConnectionZSideAccessPointInterfaceArgs{...} +type GetConnectionZSideAccessPointInterfaceInput interface { pulumi.Input - ToGetConnectionASideAccessPointVirtualDeviceOutput() GetConnectionASideAccessPointVirtualDeviceOutput - ToGetConnectionASideAccessPointVirtualDeviceOutputWithContext(context.Context) GetConnectionASideAccessPointVirtualDeviceOutput + ToGetConnectionZSideAccessPointInterfaceOutput() GetConnectionZSideAccessPointInterfaceOutput + ToGetConnectionZSideAccessPointInterfaceOutputWithContext(context.Context) GetConnectionZSideAccessPointInterfaceOutput } -type GetConnectionASideAccessPointVirtualDeviceArgs struct { - // Connection URI information - Href pulumi.StringInput `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC +type GetConnectionZSideAccessPointInterfaceArgs struct { + Id pulumi.StringInput `pulumi:"id"` Type pulumi.StringInput `pulumi:"type"` - // Equinix-assigned connection identifier Uuid pulumi.StringInput `pulumi:"uuid"` } -func (GetConnectionASideAccessPointVirtualDeviceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointVirtualDevice)(nil)).Elem() +func (GetConnectionZSideAccessPointInterfaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointInterface)(nil)).Elem() } -func (i GetConnectionASideAccessPointVirtualDeviceArgs) ToGetConnectionASideAccessPointVirtualDeviceOutput() GetConnectionASideAccessPointVirtualDeviceOutput { - return i.ToGetConnectionASideAccessPointVirtualDeviceOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointInterfaceArgs) ToGetConnectionZSideAccessPointInterfaceOutput() GetConnectionZSideAccessPointInterfaceOutput { + return i.ToGetConnectionZSideAccessPointInterfaceOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointVirtualDeviceArgs) ToGetConnectionASideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) GetConnectionASideAccessPointVirtualDeviceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointVirtualDeviceOutput) +func (i GetConnectionZSideAccessPointInterfaceArgs) ToGetConnectionZSideAccessPointInterfaceOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointInterfaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointInterfaceOutput) } -// GetConnectionASideAccessPointVirtualDeviceArrayInput is an input type that accepts GetConnectionASideAccessPointVirtualDeviceArray and GetConnectionASideAccessPointVirtualDeviceArrayOutput values. -// You can construct a concrete instance of `GetConnectionASideAccessPointVirtualDeviceArrayInput` via: +func (i GetConnectionZSideAccessPointInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointInterface] { + return pulumix.Output[GetConnectionZSideAccessPointInterface]{ + OutputState: i.ToGetConnectionZSideAccessPointInterfaceOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionZSideAccessPointInterfaceArrayInput is an input type that accepts GetConnectionZSideAccessPointInterfaceArray and GetConnectionZSideAccessPointInterfaceArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointInterfaceArrayInput` via: // -// GetConnectionASideAccessPointVirtualDeviceArray{ GetConnectionASideAccessPointVirtualDeviceArgs{...} } -type GetConnectionASideAccessPointVirtualDeviceArrayInput interface { +// GetConnectionZSideAccessPointInterfaceArray{ GetConnectionZSideAccessPointInterfaceArgs{...} } +type GetConnectionZSideAccessPointInterfaceArrayInput interface { pulumi.Input - ToGetConnectionASideAccessPointVirtualDeviceArrayOutput() GetConnectionASideAccessPointVirtualDeviceArrayOutput - ToGetConnectionASideAccessPointVirtualDeviceArrayOutputWithContext(context.Context) GetConnectionASideAccessPointVirtualDeviceArrayOutput + ToGetConnectionZSideAccessPointInterfaceArrayOutput() GetConnectionZSideAccessPointInterfaceArrayOutput + ToGetConnectionZSideAccessPointInterfaceArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointInterfaceArrayOutput } -type GetConnectionASideAccessPointVirtualDeviceArray []GetConnectionASideAccessPointVirtualDeviceInput +type GetConnectionZSideAccessPointInterfaceArray []GetConnectionZSideAccessPointInterfaceInput -func (GetConnectionASideAccessPointVirtualDeviceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointVirtualDevice)(nil)).Elem() +func (GetConnectionZSideAccessPointInterfaceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointInterface)(nil)).Elem() } -func (i GetConnectionASideAccessPointVirtualDeviceArray) ToGetConnectionASideAccessPointVirtualDeviceArrayOutput() GetConnectionASideAccessPointVirtualDeviceArrayOutput { - return i.ToGetConnectionASideAccessPointVirtualDeviceArrayOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointInterfaceArray) ToGetConnectionZSideAccessPointInterfaceArrayOutput() GetConnectionZSideAccessPointInterfaceArrayOutput { + return i.ToGetConnectionZSideAccessPointInterfaceArrayOutputWithContext(context.Background()) } -func (i GetConnectionASideAccessPointVirtualDeviceArray) ToGetConnectionASideAccessPointVirtualDeviceArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointVirtualDeviceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideAccessPointVirtualDeviceArrayOutput) +func (i GetConnectionZSideAccessPointInterfaceArray) ToGetConnectionZSideAccessPointInterfaceArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointInterfaceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointInterfaceArrayOutput) +} + +func (i GetConnectionZSideAccessPointInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointInterface] { + return pulumix.Output[[]GetConnectionZSideAccessPointInterface]{ + OutputState: i.ToGetConnectionZSideAccessPointInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + +type GetConnectionZSideAccessPointInterfaceOutput struct{ *pulumi.OutputState } + +func (GetConnectionZSideAccessPointInterfaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointInterface)(nil)).Elem() +} + +func (o GetConnectionZSideAccessPointInterfaceOutput) ToGetConnectionZSideAccessPointInterfaceOutput() GetConnectionZSideAccessPointInterfaceOutput { + return o +} + +func (o GetConnectionZSideAccessPointInterfaceOutput) ToGetConnectionZSideAccessPointInterfaceOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointInterfaceOutput { + return o +} + +func (o GetConnectionZSideAccessPointInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointInterface] { + return pulumix.Output[GetConnectionZSideAccessPointInterface]{ + OutputState: o.OutputState, + } +} + +func (o GetConnectionZSideAccessPointInterfaceOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointInterface) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetConnectionZSideAccessPointInterfaceOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointInterface) string { return v.Type }).(pulumi.StringOutput) +} + +func (o GetConnectionZSideAccessPointInterfaceOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointInterface) string { return v.Uuid }).(pulumi.StringOutput) } -type GetConnectionASideAccessPointVirtualDeviceOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointInterfaceArrayOutput struct{ *pulumi.OutputState } -func (GetConnectionASideAccessPointVirtualDeviceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideAccessPointVirtualDevice)(nil)).Elem() +func (GetConnectionZSideAccessPointInterfaceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointInterface)(nil)).Elem() } -func (o GetConnectionASideAccessPointVirtualDeviceOutput) ToGetConnectionASideAccessPointVirtualDeviceOutput() GetConnectionASideAccessPointVirtualDeviceOutput { +func (o GetConnectionZSideAccessPointInterfaceArrayOutput) ToGetConnectionZSideAccessPointInterfaceArrayOutput() GetConnectionZSideAccessPointInterfaceArrayOutput { return o } -func (o GetConnectionASideAccessPointVirtualDeviceOutput) ToGetConnectionASideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) GetConnectionASideAccessPointVirtualDeviceOutput { +func (o GetConnectionZSideAccessPointInterfaceArrayOutput) ToGetConnectionZSideAccessPointInterfaceArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointInterfaceArrayOutput { return o } -// Connection URI information -func (o GetConnectionASideAccessPointVirtualDeviceOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointVirtualDevice) string { return v.Href }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointInterface] { + return pulumix.Output[[]GetConnectionZSideAccessPointInterface]{ + OutputState: o.OutputState, + } } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionASideAccessPointVirtualDeviceOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointVirtualDevice) string { return v.Type }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointInterfaceArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointInterfaceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointInterface { + return vs[0].([]GetConnectionZSideAccessPointInterface)[vs[1].(int)] + }).(GetConnectionZSideAccessPointInterfaceOutput) } -// Equinix-assigned connection identifier -func (o GetConnectionASideAccessPointVirtualDeviceOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideAccessPointVirtualDevice) string { return v.Uuid }).(pulumi.StringOutput) +type GetConnectionZSideAccessPointLinkProtocol struct { + Type string `pulumi:"type"` + VlanCTag int `pulumi:"vlanCTag"` + VlanSTag int `pulumi:"vlanSTag"` + VlanTag int `pulumi:"vlanTag"` } -type GetConnectionASideAccessPointVirtualDeviceArrayOutput struct{ *pulumi.OutputState } +// GetConnectionZSideAccessPointLinkProtocolInput is an input type that accepts GetConnectionZSideAccessPointLinkProtocolArgs and GetConnectionZSideAccessPointLinkProtocolOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointLinkProtocolInput` via: +// +// GetConnectionZSideAccessPointLinkProtocolArgs{...} +type GetConnectionZSideAccessPointLinkProtocolInput interface { + pulumi.Input -func (GetConnectionASideAccessPointVirtualDeviceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionASideAccessPointVirtualDevice)(nil)).Elem() + ToGetConnectionZSideAccessPointLinkProtocolOutput() GetConnectionZSideAccessPointLinkProtocolOutput + ToGetConnectionZSideAccessPointLinkProtocolOutputWithContext(context.Context) GetConnectionZSideAccessPointLinkProtocolOutput } -func (o GetConnectionASideAccessPointVirtualDeviceArrayOutput) ToGetConnectionASideAccessPointVirtualDeviceArrayOutput() GetConnectionASideAccessPointVirtualDeviceArrayOutput { - return o +type GetConnectionZSideAccessPointLinkProtocolArgs struct { + Type pulumi.StringInput `pulumi:"type"` + VlanCTag pulumi.IntInput `pulumi:"vlanCTag"` + VlanSTag pulumi.IntInput `pulumi:"vlanSTag"` + VlanTag pulumi.IntInput `pulumi:"vlanTag"` } -func (o GetConnectionASideAccessPointVirtualDeviceArrayOutput) ToGetConnectionASideAccessPointVirtualDeviceArrayOutputWithContext(ctx context.Context) GetConnectionASideAccessPointVirtualDeviceArrayOutput { - return o +func (GetConnectionZSideAccessPointLinkProtocolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointLinkProtocol)(nil)).Elem() } -func (o GetConnectionASideAccessPointVirtualDeviceArrayOutput) Index(i pulumi.IntInput) GetConnectionASideAccessPointVirtualDeviceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionASideAccessPointVirtualDevice { - return vs[0].([]GetConnectionASideAccessPointVirtualDevice)[vs[1].(int)] - }).(GetConnectionASideAccessPointVirtualDeviceOutput) +func (i GetConnectionZSideAccessPointLinkProtocolArgs) ToGetConnectionZSideAccessPointLinkProtocolOutput() GetConnectionZSideAccessPointLinkProtocolOutput { + return i.ToGetConnectionZSideAccessPointLinkProtocolOutputWithContext(context.Background()) } -type GetConnectionASideServiceToken struct { - // Customer-provided connection description - Description string `pulumi:"description"` - // Connection URI information - Href string `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid string `pulumi:"uuid"` +func (i GetConnectionZSideAccessPointLinkProtocolArgs) ToGetConnectionZSideAccessPointLinkProtocolOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLinkProtocolOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointLinkProtocolOutput) } -// GetConnectionASideServiceTokenInput is an input type that accepts GetConnectionASideServiceTokenArgs and GetConnectionASideServiceTokenOutput values. -// You can construct a concrete instance of `GetConnectionASideServiceTokenInput` via: +func (i GetConnectionZSideAccessPointLinkProtocolArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointLinkProtocol] { + return pulumix.Output[GetConnectionZSideAccessPointLinkProtocol]{ + OutputState: i.ToGetConnectionZSideAccessPointLinkProtocolOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionZSideAccessPointLinkProtocolArrayInput is an input type that accepts GetConnectionZSideAccessPointLinkProtocolArray and GetConnectionZSideAccessPointLinkProtocolArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointLinkProtocolArrayInput` via: // -// GetConnectionASideServiceTokenArgs{...} -type GetConnectionASideServiceTokenInput interface { +// GetConnectionZSideAccessPointLinkProtocolArray{ GetConnectionZSideAccessPointLinkProtocolArgs{...} } +type GetConnectionZSideAccessPointLinkProtocolArrayInput interface { pulumi.Input - ToGetConnectionASideServiceTokenOutput() GetConnectionASideServiceTokenOutput - ToGetConnectionASideServiceTokenOutputWithContext(context.Context) GetConnectionASideServiceTokenOutput + ToGetConnectionZSideAccessPointLinkProtocolArrayOutput() GetConnectionZSideAccessPointLinkProtocolArrayOutput + ToGetConnectionZSideAccessPointLinkProtocolArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointLinkProtocolArrayOutput } -type GetConnectionASideServiceTokenArgs struct { - // Customer-provided connection description - Description pulumi.StringInput `pulumi:"description"` - // Connection URI information - Href pulumi.StringInput `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid pulumi.StringInput `pulumi:"uuid"` +type GetConnectionZSideAccessPointLinkProtocolArray []GetConnectionZSideAccessPointLinkProtocolInput + +func (GetConnectionZSideAccessPointLinkProtocolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointLinkProtocol)(nil)).Elem() } -func (GetConnectionASideServiceTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideServiceToken)(nil)).Elem() +func (i GetConnectionZSideAccessPointLinkProtocolArray) ToGetConnectionZSideAccessPointLinkProtocolArrayOutput() GetConnectionZSideAccessPointLinkProtocolArrayOutput { + return i.ToGetConnectionZSideAccessPointLinkProtocolArrayOutputWithContext(context.Background()) } -func (i GetConnectionASideServiceTokenArgs) ToGetConnectionASideServiceTokenOutput() GetConnectionASideServiceTokenOutput { - return i.ToGetConnectionASideServiceTokenOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointLinkProtocolArray) ToGetConnectionZSideAccessPointLinkProtocolArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLinkProtocolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointLinkProtocolArrayOutput) } -func (i GetConnectionASideServiceTokenArgs) ToGetConnectionASideServiceTokenOutputWithContext(ctx context.Context) GetConnectionASideServiceTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionASideServiceTokenOutput) +func (i GetConnectionZSideAccessPointLinkProtocolArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointLinkProtocol] { + return pulumix.Output[[]GetConnectionZSideAccessPointLinkProtocol]{ + OutputState: i.ToGetConnectionZSideAccessPointLinkProtocolArrayOutputWithContext(ctx).OutputState, + } } -type GetConnectionASideServiceTokenOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointLinkProtocolOutput struct{ *pulumi.OutputState } -func (GetConnectionASideServiceTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionASideServiceToken)(nil)).Elem() +func (GetConnectionZSideAccessPointLinkProtocolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointLinkProtocol)(nil)).Elem() } -func (o GetConnectionASideServiceTokenOutput) ToGetConnectionASideServiceTokenOutput() GetConnectionASideServiceTokenOutput { +func (o GetConnectionZSideAccessPointLinkProtocolOutput) ToGetConnectionZSideAccessPointLinkProtocolOutput() GetConnectionZSideAccessPointLinkProtocolOutput { return o } -func (o GetConnectionASideServiceTokenOutput) ToGetConnectionASideServiceTokenOutputWithContext(ctx context.Context) GetConnectionASideServiceTokenOutput { +func (o GetConnectionZSideAccessPointLinkProtocolOutput) ToGetConnectionZSideAccessPointLinkProtocolOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLinkProtocolOutput { return o } -// Customer-provided connection description -func (o GetConnectionASideServiceTokenOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideServiceToken) string { return v.Description }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointLinkProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointLinkProtocol] { + return pulumix.Output[GetConnectionZSideAccessPointLinkProtocol]{ + OutputState: o.OutputState, + } } -// Connection URI information -func (o GetConnectionASideServiceTokenOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideServiceToken) string { return v.Href }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointLinkProtocolOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointLinkProtocol) string { return v.Type }).(pulumi.StringOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionASideServiceTokenOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideServiceToken) string { return v.Type }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointLinkProtocolOutput) VlanCTag() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointLinkProtocol) int { return v.VlanCTag }).(pulumi.IntOutput) } -// Equinix-assigned connection identifier -func (o GetConnectionASideServiceTokenOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionASideServiceToken) string { return v.Uuid }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointLinkProtocolOutput) VlanSTag() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointLinkProtocol) int { return v.VlanSTag }).(pulumi.IntOutput) } -type GetConnectionAccount struct { - AccountName string `pulumi:"accountName"` - AccountNumber int `pulumi:"accountNumber"` - GlobalCustId string `pulumi:"globalCustId"` - GlobalOrgId string `pulumi:"globalOrgId"` - GlobalOrganizationName string `pulumi:"globalOrganizationName"` - OrgId int `pulumi:"orgId"` - OrganizationName string `pulumi:"organizationName"` +func (o GetConnectionZSideAccessPointLinkProtocolOutput) VlanTag() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointLinkProtocol) int { return v.VlanTag }).(pulumi.IntOutput) } -// GetConnectionAccountInput is an input type that accepts GetConnectionAccountArgs and GetConnectionAccountOutput values. -// You can construct a concrete instance of `GetConnectionAccountInput` via: -// -// GetConnectionAccountArgs{...} -type GetConnectionAccountInput interface { - pulumi.Input +type GetConnectionZSideAccessPointLinkProtocolArrayOutput struct{ *pulumi.OutputState } - ToGetConnectionAccountOutput() GetConnectionAccountOutput - ToGetConnectionAccountOutputWithContext(context.Context) GetConnectionAccountOutput +func (GetConnectionZSideAccessPointLinkProtocolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointLinkProtocol)(nil)).Elem() } -type GetConnectionAccountArgs struct { - AccountName pulumi.StringInput `pulumi:"accountName"` - AccountNumber pulumi.IntInput `pulumi:"accountNumber"` - GlobalCustId pulumi.StringInput `pulumi:"globalCustId"` - GlobalOrgId pulumi.StringInput `pulumi:"globalOrgId"` - GlobalOrganizationName pulumi.StringInput `pulumi:"globalOrganizationName"` - OrgId pulumi.IntInput `pulumi:"orgId"` - OrganizationName pulumi.StringInput `pulumi:"organizationName"` +func (o GetConnectionZSideAccessPointLinkProtocolArrayOutput) ToGetConnectionZSideAccessPointLinkProtocolArrayOutput() GetConnectionZSideAccessPointLinkProtocolArrayOutput { + return o } -func (GetConnectionAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionAccount)(nil)).Elem() +func (o GetConnectionZSideAccessPointLinkProtocolArrayOutput) ToGetConnectionZSideAccessPointLinkProtocolArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLinkProtocolArrayOutput { + return o } -func (i GetConnectionAccountArgs) ToGetConnectionAccountOutput() GetConnectionAccountOutput { - return i.ToGetConnectionAccountOutputWithContext(context.Background()) +func (o GetConnectionZSideAccessPointLinkProtocolArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointLinkProtocol] { + return pulumix.Output[[]GetConnectionZSideAccessPointLinkProtocol]{ + OutputState: o.OutputState, + } } -func (i GetConnectionAccountArgs) ToGetConnectionAccountOutputWithContext(ctx context.Context) GetConnectionAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionAccountOutput) +func (o GetConnectionZSideAccessPointLinkProtocolArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointLinkProtocolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointLinkProtocol { + return vs[0].([]GetConnectionZSideAccessPointLinkProtocol)[vs[1].(int)] + }).(GetConnectionZSideAccessPointLinkProtocolOutput) } -type GetConnectionAccountOutput struct{ *pulumi.OutputState } - -func (GetConnectionAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionAccount)(nil)).Elem() +type GetConnectionZSideAccessPointLocation struct { + Href string `pulumi:"href"` + Ibx string `pulumi:"ibx"` + MetroCode string `pulumi:"metroCode"` + MetroName string `pulumi:"metroName"` + Region string `pulumi:"region"` } -func (o GetConnectionAccountOutput) ToGetConnectionAccountOutput() GetConnectionAccountOutput { - return o -} +// GetConnectionZSideAccessPointLocationInput is an input type that accepts GetConnectionZSideAccessPointLocationArgs and GetConnectionZSideAccessPointLocationOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointLocationInput` via: +// +// GetConnectionZSideAccessPointLocationArgs{...} +type GetConnectionZSideAccessPointLocationInput interface { + pulumi.Input -func (o GetConnectionAccountOutput) ToGetConnectionAccountOutputWithContext(ctx context.Context) GetConnectionAccountOutput { - return o + ToGetConnectionZSideAccessPointLocationOutput() GetConnectionZSideAccessPointLocationOutput + ToGetConnectionZSideAccessPointLocationOutputWithContext(context.Context) GetConnectionZSideAccessPointLocationOutput } -func (o GetConnectionAccountOutput) AccountName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionAccount) string { return v.AccountName }).(pulumi.StringOutput) +type GetConnectionZSideAccessPointLocationArgs struct { + Href pulumi.StringInput `pulumi:"href"` + Ibx pulumi.StringInput `pulumi:"ibx"` + MetroCode pulumi.StringInput `pulumi:"metroCode"` + MetroName pulumi.StringInput `pulumi:"metroName"` + Region pulumi.StringInput `pulumi:"region"` } -func (o GetConnectionAccountOutput) AccountNumber() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionAccount) int { return v.AccountNumber }).(pulumi.IntOutput) +func (GetConnectionZSideAccessPointLocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointLocation)(nil)).Elem() } -func (o GetConnectionAccountOutput) GlobalCustId() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionAccount) string { return v.GlobalCustId }).(pulumi.StringOutput) +func (i GetConnectionZSideAccessPointLocationArgs) ToGetConnectionZSideAccessPointLocationOutput() GetConnectionZSideAccessPointLocationOutput { + return i.ToGetConnectionZSideAccessPointLocationOutputWithContext(context.Background()) } -func (o GetConnectionAccountOutput) GlobalOrgId() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionAccount) string { return v.GlobalOrgId }).(pulumi.StringOutput) +func (i GetConnectionZSideAccessPointLocationArgs) ToGetConnectionZSideAccessPointLocationOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointLocationOutput) } -func (o GetConnectionAccountOutput) GlobalOrganizationName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionAccount) string { return v.GlobalOrganizationName }).(pulumi.StringOutput) +func (i GetConnectionZSideAccessPointLocationArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointLocation] { + return pulumix.Output[GetConnectionZSideAccessPointLocation]{ + OutputState: i.ToGetConnectionZSideAccessPointLocationOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionAccountOutput) OrgId() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionAccount) int { return v.OrgId }).(pulumi.IntOutput) +// GetConnectionZSideAccessPointLocationArrayInput is an input type that accepts GetConnectionZSideAccessPointLocationArray and GetConnectionZSideAccessPointLocationArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointLocationArrayInput` via: +// +// GetConnectionZSideAccessPointLocationArray{ GetConnectionZSideAccessPointLocationArgs{...} } +type GetConnectionZSideAccessPointLocationArrayInput interface { + pulumi.Input + + ToGetConnectionZSideAccessPointLocationArrayOutput() GetConnectionZSideAccessPointLocationArrayOutput + ToGetConnectionZSideAccessPointLocationArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointLocationArrayOutput } -func (o GetConnectionAccountOutput) OrganizationName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionAccount) string { return v.OrganizationName }).(pulumi.StringOutput) +type GetConnectionZSideAccessPointLocationArray []GetConnectionZSideAccessPointLocationInput + +func (GetConnectionZSideAccessPointLocationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointLocation)(nil)).Elem() } -type GetConnectionAdditionalInfo struct { - Key string `pulumi:"key"` - Value string `pulumi:"value"` +func (i GetConnectionZSideAccessPointLocationArray) ToGetConnectionZSideAccessPointLocationArrayOutput() GetConnectionZSideAccessPointLocationArrayOutput { + return i.ToGetConnectionZSideAccessPointLocationArrayOutputWithContext(context.Background()) } -// GetConnectionAdditionalInfoInput is an input type that accepts GetConnectionAdditionalInfoArgs and GetConnectionAdditionalInfoOutput values. -// You can construct a concrete instance of `GetConnectionAdditionalInfoInput` via: -// -// GetConnectionAdditionalInfoArgs{...} -type GetConnectionAdditionalInfoInput interface { - pulumi.Input +func (i GetConnectionZSideAccessPointLocationArray) ToGetConnectionZSideAccessPointLocationArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLocationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointLocationArrayOutput) +} - ToGetConnectionAdditionalInfoOutput() GetConnectionAdditionalInfoOutput - ToGetConnectionAdditionalInfoOutputWithContext(context.Context) GetConnectionAdditionalInfoOutput +func (i GetConnectionZSideAccessPointLocationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointLocation] { + return pulumix.Output[[]GetConnectionZSideAccessPointLocation]{ + OutputState: i.ToGetConnectionZSideAccessPointLocationArrayOutputWithContext(ctx).OutputState, + } } -type GetConnectionAdditionalInfoArgs struct { - Key pulumi.StringInput `pulumi:"key"` - Value pulumi.StringInput `pulumi:"value"` +type GetConnectionZSideAccessPointLocationOutput struct{ *pulumi.OutputState } + +func (GetConnectionZSideAccessPointLocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointLocation)(nil)).Elem() } -func (GetConnectionAdditionalInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionAdditionalInfo)(nil)).Elem() +func (o GetConnectionZSideAccessPointLocationOutput) ToGetConnectionZSideAccessPointLocationOutput() GetConnectionZSideAccessPointLocationOutput { + return o } -func (i GetConnectionAdditionalInfoArgs) ToGetConnectionAdditionalInfoOutput() GetConnectionAdditionalInfoOutput { - return i.ToGetConnectionAdditionalInfoOutputWithContext(context.Background()) +func (o GetConnectionZSideAccessPointLocationOutput) ToGetConnectionZSideAccessPointLocationOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLocationOutput { + return o } -func (i GetConnectionAdditionalInfoArgs) ToGetConnectionAdditionalInfoOutputWithContext(ctx context.Context) GetConnectionAdditionalInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionAdditionalInfoOutput) +func (o GetConnectionZSideAccessPointLocationOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointLocation] { + return pulumix.Output[GetConnectionZSideAccessPointLocation]{ + OutputState: o.OutputState, + } } -// GetConnectionAdditionalInfoArrayInput is an input type that accepts GetConnectionAdditionalInfoArray and GetConnectionAdditionalInfoArrayOutput values. -// You can construct a concrete instance of `GetConnectionAdditionalInfoArrayInput` via: -// -// GetConnectionAdditionalInfoArray{ GetConnectionAdditionalInfoArgs{...} } -type GetConnectionAdditionalInfoArrayInput interface { - pulumi.Input - - ToGetConnectionAdditionalInfoArrayOutput() GetConnectionAdditionalInfoArrayOutput - ToGetConnectionAdditionalInfoArrayOutputWithContext(context.Context) GetConnectionAdditionalInfoArrayOutput +func (o GetConnectionZSideAccessPointLocationOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointLocation) string { return v.Href }).(pulumi.StringOutput) } -type GetConnectionAdditionalInfoArray []GetConnectionAdditionalInfoInput +func (o GetConnectionZSideAccessPointLocationOutput) Ibx() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointLocation) string { return v.Ibx }).(pulumi.StringOutput) +} -func (GetConnectionAdditionalInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionAdditionalInfo)(nil)).Elem() +func (o GetConnectionZSideAccessPointLocationOutput) MetroCode() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointLocation) string { return v.MetroCode }).(pulumi.StringOutput) } -func (i GetConnectionAdditionalInfoArray) ToGetConnectionAdditionalInfoArrayOutput() GetConnectionAdditionalInfoArrayOutput { - return i.ToGetConnectionAdditionalInfoArrayOutputWithContext(context.Background()) +func (o GetConnectionZSideAccessPointLocationOutput) MetroName() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointLocation) string { return v.MetroName }).(pulumi.StringOutput) } -func (i GetConnectionAdditionalInfoArray) ToGetConnectionAdditionalInfoArrayOutputWithContext(ctx context.Context) GetConnectionAdditionalInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionAdditionalInfoArrayOutput) +func (o GetConnectionZSideAccessPointLocationOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointLocation) string { return v.Region }).(pulumi.StringOutput) } -type GetConnectionAdditionalInfoOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointLocationArrayOutput struct{ *pulumi.OutputState } -func (GetConnectionAdditionalInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionAdditionalInfo)(nil)).Elem() +func (GetConnectionZSideAccessPointLocationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointLocation)(nil)).Elem() } -func (o GetConnectionAdditionalInfoOutput) ToGetConnectionAdditionalInfoOutput() GetConnectionAdditionalInfoOutput { +func (o GetConnectionZSideAccessPointLocationArrayOutput) ToGetConnectionZSideAccessPointLocationArrayOutput() GetConnectionZSideAccessPointLocationArrayOutput { return o } -func (o GetConnectionAdditionalInfoOutput) ToGetConnectionAdditionalInfoOutputWithContext(ctx context.Context) GetConnectionAdditionalInfoOutput { +func (o GetConnectionZSideAccessPointLocationArrayOutput) ToGetConnectionZSideAccessPointLocationArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLocationArrayOutput { return o } -func (o GetConnectionAdditionalInfoOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionAdditionalInfo) string { return v.Key }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointLocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointLocation] { + return pulumix.Output[[]GetConnectionZSideAccessPointLocation]{ + OutputState: o.OutputState, + } } -func (o GetConnectionAdditionalInfoOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionAdditionalInfo) string { return v.Value }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointLocationArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointLocationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointLocation { + return vs[0].([]GetConnectionZSideAccessPointLocation)[vs[1].(int)] + }).(GetConnectionZSideAccessPointLocationOutput) } -type GetConnectionAdditionalInfoArrayOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointPort struct { + Href string `pulumi:"href"` + Name string `pulumi:"name"` + Redundancies []GetConnectionZSideAccessPointPortRedundancy `pulumi:"redundancies"` + Uuid string `pulumi:"uuid"` +} -func (GetConnectionAdditionalInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionAdditionalInfo)(nil)).Elem() +// GetConnectionZSideAccessPointPortInput is an input type that accepts GetConnectionZSideAccessPointPortArgs and GetConnectionZSideAccessPointPortOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointPortInput` via: +// +// GetConnectionZSideAccessPointPortArgs{...} +type GetConnectionZSideAccessPointPortInput interface { + pulumi.Input + + ToGetConnectionZSideAccessPointPortOutput() GetConnectionZSideAccessPointPortOutput + ToGetConnectionZSideAccessPointPortOutputWithContext(context.Context) GetConnectionZSideAccessPointPortOutput } -func (o GetConnectionAdditionalInfoArrayOutput) ToGetConnectionAdditionalInfoArrayOutput() GetConnectionAdditionalInfoArrayOutput { - return o +type GetConnectionZSideAccessPointPortArgs struct { + Href pulumi.StringInput `pulumi:"href"` + Name pulumi.StringInput `pulumi:"name"` + Redundancies GetConnectionZSideAccessPointPortRedundancyArrayInput `pulumi:"redundancies"` + Uuid pulumi.StringInput `pulumi:"uuid"` } -func (o GetConnectionAdditionalInfoArrayOutput) ToGetConnectionAdditionalInfoArrayOutputWithContext(ctx context.Context) GetConnectionAdditionalInfoArrayOutput { - return o +func (GetConnectionZSideAccessPointPortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointPort)(nil)).Elem() } -func (o GetConnectionAdditionalInfoArrayOutput) Index(i pulumi.IntInput) GetConnectionAdditionalInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionAdditionalInfo { - return vs[0].([]GetConnectionAdditionalInfo)[vs[1].(int)] - }).(GetConnectionAdditionalInfoOutput) +func (i GetConnectionZSideAccessPointPortArgs) ToGetConnectionZSideAccessPointPortOutput() GetConnectionZSideAccessPointPortOutput { + return i.ToGetConnectionZSideAccessPointPortOutputWithContext(context.Background()) } -type GetConnectionChangeLog struct { - CreatedBy string `pulumi:"createdBy"` - CreatedByEmail string `pulumi:"createdByEmail"` - CreatedByFullName string `pulumi:"createdByFullName"` - CreatedDateTime string `pulumi:"createdDateTime"` - DeletedBy string `pulumi:"deletedBy"` - DeletedByEmail string `pulumi:"deletedByEmail"` - DeletedByFullName string `pulumi:"deletedByFullName"` - DeletedDateTime string `pulumi:"deletedDateTime"` - UpdatedBy string `pulumi:"updatedBy"` - UpdatedByEmail string `pulumi:"updatedByEmail"` - UpdatedByFullName string `pulumi:"updatedByFullName"` - UpdatedDateTime string `pulumi:"updatedDateTime"` +func (i GetConnectionZSideAccessPointPortArgs) ToGetConnectionZSideAccessPointPortOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointPortOutput) } -// GetConnectionChangeLogInput is an input type that accepts GetConnectionChangeLogArgs and GetConnectionChangeLogOutput values. -// You can construct a concrete instance of `GetConnectionChangeLogInput` via: +func (i GetConnectionZSideAccessPointPortArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointPort] { + return pulumix.Output[GetConnectionZSideAccessPointPort]{ + OutputState: i.ToGetConnectionZSideAccessPointPortOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionZSideAccessPointPortArrayInput is an input type that accepts GetConnectionZSideAccessPointPortArray and GetConnectionZSideAccessPointPortArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointPortArrayInput` via: // -// GetConnectionChangeLogArgs{...} -type GetConnectionChangeLogInput interface { +// GetConnectionZSideAccessPointPortArray{ GetConnectionZSideAccessPointPortArgs{...} } +type GetConnectionZSideAccessPointPortArrayInput interface { pulumi.Input - ToGetConnectionChangeLogOutput() GetConnectionChangeLogOutput - ToGetConnectionChangeLogOutputWithContext(context.Context) GetConnectionChangeLogOutput + ToGetConnectionZSideAccessPointPortArrayOutput() GetConnectionZSideAccessPointPortArrayOutput + ToGetConnectionZSideAccessPointPortArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointPortArrayOutput } -type GetConnectionChangeLogArgs struct { - CreatedBy pulumi.StringInput `pulumi:"createdBy"` - CreatedByEmail pulumi.StringInput `pulumi:"createdByEmail"` - CreatedByFullName pulumi.StringInput `pulumi:"createdByFullName"` - CreatedDateTime pulumi.StringInput `pulumi:"createdDateTime"` - DeletedBy pulumi.StringInput `pulumi:"deletedBy"` - DeletedByEmail pulumi.StringInput `pulumi:"deletedByEmail"` - DeletedByFullName pulumi.StringInput `pulumi:"deletedByFullName"` - DeletedDateTime pulumi.StringInput `pulumi:"deletedDateTime"` - UpdatedBy pulumi.StringInput `pulumi:"updatedBy"` - UpdatedByEmail pulumi.StringInput `pulumi:"updatedByEmail"` - UpdatedByFullName pulumi.StringInput `pulumi:"updatedByFullName"` - UpdatedDateTime pulumi.StringInput `pulumi:"updatedDateTime"` +type GetConnectionZSideAccessPointPortArray []GetConnectionZSideAccessPointPortInput + +func (GetConnectionZSideAccessPointPortArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointPort)(nil)).Elem() } -func (GetConnectionChangeLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionChangeLog)(nil)).Elem() +func (i GetConnectionZSideAccessPointPortArray) ToGetConnectionZSideAccessPointPortArrayOutput() GetConnectionZSideAccessPointPortArrayOutput { + return i.ToGetConnectionZSideAccessPointPortArrayOutputWithContext(context.Background()) } -func (i GetConnectionChangeLogArgs) ToGetConnectionChangeLogOutput() GetConnectionChangeLogOutput { - return i.ToGetConnectionChangeLogOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointPortArray) ToGetConnectionZSideAccessPointPortArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointPortArrayOutput) } -func (i GetConnectionChangeLogArgs) ToGetConnectionChangeLogOutputWithContext(ctx context.Context) GetConnectionChangeLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionChangeLogOutput) +func (i GetConnectionZSideAccessPointPortArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointPort] { + return pulumix.Output[[]GetConnectionZSideAccessPointPort]{ + OutputState: i.ToGetConnectionZSideAccessPointPortArrayOutputWithContext(ctx).OutputState, + } } -type GetConnectionChangeLogOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointPortOutput struct{ *pulumi.OutputState } -func (GetConnectionChangeLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionChangeLog)(nil)).Elem() +func (GetConnectionZSideAccessPointPortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointPort)(nil)).Elem() } -func (o GetConnectionChangeLogOutput) ToGetConnectionChangeLogOutput() GetConnectionChangeLogOutput { +func (o GetConnectionZSideAccessPointPortOutput) ToGetConnectionZSideAccessPointPortOutput() GetConnectionZSideAccessPointPortOutput { return o } -func (o GetConnectionChangeLogOutput) ToGetConnectionChangeLogOutputWithContext(ctx context.Context) GetConnectionChangeLogOutput { +func (o GetConnectionZSideAccessPointPortOutput) ToGetConnectionZSideAccessPointPortOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortOutput { return o } -func (o GetConnectionChangeLogOutput) CreatedBy() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionChangeLog) string { return v.CreatedBy }).(pulumi.StringOutput) -} - -func (o GetConnectionChangeLogOutput) CreatedByEmail() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionChangeLog) string { return v.CreatedByEmail }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointPortOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointPort] { + return pulumix.Output[GetConnectionZSideAccessPointPort]{ + OutputState: o.OutputState, + } } -func (o GetConnectionChangeLogOutput) CreatedByFullName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionChangeLog) string { return v.CreatedByFullName }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointPortOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointPort) string { return v.Href }).(pulumi.StringOutput) } -func (o GetConnectionChangeLogOutput) CreatedDateTime() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionChangeLog) string { return v.CreatedDateTime }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointPortOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointPort) string { return v.Name }).(pulumi.StringOutput) } -func (o GetConnectionChangeLogOutput) DeletedBy() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionChangeLog) string { return v.DeletedBy }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointPortOutput) Redundancies() GetConnectionZSideAccessPointPortRedundancyArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointPort) []GetConnectionZSideAccessPointPortRedundancy { + return v.Redundancies + }).(GetConnectionZSideAccessPointPortRedundancyArrayOutput) } -func (o GetConnectionChangeLogOutput) DeletedByEmail() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionChangeLog) string { return v.DeletedByEmail }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointPortOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointPort) string { return v.Uuid }).(pulumi.StringOutput) } -func (o GetConnectionChangeLogOutput) DeletedByFullName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionChangeLog) string { return v.DeletedByFullName }).(pulumi.StringOutput) -} +type GetConnectionZSideAccessPointPortArrayOutput struct{ *pulumi.OutputState } -func (o GetConnectionChangeLogOutput) DeletedDateTime() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionChangeLog) string { return v.DeletedDateTime }).(pulumi.StringOutput) +func (GetConnectionZSideAccessPointPortArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointPort)(nil)).Elem() } -func (o GetConnectionChangeLogOutput) UpdatedBy() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionChangeLog) string { return v.UpdatedBy }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointPortArrayOutput) ToGetConnectionZSideAccessPointPortArrayOutput() GetConnectionZSideAccessPointPortArrayOutput { + return o } -func (o GetConnectionChangeLogOutput) UpdatedByEmail() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionChangeLog) string { return v.UpdatedByEmail }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointPortArrayOutput) ToGetConnectionZSideAccessPointPortArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortArrayOutput { + return o } -func (o GetConnectionChangeLogOutput) UpdatedByFullName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionChangeLog) string { return v.UpdatedByFullName }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointPortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointPort] { + return pulumix.Output[[]GetConnectionZSideAccessPointPort]{ + OutputState: o.OutputState, + } } -func (o GetConnectionChangeLogOutput) UpdatedDateTime() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionChangeLog) string { return v.UpdatedDateTime }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointPortArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointPortOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointPort { + return vs[0].([]GetConnectionZSideAccessPointPort)[vs[1].(int)] + }).(GetConnectionZSideAccessPointPortOutput) } -type GetConnectionNotification struct { - Emails []string `pulumi:"emails"` - SendInterval string `pulumi:"sendInterval"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` +type GetConnectionZSideAccessPointPortRedundancy struct { + Priority string `pulumi:"priority"` } -// GetConnectionNotificationInput is an input type that accepts GetConnectionNotificationArgs and GetConnectionNotificationOutput values. -// You can construct a concrete instance of `GetConnectionNotificationInput` via: +// GetConnectionZSideAccessPointPortRedundancyInput is an input type that accepts GetConnectionZSideAccessPointPortRedundancyArgs and GetConnectionZSideAccessPointPortRedundancyOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointPortRedundancyInput` via: // -// GetConnectionNotificationArgs{...} -type GetConnectionNotificationInput interface { +// GetConnectionZSideAccessPointPortRedundancyArgs{...} +type GetConnectionZSideAccessPointPortRedundancyInput interface { pulumi.Input - ToGetConnectionNotificationOutput() GetConnectionNotificationOutput - ToGetConnectionNotificationOutputWithContext(context.Context) GetConnectionNotificationOutput + ToGetConnectionZSideAccessPointPortRedundancyOutput() GetConnectionZSideAccessPointPortRedundancyOutput + ToGetConnectionZSideAccessPointPortRedundancyOutputWithContext(context.Context) GetConnectionZSideAccessPointPortRedundancyOutput } -type GetConnectionNotificationArgs struct { - Emails pulumi.StringArrayInput `pulumi:"emails"` - SendInterval pulumi.StringInput `pulumi:"sendInterval"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` +type GetConnectionZSideAccessPointPortRedundancyArgs struct { + Priority pulumi.StringInput `pulumi:"priority"` } -func (GetConnectionNotificationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionNotification)(nil)).Elem() +func (GetConnectionZSideAccessPointPortRedundancyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointPortRedundancy)(nil)).Elem() } -func (i GetConnectionNotificationArgs) ToGetConnectionNotificationOutput() GetConnectionNotificationOutput { - return i.ToGetConnectionNotificationOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointPortRedundancyArgs) ToGetConnectionZSideAccessPointPortRedundancyOutput() GetConnectionZSideAccessPointPortRedundancyOutput { + return i.ToGetConnectionZSideAccessPointPortRedundancyOutputWithContext(context.Background()) } -func (i GetConnectionNotificationArgs) ToGetConnectionNotificationOutputWithContext(ctx context.Context) GetConnectionNotificationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionNotificationOutput) +func (i GetConnectionZSideAccessPointPortRedundancyArgs) ToGetConnectionZSideAccessPointPortRedundancyOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortRedundancyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointPortRedundancyOutput) } -// GetConnectionNotificationArrayInput is an input type that accepts GetConnectionNotificationArray and GetConnectionNotificationArrayOutput values. -// You can construct a concrete instance of `GetConnectionNotificationArrayInput` via: +func (i GetConnectionZSideAccessPointPortRedundancyArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointPortRedundancy] { + return pulumix.Output[GetConnectionZSideAccessPointPortRedundancy]{ + OutputState: i.ToGetConnectionZSideAccessPointPortRedundancyOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionZSideAccessPointPortRedundancyArrayInput is an input type that accepts GetConnectionZSideAccessPointPortRedundancyArray and GetConnectionZSideAccessPointPortRedundancyArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointPortRedundancyArrayInput` via: // -// GetConnectionNotificationArray{ GetConnectionNotificationArgs{...} } -type GetConnectionNotificationArrayInput interface { +// GetConnectionZSideAccessPointPortRedundancyArray{ GetConnectionZSideAccessPointPortRedundancyArgs{...} } +type GetConnectionZSideAccessPointPortRedundancyArrayInput interface { pulumi.Input - ToGetConnectionNotificationArrayOutput() GetConnectionNotificationArrayOutput - ToGetConnectionNotificationArrayOutputWithContext(context.Context) GetConnectionNotificationArrayOutput + ToGetConnectionZSideAccessPointPortRedundancyArrayOutput() GetConnectionZSideAccessPointPortRedundancyArrayOutput + ToGetConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointPortRedundancyArrayOutput +} + +type GetConnectionZSideAccessPointPortRedundancyArray []GetConnectionZSideAccessPointPortRedundancyInput + +func (GetConnectionZSideAccessPointPortRedundancyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointPortRedundancy)(nil)).Elem() +} + +func (i GetConnectionZSideAccessPointPortRedundancyArray) ToGetConnectionZSideAccessPointPortRedundancyArrayOutput() GetConnectionZSideAccessPointPortRedundancyArrayOutput { + return i.ToGetConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(context.Background()) +} + +func (i GetConnectionZSideAccessPointPortRedundancyArray) ToGetConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortRedundancyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointPortRedundancyArrayOutput) +} + +func (i GetConnectionZSideAccessPointPortRedundancyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointPortRedundancy] { + return pulumix.Output[[]GetConnectionZSideAccessPointPortRedundancy]{ + OutputState: i.ToGetConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(ctx).OutputState, + } +} + +type GetConnectionZSideAccessPointPortRedundancyOutput struct{ *pulumi.OutputState } + +func (GetConnectionZSideAccessPointPortRedundancyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointPortRedundancy)(nil)).Elem() } -type GetConnectionNotificationArray []GetConnectionNotificationInput +func (o GetConnectionZSideAccessPointPortRedundancyOutput) ToGetConnectionZSideAccessPointPortRedundancyOutput() GetConnectionZSideAccessPointPortRedundancyOutput { + return o +} -func (GetConnectionNotificationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionNotification)(nil)).Elem() +func (o GetConnectionZSideAccessPointPortRedundancyOutput) ToGetConnectionZSideAccessPointPortRedundancyOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortRedundancyOutput { + return o } -func (i GetConnectionNotificationArray) ToGetConnectionNotificationArrayOutput() GetConnectionNotificationArrayOutput { - return i.ToGetConnectionNotificationArrayOutputWithContext(context.Background()) +func (o GetConnectionZSideAccessPointPortRedundancyOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointPortRedundancy] { + return pulumix.Output[GetConnectionZSideAccessPointPortRedundancy]{ + OutputState: o.OutputState, + } } -func (i GetConnectionNotificationArray) ToGetConnectionNotificationArrayOutputWithContext(ctx context.Context) GetConnectionNotificationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionNotificationArrayOutput) +func (o GetConnectionZSideAccessPointPortRedundancyOutput) Priority() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointPortRedundancy) string { return v.Priority }).(pulumi.StringOutput) } -type GetConnectionNotificationOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointPortRedundancyArrayOutput struct{ *pulumi.OutputState } -func (GetConnectionNotificationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionNotification)(nil)).Elem() +func (GetConnectionZSideAccessPointPortRedundancyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointPortRedundancy)(nil)).Elem() } -func (o GetConnectionNotificationOutput) ToGetConnectionNotificationOutput() GetConnectionNotificationOutput { +func (o GetConnectionZSideAccessPointPortRedundancyArrayOutput) ToGetConnectionZSideAccessPointPortRedundancyArrayOutput() GetConnectionZSideAccessPointPortRedundancyArrayOutput { return o } -func (o GetConnectionNotificationOutput) ToGetConnectionNotificationOutputWithContext(ctx context.Context) GetConnectionNotificationOutput { +func (o GetConnectionZSideAccessPointPortRedundancyArrayOutput) ToGetConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortRedundancyArrayOutput { return o } -func (o GetConnectionNotificationOutput) Emails() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetConnectionNotification) []string { return v.Emails }).(pulumi.StringArrayOutput) +func (o GetConnectionZSideAccessPointPortRedundancyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointPortRedundancy] { + return pulumix.Output[[]GetConnectionZSideAccessPointPortRedundancy]{ + OutputState: o.OutputState, + } } -func (o GetConnectionNotificationOutput) SendInterval() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionNotification) string { return v.SendInterval }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointPortRedundancyArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointPortRedundancyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointPortRedundancy { + return vs[0].([]GetConnectionZSideAccessPointPortRedundancy)[vs[1].(int)] + }).(GetConnectionZSideAccessPointPortRedundancyOutput) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionNotificationOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionNotification) string { return v.Type }).(pulumi.StringOutput) +type GetConnectionZSideAccessPointProfile struct { + AccessPointTypeConfigs []GetConnectionZSideAccessPointProfileAccessPointTypeConfig `pulumi:"accessPointTypeConfigs"` + Description string `pulumi:"description"` + Href string `pulumi:"href"` + Name string `pulumi:"name"` + Type string `pulumi:"type"` + Uuid string `pulumi:"uuid"` } -type GetConnectionNotificationArrayOutput struct{ *pulumi.OutputState } +// GetConnectionZSideAccessPointProfileInput is an input type that accepts GetConnectionZSideAccessPointProfileArgs and GetConnectionZSideAccessPointProfileOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileInput` via: +// +// GetConnectionZSideAccessPointProfileArgs{...} +type GetConnectionZSideAccessPointProfileInput interface { + pulumi.Input -func (GetConnectionNotificationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionNotification)(nil)).Elem() + ToGetConnectionZSideAccessPointProfileOutput() GetConnectionZSideAccessPointProfileOutput + ToGetConnectionZSideAccessPointProfileOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileOutput } -func (o GetConnectionNotificationArrayOutput) ToGetConnectionNotificationArrayOutput() GetConnectionNotificationArrayOutput { - return o +type GetConnectionZSideAccessPointProfileArgs struct { + AccessPointTypeConfigs GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput `pulumi:"accessPointTypeConfigs"` + Description pulumi.StringInput `pulumi:"description"` + Href pulumi.StringInput `pulumi:"href"` + Name pulumi.StringInput `pulumi:"name"` + Type pulumi.StringInput `pulumi:"type"` + Uuid pulumi.StringInput `pulumi:"uuid"` } -func (o GetConnectionNotificationArrayOutput) ToGetConnectionNotificationArrayOutputWithContext(ctx context.Context) GetConnectionNotificationArrayOutput { - return o +func (GetConnectionZSideAccessPointProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointProfile)(nil)).Elem() } -func (o GetConnectionNotificationArrayOutput) Index(i pulumi.IntInput) GetConnectionNotificationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionNotification { - return vs[0].([]GetConnectionNotification)[vs[1].(int)] - }).(GetConnectionNotificationOutput) +func (i GetConnectionZSideAccessPointProfileArgs) ToGetConnectionZSideAccessPointProfileOutput() GetConnectionZSideAccessPointProfileOutput { + return i.ToGetConnectionZSideAccessPointProfileOutputWithContext(context.Background()) } -type GetConnectionOperation struct { - EquinixStatus string `pulumi:"equinixStatus"` - Errors []GetConnectionOperationError `pulumi:"errors"` - ProviderStatus string `pulumi:"providerStatus"` +func (i GetConnectionZSideAccessPointProfileArgs) ToGetConnectionZSideAccessPointProfileOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileOutput) } -// GetConnectionOperationInput is an input type that accepts GetConnectionOperationArgs and GetConnectionOperationOutput values. -// You can construct a concrete instance of `GetConnectionOperationInput` via: +func (i GetConnectionZSideAccessPointProfileArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointProfile] { + return pulumix.Output[GetConnectionZSideAccessPointProfile]{ + OutputState: i.ToGetConnectionZSideAccessPointProfileOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionZSideAccessPointProfileArrayInput is an input type that accepts GetConnectionZSideAccessPointProfileArray and GetConnectionZSideAccessPointProfileArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileArrayInput` via: // -// GetConnectionOperationArgs{...} -type GetConnectionOperationInput interface { +// GetConnectionZSideAccessPointProfileArray{ GetConnectionZSideAccessPointProfileArgs{...} } +type GetConnectionZSideAccessPointProfileArrayInput interface { pulumi.Input - ToGetConnectionOperationOutput() GetConnectionOperationOutput - ToGetConnectionOperationOutputWithContext(context.Context) GetConnectionOperationOutput + ToGetConnectionZSideAccessPointProfileArrayOutput() GetConnectionZSideAccessPointProfileArrayOutput + ToGetConnectionZSideAccessPointProfileArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileArrayOutput } -type GetConnectionOperationArgs struct { - EquinixStatus pulumi.StringInput `pulumi:"equinixStatus"` - Errors GetConnectionOperationErrorArrayInput `pulumi:"errors"` - ProviderStatus pulumi.StringInput `pulumi:"providerStatus"` +type GetConnectionZSideAccessPointProfileArray []GetConnectionZSideAccessPointProfileInput + +func (GetConnectionZSideAccessPointProfileArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfile)(nil)).Elem() } -func (GetConnectionOperationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionOperation)(nil)).Elem() +func (i GetConnectionZSideAccessPointProfileArray) ToGetConnectionZSideAccessPointProfileArrayOutput() GetConnectionZSideAccessPointProfileArrayOutput { + return i.ToGetConnectionZSideAccessPointProfileArrayOutputWithContext(context.Background()) } -func (i GetConnectionOperationArgs) ToGetConnectionOperationOutput() GetConnectionOperationOutput { - return i.ToGetConnectionOperationOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointProfileArray) ToGetConnectionZSideAccessPointProfileArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileArrayOutput) } -func (i GetConnectionOperationArgs) ToGetConnectionOperationOutputWithContext(ctx context.Context) GetConnectionOperationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionOperationOutput) +func (i GetConnectionZSideAccessPointProfileArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointProfile] { + return pulumix.Output[[]GetConnectionZSideAccessPointProfile]{ + OutputState: i.ToGetConnectionZSideAccessPointProfileArrayOutputWithContext(ctx).OutputState, + } } -type GetConnectionOperationOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointProfileOutput struct{ *pulumi.OutputState } -func (GetConnectionOperationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionOperation)(nil)).Elem() +func (GetConnectionZSideAccessPointProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointProfile)(nil)).Elem() } -func (o GetConnectionOperationOutput) ToGetConnectionOperationOutput() GetConnectionOperationOutput { +func (o GetConnectionZSideAccessPointProfileOutput) ToGetConnectionZSideAccessPointProfileOutput() GetConnectionZSideAccessPointProfileOutput { return o } -func (o GetConnectionOperationOutput) ToGetConnectionOperationOutputWithContext(ctx context.Context) GetConnectionOperationOutput { +func (o GetConnectionZSideAccessPointProfileOutput) ToGetConnectionZSideAccessPointProfileOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileOutput { return o } -func (o GetConnectionOperationOutput) EquinixStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionOperation) string { return v.EquinixStatus }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointProfileOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointProfile] { + return pulumix.Output[GetConnectionZSideAccessPointProfile]{ + OutputState: o.OutputState, + } } -func (o GetConnectionOperationOutput) Errors() GetConnectionOperationErrorArrayOutput { - return o.ApplyT(func(v GetConnectionOperation) []GetConnectionOperationError { return v.Errors }).(GetConnectionOperationErrorArrayOutput) +func (o GetConnectionZSideAccessPointProfileOutput) AccessPointTypeConfigs() GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfile) []GetConnectionZSideAccessPointProfileAccessPointTypeConfig { + return v.AccessPointTypeConfigs + }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) } -func (o GetConnectionOperationOutput) ProviderStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionOperation) string { return v.ProviderStatus }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointProfileOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfile) string { return v.Description }).(pulumi.StringOutput) } -type GetConnectionOperationError struct { - // Connection additional information - AdditionalInfos []GetConnectionOperationErrorAdditionalInfo `pulumi:"additionalInfos"` - CorrelationId string `pulumi:"correlationId"` - Details string `pulumi:"details"` - ErrorCode string `pulumi:"errorCode"` - ErrorMessage string `pulumi:"errorMessage"` - Help string `pulumi:"help"` +func (o GetConnectionZSideAccessPointProfileOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfile) string { return v.Href }).(pulumi.StringOutput) } -// GetConnectionOperationErrorInput is an input type that accepts GetConnectionOperationErrorArgs and GetConnectionOperationErrorOutput values. -// You can construct a concrete instance of `GetConnectionOperationErrorInput` via: -// -// GetConnectionOperationErrorArgs{...} -type GetConnectionOperationErrorInput interface { - pulumi.Input - - ToGetConnectionOperationErrorOutput() GetConnectionOperationErrorOutput - ToGetConnectionOperationErrorOutputWithContext(context.Context) GetConnectionOperationErrorOutput +func (o GetConnectionZSideAccessPointProfileOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfile) string { return v.Name }).(pulumi.StringOutput) } -type GetConnectionOperationErrorArgs struct { - // Connection additional information - AdditionalInfos GetConnectionOperationErrorAdditionalInfoArrayInput `pulumi:"additionalInfos"` - CorrelationId pulumi.StringInput `pulumi:"correlationId"` - Details pulumi.StringInput `pulumi:"details"` - ErrorCode pulumi.StringInput `pulumi:"errorCode"` - ErrorMessage pulumi.StringInput `pulumi:"errorMessage"` - Help pulumi.StringInput `pulumi:"help"` +func (o GetConnectionZSideAccessPointProfileOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfile) string { return v.Type }).(pulumi.StringOutput) } -func (GetConnectionOperationErrorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionOperationError)(nil)).Elem() +func (o GetConnectionZSideAccessPointProfileOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfile) string { return v.Uuid }).(pulumi.StringOutput) } -func (i GetConnectionOperationErrorArgs) ToGetConnectionOperationErrorOutput() GetConnectionOperationErrorOutput { - return i.ToGetConnectionOperationErrorOutputWithContext(context.Background()) -} +type GetConnectionZSideAccessPointProfileArrayOutput struct{ *pulumi.OutputState } -func (i GetConnectionOperationErrorArgs) ToGetConnectionOperationErrorOutputWithContext(ctx context.Context) GetConnectionOperationErrorOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionOperationErrorOutput) +func (GetConnectionZSideAccessPointProfileArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfile)(nil)).Elem() } -// GetConnectionOperationErrorArrayInput is an input type that accepts GetConnectionOperationErrorArray and GetConnectionOperationErrorArrayOutput values. -// You can construct a concrete instance of `GetConnectionOperationErrorArrayInput` via: -// -// GetConnectionOperationErrorArray{ GetConnectionOperationErrorArgs{...} } -type GetConnectionOperationErrorArrayInput interface { - pulumi.Input +func (o GetConnectionZSideAccessPointProfileArrayOutput) ToGetConnectionZSideAccessPointProfileArrayOutput() GetConnectionZSideAccessPointProfileArrayOutput { + return o +} - ToGetConnectionOperationErrorArrayOutput() GetConnectionOperationErrorArrayOutput - ToGetConnectionOperationErrorArrayOutputWithContext(context.Context) GetConnectionOperationErrorArrayOutput +func (o GetConnectionZSideAccessPointProfileArrayOutput) ToGetConnectionZSideAccessPointProfileArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileArrayOutput { + return o } -type GetConnectionOperationErrorArray []GetConnectionOperationErrorInput +func (o GetConnectionZSideAccessPointProfileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointProfile] { + return pulumix.Output[[]GetConnectionZSideAccessPointProfile]{ + OutputState: o.OutputState, + } +} -func (GetConnectionOperationErrorArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionOperationError)(nil)).Elem() +func (o GetConnectionZSideAccessPointProfileArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointProfileOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointProfile { + return vs[0].([]GetConnectionZSideAccessPointProfile)[vs[1].(int)] + }).(GetConnectionZSideAccessPointProfileOutput) } -func (i GetConnectionOperationErrorArray) ToGetConnectionOperationErrorArrayOutput() GetConnectionOperationErrorArrayOutput { - return i.ToGetConnectionOperationErrorArrayOutputWithContext(context.Background()) +type GetConnectionZSideAccessPointProfileAccessPointTypeConfig struct { + AllowBandwidthAutoApproval bool `pulumi:"allowBandwidthAutoApproval"` + AllowBandwidthUpgrade bool `pulumi:"allowBandwidthUpgrade"` + AllowCustomBandwidth bool `pulumi:"allowCustomBandwidth"` + AllowRemoteConnections bool `pulumi:"allowRemoteConnections"` + ApiConfigs []GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig `pulumi:"apiConfigs"` + AuthenticationKeys []GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey `pulumi:"authenticationKeys"` + BandwidthAlertThreshold float64 `pulumi:"bandwidthAlertThreshold"` + ConnectionLabel string `pulumi:"connectionLabel"` + ConnectionRedundancyRequired bool `pulumi:"connectionRedundancyRequired"` + EnableAutoGenerateServiceKey bool `pulumi:"enableAutoGenerateServiceKey"` + LinkProtocolConfigs []GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig `pulumi:"linkProtocolConfigs"` + SupportedBandwidths []int `pulumi:"supportedBandwidths"` + Type string `pulumi:"type"` + Uuid string `pulumi:"uuid"` } -func (i GetConnectionOperationErrorArray) ToGetConnectionOperationErrorArrayOutputWithContext(ctx context.Context) GetConnectionOperationErrorArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionOperationErrorArrayOutput) +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs and GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigInput` via: +// +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs{...} +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigInput interface { + pulumi.Input + + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput } -type GetConnectionOperationErrorOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs struct { + AllowBandwidthAutoApproval pulumi.BoolInput `pulumi:"allowBandwidthAutoApproval"` + AllowBandwidthUpgrade pulumi.BoolInput `pulumi:"allowBandwidthUpgrade"` + AllowCustomBandwidth pulumi.BoolInput `pulumi:"allowCustomBandwidth"` + AllowRemoteConnections pulumi.BoolInput `pulumi:"allowRemoteConnections"` + ApiConfigs GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput `pulumi:"apiConfigs"` + AuthenticationKeys GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput `pulumi:"authenticationKeys"` + BandwidthAlertThreshold pulumi.Float64Input `pulumi:"bandwidthAlertThreshold"` + ConnectionLabel pulumi.StringInput `pulumi:"connectionLabel"` + ConnectionRedundancyRequired pulumi.BoolInput `pulumi:"connectionRedundancyRequired"` + EnableAutoGenerateServiceKey pulumi.BoolInput `pulumi:"enableAutoGenerateServiceKey"` + LinkProtocolConfigs GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput `pulumi:"linkProtocolConfigs"` + SupportedBandwidths pulumi.IntArrayInput `pulumi:"supportedBandwidths"` + Type pulumi.StringInput `pulumi:"type"` + Uuid pulumi.StringInput `pulumi:"uuid"` +} -func (GetConnectionOperationErrorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionOperationError)(nil)).Elem() +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() } -func (o GetConnectionOperationErrorOutput) ToGetConnectionOperationErrorOutput() GetConnectionOperationErrorOutput { - return o +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { + return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Background()) } -func (o GetConnectionOperationErrorOutput) ToGetConnectionOperationErrorOutputWithContext(ctx context.Context) GetConnectionOperationErrorOutput { - return o +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) } -// Connection additional information -func (o GetConnectionOperationErrorOutput) AdditionalInfos() GetConnectionOperationErrorAdditionalInfoArrayOutput { - return o.ApplyT(func(v GetConnectionOperationError) []GetConnectionOperationErrorAdditionalInfo { - return v.AdditionalInfos - }).(GetConnectionOperationErrorAdditionalInfoArrayOutput) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfig]{ + OutputState: i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionOperationErrorOutput) CorrelationId() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionOperationError) string { return v.CorrelationId }).(pulumi.StringOutput) +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigArray and GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput` via: +// +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigArray{ GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs{...} } +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput interface { + pulumi.Input + + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput } -func (o GetConnectionOperationErrorOutput) Details() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionOperationError) string { return v.Details }).(pulumi.StringOutput) +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigArray []GetConnectionZSideAccessPointProfileAccessPointTypeConfigInput + +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() } -func (o GetConnectionOperationErrorOutput) ErrorCode() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionOperationError) string { return v.ErrorCode }).(pulumi.StringOutput) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { + return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Background()) } -func (o GetConnectionOperationErrorOutput) ErrorMessage() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionOperationError) string { return v.ErrorMessage }).(pulumi.StringOutput) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) } -func (o GetConnectionOperationErrorOutput) Help() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionOperationError) string { return v.Help }).(pulumi.StringOutput) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfig]{ + OutputState: i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx).OutputState, + } } -type GetConnectionOperationErrorArrayOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput struct{ *pulumi.OutputState } -func (GetConnectionOperationErrorArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionOperationError)(nil)).Elem() +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() } -func (o GetConnectionOperationErrorArrayOutput) ToGetConnectionOperationErrorArrayOutput() GetConnectionOperationErrorArrayOutput { +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { return o } -func (o GetConnectionOperationErrorArrayOutput) ToGetConnectionOperationErrorArrayOutputWithContext(ctx context.Context) GetConnectionOperationErrorArrayOutput { +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { return o } -func (o GetConnectionOperationErrorArrayOutput) Index(i pulumi.IntInput) GetConnectionOperationErrorOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionOperationError { - return vs[0].([]GetConnectionOperationError)[vs[1].(int)] - }).(GetConnectionOperationErrorOutput) -} - -type GetConnectionOperationErrorAdditionalInfo struct { - Property string `pulumi:"property"` - Reason string `pulumi:"reason"` +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfig]{ + OutputState: o.OutputState, + } } -// GetConnectionOperationErrorAdditionalInfoInput is an input type that accepts GetConnectionOperationErrorAdditionalInfoArgs and GetConnectionOperationErrorAdditionalInfoOutput values. -// You can construct a concrete instance of `GetConnectionOperationErrorAdditionalInfoInput` via: -// -// GetConnectionOperationErrorAdditionalInfoArgs{...} -type GetConnectionOperationErrorAdditionalInfoInput interface { - pulumi.Input - - ToGetConnectionOperationErrorAdditionalInfoOutput() GetConnectionOperationErrorAdditionalInfoOutput - ToGetConnectionOperationErrorAdditionalInfoOutputWithContext(context.Context) GetConnectionOperationErrorAdditionalInfoOutput +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) AllowBandwidthAutoApproval() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) bool { + return v.AllowBandwidthAutoApproval + }).(pulumi.BoolOutput) } -type GetConnectionOperationErrorAdditionalInfoArgs struct { - Property pulumi.StringInput `pulumi:"property"` - Reason pulumi.StringInput `pulumi:"reason"` +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) AllowBandwidthUpgrade() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) bool { return v.AllowBandwidthUpgrade }).(pulumi.BoolOutput) } -func (GetConnectionOperationErrorAdditionalInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionOperationErrorAdditionalInfo)(nil)).Elem() +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) AllowCustomBandwidth() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) bool { return v.AllowCustomBandwidth }).(pulumi.BoolOutput) } -func (i GetConnectionOperationErrorAdditionalInfoArgs) ToGetConnectionOperationErrorAdditionalInfoOutput() GetConnectionOperationErrorAdditionalInfoOutput { - return i.ToGetConnectionOperationErrorAdditionalInfoOutputWithContext(context.Background()) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) AllowRemoteConnections() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) bool { + return v.AllowRemoteConnections + }).(pulumi.BoolOutput) } -func (i GetConnectionOperationErrorAdditionalInfoArgs) ToGetConnectionOperationErrorAdditionalInfoOutputWithContext(ctx context.Context) GetConnectionOperationErrorAdditionalInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionOperationErrorAdditionalInfoOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ApiConfigs() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) []GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig { + return v.ApiConfigs + }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) } -// GetConnectionOperationErrorAdditionalInfoArrayInput is an input type that accepts GetConnectionOperationErrorAdditionalInfoArray and GetConnectionOperationErrorAdditionalInfoArrayOutput values. -// You can construct a concrete instance of `GetConnectionOperationErrorAdditionalInfoArrayInput` via: -// -// GetConnectionOperationErrorAdditionalInfoArray{ GetConnectionOperationErrorAdditionalInfoArgs{...} } -type GetConnectionOperationErrorAdditionalInfoArrayInput interface { - pulumi.Input - - ToGetConnectionOperationErrorAdditionalInfoArrayOutput() GetConnectionOperationErrorAdditionalInfoArrayOutput - ToGetConnectionOperationErrorAdditionalInfoArrayOutputWithContext(context.Context) GetConnectionOperationErrorAdditionalInfoArrayOutput +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) AuthenticationKeys() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) []GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey { + return v.AuthenticationKeys + }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) } -type GetConnectionOperationErrorAdditionalInfoArray []GetConnectionOperationErrorAdditionalInfoInput - -func (GetConnectionOperationErrorAdditionalInfoArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionOperationErrorAdditionalInfo)(nil)).Elem() +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) BandwidthAlertThreshold() pulumi.Float64Output { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) float64 { + return v.BandwidthAlertThreshold + }).(pulumi.Float64Output) } -func (i GetConnectionOperationErrorAdditionalInfoArray) ToGetConnectionOperationErrorAdditionalInfoArrayOutput() GetConnectionOperationErrorAdditionalInfoArrayOutput { - return i.ToGetConnectionOperationErrorAdditionalInfoArrayOutputWithContext(context.Background()) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ConnectionLabel() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) string { return v.ConnectionLabel }).(pulumi.StringOutput) } -func (i GetConnectionOperationErrorAdditionalInfoArray) ToGetConnectionOperationErrorAdditionalInfoArrayOutputWithContext(ctx context.Context) GetConnectionOperationErrorAdditionalInfoArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionOperationErrorAdditionalInfoArrayOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ConnectionRedundancyRequired() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) bool { + return v.ConnectionRedundancyRequired + }).(pulumi.BoolOutput) } -type GetConnectionOperationErrorAdditionalInfoOutput struct{ *pulumi.OutputState } - -func (GetConnectionOperationErrorAdditionalInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionOperationErrorAdditionalInfo)(nil)).Elem() +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) EnableAutoGenerateServiceKey() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) bool { + return v.EnableAutoGenerateServiceKey + }).(pulumi.BoolOutput) } -func (o GetConnectionOperationErrorAdditionalInfoOutput) ToGetConnectionOperationErrorAdditionalInfoOutput() GetConnectionOperationErrorAdditionalInfoOutput { - return o +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) LinkProtocolConfigs() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) []GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig { + return v.LinkProtocolConfigs + }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) } -func (o GetConnectionOperationErrorAdditionalInfoOutput) ToGetConnectionOperationErrorAdditionalInfoOutputWithContext(ctx context.Context) GetConnectionOperationErrorAdditionalInfoOutput { - return o +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) SupportedBandwidths() pulumi.IntArrayOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) []int { return v.SupportedBandwidths }).(pulumi.IntArrayOutput) } -func (o GetConnectionOperationErrorAdditionalInfoOutput) Property() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionOperationErrorAdditionalInfo) string { return v.Property }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) string { return v.Type }).(pulumi.StringOutput) } -func (o GetConnectionOperationErrorAdditionalInfoOutput) Reason() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionOperationErrorAdditionalInfo) string { return v.Reason }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) string { return v.Uuid }).(pulumi.StringOutput) } -type GetConnectionOperationErrorAdditionalInfoArrayOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput struct{ *pulumi.OutputState } -func (GetConnectionOperationErrorAdditionalInfoArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionOperationErrorAdditionalInfo)(nil)).Elem() +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() } -func (o GetConnectionOperationErrorAdditionalInfoArrayOutput) ToGetConnectionOperationErrorAdditionalInfoArrayOutput() GetConnectionOperationErrorAdditionalInfoArrayOutput { +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { return o } -func (o GetConnectionOperationErrorAdditionalInfoArrayOutput) ToGetConnectionOperationErrorAdditionalInfoArrayOutputWithContext(ctx context.Context) GetConnectionOperationErrorAdditionalInfoArrayOutput { +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { return o } -func (o GetConnectionOperationErrorAdditionalInfoArrayOutput) Index(i pulumi.IntInput) GetConnectionOperationErrorAdditionalInfoOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionOperationErrorAdditionalInfo { - return vs[0].([]GetConnectionOperationErrorAdditionalInfo)[vs[1].(int)] - }).(GetConnectionOperationErrorAdditionalInfoOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfig] { + return pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfig]{ + OutputState: o.OutputState, + } } -type GetConnectionOrder struct { - BillingTier string `pulumi:"billingTier"` - OrderId string `pulumi:"orderId"` - OrderNumber string `pulumi:"orderNumber"` - PurchaseOrderNumber string `pulumi:"purchaseOrderNumber"` +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointProfileAccessPointTypeConfig { + return vs[0].([]GetConnectionZSideAccessPointProfileAccessPointTypeConfig)[vs[1].(int)] + }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) } -// GetConnectionOrderInput is an input type that accepts GetConnectionOrderArgs and GetConnectionOrderOutput values. -// You can construct a concrete instance of `GetConnectionOrderInput` via: +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig struct { + AllowOverSubscription bool `pulumi:"allowOverSubscription"` + ApiAvailable bool `pulumi:"apiAvailable"` + BandwidthFromApi bool `pulumi:"bandwidthFromApi"` + EquinixManagedPort bool `pulumi:"equinixManagedPort"` + EquinixManagedVlan bool `pulumi:"equinixManagedVlan"` + IntegrationId string `pulumi:"integrationId"` + OverSubscriptionLimit int `pulumi:"overSubscriptionLimit"` +} + +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs and GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigInput` via: // -// GetConnectionOrderArgs{...} -type GetConnectionOrderInput interface { +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs{...} +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigInput interface { pulumi.Input - ToGetConnectionOrderOutput() GetConnectionOrderOutput - ToGetConnectionOrderOutputWithContext(context.Context) GetConnectionOrderOutput -} - -type GetConnectionOrderArgs struct { - BillingTier pulumi.StringInput `pulumi:"billingTier"` - OrderId pulumi.StringInput `pulumi:"orderId"` - OrderNumber pulumi.StringInput `pulumi:"orderNumber"` - PurchaseOrderNumber pulumi.StringInput `pulumi:"purchaseOrderNumber"` + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput } -func (GetConnectionOrderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionOrder)(nil)).Elem() +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs struct { + AllowOverSubscription pulumi.BoolInput `pulumi:"allowOverSubscription"` + ApiAvailable pulumi.BoolInput `pulumi:"apiAvailable"` + BandwidthFromApi pulumi.BoolInput `pulumi:"bandwidthFromApi"` + EquinixManagedPort pulumi.BoolInput `pulumi:"equinixManagedPort"` + EquinixManagedVlan pulumi.BoolInput `pulumi:"equinixManagedVlan"` + IntegrationId pulumi.StringInput `pulumi:"integrationId"` + OverSubscriptionLimit pulumi.IntInput `pulumi:"overSubscriptionLimit"` } -func (i GetConnectionOrderArgs) ToGetConnectionOrderOutput() GetConnectionOrderOutput { - return i.ToGetConnectionOrderOutputWithContext(context.Background()) +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() } -func (i GetConnectionOrderArgs) ToGetConnectionOrderOutputWithContext(ctx context.Context) GetConnectionOrderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionOrderOutput) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput { + return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(context.Background()) } -type GetConnectionOrderOutput struct{ *pulumi.OutputState } - -func (GetConnectionOrderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionOrder)(nil)).Elem() +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) } -func (o GetConnectionOrderOutput) ToGetConnectionOrderOutput() GetConnectionOrderOutput { - return o +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig]{ + OutputState: i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionOrderOutput) ToGetConnectionOrderOutputWithContext(ctx context.Context) GetConnectionOrderOutput { - return o -} +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArray and GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput` via: +// +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArray{ GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs{...} } +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput interface { + pulumi.Input -func (o GetConnectionOrderOutput) BillingTier() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionOrder) string { return v.BillingTier }).(pulumi.StringOutput) + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput } -func (o GetConnectionOrderOutput) OrderId() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionOrder) string { return v.OrderId }).(pulumi.StringOutput) -} +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArray []GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigInput -func (o GetConnectionOrderOutput) OrderNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionOrder) string { return v.OrderNumber }).(pulumi.StringOutput) +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() } -func (o GetConnectionOrderOutput) PurchaseOrderNumber() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionOrder) string { return v.PurchaseOrderNumber }).(pulumi.StringOutput) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { + return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(context.Background()) } -type GetConnectionProject struct { - // Unique Resource URL - Href string `pulumi:"href"` - // Project Id - ProjectId string `pulumi:"projectId"` +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) } -// GetConnectionProjectInput is an input type that accepts GetConnectionProjectArgs and GetConnectionProjectOutput values. -// You can construct a concrete instance of `GetConnectionProjectInput` via: -// -// GetConnectionProjectArgs{...} -type GetConnectionProjectInput interface { - pulumi.Input - - ToGetConnectionProjectOutput() GetConnectionProjectOutput - ToGetConnectionProjectOutputWithContext(context.Context) GetConnectionProjectOutput +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig]{ + OutputState: i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(ctx).OutputState, + } } -type GetConnectionProjectArgs struct { - // Unique Resource URL - Href pulumi.StringInput `pulumi:"href"` - // Project Id - ProjectId pulumi.StringInput `pulumi:"projectId"` -} +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput struct{ *pulumi.OutputState } -func (GetConnectionProjectArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionProject)(nil)).Elem() +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() } -func (i GetConnectionProjectArgs) ToGetConnectionProjectOutput() GetConnectionProjectOutput { - return i.ToGetConnectionProjectOutputWithContext(context.Background()) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput { + return o } -func (i GetConnectionProjectArgs) ToGetConnectionProjectOutputWithContext(ctx context.Context) GetConnectionProjectOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionProjectOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput { + return o } -func (i GetConnectionProjectArgs) ToGetConnectionProjectPtrOutput() GetConnectionProjectPtrOutput { - return i.ToGetConnectionProjectPtrOutputWithContext(context.Background()) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig]{ + OutputState: o.OutputState, + } } -func (i GetConnectionProjectArgs) ToGetConnectionProjectPtrOutputWithContext(ctx context.Context) GetConnectionProjectPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionProjectOutput).ToGetConnectionProjectPtrOutputWithContext(ctx) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) AllowOverSubscription() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) bool { + return v.AllowOverSubscription + }).(pulumi.BoolOutput) } -// GetConnectionProjectPtrInput is an input type that accepts GetConnectionProjectArgs, GetConnectionProjectPtr and GetConnectionProjectPtrOutput values. -// You can construct a concrete instance of `GetConnectionProjectPtrInput` via: -// -// GetConnectionProjectArgs{...} -// -// or: -// -// nil -type GetConnectionProjectPtrInput interface { - pulumi.Input - - ToGetConnectionProjectPtrOutput() GetConnectionProjectPtrOutput - ToGetConnectionProjectPtrOutputWithContext(context.Context) GetConnectionProjectPtrOutput +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ApiAvailable() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) bool { return v.ApiAvailable }).(pulumi.BoolOutput) } -type getConnectionProjectPtrType GetConnectionProjectArgs +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) BandwidthFromApi() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) bool { + return v.BandwidthFromApi + }).(pulumi.BoolOutput) +} -func GetConnectionProjectPtr(v *GetConnectionProjectArgs) GetConnectionProjectPtrInput { - return (*getConnectionProjectPtrType)(v) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) EquinixManagedPort() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) bool { + return v.EquinixManagedPort + }).(pulumi.BoolOutput) } -func (*getConnectionProjectPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetConnectionProject)(nil)).Elem() +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) EquinixManagedVlan() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) bool { + return v.EquinixManagedVlan + }).(pulumi.BoolOutput) } -func (i *getConnectionProjectPtrType) ToGetConnectionProjectPtrOutput() GetConnectionProjectPtrOutput { - return i.ToGetConnectionProjectPtrOutputWithContext(context.Background()) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) IntegrationId() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) string { + return v.IntegrationId + }).(pulumi.StringOutput) } -func (i *getConnectionProjectPtrType) ToGetConnectionProjectPtrOutputWithContext(ctx context.Context) GetConnectionProjectPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionProjectPtrOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) OverSubscriptionLimit() pulumi.IntOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) int { + return v.OverSubscriptionLimit + }).(pulumi.IntOutput) } -type GetConnectionProjectOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput struct{ *pulumi.OutputState } -func (GetConnectionProjectOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionProject)(nil)).Elem() +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() } -func (o GetConnectionProjectOutput) ToGetConnectionProjectOutput() GetConnectionProjectOutput { +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { return o } -func (o GetConnectionProjectOutput) ToGetConnectionProjectOutputWithContext(ctx context.Context) GetConnectionProjectOutput { +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { return o } -func (o GetConnectionProjectOutput) ToGetConnectionProjectPtrOutput() GetConnectionProjectPtrOutput { - return o.ToGetConnectionProjectPtrOutputWithContext(context.Background()) -} - -func (o GetConnectionProjectOutput) ToGetConnectionProjectPtrOutputWithContext(ctx context.Context) GetConnectionProjectPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetConnectionProject) *GetConnectionProject { - return &v - }).(GetConnectionProjectPtrOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig]{ + OutputState: o.OutputState, + } } -// Unique Resource URL -func (o GetConnectionProjectOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionProject) string { return v.Href }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig { + return vs[0].([]GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig)[vs[1].(int)] + }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) } -// Project Id -func (o GetConnectionProjectOutput) ProjectId() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionProject) string { return v.ProjectId }).(pulumi.StringOutput) +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey struct { + Description string `pulumi:"description"` + Label string `pulumi:"label"` + Required bool `pulumi:"required"` } -type GetConnectionProjectPtrOutput struct{ *pulumi.OutputState } - -func (GetConnectionProjectPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetConnectionProject)(nil)).Elem() -} +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs and GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput` via: +// +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs{...} +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput interface { + pulumi.Input -func (o GetConnectionProjectPtrOutput) ToGetConnectionProjectPtrOutput() GetConnectionProjectPtrOutput { - return o + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput } -func (o GetConnectionProjectPtrOutput) ToGetConnectionProjectPtrOutputWithContext(ctx context.Context) GetConnectionProjectPtrOutput { - return o +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Label pulumi.StringInput `pulumi:"label"` + Required pulumi.BoolInput `pulumi:"required"` } -func (o GetConnectionProjectPtrOutput) Elem() GetConnectionProjectOutput { - return o.ApplyT(func(v *GetConnectionProject) GetConnectionProject { - if v != nil { - return *v - } - var ret GetConnectionProject - return ret - }).(GetConnectionProjectOutput) +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() } -// Unique Resource URL -func (o GetConnectionProjectPtrOutput) Href() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetConnectionProject) *string { - if v == nil { - return nil - } - return &v.Href - }).(pulumi.StringPtrOutput) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { + return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(context.Background()) } -// Project Id -func (o GetConnectionProjectPtrOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetConnectionProject) *string { - if v == nil { - return nil - } - return &v.ProjectId - }).(pulumi.StringPtrOutput) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) } -type GetConnectionRedundancy struct { - Group string `pulumi:"group"` - Priority string `pulumi:"priority"` +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx).OutputState, + } } -// GetConnectionRedundancyInput is an input type that accepts GetConnectionRedundancyArgs and GetConnectionRedundancyOutput values. -// You can construct a concrete instance of `GetConnectionRedundancyInput` via: +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray and GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput` via: // -// GetConnectionRedundancyArgs{...} -type GetConnectionRedundancyInput interface { +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray{ GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs{...} } +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput interface { pulumi.Input - ToGetConnectionRedundancyOutput() GetConnectionRedundancyOutput - ToGetConnectionRedundancyOutputWithContext(context.Context) GetConnectionRedundancyOutput + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput } -type GetConnectionRedundancyArgs struct { - Group pulumi.StringInput `pulumi:"group"` - Priority pulumi.StringInput `pulumi:"priority"` +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray []GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput + +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() } -func (GetConnectionRedundancyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionRedundancy)(nil)).Elem() +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { + return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(context.Background()) } -func (i GetConnectionRedundancyArgs) ToGetConnectionRedundancyOutput() GetConnectionRedundancyOutput { - return i.ToGetConnectionRedundancyOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) } -func (i GetConnectionRedundancyArgs) ToGetConnectionRedundancyOutputWithContext(ctx context.Context) GetConnectionRedundancyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionRedundancyOutput) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(ctx).OutputState, + } } -type GetConnectionRedundancyOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput struct{ *pulumi.OutputState } -func (GetConnectionRedundancyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionRedundancy)(nil)).Elem() +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() } -func (o GetConnectionRedundancyOutput) ToGetConnectionRedundancyOutput() GetConnectionRedundancyOutput { +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { return o } -func (o GetConnectionRedundancyOutput) ToGetConnectionRedundancyOutputWithContext(ctx context.Context) GetConnectionRedundancyOutput { +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { return o } -func (o GetConnectionRedundancyOutput) Group() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionRedundancy) string { return v.Group }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: o.OutputState, + } } -func (o GetConnectionRedundancyOutput) Priority() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionRedundancy) string { return v.Priority }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey) string { + return v.Description + }).(pulumi.StringOutput) } -type GetConnectionZSide struct { - AccessPoint GetConnectionZSideAccessPoint `pulumi:"accessPoint"` - ServiceToken GetConnectionZSideServiceToken `pulumi:"serviceToken"` +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey) string { + return v.Label + }).(pulumi.StringOutput) } -// GetConnectionZSideInput is an input type that accepts GetConnectionZSideArgs and GetConnectionZSideOutput values. -// You can construct a concrete instance of `GetConnectionZSideInput` via: -// -// GetConnectionZSideArgs{...} -type GetConnectionZSideInput interface { - pulumi.Input +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) Required() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey) bool { + return v.Required + }).(pulumi.BoolOutput) +} - ToGetConnectionZSideOutput() GetConnectionZSideOutput - ToGetConnectionZSideOutputWithContext(context.Context) GetConnectionZSideOutput +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput struct{ *pulumi.OutputState } + +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() } -type GetConnectionZSideArgs struct { - AccessPoint GetConnectionZSideAccessPointInput `pulumi:"accessPoint"` - ServiceToken GetConnectionZSideServiceTokenInput `pulumi:"serviceToken"` +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { + return o } -func (GetConnectionZSideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSide)(nil)).Elem() +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { + return o } -func (i GetConnectionZSideArgs) ToGetConnectionZSideOutput() GetConnectionZSideOutput { - return i.ToGetConnectionZSideOutputWithContext(context.Background()) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: o.OutputState, + } } -func (i GetConnectionZSideArgs) ToGetConnectionZSideOutputWithContext(ctx context.Context) GetConnectionZSideOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey { + return vs[0].([]GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey)[vs[1].(int)] + }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) } -type GetConnectionZSideOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig struct { + Encapsulation string `pulumi:"encapsulation"` + EncapsulationStrategy string `pulumi:"encapsulationStrategy"` + ReuseVlanSTag bool `pulumi:"reuseVlanSTag"` +} -func (GetConnectionZSideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSide)(nil)).Elem() +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs and GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput` via: +// +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs{...} +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput interface { + pulumi.Input + + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput } -func (o GetConnectionZSideOutput) ToGetConnectionZSideOutput() GetConnectionZSideOutput { - return o +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs struct { + Encapsulation pulumi.StringInput `pulumi:"encapsulation"` + EncapsulationStrategy pulumi.StringInput `pulumi:"encapsulationStrategy"` + ReuseVlanSTag pulumi.BoolInput `pulumi:"reuseVlanSTag"` } -func (o GetConnectionZSideOutput) ToGetConnectionZSideOutputWithContext(ctx context.Context) GetConnectionZSideOutput { - return o +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() } -func (o GetConnectionZSideOutput) AccessPoint() GetConnectionZSideAccessPointOutput { - return o.ApplyT(func(v GetConnectionZSide) GetConnectionZSideAccessPoint { return v.AccessPoint }).(GetConnectionZSideAccessPointOutput) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { + return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(context.Background()) } -func (o GetConnectionZSideOutput) ServiceToken() GetConnectionZSideServiceTokenOutput { - return o.ApplyT(func(v GetConnectionZSide) GetConnectionZSideServiceToken { return v.ServiceToken }).(GetConnectionZSideServiceTokenOutput) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) } -type GetConnectionZSideAccessPoint struct { - // Customer account information that is associated with this connection - Accounts []GetConnectionZSideAccessPointAccount `pulumi:"accounts"` - AuthenticationKey string `pulumi:"authenticationKey"` - Gateways []GetConnectionZSideAccessPointGateway `pulumi:"gateways"` - Interfaces []GetConnectionZSideAccessPointInterface `pulumi:"interfaces"` - LinkProtocols []GetConnectionZSideAccessPointLinkProtocol `pulumi:"linkProtocols"` - Locations []GetConnectionZSideAccessPointLocation `pulumi:"locations"` - PeeringType string `pulumi:"peeringType"` - Ports []GetConnectionZSideAccessPointPort `pulumi:"ports"` - Profiles []GetConnectionZSideAccessPointProfile `pulumi:"profiles"` - ProviderConnectionId string `pulumi:"providerConnectionId"` - SellerRegion string `pulumi:"sellerRegion"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - VirtualDevices []GetConnectionZSideAccessPointVirtualDevice `pulumi:"virtualDevices"` +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx).OutputState, + } } -// GetConnectionZSideAccessPointInput is an input type that accepts GetConnectionZSideAccessPointArgs and GetConnectionZSideAccessPointOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointInput` via: +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray and GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput` via: // -// GetConnectionZSideAccessPointArgs{...} -type GetConnectionZSideAccessPointInput interface { +// GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray{ GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs{...} } +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput interface { pulumi.Input - ToGetConnectionZSideAccessPointOutput() GetConnectionZSideAccessPointOutput - ToGetConnectionZSideAccessPointOutputWithContext(context.Context) GetConnectionZSideAccessPointOutput + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput + ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput } -type GetConnectionZSideAccessPointArgs struct { - // Customer account information that is associated with this connection - Accounts GetConnectionZSideAccessPointAccountArrayInput `pulumi:"accounts"` - AuthenticationKey pulumi.StringInput `pulumi:"authenticationKey"` - Gateways GetConnectionZSideAccessPointGatewayArrayInput `pulumi:"gateways"` - Interfaces GetConnectionZSideAccessPointInterfaceArrayInput `pulumi:"interfaces"` - LinkProtocols GetConnectionZSideAccessPointLinkProtocolArrayInput `pulumi:"linkProtocols"` - Locations GetConnectionZSideAccessPointLocationArrayInput `pulumi:"locations"` - PeeringType pulumi.StringInput `pulumi:"peeringType"` - Ports GetConnectionZSideAccessPointPortArrayInput `pulumi:"ports"` - Profiles GetConnectionZSideAccessPointProfileArrayInput `pulumi:"profiles"` - ProviderConnectionId pulumi.StringInput `pulumi:"providerConnectionId"` - SellerRegion pulumi.StringInput `pulumi:"sellerRegion"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - VirtualDevices GetConnectionZSideAccessPointVirtualDeviceArrayInput `pulumi:"virtualDevices"` +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray []GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput + +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() } -func (GetConnectionZSideAccessPointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPoint)(nil)).Elem() +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { + return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointArgs) ToGetConnectionZSideAccessPointOutput() GetConnectionZSideAccessPointOutput { - return i.ToGetConnectionZSideAccessPointOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) } -func (i GetConnectionZSideAccessPointArgs) ToGetConnectionZSideAccessPointOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointOutput) +func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(ctx).OutputState, + } } -type GetConnectionZSideAccessPointOutput struct{ *pulumi.OutputState } +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput struct{ *pulumi.OutputState } -func (GetConnectionZSideAccessPointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPoint)(nil)).Elem() +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() } -func (o GetConnectionZSideAccessPointOutput) ToGetConnectionZSideAccessPointOutput() GetConnectionZSideAccessPointOutput { +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { return o } -func (o GetConnectionZSideAccessPointOutput) ToGetConnectionZSideAccessPointOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointOutput { +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { return o } -// Customer account information that is associated with this connection -func (o GetConnectionZSideAccessPointOutput) Accounts() GetConnectionZSideAccessPointAccountArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointAccount { return v.Accounts }).(GetConnectionZSideAccessPointAccountArrayOutput) -} - -func (o GetConnectionZSideAccessPointOutput) AuthenticationKey() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPoint) string { return v.AuthenticationKey }).(pulumi.StringOutput) -} - -func (o GetConnectionZSideAccessPointOutput) Gateways() GetConnectionZSideAccessPointGatewayArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointGateway { return v.Gateways }).(GetConnectionZSideAccessPointGatewayArrayOutput) -} - -func (o GetConnectionZSideAccessPointOutput) Interfaces() GetConnectionZSideAccessPointInterfaceArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointInterface { return v.Interfaces }).(GetConnectionZSideAccessPointInterfaceArrayOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: o.OutputState, + } } -func (o GetConnectionZSideAccessPointOutput) LinkProtocols() GetConnectionZSideAccessPointLinkProtocolArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointLinkProtocol { - return v.LinkProtocols - }).(GetConnectionZSideAccessPointLinkProtocolArrayOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) Encapsulation() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig) string { + return v.Encapsulation + }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointOutput) Locations() GetConnectionZSideAccessPointLocationArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointLocation { return v.Locations }).(GetConnectionZSideAccessPointLocationArrayOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) EncapsulationStrategy() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig) string { + return v.EncapsulationStrategy + }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointOutput) PeeringType() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPoint) string { return v.PeeringType }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ReuseVlanSTag() pulumi.BoolOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig) bool { + return v.ReuseVlanSTag + }).(pulumi.BoolOutput) } -func (o GetConnectionZSideAccessPointOutput) Ports() GetConnectionZSideAccessPointPortArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointPort { return v.Ports }).(GetConnectionZSideAccessPointPortArrayOutput) -} +type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput struct{ *pulumi.OutputState } -func (o GetConnectionZSideAccessPointOutput) Profiles() GetConnectionZSideAccessPointProfileArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointProfile { return v.Profiles }).(GetConnectionZSideAccessPointProfileArrayOutput) +func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() } -func (o GetConnectionZSideAccessPointOutput) ProviderConnectionId() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPoint) string { return v.ProviderConnectionId }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { + return o } -func (o GetConnectionZSideAccessPointOutput) SellerRegion() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPoint) string { return v.SellerRegion }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { + return o } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionZSideAccessPointOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPoint) string { return v.Type }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: o.OutputState, + } } -func (o GetConnectionZSideAccessPointOutput) VirtualDevices() GetConnectionZSideAccessPointVirtualDeviceArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPoint) []GetConnectionZSideAccessPointVirtualDevice { - return v.VirtualDevices - }).(GetConnectionZSideAccessPointVirtualDeviceArrayOutput) +func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig { + return vs[0].([]GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)[vs[1].(int)] + }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) } -type GetConnectionZSideAccessPointAccount struct { - AccountName string `pulumi:"accountName"` - AccountNumber int `pulumi:"accountNumber"` - GlobalCustId string `pulumi:"globalCustId"` - GlobalOrgId string `pulumi:"globalOrgId"` - GlobalOrganizationName string `pulumi:"globalOrganizationName"` - OrgId int `pulumi:"orgId"` - OrganizationName string `pulumi:"organizationName"` +type GetConnectionZSideAccessPointRouter struct { + Href string `pulumi:"href"` + State string `pulumi:"state"` + Uuid string `pulumi:"uuid"` } -// GetConnectionZSideAccessPointAccountInput is an input type that accepts GetConnectionZSideAccessPointAccountArgs and GetConnectionZSideAccessPointAccountOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointAccountInput` via: +// GetConnectionZSideAccessPointRouterInput is an input type that accepts GetConnectionZSideAccessPointRouterArgs and GetConnectionZSideAccessPointRouterOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointRouterInput` via: // -// GetConnectionZSideAccessPointAccountArgs{...} -type GetConnectionZSideAccessPointAccountInput interface { +// GetConnectionZSideAccessPointRouterArgs{...} +type GetConnectionZSideAccessPointRouterInput interface { pulumi.Input - ToGetConnectionZSideAccessPointAccountOutput() GetConnectionZSideAccessPointAccountOutput - ToGetConnectionZSideAccessPointAccountOutputWithContext(context.Context) GetConnectionZSideAccessPointAccountOutput + ToGetConnectionZSideAccessPointRouterOutput() GetConnectionZSideAccessPointRouterOutput + ToGetConnectionZSideAccessPointRouterOutputWithContext(context.Context) GetConnectionZSideAccessPointRouterOutput } -type GetConnectionZSideAccessPointAccountArgs struct { - AccountName pulumi.StringInput `pulumi:"accountName"` - AccountNumber pulumi.IntInput `pulumi:"accountNumber"` - GlobalCustId pulumi.StringInput `pulumi:"globalCustId"` - GlobalOrgId pulumi.StringInput `pulumi:"globalOrgId"` - GlobalOrganizationName pulumi.StringInput `pulumi:"globalOrganizationName"` - OrgId pulumi.IntInput `pulumi:"orgId"` - OrganizationName pulumi.StringInput `pulumi:"organizationName"` +type GetConnectionZSideAccessPointRouterArgs struct { + Href pulumi.StringInput `pulumi:"href"` + State pulumi.StringInput `pulumi:"state"` + Uuid pulumi.StringInput `pulumi:"uuid"` } -func (GetConnectionZSideAccessPointAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointAccount)(nil)).Elem() +func (GetConnectionZSideAccessPointRouterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointRouter)(nil)).Elem() } -func (i GetConnectionZSideAccessPointAccountArgs) ToGetConnectionZSideAccessPointAccountOutput() GetConnectionZSideAccessPointAccountOutput { - return i.ToGetConnectionZSideAccessPointAccountOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointRouterArgs) ToGetConnectionZSideAccessPointRouterOutput() GetConnectionZSideAccessPointRouterOutput { + return i.ToGetConnectionZSideAccessPointRouterOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointAccountArgs) ToGetConnectionZSideAccessPointAccountOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointAccountOutput) +func (i GetConnectionZSideAccessPointRouterArgs) ToGetConnectionZSideAccessPointRouterOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointRouterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointRouterOutput) } -// GetConnectionZSideAccessPointAccountArrayInput is an input type that accepts GetConnectionZSideAccessPointAccountArray and GetConnectionZSideAccessPointAccountArrayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointAccountArrayInput` via: +func (i GetConnectionZSideAccessPointRouterArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointRouter] { + return pulumix.Output[GetConnectionZSideAccessPointRouter]{ + OutputState: i.ToGetConnectionZSideAccessPointRouterOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionZSideAccessPointRouterArrayInput is an input type that accepts GetConnectionZSideAccessPointRouterArray and GetConnectionZSideAccessPointRouterArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointRouterArrayInput` via: // -// GetConnectionZSideAccessPointAccountArray{ GetConnectionZSideAccessPointAccountArgs{...} } -type GetConnectionZSideAccessPointAccountArrayInput interface { +// GetConnectionZSideAccessPointRouterArray{ GetConnectionZSideAccessPointRouterArgs{...} } +type GetConnectionZSideAccessPointRouterArrayInput interface { pulumi.Input - ToGetConnectionZSideAccessPointAccountArrayOutput() GetConnectionZSideAccessPointAccountArrayOutput - ToGetConnectionZSideAccessPointAccountArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointAccountArrayOutput + ToGetConnectionZSideAccessPointRouterArrayOutput() GetConnectionZSideAccessPointRouterArrayOutput + ToGetConnectionZSideAccessPointRouterArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointRouterArrayOutput } -type GetConnectionZSideAccessPointAccountArray []GetConnectionZSideAccessPointAccountInput +type GetConnectionZSideAccessPointRouterArray []GetConnectionZSideAccessPointRouterInput -func (GetConnectionZSideAccessPointAccountArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointAccount)(nil)).Elem() +func (GetConnectionZSideAccessPointRouterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointRouter)(nil)).Elem() } -func (i GetConnectionZSideAccessPointAccountArray) ToGetConnectionZSideAccessPointAccountArrayOutput() GetConnectionZSideAccessPointAccountArrayOutput { - return i.ToGetConnectionZSideAccessPointAccountArrayOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointRouterArray) ToGetConnectionZSideAccessPointRouterArrayOutput() GetConnectionZSideAccessPointRouterArrayOutput { + return i.ToGetConnectionZSideAccessPointRouterArrayOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointAccountArray) ToGetConnectionZSideAccessPointAccountArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointAccountArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointAccountArrayOutput) +func (i GetConnectionZSideAccessPointRouterArray) ToGetConnectionZSideAccessPointRouterArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointRouterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointRouterArrayOutput) } -type GetConnectionZSideAccessPointAccountOutput struct{ *pulumi.OutputState } - -func (GetConnectionZSideAccessPointAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointAccount)(nil)).Elem() +func (i GetConnectionZSideAccessPointRouterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointRouter] { + return pulumix.Output[[]GetConnectionZSideAccessPointRouter]{ + OutputState: i.ToGetConnectionZSideAccessPointRouterArrayOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionZSideAccessPointAccountOutput) ToGetConnectionZSideAccessPointAccountOutput() GetConnectionZSideAccessPointAccountOutput { - return o +type GetConnectionZSideAccessPointRouterOutput struct{ *pulumi.OutputState } + +func (GetConnectionZSideAccessPointRouterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointRouter)(nil)).Elem() } -func (o GetConnectionZSideAccessPointAccountOutput) ToGetConnectionZSideAccessPointAccountOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointAccountOutput { +func (o GetConnectionZSideAccessPointRouterOutput) ToGetConnectionZSideAccessPointRouterOutput() GetConnectionZSideAccessPointRouterOutput { return o } -func (o GetConnectionZSideAccessPointAccountOutput) AccountName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) string { return v.AccountName }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointRouterOutput) ToGetConnectionZSideAccessPointRouterOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointRouterOutput { + return o } -func (o GetConnectionZSideAccessPointAccountOutput) AccountNumber() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) int { return v.AccountNumber }).(pulumi.IntOutput) +func (o GetConnectionZSideAccessPointRouterOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointRouter] { + return pulumix.Output[GetConnectionZSideAccessPointRouter]{ + OutputState: o.OutputState, + } } -func (o GetConnectionZSideAccessPointAccountOutput) GlobalCustId() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) string { return v.GlobalCustId }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointRouterOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointRouter) string { return v.Href }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointAccountOutput) GlobalOrgId() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) string { return v.GlobalOrgId }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointRouterOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointRouter) string { return v.State }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointAccountOutput) GlobalOrganizationName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) string { return v.GlobalOrganizationName }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointRouterOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointRouter) string { return v.Uuid }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointAccountOutput) OrgId() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) int { return v.OrgId }).(pulumi.IntOutput) -} +type GetConnectionZSideAccessPointRouterArrayOutput struct{ *pulumi.OutputState } -func (o GetConnectionZSideAccessPointAccountOutput) OrganizationName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointAccount) string { return v.OrganizationName }).(pulumi.StringOutput) +func (GetConnectionZSideAccessPointRouterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointRouter)(nil)).Elem() } -type GetConnectionZSideAccessPointAccountArrayOutput struct{ *pulumi.OutputState } - -func (GetConnectionZSideAccessPointAccountArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointAccount)(nil)).Elem() +func (o GetConnectionZSideAccessPointRouterArrayOutput) ToGetConnectionZSideAccessPointRouterArrayOutput() GetConnectionZSideAccessPointRouterArrayOutput { + return o } -func (o GetConnectionZSideAccessPointAccountArrayOutput) ToGetConnectionZSideAccessPointAccountArrayOutput() GetConnectionZSideAccessPointAccountArrayOutput { +func (o GetConnectionZSideAccessPointRouterArrayOutput) ToGetConnectionZSideAccessPointRouterArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointRouterArrayOutput { return o } -func (o GetConnectionZSideAccessPointAccountArrayOutput) ToGetConnectionZSideAccessPointAccountArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointAccountArrayOutput { - return o +func (o GetConnectionZSideAccessPointRouterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointRouter] { + return pulumix.Output[[]GetConnectionZSideAccessPointRouter]{ + OutputState: o.OutputState, + } } -func (o GetConnectionZSideAccessPointAccountArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointAccountOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointAccount { - return vs[0].([]GetConnectionZSideAccessPointAccount)[vs[1].(int)] - }).(GetConnectionZSideAccessPointAccountOutput) +func (o GetConnectionZSideAccessPointRouterArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointRouterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointRouter { + return vs[0].([]GetConnectionZSideAccessPointRouter)[vs[1].(int)] + }).(GetConnectionZSideAccessPointRouterOutput) } -type GetConnectionZSideAccessPointGateway struct { - // Connection URI information +type GetConnectionZSideAccessPointVirtualDevice struct { Href string `pulumi:"href"` - // Connection overall state - State string `pulumi:"state"` - // Equinix-assigned connection identifier + Type string `pulumi:"type"` Uuid string `pulumi:"uuid"` } -// GetConnectionZSideAccessPointGatewayInput is an input type that accepts GetConnectionZSideAccessPointGatewayArgs and GetConnectionZSideAccessPointGatewayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointGatewayInput` via: +// GetConnectionZSideAccessPointVirtualDeviceInput is an input type that accepts GetConnectionZSideAccessPointVirtualDeviceArgs and GetConnectionZSideAccessPointVirtualDeviceOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointVirtualDeviceInput` via: // -// GetConnectionZSideAccessPointGatewayArgs{...} -type GetConnectionZSideAccessPointGatewayInput interface { +// GetConnectionZSideAccessPointVirtualDeviceArgs{...} +type GetConnectionZSideAccessPointVirtualDeviceInput interface { pulumi.Input - ToGetConnectionZSideAccessPointGatewayOutput() GetConnectionZSideAccessPointGatewayOutput - ToGetConnectionZSideAccessPointGatewayOutputWithContext(context.Context) GetConnectionZSideAccessPointGatewayOutput + ToGetConnectionZSideAccessPointVirtualDeviceOutput() GetConnectionZSideAccessPointVirtualDeviceOutput + ToGetConnectionZSideAccessPointVirtualDeviceOutputWithContext(context.Context) GetConnectionZSideAccessPointVirtualDeviceOutput } -type GetConnectionZSideAccessPointGatewayArgs struct { - // Connection URI information +type GetConnectionZSideAccessPointVirtualDeviceArgs struct { Href pulumi.StringInput `pulumi:"href"` - // Connection overall state - State pulumi.StringInput `pulumi:"state"` - // Equinix-assigned connection identifier + Type pulumi.StringInput `pulumi:"type"` Uuid pulumi.StringInput `pulumi:"uuid"` } -func (GetConnectionZSideAccessPointGatewayArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointGateway)(nil)).Elem() +func (GetConnectionZSideAccessPointVirtualDeviceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointVirtualDevice)(nil)).Elem() } -func (i GetConnectionZSideAccessPointGatewayArgs) ToGetConnectionZSideAccessPointGatewayOutput() GetConnectionZSideAccessPointGatewayOutput { - return i.ToGetConnectionZSideAccessPointGatewayOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointVirtualDeviceArgs) ToGetConnectionZSideAccessPointVirtualDeviceOutput() GetConnectionZSideAccessPointVirtualDeviceOutput { + return i.ToGetConnectionZSideAccessPointVirtualDeviceOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointGatewayArgs) ToGetConnectionZSideAccessPointGatewayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointGatewayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointGatewayOutput) +func (i GetConnectionZSideAccessPointVirtualDeviceArgs) ToGetConnectionZSideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointVirtualDeviceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointVirtualDeviceOutput) } -// GetConnectionZSideAccessPointGatewayArrayInput is an input type that accepts GetConnectionZSideAccessPointGatewayArray and GetConnectionZSideAccessPointGatewayArrayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointGatewayArrayInput` via: +func (i GetConnectionZSideAccessPointVirtualDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointVirtualDevice] { + return pulumix.Output[GetConnectionZSideAccessPointVirtualDevice]{ + OutputState: i.ToGetConnectionZSideAccessPointVirtualDeviceOutputWithContext(ctx).OutputState, + } +} + +// GetConnectionZSideAccessPointVirtualDeviceArrayInput is an input type that accepts GetConnectionZSideAccessPointVirtualDeviceArray and GetConnectionZSideAccessPointVirtualDeviceArrayOutput values. +// You can construct a concrete instance of `GetConnectionZSideAccessPointVirtualDeviceArrayInput` via: // -// GetConnectionZSideAccessPointGatewayArray{ GetConnectionZSideAccessPointGatewayArgs{...} } -type GetConnectionZSideAccessPointGatewayArrayInput interface { +// GetConnectionZSideAccessPointVirtualDeviceArray{ GetConnectionZSideAccessPointVirtualDeviceArgs{...} } +type GetConnectionZSideAccessPointVirtualDeviceArrayInput interface { pulumi.Input - ToGetConnectionZSideAccessPointGatewayArrayOutput() GetConnectionZSideAccessPointGatewayArrayOutput - ToGetConnectionZSideAccessPointGatewayArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointGatewayArrayOutput + ToGetConnectionZSideAccessPointVirtualDeviceArrayOutput() GetConnectionZSideAccessPointVirtualDeviceArrayOutput + ToGetConnectionZSideAccessPointVirtualDeviceArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointVirtualDeviceArrayOutput } -type GetConnectionZSideAccessPointGatewayArray []GetConnectionZSideAccessPointGatewayInput +type GetConnectionZSideAccessPointVirtualDeviceArray []GetConnectionZSideAccessPointVirtualDeviceInput -func (GetConnectionZSideAccessPointGatewayArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointGateway)(nil)).Elem() +func (GetConnectionZSideAccessPointVirtualDeviceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointVirtualDevice)(nil)).Elem() } -func (i GetConnectionZSideAccessPointGatewayArray) ToGetConnectionZSideAccessPointGatewayArrayOutput() GetConnectionZSideAccessPointGatewayArrayOutput { - return i.ToGetConnectionZSideAccessPointGatewayArrayOutputWithContext(context.Background()) +func (i GetConnectionZSideAccessPointVirtualDeviceArray) ToGetConnectionZSideAccessPointVirtualDeviceArrayOutput() GetConnectionZSideAccessPointVirtualDeviceArrayOutput { + return i.ToGetConnectionZSideAccessPointVirtualDeviceArrayOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointGatewayArray) ToGetConnectionZSideAccessPointGatewayArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointGatewayArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointGatewayArrayOutput) +func (i GetConnectionZSideAccessPointVirtualDeviceArray) ToGetConnectionZSideAccessPointVirtualDeviceArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointVirtualDeviceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointVirtualDeviceArrayOutput) } -type GetConnectionZSideAccessPointGatewayOutput struct{ *pulumi.OutputState } +func (i GetConnectionZSideAccessPointVirtualDeviceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointVirtualDevice] { + return pulumix.Output[[]GetConnectionZSideAccessPointVirtualDevice]{ + OutputState: i.ToGetConnectionZSideAccessPointVirtualDeviceArrayOutputWithContext(ctx).OutputState, + } +} -func (GetConnectionZSideAccessPointGatewayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointGateway)(nil)).Elem() +type GetConnectionZSideAccessPointVirtualDeviceOutput struct{ *pulumi.OutputState } + +func (GetConnectionZSideAccessPointVirtualDeviceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideAccessPointVirtualDevice)(nil)).Elem() } -func (o GetConnectionZSideAccessPointGatewayOutput) ToGetConnectionZSideAccessPointGatewayOutput() GetConnectionZSideAccessPointGatewayOutput { +func (o GetConnectionZSideAccessPointVirtualDeviceOutput) ToGetConnectionZSideAccessPointVirtualDeviceOutput() GetConnectionZSideAccessPointVirtualDeviceOutput { return o } -func (o GetConnectionZSideAccessPointGatewayOutput) ToGetConnectionZSideAccessPointGatewayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointGatewayOutput { +func (o GetConnectionZSideAccessPointVirtualDeviceOutput) ToGetConnectionZSideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointVirtualDeviceOutput { return o } -// Connection URI information -func (o GetConnectionZSideAccessPointGatewayOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointGateway) string { return v.Href }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointVirtualDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideAccessPointVirtualDevice] { + return pulumix.Output[GetConnectionZSideAccessPointVirtualDevice]{ + OutputState: o.OutputState, + } } -// Connection overall state -func (o GetConnectionZSideAccessPointGatewayOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointGateway) string { return v.State }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointVirtualDeviceOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointVirtualDevice) string { return v.Href }).(pulumi.StringOutput) } -// Equinix-assigned connection identifier -func (o GetConnectionZSideAccessPointGatewayOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointGateway) string { return v.Uuid }).(pulumi.StringOutput) +func (o GetConnectionZSideAccessPointVirtualDeviceOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointVirtualDevice) string { return v.Type }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointGatewayArrayOutput struct{ *pulumi.OutputState } +func (o GetConnectionZSideAccessPointVirtualDeviceOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideAccessPointVirtualDevice) string { return v.Uuid }).(pulumi.StringOutput) +} -func (GetConnectionZSideAccessPointGatewayArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointGateway)(nil)).Elem() +type GetConnectionZSideAccessPointVirtualDeviceArrayOutput struct{ *pulumi.OutputState } + +func (GetConnectionZSideAccessPointVirtualDeviceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetConnectionZSideAccessPointVirtualDevice)(nil)).Elem() } -func (o GetConnectionZSideAccessPointGatewayArrayOutput) ToGetConnectionZSideAccessPointGatewayArrayOutput() GetConnectionZSideAccessPointGatewayArrayOutput { +func (o GetConnectionZSideAccessPointVirtualDeviceArrayOutput) ToGetConnectionZSideAccessPointVirtualDeviceArrayOutput() GetConnectionZSideAccessPointVirtualDeviceArrayOutput { return o } -func (o GetConnectionZSideAccessPointGatewayArrayOutput) ToGetConnectionZSideAccessPointGatewayArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointGatewayArrayOutput { +func (o GetConnectionZSideAccessPointVirtualDeviceArrayOutput) ToGetConnectionZSideAccessPointVirtualDeviceArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointVirtualDeviceArrayOutput { return o } -func (o GetConnectionZSideAccessPointGatewayArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointGatewayOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointGateway { - return vs[0].([]GetConnectionZSideAccessPointGateway)[vs[1].(int)] - }).(GetConnectionZSideAccessPointGatewayOutput) +func (o GetConnectionZSideAccessPointVirtualDeviceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetConnectionZSideAccessPointVirtualDevice] { + return pulumix.Output[[]GetConnectionZSideAccessPointVirtualDevice]{ + OutputState: o.OutputState, + } } -type GetConnectionZSideAccessPointInterface struct { - // The ID of this resource. - Id string `pulumi:"id"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid string `pulumi:"uuid"` +func (o GetConnectionZSideAccessPointVirtualDeviceArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointVirtualDeviceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointVirtualDevice { + return vs[0].([]GetConnectionZSideAccessPointVirtualDevice)[vs[1].(int)] + }).(GetConnectionZSideAccessPointVirtualDeviceOutput) } -// GetConnectionZSideAccessPointInterfaceInput is an input type that accepts GetConnectionZSideAccessPointInterfaceArgs and GetConnectionZSideAccessPointInterfaceOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointInterfaceInput` via: +type GetConnectionZSideServiceToken struct { + Description string `pulumi:"description"` + Href string `pulumi:"href"` + Type string `pulumi:"type"` + Uuid string `pulumi:"uuid"` +} + +// GetConnectionZSideServiceTokenInput is an input type that accepts GetConnectionZSideServiceTokenArgs and GetConnectionZSideServiceTokenOutput values. +// You can construct a concrete instance of `GetConnectionZSideServiceTokenInput` via: // -// GetConnectionZSideAccessPointInterfaceArgs{...} -type GetConnectionZSideAccessPointInterfaceInput interface { +// GetConnectionZSideServiceTokenArgs{...} +type GetConnectionZSideServiceTokenInput interface { pulumi.Input - ToGetConnectionZSideAccessPointInterfaceOutput() GetConnectionZSideAccessPointInterfaceOutput - ToGetConnectionZSideAccessPointInterfaceOutputWithContext(context.Context) GetConnectionZSideAccessPointInterfaceOutput + ToGetConnectionZSideServiceTokenOutput() GetConnectionZSideServiceTokenOutput + ToGetConnectionZSideServiceTokenOutputWithContext(context.Context) GetConnectionZSideServiceTokenOutput } -type GetConnectionZSideAccessPointInterfaceArgs struct { - // The ID of this resource. - Id pulumi.StringInput `pulumi:"id"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid pulumi.StringInput `pulumi:"uuid"` +type GetConnectionZSideServiceTokenArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Href pulumi.StringInput `pulumi:"href"` + Type pulumi.StringInput `pulumi:"type"` + Uuid pulumi.StringInput `pulumi:"uuid"` } -func (GetConnectionZSideAccessPointInterfaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointInterface)(nil)).Elem() +func (GetConnectionZSideServiceTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideServiceToken)(nil)).Elem() } -func (i GetConnectionZSideAccessPointInterfaceArgs) ToGetConnectionZSideAccessPointInterfaceOutput() GetConnectionZSideAccessPointInterfaceOutput { - return i.ToGetConnectionZSideAccessPointInterfaceOutputWithContext(context.Background()) +func (i GetConnectionZSideServiceTokenArgs) ToGetConnectionZSideServiceTokenOutput() GetConnectionZSideServiceTokenOutput { + return i.ToGetConnectionZSideServiceTokenOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointInterfaceArgs) ToGetConnectionZSideAccessPointInterfaceOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointInterfaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointInterfaceOutput) +func (i GetConnectionZSideServiceTokenArgs) ToGetConnectionZSideServiceTokenOutputWithContext(ctx context.Context) GetConnectionZSideServiceTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideServiceTokenOutput) } -// GetConnectionZSideAccessPointInterfaceArrayInput is an input type that accepts GetConnectionZSideAccessPointInterfaceArray and GetConnectionZSideAccessPointInterfaceArrayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointInterfaceArrayInput` via: -// -// GetConnectionZSideAccessPointInterfaceArray{ GetConnectionZSideAccessPointInterfaceArgs{...} } -type GetConnectionZSideAccessPointInterfaceArrayInput interface { - pulumi.Input +func (i GetConnectionZSideServiceTokenArgs) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideServiceToken] { + return pulumix.Output[GetConnectionZSideServiceToken]{ + OutputState: i.ToGetConnectionZSideServiceTokenOutputWithContext(ctx).OutputState, + } +} - ToGetConnectionZSideAccessPointInterfaceArrayOutput() GetConnectionZSideAccessPointInterfaceArrayOutput - ToGetConnectionZSideAccessPointInterfaceArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointInterfaceArrayOutput +type GetConnectionZSideServiceTokenOutput struct{ *pulumi.OutputState } + +func (GetConnectionZSideServiceTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConnectionZSideServiceToken)(nil)).Elem() } -type GetConnectionZSideAccessPointInterfaceArray []GetConnectionZSideAccessPointInterfaceInput +func (o GetConnectionZSideServiceTokenOutput) ToGetConnectionZSideServiceTokenOutput() GetConnectionZSideServiceTokenOutput { + return o +} -func (GetConnectionZSideAccessPointInterfaceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointInterface)(nil)).Elem() +func (o GetConnectionZSideServiceTokenOutput) ToGetConnectionZSideServiceTokenOutputWithContext(ctx context.Context) GetConnectionZSideServiceTokenOutput { + return o } -func (i GetConnectionZSideAccessPointInterfaceArray) ToGetConnectionZSideAccessPointInterfaceArrayOutput() GetConnectionZSideAccessPointInterfaceArrayOutput { - return i.ToGetConnectionZSideAccessPointInterfaceArrayOutputWithContext(context.Background()) +func (o GetConnectionZSideServiceTokenOutput) ToOutput(ctx context.Context) pulumix.Output[GetConnectionZSideServiceToken] { + return pulumix.Output[GetConnectionZSideServiceToken]{ + OutputState: o.OutputState, + } } -func (i GetConnectionZSideAccessPointInterfaceArray) ToGetConnectionZSideAccessPointInterfaceArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointInterfaceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointInterfaceArrayOutput) +func (o GetConnectionZSideServiceTokenOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideServiceToken) string { return v.Description }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointInterfaceOutput struct{ *pulumi.OutputState } +func (o GetConnectionZSideServiceTokenOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideServiceToken) string { return v.Href }).(pulumi.StringOutput) +} -func (GetConnectionZSideAccessPointInterfaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointInterface)(nil)).Elem() +func (o GetConnectionZSideServiceTokenOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideServiceToken) string { return v.Type }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointInterfaceOutput) ToGetConnectionZSideAccessPointInterfaceOutput() GetConnectionZSideAccessPointInterfaceOutput { - return o +func (o GetConnectionZSideServiceTokenOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionZSideServiceToken) string { return v.Uuid }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointInterfaceOutput) ToGetConnectionZSideAccessPointInterfaceOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointInterfaceOutput { - return o +type GetPortAccount struct { + AccountName string `pulumi:"accountName"` + AccountNumber int `pulumi:"accountNumber"` + GlobalCustId string `pulumi:"globalCustId"` + GlobalOrgId string `pulumi:"globalOrgId"` + GlobalOrganizationName string `pulumi:"globalOrganizationName"` + OrgId int `pulumi:"orgId"` + OrganizationName string `pulumi:"organizationName"` } -// The ID of this resource. -func (o GetConnectionZSideAccessPointInterfaceOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointInterface) string { return v.Id }).(pulumi.StringOutput) +// GetPortAccountInput is an input type that accepts GetPortAccountArgs and GetPortAccountOutput values. +// You can construct a concrete instance of `GetPortAccountInput` via: +// +// GetPortAccountArgs{...} +type GetPortAccountInput interface { + pulumi.Input + + ToGetPortAccountOutput() GetPortAccountOutput + ToGetPortAccountOutputWithContext(context.Context) GetPortAccountOutput } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionZSideAccessPointInterfaceOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointInterface) string { return v.Type }).(pulumi.StringOutput) +type GetPortAccountArgs struct { + AccountName pulumi.StringInput `pulumi:"accountName"` + AccountNumber pulumi.IntInput `pulumi:"accountNumber"` + GlobalCustId pulumi.StringInput `pulumi:"globalCustId"` + GlobalOrgId pulumi.StringInput `pulumi:"globalOrgId"` + GlobalOrganizationName pulumi.StringInput `pulumi:"globalOrganizationName"` + OrgId pulumi.IntInput `pulumi:"orgId"` + OrganizationName pulumi.StringInput `pulumi:"organizationName"` } -// Equinix-assigned connection identifier -func (o GetConnectionZSideAccessPointInterfaceOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointInterface) string { return v.Uuid }).(pulumi.StringOutput) +func (GetPortAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortAccount)(nil)).Elem() } -type GetConnectionZSideAccessPointInterfaceArrayOutput struct{ *pulumi.OutputState } +func (i GetPortAccountArgs) ToGetPortAccountOutput() GetPortAccountOutput { + return i.ToGetPortAccountOutputWithContext(context.Background()) +} -func (GetConnectionZSideAccessPointInterfaceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointInterface)(nil)).Elem() +func (i GetPortAccountArgs) ToGetPortAccountOutputWithContext(ctx context.Context) GetPortAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortAccountOutput) } -func (o GetConnectionZSideAccessPointInterfaceArrayOutput) ToGetConnectionZSideAccessPointInterfaceArrayOutput() GetConnectionZSideAccessPointInterfaceArrayOutput { +func (i GetPortAccountArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortAccount] { + return pulumix.Output[GetPortAccount]{ + OutputState: i.ToGetPortAccountOutputWithContext(ctx).OutputState, + } +} + +type GetPortAccountOutput struct{ *pulumi.OutputState } + +func (GetPortAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortAccount)(nil)).Elem() +} + +func (o GetPortAccountOutput) ToGetPortAccountOutput() GetPortAccountOutput { return o } -func (o GetConnectionZSideAccessPointInterfaceArrayOutput) ToGetConnectionZSideAccessPointInterfaceArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointInterfaceArrayOutput { +func (o GetPortAccountOutput) ToGetPortAccountOutputWithContext(ctx context.Context) GetPortAccountOutput { return o } -func (o GetConnectionZSideAccessPointInterfaceArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointInterfaceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointInterface { - return vs[0].([]GetConnectionZSideAccessPointInterface)[vs[1].(int)] - }).(GetConnectionZSideAccessPointInterfaceOutput) +func (o GetPortAccountOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortAccount] { + return pulumix.Output[GetPortAccount]{ + OutputState: o.OutputState, + } } -type GetConnectionZSideAccessPointLinkProtocol struct { - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - VlanCTag int `pulumi:"vlanCTag"` - VlanSTag int `pulumi:"vlanSTag"` - VlanTag int `pulumi:"vlanTag"` +func (o GetPortAccountOutput) AccountName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortAccount) string { return v.AccountName }).(pulumi.StringOutput) } -// GetConnectionZSideAccessPointLinkProtocolInput is an input type that accepts GetConnectionZSideAccessPointLinkProtocolArgs and GetConnectionZSideAccessPointLinkProtocolOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointLinkProtocolInput` via: -// -// GetConnectionZSideAccessPointLinkProtocolArgs{...} -type GetConnectionZSideAccessPointLinkProtocolInput interface { - pulumi.Input +func (o GetPortAccountOutput) AccountNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetPortAccount) int { return v.AccountNumber }).(pulumi.IntOutput) +} - ToGetConnectionZSideAccessPointLinkProtocolOutput() GetConnectionZSideAccessPointLinkProtocolOutput - ToGetConnectionZSideAccessPointLinkProtocolOutputWithContext(context.Context) GetConnectionZSideAccessPointLinkProtocolOutput +func (o GetPortAccountOutput) GlobalCustId() pulumi.StringOutput { + return o.ApplyT(func(v GetPortAccount) string { return v.GlobalCustId }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointLinkProtocolArgs struct { - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - VlanCTag pulumi.IntInput `pulumi:"vlanCTag"` - VlanSTag pulumi.IntInput `pulumi:"vlanSTag"` - VlanTag pulumi.IntInput `pulumi:"vlanTag"` +func (o GetPortAccountOutput) GlobalOrgId() pulumi.StringOutput { + return o.ApplyT(func(v GetPortAccount) string { return v.GlobalOrgId }).(pulumi.StringOutput) } -func (GetConnectionZSideAccessPointLinkProtocolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointLinkProtocol)(nil)).Elem() +func (o GetPortAccountOutput) GlobalOrganizationName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortAccount) string { return v.GlobalOrganizationName }).(pulumi.StringOutput) } -func (i GetConnectionZSideAccessPointLinkProtocolArgs) ToGetConnectionZSideAccessPointLinkProtocolOutput() GetConnectionZSideAccessPointLinkProtocolOutput { - return i.ToGetConnectionZSideAccessPointLinkProtocolOutputWithContext(context.Background()) +func (o GetPortAccountOutput) OrgId() pulumi.IntOutput { + return o.ApplyT(func(v GetPortAccount) int { return v.OrgId }).(pulumi.IntOutput) } -func (i GetConnectionZSideAccessPointLinkProtocolArgs) ToGetConnectionZSideAccessPointLinkProtocolOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLinkProtocolOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointLinkProtocolOutput) +func (o GetPortAccountOutput) OrganizationName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortAccount) string { return v.OrganizationName }).(pulumi.StringOutput) } -// GetConnectionZSideAccessPointLinkProtocolArrayInput is an input type that accepts GetConnectionZSideAccessPointLinkProtocolArray and GetConnectionZSideAccessPointLinkProtocolArrayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointLinkProtocolArrayInput` via: +type GetPortChangeLog struct { + CreatedBy string `pulumi:"createdBy"` + CreatedByEmail string `pulumi:"createdByEmail"` + CreatedByFullName string `pulumi:"createdByFullName"` + CreatedDateTime string `pulumi:"createdDateTime"` + DeletedBy string `pulumi:"deletedBy"` + DeletedByEmail string `pulumi:"deletedByEmail"` + DeletedByFullName string `pulumi:"deletedByFullName"` + DeletedDateTime string `pulumi:"deletedDateTime"` + UpdatedBy string `pulumi:"updatedBy"` + UpdatedByEmail string `pulumi:"updatedByEmail"` + UpdatedByFullName string `pulumi:"updatedByFullName"` + UpdatedDateTime string `pulumi:"updatedDateTime"` +} + +// GetPortChangeLogInput is an input type that accepts GetPortChangeLogArgs and GetPortChangeLogOutput values. +// You can construct a concrete instance of `GetPortChangeLogInput` via: // -// GetConnectionZSideAccessPointLinkProtocolArray{ GetConnectionZSideAccessPointLinkProtocolArgs{...} } -type GetConnectionZSideAccessPointLinkProtocolArrayInput interface { +// GetPortChangeLogArgs{...} +type GetPortChangeLogInput interface { pulumi.Input - ToGetConnectionZSideAccessPointLinkProtocolArrayOutput() GetConnectionZSideAccessPointLinkProtocolArrayOutput - ToGetConnectionZSideAccessPointLinkProtocolArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointLinkProtocolArrayOutput + ToGetPortChangeLogOutput() GetPortChangeLogOutput + ToGetPortChangeLogOutputWithContext(context.Context) GetPortChangeLogOutput } -type GetConnectionZSideAccessPointLinkProtocolArray []GetConnectionZSideAccessPointLinkProtocolInput +type GetPortChangeLogArgs struct { + CreatedBy pulumi.StringInput `pulumi:"createdBy"` + CreatedByEmail pulumi.StringInput `pulumi:"createdByEmail"` + CreatedByFullName pulumi.StringInput `pulumi:"createdByFullName"` + CreatedDateTime pulumi.StringInput `pulumi:"createdDateTime"` + DeletedBy pulumi.StringInput `pulumi:"deletedBy"` + DeletedByEmail pulumi.StringInput `pulumi:"deletedByEmail"` + DeletedByFullName pulumi.StringInput `pulumi:"deletedByFullName"` + DeletedDateTime pulumi.StringInput `pulumi:"deletedDateTime"` + UpdatedBy pulumi.StringInput `pulumi:"updatedBy"` + UpdatedByEmail pulumi.StringInput `pulumi:"updatedByEmail"` + UpdatedByFullName pulumi.StringInput `pulumi:"updatedByFullName"` + UpdatedDateTime pulumi.StringInput `pulumi:"updatedDateTime"` +} -func (GetConnectionZSideAccessPointLinkProtocolArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointLinkProtocol)(nil)).Elem() +func (GetPortChangeLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortChangeLog)(nil)).Elem() } -func (i GetConnectionZSideAccessPointLinkProtocolArray) ToGetConnectionZSideAccessPointLinkProtocolArrayOutput() GetConnectionZSideAccessPointLinkProtocolArrayOutput { - return i.ToGetConnectionZSideAccessPointLinkProtocolArrayOutputWithContext(context.Background()) +func (i GetPortChangeLogArgs) ToGetPortChangeLogOutput() GetPortChangeLogOutput { + return i.ToGetPortChangeLogOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointLinkProtocolArray) ToGetConnectionZSideAccessPointLinkProtocolArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLinkProtocolArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointLinkProtocolArrayOutput) +func (i GetPortChangeLogArgs) ToGetPortChangeLogOutputWithContext(ctx context.Context) GetPortChangeLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortChangeLogOutput) } -type GetConnectionZSideAccessPointLinkProtocolOutput struct{ *pulumi.OutputState } +func (i GetPortChangeLogArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortChangeLog] { + return pulumix.Output[GetPortChangeLog]{ + OutputState: i.ToGetPortChangeLogOutputWithContext(ctx).OutputState, + } +} -func (GetConnectionZSideAccessPointLinkProtocolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointLinkProtocol)(nil)).Elem() +type GetPortChangeLogOutput struct{ *pulumi.OutputState } + +func (GetPortChangeLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortChangeLog)(nil)).Elem() } -func (o GetConnectionZSideAccessPointLinkProtocolOutput) ToGetConnectionZSideAccessPointLinkProtocolOutput() GetConnectionZSideAccessPointLinkProtocolOutput { +func (o GetPortChangeLogOutput) ToGetPortChangeLogOutput() GetPortChangeLogOutput { return o } -func (o GetConnectionZSideAccessPointLinkProtocolOutput) ToGetConnectionZSideAccessPointLinkProtocolOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLinkProtocolOutput { +func (o GetPortChangeLogOutput) ToGetPortChangeLogOutputWithContext(ctx context.Context) GetPortChangeLogOutput { return o } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionZSideAccessPointLinkProtocolOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointLinkProtocol) string { return v.Type }).(pulumi.StringOutput) +func (o GetPortChangeLogOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortChangeLog] { + return pulumix.Output[GetPortChangeLog]{ + OutputState: o.OutputState, + } } -func (o GetConnectionZSideAccessPointLinkProtocolOutput) VlanCTag() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointLinkProtocol) int { return v.VlanCTag }).(pulumi.IntOutput) +func (o GetPortChangeLogOutput) CreatedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetPortChangeLog) string { return v.CreatedBy }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointLinkProtocolOutput) VlanSTag() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointLinkProtocol) int { return v.VlanSTag }).(pulumi.IntOutput) +func (o GetPortChangeLogOutput) CreatedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetPortChangeLog) string { return v.CreatedByEmail }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointLinkProtocolOutput) VlanTag() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointLinkProtocol) int { return v.VlanTag }).(pulumi.IntOutput) +func (o GetPortChangeLogOutput) CreatedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortChangeLog) string { return v.CreatedByFullName }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointLinkProtocolArrayOutput struct{ *pulumi.OutputState } - -func (GetConnectionZSideAccessPointLinkProtocolArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointLinkProtocol)(nil)).Elem() +func (o GetPortChangeLogOutput) CreatedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetPortChangeLog) string { return v.CreatedDateTime }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointLinkProtocolArrayOutput) ToGetConnectionZSideAccessPointLinkProtocolArrayOutput() GetConnectionZSideAccessPointLinkProtocolArrayOutput { - return o +func (o GetPortChangeLogOutput) DeletedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetPortChangeLog) string { return v.DeletedBy }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointLinkProtocolArrayOutput) ToGetConnectionZSideAccessPointLinkProtocolArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLinkProtocolArrayOutput { - return o +func (o GetPortChangeLogOutput) DeletedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetPortChangeLog) string { return v.DeletedByEmail }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointLinkProtocolArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointLinkProtocolOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointLinkProtocol { - return vs[0].([]GetConnectionZSideAccessPointLinkProtocol)[vs[1].(int)] - }).(GetConnectionZSideAccessPointLinkProtocolOutput) +func (o GetPortChangeLogOutput) DeletedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortChangeLog) string { return v.DeletedByFullName }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointLocation struct { - // Connection URI information - Href string `pulumi:"href"` - Ibx string `pulumi:"ibx"` - MetroCode string `pulumi:"metroCode"` - MetroName string `pulumi:"metroName"` - Region string `pulumi:"region"` +func (o GetPortChangeLogOutput) DeletedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetPortChangeLog) string { return v.DeletedDateTime }).(pulumi.StringOutput) } -// GetConnectionZSideAccessPointLocationInput is an input type that accepts GetConnectionZSideAccessPointLocationArgs and GetConnectionZSideAccessPointLocationOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointLocationInput` via: -// -// GetConnectionZSideAccessPointLocationArgs{...} -type GetConnectionZSideAccessPointLocationInput interface { - pulumi.Input - - ToGetConnectionZSideAccessPointLocationOutput() GetConnectionZSideAccessPointLocationOutput - ToGetConnectionZSideAccessPointLocationOutputWithContext(context.Context) GetConnectionZSideAccessPointLocationOutput +func (o GetPortChangeLogOutput) UpdatedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetPortChangeLog) string { return v.UpdatedBy }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointLocationArgs struct { - // Connection URI information - Href pulumi.StringInput `pulumi:"href"` - Ibx pulumi.StringInput `pulumi:"ibx"` - MetroCode pulumi.StringInput `pulumi:"metroCode"` - MetroName pulumi.StringInput `pulumi:"metroName"` - Region pulumi.StringInput `pulumi:"region"` +func (o GetPortChangeLogOutput) UpdatedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetPortChangeLog) string { return v.UpdatedByEmail }).(pulumi.StringOutput) } -func (GetConnectionZSideAccessPointLocationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointLocation)(nil)).Elem() +func (o GetPortChangeLogOutput) UpdatedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortChangeLog) string { return v.UpdatedByFullName }).(pulumi.StringOutput) } -func (i GetConnectionZSideAccessPointLocationArgs) ToGetConnectionZSideAccessPointLocationOutput() GetConnectionZSideAccessPointLocationOutput { - return i.ToGetConnectionZSideAccessPointLocationOutputWithContext(context.Background()) +func (o GetPortChangeLogOutput) UpdatedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetPortChangeLog) string { return v.UpdatedDateTime }).(pulumi.StringOutput) } -func (i GetConnectionZSideAccessPointLocationArgs) ToGetConnectionZSideAccessPointLocationOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLocationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointLocationOutput) +type GetPortDevice struct { + Name string `pulumi:"name"` + Redundancies []GetPortDeviceRedundancy `pulumi:"redundancies"` } -// GetConnectionZSideAccessPointLocationArrayInput is an input type that accepts GetConnectionZSideAccessPointLocationArray and GetConnectionZSideAccessPointLocationArrayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointLocationArrayInput` via: +// GetPortDeviceInput is an input type that accepts GetPortDeviceArgs and GetPortDeviceOutput values. +// You can construct a concrete instance of `GetPortDeviceInput` via: // -// GetConnectionZSideAccessPointLocationArray{ GetConnectionZSideAccessPointLocationArgs{...} } -type GetConnectionZSideAccessPointLocationArrayInput interface { +// GetPortDeviceArgs{...} +type GetPortDeviceInput interface { pulumi.Input - ToGetConnectionZSideAccessPointLocationArrayOutput() GetConnectionZSideAccessPointLocationArrayOutput - ToGetConnectionZSideAccessPointLocationArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointLocationArrayOutput -} - -type GetConnectionZSideAccessPointLocationArray []GetConnectionZSideAccessPointLocationInput - -func (GetConnectionZSideAccessPointLocationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointLocation)(nil)).Elem() -} - -func (i GetConnectionZSideAccessPointLocationArray) ToGetConnectionZSideAccessPointLocationArrayOutput() GetConnectionZSideAccessPointLocationArrayOutput { - return i.ToGetConnectionZSideAccessPointLocationArrayOutputWithContext(context.Background()) -} - -func (i GetConnectionZSideAccessPointLocationArray) ToGetConnectionZSideAccessPointLocationArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLocationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointLocationArrayOutput) + ToGetPortDeviceOutput() GetPortDeviceOutput + ToGetPortDeviceOutputWithContext(context.Context) GetPortDeviceOutput } -type GetConnectionZSideAccessPointLocationOutput struct{ *pulumi.OutputState } - -func (GetConnectionZSideAccessPointLocationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointLocation)(nil)).Elem() +type GetPortDeviceArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Redundancies GetPortDeviceRedundancyArrayInput `pulumi:"redundancies"` } -func (o GetConnectionZSideAccessPointLocationOutput) ToGetConnectionZSideAccessPointLocationOutput() GetConnectionZSideAccessPointLocationOutput { - return o +func (GetPortDeviceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortDevice)(nil)).Elem() } -func (o GetConnectionZSideAccessPointLocationOutput) ToGetConnectionZSideAccessPointLocationOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLocationOutput { - return o +func (i GetPortDeviceArgs) ToGetPortDeviceOutput() GetPortDeviceOutput { + return i.ToGetPortDeviceOutputWithContext(context.Background()) } -// Connection URI information -func (o GetConnectionZSideAccessPointLocationOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointLocation) string { return v.Href }).(pulumi.StringOutput) +func (i GetPortDeviceArgs) ToGetPortDeviceOutputWithContext(ctx context.Context) GetPortDeviceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortDeviceOutput) } -func (o GetConnectionZSideAccessPointLocationOutput) Ibx() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointLocation) string { return v.Ibx }).(pulumi.StringOutput) +func (i GetPortDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortDevice] { + return pulumix.Output[GetPortDevice]{ + OutputState: i.ToGetPortDeviceOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionZSideAccessPointLocationOutput) MetroCode() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointLocation) string { return v.MetroCode }).(pulumi.StringOutput) -} +type GetPortDeviceOutput struct{ *pulumi.OutputState } -func (o GetConnectionZSideAccessPointLocationOutput) MetroName() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointLocation) string { return v.MetroName }).(pulumi.StringOutput) +func (GetPortDeviceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortDevice)(nil)).Elem() } -func (o GetConnectionZSideAccessPointLocationOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointLocation) string { return v.Region }).(pulumi.StringOutput) +func (o GetPortDeviceOutput) ToGetPortDeviceOutput() GetPortDeviceOutput { + return o } -type GetConnectionZSideAccessPointLocationArrayOutput struct{ *pulumi.OutputState } - -func (GetConnectionZSideAccessPointLocationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointLocation)(nil)).Elem() +func (o GetPortDeviceOutput) ToGetPortDeviceOutputWithContext(ctx context.Context) GetPortDeviceOutput { + return o } -func (o GetConnectionZSideAccessPointLocationArrayOutput) ToGetConnectionZSideAccessPointLocationArrayOutput() GetConnectionZSideAccessPointLocationArrayOutput { - return o +func (o GetPortDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortDevice] { + return pulumix.Output[GetPortDevice]{ + OutputState: o.OutputState, + } } -func (o GetConnectionZSideAccessPointLocationArrayOutput) ToGetConnectionZSideAccessPointLocationArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointLocationArrayOutput { - return o +func (o GetPortDeviceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetPortDevice) string { return v.Name }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointLocationArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointLocationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointLocation { - return vs[0].([]GetConnectionZSideAccessPointLocation)[vs[1].(int)] - }).(GetConnectionZSideAccessPointLocationOutput) +func (o GetPortDeviceOutput) Redundancies() GetPortDeviceRedundancyArrayOutput { + return o.ApplyT(func(v GetPortDevice) []GetPortDeviceRedundancy { return v.Redundancies }).(GetPortDeviceRedundancyArrayOutput) } -type GetConnectionZSideAccessPointPort struct { - // Connection URI information - Href string `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name string `pulumi:"name"` - // Redundancy Information - Redundancies []GetConnectionZSideAccessPointPortRedundancy `pulumi:"redundancies"` - // Equinix-assigned connection identifier - Uuid string `pulumi:"uuid"` +type GetPortDeviceRedundancy struct { + Group string `pulumi:"group"` + Priority string `pulumi:"priority"` } -// GetConnectionZSideAccessPointPortInput is an input type that accepts GetConnectionZSideAccessPointPortArgs and GetConnectionZSideAccessPointPortOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointPortInput` via: +// GetPortDeviceRedundancyInput is an input type that accepts GetPortDeviceRedundancyArgs and GetPortDeviceRedundancyOutput values. +// You can construct a concrete instance of `GetPortDeviceRedundancyInput` via: // -// GetConnectionZSideAccessPointPortArgs{...} -type GetConnectionZSideAccessPointPortInput interface { +// GetPortDeviceRedundancyArgs{...} +type GetPortDeviceRedundancyInput interface { pulumi.Input - ToGetConnectionZSideAccessPointPortOutput() GetConnectionZSideAccessPointPortOutput - ToGetConnectionZSideAccessPointPortOutputWithContext(context.Context) GetConnectionZSideAccessPointPortOutput + ToGetPortDeviceRedundancyOutput() GetPortDeviceRedundancyOutput + ToGetPortDeviceRedundancyOutputWithContext(context.Context) GetPortDeviceRedundancyOutput } -type GetConnectionZSideAccessPointPortArgs struct { - // Connection URI information - Href pulumi.StringInput `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name pulumi.StringInput `pulumi:"name"` - // Redundancy Information - Redundancies GetConnectionZSideAccessPointPortRedundancyArrayInput `pulumi:"redundancies"` - // Equinix-assigned connection identifier - Uuid pulumi.StringInput `pulumi:"uuid"` +type GetPortDeviceRedundancyArgs struct { + Group pulumi.StringInput `pulumi:"group"` + Priority pulumi.StringInput `pulumi:"priority"` } -func (GetConnectionZSideAccessPointPortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointPort)(nil)).Elem() +func (GetPortDeviceRedundancyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortDeviceRedundancy)(nil)).Elem() } -func (i GetConnectionZSideAccessPointPortArgs) ToGetConnectionZSideAccessPointPortOutput() GetConnectionZSideAccessPointPortOutput { - return i.ToGetConnectionZSideAccessPointPortOutputWithContext(context.Background()) +func (i GetPortDeviceRedundancyArgs) ToGetPortDeviceRedundancyOutput() GetPortDeviceRedundancyOutput { + return i.ToGetPortDeviceRedundancyOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointPortArgs) ToGetConnectionZSideAccessPointPortOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointPortOutput) +func (i GetPortDeviceRedundancyArgs) ToGetPortDeviceRedundancyOutputWithContext(ctx context.Context) GetPortDeviceRedundancyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortDeviceRedundancyOutput) } -// GetConnectionZSideAccessPointPortArrayInput is an input type that accepts GetConnectionZSideAccessPointPortArray and GetConnectionZSideAccessPointPortArrayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointPortArrayInput` via: +func (i GetPortDeviceRedundancyArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortDeviceRedundancy] { + return pulumix.Output[GetPortDeviceRedundancy]{ + OutputState: i.ToGetPortDeviceRedundancyOutputWithContext(ctx).OutputState, + } +} + +// GetPortDeviceRedundancyArrayInput is an input type that accepts GetPortDeviceRedundancyArray and GetPortDeviceRedundancyArrayOutput values. +// You can construct a concrete instance of `GetPortDeviceRedundancyArrayInput` via: // -// GetConnectionZSideAccessPointPortArray{ GetConnectionZSideAccessPointPortArgs{...} } -type GetConnectionZSideAccessPointPortArrayInput interface { +// GetPortDeviceRedundancyArray{ GetPortDeviceRedundancyArgs{...} } +type GetPortDeviceRedundancyArrayInput interface { pulumi.Input - ToGetConnectionZSideAccessPointPortArrayOutput() GetConnectionZSideAccessPointPortArrayOutput - ToGetConnectionZSideAccessPointPortArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointPortArrayOutput + ToGetPortDeviceRedundancyArrayOutput() GetPortDeviceRedundancyArrayOutput + ToGetPortDeviceRedundancyArrayOutputWithContext(context.Context) GetPortDeviceRedundancyArrayOutput } -type GetConnectionZSideAccessPointPortArray []GetConnectionZSideAccessPointPortInput +type GetPortDeviceRedundancyArray []GetPortDeviceRedundancyInput -func (GetConnectionZSideAccessPointPortArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointPort)(nil)).Elem() +func (GetPortDeviceRedundancyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortDeviceRedundancy)(nil)).Elem() +} + +func (i GetPortDeviceRedundancyArray) ToGetPortDeviceRedundancyArrayOutput() GetPortDeviceRedundancyArrayOutput { + return i.ToGetPortDeviceRedundancyArrayOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointPortArray) ToGetConnectionZSideAccessPointPortArrayOutput() GetConnectionZSideAccessPointPortArrayOutput { - return i.ToGetConnectionZSideAccessPointPortArrayOutputWithContext(context.Background()) +func (i GetPortDeviceRedundancyArray) ToGetPortDeviceRedundancyArrayOutputWithContext(ctx context.Context) GetPortDeviceRedundancyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortDeviceRedundancyArrayOutput) } -func (i GetConnectionZSideAccessPointPortArray) ToGetConnectionZSideAccessPointPortArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointPortArrayOutput) +func (i GetPortDeviceRedundancyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPortDeviceRedundancy] { + return pulumix.Output[[]GetPortDeviceRedundancy]{ + OutputState: i.ToGetPortDeviceRedundancyArrayOutputWithContext(ctx).OutputState, + } } -type GetConnectionZSideAccessPointPortOutput struct{ *pulumi.OutputState } +type GetPortDeviceRedundancyOutput struct{ *pulumi.OutputState } -func (GetConnectionZSideAccessPointPortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointPort)(nil)).Elem() +func (GetPortDeviceRedundancyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortDeviceRedundancy)(nil)).Elem() } -func (o GetConnectionZSideAccessPointPortOutput) ToGetConnectionZSideAccessPointPortOutput() GetConnectionZSideAccessPointPortOutput { +func (o GetPortDeviceRedundancyOutput) ToGetPortDeviceRedundancyOutput() GetPortDeviceRedundancyOutput { return o } -func (o GetConnectionZSideAccessPointPortOutput) ToGetConnectionZSideAccessPointPortOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortOutput { +func (o GetPortDeviceRedundancyOutput) ToGetPortDeviceRedundancyOutputWithContext(ctx context.Context) GetPortDeviceRedundancyOutput { return o } -// Connection URI information -func (o GetConnectionZSideAccessPointPortOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointPort) string { return v.Href }).(pulumi.StringOutput) -} - -// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores -func (o GetConnectionZSideAccessPointPortOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointPort) string { return v.Name }).(pulumi.StringOutput) +func (o GetPortDeviceRedundancyOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortDeviceRedundancy] { + return pulumix.Output[GetPortDeviceRedundancy]{ + OutputState: o.OutputState, + } } -// Redundancy Information -func (o GetConnectionZSideAccessPointPortOutput) Redundancies() GetConnectionZSideAccessPointPortRedundancyArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointPort) []GetConnectionZSideAccessPointPortRedundancy { - return v.Redundancies - }).(GetConnectionZSideAccessPointPortRedundancyArrayOutput) +func (o GetPortDeviceRedundancyOutput) Group() pulumi.StringOutput { + return o.ApplyT(func(v GetPortDeviceRedundancy) string { return v.Group }).(pulumi.StringOutput) } -// Equinix-assigned connection identifier -func (o GetConnectionZSideAccessPointPortOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointPort) string { return v.Uuid }).(pulumi.StringOutput) +func (o GetPortDeviceRedundancyOutput) Priority() pulumi.StringOutput { + return o.ApplyT(func(v GetPortDeviceRedundancy) string { return v.Priority }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointPortArrayOutput struct{ *pulumi.OutputState } +type GetPortDeviceRedundancyArrayOutput struct{ *pulumi.OutputState } -func (GetConnectionZSideAccessPointPortArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointPort)(nil)).Elem() +func (GetPortDeviceRedundancyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortDeviceRedundancy)(nil)).Elem() } -func (o GetConnectionZSideAccessPointPortArrayOutput) ToGetConnectionZSideAccessPointPortArrayOutput() GetConnectionZSideAccessPointPortArrayOutput { +func (o GetPortDeviceRedundancyArrayOutput) ToGetPortDeviceRedundancyArrayOutput() GetPortDeviceRedundancyArrayOutput { return o } -func (o GetConnectionZSideAccessPointPortArrayOutput) ToGetConnectionZSideAccessPointPortArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortArrayOutput { +func (o GetPortDeviceRedundancyArrayOutput) ToGetPortDeviceRedundancyArrayOutputWithContext(ctx context.Context) GetPortDeviceRedundancyArrayOutput { return o } -func (o GetConnectionZSideAccessPointPortArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointPortOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointPort { - return vs[0].([]GetConnectionZSideAccessPointPort)[vs[1].(int)] - }).(GetConnectionZSideAccessPointPortOutput) +func (o GetPortDeviceRedundancyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPortDeviceRedundancy] { + return pulumix.Output[[]GetPortDeviceRedundancy]{ + OutputState: o.OutputState, + } } -type GetConnectionZSideAccessPointPortRedundancy struct { - Priority string `pulumi:"priority"` +func (o GetPortDeviceRedundancyArrayOutput) Index(i pulumi.IntInput) GetPortDeviceRedundancyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortDeviceRedundancy { + return vs[0].([]GetPortDeviceRedundancy)[vs[1].(int)] + }).(GetPortDeviceRedundancyOutput) } -// GetConnectionZSideAccessPointPortRedundancyInput is an input type that accepts GetConnectionZSideAccessPointPortRedundancyArgs and GetConnectionZSideAccessPointPortRedundancyOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointPortRedundancyInput` via: +type GetPortEncapsulation struct { + TagProtocolId string `pulumi:"tagProtocolId"` + Type string `pulumi:"type"` +} + +// GetPortEncapsulationInput is an input type that accepts GetPortEncapsulationArgs and GetPortEncapsulationOutput values. +// You can construct a concrete instance of `GetPortEncapsulationInput` via: // -// GetConnectionZSideAccessPointPortRedundancyArgs{...} -type GetConnectionZSideAccessPointPortRedundancyInput interface { +// GetPortEncapsulationArgs{...} +type GetPortEncapsulationInput interface { pulumi.Input - ToGetConnectionZSideAccessPointPortRedundancyOutput() GetConnectionZSideAccessPointPortRedundancyOutput - ToGetConnectionZSideAccessPointPortRedundancyOutputWithContext(context.Context) GetConnectionZSideAccessPointPortRedundancyOutput + ToGetPortEncapsulationOutput() GetPortEncapsulationOutput + ToGetPortEncapsulationOutputWithContext(context.Context) GetPortEncapsulationOutput } -type GetConnectionZSideAccessPointPortRedundancyArgs struct { - Priority pulumi.StringInput `pulumi:"priority"` +type GetPortEncapsulationArgs struct { + TagProtocolId pulumi.StringInput `pulumi:"tagProtocolId"` + Type pulumi.StringInput `pulumi:"type"` } -func (GetConnectionZSideAccessPointPortRedundancyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointPortRedundancy)(nil)).Elem() +func (GetPortEncapsulationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortEncapsulation)(nil)).Elem() } -func (i GetConnectionZSideAccessPointPortRedundancyArgs) ToGetConnectionZSideAccessPointPortRedundancyOutput() GetConnectionZSideAccessPointPortRedundancyOutput { - return i.ToGetConnectionZSideAccessPointPortRedundancyOutputWithContext(context.Background()) +func (i GetPortEncapsulationArgs) ToGetPortEncapsulationOutput() GetPortEncapsulationOutput { + return i.ToGetPortEncapsulationOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointPortRedundancyArgs) ToGetConnectionZSideAccessPointPortRedundancyOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortRedundancyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointPortRedundancyOutput) +func (i GetPortEncapsulationArgs) ToGetPortEncapsulationOutputWithContext(ctx context.Context) GetPortEncapsulationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortEncapsulationOutput) } -// GetConnectionZSideAccessPointPortRedundancyArrayInput is an input type that accepts GetConnectionZSideAccessPointPortRedundancyArray and GetConnectionZSideAccessPointPortRedundancyArrayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointPortRedundancyArrayInput` via: -// -// GetConnectionZSideAccessPointPortRedundancyArray{ GetConnectionZSideAccessPointPortRedundancyArgs{...} } -type GetConnectionZSideAccessPointPortRedundancyArrayInput interface { - pulumi.Input - - ToGetConnectionZSideAccessPointPortRedundancyArrayOutput() GetConnectionZSideAccessPointPortRedundancyArrayOutput - ToGetConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointPortRedundancyArrayOutput +func (i GetPortEncapsulationArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortEncapsulation] { + return pulumix.Output[GetPortEncapsulation]{ + OutputState: i.ToGetPortEncapsulationOutputWithContext(ctx).OutputState, + } } -type GetConnectionZSideAccessPointPortRedundancyArray []GetConnectionZSideAccessPointPortRedundancyInput +type GetPortEncapsulationOutput struct{ *pulumi.OutputState } -func (GetConnectionZSideAccessPointPortRedundancyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointPortRedundancy)(nil)).Elem() +func (GetPortEncapsulationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortEncapsulation)(nil)).Elem() } -func (i GetConnectionZSideAccessPointPortRedundancyArray) ToGetConnectionZSideAccessPointPortRedundancyArrayOutput() GetConnectionZSideAccessPointPortRedundancyArrayOutput { - return i.ToGetConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(context.Background()) +func (o GetPortEncapsulationOutput) ToGetPortEncapsulationOutput() GetPortEncapsulationOutput { + return o } -func (i GetConnectionZSideAccessPointPortRedundancyArray) ToGetConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortRedundancyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointPortRedundancyArrayOutput) +func (o GetPortEncapsulationOutput) ToGetPortEncapsulationOutputWithContext(ctx context.Context) GetPortEncapsulationOutput { + return o } -type GetConnectionZSideAccessPointPortRedundancyOutput struct{ *pulumi.OutputState } - -func (GetConnectionZSideAccessPointPortRedundancyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointPortRedundancy)(nil)).Elem() +func (o GetPortEncapsulationOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortEncapsulation] { + return pulumix.Output[GetPortEncapsulation]{ + OutputState: o.OutputState, + } } -func (o GetConnectionZSideAccessPointPortRedundancyOutput) ToGetConnectionZSideAccessPointPortRedundancyOutput() GetConnectionZSideAccessPointPortRedundancyOutput { - return o +func (o GetPortEncapsulationOutput) TagProtocolId() pulumi.StringOutput { + return o.ApplyT(func(v GetPortEncapsulation) string { return v.TagProtocolId }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointPortRedundancyOutput) ToGetConnectionZSideAccessPointPortRedundancyOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortRedundancyOutput { - return o +func (o GetPortEncapsulationOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetPortEncapsulation) string { return v.Type }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointPortRedundancyOutput) Priority() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointPortRedundancy) string { return v.Priority }).(pulumi.StringOutput) +type GetPortLocation struct { + Href string `pulumi:"href"` + Ibx string `pulumi:"ibx"` + MetroCode string `pulumi:"metroCode"` + MetroName string `pulumi:"metroName"` + Region string `pulumi:"region"` } -type GetConnectionZSideAccessPointPortRedundancyArrayOutput struct{ *pulumi.OutputState } +// GetPortLocationInput is an input type that accepts GetPortLocationArgs and GetPortLocationOutput values. +// You can construct a concrete instance of `GetPortLocationInput` via: +// +// GetPortLocationArgs{...} +type GetPortLocationInput interface { + pulumi.Input -func (GetConnectionZSideAccessPointPortRedundancyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointPortRedundancy)(nil)).Elem() + ToGetPortLocationOutput() GetPortLocationOutput + ToGetPortLocationOutputWithContext(context.Context) GetPortLocationOutput } -func (o GetConnectionZSideAccessPointPortRedundancyArrayOutput) ToGetConnectionZSideAccessPointPortRedundancyArrayOutput() GetConnectionZSideAccessPointPortRedundancyArrayOutput { - return o +type GetPortLocationArgs struct { + Href pulumi.StringInput `pulumi:"href"` + Ibx pulumi.StringInput `pulumi:"ibx"` + MetroCode pulumi.StringInput `pulumi:"metroCode"` + MetroName pulumi.StringInput `pulumi:"metroName"` + Region pulumi.StringInput `pulumi:"region"` } -func (o GetConnectionZSideAccessPointPortRedundancyArrayOutput) ToGetConnectionZSideAccessPointPortRedundancyArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointPortRedundancyArrayOutput { - return o +func (GetPortLocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortLocation)(nil)).Elem() } -func (o GetConnectionZSideAccessPointPortRedundancyArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointPortRedundancyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointPortRedundancy { - return vs[0].([]GetConnectionZSideAccessPointPortRedundancy)[vs[1].(int)] - }).(GetConnectionZSideAccessPointPortRedundancyOutput) +func (i GetPortLocationArgs) ToGetPortLocationOutput() GetPortLocationOutput { + return i.ToGetPortLocationOutputWithContext(context.Background()) } -type GetConnectionZSideAccessPointProfile struct { - AccessPointTypeConfigs []GetConnectionZSideAccessPointProfileAccessPointTypeConfig `pulumi:"accessPointTypeConfigs"` - // Customer-provided connection description - Description string `pulumi:"description"` - // Connection URI information - Href string `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name string `pulumi:"name"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid string `pulumi:"uuid"` +func (i GetPortLocationArgs) ToGetPortLocationOutputWithContext(ctx context.Context) GetPortLocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortLocationOutput) } -// GetConnectionZSideAccessPointProfileInput is an input type that accepts GetConnectionZSideAccessPointProfileArgs and GetConnectionZSideAccessPointProfileOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileInput` via: -// -// GetConnectionZSideAccessPointProfileArgs{...} -type GetConnectionZSideAccessPointProfileInput interface { - pulumi.Input - - ToGetConnectionZSideAccessPointProfileOutput() GetConnectionZSideAccessPointProfileOutput - ToGetConnectionZSideAccessPointProfileOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileOutput +func (i GetPortLocationArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortLocation] { + return pulumix.Output[GetPortLocation]{ + OutputState: i.ToGetPortLocationOutputWithContext(ctx).OutputState, + } } -type GetConnectionZSideAccessPointProfileArgs struct { - AccessPointTypeConfigs GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput `pulumi:"accessPointTypeConfigs"` - // Customer-provided connection description - Description pulumi.StringInput `pulumi:"description"` - // Connection URI information - Href pulumi.StringInput `pulumi:"href"` - // Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - Name pulumi.StringInput `pulumi:"name"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid pulumi.StringInput `pulumi:"uuid"` -} +type GetPortLocationOutput struct{ *pulumi.OutputState } -func (GetConnectionZSideAccessPointProfileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointProfile)(nil)).Elem() +func (GetPortLocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortLocation)(nil)).Elem() } -func (i GetConnectionZSideAccessPointProfileArgs) ToGetConnectionZSideAccessPointProfileOutput() GetConnectionZSideAccessPointProfileOutput { - return i.ToGetConnectionZSideAccessPointProfileOutputWithContext(context.Background()) +func (o GetPortLocationOutput) ToGetPortLocationOutput() GetPortLocationOutput { + return o } -func (i GetConnectionZSideAccessPointProfileArgs) ToGetConnectionZSideAccessPointProfileOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileOutput) +func (o GetPortLocationOutput) ToGetPortLocationOutputWithContext(ctx context.Context) GetPortLocationOutput { + return o } -// GetConnectionZSideAccessPointProfileArrayInput is an input type that accepts GetConnectionZSideAccessPointProfileArray and GetConnectionZSideAccessPointProfileArrayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileArrayInput` via: -// -// GetConnectionZSideAccessPointProfileArray{ GetConnectionZSideAccessPointProfileArgs{...} } -type GetConnectionZSideAccessPointProfileArrayInput interface { - pulumi.Input - - ToGetConnectionZSideAccessPointProfileArrayOutput() GetConnectionZSideAccessPointProfileArrayOutput - ToGetConnectionZSideAccessPointProfileArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileArrayOutput +func (o GetPortLocationOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortLocation] { + return pulumix.Output[GetPortLocation]{ + OutputState: o.OutputState, + } } -type GetConnectionZSideAccessPointProfileArray []GetConnectionZSideAccessPointProfileInput - -func (GetConnectionZSideAccessPointProfileArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfile)(nil)).Elem() +func (o GetPortLocationOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetPortLocation) string { return v.Href }).(pulumi.StringOutput) } -func (i GetConnectionZSideAccessPointProfileArray) ToGetConnectionZSideAccessPointProfileArrayOutput() GetConnectionZSideAccessPointProfileArrayOutput { - return i.ToGetConnectionZSideAccessPointProfileArrayOutputWithContext(context.Background()) +func (o GetPortLocationOutput) Ibx() pulumi.StringOutput { + return o.ApplyT(func(v GetPortLocation) string { return v.Ibx }).(pulumi.StringOutput) } -func (i GetConnectionZSideAccessPointProfileArray) ToGetConnectionZSideAccessPointProfileArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileArrayOutput) +func (o GetPortLocationOutput) MetroCode() pulumi.StringOutput { + return o.ApplyT(func(v GetPortLocation) string { return v.MetroCode }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointProfileOutput struct{ *pulumi.OutputState } - -func (GetConnectionZSideAccessPointProfileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointProfile)(nil)).Elem() +func (o GetPortLocationOutput) MetroName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortLocation) string { return v.MetroName }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointProfileOutput) ToGetConnectionZSideAccessPointProfileOutput() GetConnectionZSideAccessPointProfileOutput { - return o +func (o GetPortLocationOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetPortLocation) string { return v.Region }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointProfileOutput) ToGetConnectionZSideAccessPointProfileOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileOutput { - return o +type GetPortOperation struct { + ConnectionCount int `pulumi:"connectionCount"` + OpStatusChangedAt string `pulumi:"opStatusChangedAt"` + OperationalStatus string `pulumi:"operationalStatus"` } -func (o GetConnectionZSideAccessPointProfileOutput) AccessPointTypeConfigs() GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfile) []GetConnectionZSideAccessPointProfileAccessPointTypeConfig { - return v.AccessPointTypeConfigs - }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) +// GetPortOperationInput is an input type that accepts GetPortOperationArgs and GetPortOperationOutput values. +// You can construct a concrete instance of `GetPortOperationInput` via: +// +// GetPortOperationArgs{...} +type GetPortOperationInput interface { + pulumi.Input + + ToGetPortOperationOutput() GetPortOperationOutput + ToGetPortOperationOutputWithContext(context.Context) GetPortOperationOutput } -// Customer-provided connection description -func (o GetConnectionZSideAccessPointProfileOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfile) string { return v.Description }).(pulumi.StringOutput) +type GetPortOperationArgs struct { + ConnectionCount pulumi.IntInput `pulumi:"connectionCount"` + OpStatusChangedAt pulumi.StringInput `pulumi:"opStatusChangedAt"` + OperationalStatus pulumi.StringInput `pulumi:"operationalStatus"` } -// Connection URI information -func (o GetConnectionZSideAccessPointProfileOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfile) string { return v.Href }).(pulumi.StringOutput) +func (GetPortOperationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortOperation)(nil)).Elem() } -// Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores -func (o GetConnectionZSideAccessPointProfileOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfile) string { return v.Name }).(pulumi.StringOutput) +func (i GetPortOperationArgs) ToGetPortOperationOutput() GetPortOperationOutput { + return i.ToGetPortOperationOutputWithContext(context.Background()) } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionZSideAccessPointProfileOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfile) string { return v.Type }).(pulumi.StringOutput) +func (i GetPortOperationArgs) ToGetPortOperationOutputWithContext(ctx context.Context) GetPortOperationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortOperationOutput) } -// Equinix-assigned connection identifier -func (o GetConnectionZSideAccessPointProfileOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfile) string { return v.Uuid }).(pulumi.StringOutput) +func (i GetPortOperationArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortOperation] { + return pulumix.Output[GetPortOperation]{ + OutputState: i.ToGetPortOperationOutputWithContext(ctx).OutputState, + } } -type GetConnectionZSideAccessPointProfileArrayOutput struct{ *pulumi.OutputState } +type GetPortOperationOutput struct{ *pulumi.OutputState } -func (GetConnectionZSideAccessPointProfileArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfile)(nil)).Elem() +func (GetPortOperationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortOperation)(nil)).Elem() } -func (o GetConnectionZSideAccessPointProfileArrayOutput) ToGetConnectionZSideAccessPointProfileArrayOutput() GetConnectionZSideAccessPointProfileArrayOutput { +func (o GetPortOperationOutput) ToGetPortOperationOutput() GetPortOperationOutput { return o } -func (o GetConnectionZSideAccessPointProfileArrayOutput) ToGetConnectionZSideAccessPointProfileArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileArrayOutput { +func (o GetPortOperationOutput) ToGetPortOperationOutputWithContext(ctx context.Context) GetPortOperationOutput { return o } -func (o GetConnectionZSideAccessPointProfileArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointProfileOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointProfile { - return vs[0].([]GetConnectionZSideAccessPointProfile)[vs[1].(int)] - }).(GetConnectionZSideAccessPointProfileOutput) +func (o GetPortOperationOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortOperation] { + return pulumix.Output[GetPortOperation]{ + OutputState: o.OutputState, + } } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfig struct { - AllowBandwidthAutoApproval bool `pulumi:"allowBandwidthAutoApproval"` - AllowBandwidthUpgrade bool `pulumi:"allowBandwidthUpgrade"` - AllowCustomBandwidth bool `pulumi:"allowCustomBandwidth"` - AllowRemoteConnections bool `pulumi:"allowRemoteConnections"` - ApiConfigs []GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig `pulumi:"apiConfigs"` - AuthenticationKeys []GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey `pulumi:"authenticationKeys"` - BandwidthAlertThreshold float64 `pulumi:"bandwidthAlertThreshold"` - ConnectionLabel string `pulumi:"connectionLabel"` - ConnectionRedundancyRequired bool `pulumi:"connectionRedundancyRequired"` - EnableAutoGenerateServiceKey bool `pulumi:"enableAutoGenerateServiceKey"` - LinkProtocolConfigs []GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig `pulumi:"linkProtocolConfigs"` - SupportedBandwidths []int `pulumi:"supportedBandwidths"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid string `pulumi:"uuid"` +func (o GetPortOperationOutput) ConnectionCount() pulumi.IntOutput { + return o.ApplyT(func(v GetPortOperation) int { return v.ConnectionCount }).(pulumi.IntOutput) } -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs and GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigInput` via: +func (o GetPortOperationOutput) OpStatusChangedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetPortOperation) string { return v.OpStatusChangedAt }).(pulumi.StringOutput) +} + +func (o GetPortOperationOutput) OperationalStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetPortOperation) string { return v.OperationalStatus }).(pulumi.StringOutput) +} + +type GetPortRedundancy struct { + Enabled bool `pulumi:"enabled"` + Group string `pulumi:"group"` + Priority string `pulumi:"priority"` +} + +// GetPortRedundancyInput is an input type that accepts GetPortRedundancyArgs and GetPortRedundancyOutput values. +// You can construct a concrete instance of `GetPortRedundancyInput` via: // -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs{...} -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigInput interface { +// GetPortRedundancyArgs{...} +type GetPortRedundancyInput interface { pulumi.Input - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput + ToGetPortRedundancyOutput() GetPortRedundancyOutput + ToGetPortRedundancyOutputWithContext(context.Context) GetPortRedundancyOutput } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs struct { - AllowBandwidthAutoApproval pulumi.BoolInput `pulumi:"allowBandwidthAutoApproval"` - AllowBandwidthUpgrade pulumi.BoolInput `pulumi:"allowBandwidthUpgrade"` - AllowCustomBandwidth pulumi.BoolInput `pulumi:"allowCustomBandwidth"` - AllowRemoteConnections pulumi.BoolInput `pulumi:"allowRemoteConnections"` - ApiConfigs GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput `pulumi:"apiConfigs"` - AuthenticationKeys GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput `pulumi:"authenticationKeys"` - BandwidthAlertThreshold pulumi.Float64Input `pulumi:"bandwidthAlertThreshold"` - ConnectionLabel pulumi.StringInput `pulumi:"connectionLabel"` - ConnectionRedundancyRequired pulumi.BoolInput `pulumi:"connectionRedundancyRequired"` - EnableAutoGenerateServiceKey pulumi.BoolInput `pulumi:"enableAutoGenerateServiceKey"` - LinkProtocolConfigs GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput `pulumi:"linkProtocolConfigs"` - SupportedBandwidths pulumi.IntArrayInput `pulumi:"supportedBandwidths"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid pulumi.StringInput `pulumi:"uuid"` +type GetPortRedundancyArgs struct { + Enabled pulumi.BoolInput `pulumi:"enabled"` + Group pulumi.StringInput `pulumi:"group"` + Priority pulumi.StringInput `pulumi:"priority"` } -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func (GetPortRedundancyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortRedundancy)(nil)).Elem() } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { - return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(context.Background()) +func (i GetPortRedundancyArgs) ToGetPortRedundancyOutput() GetPortRedundancyOutput { + return i.ToGetPortRedundancyOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) +func (i GetPortRedundancyArgs) ToGetPortRedundancyOutputWithContext(ctx context.Context) GetPortRedundancyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortRedundancyOutput) } -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigArray and GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput` via: -// -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigArray{ GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs{...} } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput interface { - pulumi.Input +func (i GetPortRedundancyArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortRedundancy] { + return pulumix.Output[GetPortRedundancy]{ + OutputState: i.ToGetPortRedundancyOutputWithContext(ctx).OutputState, + } +} - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput +type GetPortRedundancyOutput struct{ *pulumi.OutputState } + +func (GetPortRedundancyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortRedundancy)(nil)).Elem() } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigArray []GetConnectionZSideAccessPointProfileAccessPointTypeConfigInput +func (o GetPortRedundancyOutput) ToGetPortRedundancyOutput() GetPortRedundancyOutput { + return o +} -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func (o GetPortRedundancyOutput) ToGetPortRedundancyOutputWithContext(ctx context.Context) GetPortRedundancyOutput { + return o } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { - return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(context.Background()) +func (o GetPortRedundancyOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortRedundancy] { + return pulumix.Output[GetPortRedundancy]{ + OutputState: o.OutputState, + } } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) +func (o GetPortRedundancyOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetPortRedundancy) bool { return v.Enabled }).(pulumi.BoolOutput) } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput struct{ *pulumi.OutputState } +func (o GetPortRedundancyOutput) Group() pulumi.StringOutput { + return o.ApplyT(func(v GetPortRedundancy) string { return v.Group }).(pulumi.StringOutput) +} -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func (o GetPortRedundancyOutput) Priority() pulumi.StringOutput { + return o.ApplyT(func(v GetPortRedundancy) string { return v.Priority }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { - return o +type GetPortsDatum struct { + Accounts []GetPortsDatumAccount `pulumi:"accounts"` + AvailableBandwidth int `pulumi:"availableBandwidth"` + Bandwidth int `pulumi:"bandwidth"` + ChangeLogs []GetPortsDatumChangeLog `pulumi:"changeLogs"` + Description string `pulumi:"description"` + Devices []GetPortsDatumDevice `pulumi:"devices"` + Encapsulations []GetPortsDatumEncapsulation `pulumi:"encapsulations"` + Href string `pulumi:"href"` + LagEnabled bool `pulumi:"lagEnabled"` + Locations []GetPortsDatumLocation `pulumi:"locations"` + Name string `pulumi:"name"` + Operations []GetPortsDatumOperation `pulumi:"operations"` + Redundancies []GetPortsDatumRedundancy `pulumi:"redundancies"` + ServiceType string `pulumi:"serviceType"` + State string `pulumi:"state"` + Type string `pulumi:"type"` + UsedBandwidth int `pulumi:"usedBandwidth"` + Uuid *string `pulumi:"uuid"` } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { - return o +// GetPortsDatumInput is an input type that accepts GetPortsDatumArgs and GetPortsDatumOutput values. +// You can construct a concrete instance of `GetPortsDatumInput` via: +// +// GetPortsDatumArgs{...} +type GetPortsDatumInput interface { + pulumi.Input + + ToGetPortsDatumOutput() GetPortsDatumOutput + ToGetPortsDatumOutputWithContext(context.Context) GetPortsDatumOutput } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) AllowBandwidthAutoApproval() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) bool { - return v.AllowBandwidthAutoApproval - }).(pulumi.BoolOutput) +type GetPortsDatumArgs struct { + Accounts GetPortsDatumAccountArrayInput `pulumi:"accounts"` + AvailableBandwidth pulumi.IntInput `pulumi:"availableBandwidth"` + Bandwidth pulumi.IntInput `pulumi:"bandwidth"` + ChangeLogs GetPortsDatumChangeLogArrayInput `pulumi:"changeLogs"` + Description pulumi.StringInput `pulumi:"description"` + Devices GetPortsDatumDeviceArrayInput `pulumi:"devices"` + Encapsulations GetPortsDatumEncapsulationArrayInput `pulumi:"encapsulations"` + Href pulumi.StringInput `pulumi:"href"` + LagEnabled pulumi.BoolInput `pulumi:"lagEnabled"` + Locations GetPortsDatumLocationArrayInput `pulumi:"locations"` + Name pulumi.StringInput `pulumi:"name"` + Operations GetPortsDatumOperationArrayInput `pulumi:"operations"` + Redundancies GetPortsDatumRedundancyArrayInput `pulumi:"redundancies"` + ServiceType pulumi.StringInput `pulumi:"serviceType"` + State pulumi.StringInput `pulumi:"state"` + Type pulumi.StringInput `pulumi:"type"` + UsedBandwidth pulumi.IntInput `pulumi:"usedBandwidth"` + Uuid pulumi.StringPtrInput `pulumi:"uuid"` } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) AllowBandwidthUpgrade() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) bool { return v.AllowBandwidthUpgrade }).(pulumi.BoolOutput) +func (GetPortsDatumArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatum)(nil)).Elem() } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) AllowCustomBandwidth() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) bool { return v.AllowCustomBandwidth }).(pulumi.BoolOutput) +func (i GetPortsDatumArgs) ToGetPortsDatumOutput() GetPortsDatumOutput { + return i.ToGetPortsDatumOutputWithContext(context.Background()) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) AllowRemoteConnections() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) bool { - return v.AllowRemoteConnections - }).(pulumi.BoolOutput) +func (i GetPortsDatumArgs) ToGetPortsDatumOutputWithContext(ctx context.Context) GetPortsDatumOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ApiConfigs() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) []GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig { - return v.ApiConfigs - }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) +func (i GetPortsDatumArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatum] { + return pulumix.Output[GetPortsDatum]{ + OutputState: i.ToGetPortsDatumOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) AuthenticationKeys() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) []GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey { - return v.AuthenticationKeys - }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) +// GetPortsDatumArrayInput is an input type that accepts GetPortsDatumArray and GetPortsDatumArrayOutput values. +// You can construct a concrete instance of `GetPortsDatumArrayInput` via: +// +// GetPortsDatumArray{ GetPortsDatumArgs{...} } +type GetPortsDatumArrayInput interface { + pulumi.Input + + ToGetPortsDatumArrayOutput() GetPortsDatumArrayOutput + ToGetPortsDatumArrayOutputWithContext(context.Context) GetPortsDatumArrayOutput } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) BandwidthAlertThreshold() pulumi.Float64Output { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) float64 { - return v.BandwidthAlertThreshold - }).(pulumi.Float64Output) +type GetPortsDatumArray []GetPortsDatumInput + +func (GetPortsDatumArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatum)(nil)).Elem() } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ConnectionLabel() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) string { return v.ConnectionLabel }).(pulumi.StringOutput) +func (i GetPortsDatumArray) ToGetPortsDatumArrayOutput() GetPortsDatumArrayOutput { + return i.ToGetPortsDatumArrayOutputWithContext(context.Background()) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ConnectionRedundancyRequired() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) bool { - return v.ConnectionRedundancyRequired - }).(pulumi.BoolOutput) +func (i GetPortsDatumArray) ToGetPortsDatumArrayOutputWithContext(ctx context.Context) GetPortsDatumArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumArrayOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) EnableAutoGenerateServiceKey() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) bool { - return v.EnableAutoGenerateServiceKey - }).(pulumi.BoolOutput) +func (i GetPortsDatumArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatum] { + return pulumix.Output[[]GetPortsDatum]{ + OutputState: i.ToGetPortsDatumArrayOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) LinkProtocolConfigs() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) []GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig { - return v.LinkProtocolConfigs - }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) +type GetPortsDatumOutput struct{ *pulumi.OutputState } + +func (GetPortsDatumOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatum)(nil)).Elem() } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) SupportedBandwidths() pulumi.IntArrayOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) []int { return v.SupportedBandwidths }).(pulumi.IntArrayOutput) +func (o GetPortsDatumOutput) ToGetPortsDatumOutput() GetPortsDatumOutput { + return o +} + +func (o GetPortsDatumOutput) ToGetPortsDatumOutputWithContext(ctx context.Context) GetPortsDatumOutput { + return o } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) string { return v.Type }).(pulumi.StringOutput) +func (o GetPortsDatumOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatum] { + return pulumix.Output[GetPortsDatum]{ + OutputState: o.OutputState, + } } -// Equinix-assigned connection identifier -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) string { return v.Uuid }).(pulumi.StringOutput) +func (o GetPortsDatumOutput) Accounts() GetPortsDatumAccountArrayOutput { + return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumAccount { return v.Accounts }).(GetPortsDatumAccountArrayOutput) } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput struct{ *pulumi.OutputState } - -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfig)(nil)).Elem() +func (o GetPortsDatumOutput) AvailableBandwidth() pulumi.IntOutput { + return o.ApplyT(func(v GetPortsDatum) int { return v.AvailableBandwidth }).(pulumi.IntOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o +func (o GetPortsDatumOutput) Bandwidth() pulumi.IntOutput { + return o.ApplyT(func(v GetPortsDatum) int { return v.Bandwidth }).(pulumi.IntOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput { - return o +func (o GetPortsDatumOutput) ChangeLogs() GetPortsDatumChangeLogArrayOutput { + return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumChangeLog { return v.ChangeLogs }).(GetPortsDatumChangeLogArrayOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointProfileAccessPointTypeConfig { - return vs[0].([]GetConnectionZSideAccessPointProfileAccessPointTypeConfig)[vs[1].(int)] - }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) +func (o GetPortsDatumOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatum) string { return v.Description }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig struct { - AllowOverSubscription bool `pulumi:"allowOverSubscription"` - ApiAvailable bool `pulumi:"apiAvailable"` - BandwidthFromApi bool `pulumi:"bandwidthFromApi"` - EquinixManagedPort bool `pulumi:"equinixManagedPort"` - EquinixManagedVlan bool `pulumi:"equinixManagedVlan"` - IntegrationId string `pulumi:"integrationId"` - OverSubscriptionLimit int `pulumi:"overSubscriptionLimit"` +func (o GetPortsDatumOutput) Devices() GetPortsDatumDeviceArrayOutput { + return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumDevice { return v.Devices }).(GetPortsDatumDeviceArrayOutput) } -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs and GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigInput` via: -// -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs{...} -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigInput interface { - pulumi.Input +func (o GetPortsDatumOutput) Encapsulations() GetPortsDatumEncapsulationArrayOutput { + return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumEncapsulation { return v.Encapsulations }).(GetPortsDatumEncapsulationArrayOutput) +} - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput +func (o GetPortsDatumOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatum) string { return v.Href }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs struct { - AllowOverSubscription pulumi.BoolInput `pulumi:"allowOverSubscription"` - ApiAvailable pulumi.BoolInput `pulumi:"apiAvailable"` - BandwidthFromApi pulumi.BoolInput `pulumi:"bandwidthFromApi"` - EquinixManagedPort pulumi.BoolInput `pulumi:"equinixManagedPort"` - EquinixManagedVlan pulumi.BoolInput `pulumi:"equinixManagedVlan"` - IntegrationId pulumi.StringInput `pulumi:"integrationId"` - OverSubscriptionLimit pulumi.IntInput `pulumi:"overSubscriptionLimit"` +func (o GetPortsDatumOutput) LagEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetPortsDatum) bool { return v.LagEnabled }).(pulumi.BoolOutput) } -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +func (o GetPortsDatumOutput) Locations() GetPortsDatumLocationArrayOutput { + return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumLocation { return v.Locations }).(GetPortsDatumLocationArrayOutput) } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput { - return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(context.Background()) +func (o GetPortsDatumOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatum) string { return v.Name }).(pulumi.StringOutput) } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) +func (o GetPortsDatumOutput) Operations() GetPortsDatumOperationArrayOutput { + return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumOperation { return v.Operations }).(GetPortsDatumOperationArrayOutput) } -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArray and GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput` via: -// -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArray{ GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArgs{...} } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayInput interface { - pulumi.Input +func (o GetPortsDatumOutput) Redundancies() GetPortsDatumRedundancyArrayOutput { + return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumRedundancy { return v.Redundancies }).(GetPortsDatumRedundancyArrayOutput) +} - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput +func (o GetPortsDatumOutput) ServiceType() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatum) string { return v.ServiceType }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArray []GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigInput +func (o GetPortsDatumOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatum) string { return v.State }).(pulumi.StringOutput) +} -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +func (o GetPortsDatumOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatum) string { return v.Type }).(pulumi.StringOutput) } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { - return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(context.Background()) +func (o GetPortsDatumOutput) UsedBandwidth() pulumi.IntOutput { + return o.ApplyT(func(v GetPortsDatum) int { return v.UsedBandwidth }).(pulumi.IntOutput) } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) +func (o GetPortsDatumOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPortsDatum) *string { return v.Uuid }).(pulumi.StringPtrOutput) } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput struct{ *pulumi.OutputState } +type GetPortsDatumArrayOutput struct{ *pulumi.OutputState } -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +func (GetPortsDatumArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatum)(nil)).Elem() } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput { +func (o GetPortsDatumArrayOutput) ToGetPortsDatumArrayOutput() GetPortsDatumArrayOutput { return o } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput { +func (o GetPortsDatumArrayOutput) ToGetPortsDatumArrayOutputWithContext(ctx context.Context) GetPortsDatumArrayOutput { return o } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) AllowOverSubscription() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) bool { - return v.AllowOverSubscription - }).(pulumi.BoolOutput) +func (o GetPortsDatumArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatum] { + return pulumix.Output[[]GetPortsDatum]{ + OutputState: o.OutputState, + } } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) ApiAvailable() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) bool { return v.ApiAvailable }).(pulumi.BoolOutput) +func (o GetPortsDatumArrayOutput) Index(i pulumi.IntInput) GetPortsDatumOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatum { + return vs[0].([]GetPortsDatum)[vs[1].(int)] + }).(GetPortsDatumOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) BandwidthFromApi() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) bool { - return v.BandwidthFromApi - }).(pulumi.BoolOutput) +type GetPortsDatumAccount struct { + AccountName string `pulumi:"accountName"` + AccountNumber int `pulumi:"accountNumber"` + GlobalCustId string `pulumi:"globalCustId"` + GlobalOrgId string `pulumi:"globalOrgId"` + GlobalOrganizationName string `pulumi:"globalOrganizationName"` + OrgId int `pulumi:"orgId"` + OrganizationName string `pulumi:"organizationName"` } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) EquinixManagedPort() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) bool { - return v.EquinixManagedPort - }).(pulumi.BoolOutput) +// GetPortsDatumAccountInput is an input type that accepts GetPortsDatumAccountArgs and GetPortsDatumAccountOutput values. +// You can construct a concrete instance of `GetPortsDatumAccountInput` via: +// +// GetPortsDatumAccountArgs{...} +type GetPortsDatumAccountInput interface { + pulumi.Input + + ToGetPortsDatumAccountOutput() GetPortsDatumAccountOutput + ToGetPortsDatumAccountOutputWithContext(context.Context) GetPortsDatumAccountOutput } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) EquinixManagedVlan() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) bool { - return v.EquinixManagedVlan - }).(pulumi.BoolOutput) +type GetPortsDatumAccountArgs struct { + AccountName pulumi.StringInput `pulumi:"accountName"` + AccountNumber pulumi.IntInput `pulumi:"accountNumber"` + GlobalCustId pulumi.StringInput `pulumi:"globalCustId"` + GlobalOrgId pulumi.StringInput `pulumi:"globalOrgId"` + GlobalOrganizationName pulumi.StringInput `pulumi:"globalOrganizationName"` + OrgId pulumi.IntInput `pulumi:"orgId"` + OrganizationName pulumi.StringInput `pulumi:"organizationName"` } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) IntegrationId() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) string { - return v.IntegrationId - }).(pulumi.StringOutput) +func (GetPortsDatumAccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumAccount)(nil)).Elem() } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) OverSubscriptionLimit() pulumi.IntOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig) int { - return v.OverSubscriptionLimit - }).(pulumi.IntOutput) +func (i GetPortsDatumAccountArgs) ToGetPortsDatumAccountOutput() GetPortsDatumAccountOutput { + return i.ToGetPortsDatumAccountOutputWithContext(context.Background()) } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput struct{ *pulumi.OutputState } +func (i GetPortsDatumAccountArgs) ToGetPortsDatumAccountOutputWithContext(ctx context.Context) GetPortsDatumAccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumAccountOutput) +} -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig)(nil)).Elem() +func (i GetPortsDatumAccountArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumAccount] { + return pulumix.Output[GetPortsDatumAccount]{ + OutputState: i.ToGetPortsDatumAccountOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { - return o +// GetPortsDatumAccountArrayInput is an input type that accepts GetPortsDatumAccountArray and GetPortsDatumAccountArrayOutput values. +// You can construct a concrete instance of `GetPortsDatumAccountArrayInput` via: +// +// GetPortsDatumAccountArray{ GetPortsDatumAccountArgs{...} } +type GetPortsDatumAccountArrayInput interface { + pulumi.Input + + ToGetPortsDatumAccountArrayOutput() GetPortsDatumAccountArrayOutput + ToGetPortsDatumAccountArrayOutputWithContext(context.Context) GetPortsDatumAccountArrayOutput } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput { - return o +type GetPortsDatumAccountArray []GetPortsDatumAccountInput + +func (GetPortsDatumAccountArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumAccount)(nil)).Elem() } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig { - return vs[0].([]GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig)[vs[1].(int)] - }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigOutput) +func (i GetPortsDatumAccountArray) ToGetPortsDatumAccountArrayOutput() GetPortsDatumAccountArrayOutput { + return i.ToGetPortsDatumAccountArrayOutputWithContext(context.Background()) } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey struct { - // Customer-provided connection description - Description string `pulumi:"description"` - Label string `pulumi:"label"` - Required bool `pulumi:"required"` +func (i GetPortsDatumAccountArray) ToGetPortsDatumAccountArrayOutputWithContext(ctx context.Context) GetPortsDatumAccountArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumAccountArrayOutput) } -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs and GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput` via: -// -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs{...} -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput interface { - pulumi.Input +func (i GetPortsDatumAccountArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumAccount] { + return pulumix.Output[[]GetPortsDatumAccount]{ + OutputState: i.ToGetPortsDatumAccountArrayOutputWithContext(ctx).OutputState, + } +} - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput +type GetPortsDatumAccountOutput struct{ *pulumi.OutputState } + +func (GetPortsDatumAccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumAccount)(nil)).Elem() } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs struct { - // Customer-provided connection description - Description pulumi.StringInput `pulumi:"description"` - Label pulumi.StringInput `pulumi:"label"` - Required pulumi.BoolInput `pulumi:"required"` +func (o GetPortsDatumAccountOutput) ToGetPortsDatumAccountOutput() GetPortsDatumAccountOutput { + return o } -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() +func (o GetPortsDatumAccountOutput) ToGetPortsDatumAccountOutputWithContext(ctx context.Context) GetPortsDatumAccountOutput { + return o } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { - return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(context.Background()) +func (o GetPortsDatumAccountOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumAccount] { + return pulumix.Output[GetPortsDatumAccount]{ + OutputState: o.OutputState, + } } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) +func (o GetPortsDatumAccountOutput) AccountName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumAccount) string { return v.AccountName }).(pulumi.StringOutput) } -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray and GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput` via: -// -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray{ GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArgs{...} } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput interface { - pulumi.Input +func (o GetPortsDatumAccountOutput) AccountNumber() pulumi.IntOutput { + return o.ApplyT(func(v GetPortsDatumAccount) int { return v.AccountNumber }).(pulumi.IntOutput) +} - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput +func (o GetPortsDatumAccountOutput) GlobalCustId() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumAccount) string { return v.GlobalCustId }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray []GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyInput +func (o GetPortsDatumAccountOutput) GlobalOrgId() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumAccount) string { return v.GlobalOrgId }).(pulumi.StringOutput) +} -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() +func (o GetPortsDatumAccountOutput) GlobalOrganizationName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumAccount) string { return v.GlobalOrganizationName }).(pulumi.StringOutput) } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { - return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(context.Background()) +func (o GetPortsDatumAccountOutput) OrgId() pulumi.IntOutput { + return o.ApplyT(func(v GetPortsDatumAccount) int { return v.OrgId }).(pulumi.IntOutput) } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) +func (o GetPortsDatumAccountOutput) OrganizationName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumAccount) string { return v.OrganizationName }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput struct{ *pulumi.OutputState } +type GetPortsDatumAccountArrayOutput struct{ *pulumi.OutputState } -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() +func (GetPortsDatumAccountArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumAccount)(nil)).Elem() } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { +func (o GetPortsDatumAccountArrayOutput) ToGetPortsDatumAccountArrayOutput() GetPortsDatumAccountArrayOutput { return o } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { +func (o GetPortsDatumAccountArrayOutput) ToGetPortsDatumAccountArrayOutputWithContext(ctx context.Context) GetPortsDatumAccountArrayOutput { return o } -// Customer-provided connection description -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey) string { - return v.Description - }).(pulumi.StringOutput) +func (o GetPortsDatumAccountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumAccount] { + return pulumix.Output[[]GetPortsDatumAccount]{ + OutputState: o.OutputState, + } } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) Label() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey) string { - return v.Label - }).(pulumi.StringOutput) +func (o GetPortsDatumAccountArrayOutput) Index(i pulumi.IntInput) GetPortsDatumAccountOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumAccount { + return vs[0].([]GetPortsDatumAccount)[vs[1].(int)] + }).(GetPortsDatumAccountOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) Required() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey) bool { - return v.Required - }).(pulumi.BoolOutput) +type GetPortsDatumChangeLog struct { + CreatedBy string `pulumi:"createdBy"` + CreatedByEmail string `pulumi:"createdByEmail"` + CreatedByFullName string `pulumi:"createdByFullName"` + CreatedDateTime string `pulumi:"createdDateTime"` + DeletedBy string `pulumi:"deletedBy"` + DeletedByEmail string `pulumi:"deletedByEmail"` + DeletedByFullName string `pulumi:"deletedByFullName"` + DeletedDateTime string `pulumi:"deletedDateTime"` + UpdatedBy string `pulumi:"updatedBy"` + UpdatedByEmail string `pulumi:"updatedByEmail"` + UpdatedByFullName string `pulumi:"updatedByFullName"` + UpdatedDateTime string `pulumi:"updatedDateTime"` } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput struct{ *pulumi.OutputState } +// GetPortsDatumChangeLogInput is an input type that accepts GetPortsDatumChangeLogArgs and GetPortsDatumChangeLogOutput values. +// You can construct a concrete instance of `GetPortsDatumChangeLogInput` via: +// +// GetPortsDatumChangeLogArgs{...} +type GetPortsDatumChangeLogInput interface { + pulumi.Input -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey)(nil)).Elem() + ToGetPortsDatumChangeLogOutput() GetPortsDatumChangeLogOutput + ToGetPortsDatumChangeLogOutputWithContext(context.Context) GetPortsDatumChangeLogOutput } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { - return o +type GetPortsDatumChangeLogArgs struct { + CreatedBy pulumi.StringInput `pulumi:"createdBy"` + CreatedByEmail pulumi.StringInput `pulumi:"createdByEmail"` + CreatedByFullName pulumi.StringInput `pulumi:"createdByFullName"` + CreatedDateTime pulumi.StringInput `pulumi:"createdDateTime"` + DeletedBy pulumi.StringInput `pulumi:"deletedBy"` + DeletedByEmail pulumi.StringInput `pulumi:"deletedByEmail"` + DeletedByFullName pulumi.StringInput `pulumi:"deletedByFullName"` + DeletedDateTime pulumi.StringInput `pulumi:"deletedDateTime"` + UpdatedBy pulumi.StringInput `pulumi:"updatedBy"` + UpdatedByEmail pulumi.StringInput `pulumi:"updatedByEmail"` + UpdatedByFullName pulumi.StringInput `pulumi:"updatedByFullName"` + UpdatedDateTime pulumi.StringInput `pulumi:"updatedDateTime"` } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput { - return o +func (GetPortsDatumChangeLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumChangeLog)(nil)).Elem() } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey { - return vs[0].([]GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey)[vs[1].(int)] - }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyOutput) +func (i GetPortsDatumChangeLogArgs) ToGetPortsDatumChangeLogOutput() GetPortsDatumChangeLogOutput { + return i.ToGetPortsDatumChangeLogOutputWithContext(context.Background()) } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig struct { - Encapsulation string `pulumi:"encapsulation"` - EncapsulationStrategy string `pulumi:"encapsulationStrategy"` - ReuseVlanSTag bool `pulumi:"reuseVlanSTag"` +func (i GetPortsDatumChangeLogArgs) ToGetPortsDatumChangeLogOutputWithContext(ctx context.Context) GetPortsDatumChangeLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumChangeLogOutput) } -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs and GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput` via: +func (i GetPortsDatumChangeLogArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumChangeLog] { + return pulumix.Output[GetPortsDatumChangeLog]{ + OutputState: i.ToGetPortsDatumChangeLogOutputWithContext(ctx).OutputState, + } +} + +// GetPortsDatumChangeLogArrayInput is an input type that accepts GetPortsDatumChangeLogArray and GetPortsDatumChangeLogArrayOutput values. +// You can construct a concrete instance of `GetPortsDatumChangeLogArrayInput` via: // -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs{...} -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput interface { +// GetPortsDatumChangeLogArray{ GetPortsDatumChangeLogArgs{...} } +type GetPortsDatumChangeLogArrayInput interface { pulumi.Input - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput + ToGetPortsDatumChangeLogArrayOutput() GetPortsDatumChangeLogArrayOutput + ToGetPortsDatumChangeLogArrayOutputWithContext(context.Context) GetPortsDatumChangeLogArrayOutput } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs struct { - Encapsulation pulumi.StringInput `pulumi:"encapsulation"` - EncapsulationStrategy pulumi.StringInput `pulumi:"encapsulationStrategy"` - ReuseVlanSTag pulumi.BoolInput `pulumi:"reuseVlanSTag"` +type GetPortsDatumChangeLogArray []GetPortsDatumChangeLogInput + +func (GetPortsDatumChangeLogArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumChangeLog)(nil)).Elem() } -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() +func (i GetPortsDatumChangeLogArray) ToGetPortsDatumChangeLogArrayOutput() GetPortsDatumChangeLogArrayOutput { + return i.ToGetPortsDatumChangeLogArrayOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { - return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(context.Background()) +func (i GetPortsDatumChangeLogArray) ToGetPortsDatumChangeLogArrayOutputWithContext(ctx context.Context) GetPortsDatumChangeLogArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumChangeLogArrayOutput) } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) +func (i GetPortsDatumChangeLogArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumChangeLog] { + return pulumix.Output[[]GetPortsDatumChangeLog]{ + OutputState: i.ToGetPortsDatumChangeLogArrayOutputWithContext(ctx).OutputState, + } } -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput is an input type that accepts GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray and GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput` via: -// -// GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray{ GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs{...} } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput interface { - pulumi.Input +type GetPortsDatumChangeLogOutput struct{ *pulumi.OutputState } - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput - ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput +func (GetPortsDatumChangeLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumChangeLog)(nil)).Elem() } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray []GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput +func (o GetPortsDatumChangeLogOutput) ToGetPortsDatumChangeLogOutput() GetPortsDatumChangeLogOutput { + return o +} -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() +func (o GetPortsDatumChangeLogOutput) ToGetPortsDatumChangeLogOutputWithContext(ctx context.Context) GetPortsDatumChangeLogOutput { + return o } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { - return i.ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(context.Background()) +func (o GetPortsDatumChangeLogOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumChangeLog] { + return pulumix.Output[GetPortsDatumChangeLog]{ + OutputState: o.OutputState, + } } -func (i GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) +func (o GetPortsDatumChangeLogOutput) CreatedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.CreatedBy }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput struct{ *pulumi.OutputState } +func (o GetPortsDatumChangeLogOutput) CreatedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.CreatedByEmail }).(pulumi.StringOutput) +} -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() +func (o GetPortsDatumChangeLogOutput) CreatedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.CreatedByFullName }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { - return o +func (o GetPortsDatumChangeLogOutput) CreatedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.CreatedDateTime }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { - return o +func (o GetPortsDatumChangeLogOutput) DeletedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.DeletedBy }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) Encapsulation() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig) string { - return v.Encapsulation - }).(pulumi.StringOutput) +func (o GetPortsDatumChangeLogOutput) DeletedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.DeletedByEmail }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) EncapsulationStrategy() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig) string { - return v.EncapsulationStrategy - }).(pulumi.StringOutput) +func (o GetPortsDatumChangeLogOutput) DeletedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.DeletedByFullName }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) ReuseVlanSTag() pulumi.BoolOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig) bool { - return v.ReuseVlanSTag - }).(pulumi.BoolOutput) +func (o GetPortsDatumChangeLogOutput) DeletedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.DeletedDateTime }).(pulumi.StringOutput) } -type GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput struct{ *pulumi.OutputState } +func (o GetPortsDatumChangeLogOutput) UpdatedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.UpdatedBy }).(pulumi.StringOutput) +} -func (GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)(nil)).Elem() +func (o GetPortsDatumChangeLogOutput) UpdatedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.UpdatedByEmail }).(pulumi.StringOutput) } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput() GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { +func (o GetPortsDatumChangeLogOutput) UpdatedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.UpdatedByFullName }).(pulumi.StringOutput) +} + +func (o GetPortsDatumChangeLogOutput) UpdatedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.UpdatedDateTime }).(pulumi.StringOutput) +} + +type GetPortsDatumChangeLogArrayOutput struct{ *pulumi.OutputState } + +func (GetPortsDatumChangeLogArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumChangeLog)(nil)).Elem() +} + +func (o GetPortsDatumChangeLogArrayOutput) ToGetPortsDatumChangeLogArrayOutput() GetPortsDatumChangeLogArrayOutput { return o } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ToGetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput { +func (o GetPortsDatumChangeLogArrayOutput) ToGetPortsDatumChangeLogArrayOutputWithContext(ctx context.Context) GetPortsDatumChangeLogArrayOutput { return o } -func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig { - return vs[0].([]GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig)[vs[1].(int)] - }).(GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput) +func (o GetPortsDatumChangeLogArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumChangeLog] { + return pulumix.Output[[]GetPortsDatumChangeLog]{ + OutputState: o.OutputState, + } } -type GetConnectionZSideAccessPointVirtualDevice struct { - // Connection URI information - Href string `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid string `pulumi:"uuid"` +func (o GetPortsDatumChangeLogArrayOutput) Index(i pulumi.IntInput) GetPortsDatumChangeLogOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumChangeLog { + return vs[0].([]GetPortsDatumChangeLog)[vs[1].(int)] + }).(GetPortsDatumChangeLogOutput) } -// GetConnectionZSideAccessPointVirtualDeviceInput is an input type that accepts GetConnectionZSideAccessPointVirtualDeviceArgs and GetConnectionZSideAccessPointVirtualDeviceOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointVirtualDeviceInput` via: +type GetPortsDatumDevice struct { + Name string `pulumi:"name"` + Redundancies []GetPortsDatumDeviceRedundancy `pulumi:"redundancies"` +} + +// GetPortsDatumDeviceInput is an input type that accepts GetPortsDatumDeviceArgs and GetPortsDatumDeviceOutput values. +// You can construct a concrete instance of `GetPortsDatumDeviceInput` via: // -// GetConnectionZSideAccessPointVirtualDeviceArgs{...} -type GetConnectionZSideAccessPointVirtualDeviceInput interface { +// GetPortsDatumDeviceArgs{...} +type GetPortsDatumDeviceInput interface { pulumi.Input - ToGetConnectionZSideAccessPointVirtualDeviceOutput() GetConnectionZSideAccessPointVirtualDeviceOutput - ToGetConnectionZSideAccessPointVirtualDeviceOutputWithContext(context.Context) GetConnectionZSideAccessPointVirtualDeviceOutput + ToGetPortsDatumDeviceOutput() GetPortsDatumDeviceOutput + ToGetPortsDatumDeviceOutputWithContext(context.Context) GetPortsDatumDeviceOutput } -type GetConnectionZSideAccessPointVirtualDeviceArgs struct { - // Connection URI information - Href pulumi.StringInput `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid pulumi.StringInput `pulumi:"uuid"` +type GetPortsDatumDeviceArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Redundancies GetPortsDatumDeviceRedundancyArrayInput `pulumi:"redundancies"` } -func (GetConnectionZSideAccessPointVirtualDeviceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointVirtualDevice)(nil)).Elem() +func (GetPortsDatumDeviceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumDevice)(nil)).Elem() } -func (i GetConnectionZSideAccessPointVirtualDeviceArgs) ToGetConnectionZSideAccessPointVirtualDeviceOutput() GetConnectionZSideAccessPointVirtualDeviceOutput { - return i.ToGetConnectionZSideAccessPointVirtualDeviceOutputWithContext(context.Background()) +func (i GetPortsDatumDeviceArgs) ToGetPortsDatumDeviceOutput() GetPortsDatumDeviceOutput { + return i.ToGetPortsDatumDeviceOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointVirtualDeviceArgs) ToGetConnectionZSideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointVirtualDeviceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointVirtualDeviceOutput) +func (i GetPortsDatumDeviceArgs) ToGetPortsDatumDeviceOutputWithContext(ctx context.Context) GetPortsDatumDeviceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumDeviceOutput) } -// GetConnectionZSideAccessPointVirtualDeviceArrayInput is an input type that accepts GetConnectionZSideAccessPointVirtualDeviceArray and GetConnectionZSideAccessPointVirtualDeviceArrayOutput values. -// You can construct a concrete instance of `GetConnectionZSideAccessPointVirtualDeviceArrayInput` via: +func (i GetPortsDatumDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumDevice] { + return pulumix.Output[GetPortsDatumDevice]{ + OutputState: i.ToGetPortsDatumDeviceOutputWithContext(ctx).OutputState, + } +} + +// GetPortsDatumDeviceArrayInput is an input type that accepts GetPortsDatumDeviceArray and GetPortsDatumDeviceArrayOutput values. +// You can construct a concrete instance of `GetPortsDatumDeviceArrayInput` via: // -// GetConnectionZSideAccessPointVirtualDeviceArray{ GetConnectionZSideAccessPointVirtualDeviceArgs{...} } -type GetConnectionZSideAccessPointVirtualDeviceArrayInput interface { +// GetPortsDatumDeviceArray{ GetPortsDatumDeviceArgs{...} } +type GetPortsDatumDeviceArrayInput interface { pulumi.Input - ToGetConnectionZSideAccessPointVirtualDeviceArrayOutput() GetConnectionZSideAccessPointVirtualDeviceArrayOutput - ToGetConnectionZSideAccessPointVirtualDeviceArrayOutputWithContext(context.Context) GetConnectionZSideAccessPointVirtualDeviceArrayOutput + ToGetPortsDatumDeviceArrayOutput() GetPortsDatumDeviceArrayOutput + ToGetPortsDatumDeviceArrayOutputWithContext(context.Context) GetPortsDatumDeviceArrayOutput } -type GetConnectionZSideAccessPointVirtualDeviceArray []GetConnectionZSideAccessPointVirtualDeviceInput +type GetPortsDatumDeviceArray []GetPortsDatumDeviceInput -func (GetConnectionZSideAccessPointVirtualDeviceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointVirtualDevice)(nil)).Elem() +func (GetPortsDatumDeviceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumDevice)(nil)).Elem() } -func (i GetConnectionZSideAccessPointVirtualDeviceArray) ToGetConnectionZSideAccessPointVirtualDeviceArrayOutput() GetConnectionZSideAccessPointVirtualDeviceArrayOutput { - return i.ToGetConnectionZSideAccessPointVirtualDeviceArrayOutputWithContext(context.Background()) +func (i GetPortsDatumDeviceArray) ToGetPortsDatumDeviceArrayOutput() GetPortsDatumDeviceArrayOutput { + return i.ToGetPortsDatumDeviceArrayOutputWithContext(context.Background()) } -func (i GetConnectionZSideAccessPointVirtualDeviceArray) ToGetConnectionZSideAccessPointVirtualDeviceArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointVirtualDeviceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideAccessPointVirtualDeviceArrayOutput) +func (i GetPortsDatumDeviceArray) ToGetPortsDatumDeviceArrayOutputWithContext(ctx context.Context) GetPortsDatumDeviceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumDeviceArrayOutput) } -type GetConnectionZSideAccessPointVirtualDeviceOutput struct{ *pulumi.OutputState } +func (i GetPortsDatumDeviceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumDevice] { + return pulumix.Output[[]GetPortsDatumDevice]{ + OutputState: i.ToGetPortsDatumDeviceArrayOutputWithContext(ctx).OutputState, + } +} -func (GetConnectionZSideAccessPointVirtualDeviceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideAccessPointVirtualDevice)(nil)).Elem() +type GetPortsDatumDeviceOutput struct{ *pulumi.OutputState } + +func (GetPortsDatumDeviceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumDevice)(nil)).Elem() } -func (o GetConnectionZSideAccessPointVirtualDeviceOutput) ToGetConnectionZSideAccessPointVirtualDeviceOutput() GetConnectionZSideAccessPointVirtualDeviceOutput { +func (o GetPortsDatumDeviceOutput) ToGetPortsDatumDeviceOutput() GetPortsDatumDeviceOutput { return o } -func (o GetConnectionZSideAccessPointVirtualDeviceOutput) ToGetConnectionZSideAccessPointVirtualDeviceOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointVirtualDeviceOutput { +func (o GetPortsDatumDeviceOutput) ToGetPortsDatumDeviceOutputWithContext(ctx context.Context) GetPortsDatumDeviceOutput { return o } -// Connection URI information -func (o GetConnectionZSideAccessPointVirtualDeviceOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointVirtualDevice) string { return v.Href }).(pulumi.StringOutput) +func (o GetPortsDatumDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumDevice] { + return pulumix.Output[GetPortsDatumDevice]{ + OutputState: o.OutputState, + } } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionZSideAccessPointVirtualDeviceOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointVirtualDevice) string { return v.Type }).(pulumi.StringOutput) +func (o GetPortsDatumDeviceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumDevice) string { return v.Name }).(pulumi.StringOutput) } -// Equinix-assigned connection identifier -func (o GetConnectionZSideAccessPointVirtualDeviceOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideAccessPointVirtualDevice) string { return v.Uuid }).(pulumi.StringOutput) +func (o GetPortsDatumDeviceOutput) Redundancies() GetPortsDatumDeviceRedundancyArrayOutput { + return o.ApplyT(func(v GetPortsDatumDevice) []GetPortsDatumDeviceRedundancy { return v.Redundancies }).(GetPortsDatumDeviceRedundancyArrayOutput) } -type GetConnectionZSideAccessPointVirtualDeviceArrayOutput struct{ *pulumi.OutputState } +type GetPortsDatumDeviceArrayOutput struct{ *pulumi.OutputState } -func (GetConnectionZSideAccessPointVirtualDeviceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetConnectionZSideAccessPointVirtualDevice)(nil)).Elem() +func (GetPortsDatumDeviceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumDevice)(nil)).Elem() } -func (o GetConnectionZSideAccessPointVirtualDeviceArrayOutput) ToGetConnectionZSideAccessPointVirtualDeviceArrayOutput() GetConnectionZSideAccessPointVirtualDeviceArrayOutput { +func (o GetPortsDatumDeviceArrayOutput) ToGetPortsDatumDeviceArrayOutput() GetPortsDatumDeviceArrayOutput { return o } -func (o GetConnectionZSideAccessPointVirtualDeviceArrayOutput) ToGetConnectionZSideAccessPointVirtualDeviceArrayOutputWithContext(ctx context.Context) GetConnectionZSideAccessPointVirtualDeviceArrayOutput { +func (o GetPortsDatumDeviceArrayOutput) ToGetPortsDatumDeviceArrayOutputWithContext(ctx context.Context) GetPortsDatumDeviceArrayOutput { return o } -func (o GetConnectionZSideAccessPointVirtualDeviceArrayOutput) Index(i pulumi.IntInput) GetConnectionZSideAccessPointVirtualDeviceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetConnectionZSideAccessPointVirtualDevice { - return vs[0].([]GetConnectionZSideAccessPointVirtualDevice)[vs[1].(int)] - }).(GetConnectionZSideAccessPointVirtualDeviceOutput) +func (o GetPortsDatumDeviceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumDevice] { + return pulumix.Output[[]GetPortsDatumDevice]{ + OutputState: o.OutputState, + } } -type GetConnectionZSideServiceToken struct { - // Customer-provided connection description - Description string `pulumi:"description"` - // Connection URI information - Href string `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type string `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid string `pulumi:"uuid"` +func (o GetPortsDatumDeviceArrayOutput) Index(i pulumi.IntInput) GetPortsDatumDeviceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumDevice { + return vs[0].([]GetPortsDatumDevice)[vs[1].(int)] + }).(GetPortsDatumDeviceOutput) } -// GetConnectionZSideServiceTokenInput is an input type that accepts GetConnectionZSideServiceTokenArgs and GetConnectionZSideServiceTokenOutput values. -// You can construct a concrete instance of `GetConnectionZSideServiceTokenInput` via: +type GetPortsDatumDeviceRedundancy struct { + Group string `pulumi:"group"` + Priority string `pulumi:"priority"` +} + +// GetPortsDatumDeviceRedundancyInput is an input type that accepts GetPortsDatumDeviceRedundancyArgs and GetPortsDatumDeviceRedundancyOutput values. +// You can construct a concrete instance of `GetPortsDatumDeviceRedundancyInput` via: // -// GetConnectionZSideServiceTokenArgs{...} -type GetConnectionZSideServiceTokenInput interface { +// GetPortsDatumDeviceRedundancyArgs{...} +type GetPortsDatumDeviceRedundancyInput interface { pulumi.Input - ToGetConnectionZSideServiceTokenOutput() GetConnectionZSideServiceTokenOutput - ToGetConnectionZSideServiceTokenOutputWithContext(context.Context) GetConnectionZSideServiceTokenOutput + ToGetPortsDatumDeviceRedundancyOutput() GetPortsDatumDeviceRedundancyOutput + ToGetPortsDatumDeviceRedundancyOutputWithContext(context.Context) GetPortsDatumDeviceRedundancyOutput } -type GetConnectionZSideServiceTokenArgs struct { - // Customer-provided connection description - Description pulumi.StringInput `pulumi:"description"` - // Connection URI information - Href pulumi.StringInput `pulumi:"href"` - // Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - Type pulumi.StringInput `pulumi:"type"` - // Equinix-assigned connection identifier - Uuid pulumi.StringInput `pulumi:"uuid"` +type GetPortsDatumDeviceRedundancyArgs struct { + Group pulumi.StringInput `pulumi:"group"` + Priority pulumi.StringInput `pulumi:"priority"` } -func (GetConnectionZSideServiceTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideServiceToken)(nil)).Elem() +func (GetPortsDatumDeviceRedundancyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumDeviceRedundancy)(nil)).Elem() } -func (i GetConnectionZSideServiceTokenArgs) ToGetConnectionZSideServiceTokenOutput() GetConnectionZSideServiceTokenOutput { - return i.ToGetConnectionZSideServiceTokenOutputWithContext(context.Background()) +func (i GetPortsDatumDeviceRedundancyArgs) ToGetPortsDatumDeviceRedundancyOutput() GetPortsDatumDeviceRedundancyOutput { + return i.ToGetPortsDatumDeviceRedundancyOutputWithContext(context.Background()) } -func (i GetConnectionZSideServiceTokenArgs) ToGetConnectionZSideServiceTokenOutputWithContext(ctx context.Context) GetConnectionZSideServiceTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConnectionZSideServiceTokenOutput) +func (i GetPortsDatumDeviceRedundancyArgs) ToGetPortsDatumDeviceRedundancyOutputWithContext(ctx context.Context) GetPortsDatumDeviceRedundancyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumDeviceRedundancyOutput) } -type GetConnectionZSideServiceTokenOutput struct{ *pulumi.OutputState } - -func (GetConnectionZSideServiceTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConnectionZSideServiceToken)(nil)).Elem() +func (i GetPortsDatumDeviceRedundancyArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumDeviceRedundancy] { + return pulumix.Output[GetPortsDatumDeviceRedundancy]{ + OutputState: i.ToGetPortsDatumDeviceRedundancyOutputWithContext(ctx).OutputState, + } } -func (o GetConnectionZSideServiceTokenOutput) ToGetConnectionZSideServiceTokenOutput() GetConnectionZSideServiceTokenOutput { - return o -} +// GetPortsDatumDeviceRedundancyArrayInput is an input type that accepts GetPortsDatumDeviceRedundancyArray and GetPortsDatumDeviceRedundancyArrayOutput values. +// You can construct a concrete instance of `GetPortsDatumDeviceRedundancyArrayInput` via: +// +// GetPortsDatumDeviceRedundancyArray{ GetPortsDatumDeviceRedundancyArgs{...} } +type GetPortsDatumDeviceRedundancyArrayInput interface { + pulumi.Input -func (o GetConnectionZSideServiceTokenOutput) ToGetConnectionZSideServiceTokenOutputWithContext(ctx context.Context) GetConnectionZSideServiceTokenOutput { - return o + ToGetPortsDatumDeviceRedundancyArrayOutput() GetPortsDatumDeviceRedundancyArrayOutput + ToGetPortsDatumDeviceRedundancyArrayOutputWithContext(context.Context) GetPortsDatumDeviceRedundancyArrayOutput } -// Customer-provided connection description -func (o GetConnectionZSideServiceTokenOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideServiceToken) string { return v.Description }).(pulumi.StringOutput) -} +type GetPortsDatumDeviceRedundancyArray []GetPortsDatumDeviceRedundancyInput -// Connection URI information -func (o GetConnectionZSideServiceTokenOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideServiceToken) string { return v.Href }).(pulumi.StringOutput) +func (GetPortsDatumDeviceRedundancyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumDeviceRedundancy)(nil)).Elem() } -// Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC -func (o GetConnectionZSideServiceTokenOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideServiceToken) string { return v.Type }).(pulumi.StringOutput) +func (i GetPortsDatumDeviceRedundancyArray) ToGetPortsDatumDeviceRedundancyArrayOutput() GetPortsDatumDeviceRedundancyArrayOutput { + return i.ToGetPortsDatumDeviceRedundancyArrayOutputWithContext(context.Background()) } -// Equinix-assigned connection identifier -func (o GetConnectionZSideServiceTokenOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v GetConnectionZSideServiceToken) string { return v.Uuid }).(pulumi.StringOutput) +func (i GetPortsDatumDeviceRedundancyArray) ToGetPortsDatumDeviceRedundancyArrayOutputWithContext(ctx context.Context) GetPortsDatumDeviceRedundancyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumDeviceRedundancyArrayOutput) } -type GetPortAccount struct { - AccountName string `pulumi:"accountName"` - AccountNumber int `pulumi:"accountNumber"` - GlobalCustId string `pulumi:"globalCustId"` - GlobalOrgId string `pulumi:"globalOrgId"` - GlobalOrganizationName string `pulumi:"globalOrganizationName"` - OrgId int `pulumi:"orgId"` - OrganizationName string `pulumi:"organizationName"` +func (i GetPortsDatumDeviceRedundancyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumDeviceRedundancy] { + return pulumix.Output[[]GetPortsDatumDeviceRedundancy]{ + OutputState: i.ToGetPortsDatumDeviceRedundancyArrayOutputWithContext(ctx).OutputState, + } } -// GetPortAccountInput is an input type that accepts GetPortAccountArgs and GetPortAccountOutput values. -// You can construct a concrete instance of `GetPortAccountInput` via: -// -// GetPortAccountArgs{...} -type GetPortAccountInput interface { - pulumi.Input +type GetPortsDatumDeviceRedundancyOutput struct{ *pulumi.OutputState } - ToGetPortAccountOutput() GetPortAccountOutput - ToGetPortAccountOutputWithContext(context.Context) GetPortAccountOutput +func (GetPortsDatumDeviceRedundancyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumDeviceRedundancy)(nil)).Elem() } -type GetPortAccountArgs struct { - AccountName pulumi.StringInput `pulumi:"accountName"` - AccountNumber pulumi.IntInput `pulumi:"accountNumber"` - GlobalCustId pulumi.StringInput `pulumi:"globalCustId"` - GlobalOrgId pulumi.StringInput `pulumi:"globalOrgId"` - GlobalOrganizationName pulumi.StringInput `pulumi:"globalOrganizationName"` - OrgId pulumi.IntInput `pulumi:"orgId"` - OrganizationName pulumi.StringInput `pulumi:"organizationName"` +func (o GetPortsDatumDeviceRedundancyOutput) ToGetPortsDatumDeviceRedundancyOutput() GetPortsDatumDeviceRedundancyOutput { + return o } -func (GetPortAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortAccount)(nil)).Elem() +func (o GetPortsDatumDeviceRedundancyOutput) ToGetPortsDatumDeviceRedundancyOutputWithContext(ctx context.Context) GetPortsDatumDeviceRedundancyOutput { + return o } -func (i GetPortAccountArgs) ToGetPortAccountOutput() GetPortAccountOutput { - return i.ToGetPortAccountOutputWithContext(context.Background()) +func (o GetPortsDatumDeviceRedundancyOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumDeviceRedundancy] { + return pulumix.Output[GetPortsDatumDeviceRedundancy]{ + OutputState: o.OutputState, + } } -func (i GetPortAccountArgs) ToGetPortAccountOutputWithContext(ctx context.Context) GetPortAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortAccountOutput) +func (o GetPortsDatumDeviceRedundancyOutput) Group() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumDeviceRedundancy) string { return v.Group }).(pulumi.StringOutput) } -type GetPortAccountOutput struct{ *pulumi.OutputState } +func (o GetPortsDatumDeviceRedundancyOutput) Priority() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumDeviceRedundancy) string { return v.Priority }).(pulumi.StringOutput) +} -func (GetPortAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortAccount)(nil)).Elem() +type GetPortsDatumDeviceRedundancyArrayOutput struct{ *pulumi.OutputState } + +func (GetPortsDatumDeviceRedundancyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumDeviceRedundancy)(nil)).Elem() } -func (o GetPortAccountOutput) ToGetPortAccountOutput() GetPortAccountOutput { +func (o GetPortsDatumDeviceRedundancyArrayOutput) ToGetPortsDatumDeviceRedundancyArrayOutput() GetPortsDatumDeviceRedundancyArrayOutput { return o } -func (o GetPortAccountOutput) ToGetPortAccountOutputWithContext(ctx context.Context) GetPortAccountOutput { +func (o GetPortsDatumDeviceRedundancyArrayOutput) ToGetPortsDatumDeviceRedundancyArrayOutputWithContext(ctx context.Context) GetPortsDatumDeviceRedundancyArrayOutput { return o } -func (o GetPortAccountOutput) AccountName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortAccount) string { return v.AccountName }).(pulumi.StringOutput) +func (o GetPortsDatumDeviceRedundancyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumDeviceRedundancy] { + return pulumix.Output[[]GetPortsDatumDeviceRedundancy]{ + OutputState: o.OutputState, + } } -func (o GetPortAccountOutput) AccountNumber() pulumi.IntOutput { - return o.ApplyT(func(v GetPortAccount) int { return v.AccountNumber }).(pulumi.IntOutput) +func (o GetPortsDatumDeviceRedundancyArrayOutput) Index(i pulumi.IntInput) GetPortsDatumDeviceRedundancyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumDeviceRedundancy { + return vs[0].([]GetPortsDatumDeviceRedundancy)[vs[1].(int)] + }).(GetPortsDatumDeviceRedundancyOutput) } -func (o GetPortAccountOutput) GlobalCustId() pulumi.StringOutput { - return o.ApplyT(func(v GetPortAccount) string { return v.GlobalCustId }).(pulumi.StringOutput) +type GetPortsDatumEncapsulation struct { + TagProtocolId string `pulumi:"tagProtocolId"` + Type string `pulumi:"type"` } -func (o GetPortAccountOutput) GlobalOrgId() pulumi.StringOutput { - return o.ApplyT(func(v GetPortAccount) string { return v.GlobalOrgId }).(pulumi.StringOutput) +// GetPortsDatumEncapsulationInput is an input type that accepts GetPortsDatumEncapsulationArgs and GetPortsDatumEncapsulationOutput values. +// You can construct a concrete instance of `GetPortsDatumEncapsulationInput` via: +// +// GetPortsDatumEncapsulationArgs{...} +type GetPortsDatumEncapsulationInput interface { + pulumi.Input + + ToGetPortsDatumEncapsulationOutput() GetPortsDatumEncapsulationOutput + ToGetPortsDatumEncapsulationOutputWithContext(context.Context) GetPortsDatumEncapsulationOutput } -func (o GetPortAccountOutput) GlobalOrganizationName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortAccount) string { return v.GlobalOrganizationName }).(pulumi.StringOutput) +type GetPortsDatumEncapsulationArgs struct { + TagProtocolId pulumi.StringInput `pulumi:"tagProtocolId"` + Type pulumi.StringInput `pulumi:"type"` } -func (o GetPortAccountOutput) OrgId() pulumi.IntOutput { - return o.ApplyT(func(v GetPortAccount) int { return v.OrgId }).(pulumi.IntOutput) +func (GetPortsDatumEncapsulationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumEncapsulation)(nil)).Elem() } -func (o GetPortAccountOutput) OrganizationName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortAccount) string { return v.OrganizationName }).(pulumi.StringOutput) +func (i GetPortsDatumEncapsulationArgs) ToGetPortsDatumEncapsulationOutput() GetPortsDatumEncapsulationOutput { + return i.ToGetPortsDatumEncapsulationOutputWithContext(context.Background()) } -type GetPortChangeLog struct { - CreatedBy string `pulumi:"createdBy"` - CreatedByEmail string `pulumi:"createdByEmail"` - CreatedByFullName string `pulumi:"createdByFullName"` - CreatedDateTime string `pulumi:"createdDateTime"` - DeletedBy string `pulumi:"deletedBy"` - DeletedByEmail string `pulumi:"deletedByEmail"` - DeletedByFullName string `pulumi:"deletedByFullName"` - DeletedDateTime string `pulumi:"deletedDateTime"` - UpdatedBy string `pulumi:"updatedBy"` - UpdatedByEmail string `pulumi:"updatedByEmail"` - UpdatedByFullName string `pulumi:"updatedByFullName"` - UpdatedDateTime string `pulumi:"updatedDateTime"` +func (i GetPortsDatumEncapsulationArgs) ToGetPortsDatumEncapsulationOutputWithContext(ctx context.Context) GetPortsDatumEncapsulationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumEncapsulationOutput) } -// GetPortChangeLogInput is an input type that accepts GetPortChangeLogArgs and GetPortChangeLogOutput values. -// You can construct a concrete instance of `GetPortChangeLogInput` via: +func (i GetPortsDatumEncapsulationArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumEncapsulation] { + return pulumix.Output[GetPortsDatumEncapsulation]{ + OutputState: i.ToGetPortsDatumEncapsulationOutputWithContext(ctx).OutputState, + } +} + +// GetPortsDatumEncapsulationArrayInput is an input type that accepts GetPortsDatumEncapsulationArray and GetPortsDatumEncapsulationArrayOutput values. +// You can construct a concrete instance of `GetPortsDatumEncapsulationArrayInput` via: // -// GetPortChangeLogArgs{...} -type GetPortChangeLogInput interface { +// GetPortsDatumEncapsulationArray{ GetPortsDatumEncapsulationArgs{...} } +type GetPortsDatumEncapsulationArrayInput interface { pulumi.Input - - ToGetPortChangeLogOutput() GetPortChangeLogOutput - ToGetPortChangeLogOutputWithContext(context.Context) GetPortChangeLogOutput + + ToGetPortsDatumEncapsulationArrayOutput() GetPortsDatumEncapsulationArrayOutput + ToGetPortsDatumEncapsulationArrayOutputWithContext(context.Context) GetPortsDatumEncapsulationArrayOutput } -type GetPortChangeLogArgs struct { - CreatedBy pulumi.StringInput `pulumi:"createdBy"` - CreatedByEmail pulumi.StringInput `pulumi:"createdByEmail"` - CreatedByFullName pulumi.StringInput `pulumi:"createdByFullName"` - CreatedDateTime pulumi.StringInput `pulumi:"createdDateTime"` - DeletedBy pulumi.StringInput `pulumi:"deletedBy"` - DeletedByEmail pulumi.StringInput `pulumi:"deletedByEmail"` - DeletedByFullName pulumi.StringInput `pulumi:"deletedByFullName"` - DeletedDateTime pulumi.StringInput `pulumi:"deletedDateTime"` - UpdatedBy pulumi.StringInput `pulumi:"updatedBy"` - UpdatedByEmail pulumi.StringInput `pulumi:"updatedByEmail"` - UpdatedByFullName pulumi.StringInput `pulumi:"updatedByFullName"` - UpdatedDateTime pulumi.StringInput `pulumi:"updatedDateTime"` +type GetPortsDatumEncapsulationArray []GetPortsDatumEncapsulationInput + +func (GetPortsDatumEncapsulationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumEncapsulation)(nil)).Elem() } -func (GetPortChangeLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortChangeLog)(nil)).Elem() +func (i GetPortsDatumEncapsulationArray) ToGetPortsDatumEncapsulationArrayOutput() GetPortsDatumEncapsulationArrayOutput { + return i.ToGetPortsDatumEncapsulationArrayOutputWithContext(context.Background()) } -func (i GetPortChangeLogArgs) ToGetPortChangeLogOutput() GetPortChangeLogOutput { - return i.ToGetPortChangeLogOutputWithContext(context.Background()) +func (i GetPortsDatumEncapsulationArray) ToGetPortsDatumEncapsulationArrayOutputWithContext(ctx context.Context) GetPortsDatumEncapsulationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumEncapsulationArrayOutput) } -func (i GetPortChangeLogArgs) ToGetPortChangeLogOutputWithContext(ctx context.Context) GetPortChangeLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortChangeLogOutput) +func (i GetPortsDatumEncapsulationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumEncapsulation] { + return pulumix.Output[[]GetPortsDatumEncapsulation]{ + OutputState: i.ToGetPortsDatumEncapsulationArrayOutputWithContext(ctx).OutputState, + } } -type GetPortChangeLogOutput struct{ *pulumi.OutputState } +type GetPortsDatumEncapsulationOutput struct{ *pulumi.OutputState } -func (GetPortChangeLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortChangeLog)(nil)).Elem() +func (GetPortsDatumEncapsulationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumEncapsulation)(nil)).Elem() } -func (o GetPortChangeLogOutput) ToGetPortChangeLogOutput() GetPortChangeLogOutput { +func (o GetPortsDatumEncapsulationOutput) ToGetPortsDatumEncapsulationOutput() GetPortsDatumEncapsulationOutput { return o } -func (o GetPortChangeLogOutput) ToGetPortChangeLogOutputWithContext(ctx context.Context) GetPortChangeLogOutput { +func (o GetPortsDatumEncapsulationOutput) ToGetPortsDatumEncapsulationOutputWithContext(ctx context.Context) GetPortsDatumEncapsulationOutput { return o } -func (o GetPortChangeLogOutput) CreatedBy() pulumi.StringOutput { - return o.ApplyT(func(v GetPortChangeLog) string { return v.CreatedBy }).(pulumi.StringOutput) +func (o GetPortsDatumEncapsulationOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumEncapsulation] { + return pulumix.Output[GetPortsDatumEncapsulation]{ + OutputState: o.OutputState, + } } -func (o GetPortChangeLogOutput) CreatedByEmail() pulumi.StringOutput { - return o.ApplyT(func(v GetPortChangeLog) string { return v.CreatedByEmail }).(pulumi.StringOutput) +func (o GetPortsDatumEncapsulationOutput) TagProtocolId() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumEncapsulation) string { return v.TagProtocolId }).(pulumi.StringOutput) } -func (o GetPortChangeLogOutput) CreatedByFullName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortChangeLog) string { return v.CreatedByFullName }).(pulumi.StringOutput) +func (o GetPortsDatumEncapsulationOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumEncapsulation) string { return v.Type }).(pulumi.StringOutput) } -func (o GetPortChangeLogOutput) CreatedDateTime() pulumi.StringOutput { - return o.ApplyT(func(v GetPortChangeLog) string { return v.CreatedDateTime }).(pulumi.StringOutput) +type GetPortsDatumEncapsulationArrayOutput struct{ *pulumi.OutputState } + +func (GetPortsDatumEncapsulationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumEncapsulation)(nil)).Elem() } -func (o GetPortChangeLogOutput) DeletedBy() pulumi.StringOutput { - return o.ApplyT(func(v GetPortChangeLog) string { return v.DeletedBy }).(pulumi.StringOutput) +func (o GetPortsDatumEncapsulationArrayOutput) ToGetPortsDatumEncapsulationArrayOutput() GetPortsDatumEncapsulationArrayOutput { + return o } -func (o GetPortChangeLogOutput) DeletedByEmail() pulumi.StringOutput { - return o.ApplyT(func(v GetPortChangeLog) string { return v.DeletedByEmail }).(pulumi.StringOutput) +func (o GetPortsDatumEncapsulationArrayOutput) ToGetPortsDatumEncapsulationArrayOutputWithContext(ctx context.Context) GetPortsDatumEncapsulationArrayOutput { + return o } -func (o GetPortChangeLogOutput) DeletedByFullName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortChangeLog) string { return v.DeletedByFullName }).(pulumi.StringOutput) +func (o GetPortsDatumEncapsulationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumEncapsulation] { + return pulumix.Output[[]GetPortsDatumEncapsulation]{ + OutputState: o.OutputState, + } } -func (o GetPortChangeLogOutput) DeletedDateTime() pulumi.StringOutput { - return o.ApplyT(func(v GetPortChangeLog) string { return v.DeletedDateTime }).(pulumi.StringOutput) +func (o GetPortsDatumEncapsulationArrayOutput) Index(i pulumi.IntInput) GetPortsDatumEncapsulationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumEncapsulation { + return vs[0].([]GetPortsDatumEncapsulation)[vs[1].(int)] + }).(GetPortsDatumEncapsulationOutput) } -func (o GetPortChangeLogOutput) UpdatedBy() pulumi.StringOutput { - return o.ApplyT(func(v GetPortChangeLog) string { return v.UpdatedBy }).(pulumi.StringOutput) +type GetPortsDatumLocation struct { + Href string `pulumi:"href"` + Ibx string `pulumi:"ibx"` + MetroCode string `pulumi:"metroCode"` + MetroName string `pulumi:"metroName"` + Region string `pulumi:"region"` } -func (o GetPortChangeLogOutput) UpdatedByEmail() pulumi.StringOutput { - return o.ApplyT(func(v GetPortChangeLog) string { return v.UpdatedByEmail }).(pulumi.StringOutput) +// GetPortsDatumLocationInput is an input type that accepts GetPortsDatumLocationArgs and GetPortsDatumLocationOutput values. +// You can construct a concrete instance of `GetPortsDatumLocationInput` via: +// +// GetPortsDatumLocationArgs{...} +type GetPortsDatumLocationInput interface { + pulumi.Input + + ToGetPortsDatumLocationOutput() GetPortsDatumLocationOutput + ToGetPortsDatumLocationOutputWithContext(context.Context) GetPortsDatumLocationOutput } -func (o GetPortChangeLogOutput) UpdatedByFullName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortChangeLog) string { return v.UpdatedByFullName }).(pulumi.StringOutput) +type GetPortsDatumLocationArgs struct { + Href pulumi.StringInput `pulumi:"href"` + Ibx pulumi.StringInput `pulumi:"ibx"` + MetroCode pulumi.StringInput `pulumi:"metroCode"` + MetroName pulumi.StringInput `pulumi:"metroName"` + Region pulumi.StringInput `pulumi:"region"` } -func (o GetPortChangeLogOutput) UpdatedDateTime() pulumi.StringOutput { - return o.ApplyT(func(v GetPortChangeLog) string { return v.UpdatedDateTime }).(pulumi.StringOutput) +func (GetPortsDatumLocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumLocation)(nil)).Elem() } -type GetPortDevice struct { - // Port name - Name string `pulumi:"name"` - // Port redundancy information - Redundancies []GetPortDeviceRedundancy `pulumi:"redundancies"` +func (i GetPortsDatumLocationArgs) ToGetPortsDatumLocationOutput() GetPortsDatumLocationOutput { + return i.ToGetPortsDatumLocationOutputWithContext(context.Background()) } -// GetPortDeviceInput is an input type that accepts GetPortDeviceArgs and GetPortDeviceOutput values. -// You can construct a concrete instance of `GetPortDeviceInput` via: +func (i GetPortsDatumLocationArgs) ToGetPortsDatumLocationOutputWithContext(ctx context.Context) GetPortsDatumLocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumLocationOutput) +} + +func (i GetPortsDatumLocationArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumLocation] { + return pulumix.Output[GetPortsDatumLocation]{ + OutputState: i.ToGetPortsDatumLocationOutputWithContext(ctx).OutputState, + } +} + +// GetPortsDatumLocationArrayInput is an input type that accepts GetPortsDatumLocationArray and GetPortsDatumLocationArrayOutput values. +// You can construct a concrete instance of `GetPortsDatumLocationArrayInput` via: // -// GetPortDeviceArgs{...} -type GetPortDeviceInput interface { +// GetPortsDatumLocationArray{ GetPortsDatumLocationArgs{...} } +type GetPortsDatumLocationArrayInput interface { pulumi.Input - ToGetPortDeviceOutput() GetPortDeviceOutput - ToGetPortDeviceOutputWithContext(context.Context) GetPortDeviceOutput + ToGetPortsDatumLocationArrayOutput() GetPortsDatumLocationArrayOutput + ToGetPortsDatumLocationArrayOutputWithContext(context.Context) GetPortsDatumLocationArrayOutput } -type GetPortDeviceArgs struct { - // Port name - Name pulumi.StringInput `pulumi:"name"` - // Port redundancy information - Redundancies GetPortDeviceRedundancyArrayInput `pulumi:"redundancies"` +type GetPortsDatumLocationArray []GetPortsDatumLocationInput + +func (GetPortsDatumLocationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumLocation)(nil)).Elem() } -func (GetPortDeviceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortDevice)(nil)).Elem() +func (i GetPortsDatumLocationArray) ToGetPortsDatumLocationArrayOutput() GetPortsDatumLocationArrayOutput { + return i.ToGetPortsDatumLocationArrayOutputWithContext(context.Background()) } -func (i GetPortDeviceArgs) ToGetPortDeviceOutput() GetPortDeviceOutput { - return i.ToGetPortDeviceOutputWithContext(context.Background()) +func (i GetPortsDatumLocationArray) ToGetPortsDatumLocationArrayOutputWithContext(ctx context.Context) GetPortsDatumLocationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumLocationArrayOutput) } -func (i GetPortDeviceArgs) ToGetPortDeviceOutputWithContext(ctx context.Context) GetPortDeviceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortDeviceOutput) +func (i GetPortsDatumLocationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumLocation] { + return pulumix.Output[[]GetPortsDatumLocation]{ + OutputState: i.ToGetPortsDatumLocationArrayOutputWithContext(ctx).OutputState, + } } -type GetPortDeviceOutput struct{ *pulumi.OutputState } +type GetPortsDatumLocationOutput struct{ *pulumi.OutputState } -func (GetPortDeviceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortDevice)(nil)).Elem() +func (GetPortsDatumLocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumLocation)(nil)).Elem() } -func (o GetPortDeviceOutput) ToGetPortDeviceOutput() GetPortDeviceOutput { +func (o GetPortsDatumLocationOutput) ToGetPortsDatumLocationOutput() GetPortsDatumLocationOutput { return o } -func (o GetPortDeviceOutput) ToGetPortDeviceOutputWithContext(ctx context.Context) GetPortDeviceOutput { +func (o GetPortsDatumLocationOutput) ToGetPortsDatumLocationOutputWithContext(ctx context.Context) GetPortsDatumLocationOutput { return o } -// Port name -func (o GetPortDeviceOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetPortDevice) string { return v.Name }).(pulumi.StringOutput) +func (o GetPortsDatumLocationOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumLocation] { + return pulumix.Output[GetPortsDatumLocation]{ + OutputState: o.OutputState, + } } -// Port redundancy information -func (o GetPortDeviceOutput) Redundancies() GetPortDeviceRedundancyArrayOutput { - return o.ApplyT(func(v GetPortDevice) []GetPortDeviceRedundancy { return v.Redundancies }).(GetPortDeviceRedundancyArrayOutput) +func (o GetPortsDatumLocationOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumLocation) string { return v.Href }).(pulumi.StringOutput) } -type GetPortDeviceRedundancy struct { - Group string `pulumi:"group"` - Priority string `pulumi:"priority"` +func (o GetPortsDatumLocationOutput) Ibx() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumLocation) string { return v.Ibx }).(pulumi.StringOutput) } -// GetPortDeviceRedundancyInput is an input type that accepts GetPortDeviceRedundancyArgs and GetPortDeviceRedundancyOutput values. -// You can construct a concrete instance of `GetPortDeviceRedundancyInput` via: -// -// GetPortDeviceRedundancyArgs{...} -type GetPortDeviceRedundancyInput interface { - pulumi.Input +func (o GetPortsDatumLocationOutput) MetroCode() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumLocation) string { return v.MetroCode }).(pulumi.StringOutput) +} - ToGetPortDeviceRedundancyOutput() GetPortDeviceRedundancyOutput - ToGetPortDeviceRedundancyOutputWithContext(context.Context) GetPortDeviceRedundancyOutput +func (o GetPortsDatumLocationOutput) MetroName() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumLocation) string { return v.MetroName }).(pulumi.StringOutput) } -type GetPortDeviceRedundancyArgs struct { - Group pulumi.StringInput `pulumi:"group"` - Priority pulumi.StringInput `pulumi:"priority"` +func (o GetPortsDatumLocationOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumLocation) string { return v.Region }).(pulumi.StringOutput) } -func (GetPortDeviceRedundancyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortDeviceRedundancy)(nil)).Elem() +type GetPortsDatumLocationArrayOutput struct{ *pulumi.OutputState } + +func (GetPortsDatumLocationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumLocation)(nil)).Elem() } -func (i GetPortDeviceRedundancyArgs) ToGetPortDeviceRedundancyOutput() GetPortDeviceRedundancyOutput { - return i.ToGetPortDeviceRedundancyOutputWithContext(context.Background()) +func (o GetPortsDatumLocationArrayOutput) ToGetPortsDatumLocationArrayOutput() GetPortsDatumLocationArrayOutput { + return o } -func (i GetPortDeviceRedundancyArgs) ToGetPortDeviceRedundancyOutputWithContext(ctx context.Context) GetPortDeviceRedundancyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortDeviceRedundancyOutput) +func (o GetPortsDatumLocationArrayOutput) ToGetPortsDatumLocationArrayOutputWithContext(ctx context.Context) GetPortsDatumLocationArrayOutput { + return o } -// GetPortDeviceRedundancyArrayInput is an input type that accepts GetPortDeviceRedundancyArray and GetPortDeviceRedundancyArrayOutput values. -// You can construct a concrete instance of `GetPortDeviceRedundancyArrayInput` via: +func (o GetPortsDatumLocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumLocation] { + return pulumix.Output[[]GetPortsDatumLocation]{ + OutputState: o.OutputState, + } +} + +func (o GetPortsDatumLocationArrayOutput) Index(i pulumi.IntInput) GetPortsDatumLocationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumLocation { + return vs[0].([]GetPortsDatumLocation)[vs[1].(int)] + }).(GetPortsDatumLocationOutput) +} + +type GetPortsDatumOperation struct { + ConnectionCount int `pulumi:"connectionCount"` + OpStatusChangedAt string `pulumi:"opStatusChangedAt"` + OperationalStatus string `pulumi:"operationalStatus"` +} + +// GetPortsDatumOperationInput is an input type that accepts GetPortsDatumOperationArgs and GetPortsDatumOperationOutput values. +// You can construct a concrete instance of `GetPortsDatumOperationInput` via: // -// GetPortDeviceRedundancyArray{ GetPortDeviceRedundancyArgs{...} } -type GetPortDeviceRedundancyArrayInput interface { +// GetPortsDatumOperationArgs{...} +type GetPortsDatumOperationInput interface { pulumi.Input - ToGetPortDeviceRedundancyArrayOutput() GetPortDeviceRedundancyArrayOutput - ToGetPortDeviceRedundancyArrayOutputWithContext(context.Context) GetPortDeviceRedundancyArrayOutput + ToGetPortsDatumOperationOutput() GetPortsDatumOperationOutput + ToGetPortsDatumOperationOutputWithContext(context.Context) GetPortsDatumOperationOutput } -type GetPortDeviceRedundancyArray []GetPortDeviceRedundancyInput - -func (GetPortDeviceRedundancyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortDeviceRedundancy)(nil)).Elem() +type GetPortsDatumOperationArgs struct { + ConnectionCount pulumi.IntInput `pulumi:"connectionCount"` + OpStatusChangedAt pulumi.StringInput `pulumi:"opStatusChangedAt"` + OperationalStatus pulumi.StringInput `pulumi:"operationalStatus"` } -func (i GetPortDeviceRedundancyArray) ToGetPortDeviceRedundancyArrayOutput() GetPortDeviceRedundancyArrayOutput { - return i.ToGetPortDeviceRedundancyArrayOutputWithContext(context.Background()) +func (GetPortsDatumOperationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumOperation)(nil)).Elem() } -func (i GetPortDeviceRedundancyArray) ToGetPortDeviceRedundancyArrayOutputWithContext(ctx context.Context) GetPortDeviceRedundancyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortDeviceRedundancyArrayOutput) +func (i GetPortsDatumOperationArgs) ToGetPortsDatumOperationOutput() GetPortsDatumOperationOutput { + return i.ToGetPortsDatumOperationOutputWithContext(context.Background()) } -type GetPortDeviceRedundancyOutput struct{ *pulumi.OutputState } +func (i GetPortsDatumOperationArgs) ToGetPortsDatumOperationOutputWithContext(ctx context.Context) GetPortsDatumOperationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumOperationOutput) +} -func (GetPortDeviceRedundancyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortDeviceRedundancy)(nil)).Elem() +func (i GetPortsDatumOperationArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumOperation] { + return pulumix.Output[GetPortsDatumOperation]{ + OutputState: i.ToGetPortsDatumOperationOutputWithContext(ctx).OutputState, + } } -func (o GetPortDeviceRedundancyOutput) ToGetPortDeviceRedundancyOutput() GetPortDeviceRedundancyOutput { - return o +// GetPortsDatumOperationArrayInput is an input type that accepts GetPortsDatumOperationArray and GetPortsDatumOperationArrayOutput values. +// You can construct a concrete instance of `GetPortsDatumOperationArrayInput` via: +// +// GetPortsDatumOperationArray{ GetPortsDatumOperationArgs{...} } +type GetPortsDatumOperationArrayInput interface { + pulumi.Input + + ToGetPortsDatumOperationArrayOutput() GetPortsDatumOperationArrayOutput + ToGetPortsDatumOperationArrayOutputWithContext(context.Context) GetPortsDatumOperationArrayOutput } -func (o GetPortDeviceRedundancyOutput) ToGetPortDeviceRedundancyOutputWithContext(ctx context.Context) GetPortDeviceRedundancyOutput { - return o -} +type GetPortsDatumOperationArray []GetPortsDatumOperationInput -func (o GetPortDeviceRedundancyOutput) Group() pulumi.StringOutput { - return o.ApplyT(func(v GetPortDeviceRedundancy) string { return v.Group }).(pulumi.StringOutput) +func (GetPortsDatumOperationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumOperation)(nil)).Elem() } -func (o GetPortDeviceRedundancyOutput) Priority() pulumi.StringOutput { - return o.ApplyT(func(v GetPortDeviceRedundancy) string { return v.Priority }).(pulumi.StringOutput) +func (i GetPortsDatumOperationArray) ToGetPortsDatumOperationArrayOutput() GetPortsDatumOperationArrayOutput { + return i.ToGetPortsDatumOperationArrayOutputWithContext(context.Background()) } -type GetPortDeviceRedundancyArrayOutput struct{ *pulumi.OutputState } - -func (GetPortDeviceRedundancyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortDeviceRedundancy)(nil)).Elem() +func (i GetPortsDatumOperationArray) ToGetPortsDatumOperationArrayOutputWithContext(ctx context.Context) GetPortsDatumOperationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumOperationArrayOutput) } -func (o GetPortDeviceRedundancyArrayOutput) ToGetPortDeviceRedundancyArrayOutput() GetPortDeviceRedundancyArrayOutput { - return o +func (i GetPortsDatumOperationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumOperation] { + return pulumix.Output[[]GetPortsDatumOperation]{ + OutputState: i.ToGetPortsDatumOperationArrayOutputWithContext(ctx).OutputState, + } } -func (o GetPortDeviceRedundancyArrayOutput) ToGetPortDeviceRedundancyArrayOutputWithContext(ctx context.Context) GetPortDeviceRedundancyArrayOutput { - return o -} +type GetPortsDatumOperationOutput struct{ *pulumi.OutputState } -func (o GetPortDeviceRedundancyArrayOutput) Index(i pulumi.IntInput) GetPortDeviceRedundancyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortDeviceRedundancy { - return vs[0].([]GetPortDeviceRedundancy)[vs[1].(int)] - }).(GetPortDeviceRedundancyOutput) +func (GetPortsDatumOperationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumOperation)(nil)).Elem() } -type GetPortEncapsulation struct { - TagProtocolId string `pulumi:"tagProtocolId"` - // Port type - Type string `pulumi:"type"` +func (o GetPortsDatumOperationOutput) ToGetPortsDatumOperationOutput() GetPortsDatumOperationOutput { + return o } -// GetPortEncapsulationInput is an input type that accepts GetPortEncapsulationArgs and GetPortEncapsulationOutput values. -// You can construct a concrete instance of `GetPortEncapsulationInput` via: -// -// GetPortEncapsulationArgs{...} -type GetPortEncapsulationInput interface { - pulumi.Input - - ToGetPortEncapsulationOutput() GetPortEncapsulationOutput - ToGetPortEncapsulationOutputWithContext(context.Context) GetPortEncapsulationOutput +func (o GetPortsDatumOperationOutput) ToGetPortsDatumOperationOutputWithContext(ctx context.Context) GetPortsDatumOperationOutput { + return o } -type GetPortEncapsulationArgs struct { - TagProtocolId pulumi.StringInput `pulumi:"tagProtocolId"` - // Port type - Type pulumi.StringInput `pulumi:"type"` +func (o GetPortsDatumOperationOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumOperation] { + return pulumix.Output[GetPortsDatumOperation]{ + OutputState: o.OutputState, + } } -func (GetPortEncapsulationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortEncapsulation)(nil)).Elem() +func (o GetPortsDatumOperationOutput) ConnectionCount() pulumi.IntOutput { + return o.ApplyT(func(v GetPortsDatumOperation) int { return v.ConnectionCount }).(pulumi.IntOutput) } -func (i GetPortEncapsulationArgs) ToGetPortEncapsulationOutput() GetPortEncapsulationOutput { - return i.ToGetPortEncapsulationOutputWithContext(context.Background()) +func (o GetPortsDatumOperationOutput) OpStatusChangedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumOperation) string { return v.OpStatusChangedAt }).(pulumi.StringOutput) } -func (i GetPortEncapsulationArgs) ToGetPortEncapsulationOutputWithContext(ctx context.Context) GetPortEncapsulationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortEncapsulationOutput) +func (o GetPortsDatumOperationOutput) OperationalStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumOperation) string { return v.OperationalStatus }).(pulumi.StringOutput) } -type GetPortEncapsulationOutput struct{ *pulumi.OutputState } +type GetPortsDatumOperationArrayOutput struct{ *pulumi.OutputState } -func (GetPortEncapsulationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortEncapsulation)(nil)).Elem() +func (GetPortsDatumOperationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumOperation)(nil)).Elem() } -func (o GetPortEncapsulationOutput) ToGetPortEncapsulationOutput() GetPortEncapsulationOutput { +func (o GetPortsDatumOperationArrayOutput) ToGetPortsDatumOperationArrayOutput() GetPortsDatumOperationArrayOutput { return o } -func (o GetPortEncapsulationOutput) ToGetPortEncapsulationOutputWithContext(ctx context.Context) GetPortEncapsulationOutput { +func (o GetPortsDatumOperationArrayOutput) ToGetPortsDatumOperationArrayOutputWithContext(ctx context.Context) GetPortsDatumOperationArrayOutput { return o } -func (o GetPortEncapsulationOutput) TagProtocolId() pulumi.StringOutput { - return o.ApplyT(func(v GetPortEncapsulation) string { return v.TagProtocolId }).(pulumi.StringOutput) +func (o GetPortsDatumOperationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumOperation] { + return pulumix.Output[[]GetPortsDatumOperation]{ + OutputState: o.OutputState, + } } -// Port type -func (o GetPortEncapsulationOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetPortEncapsulation) string { return v.Type }).(pulumi.StringOutput) +func (o GetPortsDatumOperationArrayOutput) Index(i pulumi.IntInput) GetPortsDatumOperationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumOperation { + return vs[0].([]GetPortsDatumOperation)[vs[1].(int)] + }).(GetPortsDatumOperationOutput) } -type GetPortLag struct { - Enabled bool `pulumi:"enabled"` - // The ID of this resource. - Id string `pulumi:"id"` - MemberStatus string `pulumi:"memberStatus"` - // Port name - Name string `pulumi:"name"` +type GetPortsDatumRedundancy struct { + Enabled bool `pulumi:"enabled"` + Group string `pulumi:"group"` + Priority string `pulumi:"priority"` } -// GetPortLagInput is an input type that accepts GetPortLagArgs and GetPortLagOutput values. -// You can construct a concrete instance of `GetPortLagInput` via: +// GetPortsDatumRedundancyInput is an input type that accepts GetPortsDatumRedundancyArgs and GetPortsDatumRedundancyOutput values. +// You can construct a concrete instance of `GetPortsDatumRedundancyInput` via: // -// GetPortLagArgs{...} -type GetPortLagInput interface { +// GetPortsDatumRedundancyArgs{...} +type GetPortsDatumRedundancyInput interface { pulumi.Input - ToGetPortLagOutput() GetPortLagOutput - ToGetPortLagOutputWithContext(context.Context) GetPortLagOutput + ToGetPortsDatumRedundancyOutput() GetPortsDatumRedundancyOutput + ToGetPortsDatumRedundancyOutputWithContext(context.Context) GetPortsDatumRedundancyOutput } -type GetPortLagArgs struct { - Enabled pulumi.BoolInput `pulumi:"enabled"` - // The ID of this resource. - Id pulumi.StringInput `pulumi:"id"` - MemberStatus pulumi.StringInput `pulumi:"memberStatus"` - // Port name - Name pulumi.StringInput `pulumi:"name"` +type GetPortsDatumRedundancyArgs struct { + Enabled pulumi.BoolInput `pulumi:"enabled"` + Group pulumi.StringInput `pulumi:"group"` + Priority pulumi.StringInput `pulumi:"priority"` } -func (GetPortLagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortLag)(nil)).Elem() +func (GetPortsDatumRedundancyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumRedundancy)(nil)).Elem() } -func (i GetPortLagArgs) ToGetPortLagOutput() GetPortLagOutput { - return i.ToGetPortLagOutputWithContext(context.Background()) +func (i GetPortsDatumRedundancyArgs) ToGetPortsDatumRedundancyOutput() GetPortsDatumRedundancyOutput { + return i.ToGetPortsDatumRedundancyOutputWithContext(context.Background()) } -func (i GetPortLagArgs) ToGetPortLagOutputWithContext(ctx context.Context) GetPortLagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortLagOutput) +func (i GetPortsDatumRedundancyArgs) ToGetPortsDatumRedundancyOutputWithContext(ctx context.Context) GetPortsDatumRedundancyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumRedundancyOutput) } -type GetPortLagOutput struct{ *pulumi.OutputState } - -func (GetPortLagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortLag)(nil)).Elem() +func (i GetPortsDatumRedundancyArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumRedundancy] { + return pulumix.Output[GetPortsDatumRedundancy]{ + OutputState: i.ToGetPortsDatumRedundancyOutputWithContext(ctx).OutputState, + } } -func (o GetPortLagOutput) ToGetPortLagOutput() GetPortLagOutput { - return o -} +// GetPortsDatumRedundancyArrayInput is an input type that accepts GetPortsDatumRedundancyArray and GetPortsDatumRedundancyArrayOutput values. +// You can construct a concrete instance of `GetPortsDatumRedundancyArrayInput` via: +// +// GetPortsDatumRedundancyArray{ GetPortsDatumRedundancyArgs{...} } +type GetPortsDatumRedundancyArrayInput interface { + pulumi.Input -func (o GetPortLagOutput) ToGetPortLagOutputWithContext(ctx context.Context) GetPortLagOutput { - return o + ToGetPortsDatumRedundancyArrayOutput() GetPortsDatumRedundancyArrayOutput + ToGetPortsDatumRedundancyArrayOutputWithContext(context.Context) GetPortsDatumRedundancyArrayOutput } -func (o GetPortLagOutput) Enabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetPortLag) bool { return v.Enabled }).(pulumi.BoolOutput) +type GetPortsDatumRedundancyArray []GetPortsDatumRedundancyInput + +func (GetPortsDatumRedundancyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumRedundancy)(nil)).Elem() } -// The ID of this resource. -func (o GetPortLagOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetPortLag) string { return v.Id }).(pulumi.StringOutput) +func (i GetPortsDatumRedundancyArray) ToGetPortsDatumRedundancyArrayOutput() GetPortsDatumRedundancyArrayOutput { + return i.ToGetPortsDatumRedundancyArrayOutputWithContext(context.Background()) } -func (o GetPortLagOutput) MemberStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetPortLag) string { return v.MemberStatus }).(pulumi.StringOutput) +func (i GetPortsDatumRedundancyArray) ToGetPortsDatumRedundancyArrayOutputWithContext(ctx context.Context) GetPortsDatumRedundancyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumRedundancyArrayOutput) } -// Port name -func (o GetPortLagOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetPortLag) string { return v.Name }).(pulumi.StringOutput) +func (i GetPortsDatumRedundancyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumRedundancy] { + return pulumix.Output[[]GetPortsDatumRedundancy]{ + OutputState: i.ToGetPortsDatumRedundancyArrayOutputWithContext(ctx).OutputState, + } } -type GetPortLocation struct { - // Port URI information - Href string `pulumi:"href"` - Ibx string `pulumi:"ibx"` - MetroCode string `pulumi:"metroCode"` - MetroName string `pulumi:"metroName"` - Region string `pulumi:"region"` +type GetPortsDatumRedundancyOutput struct{ *pulumi.OutputState } + +func (GetPortsDatumRedundancyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsDatumRedundancy)(nil)).Elem() } -// GetPortLocationInput is an input type that accepts GetPortLocationArgs and GetPortLocationOutput values. -// You can construct a concrete instance of `GetPortLocationInput` via: -// -// GetPortLocationArgs{...} -type GetPortLocationInput interface { - pulumi.Input +func (o GetPortsDatumRedundancyOutput) ToGetPortsDatumRedundancyOutput() GetPortsDatumRedundancyOutput { + return o +} - ToGetPortLocationOutput() GetPortLocationOutput - ToGetPortLocationOutputWithContext(context.Context) GetPortLocationOutput +func (o GetPortsDatumRedundancyOutput) ToGetPortsDatumRedundancyOutputWithContext(ctx context.Context) GetPortsDatumRedundancyOutput { + return o } -type GetPortLocationArgs struct { - // Port URI information - Href pulumi.StringInput `pulumi:"href"` - Ibx pulumi.StringInput `pulumi:"ibx"` - MetroCode pulumi.StringInput `pulumi:"metroCode"` - MetroName pulumi.StringInput `pulumi:"metroName"` - Region pulumi.StringInput `pulumi:"region"` +func (o GetPortsDatumRedundancyOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortsDatumRedundancy] { + return pulumix.Output[GetPortsDatumRedundancy]{ + OutputState: o.OutputState, + } } -func (GetPortLocationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortLocation)(nil)).Elem() +func (o GetPortsDatumRedundancyOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetPortsDatumRedundancy) bool { return v.Enabled }).(pulumi.BoolOutput) } -func (i GetPortLocationArgs) ToGetPortLocationOutput() GetPortLocationOutput { - return i.ToGetPortLocationOutputWithContext(context.Background()) +func (o GetPortsDatumRedundancyOutput) Group() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumRedundancy) string { return v.Group }).(pulumi.StringOutput) } -func (i GetPortLocationArgs) ToGetPortLocationOutputWithContext(ctx context.Context) GetPortLocationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortLocationOutput) +func (o GetPortsDatumRedundancyOutput) Priority() pulumi.StringOutput { + return o.ApplyT(func(v GetPortsDatumRedundancy) string { return v.Priority }).(pulumi.StringOutput) } -type GetPortLocationOutput struct{ *pulumi.OutputState } +type GetPortsDatumRedundancyArrayOutput struct{ *pulumi.OutputState } -func (GetPortLocationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortLocation)(nil)).Elem() +func (GetPortsDatumRedundancyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPortsDatumRedundancy)(nil)).Elem() } -func (o GetPortLocationOutput) ToGetPortLocationOutput() GetPortLocationOutput { +func (o GetPortsDatumRedundancyArrayOutput) ToGetPortsDatumRedundancyArrayOutput() GetPortsDatumRedundancyArrayOutput { return o } -func (o GetPortLocationOutput) ToGetPortLocationOutputWithContext(ctx context.Context) GetPortLocationOutput { +func (o GetPortsDatumRedundancyArrayOutput) ToGetPortsDatumRedundancyArrayOutputWithContext(ctx context.Context) GetPortsDatumRedundancyArrayOutput { return o } -// Port URI information -func (o GetPortLocationOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetPortLocation) string { return v.Href }).(pulumi.StringOutput) +func (o GetPortsDatumRedundancyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPortsDatumRedundancy] { + return pulumix.Output[[]GetPortsDatumRedundancy]{ + OutputState: o.OutputState, + } } -func (o GetPortLocationOutput) Ibx() pulumi.StringOutput { - return o.ApplyT(func(v GetPortLocation) string { return v.Ibx }).(pulumi.StringOutput) +func (o GetPortsDatumRedundancyArrayOutput) Index(i pulumi.IntInput) GetPortsDatumRedundancyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumRedundancy { + return vs[0].([]GetPortsDatumRedundancy)[vs[1].(int)] + }).(GetPortsDatumRedundancyOutput) } -func (o GetPortLocationOutput) MetroCode() pulumi.StringOutput { - return o.ApplyT(func(v GetPortLocation) string { return v.MetroCode }).(pulumi.StringOutput) +type GetPortsFilter struct { + // Query Parameter to Get Ports By Name + Name *string `pulumi:"name"` } -func (o GetPortLocationOutput) MetroName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortLocation) string { return v.MetroName }).(pulumi.StringOutput) -} +// GetPortsFilterInput is an input type that accepts GetPortsFilterArgs and GetPortsFilterOutput values. +// You can construct a concrete instance of `GetPortsFilterInput` via: +// +// GetPortsFilterArgs{...} +type GetPortsFilterInput interface { + pulumi.Input -func (o GetPortLocationOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetPortLocation) string { return v.Region }).(pulumi.StringOutput) + ToGetPortsFilterOutput() GetPortsFilterOutput + ToGetPortsFilterOutputWithContext(context.Context) GetPortsFilterOutput } -type GetPortOperation struct { - ConnectionCount int `pulumi:"connectionCount"` - OpStatusChangedAt string `pulumi:"opStatusChangedAt"` - OperationalStatus string `pulumi:"operationalStatus"` +type GetPortsFilterArgs struct { + // Query Parameter to Get Ports By Name + Name pulumi.StringPtrInput `pulumi:"name"` } -// GetPortOperationInput is an input type that accepts GetPortOperationArgs and GetPortOperationOutput values. -// You can construct a concrete instance of `GetPortOperationInput` via: -// -// GetPortOperationArgs{...} -type GetPortOperationInput interface { - pulumi.Input +func (GetPortsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsFilter)(nil)).Elem() +} - ToGetPortOperationOutput() GetPortOperationOutput - ToGetPortOperationOutputWithContext(context.Context) GetPortOperationOutput +func (i GetPortsFilterArgs) ToGetPortsFilterOutput() GetPortsFilterOutput { + return i.ToGetPortsFilterOutputWithContext(context.Background()) } -type GetPortOperationArgs struct { - ConnectionCount pulumi.IntInput `pulumi:"connectionCount"` - OpStatusChangedAt pulumi.StringInput `pulumi:"opStatusChangedAt"` - OperationalStatus pulumi.StringInput `pulumi:"operationalStatus"` +func (i GetPortsFilterArgs) ToGetPortsFilterOutputWithContext(ctx context.Context) GetPortsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsFilterOutput) } -func (GetPortOperationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortOperation)(nil)).Elem() +func (i GetPortsFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetPortsFilter] { + return pulumix.Output[GetPortsFilter]{ + OutputState: i.ToGetPortsFilterOutputWithContext(ctx).OutputState, + } } -func (i GetPortOperationArgs) ToGetPortOperationOutput() GetPortOperationOutput { - return i.ToGetPortOperationOutputWithContext(context.Background()) +func (i GetPortsFilterArgs) ToGetPortsFilterPtrOutput() GetPortsFilterPtrOutput { + return i.ToGetPortsFilterPtrOutputWithContext(context.Background()) } -func (i GetPortOperationArgs) ToGetPortOperationOutputWithContext(ctx context.Context) GetPortOperationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortOperationOutput) +func (i GetPortsFilterArgs) ToGetPortsFilterPtrOutputWithContext(ctx context.Context) GetPortsFilterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsFilterOutput).ToGetPortsFilterPtrOutputWithContext(ctx) } -type GetPortOperationOutput struct{ *pulumi.OutputState } +// GetPortsFilterPtrInput is an input type that accepts GetPortsFilterArgs, GetPortsFilterPtr and GetPortsFilterPtrOutput values. +// You can construct a concrete instance of `GetPortsFilterPtrInput` via: +// +// GetPortsFilterArgs{...} +// +// or: +// +// nil +type GetPortsFilterPtrInput interface { + pulumi.Input -func (GetPortOperationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortOperation)(nil)).Elem() + ToGetPortsFilterPtrOutput() GetPortsFilterPtrOutput + ToGetPortsFilterPtrOutputWithContext(context.Context) GetPortsFilterPtrOutput } -func (o GetPortOperationOutput) ToGetPortOperationOutput() GetPortOperationOutput { - return o +type getPortsFilterPtrType GetPortsFilterArgs + +func GetPortsFilterPtr(v *GetPortsFilterArgs) GetPortsFilterPtrInput { + return (*getPortsFilterPtrType)(v) } -func (o GetPortOperationOutput) ToGetPortOperationOutputWithContext(ctx context.Context) GetPortOperationOutput { - return o +func (*getPortsFilterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetPortsFilter)(nil)).Elem() } -func (o GetPortOperationOutput) ConnectionCount() pulumi.IntOutput { - return o.ApplyT(func(v GetPortOperation) int { return v.ConnectionCount }).(pulumi.IntOutput) +func (i *getPortsFilterPtrType) ToGetPortsFilterPtrOutput() GetPortsFilterPtrOutput { + return i.ToGetPortsFilterPtrOutputWithContext(context.Background()) } -func (o GetPortOperationOutput) OpStatusChangedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetPortOperation) string { return v.OpStatusChangedAt }).(pulumi.StringOutput) +func (i *getPortsFilterPtrType) ToGetPortsFilterPtrOutputWithContext(ctx context.Context) GetPortsFilterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPortsFilterPtrOutput) } -func (o GetPortOperationOutput) OperationalStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetPortOperation) string { return v.OperationalStatus }).(pulumi.StringOutput) +func (i *getPortsFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*GetPortsFilter] { + return pulumix.Output[*GetPortsFilter]{ + OutputState: i.ToGetPortsFilterPtrOutputWithContext(ctx).OutputState, + } } -type GetPortRedundancy struct { - Enabled bool `pulumi:"enabled"` - Group int `pulumi:"group"` - Priority string `pulumi:"priority"` +type GetPortsFilterOutput struct{ *pulumi.OutputState } + +func (GetPortsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPortsFilter)(nil)).Elem() } -// GetPortRedundancyInput is an input type that accepts GetPortRedundancyArgs and GetPortRedundancyOutput values. -// You can construct a concrete instance of `GetPortRedundancyInput` via: -// -// GetPortRedundancyArgs{...} -type GetPortRedundancyInput interface { - pulumi.Input +func (o GetPortsFilterOutput) ToGetPortsFilterOutput() GetPortsFilterOutput { + return o +} - ToGetPortRedundancyOutput() GetPortRedundancyOutput - ToGetPortRedundancyOutputWithContext(context.Context) GetPortRedundancyOutput +func (o GetPortsFilterOutput) ToGetPortsFilterOutputWithContext(ctx context.Context) GetPortsFilterOutput { + return o } -type GetPortRedundancyArgs struct { - Enabled pulumi.BoolInput `pulumi:"enabled"` - Group pulumi.IntInput `pulumi:"group"` - Priority pulumi.StringInput `pulumi:"priority"` +func (o GetPortsFilterOutput) ToGetPortsFilterPtrOutput() GetPortsFilterPtrOutput { + return o.ToGetPortsFilterPtrOutputWithContext(context.Background()) } -func (GetPortRedundancyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortRedundancy)(nil)).Elem() +func (o GetPortsFilterOutput) ToGetPortsFilterPtrOutputWithContext(ctx context.Context) GetPortsFilterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPortsFilter) *GetPortsFilter { + return &v + }).(GetPortsFilterPtrOutput) } -func (i GetPortRedundancyArgs) ToGetPortRedundancyOutput() GetPortRedundancyOutput { - return i.ToGetPortRedundancyOutputWithContext(context.Background()) +func (o GetPortsFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetPortsFilter] { + return pulumix.Output[GetPortsFilter]{ + OutputState: o.OutputState, + } } -func (i GetPortRedundancyArgs) ToGetPortRedundancyOutputWithContext(ctx context.Context) GetPortRedundancyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortRedundancyOutput) +// Query Parameter to Get Ports By Name +func (o GetPortsFilterOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPortsFilter) *string { return v.Name }).(pulumi.StringPtrOutput) } -type GetPortRedundancyOutput struct{ *pulumi.OutputState } +type GetPortsFilterPtrOutput struct{ *pulumi.OutputState } -func (GetPortRedundancyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortRedundancy)(nil)).Elem() +func (GetPortsFilterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetPortsFilter)(nil)).Elem() } -func (o GetPortRedundancyOutput) ToGetPortRedundancyOutput() GetPortRedundancyOutput { +func (o GetPortsFilterPtrOutput) ToGetPortsFilterPtrOutput() GetPortsFilterPtrOutput { return o } -func (o GetPortRedundancyOutput) ToGetPortRedundancyOutputWithContext(ctx context.Context) GetPortRedundancyOutput { +func (o GetPortsFilterPtrOutput) ToGetPortsFilterPtrOutputWithContext(ctx context.Context) GetPortsFilterPtrOutput { return o } -func (o GetPortRedundancyOutput) Enabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetPortRedundancy) bool { return v.Enabled }).(pulumi.BoolOutput) +func (o GetPortsFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetPortsFilter] { + return pulumix.Output[*GetPortsFilter]{ + OutputState: o.OutputState, + } } -func (o GetPortRedundancyOutput) Group() pulumi.IntOutput { - return o.ApplyT(func(v GetPortRedundancy) int { return v.Group }).(pulumi.IntOutput) +func (o GetPortsFilterPtrOutput) Elem() GetPortsFilterOutput { + return o.ApplyT(func(v *GetPortsFilter) GetPortsFilter { + if v != nil { + return *v + } + var ret GetPortsFilter + return ret + }).(GetPortsFilterOutput) } -func (o GetPortRedundancyOutput) Priority() pulumi.StringOutput { - return o.ApplyT(func(v GetPortRedundancy) string { return v.Priority }).(pulumi.StringOutput) +// Query Parameter to Get Ports By Name +func (o GetPortsFilterPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetPortsFilter) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -type GetPortsDatum struct { - Accounts []GetPortsDatumAccount `pulumi:"accounts"` - AvailableBandwidth int `pulumi:"availableBandwidth"` - Bandwidth int `pulumi:"bandwidth"` - ChangeLogs []GetPortsDatumChangeLog `pulumi:"changeLogs"` - Description string `pulumi:"description"` - Devices []GetPortsDatumDevice `pulumi:"devices"` - Encapsulations []GetPortsDatumEncapsulation `pulumi:"encapsulations"` - Href string `pulumi:"href"` - Lags []GetPortsDatumLag `pulumi:"lags"` - Locations []GetPortsDatumLocation `pulumi:"locations"` - Name string `pulumi:"name"` - Operations []GetPortsDatumOperation `pulumi:"operations"` - Redundancies []GetPortsDatumRedundancy `pulumi:"redundancies"` - ServiceType string `pulumi:"serviceType"` - State string `pulumi:"state"` - Type string `pulumi:"type"` - UsedBandwidth int `pulumi:"usedBandwidth"` - Uuid *string `pulumi:"uuid"` +type GetRoutingProtocolBfd struct { + // Bidirectional Forwarding Detection enablement + Enabled bool `pulumi:"enabled"` + // Interval range between the received BFD control packets + Interval *string `pulumi:"interval"` } -// GetPortsDatumInput is an input type that accepts GetPortsDatumArgs and GetPortsDatumOutput values. -// You can construct a concrete instance of `GetPortsDatumInput` via: +// GetRoutingProtocolBfdInput is an input type that accepts GetRoutingProtocolBfdArgs and GetRoutingProtocolBfdOutput values. +// You can construct a concrete instance of `GetRoutingProtocolBfdInput` via: // -// GetPortsDatumArgs{...} -type GetPortsDatumInput interface { +// GetRoutingProtocolBfdArgs{...} +type GetRoutingProtocolBfdInput interface { pulumi.Input - ToGetPortsDatumOutput() GetPortsDatumOutput - ToGetPortsDatumOutputWithContext(context.Context) GetPortsDatumOutput -} - -type GetPortsDatumArgs struct { - Accounts GetPortsDatumAccountArrayInput `pulumi:"accounts"` - AvailableBandwidth pulumi.IntInput `pulumi:"availableBandwidth"` - Bandwidth pulumi.IntInput `pulumi:"bandwidth"` - ChangeLogs GetPortsDatumChangeLogArrayInput `pulumi:"changeLogs"` - Description pulumi.StringInput `pulumi:"description"` - Devices GetPortsDatumDeviceArrayInput `pulumi:"devices"` - Encapsulations GetPortsDatumEncapsulationArrayInput `pulumi:"encapsulations"` - Href pulumi.StringInput `pulumi:"href"` - Lags GetPortsDatumLagArrayInput `pulumi:"lags"` - Locations GetPortsDatumLocationArrayInput `pulumi:"locations"` - Name pulumi.StringInput `pulumi:"name"` - Operations GetPortsDatumOperationArrayInput `pulumi:"operations"` - Redundancies GetPortsDatumRedundancyArrayInput `pulumi:"redundancies"` - ServiceType pulumi.StringInput `pulumi:"serviceType"` - State pulumi.StringInput `pulumi:"state"` - Type pulumi.StringInput `pulumi:"type"` - UsedBandwidth pulumi.IntInput `pulumi:"usedBandwidth"` - Uuid pulumi.StringPtrInput `pulumi:"uuid"` + ToGetRoutingProtocolBfdOutput() GetRoutingProtocolBfdOutput + ToGetRoutingProtocolBfdOutputWithContext(context.Context) GetRoutingProtocolBfdOutput } -func (GetPortsDatumArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatum)(nil)).Elem() +type GetRoutingProtocolBfdArgs struct { + // Bidirectional Forwarding Detection enablement + Enabled pulumi.BoolInput `pulumi:"enabled"` + // Interval range between the received BFD control packets + Interval pulumi.StringPtrInput `pulumi:"interval"` } -func (i GetPortsDatumArgs) ToGetPortsDatumOutput() GetPortsDatumOutput { - return i.ToGetPortsDatumOutputWithContext(context.Background()) +func (GetRoutingProtocolBfdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolBfd)(nil)).Elem() } -func (i GetPortsDatumArgs) ToGetPortsDatumOutputWithContext(ctx context.Context) GetPortsDatumOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumOutput) +func (i GetRoutingProtocolBfdArgs) ToGetRoutingProtocolBfdOutput() GetRoutingProtocolBfdOutput { + return i.ToGetRoutingProtocolBfdOutputWithContext(context.Background()) } -// GetPortsDatumArrayInput is an input type that accepts GetPortsDatumArray and GetPortsDatumArrayOutput values. -// You can construct a concrete instance of `GetPortsDatumArrayInput` via: -// -// GetPortsDatumArray{ GetPortsDatumArgs{...} } -type GetPortsDatumArrayInput interface { - pulumi.Input - - ToGetPortsDatumArrayOutput() GetPortsDatumArrayOutput - ToGetPortsDatumArrayOutputWithContext(context.Context) GetPortsDatumArrayOutput +func (i GetRoutingProtocolBfdArgs) ToGetRoutingProtocolBfdOutputWithContext(ctx context.Context) GetRoutingProtocolBfdOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolBfdOutput) } -type GetPortsDatumArray []GetPortsDatumInput - -func (GetPortsDatumArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatum)(nil)).Elem() +func (i GetRoutingProtocolBfdArgs) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolBfd] { + return pulumix.Output[GetRoutingProtocolBfd]{ + OutputState: i.ToGetRoutingProtocolBfdOutputWithContext(ctx).OutputState, + } } -func (i GetPortsDatumArray) ToGetPortsDatumArrayOutput() GetPortsDatumArrayOutput { - return i.ToGetPortsDatumArrayOutputWithContext(context.Background()) +func (i GetRoutingProtocolBfdArgs) ToGetRoutingProtocolBfdPtrOutput() GetRoutingProtocolBfdPtrOutput { + return i.ToGetRoutingProtocolBfdPtrOutputWithContext(context.Background()) } -func (i GetPortsDatumArray) ToGetPortsDatumArrayOutputWithContext(ctx context.Context) GetPortsDatumArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumArrayOutput) +func (i GetRoutingProtocolBfdArgs) ToGetRoutingProtocolBfdPtrOutputWithContext(ctx context.Context) GetRoutingProtocolBfdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolBfdOutput).ToGetRoutingProtocolBfdPtrOutputWithContext(ctx) } -type GetPortsDatumOutput struct{ *pulumi.OutputState } - -func (GetPortsDatumOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatum)(nil)).Elem() -} +// GetRoutingProtocolBfdPtrInput is an input type that accepts GetRoutingProtocolBfdArgs, GetRoutingProtocolBfdPtr and GetRoutingProtocolBfdPtrOutput values. +// You can construct a concrete instance of `GetRoutingProtocolBfdPtrInput` via: +// +// GetRoutingProtocolBfdArgs{...} +// +// or: +// +// nil +type GetRoutingProtocolBfdPtrInput interface { + pulumi.Input -func (o GetPortsDatumOutput) ToGetPortsDatumOutput() GetPortsDatumOutput { - return o + ToGetRoutingProtocolBfdPtrOutput() GetRoutingProtocolBfdPtrOutput + ToGetRoutingProtocolBfdPtrOutputWithContext(context.Context) GetRoutingProtocolBfdPtrOutput } -func (o GetPortsDatumOutput) ToGetPortsDatumOutputWithContext(ctx context.Context) GetPortsDatumOutput { - return o -} +type getRoutingProtocolBfdPtrType GetRoutingProtocolBfdArgs -func (o GetPortsDatumOutput) Accounts() GetPortsDatumAccountArrayOutput { - return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumAccount { return v.Accounts }).(GetPortsDatumAccountArrayOutput) +func GetRoutingProtocolBfdPtr(v *GetRoutingProtocolBfdArgs) GetRoutingProtocolBfdPtrInput { + return (*getRoutingProtocolBfdPtrType)(v) } -func (o GetPortsDatumOutput) AvailableBandwidth() pulumi.IntOutput { - return o.ApplyT(func(v GetPortsDatum) int { return v.AvailableBandwidth }).(pulumi.IntOutput) +func (*getRoutingProtocolBfdPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetRoutingProtocolBfd)(nil)).Elem() } -func (o GetPortsDatumOutput) Bandwidth() pulumi.IntOutput { - return o.ApplyT(func(v GetPortsDatum) int { return v.Bandwidth }).(pulumi.IntOutput) +func (i *getRoutingProtocolBfdPtrType) ToGetRoutingProtocolBfdPtrOutput() GetRoutingProtocolBfdPtrOutput { + return i.ToGetRoutingProtocolBfdPtrOutputWithContext(context.Background()) } -func (o GetPortsDatumOutput) ChangeLogs() GetPortsDatumChangeLogArrayOutput { - return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumChangeLog { return v.ChangeLogs }).(GetPortsDatumChangeLogArrayOutput) +func (i *getRoutingProtocolBfdPtrType) ToGetRoutingProtocolBfdPtrOutputWithContext(ctx context.Context) GetRoutingProtocolBfdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolBfdPtrOutput) } -func (o GetPortsDatumOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatum) string { return v.Description }).(pulumi.StringOutput) +func (i *getRoutingProtocolBfdPtrType) ToOutput(ctx context.Context) pulumix.Output[*GetRoutingProtocolBfd] { + return pulumix.Output[*GetRoutingProtocolBfd]{ + OutputState: i.ToGetRoutingProtocolBfdPtrOutputWithContext(ctx).OutputState, + } } -func (o GetPortsDatumOutput) Devices() GetPortsDatumDeviceArrayOutput { - return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumDevice { return v.Devices }).(GetPortsDatumDeviceArrayOutput) -} +type GetRoutingProtocolBfdOutput struct{ *pulumi.OutputState } -func (o GetPortsDatumOutput) Encapsulations() GetPortsDatumEncapsulationArrayOutput { - return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumEncapsulation { return v.Encapsulations }).(GetPortsDatumEncapsulationArrayOutput) +func (GetRoutingProtocolBfdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolBfd)(nil)).Elem() } -func (o GetPortsDatumOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatum) string { return v.Href }).(pulumi.StringOutput) +func (o GetRoutingProtocolBfdOutput) ToGetRoutingProtocolBfdOutput() GetRoutingProtocolBfdOutput { + return o } -func (o GetPortsDatumOutput) Lags() GetPortsDatumLagArrayOutput { - return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumLag { return v.Lags }).(GetPortsDatumLagArrayOutput) +func (o GetRoutingProtocolBfdOutput) ToGetRoutingProtocolBfdOutputWithContext(ctx context.Context) GetRoutingProtocolBfdOutput { + return o } -func (o GetPortsDatumOutput) Locations() GetPortsDatumLocationArrayOutput { - return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumLocation { return v.Locations }).(GetPortsDatumLocationArrayOutput) +func (o GetRoutingProtocolBfdOutput) ToGetRoutingProtocolBfdPtrOutput() GetRoutingProtocolBfdPtrOutput { + return o.ToGetRoutingProtocolBfdPtrOutputWithContext(context.Background()) } -func (o GetPortsDatumOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatum) string { return v.Name }).(pulumi.StringOutput) +func (o GetRoutingProtocolBfdOutput) ToGetRoutingProtocolBfdPtrOutputWithContext(ctx context.Context) GetRoutingProtocolBfdPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetRoutingProtocolBfd) *GetRoutingProtocolBfd { + return &v + }).(GetRoutingProtocolBfdPtrOutput) } -func (o GetPortsDatumOutput) Operations() GetPortsDatumOperationArrayOutput { - return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumOperation { return v.Operations }).(GetPortsDatumOperationArrayOutput) +func (o GetRoutingProtocolBfdOutput) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolBfd] { + return pulumix.Output[GetRoutingProtocolBfd]{ + OutputState: o.OutputState, + } } -func (o GetPortsDatumOutput) Redundancies() GetPortsDatumRedundancyArrayOutput { - return o.ApplyT(func(v GetPortsDatum) []GetPortsDatumRedundancy { return v.Redundancies }).(GetPortsDatumRedundancyArrayOutput) +// Bidirectional Forwarding Detection enablement +func (o GetRoutingProtocolBfdOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetRoutingProtocolBfd) bool { return v.Enabled }).(pulumi.BoolOutput) } -func (o GetPortsDatumOutput) ServiceType() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatum) string { return v.ServiceType }).(pulumi.StringOutput) +// Interval range between the received BFD control packets +func (o GetRoutingProtocolBfdOutput) Interval() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRoutingProtocolBfd) *string { return v.Interval }).(pulumi.StringPtrOutput) } -func (o GetPortsDatumOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatum) string { return v.State }).(pulumi.StringOutput) -} +type GetRoutingProtocolBfdPtrOutput struct{ *pulumi.OutputState } -func (o GetPortsDatumOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatum) string { return v.Type }).(pulumi.StringOutput) +func (GetRoutingProtocolBfdPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetRoutingProtocolBfd)(nil)).Elem() } -func (o GetPortsDatumOutput) UsedBandwidth() pulumi.IntOutput { - return o.ApplyT(func(v GetPortsDatum) int { return v.UsedBandwidth }).(pulumi.IntOutput) +func (o GetRoutingProtocolBfdPtrOutput) ToGetRoutingProtocolBfdPtrOutput() GetRoutingProtocolBfdPtrOutput { + return o } -func (o GetPortsDatumOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetPortsDatum) *string { return v.Uuid }).(pulumi.StringPtrOutput) +func (o GetRoutingProtocolBfdPtrOutput) ToGetRoutingProtocolBfdPtrOutputWithContext(ctx context.Context) GetRoutingProtocolBfdPtrOutput { + return o } -type GetPortsDatumArrayOutput struct{ *pulumi.OutputState } - -func (GetPortsDatumArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatum)(nil)).Elem() +func (o GetRoutingProtocolBfdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetRoutingProtocolBfd] { + return pulumix.Output[*GetRoutingProtocolBfd]{ + OutputState: o.OutputState, + } } -func (o GetPortsDatumArrayOutput) ToGetPortsDatumArrayOutput() GetPortsDatumArrayOutput { - return o +func (o GetRoutingProtocolBfdPtrOutput) Elem() GetRoutingProtocolBfdOutput { + return o.ApplyT(func(v *GetRoutingProtocolBfd) GetRoutingProtocolBfd { + if v != nil { + return *v + } + var ret GetRoutingProtocolBfd + return ret + }).(GetRoutingProtocolBfdOutput) } -func (o GetPortsDatumArrayOutput) ToGetPortsDatumArrayOutputWithContext(ctx context.Context) GetPortsDatumArrayOutput { - return o +// Bidirectional Forwarding Detection enablement +func (o GetRoutingProtocolBfdPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetRoutingProtocolBfd) *bool { + if v == nil { + return nil + } + return &v.Enabled + }).(pulumi.BoolPtrOutput) } -func (o GetPortsDatumArrayOutput) Index(i pulumi.IntInput) GetPortsDatumOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatum { - return vs[0].([]GetPortsDatum)[vs[1].(int)] - }).(GetPortsDatumOutput) +// Interval range between the received BFD control packets +func (o GetRoutingProtocolBfdPtrOutput) Interval() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetRoutingProtocolBfd) *string { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.StringPtrOutput) } -type GetPortsDatumAccount struct { - AccountName string `pulumi:"accountName"` - AccountNumber int `pulumi:"accountNumber"` - GlobalCustId string `pulumi:"globalCustId"` - GlobalOrgId string `pulumi:"globalOrgId"` - GlobalOrganizationName string `pulumi:"globalOrganizationName"` - OrgId int `pulumi:"orgId"` - OrganizationName string `pulumi:"organizationName"` +type GetRoutingProtocolBgpIpv4 struct { + // Customer side peering ip + CustomerPeerIp string `pulumi:"customerPeerIp"` + // Admin status for the BGP session + Enabled *bool `pulumi:"enabled"` + // Equinix side peering ip + EquinixPeerIp string `pulumi:"equinixPeerIp"` } -// GetPortsDatumAccountInput is an input type that accepts GetPortsDatumAccountArgs and GetPortsDatumAccountOutput values. -// You can construct a concrete instance of `GetPortsDatumAccountInput` via: +// GetRoutingProtocolBgpIpv4Input is an input type that accepts GetRoutingProtocolBgpIpv4Args and GetRoutingProtocolBgpIpv4Output values. +// You can construct a concrete instance of `GetRoutingProtocolBgpIpv4Input` via: // -// GetPortsDatumAccountArgs{...} -type GetPortsDatumAccountInput interface { +// GetRoutingProtocolBgpIpv4Args{...} +type GetRoutingProtocolBgpIpv4Input interface { pulumi.Input - ToGetPortsDatumAccountOutput() GetPortsDatumAccountOutput - ToGetPortsDatumAccountOutputWithContext(context.Context) GetPortsDatumAccountOutput + ToGetRoutingProtocolBgpIpv4Output() GetRoutingProtocolBgpIpv4Output + ToGetRoutingProtocolBgpIpv4OutputWithContext(context.Context) GetRoutingProtocolBgpIpv4Output } -type GetPortsDatumAccountArgs struct { - AccountName pulumi.StringInput `pulumi:"accountName"` - AccountNumber pulumi.IntInput `pulumi:"accountNumber"` - GlobalCustId pulumi.StringInput `pulumi:"globalCustId"` - GlobalOrgId pulumi.StringInput `pulumi:"globalOrgId"` - GlobalOrganizationName pulumi.StringInput `pulumi:"globalOrganizationName"` - OrgId pulumi.IntInput `pulumi:"orgId"` - OrganizationName pulumi.StringInput `pulumi:"organizationName"` +type GetRoutingProtocolBgpIpv4Args struct { + // Customer side peering ip + CustomerPeerIp pulumi.StringInput `pulumi:"customerPeerIp"` + // Admin status for the BGP session + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // Equinix side peering ip + EquinixPeerIp pulumi.StringInput `pulumi:"equinixPeerIp"` +} + +func (GetRoutingProtocolBgpIpv4Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolBgpIpv4)(nil)).Elem() } -func (GetPortsDatumAccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumAccount)(nil)).Elem() +func (i GetRoutingProtocolBgpIpv4Args) ToGetRoutingProtocolBgpIpv4Output() GetRoutingProtocolBgpIpv4Output { + return i.ToGetRoutingProtocolBgpIpv4OutputWithContext(context.Background()) } -func (i GetPortsDatumAccountArgs) ToGetPortsDatumAccountOutput() GetPortsDatumAccountOutput { - return i.ToGetPortsDatumAccountOutputWithContext(context.Background()) +func (i GetRoutingProtocolBgpIpv4Args) ToGetRoutingProtocolBgpIpv4OutputWithContext(ctx context.Context) GetRoutingProtocolBgpIpv4Output { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolBgpIpv4Output) } -func (i GetPortsDatumAccountArgs) ToGetPortsDatumAccountOutputWithContext(ctx context.Context) GetPortsDatumAccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumAccountOutput) +func (i GetRoutingProtocolBgpIpv4Args) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolBgpIpv4] { + return pulumix.Output[GetRoutingProtocolBgpIpv4]{ + OutputState: i.ToGetRoutingProtocolBgpIpv4OutputWithContext(ctx).OutputState, + } } -// GetPortsDatumAccountArrayInput is an input type that accepts GetPortsDatumAccountArray and GetPortsDatumAccountArrayOutput values. -// You can construct a concrete instance of `GetPortsDatumAccountArrayInput` via: +func (i GetRoutingProtocolBgpIpv4Args) ToGetRoutingProtocolBgpIpv4PtrOutput() GetRoutingProtocolBgpIpv4PtrOutput { + return i.ToGetRoutingProtocolBgpIpv4PtrOutputWithContext(context.Background()) +} + +func (i GetRoutingProtocolBgpIpv4Args) ToGetRoutingProtocolBgpIpv4PtrOutputWithContext(ctx context.Context) GetRoutingProtocolBgpIpv4PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolBgpIpv4Output).ToGetRoutingProtocolBgpIpv4PtrOutputWithContext(ctx) +} + +// GetRoutingProtocolBgpIpv4PtrInput is an input type that accepts GetRoutingProtocolBgpIpv4Args, GetRoutingProtocolBgpIpv4Ptr and GetRoutingProtocolBgpIpv4PtrOutput values. +// You can construct a concrete instance of `GetRoutingProtocolBgpIpv4PtrInput` via: // -// GetPortsDatumAccountArray{ GetPortsDatumAccountArgs{...} } -type GetPortsDatumAccountArrayInput interface { +// GetRoutingProtocolBgpIpv4Args{...} +// +// or: +// +// nil +type GetRoutingProtocolBgpIpv4PtrInput interface { pulumi.Input - ToGetPortsDatumAccountArrayOutput() GetPortsDatumAccountArrayOutput - ToGetPortsDatumAccountArrayOutputWithContext(context.Context) GetPortsDatumAccountArrayOutput + ToGetRoutingProtocolBgpIpv4PtrOutput() GetRoutingProtocolBgpIpv4PtrOutput + ToGetRoutingProtocolBgpIpv4PtrOutputWithContext(context.Context) GetRoutingProtocolBgpIpv4PtrOutput } -type GetPortsDatumAccountArray []GetPortsDatumAccountInput +type getRoutingProtocolBgpIpv4PtrType GetRoutingProtocolBgpIpv4Args -func (GetPortsDatumAccountArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumAccount)(nil)).Elem() +func GetRoutingProtocolBgpIpv4Ptr(v *GetRoutingProtocolBgpIpv4Args) GetRoutingProtocolBgpIpv4PtrInput { + return (*getRoutingProtocolBgpIpv4PtrType)(v) } -func (i GetPortsDatumAccountArray) ToGetPortsDatumAccountArrayOutput() GetPortsDatumAccountArrayOutput { - return i.ToGetPortsDatumAccountArrayOutputWithContext(context.Background()) +func (*getRoutingProtocolBgpIpv4PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetRoutingProtocolBgpIpv4)(nil)).Elem() } -func (i GetPortsDatumAccountArray) ToGetPortsDatumAccountArrayOutputWithContext(ctx context.Context) GetPortsDatumAccountArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumAccountArrayOutput) +func (i *getRoutingProtocolBgpIpv4PtrType) ToGetRoutingProtocolBgpIpv4PtrOutput() GetRoutingProtocolBgpIpv4PtrOutput { + return i.ToGetRoutingProtocolBgpIpv4PtrOutputWithContext(context.Background()) } -type GetPortsDatumAccountOutput struct{ *pulumi.OutputState } +func (i *getRoutingProtocolBgpIpv4PtrType) ToGetRoutingProtocolBgpIpv4PtrOutputWithContext(ctx context.Context) GetRoutingProtocolBgpIpv4PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolBgpIpv4PtrOutput) +} -func (GetPortsDatumAccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumAccount)(nil)).Elem() +func (i *getRoutingProtocolBgpIpv4PtrType) ToOutput(ctx context.Context) pulumix.Output[*GetRoutingProtocolBgpIpv4] { + return pulumix.Output[*GetRoutingProtocolBgpIpv4]{ + OutputState: i.ToGetRoutingProtocolBgpIpv4PtrOutputWithContext(ctx).OutputState, + } } -func (o GetPortsDatumAccountOutput) ToGetPortsDatumAccountOutput() GetPortsDatumAccountOutput { - return o +type GetRoutingProtocolBgpIpv4Output struct{ *pulumi.OutputState } + +func (GetRoutingProtocolBgpIpv4Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolBgpIpv4)(nil)).Elem() } -func (o GetPortsDatumAccountOutput) ToGetPortsDatumAccountOutputWithContext(ctx context.Context) GetPortsDatumAccountOutput { +func (o GetRoutingProtocolBgpIpv4Output) ToGetRoutingProtocolBgpIpv4Output() GetRoutingProtocolBgpIpv4Output { return o } -func (o GetPortsDatumAccountOutput) AccountName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumAccount) string { return v.AccountName }).(pulumi.StringOutput) +func (o GetRoutingProtocolBgpIpv4Output) ToGetRoutingProtocolBgpIpv4OutputWithContext(ctx context.Context) GetRoutingProtocolBgpIpv4Output { + return o } -func (o GetPortsDatumAccountOutput) AccountNumber() pulumi.IntOutput { - return o.ApplyT(func(v GetPortsDatumAccount) int { return v.AccountNumber }).(pulumi.IntOutput) +func (o GetRoutingProtocolBgpIpv4Output) ToGetRoutingProtocolBgpIpv4PtrOutput() GetRoutingProtocolBgpIpv4PtrOutput { + return o.ToGetRoutingProtocolBgpIpv4PtrOutputWithContext(context.Background()) } -func (o GetPortsDatumAccountOutput) GlobalCustId() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumAccount) string { return v.GlobalCustId }).(pulumi.StringOutput) +func (o GetRoutingProtocolBgpIpv4Output) ToGetRoutingProtocolBgpIpv4PtrOutputWithContext(ctx context.Context) GetRoutingProtocolBgpIpv4PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetRoutingProtocolBgpIpv4) *GetRoutingProtocolBgpIpv4 { + return &v + }).(GetRoutingProtocolBgpIpv4PtrOutput) } -func (o GetPortsDatumAccountOutput) GlobalOrgId() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumAccount) string { return v.GlobalOrgId }).(pulumi.StringOutput) +func (o GetRoutingProtocolBgpIpv4Output) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolBgpIpv4] { + return pulumix.Output[GetRoutingProtocolBgpIpv4]{ + OutputState: o.OutputState, + } } -func (o GetPortsDatumAccountOutput) GlobalOrganizationName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumAccount) string { return v.GlobalOrganizationName }).(pulumi.StringOutput) +// Customer side peering ip +func (o GetRoutingProtocolBgpIpv4Output) CustomerPeerIp() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolBgpIpv4) string { return v.CustomerPeerIp }).(pulumi.StringOutput) } -func (o GetPortsDatumAccountOutput) OrgId() pulumi.IntOutput { - return o.ApplyT(func(v GetPortsDatumAccount) int { return v.OrgId }).(pulumi.IntOutput) +// Admin status for the BGP session +func (o GetRoutingProtocolBgpIpv4Output) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetRoutingProtocolBgpIpv4) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -func (o GetPortsDatumAccountOutput) OrganizationName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumAccount) string { return v.OrganizationName }).(pulumi.StringOutput) +// Equinix side peering ip +func (o GetRoutingProtocolBgpIpv4Output) EquinixPeerIp() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolBgpIpv4) string { return v.EquinixPeerIp }).(pulumi.StringOutput) } -type GetPortsDatumAccountArrayOutput struct{ *pulumi.OutputState } +type GetRoutingProtocolBgpIpv4PtrOutput struct{ *pulumi.OutputState } -func (GetPortsDatumAccountArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumAccount)(nil)).Elem() +func (GetRoutingProtocolBgpIpv4PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetRoutingProtocolBgpIpv4)(nil)).Elem() } -func (o GetPortsDatumAccountArrayOutput) ToGetPortsDatumAccountArrayOutput() GetPortsDatumAccountArrayOutput { +func (o GetRoutingProtocolBgpIpv4PtrOutput) ToGetRoutingProtocolBgpIpv4PtrOutput() GetRoutingProtocolBgpIpv4PtrOutput { return o } -func (o GetPortsDatumAccountArrayOutput) ToGetPortsDatumAccountArrayOutputWithContext(ctx context.Context) GetPortsDatumAccountArrayOutput { +func (o GetRoutingProtocolBgpIpv4PtrOutput) ToGetRoutingProtocolBgpIpv4PtrOutputWithContext(ctx context.Context) GetRoutingProtocolBgpIpv4PtrOutput { return o } -func (o GetPortsDatumAccountArrayOutput) Index(i pulumi.IntInput) GetPortsDatumAccountOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumAccount { - return vs[0].([]GetPortsDatumAccount)[vs[1].(int)] - }).(GetPortsDatumAccountOutput) -} - -type GetPortsDatumChangeLog struct { - CreatedBy string `pulumi:"createdBy"` - CreatedByEmail string `pulumi:"createdByEmail"` - CreatedByFullName string `pulumi:"createdByFullName"` - CreatedDateTime string `pulumi:"createdDateTime"` - DeletedBy string `pulumi:"deletedBy"` - DeletedByEmail string `pulumi:"deletedByEmail"` - DeletedByFullName string `pulumi:"deletedByFullName"` - DeletedDateTime string `pulumi:"deletedDateTime"` - UpdatedBy string `pulumi:"updatedBy"` - UpdatedByEmail string `pulumi:"updatedByEmail"` - UpdatedByFullName string `pulumi:"updatedByFullName"` - UpdatedDateTime string `pulumi:"updatedDateTime"` +func (o GetRoutingProtocolBgpIpv4PtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetRoutingProtocolBgpIpv4] { + return pulumix.Output[*GetRoutingProtocolBgpIpv4]{ + OutputState: o.OutputState, + } } -// GetPortsDatumChangeLogInput is an input type that accepts GetPortsDatumChangeLogArgs and GetPortsDatumChangeLogOutput values. -// You can construct a concrete instance of `GetPortsDatumChangeLogInput` via: -// -// GetPortsDatumChangeLogArgs{...} -type GetPortsDatumChangeLogInput interface { - pulumi.Input - - ToGetPortsDatumChangeLogOutput() GetPortsDatumChangeLogOutput - ToGetPortsDatumChangeLogOutputWithContext(context.Context) GetPortsDatumChangeLogOutput +func (o GetRoutingProtocolBgpIpv4PtrOutput) Elem() GetRoutingProtocolBgpIpv4Output { + return o.ApplyT(func(v *GetRoutingProtocolBgpIpv4) GetRoutingProtocolBgpIpv4 { + if v != nil { + return *v + } + var ret GetRoutingProtocolBgpIpv4 + return ret + }).(GetRoutingProtocolBgpIpv4Output) } -type GetPortsDatumChangeLogArgs struct { - CreatedBy pulumi.StringInput `pulumi:"createdBy"` - CreatedByEmail pulumi.StringInput `pulumi:"createdByEmail"` - CreatedByFullName pulumi.StringInput `pulumi:"createdByFullName"` - CreatedDateTime pulumi.StringInput `pulumi:"createdDateTime"` - DeletedBy pulumi.StringInput `pulumi:"deletedBy"` - DeletedByEmail pulumi.StringInput `pulumi:"deletedByEmail"` - DeletedByFullName pulumi.StringInput `pulumi:"deletedByFullName"` - DeletedDateTime pulumi.StringInput `pulumi:"deletedDateTime"` - UpdatedBy pulumi.StringInput `pulumi:"updatedBy"` - UpdatedByEmail pulumi.StringInput `pulumi:"updatedByEmail"` - UpdatedByFullName pulumi.StringInput `pulumi:"updatedByFullName"` - UpdatedDateTime pulumi.StringInput `pulumi:"updatedDateTime"` +// Customer side peering ip +func (o GetRoutingProtocolBgpIpv4PtrOutput) CustomerPeerIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetRoutingProtocolBgpIpv4) *string { + if v == nil { + return nil + } + return &v.CustomerPeerIp + }).(pulumi.StringPtrOutput) } -func (GetPortsDatumChangeLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumChangeLog)(nil)).Elem() +// Admin status for the BGP session +func (o GetRoutingProtocolBgpIpv4PtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetRoutingProtocolBgpIpv4) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) } -func (i GetPortsDatumChangeLogArgs) ToGetPortsDatumChangeLogOutput() GetPortsDatumChangeLogOutput { - return i.ToGetPortsDatumChangeLogOutputWithContext(context.Background()) +// Equinix side peering ip +func (o GetRoutingProtocolBgpIpv4PtrOutput) EquinixPeerIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetRoutingProtocolBgpIpv4) *string { + if v == nil { + return nil + } + return &v.EquinixPeerIp + }).(pulumi.StringPtrOutput) } -func (i GetPortsDatumChangeLogArgs) ToGetPortsDatumChangeLogOutputWithContext(ctx context.Context) GetPortsDatumChangeLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumChangeLogOutput) +type GetRoutingProtocolBgpIpv6 struct { + // Customer side peering ip + CustomerPeerIp string `pulumi:"customerPeerIp"` + // Admin status for the BGP session + Enabled *bool `pulumi:"enabled"` + // Equinix side peering ip + EquinixPeerIp string `pulumi:"equinixPeerIp"` } -// GetPortsDatumChangeLogArrayInput is an input type that accepts GetPortsDatumChangeLogArray and GetPortsDatumChangeLogArrayOutput values. -// You can construct a concrete instance of `GetPortsDatumChangeLogArrayInput` via: +// GetRoutingProtocolBgpIpv6Input is an input type that accepts GetRoutingProtocolBgpIpv6Args and GetRoutingProtocolBgpIpv6Output values. +// You can construct a concrete instance of `GetRoutingProtocolBgpIpv6Input` via: // -// GetPortsDatumChangeLogArray{ GetPortsDatumChangeLogArgs{...} } -type GetPortsDatumChangeLogArrayInput interface { +// GetRoutingProtocolBgpIpv6Args{...} +type GetRoutingProtocolBgpIpv6Input interface { pulumi.Input - ToGetPortsDatumChangeLogArrayOutput() GetPortsDatumChangeLogArrayOutput - ToGetPortsDatumChangeLogArrayOutputWithContext(context.Context) GetPortsDatumChangeLogArrayOutput + ToGetRoutingProtocolBgpIpv6Output() GetRoutingProtocolBgpIpv6Output + ToGetRoutingProtocolBgpIpv6OutputWithContext(context.Context) GetRoutingProtocolBgpIpv6Output } -type GetPortsDatumChangeLogArray []GetPortsDatumChangeLogInput +type GetRoutingProtocolBgpIpv6Args struct { + // Customer side peering ip + CustomerPeerIp pulumi.StringInput `pulumi:"customerPeerIp"` + // Admin status for the BGP session + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // Equinix side peering ip + EquinixPeerIp pulumi.StringInput `pulumi:"equinixPeerIp"` +} -func (GetPortsDatumChangeLogArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumChangeLog)(nil)).Elem() +func (GetRoutingProtocolBgpIpv6Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolBgpIpv6)(nil)).Elem() } -func (i GetPortsDatumChangeLogArray) ToGetPortsDatumChangeLogArrayOutput() GetPortsDatumChangeLogArrayOutput { - return i.ToGetPortsDatumChangeLogArrayOutputWithContext(context.Background()) +func (i GetRoutingProtocolBgpIpv6Args) ToGetRoutingProtocolBgpIpv6Output() GetRoutingProtocolBgpIpv6Output { + return i.ToGetRoutingProtocolBgpIpv6OutputWithContext(context.Background()) } -func (i GetPortsDatumChangeLogArray) ToGetPortsDatumChangeLogArrayOutputWithContext(ctx context.Context) GetPortsDatumChangeLogArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumChangeLogArrayOutput) +func (i GetRoutingProtocolBgpIpv6Args) ToGetRoutingProtocolBgpIpv6OutputWithContext(ctx context.Context) GetRoutingProtocolBgpIpv6Output { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolBgpIpv6Output) } -type GetPortsDatumChangeLogOutput struct{ *pulumi.OutputState } +func (i GetRoutingProtocolBgpIpv6Args) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolBgpIpv6] { + return pulumix.Output[GetRoutingProtocolBgpIpv6]{ + OutputState: i.ToGetRoutingProtocolBgpIpv6OutputWithContext(ctx).OutputState, + } +} -func (GetPortsDatumChangeLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumChangeLog)(nil)).Elem() +func (i GetRoutingProtocolBgpIpv6Args) ToGetRoutingProtocolBgpIpv6PtrOutput() GetRoutingProtocolBgpIpv6PtrOutput { + return i.ToGetRoutingProtocolBgpIpv6PtrOutputWithContext(context.Background()) } -func (o GetPortsDatumChangeLogOutput) ToGetPortsDatumChangeLogOutput() GetPortsDatumChangeLogOutput { - return o +func (i GetRoutingProtocolBgpIpv6Args) ToGetRoutingProtocolBgpIpv6PtrOutputWithContext(ctx context.Context) GetRoutingProtocolBgpIpv6PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolBgpIpv6Output).ToGetRoutingProtocolBgpIpv6PtrOutputWithContext(ctx) } -func (o GetPortsDatumChangeLogOutput) ToGetPortsDatumChangeLogOutputWithContext(ctx context.Context) GetPortsDatumChangeLogOutput { - return o +// GetRoutingProtocolBgpIpv6PtrInput is an input type that accepts GetRoutingProtocolBgpIpv6Args, GetRoutingProtocolBgpIpv6Ptr and GetRoutingProtocolBgpIpv6PtrOutput values. +// You can construct a concrete instance of `GetRoutingProtocolBgpIpv6PtrInput` via: +// +// GetRoutingProtocolBgpIpv6Args{...} +// +// or: +// +// nil +type GetRoutingProtocolBgpIpv6PtrInput interface { + pulumi.Input + + ToGetRoutingProtocolBgpIpv6PtrOutput() GetRoutingProtocolBgpIpv6PtrOutput + ToGetRoutingProtocolBgpIpv6PtrOutputWithContext(context.Context) GetRoutingProtocolBgpIpv6PtrOutput } -func (o GetPortsDatumChangeLogOutput) CreatedBy() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.CreatedBy }).(pulumi.StringOutput) +type getRoutingProtocolBgpIpv6PtrType GetRoutingProtocolBgpIpv6Args + +func GetRoutingProtocolBgpIpv6Ptr(v *GetRoutingProtocolBgpIpv6Args) GetRoutingProtocolBgpIpv6PtrInput { + return (*getRoutingProtocolBgpIpv6PtrType)(v) } -func (o GetPortsDatumChangeLogOutput) CreatedByEmail() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.CreatedByEmail }).(pulumi.StringOutput) +func (*getRoutingProtocolBgpIpv6PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetRoutingProtocolBgpIpv6)(nil)).Elem() } -func (o GetPortsDatumChangeLogOutput) CreatedByFullName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.CreatedByFullName }).(pulumi.StringOutput) +func (i *getRoutingProtocolBgpIpv6PtrType) ToGetRoutingProtocolBgpIpv6PtrOutput() GetRoutingProtocolBgpIpv6PtrOutput { + return i.ToGetRoutingProtocolBgpIpv6PtrOutputWithContext(context.Background()) } -func (o GetPortsDatumChangeLogOutput) CreatedDateTime() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.CreatedDateTime }).(pulumi.StringOutput) +func (i *getRoutingProtocolBgpIpv6PtrType) ToGetRoutingProtocolBgpIpv6PtrOutputWithContext(ctx context.Context) GetRoutingProtocolBgpIpv6PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolBgpIpv6PtrOutput) } -func (o GetPortsDatumChangeLogOutput) DeletedBy() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.DeletedBy }).(pulumi.StringOutput) +func (i *getRoutingProtocolBgpIpv6PtrType) ToOutput(ctx context.Context) pulumix.Output[*GetRoutingProtocolBgpIpv6] { + return pulumix.Output[*GetRoutingProtocolBgpIpv6]{ + OutputState: i.ToGetRoutingProtocolBgpIpv6PtrOutputWithContext(ctx).OutputState, + } } -func (o GetPortsDatumChangeLogOutput) DeletedByEmail() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.DeletedByEmail }).(pulumi.StringOutput) +type GetRoutingProtocolBgpIpv6Output struct{ *pulumi.OutputState } + +func (GetRoutingProtocolBgpIpv6Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolBgpIpv6)(nil)).Elem() } -func (o GetPortsDatumChangeLogOutput) DeletedByFullName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.DeletedByFullName }).(pulumi.StringOutput) +func (o GetRoutingProtocolBgpIpv6Output) ToGetRoutingProtocolBgpIpv6Output() GetRoutingProtocolBgpIpv6Output { + return o } -func (o GetPortsDatumChangeLogOutput) DeletedDateTime() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.DeletedDateTime }).(pulumi.StringOutput) +func (o GetRoutingProtocolBgpIpv6Output) ToGetRoutingProtocolBgpIpv6OutputWithContext(ctx context.Context) GetRoutingProtocolBgpIpv6Output { + return o } -func (o GetPortsDatumChangeLogOutput) UpdatedBy() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.UpdatedBy }).(pulumi.StringOutput) +func (o GetRoutingProtocolBgpIpv6Output) ToGetRoutingProtocolBgpIpv6PtrOutput() GetRoutingProtocolBgpIpv6PtrOutput { + return o.ToGetRoutingProtocolBgpIpv6PtrOutputWithContext(context.Background()) } -func (o GetPortsDatumChangeLogOutput) UpdatedByEmail() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.UpdatedByEmail }).(pulumi.StringOutput) +func (o GetRoutingProtocolBgpIpv6Output) ToGetRoutingProtocolBgpIpv6PtrOutputWithContext(ctx context.Context) GetRoutingProtocolBgpIpv6PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetRoutingProtocolBgpIpv6) *GetRoutingProtocolBgpIpv6 { + return &v + }).(GetRoutingProtocolBgpIpv6PtrOutput) } -func (o GetPortsDatumChangeLogOutput) UpdatedByFullName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.UpdatedByFullName }).(pulumi.StringOutput) +func (o GetRoutingProtocolBgpIpv6Output) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolBgpIpv6] { + return pulumix.Output[GetRoutingProtocolBgpIpv6]{ + OutputState: o.OutputState, + } } -func (o GetPortsDatumChangeLogOutput) UpdatedDateTime() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumChangeLog) string { return v.UpdatedDateTime }).(pulumi.StringOutput) +// Customer side peering ip +func (o GetRoutingProtocolBgpIpv6Output) CustomerPeerIp() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolBgpIpv6) string { return v.CustomerPeerIp }).(pulumi.StringOutput) } -type GetPortsDatumChangeLogArrayOutput struct{ *pulumi.OutputState } +// Admin status for the BGP session +func (o GetRoutingProtocolBgpIpv6Output) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetRoutingProtocolBgpIpv6) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} -func (GetPortsDatumChangeLogArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumChangeLog)(nil)).Elem() +// Equinix side peering ip +func (o GetRoutingProtocolBgpIpv6Output) EquinixPeerIp() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolBgpIpv6) string { return v.EquinixPeerIp }).(pulumi.StringOutput) } -func (o GetPortsDatumChangeLogArrayOutput) ToGetPortsDatumChangeLogArrayOutput() GetPortsDatumChangeLogArrayOutput { - return o +type GetRoutingProtocolBgpIpv6PtrOutput struct{ *pulumi.OutputState } + +func (GetRoutingProtocolBgpIpv6PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetRoutingProtocolBgpIpv6)(nil)).Elem() } -func (o GetPortsDatumChangeLogArrayOutput) ToGetPortsDatumChangeLogArrayOutputWithContext(ctx context.Context) GetPortsDatumChangeLogArrayOutput { +func (o GetRoutingProtocolBgpIpv6PtrOutput) ToGetRoutingProtocolBgpIpv6PtrOutput() GetRoutingProtocolBgpIpv6PtrOutput { return o } -func (o GetPortsDatumChangeLogArrayOutput) Index(i pulumi.IntInput) GetPortsDatumChangeLogOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumChangeLog { - return vs[0].([]GetPortsDatumChangeLog)[vs[1].(int)] - }).(GetPortsDatumChangeLogOutput) +func (o GetRoutingProtocolBgpIpv6PtrOutput) ToGetRoutingProtocolBgpIpv6PtrOutputWithContext(ctx context.Context) GetRoutingProtocolBgpIpv6PtrOutput { + return o } -type GetPortsDatumDevice struct { - Name string `pulumi:"name"` - Redundancies []GetPortsDatumDeviceRedundancy `pulumi:"redundancies"` +func (o GetRoutingProtocolBgpIpv6PtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetRoutingProtocolBgpIpv6] { + return pulumix.Output[*GetRoutingProtocolBgpIpv6]{ + OutputState: o.OutputState, + } } -// GetPortsDatumDeviceInput is an input type that accepts GetPortsDatumDeviceArgs and GetPortsDatumDeviceOutput values. -// You can construct a concrete instance of `GetPortsDatumDeviceInput` via: -// -// GetPortsDatumDeviceArgs{...} -type GetPortsDatumDeviceInput interface { - pulumi.Input - - ToGetPortsDatumDeviceOutput() GetPortsDatumDeviceOutput - ToGetPortsDatumDeviceOutputWithContext(context.Context) GetPortsDatumDeviceOutput +func (o GetRoutingProtocolBgpIpv6PtrOutput) Elem() GetRoutingProtocolBgpIpv6Output { + return o.ApplyT(func(v *GetRoutingProtocolBgpIpv6) GetRoutingProtocolBgpIpv6 { + if v != nil { + return *v + } + var ret GetRoutingProtocolBgpIpv6 + return ret + }).(GetRoutingProtocolBgpIpv6Output) } -type GetPortsDatumDeviceArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Redundancies GetPortsDatumDeviceRedundancyArrayInput `pulumi:"redundancies"` +// Customer side peering ip +func (o GetRoutingProtocolBgpIpv6PtrOutput) CustomerPeerIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetRoutingProtocolBgpIpv6) *string { + if v == nil { + return nil + } + return &v.CustomerPeerIp + }).(pulumi.StringPtrOutput) } -func (GetPortsDatumDeviceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumDevice)(nil)).Elem() +// Admin status for the BGP session +func (o GetRoutingProtocolBgpIpv6PtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetRoutingProtocolBgpIpv6) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) } -func (i GetPortsDatumDeviceArgs) ToGetPortsDatumDeviceOutput() GetPortsDatumDeviceOutput { - return i.ToGetPortsDatumDeviceOutputWithContext(context.Background()) +// Equinix side peering ip +func (o GetRoutingProtocolBgpIpv6PtrOutput) EquinixPeerIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetRoutingProtocolBgpIpv6) *string { + if v == nil { + return nil + } + return &v.EquinixPeerIp + }).(pulumi.StringPtrOutput) } -func (i GetPortsDatumDeviceArgs) ToGetPortsDatumDeviceOutputWithContext(ctx context.Context) GetPortsDatumDeviceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumDeviceOutput) +type GetRoutingProtocolChange struct { + Href string `pulumi:"href"` + Type string `pulumi:"type"` + Uuid string `pulumi:"uuid"` } -// GetPortsDatumDeviceArrayInput is an input type that accepts GetPortsDatumDeviceArray and GetPortsDatumDeviceArrayOutput values. -// You can construct a concrete instance of `GetPortsDatumDeviceArrayInput` via: +// GetRoutingProtocolChangeInput is an input type that accepts GetRoutingProtocolChangeArgs and GetRoutingProtocolChangeOutput values. +// You can construct a concrete instance of `GetRoutingProtocolChangeInput` via: // -// GetPortsDatumDeviceArray{ GetPortsDatumDeviceArgs{...} } -type GetPortsDatumDeviceArrayInput interface { +// GetRoutingProtocolChangeArgs{...} +type GetRoutingProtocolChangeInput interface { pulumi.Input - ToGetPortsDatumDeviceArrayOutput() GetPortsDatumDeviceArrayOutput - ToGetPortsDatumDeviceArrayOutputWithContext(context.Context) GetPortsDatumDeviceArrayOutput + ToGetRoutingProtocolChangeOutput() GetRoutingProtocolChangeOutput + ToGetRoutingProtocolChangeOutputWithContext(context.Context) GetRoutingProtocolChangeOutput } -type GetPortsDatumDeviceArray []GetPortsDatumDeviceInput +type GetRoutingProtocolChangeArgs struct { + Href pulumi.StringInput `pulumi:"href"` + Type pulumi.StringInput `pulumi:"type"` + Uuid pulumi.StringInput `pulumi:"uuid"` +} -func (GetPortsDatumDeviceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumDevice)(nil)).Elem() +func (GetRoutingProtocolChangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolChange)(nil)).Elem() } -func (i GetPortsDatumDeviceArray) ToGetPortsDatumDeviceArrayOutput() GetPortsDatumDeviceArrayOutput { - return i.ToGetPortsDatumDeviceArrayOutputWithContext(context.Background()) +func (i GetRoutingProtocolChangeArgs) ToGetRoutingProtocolChangeOutput() GetRoutingProtocolChangeOutput { + return i.ToGetRoutingProtocolChangeOutputWithContext(context.Background()) } -func (i GetPortsDatumDeviceArray) ToGetPortsDatumDeviceArrayOutputWithContext(ctx context.Context) GetPortsDatumDeviceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumDeviceArrayOutput) +func (i GetRoutingProtocolChangeArgs) ToGetRoutingProtocolChangeOutputWithContext(ctx context.Context) GetRoutingProtocolChangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolChangeOutput) } -type GetPortsDatumDeviceOutput struct{ *pulumi.OutputState } +func (i GetRoutingProtocolChangeArgs) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolChange] { + return pulumix.Output[GetRoutingProtocolChange]{ + OutputState: i.ToGetRoutingProtocolChangeOutputWithContext(ctx).OutputState, + } +} -func (GetPortsDatumDeviceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumDevice)(nil)).Elem() +// GetRoutingProtocolChangeArrayInput is an input type that accepts GetRoutingProtocolChangeArray and GetRoutingProtocolChangeArrayOutput values. +// You can construct a concrete instance of `GetRoutingProtocolChangeArrayInput` via: +// +// GetRoutingProtocolChangeArray{ GetRoutingProtocolChangeArgs{...} } +type GetRoutingProtocolChangeArrayInput interface { + pulumi.Input + + ToGetRoutingProtocolChangeArrayOutput() GetRoutingProtocolChangeArrayOutput + ToGetRoutingProtocolChangeArrayOutputWithContext(context.Context) GetRoutingProtocolChangeArrayOutput } -func (o GetPortsDatumDeviceOutput) ToGetPortsDatumDeviceOutput() GetPortsDatumDeviceOutput { - return o +type GetRoutingProtocolChangeArray []GetRoutingProtocolChangeInput + +func (GetRoutingProtocolChangeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingProtocolChange)(nil)).Elem() } -func (o GetPortsDatumDeviceOutput) ToGetPortsDatumDeviceOutputWithContext(ctx context.Context) GetPortsDatumDeviceOutput { - return o +func (i GetRoutingProtocolChangeArray) ToGetRoutingProtocolChangeArrayOutput() GetRoutingProtocolChangeArrayOutput { + return i.ToGetRoutingProtocolChangeArrayOutputWithContext(context.Background()) } -func (o GetPortsDatumDeviceOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumDevice) string { return v.Name }).(pulumi.StringOutput) +func (i GetRoutingProtocolChangeArray) ToGetRoutingProtocolChangeArrayOutputWithContext(ctx context.Context) GetRoutingProtocolChangeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolChangeArrayOutput) } -func (o GetPortsDatumDeviceOutput) Redundancies() GetPortsDatumDeviceRedundancyArrayOutput { - return o.ApplyT(func(v GetPortsDatumDevice) []GetPortsDatumDeviceRedundancy { return v.Redundancies }).(GetPortsDatumDeviceRedundancyArrayOutput) +func (i GetRoutingProtocolChangeArray) ToOutput(ctx context.Context) pulumix.Output[[]GetRoutingProtocolChange] { + return pulumix.Output[[]GetRoutingProtocolChange]{ + OutputState: i.ToGetRoutingProtocolChangeArrayOutputWithContext(ctx).OutputState, + } } -type GetPortsDatumDeviceArrayOutput struct{ *pulumi.OutputState } +type GetRoutingProtocolChangeOutput struct{ *pulumi.OutputState } -func (GetPortsDatumDeviceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumDevice)(nil)).Elem() +func (GetRoutingProtocolChangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolChange)(nil)).Elem() } -func (o GetPortsDatumDeviceArrayOutput) ToGetPortsDatumDeviceArrayOutput() GetPortsDatumDeviceArrayOutput { +func (o GetRoutingProtocolChangeOutput) ToGetRoutingProtocolChangeOutput() GetRoutingProtocolChangeOutput { return o } -func (o GetPortsDatumDeviceArrayOutput) ToGetPortsDatumDeviceArrayOutputWithContext(ctx context.Context) GetPortsDatumDeviceArrayOutput { +func (o GetRoutingProtocolChangeOutput) ToGetRoutingProtocolChangeOutputWithContext(ctx context.Context) GetRoutingProtocolChangeOutput { return o } -func (o GetPortsDatumDeviceArrayOutput) Index(i pulumi.IntInput) GetPortsDatumDeviceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumDevice { - return vs[0].([]GetPortsDatumDevice)[vs[1].(int)] - }).(GetPortsDatumDeviceOutput) +func (o GetRoutingProtocolChangeOutput) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolChange] { + return pulumix.Output[GetRoutingProtocolChange]{ + OutputState: o.OutputState, + } } -type GetPortsDatumDeviceRedundancy struct { - Group string `pulumi:"group"` - Priority string `pulumi:"priority"` +func (o GetRoutingProtocolChangeOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChange) string { return v.Href }).(pulumi.StringOutput) } -// GetPortsDatumDeviceRedundancyInput is an input type that accepts GetPortsDatumDeviceRedundancyArgs and GetPortsDatumDeviceRedundancyOutput values. -// You can construct a concrete instance of `GetPortsDatumDeviceRedundancyInput` via: -// -// GetPortsDatumDeviceRedundancyArgs{...} -type GetPortsDatumDeviceRedundancyInput interface { - pulumi.Input +func (o GetRoutingProtocolChangeOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChange) string { return v.Type }).(pulumi.StringOutput) +} - ToGetPortsDatumDeviceRedundancyOutput() GetPortsDatumDeviceRedundancyOutput - ToGetPortsDatumDeviceRedundancyOutputWithContext(context.Context) GetPortsDatumDeviceRedundancyOutput +func (o GetRoutingProtocolChangeOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChange) string { return v.Uuid }).(pulumi.StringOutput) } -type GetPortsDatumDeviceRedundancyArgs struct { - Group pulumi.StringInput `pulumi:"group"` - Priority pulumi.StringInput `pulumi:"priority"` +type GetRoutingProtocolChangeArrayOutput struct{ *pulumi.OutputState } + +func (GetRoutingProtocolChangeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingProtocolChange)(nil)).Elem() } -func (GetPortsDatumDeviceRedundancyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumDeviceRedundancy)(nil)).Elem() +func (o GetRoutingProtocolChangeArrayOutput) ToGetRoutingProtocolChangeArrayOutput() GetRoutingProtocolChangeArrayOutput { + return o } -func (i GetPortsDatumDeviceRedundancyArgs) ToGetPortsDatumDeviceRedundancyOutput() GetPortsDatumDeviceRedundancyOutput { - return i.ToGetPortsDatumDeviceRedundancyOutputWithContext(context.Background()) +func (o GetRoutingProtocolChangeArrayOutput) ToGetRoutingProtocolChangeArrayOutputWithContext(ctx context.Context) GetRoutingProtocolChangeArrayOutput { + return o } -func (i GetPortsDatumDeviceRedundancyArgs) ToGetPortsDatumDeviceRedundancyOutputWithContext(ctx context.Context) GetPortsDatumDeviceRedundancyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumDeviceRedundancyOutput) +func (o GetRoutingProtocolChangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetRoutingProtocolChange] { + return pulumix.Output[[]GetRoutingProtocolChange]{ + OutputState: o.OutputState, + } } -// GetPortsDatumDeviceRedundancyArrayInput is an input type that accepts GetPortsDatumDeviceRedundancyArray and GetPortsDatumDeviceRedundancyArrayOutput values. -// You can construct a concrete instance of `GetPortsDatumDeviceRedundancyArrayInput` via: +func (o GetRoutingProtocolChangeArrayOutput) Index(i pulumi.IntInput) GetRoutingProtocolChangeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRoutingProtocolChange { + return vs[0].([]GetRoutingProtocolChange)[vs[1].(int)] + }).(GetRoutingProtocolChangeOutput) +} + +type GetRoutingProtocolChangeLog struct { + CreatedBy string `pulumi:"createdBy"` + CreatedByEmail string `pulumi:"createdByEmail"` + CreatedByFullName string `pulumi:"createdByFullName"` + CreatedDateTime string `pulumi:"createdDateTime"` + DeletedBy string `pulumi:"deletedBy"` + DeletedByEmail string `pulumi:"deletedByEmail"` + DeletedByFullName string `pulumi:"deletedByFullName"` + DeletedDateTime string `pulumi:"deletedDateTime"` + UpdatedBy string `pulumi:"updatedBy"` + UpdatedByEmail string `pulumi:"updatedByEmail"` + UpdatedByFullName string `pulumi:"updatedByFullName"` + UpdatedDateTime string `pulumi:"updatedDateTime"` +} + +// GetRoutingProtocolChangeLogInput is an input type that accepts GetRoutingProtocolChangeLogArgs and GetRoutingProtocolChangeLogOutput values. +// You can construct a concrete instance of `GetRoutingProtocolChangeLogInput` via: // -// GetPortsDatumDeviceRedundancyArray{ GetPortsDatumDeviceRedundancyArgs{...} } -type GetPortsDatumDeviceRedundancyArrayInput interface { +// GetRoutingProtocolChangeLogArgs{...} +type GetRoutingProtocolChangeLogInput interface { pulumi.Input - ToGetPortsDatumDeviceRedundancyArrayOutput() GetPortsDatumDeviceRedundancyArrayOutput - ToGetPortsDatumDeviceRedundancyArrayOutputWithContext(context.Context) GetPortsDatumDeviceRedundancyArrayOutput + ToGetRoutingProtocolChangeLogOutput() GetRoutingProtocolChangeLogOutput + ToGetRoutingProtocolChangeLogOutputWithContext(context.Context) GetRoutingProtocolChangeLogOutput } -type GetPortsDatumDeviceRedundancyArray []GetPortsDatumDeviceRedundancyInput +type GetRoutingProtocolChangeLogArgs struct { + CreatedBy pulumi.StringInput `pulumi:"createdBy"` + CreatedByEmail pulumi.StringInput `pulumi:"createdByEmail"` + CreatedByFullName pulumi.StringInput `pulumi:"createdByFullName"` + CreatedDateTime pulumi.StringInput `pulumi:"createdDateTime"` + DeletedBy pulumi.StringInput `pulumi:"deletedBy"` + DeletedByEmail pulumi.StringInput `pulumi:"deletedByEmail"` + DeletedByFullName pulumi.StringInput `pulumi:"deletedByFullName"` + DeletedDateTime pulumi.StringInput `pulumi:"deletedDateTime"` + UpdatedBy pulumi.StringInput `pulumi:"updatedBy"` + UpdatedByEmail pulumi.StringInput `pulumi:"updatedByEmail"` + UpdatedByFullName pulumi.StringInput `pulumi:"updatedByFullName"` + UpdatedDateTime pulumi.StringInput `pulumi:"updatedDateTime"` +} -func (GetPortsDatumDeviceRedundancyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumDeviceRedundancy)(nil)).Elem() +func (GetRoutingProtocolChangeLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolChangeLog)(nil)).Elem() } -func (i GetPortsDatumDeviceRedundancyArray) ToGetPortsDatumDeviceRedundancyArrayOutput() GetPortsDatumDeviceRedundancyArrayOutput { - return i.ToGetPortsDatumDeviceRedundancyArrayOutputWithContext(context.Background()) +func (i GetRoutingProtocolChangeLogArgs) ToGetRoutingProtocolChangeLogOutput() GetRoutingProtocolChangeLogOutput { + return i.ToGetRoutingProtocolChangeLogOutputWithContext(context.Background()) } -func (i GetPortsDatumDeviceRedundancyArray) ToGetPortsDatumDeviceRedundancyArrayOutputWithContext(ctx context.Context) GetPortsDatumDeviceRedundancyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumDeviceRedundancyArrayOutput) +func (i GetRoutingProtocolChangeLogArgs) ToGetRoutingProtocolChangeLogOutputWithContext(ctx context.Context) GetRoutingProtocolChangeLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolChangeLogOutput) } -type GetPortsDatumDeviceRedundancyOutput struct{ *pulumi.OutputState } +func (i GetRoutingProtocolChangeLogArgs) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolChangeLog] { + return pulumix.Output[GetRoutingProtocolChangeLog]{ + OutputState: i.ToGetRoutingProtocolChangeLogOutputWithContext(ctx).OutputState, + } +} -func (GetPortsDatumDeviceRedundancyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumDeviceRedundancy)(nil)).Elem() +// GetRoutingProtocolChangeLogArrayInput is an input type that accepts GetRoutingProtocolChangeLogArray and GetRoutingProtocolChangeLogArrayOutput values. +// You can construct a concrete instance of `GetRoutingProtocolChangeLogArrayInput` via: +// +// GetRoutingProtocolChangeLogArray{ GetRoutingProtocolChangeLogArgs{...} } +type GetRoutingProtocolChangeLogArrayInput interface { + pulumi.Input + + ToGetRoutingProtocolChangeLogArrayOutput() GetRoutingProtocolChangeLogArrayOutput + ToGetRoutingProtocolChangeLogArrayOutputWithContext(context.Context) GetRoutingProtocolChangeLogArrayOutput } -func (o GetPortsDatumDeviceRedundancyOutput) ToGetPortsDatumDeviceRedundancyOutput() GetPortsDatumDeviceRedundancyOutput { - return o +type GetRoutingProtocolChangeLogArray []GetRoutingProtocolChangeLogInput + +func (GetRoutingProtocolChangeLogArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingProtocolChangeLog)(nil)).Elem() } -func (o GetPortsDatumDeviceRedundancyOutput) ToGetPortsDatumDeviceRedundancyOutputWithContext(ctx context.Context) GetPortsDatumDeviceRedundancyOutput { - return o +func (i GetRoutingProtocolChangeLogArray) ToGetRoutingProtocolChangeLogArrayOutput() GetRoutingProtocolChangeLogArrayOutput { + return i.ToGetRoutingProtocolChangeLogArrayOutputWithContext(context.Background()) } -func (o GetPortsDatumDeviceRedundancyOutput) Group() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumDeviceRedundancy) string { return v.Group }).(pulumi.StringOutput) +func (i GetRoutingProtocolChangeLogArray) ToGetRoutingProtocolChangeLogArrayOutputWithContext(ctx context.Context) GetRoutingProtocolChangeLogArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolChangeLogArrayOutput) } -func (o GetPortsDatumDeviceRedundancyOutput) Priority() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumDeviceRedundancy) string { return v.Priority }).(pulumi.StringOutput) +func (i GetRoutingProtocolChangeLogArray) ToOutput(ctx context.Context) pulumix.Output[[]GetRoutingProtocolChangeLog] { + return pulumix.Output[[]GetRoutingProtocolChangeLog]{ + OutputState: i.ToGetRoutingProtocolChangeLogArrayOutputWithContext(ctx).OutputState, + } } -type GetPortsDatumDeviceRedundancyArrayOutput struct{ *pulumi.OutputState } +type GetRoutingProtocolChangeLogOutput struct{ *pulumi.OutputState } -func (GetPortsDatumDeviceRedundancyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumDeviceRedundancy)(nil)).Elem() +func (GetRoutingProtocolChangeLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolChangeLog)(nil)).Elem() } -func (o GetPortsDatumDeviceRedundancyArrayOutput) ToGetPortsDatumDeviceRedundancyArrayOutput() GetPortsDatumDeviceRedundancyArrayOutput { +func (o GetRoutingProtocolChangeLogOutput) ToGetRoutingProtocolChangeLogOutput() GetRoutingProtocolChangeLogOutput { return o } -func (o GetPortsDatumDeviceRedundancyArrayOutput) ToGetPortsDatumDeviceRedundancyArrayOutputWithContext(ctx context.Context) GetPortsDatumDeviceRedundancyArrayOutput { +func (o GetRoutingProtocolChangeLogOutput) ToGetRoutingProtocolChangeLogOutputWithContext(ctx context.Context) GetRoutingProtocolChangeLogOutput { return o } -func (o GetPortsDatumDeviceRedundancyArrayOutput) Index(i pulumi.IntInput) GetPortsDatumDeviceRedundancyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumDeviceRedundancy { - return vs[0].([]GetPortsDatumDeviceRedundancy)[vs[1].(int)] - }).(GetPortsDatumDeviceRedundancyOutput) +func (o GetRoutingProtocolChangeLogOutput) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolChangeLog] { + return pulumix.Output[GetRoutingProtocolChangeLog]{ + OutputState: o.OutputState, + } } -type GetPortsDatumEncapsulation struct { - TagProtocolId string `pulumi:"tagProtocolId"` - Type string `pulumi:"type"` +func (o GetRoutingProtocolChangeLogOutput) CreatedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChangeLog) string { return v.CreatedBy }).(pulumi.StringOutput) } -// GetPortsDatumEncapsulationInput is an input type that accepts GetPortsDatumEncapsulationArgs and GetPortsDatumEncapsulationOutput values. -// You can construct a concrete instance of `GetPortsDatumEncapsulationInput` via: -// -// GetPortsDatumEncapsulationArgs{...} -type GetPortsDatumEncapsulationInput interface { - pulumi.Input - - ToGetPortsDatumEncapsulationOutput() GetPortsDatumEncapsulationOutput - ToGetPortsDatumEncapsulationOutputWithContext(context.Context) GetPortsDatumEncapsulationOutput +func (o GetRoutingProtocolChangeLogOutput) CreatedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChangeLog) string { return v.CreatedByEmail }).(pulumi.StringOutput) } -type GetPortsDatumEncapsulationArgs struct { - TagProtocolId pulumi.StringInput `pulumi:"tagProtocolId"` - Type pulumi.StringInput `pulumi:"type"` +func (o GetRoutingProtocolChangeLogOutput) CreatedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChangeLog) string { return v.CreatedByFullName }).(pulumi.StringOutput) } -func (GetPortsDatumEncapsulationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumEncapsulation)(nil)).Elem() +func (o GetRoutingProtocolChangeLogOutput) CreatedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChangeLog) string { return v.CreatedDateTime }).(pulumi.StringOutput) } -func (i GetPortsDatumEncapsulationArgs) ToGetPortsDatumEncapsulationOutput() GetPortsDatumEncapsulationOutput { - return i.ToGetPortsDatumEncapsulationOutputWithContext(context.Background()) +func (o GetRoutingProtocolChangeLogOutput) DeletedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChangeLog) string { return v.DeletedBy }).(pulumi.StringOutput) } -func (i GetPortsDatumEncapsulationArgs) ToGetPortsDatumEncapsulationOutputWithContext(ctx context.Context) GetPortsDatumEncapsulationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumEncapsulationOutput) +func (o GetRoutingProtocolChangeLogOutput) DeletedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChangeLog) string { return v.DeletedByEmail }).(pulumi.StringOutput) } -// GetPortsDatumEncapsulationArrayInput is an input type that accepts GetPortsDatumEncapsulationArray and GetPortsDatumEncapsulationArrayOutput values. -// You can construct a concrete instance of `GetPortsDatumEncapsulationArrayInput` via: -// -// GetPortsDatumEncapsulationArray{ GetPortsDatumEncapsulationArgs{...} } -type GetPortsDatumEncapsulationArrayInput interface { - pulumi.Input +func (o GetRoutingProtocolChangeLogOutput) DeletedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChangeLog) string { return v.DeletedByFullName }).(pulumi.StringOutput) +} - ToGetPortsDatumEncapsulationArrayOutput() GetPortsDatumEncapsulationArrayOutput - ToGetPortsDatumEncapsulationArrayOutputWithContext(context.Context) GetPortsDatumEncapsulationArrayOutput +func (o GetRoutingProtocolChangeLogOutput) DeletedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChangeLog) string { return v.DeletedDateTime }).(pulumi.StringOutput) } -type GetPortsDatumEncapsulationArray []GetPortsDatumEncapsulationInput +func (o GetRoutingProtocolChangeLogOutput) UpdatedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChangeLog) string { return v.UpdatedBy }).(pulumi.StringOutput) +} -func (GetPortsDatumEncapsulationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumEncapsulation)(nil)).Elem() +func (o GetRoutingProtocolChangeLogOutput) UpdatedByEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChangeLog) string { return v.UpdatedByEmail }).(pulumi.StringOutput) } -func (i GetPortsDatumEncapsulationArray) ToGetPortsDatumEncapsulationArrayOutput() GetPortsDatumEncapsulationArrayOutput { - return i.ToGetPortsDatumEncapsulationArrayOutputWithContext(context.Background()) +func (o GetRoutingProtocolChangeLogOutput) UpdatedByFullName() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChangeLog) string { return v.UpdatedByFullName }).(pulumi.StringOutput) } -func (i GetPortsDatumEncapsulationArray) ToGetPortsDatumEncapsulationArrayOutputWithContext(ctx context.Context) GetPortsDatumEncapsulationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumEncapsulationArrayOutput) +func (o GetRoutingProtocolChangeLogOutput) UpdatedDateTime() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolChangeLog) string { return v.UpdatedDateTime }).(pulumi.StringOutput) } -type GetPortsDatumEncapsulationOutput struct{ *pulumi.OutputState } +type GetRoutingProtocolChangeLogArrayOutput struct{ *pulumi.OutputState } -func (GetPortsDatumEncapsulationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumEncapsulation)(nil)).Elem() +func (GetRoutingProtocolChangeLogArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingProtocolChangeLog)(nil)).Elem() } -func (o GetPortsDatumEncapsulationOutput) ToGetPortsDatumEncapsulationOutput() GetPortsDatumEncapsulationOutput { +func (o GetRoutingProtocolChangeLogArrayOutput) ToGetRoutingProtocolChangeLogArrayOutput() GetRoutingProtocolChangeLogArrayOutput { return o } -func (o GetPortsDatumEncapsulationOutput) ToGetPortsDatumEncapsulationOutputWithContext(ctx context.Context) GetPortsDatumEncapsulationOutput { +func (o GetRoutingProtocolChangeLogArrayOutput) ToGetRoutingProtocolChangeLogArrayOutputWithContext(ctx context.Context) GetRoutingProtocolChangeLogArrayOutput { return o } -func (o GetPortsDatumEncapsulationOutput) TagProtocolId() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumEncapsulation) string { return v.TagProtocolId }).(pulumi.StringOutput) +func (o GetRoutingProtocolChangeLogArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetRoutingProtocolChangeLog] { + return pulumix.Output[[]GetRoutingProtocolChangeLog]{ + OutputState: o.OutputState, + } } -func (o GetPortsDatumEncapsulationOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumEncapsulation) string { return v.Type }).(pulumi.StringOutput) +func (o GetRoutingProtocolChangeLogArrayOutput) Index(i pulumi.IntInput) GetRoutingProtocolChangeLogOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRoutingProtocolChangeLog { + return vs[0].([]GetRoutingProtocolChangeLog)[vs[1].(int)] + }).(GetRoutingProtocolChangeLogOutput) } -type GetPortsDatumEncapsulationArrayOutput struct{ *pulumi.OutputState } - -func (GetPortsDatumEncapsulationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumEncapsulation)(nil)).Elem() +type GetRoutingProtocolDirectIpv4 struct { + // Equinix side Interface IP address + EquinixIfaceIp string `pulumi:"equinixIfaceIp"` } -func (o GetPortsDatumEncapsulationArrayOutput) ToGetPortsDatumEncapsulationArrayOutput() GetPortsDatumEncapsulationArrayOutput { - return o -} +// GetRoutingProtocolDirectIpv4Input is an input type that accepts GetRoutingProtocolDirectIpv4Args and GetRoutingProtocolDirectIpv4Output values. +// You can construct a concrete instance of `GetRoutingProtocolDirectIpv4Input` via: +// +// GetRoutingProtocolDirectIpv4Args{...} +type GetRoutingProtocolDirectIpv4Input interface { + pulumi.Input -func (o GetPortsDatumEncapsulationArrayOutput) ToGetPortsDatumEncapsulationArrayOutputWithContext(ctx context.Context) GetPortsDatumEncapsulationArrayOutput { - return o + ToGetRoutingProtocolDirectIpv4Output() GetRoutingProtocolDirectIpv4Output + ToGetRoutingProtocolDirectIpv4OutputWithContext(context.Context) GetRoutingProtocolDirectIpv4Output } -func (o GetPortsDatumEncapsulationArrayOutput) Index(i pulumi.IntInput) GetPortsDatumEncapsulationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumEncapsulation { - return vs[0].([]GetPortsDatumEncapsulation)[vs[1].(int)] - }).(GetPortsDatumEncapsulationOutput) +type GetRoutingProtocolDirectIpv4Args struct { + // Equinix side Interface IP address + EquinixIfaceIp pulumi.StringInput `pulumi:"equinixIfaceIp"` } -type GetPortsDatumLag struct { - Enabled bool `pulumi:"enabled"` - // The ID of this resource. - Id string `pulumi:"id"` - MemberStatus string `pulumi:"memberStatus"` - Name string `pulumi:"name"` +func (GetRoutingProtocolDirectIpv4Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolDirectIpv4)(nil)).Elem() } -// GetPortsDatumLagInput is an input type that accepts GetPortsDatumLagArgs and GetPortsDatumLagOutput values. -// You can construct a concrete instance of `GetPortsDatumLagInput` via: -// -// GetPortsDatumLagArgs{...} -type GetPortsDatumLagInput interface { - pulumi.Input - - ToGetPortsDatumLagOutput() GetPortsDatumLagOutput - ToGetPortsDatumLagOutputWithContext(context.Context) GetPortsDatumLagOutput +func (i GetRoutingProtocolDirectIpv4Args) ToGetRoutingProtocolDirectIpv4Output() GetRoutingProtocolDirectIpv4Output { + return i.ToGetRoutingProtocolDirectIpv4OutputWithContext(context.Background()) } -type GetPortsDatumLagArgs struct { - Enabled pulumi.BoolInput `pulumi:"enabled"` - // The ID of this resource. - Id pulumi.StringInput `pulumi:"id"` - MemberStatus pulumi.StringInput `pulumi:"memberStatus"` - Name pulumi.StringInput `pulumi:"name"` +func (i GetRoutingProtocolDirectIpv4Args) ToGetRoutingProtocolDirectIpv4OutputWithContext(ctx context.Context) GetRoutingProtocolDirectIpv4Output { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolDirectIpv4Output) } -func (GetPortsDatumLagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumLag)(nil)).Elem() +func (i GetRoutingProtocolDirectIpv4Args) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolDirectIpv4] { + return pulumix.Output[GetRoutingProtocolDirectIpv4]{ + OutputState: i.ToGetRoutingProtocolDirectIpv4OutputWithContext(ctx).OutputState, + } } -func (i GetPortsDatumLagArgs) ToGetPortsDatumLagOutput() GetPortsDatumLagOutput { - return i.ToGetPortsDatumLagOutputWithContext(context.Background()) +func (i GetRoutingProtocolDirectIpv4Args) ToGetRoutingProtocolDirectIpv4PtrOutput() GetRoutingProtocolDirectIpv4PtrOutput { + return i.ToGetRoutingProtocolDirectIpv4PtrOutputWithContext(context.Background()) } -func (i GetPortsDatumLagArgs) ToGetPortsDatumLagOutputWithContext(ctx context.Context) GetPortsDatumLagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumLagOutput) +func (i GetRoutingProtocolDirectIpv4Args) ToGetRoutingProtocolDirectIpv4PtrOutputWithContext(ctx context.Context) GetRoutingProtocolDirectIpv4PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolDirectIpv4Output).ToGetRoutingProtocolDirectIpv4PtrOutputWithContext(ctx) } -// GetPortsDatumLagArrayInput is an input type that accepts GetPortsDatumLagArray and GetPortsDatumLagArrayOutput values. -// You can construct a concrete instance of `GetPortsDatumLagArrayInput` via: +// GetRoutingProtocolDirectIpv4PtrInput is an input type that accepts GetRoutingProtocolDirectIpv4Args, GetRoutingProtocolDirectIpv4Ptr and GetRoutingProtocolDirectIpv4PtrOutput values. +// You can construct a concrete instance of `GetRoutingProtocolDirectIpv4PtrInput` via: +// +// GetRoutingProtocolDirectIpv4Args{...} +// +// or: // -// GetPortsDatumLagArray{ GetPortsDatumLagArgs{...} } -type GetPortsDatumLagArrayInput interface { +// nil +type GetRoutingProtocolDirectIpv4PtrInput interface { pulumi.Input - ToGetPortsDatumLagArrayOutput() GetPortsDatumLagArrayOutput - ToGetPortsDatumLagArrayOutputWithContext(context.Context) GetPortsDatumLagArrayOutput + ToGetRoutingProtocolDirectIpv4PtrOutput() GetRoutingProtocolDirectIpv4PtrOutput + ToGetRoutingProtocolDirectIpv4PtrOutputWithContext(context.Context) GetRoutingProtocolDirectIpv4PtrOutput +} + +type getRoutingProtocolDirectIpv4PtrType GetRoutingProtocolDirectIpv4Args + +func GetRoutingProtocolDirectIpv4Ptr(v *GetRoutingProtocolDirectIpv4Args) GetRoutingProtocolDirectIpv4PtrInput { + return (*getRoutingProtocolDirectIpv4PtrType)(v) } -type GetPortsDatumLagArray []GetPortsDatumLagInput +func (*getRoutingProtocolDirectIpv4PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetRoutingProtocolDirectIpv4)(nil)).Elem() +} -func (GetPortsDatumLagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumLag)(nil)).Elem() +func (i *getRoutingProtocolDirectIpv4PtrType) ToGetRoutingProtocolDirectIpv4PtrOutput() GetRoutingProtocolDirectIpv4PtrOutput { + return i.ToGetRoutingProtocolDirectIpv4PtrOutputWithContext(context.Background()) } -func (i GetPortsDatumLagArray) ToGetPortsDatumLagArrayOutput() GetPortsDatumLagArrayOutput { - return i.ToGetPortsDatumLagArrayOutputWithContext(context.Background()) +func (i *getRoutingProtocolDirectIpv4PtrType) ToGetRoutingProtocolDirectIpv4PtrOutputWithContext(ctx context.Context) GetRoutingProtocolDirectIpv4PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolDirectIpv4PtrOutput) } -func (i GetPortsDatumLagArray) ToGetPortsDatumLagArrayOutputWithContext(ctx context.Context) GetPortsDatumLagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumLagArrayOutput) +func (i *getRoutingProtocolDirectIpv4PtrType) ToOutput(ctx context.Context) pulumix.Output[*GetRoutingProtocolDirectIpv4] { + return pulumix.Output[*GetRoutingProtocolDirectIpv4]{ + OutputState: i.ToGetRoutingProtocolDirectIpv4PtrOutputWithContext(ctx).OutputState, + } } -type GetPortsDatumLagOutput struct{ *pulumi.OutputState } +type GetRoutingProtocolDirectIpv4Output struct{ *pulumi.OutputState } -func (GetPortsDatumLagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumLag)(nil)).Elem() +func (GetRoutingProtocolDirectIpv4Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolDirectIpv4)(nil)).Elem() } -func (o GetPortsDatumLagOutput) ToGetPortsDatumLagOutput() GetPortsDatumLagOutput { +func (o GetRoutingProtocolDirectIpv4Output) ToGetRoutingProtocolDirectIpv4Output() GetRoutingProtocolDirectIpv4Output { return o } -func (o GetPortsDatumLagOutput) ToGetPortsDatumLagOutputWithContext(ctx context.Context) GetPortsDatumLagOutput { +func (o GetRoutingProtocolDirectIpv4Output) ToGetRoutingProtocolDirectIpv4OutputWithContext(ctx context.Context) GetRoutingProtocolDirectIpv4Output { return o } -func (o GetPortsDatumLagOutput) Enabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetPortsDatumLag) bool { return v.Enabled }).(pulumi.BoolOutput) +func (o GetRoutingProtocolDirectIpv4Output) ToGetRoutingProtocolDirectIpv4PtrOutput() GetRoutingProtocolDirectIpv4PtrOutput { + return o.ToGetRoutingProtocolDirectIpv4PtrOutputWithContext(context.Background()) } -// The ID of this resource. -func (o GetPortsDatumLagOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumLag) string { return v.Id }).(pulumi.StringOutput) +func (o GetRoutingProtocolDirectIpv4Output) ToGetRoutingProtocolDirectIpv4PtrOutputWithContext(ctx context.Context) GetRoutingProtocolDirectIpv4PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetRoutingProtocolDirectIpv4) *GetRoutingProtocolDirectIpv4 { + return &v + }).(GetRoutingProtocolDirectIpv4PtrOutput) } -func (o GetPortsDatumLagOutput) MemberStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumLag) string { return v.MemberStatus }).(pulumi.StringOutput) +func (o GetRoutingProtocolDirectIpv4Output) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolDirectIpv4] { + return pulumix.Output[GetRoutingProtocolDirectIpv4]{ + OutputState: o.OutputState, + } } -func (o GetPortsDatumLagOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumLag) string { return v.Name }).(pulumi.StringOutput) +// Equinix side Interface IP address +func (o GetRoutingProtocolDirectIpv4Output) EquinixIfaceIp() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolDirectIpv4) string { return v.EquinixIfaceIp }).(pulumi.StringOutput) } -type GetPortsDatumLagArrayOutput struct{ *pulumi.OutputState } +type GetRoutingProtocolDirectIpv4PtrOutput struct{ *pulumi.OutputState } -func (GetPortsDatumLagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumLag)(nil)).Elem() +func (GetRoutingProtocolDirectIpv4PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetRoutingProtocolDirectIpv4)(nil)).Elem() } -func (o GetPortsDatumLagArrayOutput) ToGetPortsDatumLagArrayOutput() GetPortsDatumLagArrayOutput { +func (o GetRoutingProtocolDirectIpv4PtrOutput) ToGetRoutingProtocolDirectIpv4PtrOutput() GetRoutingProtocolDirectIpv4PtrOutput { return o } -func (o GetPortsDatumLagArrayOutput) ToGetPortsDatumLagArrayOutputWithContext(ctx context.Context) GetPortsDatumLagArrayOutput { +func (o GetRoutingProtocolDirectIpv4PtrOutput) ToGetRoutingProtocolDirectIpv4PtrOutputWithContext(ctx context.Context) GetRoutingProtocolDirectIpv4PtrOutput { return o } -func (o GetPortsDatumLagArrayOutput) Index(i pulumi.IntInput) GetPortsDatumLagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumLag { - return vs[0].([]GetPortsDatumLag)[vs[1].(int)] - }).(GetPortsDatumLagOutput) +func (o GetRoutingProtocolDirectIpv4PtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetRoutingProtocolDirectIpv4] { + return pulumix.Output[*GetRoutingProtocolDirectIpv4]{ + OutputState: o.OutputState, + } } -type GetPortsDatumLocation struct { - Href string `pulumi:"href"` - Ibx string `pulumi:"ibx"` - MetroCode string `pulumi:"metroCode"` - MetroName string `pulumi:"metroName"` - Region string `pulumi:"region"` +func (o GetRoutingProtocolDirectIpv4PtrOutput) Elem() GetRoutingProtocolDirectIpv4Output { + return o.ApplyT(func(v *GetRoutingProtocolDirectIpv4) GetRoutingProtocolDirectIpv4 { + if v != nil { + return *v + } + var ret GetRoutingProtocolDirectIpv4 + return ret + }).(GetRoutingProtocolDirectIpv4Output) } -// GetPortsDatumLocationInput is an input type that accepts GetPortsDatumLocationArgs and GetPortsDatumLocationOutput values. -// You can construct a concrete instance of `GetPortsDatumLocationInput` via: +// Equinix side Interface IP address +func (o GetRoutingProtocolDirectIpv4PtrOutput) EquinixIfaceIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetRoutingProtocolDirectIpv4) *string { + if v == nil { + return nil + } + return &v.EquinixIfaceIp + }).(pulumi.StringPtrOutput) +} + +type GetRoutingProtocolDirectIpv6 struct { + // Equinix side Interface IP address + EquinixIfaceIp *string `pulumi:"equinixIfaceIp"` +} + +// GetRoutingProtocolDirectIpv6Input is an input type that accepts GetRoutingProtocolDirectIpv6Args and GetRoutingProtocolDirectIpv6Output values. +// You can construct a concrete instance of `GetRoutingProtocolDirectIpv6Input` via: // -// GetPortsDatumLocationArgs{...} -type GetPortsDatumLocationInput interface { +// GetRoutingProtocolDirectIpv6Args{...} +type GetRoutingProtocolDirectIpv6Input interface { pulumi.Input - ToGetPortsDatumLocationOutput() GetPortsDatumLocationOutput - ToGetPortsDatumLocationOutputWithContext(context.Context) GetPortsDatumLocationOutput + ToGetRoutingProtocolDirectIpv6Output() GetRoutingProtocolDirectIpv6Output + ToGetRoutingProtocolDirectIpv6OutputWithContext(context.Context) GetRoutingProtocolDirectIpv6Output } -type GetPortsDatumLocationArgs struct { - Href pulumi.StringInput `pulumi:"href"` - Ibx pulumi.StringInput `pulumi:"ibx"` - MetroCode pulumi.StringInput `pulumi:"metroCode"` - MetroName pulumi.StringInput `pulumi:"metroName"` - Region pulumi.StringInput `pulumi:"region"` +type GetRoutingProtocolDirectIpv6Args struct { + // Equinix side Interface IP address + EquinixIfaceIp pulumi.StringPtrInput `pulumi:"equinixIfaceIp"` } -func (GetPortsDatumLocationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumLocation)(nil)).Elem() +func (GetRoutingProtocolDirectIpv6Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolDirectIpv6)(nil)).Elem() } -func (i GetPortsDatumLocationArgs) ToGetPortsDatumLocationOutput() GetPortsDatumLocationOutput { - return i.ToGetPortsDatumLocationOutputWithContext(context.Background()) +func (i GetRoutingProtocolDirectIpv6Args) ToGetRoutingProtocolDirectIpv6Output() GetRoutingProtocolDirectIpv6Output { + return i.ToGetRoutingProtocolDirectIpv6OutputWithContext(context.Background()) } -func (i GetPortsDatumLocationArgs) ToGetPortsDatumLocationOutputWithContext(ctx context.Context) GetPortsDatumLocationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumLocationOutput) +func (i GetRoutingProtocolDirectIpv6Args) ToGetRoutingProtocolDirectIpv6OutputWithContext(ctx context.Context) GetRoutingProtocolDirectIpv6Output { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolDirectIpv6Output) } -// GetPortsDatumLocationArrayInput is an input type that accepts GetPortsDatumLocationArray and GetPortsDatumLocationArrayOutput values. -// You can construct a concrete instance of `GetPortsDatumLocationArrayInput` via: +func (i GetRoutingProtocolDirectIpv6Args) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolDirectIpv6] { + return pulumix.Output[GetRoutingProtocolDirectIpv6]{ + OutputState: i.ToGetRoutingProtocolDirectIpv6OutputWithContext(ctx).OutputState, + } +} + +func (i GetRoutingProtocolDirectIpv6Args) ToGetRoutingProtocolDirectIpv6PtrOutput() GetRoutingProtocolDirectIpv6PtrOutput { + return i.ToGetRoutingProtocolDirectIpv6PtrOutputWithContext(context.Background()) +} + +func (i GetRoutingProtocolDirectIpv6Args) ToGetRoutingProtocolDirectIpv6PtrOutputWithContext(ctx context.Context) GetRoutingProtocolDirectIpv6PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolDirectIpv6Output).ToGetRoutingProtocolDirectIpv6PtrOutputWithContext(ctx) +} + +// GetRoutingProtocolDirectIpv6PtrInput is an input type that accepts GetRoutingProtocolDirectIpv6Args, GetRoutingProtocolDirectIpv6Ptr and GetRoutingProtocolDirectIpv6PtrOutput values. +// You can construct a concrete instance of `GetRoutingProtocolDirectIpv6PtrInput` via: // -// GetPortsDatumLocationArray{ GetPortsDatumLocationArgs{...} } -type GetPortsDatumLocationArrayInput interface { +// GetRoutingProtocolDirectIpv6Args{...} +// +// or: +// +// nil +type GetRoutingProtocolDirectIpv6PtrInput interface { pulumi.Input - ToGetPortsDatumLocationArrayOutput() GetPortsDatumLocationArrayOutput - ToGetPortsDatumLocationArrayOutputWithContext(context.Context) GetPortsDatumLocationArrayOutput + ToGetRoutingProtocolDirectIpv6PtrOutput() GetRoutingProtocolDirectIpv6PtrOutput + ToGetRoutingProtocolDirectIpv6PtrOutputWithContext(context.Context) GetRoutingProtocolDirectIpv6PtrOutput } -type GetPortsDatumLocationArray []GetPortsDatumLocationInput +type getRoutingProtocolDirectIpv6PtrType GetRoutingProtocolDirectIpv6Args -func (GetPortsDatumLocationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumLocation)(nil)).Elem() +func GetRoutingProtocolDirectIpv6Ptr(v *GetRoutingProtocolDirectIpv6Args) GetRoutingProtocolDirectIpv6PtrInput { + return (*getRoutingProtocolDirectIpv6PtrType)(v) } -func (i GetPortsDatumLocationArray) ToGetPortsDatumLocationArrayOutput() GetPortsDatumLocationArrayOutput { - return i.ToGetPortsDatumLocationArrayOutputWithContext(context.Background()) +func (*getRoutingProtocolDirectIpv6PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetRoutingProtocolDirectIpv6)(nil)).Elem() } -func (i GetPortsDatumLocationArray) ToGetPortsDatumLocationArrayOutputWithContext(ctx context.Context) GetPortsDatumLocationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumLocationArrayOutput) +func (i *getRoutingProtocolDirectIpv6PtrType) ToGetRoutingProtocolDirectIpv6PtrOutput() GetRoutingProtocolDirectIpv6PtrOutput { + return i.ToGetRoutingProtocolDirectIpv6PtrOutputWithContext(context.Background()) } -type GetPortsDatumLocationOutput struct{ *pulumi.OutputState } +func (i *getRoutingProtocolDirectIpv6PtrType) ToGetRoutingProtocolDirectIpv6PtrOutputWithContext(ctx context.Context) GetRoutingProtocolDirectIpv6PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolDirectIpv6PtrOutput) +} -func (GetPortsDatumLocationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumLocation)(nil)).Elem() +func (i *getRoutingProtocolDirectIpv6PtrType) ToOutput(ctx context.Context) pulumix.Output[*GetRoutingProtocolDirectIpv6] { + return pulumix.Output[*GetRoutingProtocolDirectIpv6]{ + OutputState: i.ToGetRoutingProtocolDirectIpv6PtrOutputWithContext(ctx).OutputState, + } } -func (o GetPortsDatumLocationOutput) ToGetPortsDatumLocationOutput() GetPortsDatumLocationOutput { - return o +type GetRoutingProtocolDirectIpv6Output struct{ *pulumi.OutputState } + +func (GetRoutingProtocolDirectIpv6Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolDirectIpv6)(nil)).Elem() } -func (o GetPortsDatumLocationOutput) ToGetPortsDatumLocationOutputWithContext(ctx context.Context) GetPortsDatumLocationOutput { +func (o GetRoutingProtocolDirectIpv6Output) ToGetRoutingProtocolDirectIpv6Output() GetRoutingProtocolDirectIpv6Output { return o } -func (o GetPortsDatumLocationOutput) Href() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumLocation) string { return v.Href }).(pulumi.StringOutput) +func (o GetRoutingProtocolDirectIpv6Output) ToGetRoutingProtocolDirectIpv6OutputWithContext(ctx context.Context) GetRoutingProtocolDirectIpv6Output { + return o } - -func (o GetPortsDatumLocationOutput) Ibx() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumLocation) string { return v.Ibx }).(pulumi.StringOutput) + +func (o GetRoutingProtocolDirectIpv6Output) ToGetRoutingProtocolDirectIpv6PtrOutput() GetRoutingProtocolDirectIpv6PtrOutput { + return o.ToGetRoutingProtocolDirectIpv6PtrOutputWithContext(context.Background()) } -func (o GetPortsDatumLocationOutput) MetroCode() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumLocation) string { return v.MetroCode }).(pulumi.StringOutput) +func (o GetRoutingProtocolDirectIpv6Output) ToGetRoutingProtocolDirectIpv6PtrOutputWithContext(ctx context.Context) GetRoutingProtocolDirectIpv6PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetRoutingProtocolDirectIpv6) *GetRoutingProtocolDirectIpv6 { + return &v + }).(GetRoutingProtocolDirectIpv6PtrOutput) } -func (o GetPortsDatumLocationOutput) MetroName() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumLocation) string { return v.MetroName }).(pulumi.StringOutput) +func (o GetRoutingProtocolDirectIpv6Output) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolDirectIpv6] { + return pulumix.Output[GetRoutingProtocolDirectIpv6]{ + OutputState: o.OutputState, + } } -func (o GetPortsDatumLocationOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumLocation) string { return v.Region }).(pulumi.StringOutput) +// Equinix side Interface IP address +func (o GetRoutingProtocolDirectIpv6Output) EquinixIfaceIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRoutingProtocolDirectIpv6) *string { return v.EquinixIfaceIp }).(pulumi.StringPtrOutput) } -type GetPortsDatumLocationArrayOutput struct{ *pulumi.OutputState } +type GetRoutingProtocolDirectIpv6PtrOutput struct{ *pulumi.OutputState } -func (GetPortsDatumLocationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumLocation)(nil)).Elem() +func (GetRoutingProtocolDirectIpv6PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetRoutingProtocolDirectIpv6)(nil)).Elem() } -func (o GetPortsDatumLocationArrayOutput) ToGetPortsDatumLocationArrayOutput() GetPortsDatumLocationArrayOutput { +func (o GetRoutingProtocolDirectIpv6PtrOutput) ToGetRoutingProtocolDirectIpv6PtrOutput() GetRoutingProtocolDirectIpv6PtrOutput { return o } -func (o GetPortsDatumLocationArrayOutput) ToGetPortsDatumLocationArrayOutputWithContext(ctx context.Context) GetPortsDatumLocationArrayOutput { +func (o GetRoutingProtocolDirectIpv6PtrOutput) ToGetRoutingProtocolDirectIpv6PtrOutputWithContext(ctx context.Context) GetRoutingProtocolDirectIpv6PtrOutput { return o } -func (o GetPortsDatumLocationArrayOutput) Index(i pulumi.IntInput) GetPortsDatumLocationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumLocation { - return vs[0].([]GetPortsDatumLocation)[vs[1].(int)] - }).(GetPortsDatumLocationOutput) +func (o GetRoutingProtocolDirectIpv6PtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetRoutingProtocolDirectIpv6] { + return pulumix.Output[*GetRoutingProtocolDirectIpv6]{ + OutputState: o.OutputState, + } } -type GetPortsDatumOperation struct { - ConnectionCount int `pulumi:"connectionCount"` - OpStatusChangedAt string `pulumi:"opStatusChangedAt"` - OperationalStatus string `pulumi:"operationalStatus"` +func (o GetRoutingProtocolDirectIpv6PtrOutput) Elem() GetRoutingProtocolDirectIpv6Output { + return o.ApplyT(func(v *GetRoutingProtocolDirectIpv6) GetRoutingProtocolDirectIpv6 { + if v != nil { + return *v + } + var ret GetRoutingProtocolDirectIpv6 + return ret + }).(GetRoutingProtocolDirectIpv6Output) } -// GetPortsDatumOperationInput is an input type that accepts GetPortsDatumOperationArgs and GetPortsDatumOperationOutput values. -// You can construct a concrete instance of `GetPortsDatumOperationInput` via: +// Equinix side Interface IP address +func (o GetRoutingProtocolDirectIpv6PtrOutput) EquinixIfaceIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetRoutingProtocolDirectIpv6) *string { + if v == nil { + return nil + } + return v.EquinixIfaceIp + }).(pulumi.StringPtrOutput) +} + +type GetRoutingProtocolOperation struct { + Errors []GetRoutingProtocolOperationError `pulumi:"errors"` +} + +// GetRoutingProtocolOperationInput is an input type that accepts GetRoutingProtocolOperationArgs and GetRoutingProtocolOperationOutput values. +// You can construct a concrete instance of `GetRoutingProtocolOperationInput` via: // -// GetPortsDatumOperationArgs{...} -type GetPortsDatumOperationInput interface { +// GetRoutingProtocolOperationArgs{...} +type GetRoutingProtocolOperationInput interface { pulumi.Input - ToGetPortsDatumOperationOutput() GetPortsDatumOperationOutput - ToGetPortsDatumOperationOutputWithContext(context.Context) GetPortsDatumOperationOutput + ToGetRoutingProtocolOperationOutput() GetRoutingProtocolOperationOutput + ToGetRoutingProtocolOperationOutputWithContext(context.Context) GetRoutingProtocolOperationOutput } -type GetPortsDatumOperationArgs struct { - ConnectionCount pulumi.IntInput `pulumi:"connectionCount"` - OpStatusChangedAt pulumi.StringInput `pulumi:"opStatusChangedAt"` - OperationalStatus pulumi.StringInput `pulumi:"operationalStatus"` +type GetRoutingProtocolOperationArgs struct { + Errors GetRoutingProtocolOperationErrorArrayInput `pulumi:"errors"` } -func (GetPortsDatumOperationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumOperation)(nil)).Elem() +func (GetRoutingProtocolOperationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolOperation)(nil)).Elem() } -func (i GetPortsDatumOperationArgs) ToGetPortsDatumOperationOutput() GetPortsDatumOperationOutput { - return i.ToGetPortsDatumOperationOutputWithContext(context.Background()) +func (i GetRoutingProtocolOperationArgs) ToGetRoutingProtocolOperationOutput() GetRoutingProtocolOperationOutput { + return i.ToGetRoutingProtocolOperationOutputWithContext(context.Background()) } -func (i GetPortsDatumOperationArgs) ToGetPortsDatumOperationOutputWithContext(ctx context.Context) GetPortsDatumOperationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumOperationOutput) +func (i GetRoutingProtocolOperationArgs) ToGetRoutingProtocolOperationOutputWithContext(ctx context.Context) GetRoutingProtocolOperationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolOperationOutput) } -// GetPortsDatumOperationArrayInput is an input type that accepts GetPortsDatumOperationArray and GetPortsDatumOperationArrayOutput values. -// You can construct a concrete instance of `GetPortsDatumOperationArrayInput` via: +func (i GetRoutingProtocolOperationArgs) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolOperation] { + return pulumix.Output[GetRoutingProtocolOperation]{ + OutputState: i.ToGetRoutingProtocolOperationOutputWithContext(ctx).OutputState, + } +} + +// GetRoutingProtocolOperationArrayInput is an input type that accepts GetRoutingProtocolOperationArray and GetRoutingProtocolOperationArrayOutput values. +// You can construct a concrete instance of `GetRoutingProtocolOperationArrayInput` via: // -// GetPortsDatumOperationArray{ GetPortsDatumOperationArgs{...} } -type GetPortsDatumOperationArrayInput interface { +// GetRoutingProtocolOperationArray{ GetRoutingProtocolOperationArgs{...} } +type GetRoutingProtocolOperationArrayInput interface { pulumi.Input - ToGetPortsDatumOperationArrayOutput() GetPortsDatumOperationArrayOutput - ToGetPortsDatumOperationArrayOutputWithContext(context.Context) GetPortsDatumOperationArrayOutput + ToGetRoutingProtocolOperationArrayOutput() GetRoutingProtocolOperationArrayOutput + ToGetRoutingProtocolOperationArrayOutputWithContext(context.Context) GetRoutingProtocolOperationArrayOutput } -type GetPortsDatumOperationArray []GetPortsDatumOperationInput +type GetRoutingProtocolOperationArray []GetRoutingProtocolOperationInput -func (GetPortsDatumOperationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumOperation)(nil)).Elem() +func (GetRoutingProtocolOperationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingProtocolOperation)(nil)).Elem() } -func (i GetPortsDatumOperationArray) ToGetPortsDatumOperationArrayOutput() GetPortsDatumOperationArrayOutput { - return i.ToGetPortsDatumOperationArrayOutputWithContext(context.Background()) +func (i GetRoutingProtocolOperationArray) ToGetRoutingProtocolOperationArrayOutput() GetRoutingProtocolOperationArrayOutput { + return i.ToGetRoutingProtocolOperationArrayOutputWithContext(context.Background()) } -func (i GetPortsDatumOperationArray) ToGetPortsDatumOperationArrayOutputWithContext(ctx context.Context) GetPortsDatumOperationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumOperationArrayOutput) +func (i GetRoutingProtocolOperationArray) ToGetRoutingProtocolOperationArrayOutputWithContext(ctx context.Context) GetRoutingProtocolOperationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolOperationArrayOutput) } -type GetPortsDatumOperationOutput struct{ *pulumi.OutputState } - -func (GetPortsDatumOperationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumOperation)(nil)).Elem() +func (i GetRoutingProtocolOperationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetRoutingProtocolOperation] { + return pulumix.Output[[]GetRoutingProtocolOperation]{ + OutputState: i.ToGetRoutingProtocolOperationArrayOutputWithContext(ctx).OutputState, + } } -func (o GetPortsDatumOperationOutput) ToGetPortsDatumOperationOutput() GetPortsDatumOperationOutput { - return o +type GetRoutingProtocolOperationOutput struct{ *pulumi.OutputState } + +func (GetRoutingProtocolOperationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolOperation)(nil)).Elem() } -func (o GetPortsDatumOperationOutput) ToGetPortsDatumOperationOutputWithContext(ctx context.Context) GetPortsDatumOperationOutput { +func (o GetRoutingProtocolOperationOutput) ToGetRoutingProtocolOperationOutput() GetRoutingProtocolOperationOutput { return o } -func (o GetPortsDatumOperationOutput) ConnectionCount() pulumi.IntOutput { - return o.ApplyT(func(v GetPortsDatumOperation) int { return v.ConnectionCount }).(pulumi.IntOutput) +func (o GetRoutingProtocolOperationOutput) ToGetRoutingProtocolOperationOutputWithContext(ctx context.Context) GetRoutingProtocolOperationOutput { + return o } -func (o GetPortsDatumOperationOutput) OpStatusChangedAt() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumOperation) string { return v.OpStatusChangedAt }).(pulumi.StringOutput) +func (o GetRoutingProtocolOperationOutput) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolOperation] { + return pulumix.Output[GetRoutingProtocolOperation]{ + OutputState: o.OutputState, + } } -func (o GetPortsDatumOperationOutput) OperationalStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumOperation) string { return v.OperationalStatus }).(pulumi.StringOutput) +func (o GetRoutingProtocolOperationOutput) Errors() GetRoutingProtocolOperationErrorArrayOutput { + return o.ApplyT(func(v GetRoutingProtocolOperation) []GetRoutingProtocolOperationError { return v.Errors }).(GetRoutingProtocolOperationErrorArrayOutput) } -type GetPortsDatumOperationArrayOutput struct{ *pulumi.OutputState } +type GetRoutingProtocolOperationArrayOutput struct{ *pulumi.OutputState } -func (GetPortsDatumOperationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumOperation)(nil)).Elem() +func (GetRoutingProtocolOperationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingProtocolOperation)(nil)).Elem() } -func (o GetPortsDatumOperationArrayOutput) ToGetPortsDatumOperationArrayOutput() GetPortsDatumOperationArrayOutput { +func (o GetRoutingProtocolOperationArrayOutput) ToGetRoutingProtocolOperationArrayOutput() GetRoutingProtocolOperationArrayOutput { return o } -func (o GetPortsDatumOperationArrayOutput) ToGetPortsDatumOperationArrayOutputWithContext(ctx context.Context) GetPortsDatumOperationArrayOutput { +func (o GetRoutingProtocolOperationArrayOutput) ToGetRoutingProtocolOperationArrayOutputWithContext(ctx context.Context) GetRoutingProtocolOperationArrayOutput { return o } -func (o GetPortsDatumOperationArrayOutput) Index(i pulumi.IntInput) GetPortsDatumOperationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumOperation { - return vs[0].([]GetPortsDatumOperation)[vs[1].(int)] - }).(GetPortsDatumOperationOutput) +func (o GetRoutingProtocolOperationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetRoutingProtocolOperation] { + return pulumix.Output[[]GetRoutingProtocolOperation]{ + OutputState: o.OutputState, + } } -type GetPortsDatumRedundancy struct { - Enabled bool `pulumi:"enabled"` - Group int `pulumi:"group"` - Priority string `pulumi:"priority"` +func (o GetRoutingProtocolOperationArrayOutput) Index(i pulumi.IntInput) GetRoutingProtocolOperationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRoutingProtocolOperation { + return vs[0].([]GetRoutingProtocolOperation)[vs[1].(int)] + }).(GetRoutingProtocolOperationOutput) } -// GetPortsDatumRedundancyInput is an input type that accepts GetPortsDatumRedundancyArgs and GetPortsDatumRedundancyOutput values. -// You can construct a concrete instance of `GetPortsDatumRedundancyInput` via: +type GetRoutingProtocolOperationError struct { + AdditionalInfos []GetRoutingProtocolOperationErrorAdditionalInfo `pulumi:"additionalInfos"` + CorrelationId string `pulumi:"correlationId"` + Details string `pulumi:"details"` + ErrorCode string `pulumi:"errorCode"` + ErrorMessage string `pulumi:"errorMessage"` + Help string `pulumi:"help"` +} + +// GetRoutingProtocolOperationErrorInput is an input type that accepts GetRoutingProtocolOperationErrorArgs and GetRoutingProtocolOperationErrorOutput values. +// You can construct a concrete instance of `GetRoutingProtocolOperationErrorInput` via: // -// GetPortsDatumRedundancyArgs{...} -type GetPortsDatumRedundancyInput interface { +// GetRoutingProtocolOperationErrorArgs{...} +type GetRoutingProtocolOperationErrorInput interface { pulumi.Input - ToGetPortsDatumRedundancyOutput() GetPortsDatumRedundancyOutput - ToGetPortsDatumRedundancyOutputWithContext(context.Context) GetPortsDatumRedundancyOutput + ToGetRoutingProtocolOperationErrorOutput() GetRoutingProtocolOperationErrorOutput + ToGetRoutingProtocolOperationErrorOutputWithContext(context.Context) GetRoutingProtocolOperationErrorOutput } -type GetPortsDatumRedundancyArgs struct { - Enabled pulumi.BoolInput `pulumi:"enabled"` - Group pulumi.IntInput `pulumi:"group"` - Priority pulumi.StringInput `pulumi:"priority"` +type GetRoutingProtocolOperationErrorArgs struct { + AdditionalInfos GetRoutingProtocolOperationErrorAdditionalInfoArrayInput `pulumi:"additionalInfos"` + CorrelationId pulumi.StringInput `pulumi:"correlationId"` + Details pulumi.StringInput `pulumi:"details"` + ErrorCode pulumi.StringInput `pulumi:"errorCode"` + ErrorMessage pulumi.StringInput `pulumi:"errorMessage"` + Help pulumi.StringInput `pulumi:"help"` } -func (GetPortsDatumRedundancyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumRedundancy)(nil)).Elem() +func (GetRoutingProtocolOperationErrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolOperationError)(nil)).Elem() } -func (i GetPortsDatumRedundancyArgs) ToGetPortsDatumRedundancyOutput() GetPortsDatumRedundancyOutput { - return i.ToGetPortsDatumRedundancyOutputWithContext(context.Background()) +func (i GetRoutingProtocolOperationErrorArgs) ToGetRoutingProtocolOperationErrorOutput() GetRoutingProtocolOperationErrorOutput { + return i.ToGetRoutingProtocolOperationErrorOutputWithContext(context.Background()) } -func (i GetPortsDatumRedundancyArgs) ToGetPortsDatumRedundancyOutputWithContext(ctx context.Context) GetPortsDatumRedundancyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumRedundancyOutput) +func (i GetRoutingProtocolOperationErrorArgs) ToGetRoutingProtocolOperationErrorOutputWithContext(ctx context.Context) GetRoutingProtocolOperationErrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolOperationErrorOutput) } -// GetPortsDatumRedundancyArrayInput is an input type that accepts GetPortsDatumRedundancyArray and GetPortsDatumRedundancyArrayOutput values. -// You can construct a concrete instance of `GetPortsDatumRedundancyArrayInput` via: +func (i GetRoutingProtocolOperationErrorArgs) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolOperationError] { + return pulumix.Output[GetRoutingProtocolOperationError]{ + OutputState: i.ToGetRoutingProtocolOperationErrorOutputWithContext(ctx).OutputState, + } +} + +// GetRoutingProtocolOperationErrorArrayInput is an input type that accepts GetRoutingProtocolOperationErrorArray and GetRoutingProtocolOperationErrorArrayOutput values. +// You can construct a concrete instance of `GetRoutingProtocolOperationErrorArrayInput` via: // -// GetPortsDatumRedundancyArray{ GetPortsDatumRedundancyArgs{...} } -type GetPortsDatumRedundancyArrayInput interface { +// GetRoutingProtocolOperationErrorArray{ GetRoutingProtocolOperationErrorArgs{...} } +type GetRoutingProtocolOperationErrorArrayInput interface { pulumi.Input - ToGetPortsDatumRedundancyArrayOutput() GetPortsDatumRedundancyArrayOutput - ToGetPortsDatumRedundancyArrayOutputWithContext(context.Context) GetPortsDatumRedundancyArrayOutput + ToGetRoutingProtocolOperationErrorArrayOutput() GetRoutingProtocolOperationErrorArrayOutput + ToGetRoutingProtocolOperationErrorArrayOutputWithContext(context.Context) GetRoutingProtocolOperationErrorArrayOutput } -type GetPortsDatumRedundancyArray []GetPortsDatumRedundancyInput +type GetRoutingProtocolOperationErrorArray []GetRoutingProtocolOperationErrorInput -func (GetPortsDatumRedundancyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumRedundancy)(nil)).Elem() +func (GetRoutingProtocolOperationErrorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingProtocolOperationError)(nil)).Elem() } -func (i GetPortsDatumRedundancyArray) ToGetPortsDatumRedundancyArrayOutput() GetPortsDatumRedundancyArrayOutput { - return i.ToGetPortsDatumRedundancyArrayOutputWithContext(context.Background()) +func (i GetRoutingProtocolOperationErrorArray) ToGetRoutingProtocolOperationErrorArrayOutput() GetRoutingProtocolOperationErrorArrayOutput { + return i.ToGetRoutingProtocolOperationErrorArrayOutputWithContext(context.Background()) } -func (i GetPortsDatumRedundancyArray) ToGetPortsDatumRedundancyArrayOutputWithContext(ctx context.Context) GetPortsDatumRedundancyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsDatumRedundancyArrayOutput) +func (i GetRoutingProtocolOperationErrorArray) ToGetRoutingProtocolOperationErrorArrayOutputWithContext(ctx context.Context) GetRoutingProtocolOperationErrorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolOperationErrorArrayOutput) } -type GetPortsDatumRedundancyOutput struct{ *pulumi.OutputState } +func (i GetRoutingProtocolOperationErrorArray) ToOutput(ctx context.Context) pulumix.Output[[]GetRoutingProtocolOperationError] { + return pulumix.Output[[]GetRoutingProtocolOperationError]{ + OutputState: i.ToGetRoutingProtocolOperationErrorArrayOutputWithContext(ctx).OutputState, + } +} -func (GetPortsDatumRedundancyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsDatumRedundancy)(nil)).Elem() +type GetRoutingProtocolOperationErrorOutput struct{ *pulumi.OutputState } + +func (GetRoutingProtocolOperationErrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolOperationError)(nil)).Elem() } -func (o GetPortsDatumRedundancyOutput) ToGetPortsDatumRedundancyOutput() GetPortsDatumRedundancyOutput { +func (o GetRoutingProtocolOperationErrorOutput) ToGetRoutingProtocolOperationErrorOutput() GetRoutingProtocolOperationErrorOutput { return o } -func (o GetPortsDatumRedundancyOutput) ToGetPortsDatumRedundancyOutputWithContext(ctx context.Context) GetPortsDatumRedundancyOutput { +func (o GetRoutingProtocolOperationErrorOutput) ToGetRoutingProtocolOperationErrorOutputWithContext(ctx context.Context) GetRoutingProtocolOperationErrorOutput { return o } -func (o GetPortsDatumRedundancyOutput) Enabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetPortsDatumRedundancy) bool { return v.Enabled }).(pulumi.BoolOutput) +func (o GetRoutingProtocolOperationErrorOutput) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolOperationError] { + return pulumix.Output[GetRoutingProtocolOperationError]{ + OutputState: o.OutputState, + } } -func (o GetPortsDatumRedundancyOutput) Group() pulumi.IntOutput { - return o.ApplyT(func(v GetPortsDatumRedundancy) int { return v.Group }).(pulumi.IntOutput) +func (o GetRoutingProtocolOperationErrorOutput) AdditionalInfos() GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput { + return o.ApplyT(func(v GetRoutingProtocolOperationError) []GetRoutingProtocolOperationErrorAdditionalInfo { + return v.AdditionalInfos + }).(GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput) } -func (o GetPortsDatumRedundancyOutput) Priority() pulumi.StringOutput { - return o.ApplyT(func(v GetPortsDatumRedundancy) string { return v.Priority }).(pulumi.StringOutput) +func (o GetRoutingProtocolOperationErrorOutput) CorrelationId() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolOperationError) string { return v.CorrelationId }).(pulumi.StringOutput) } -type GetPortsDatumRedundancyArrayOutput struct{ *pulumi.OutputState } +func (o GetRoutingProtocolOperationErrorOutput) Details() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolOperationError) string { return v.Details }).(pulumi.StringOutput) +} -func (GetPortsDatumRedundancyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPortsDatumRedundancy)(nil)).Elem() +func (o GetRoutingProtocolOperationErrorOutput) ErrorCode() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolOperationError) string { return v.ErrorCode }).(pulumi.StringOutput) } -func (o GetPortsDatumRedundancyArrayOutput) ToGetPortsDatumRedundancyArrayOutput() GetPortsDatumRedundancyArrayOutput { +func (o GetRoutingProtocolOperationErrorOutput) ErrorMessage() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolOperationError) string { return v.ErrorMessage }).(pulumi.StringOutput) +} + +func (o GetRoutingProtocolOperationErrorOutput) Help() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolOperationError) string { return v.Help }).(pulumi.StringOutput) +} + +type GetRoutingProtocolOperationErrorArrayOutput struct{ *pulumi.OutputState } + +func (GetRoutingProtocolOperationErrorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingProtocolOperationError)(nil)).Elem() +} + +func (o GetRoutingProtocolOperationErrorArrayOutput) ToGetRoutingProtocolOperationErrorArrayOutput() GetRoutingProtocolOperationErrorArrayOutput { return o } -func (o GetPortsDatumRedundancyArrayOutput) ToGetPortsDatumRedundancyArrayOutputWithContext(ctx context.Context) GetPortsDatumRedundancyArrayOutput { +func (o GetRoutingProtocolOperationErrorArrayOutput) ToGetRoutingProtocolOperationErrorArrayOutputWithContext(ctx context.Context) GetRoutingProtocolOperationErrorArrayOutput { return o } -func (o GetPortsDatumRedundancyArrayOutput) Index(i pulumi.IntInput) GetPortsDatumRedundancyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPortsDatumRedundancy { - return vs[0].([]GetPortsDatumRedundancy)[vs[1].(int)] - }).(GetPortsDatumRedundancyOutput) +func (o GetRoutingProtocolOperationErrorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetRoutingProtocolOperationError] { + return pulumix.Output[[]GetRoutingProtocolOperationError]{ + OutputState: o.OutputState, + } } -type GetPortsFilter struct { - // Query Parameter to Get Ports By Name - Name *string `pulumi:"name"` +func (o GetRoutingProtocolOperationErrorArrayOutput) Index(i pulumi.IntInput) GetRoutingProtocolOperationErrorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRoutingProtocolOperationError { + return vs[0].([]GetRoutingProtocolOperationError)[vs[1].(int)] + }).(GetRoutingProtocolOperationErrorOutput) } -// GetPortsFilterInput is an input type that accepts GetPortsFilterArgs and GetPortsFilterOutput values. -// You can construct a concrete instance of `GetPortsFilterInput` via: +type GetRoutingProtocolOperationErrorAdditionalInfo struct { + Property string `pulumi:"property"` + Reason string `pulumi:"reason"` +} + +// GetRoutingProtocolOperationErrorAdditionalInfoInput is an input type that accepts GetRoutingProtocolOperationErrorAdditionalInfoArgs and GetRoutingProtocolOperationErrorAdditionalInfoOutput values. +// You can construct a concrete instance of `GetRoutingProtocolOperationErrorAdditionalInfoInput` via: // -// GetPortsFilterArgs{...} -type GetPortsFilterInput interface { +// GetRoutingProtocolOperationErrorAdditionalInfoArgs{...} +type GetRoutingProtocolOperationErrorAdditionalInfoInput interface { pulumi.Input - ToGetPortsFilterOutput() GetPortsFilterOutput - ToGetPortsFilterOutputWithContext(context.Context) GetPortsFilterOutput -} - -type GetPortsFilterArgs struct { - // Query Parameter to Get Ports By Name - Name pulumi.StringPtrInput `pulumi:"name"` + ToGetRoutingProtocolOperationErrorAdditionalInfoOutput() GetRoutingProtocolOperationErrorAdditionalInfoOutput + ToGetRoutingProtocolOperationErrorAdditionalInfoOutputWithContext(context.Context) GetRoutingProtocolOperationErrorAdditionalInfoOutput } -func (GetPortsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsFilter)(nil)).Elem() +type GetRoutingProtocolOperationErrorAdditionalInfoArgs struct { + Property pulumi.StringInput `pulumi:"property"` + Reason pulumi.StringInput `pulumi:"reason"` } -func (i GetPortsFilterArgs) ToGetPortsFilterOutput() GetPortsFilterOutput { - return i.ToGetPortsFilterOutputWithContext(context.Background()) +func (GetRoutingProtocolOperationErrorAdditionalInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolOperationErrorAdditionalInfo)(nil)).Elem() } -func (i GetPortsFilterArgs) ToGetPortsFilterOutputWithContext(ctx context.Context) GetPortsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsFilterOutput) +func (i GetRoutingProtocolOperationErrorAdditionalInfoArgs) ToGetRoutingProtocolOperationErrorAdditionalInfoOutput() GetRoutingProtocolOperationErrorAdditionalInfoOutput { + return i.ToGetRoutingProtocolOperationErrorAdditionalInfoOutputWithContext(context.Background()) } -func (i GetPortsFilterArgs) ToGetPortsFilterPtrOutput() GetPortsFilterPtrOutput { - return i.ToGetPortsFilterPtrOutputWithContext(context.Background()) +func (i GetRoutingProtocolOperationErrorAdditionalInfoArgs) ToGetRoutingProtocolOperationErrorAdditionalInfoOutputWithContext(ctx context.Context) GetRoutingProtocolOperationErrorAdditionalInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolOperationErrorAdditionalInfoOutput) } -func (i GetPortsFilterArgs) ToGetPortsFilterPtrOutputWithContext(ctx context.Context) GetPortsFilterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsFilterOutput).ToGetPortsFilterPtrOutputWithContext(ctx) +func (i GetRoutingProtocolOperationErrorAdditionalInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolOperationErrorAdditionalInfo] { + return pulumix.Output[GetRoutingProtocolOperationErrorAdditionalInfo]{ + OutputState: i.ToGetRoutingProtocolOperationErrorAdditionalInfoOutputWithContext(ctx).OutputState, + } } -// GetPortsFilterPtrInput is an input type that accepts GetPortsFilterArgs, GetPortsFilterPtr and GetPortsFilterPtrOutput values. -// You can construct a concrete instance of `GetPortsFilterPtrInput` via: +// GetRoutingProtocolOperationErrorAdditionalInfoArrayInput is an input type that accepts GetRoutingProtocolOperationErrorAdditionalInfoArray and GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput values. +// You can construct a concrete instance of `GetRoutingProtocolOperationErrorAdditionalInfoArrayInput` via: // -// GetPortsFilterArgs{...} -// -// or: -// -// nil -type GetPortsFilterPtrInput interface { +// GetRoutingProtocolOperationErrorAdditionalInfoArray{ GetRoutingProtocolOperationErrorAdditionalInfoArgs{...} } +type GetRoutingProtocolOperationErrorAdditionalInfoArrayInput interface { pulumi.Input - ToGetPortsFilterPtrOutput() GetPortsFilterPtrOutput - ToGetPortsFilterPtrOutputWithContext(context.Context) GetPortsFilterPtrOutput + ToGetRoutingProtocolOperationErrorAdditionalInfoArrayOutput() GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput + ToGetRoutingProtocolOperationErrorAdditionalInfoArrayOutputWithContext(context.Context) GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput } -type getPortsFilterPtrType GetPortsFilterArgs +type GetRoutingProtocolOperationErrorAdditionalInfoArray []GetRoutingProtocolOperationErrorAdditionalInfoInput -func GetPortsFilterPtr(v *GetPortsFilterArgs) GetPortsFilterPtrInput { - return (*getPortsFilterPtrType)(v) +func (GetRoutingProtocolOperationErrorAdditionalInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingProtocolOperationErrorAdditionalInfo)(nil)).Elem() } -func (*getPortsFilterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetPortsFilter)(nil)).Elem() +func (i GetRoutingProtocolOperationErrorAdditionalInfoArray) ToGetRoutingProtocolOperationErrorAdditionalInfoArrayOutput() GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput { + return i.ToGetRoutingProtocolOperationErrorAdditionalInfoArrayOutputWithContext(context.Background()) } -func (i *getPortsFilterPtrType) ToGetPortsFilterPtrOutput() GetPortsFilterPtrOutput { - return i.ToGetPortsFilterPtrOutputWithContext(context.Background()) +func (i GetRoutingProtocolOperationErrorAdditionalInfoArray) ToGetRoutingProtocolOperationErrorAdditionalInfoArrayOutputWithContext(ctx context.Context) GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput) } -func (i *getPortsFilterPtrType) ToGetPortsFilterPtrOutputWithContext(ctx context.Context) GetPortsFilterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPortsFilterPtrOutput) +func (i GetRoutingProtocolOperationErrorAdditionalInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]GetRoutingProtocolOperationErrorAdditionalInfo] { + return pulumix.Output[[]GetRoutingProtocolOperationErrorAdditionalInfo]{ + OutputState: i.ToGetRoutingProtocolOperationErrorAdditionalInfoArrayOutputWithContext(ctx).OutputState, + } } -type GetPortsFilterOutput struct{ *pulumi.OutputState } +type GetRoutingProtocolOperationErrorAdditionalInfoOutput struct{ *pulumi.OutputState } -func (GetPortsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPortsFilter)(nil)).Elem() +func (GetRoutingProtocolOperationErrorAdditionalInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoutingProtocolOperationErrorAdditionalInfo)(nil)).Elem() } -func (o GetPortsFilterOutput) ToGetPortsFilterOutput() GetPortsFilterOutput { +func (o GetRoutingProtocolOperationErrorAdditionalInfoOutput) ToGetRoutingProtocolOperationErrorAdditionalInfoOutput() GetRoutingProtocolOperationErrorAdditionalInfoOutput { return o } -func (o GetPortsFilterOutput) ToGetPortsFilterOutputWithContext(ctx context.Context) GetPortsFilterOutput { +func (o GetRoutingProtocolOperationErrorAdditionalInfoOutput) ToGetRoutingProtocolOperationErrorAdditionalInfoOutputWithContext(ctx context.Context) GetRoutingProtocolOperationErrorAdditionalInfoOutput { return o } -func (o GetPortsFilterOutput) ToGetPortsFilterPtrOutput() GetPortsFilterPtrOutput { - return o.ToGetPortsFilterPtrOutputWithContext(context.Background()) +func (o GetRoutingProtocolOperationErrorAdditionalInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GetRoutingProtocolOperationErrorAdditionalInfo] { + return pulumix.Output[GetRoutingProtocolOperationErrorAdditionalInfo]{ + OutputState: o.OutputState, + } } -func (o GetPortsFilterOutput) ToGetPortsFilterPtrOutputWithContext(ctx context.Context) GetPortsFilterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPortsFilter) *GetPortsFilter { - return &v - }).(GetPortsFilterPtrOutput) +func (o GetRoutingProtocolOperationErrorAdditionalInfoOutput) Property() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolOperationErrorAdditionalInfo) string { return v.Property }).(pulumi.StringOutput) } -// Query Parameter to Get Ports By Name -func (o GetPortsFilterOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetPortsFilter) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o GetRoutingProtocolOperationErrorAdditionalInfoOutput) Reason() pulumi.StringOutput { + return o.ApplyT(func(v GetRoutingProtocolOperationErrorAdditionalInfo) string { return v.Reason }).(pulumi.StringOutput) } -type GetPortsFilterPtrOutput struct{ *pulumi.OutputState } +type GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput struct{ *pulumi.OutputState } -func (GetPortsFilterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetPortsFilter)(nil)).Elem() +func (GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoutingProtocolOperationErrorAdditionalInfo)(nil)).Elem() } -func (o GetPortsFilterPtrOutput) ToGetPortsFilterPtrOutput() GetPortsFilterPtrOutput { +func (o GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput) ToGetRoutingProtocolOperationErrorAdditionalInfoArrayOutput() GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput { return o } -func (o GetPortsFilterPtrOutput) ToGetPortsFilterPtrOutputWithContext(ctx context.Context) GetPortsFilterPtrOutput { +func (o GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput) ToGetRoutingProtocolOperationErrorAdditionalInfoArrayOutputWithContext(ctx context.Context) GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput { return o } -func (o GetPortsFilterPtrOutput) Elem() GetPortsFilterOutput { - return o.ApplyT(func(v *GetPortsFilter) GetPortsFilter { - if v != nil { - return *v - } - var ret GetPortsFilter - return ret - }).(GetPortsFilterOutput) +func (o GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetRoutingProtocolOperationErrorAdditionalInfo] { + return pulumix.Output[[]GetRoutingProtocolOperationErrorAdditionalInfo]{ + OutputState: o.OutputState, + } } -// Query Parameter to Get Ports By Name -func (o GetPortsFilterPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetPortsFilter) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +func (o GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput) Index(i pulumi.IntInput) GetRoutingProtocolOperationErrorAdditionalInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRoutingProtocolOperationErrorAdditionalInfo { + return vs[0].([]GetRoutingProtocolOperationErrorAdditionalInfo)[vs[1].(int)] + }).(GetRoutingProtocolOperationErrorAdditionalInfoOutput) } type GetServiceProfileAccessPointTypeConfig struct { @@ -16515,10 +25388,8 @@ type GetServiceProfileAccessPointTypeConfig struct { EnableAutoGenerateServiceKey bool `pulumi:"enableAutoGenerateServiceKey"` LinkProtocolConfigs []GetServiceProfileAccessPointTypeConfigLinkProtocolConfig `pulumi:"linkProtocolConfigs"` SupportedBandwidths []int `pulumi:"supportedBandwidths"` - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - Type string `pulumi:"type"` - // Equinix assigned service profile identifier - Uuid string `pulumi:"uuid"` + Type string `pulumi:"type"` + Uuid string `pulumi:"uuid"` } // GetServiceProfileAccessPointTypeConfigInput is an input type that accepts GetServiceProfileAccessPointTypeConfigArgs and GetServiceProfileAccessPointTypeConfigOutput values. @@ -16545,10 +25416,8 @@ type GetServiceProfileAccessPointTypeConfigArgs struct { EnableAutoGenerateServiceKey pulumi.BoolInput `pulumi:"enableAutoGenerateServiceKey"` LinkProtocolConfigs GetServiceProfileAccessPointTypeConfigLinkProtocolConfigArrayInput `pulumi:"linkProtocolConfigs"` SupportedBandwidths pulumi.IntArrayInput `pulumi:"supportedBandwidths"` - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - Type pulumi.StringInput `pulumi:"type"` - // Equinix assigned service profile identifier - Uuid pulumi.StringInput `pulumi:"uuid"` + Type pulumi.StringInput `pulumi:"type"` + Uuid pulumi.StringInput `pulumi:"uuid"` } func (GetServiceProfileAccessPointTypeConfigArgs) ElementType() reflect.Type { @@ -16563,6 +25432,12 @@ func (i GetServiceProfileAccessPointTypeConfigArgs) ToGetServiceProfileAccessPoi return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileAccessPointTypeConfigOutput) } +func (i GetServiceProfileAccessPointTypeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileAccessPointTypeConfig] { + return pulumix.Output[GetServiceProfileAccessPointTypeConfig]{ + OutputState: i.ToGetServiceProfileAccessPointTypeConfigOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfileAccessPointTypeConfigArrayInput is an input type that accepts GetServiceProfileAccessPointTypeConfigArray and GetServiceProfileAccessPointTypeConfigArrayOutput values. // You can construct a concrete instance of `GetServiceProfileAccessPointTypeConfigArrayInput` via: // @@ -16588,6 +25463,12 @@ func (i GetServiceProfileAccessPointTypeConfigArray) ToGetServiceProfileAccessPo return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileAccessPointTypeConfigArrayOutput) } +func (i GetServiceProfileAccessPointTypeConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileAccessPointTypeConfig] { + return pulumix.Output[[]GetServiceProfileAccessPointTypeConfig]{ + OutputState: i.ToGetServiceProfileAccessPointTypeConfigArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfileAccessPointTypeConfigOutput struct{ *pulumi.OutputState } func (GetServiceProfileAccessPointTypeConfigOutput) ElementType() reflect.Type { @@ -16602,6 +25483,12 @@ func (o GetServiceProfileAccessPointTypeConfigOutput) ToGetServiceProfileAccessP return o } +func (o GetServiceProfileAccessPointTypeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileAccessPointTypeConfig] { + return pulumix.Output[GetServiceProfileAccessPointTypeConfig]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileAccessPointTypeConfigOutput) AllowBandwidthAutoApproval() pulumi.BoolOutput { return o.ApplyT(func(v GetServiceProfileAccessPointTypeConfig) bool { return v.AllowBandwidthAutoApproval }).(pulumi.BoolOutput) } @@ -16656,12 +25543,10 @@ func (o GetServiceProfileAccessPointTypeConfigOutput) SupportedBandwidths() pulu return o.ApplyT(func(v GetServiceProfileAccessPointTypeConfig) []int { return v.SupportedBandwidths }).(pulumi.IntArrayOutput) } -// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE func (o GetServiceProfileAccessPointTypeConfigOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileAccessPointTypeConfig) string { return v.Type }).(pulumi.StringOutput) } -// Equinix assigned service profile identifier func (o GetServiceProfileAccessPointTypeConfigOutput) Uuid() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileAccessPointTypeConfig) string { return v.Uuid }).(pulumi.StringOutput) } @@ -16680,6 +25565,12 @@ func (o GetServiceProfileAccessPointTypeConfigArrayOutput) ToGetServiceProfileAc return o } +func (o GetServiceProfileAccessPointTypeConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileAccessPointTypeConfig] { + return pulumix.Output[[]GetServiceProfileAccessPointTypeConfig]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileAccessPointTypeConfigArrayOutput) Index(i pulumi.IntInput) GetServiceProfileAccessPointTypeConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfileAccessPointTypeConfig { return vs[0].([]GetServiceProfileAccessPointTypeConfig)[vs[1].(int)] @@ -16729,6 +25620,12 @@ func (i GetServiceProfileAccessPointTypeConfigApiConfigArgs) ToGetServiceProfile return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileAccessPointTypeConfigApiConfigOutput) } +func (i GetServiceProfileAccessPointTypeConfigApiConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[GetServiceProfileAccessPointTypeConfigApiConfig]{ + OutputState: i.ToGetServiceProfileAccessPointTypeConfigApiConfigOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfileAccessPointTypeConfigApiConfigArrayInput is an input type that accepts GetServiceProfileAccessPointTypeConfigApiConfigArray and GetServiceProfileAccessPointTypeConfigApiConfigArrayOutput values. // You can construct a concrete instance of `GetServiceProfileAccessPointTypeConfigApiConfigArrayInput` via: // @@ -16754,6 +25651,12 @@ func (i GetServiceProfileAccessPointTypeConfigApiConfigArray) ToGetServiceProfil return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileAccessPointTypeConfigApiConfigArrayOutput) } +func (i GetServiceProfileAccessPointTypeConfigApiConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[[]GetServiceProfileAccessPointTypeConfigApiConfig]{ + OutputState: i.ToGetServiceProfileAccessPointTypeConfigApiConfigArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfileAccessPointTypeConfigApiConfigOutput struct{ *pulumi.OutputState } func (GetServiceProfileAccessPointTypeConfigApiConfigOutput) ElementType() reflect.Type { @@ -16768,6 +25671,12 @@ func (o GetServiceProfileAccessPointTypeConfigApiConfigOutput) ToGetServiceProfi return o } +func (o GetServiceProfileAccessPointTypeConfigApiConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[GetServiceProfileAccessPointTypeConfigApiConfig]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileAccessPointTypeConfigApiConfigOutput) AllowOverSubscription() pulumi.BoolOutput { return o.ApplyT(func(v GetServiceProfileAccessPointTypeConfigApiConfig) bool { return v.AllowOverSubscription }).(pulumi.BoolOutput) } @@ -16810,6 +25719,12 @@ func (o GetServiceProfileAccessPointTypeConfigApiConfigArrayOutput) ToGetService return o } +func (o GetServiceProfileAccessPointTypeConfigApiConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileAccessPointTypeConfigApiConfig] { + return pulumix.Output[[]GetServiceProfileAccessPointTypeConfigApiConfig]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileAccessPointTypeConfigApiConfigArrayOutput) Index(i pulumi.IntInput) GetServiceProfileAccessPointTypeConfigApiConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfileAccessPointTypeConfigApiConfig { return vs[0].([]GetServiceProfileAccessPointTypeConfigApiConfig)[vs[1].(int)] @@ -16817,7 +25732,6 @@ func (o GetServiceProfileAccessPointTypeConfigApiConfigArrayOutput) Index(i pulu } type GetServiceProfileAccessPointTypeConfigAuthenticationKey struct { - // User-provided service description Description string `pulumi:"description"` Label string `pulumi:"label"` Required bool `pulumi:"required"` @@ -16835,7 +25749,6 @@ type GetServiceProfileAccessPointTypeConfigAuthenticationKeyInput interface { } type GetServiceProfileAccessPointTypeConfigAuthenticationKeyArgs struct { - // User-provided service description Description pulumi.StringInput `pulumi:"description"` Label pulumi.StringInput `pulumi:"label"` Required pulumi.BoolInput `pulumi:"required"` @@ -16853,6 +25766,12 @@ func (i GetServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ToGetServic return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) } +func (i GetServiceProfileAccessPointTypeConfigAuthenticationKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[GetServiceProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: i.ToGetServiceProfileAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfileAccessPointTypeConfigAuthenticationKeyArrayInput is an input type that accepts GetServiceProfileAccessPointTypeConfigAuthenticationKeyArray and GetServiceProfileAccessPointTypeConfigAuthenticationKeyArrayOutput values. // You can construct a concrete instance of `GetServiceProfileAccessPointTypeConfigAuthenticationKeyArrayInput` via: // @@ -16878,6 +25797,12 @@ func (i GetServiceProfileAccessPointTypeConfigAuthenticationKeyArray) ToGetServi return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) } +func (i GetServiceProfileAccessPointTypeConfigAuthenticationKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[[]GetServiceProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: i.ToGetServiceProfileAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfileAccessPointTypeConfigAuthenticationKeyOutput struct{ *pulumi.OutputState } func (GetServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ElementType() reflect.Type { @@ -16892,7 +25817,12 @@ func (o GetServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ToGetServ return o } -// User-provided service description +func (o GetServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[GetServiceProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileAccessPointTypeConfigAuthenticationKeyOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileAccessPointTypeConfigAuthenticationKey) string { return v.Description }).(pulumi.StringOutput) } @@ -16919,6 +25849,12 @@ func (o GetServiceProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ToGe return o } +func (o GetServiceProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[[]GetServiceProfileAccessPointTypeConfigAuthenticationKey]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileAccessPointTypeConfigAuthenticationKeyArrayOutput) Index(i pulumi.IntInput) GetServiceProfileAccessPointTypeConfigAuthenticationKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfileAccessPointTypeConfigAuthenticationKey { return vs[0].([]GetServiceProfileAccessPointTypeConfigAuthenticationKey)[vs[1].(int)] @@ -16960,6 +25896,12 @@ func (i GetServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToGetServi return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) } +func (i GetServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[GetServiceProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: i.ToGetServiceProfileAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfileAccessPointTypeConfigLinkProtocolConfigArrayInput is an input type that accepts GetServiceProfileAccessPointTypeConfigLinkProtocolConfigArray and GetServiceProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput values. // You can construct a concrete instance of `GetServiceProfileAccessPointTypeConfigLinkProtocolConfigArrayInput` via: // @@ -16985,6 +25927,12 @@ func (i GetServiceProfileAccessPointTypeConfigLinkProtocolConfigArray) ToGetServ return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) } +func (i GetServiceProfileAccessPointTypeConfigLinkProtocolConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[[]GetServiceProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: i.ToGetServiceProfileAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput struct{ *pulumi.OutputState } func (GetServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ElementType() reflect.Type { @@ -16999,6 +25947,12 @@ func (o GetServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToGetSer return o } +func (o GetServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[GetServiceProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput) Encapsulation() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileAccessPointTypeConfigLinkProtocolConfig) string { return v.Encapsulation }).(pulumi.StringOutput) } @@ -17027,6 +25981,12 @@ func (o GetServiceProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ToG return o } +func (o GetServiceProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[[]GetServiceProfileAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput) Index(i pulumi.IntInput) GetServiceProfileAccessPointTypeConfigLinkProtocolConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfileAccessPointTypeConfigLinkProtocolConfig { return vs[0].([]GetServiceProfileAccessPointTypeConfigLinkProtocolConfig)[vs[1].(int)] @@ -17078,6 +26038,12 @@ func (i GetServiceProfileAccountArgs) ToGetServiceProfileAccountOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileAccountOutput) } +func (i GetServiceProfileAccountArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileAccount] { + return pulumix.Output[GetServiceProfileAccount]{ + OutputState: i.ToGetServiceProfileAccountOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfileAccountOutput struct{ *pulumi.OutputState } func (GetServiceProfileAccountOutput) ElementType() reflect.Type { @@ -17092,6 +26058,12 @@ func (o GetServiceProfileAccountOutput) ToGetServiceProfileAccountOutputWithCont return o } +func (o GetServiceProfileAccountOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileAccount] { + return pulumix.Output[GetServiceProfileAccount]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileAccountOutput) AccountName() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileAccount) string { return v.AccountName }).(pulumi.StringOutput) } @@ -17177,6 +26149,12 @@ func (i GetServiceProfileChangeLogArgs) ToGetServiceProfileChangeLogOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileChangeLogOutput) } +func (i GetServiceProfileChangeLogArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileChangeLog] { + return pulumix.Output[GetServiceProfileChangeLog]{ + OutputState: i.ToGetServiceProfileChangeLogOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfileChangeLogOutput struct{ *pulumi.OutputState } func (GetServiceProfileChangeLogOutput) ElementType() reflect.Type { @@ -17191,6 +26169,12 @@ func (o GetServiceProfileChangeLogOutput) ToGetServiceProfileChangeLogOutputWith return o } +func (o GetServiceProfileChangeLogOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileChangeLog] { + return pulumix.Output[GetServiceProfileChangeLog]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileChangeLogOutput) CreatedBy() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileChangeLog) string { return v.CreatedBy }).(pulumi.StringOutput) } @@ -17240,13 +26224,12 @@ func (o GetServiceProfileChangeLogOutput) UpdatedDateTime() pulumi.StringOutput } type GetServiceProfileCustomField struct { - CaptureInEmail bool `pulumi:"captureInEmail"` - DataType string `pulumi:"dataType"` - // User-provided service description - Description string `pulumi:"description"` - Label string `pulumi:"label"` - Options []string `pulumi:"options"` - Required bool `pulumi:"required"` + CaptureInEmail bool `pulumi:"captureInEmail"` + DataType string `pulumi:"dataType"` + Description string `pulumi:"description"` + Label string `pulumi:"label"` + Options []string `pulumi:"options"` + Required bool `pulumi:"required"` } // GetServiceProfileCustomFieldInput is an input type that accepts GetServiceProfileCustomFieldArgs and GetServiceProfileCustomFieldOutput values. @@ -17261,13 +26244,12 @@ type GetServiceProfileCustomFieldInput interface { } type GetServiceProfileCustomFieldArgs struct { - CaptureInEmail pulumi.BoolInput `pulumi:"captureInEmail"` - DataType pulumi.StringInput `pulumi:"dataType"` - // User-provided service description - Description pulumi.StringInput `pulumi:"description"` - Label pulumi.StringInput `pulumi:"label"` - Options pulumi.StringArrayInput `pulumi:"options"` - Required pulumi.BoolInput `pulumi:"required"` + CaptureInEmail pulumi.BoolInput `pulumi:"captureInEmail"` + DataType pulumi.StringInput `pulumi:"dataType"` + Description pulumi.StringInput `pulumi:"description"` + Label pulumi.StringInput `pulumi:"label"` + Options pulumi.StringArrayInput `pulumi:"options"` + Required pulumi.BoolInput `pulumi:"required"` } func (GetServiceProfileCustomFieldArgs) ElementType() reflect.Type { @@ -17282,6 +26264,12 @@ func (i GetServiceProfileCustomFieldArgs) ToGetServiceProfileCustomFieldOutputWi return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileCustomFieldOutput) } +func (i GetServiceProfileCustomFieldArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileCustomField] { + return pulumix.Output[GetServiceProfileCustomField]{ + OutputState: i.ToGetServiceProfileCustomFieldOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfileCustomFieldArrayInput is an input type that accepts GetServiceProfileCustomFieldArray and GetServiceProfileCustomFieldArrayOutput values. // You can construct a concrete instance of `GetServiceProfileCustomFieldArrayInput` via: // @@ -17307,6 +26295,12 @@ func (i GetServiceProfileCustomFieldArray) ToGetServiceProfileCustomFieldArrayOu return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileCustomFieldArrayOutput) } +func (i GetServiceProfileCustomFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileCustomField] { + return pulumix.Output[[]GetServiceProfileCustomField]{ + OutputState: i.ToGetServiceProfileCustomFieldArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfileCustomFieldOutput struct{ *pulumi.OutputState } func (GetServiceProfileCustomFieldOutput) ElementType() reflect.Type { @@ -17321,6 +26315,12 @@ func (o GetServiceProfileCustomFieldOutput) ToGetServiceProfileCustomFieldOutput return o } +func (o GetServiceProfileCustomFieldOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileCustomField] { + return pulumix.Output[GetServiceProfileCustomField]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileCustomFieldOutput) CaptureInEmail() pulumi.BoolOutput { return o.ApplyT(func(v GetServiceProfileCustomField) bool { return v.CaptureInEmail }).(pulumi.BoolOutput) } @@ -17329,7 +26329,6 @@ func (o GetServiceProfileCustomFieldOutput) DataType() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileCustomField) string { return v.DataType }).(pulumi.StringOutput) } -// User-provided service description func (o GetServiceProfileCustomFieldOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileCustomField) string { return v.Description }).(pulumi.StringOutput) } @@ -17360,6 +26359,12 @@ func (o GetServiceProfileCustomFieldArrayOutput) ToGetServiceProfileCustomFieldA return o } +func (o GetServiceProfileCustomFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileCustomField] { + return pulumix.Output[[]GetServiceProfileCustomField]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileCustomFieldArrayOutput) Index(i pulumi.IntInput) GetServiceProfileCustomFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfileCustomField { return vs[0].([]GetServiceProfileCustomField)[vs[1].(int)] @@ -17401,6 +26406,12 @@ func (i GetServiceProfileMarketingInfoArgs) ToGetServiceProfileMarketingInfoOutp return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileMarketingInfoOutput) } +func (i GetServiceProfileMarketingInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileMarketingInfo] { + return pulumix.Output[GetServiceProfileMarketingInfo]{ + OutputState: i.ToGetServiceProfileMarketingInfoOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfileMarketingInfoOutput struct{ *pulumi.OutputState } func (GetServiceProfileMarketingInfoOutput) ElementType() reflect.Type { @@ -17415,6 +26426,12 @@ func (o GetServiceProfileMarketingInfoOutput) ToGetServiceProfileMarketingInfoOu return o } +func (o GetServiceProfileMarketingInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileMarketingInfo] { + return pulumix.Output[GetServiceProfileMarketingInfo]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileMarketingInfoOutput) Logo() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileMarketingInfo) string { return v.Logo }).(pulumi.StringOutput) } @@ -17430,7 +26447,6 @@ func (o GetServiceProfileMarketingInfoOutput) Promotion() pulumi.BoolOutput { } type GetServiceProfileMarketingInfoProcessStep struct { - // User-provided service description Description string `pulumi:"description"` SubTitle string `pulumi:"subTitle"` Title string `pulumi:"title"` @@ -17448,7 +26464,6 @@ type GetServiceProfileMarketingInfoProcessStepInput interface { } type GetServiceProfileMarketingInfoProcessStepArgs struct { - // User-provided service description Description pulumi.StringInput `pulumi:"description"` SubTitle pulumi.StringInput `pulumi:"subTitle"` Title pulumi.StringInput `pulumi:"title"` @@ -17466,6 +26481,12 @@ func (i GetServiceProfileMarketingInfoProcessStepArgs) ToGetServiceProfileMarket return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileMarketingInfoProcessStepOutput) } +func (i GetServiceProfileMarketingInfoProcessStepArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileMarketingInfoProcessStep] { + return pulumix.Output[GetServiceProfileMarketingInfoProcessStep]{ + OutputState: i.ToGetServiceProfileMarketingInfoProcessStepOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfileMarketingInfoProcessStepArrayInput is an input type that accepts GetServiceProfileMarketingInfoProcessStepArray and GetServiceProfileMarketingInfoProcessStepArrayOutput values. // You can construct a concrete instance of `GetServiceProfileMarketingInfoProcessStepArrayInput` via: // @@ -17491,6 +26512,12 @@ func (i GetServiceProfileMarketingInfoProcessStepArray) ToGetServiceProfileMarke return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileMarketingInfoProcessStepArrayOutput) } +func (i GetServiceProfileMarketingInfoProcessStepArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileMarketingInfoProcessStep] { + return pulumix.Output[[]GetServiceProfileMarketingInfoProcessStep]{ + OutputState: i.ToGetServiceProfileMarketingInfoProcessStepArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfileMarketingInfoProcessStepOutput struct{ *pulumi.OutputState } func (GetServiceProfileMarketingInfoProcessStepOutput) ElementType() reflect.Type { @@ -17505,7 +26532,12 @@ func (o GetServiceProfileMarketingInfoProcessStepOutput) ToGetServiceProfileMark return o } -// User-provided service description +func (o GetServiceProfileMarketingInfoProcessStepOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileMarketingInfoProcessStep] { + return pulumix.Output[GetServiceProfileMarketingInfoProcessStep]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileMarketingInfoProcessStepOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileMarketingInfoProcessStep) string { return v.Description }).(pulumi.StringOutput) } @@ -17532,6 +26564,12 @@ func (o GetServiceProfileMarketingInfoProcessStepArrayOutput) ToGetServiceProfil return o } +func (o GetServiceProfileMarketingInfoProcessStepArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileMarketingInfoProcessStep] { + return pulumix.Output[[]GetServiceProfileMarketingInfoProcessStep]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileMarketingInfoProcessStepArrayOutput) Index(i pulumi.IntInput) GetServiceProfileMarketingInfoProcessStepOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfileMarketingInfoProcessStep { return vs[0].([]GetServiceProfileMarketingInfoProcessStep)[vs[1].(int)] @@ -17539,11 +26577,10 @@ func (o GetServiceProfileMarketingInfoProcessStepArrayOutput) Index(i pulumi.Int } type GetServiceProfileMetro struct { - Code string `pulumi:"code"` - DisplayName string `pulumi:"displayName"` - Ibxs []string `pulumi:"ibxs"` - InTrail bool `pulumi:"inTrail"` - // Customer-assigned service profile name + Code string `pulumi:"code"` + DisplayName string `pulumi:"displayName"` + Ibxs []string `pulumi:"ibxs"` + InTrail bool `pulumi:"inTrail"` Name string `pulumi:"name"` SellerRegions map[string]string `pulumi:"sellerRegions"` } @@ -17560,13 +26597,12 @@ type GetServiceProfileMetroInput interface { } type GetServiceProfileMetroArgs struct { - Code pulumi.StringInput `pulumi:"code"` - DisplayName pulumi.StringInput `pulumi:"displayName"` - Ibxs pulumi.StringArrayInput `pulumi:"ibxs"` - InTrail pulumi.BoolInput `pulumi:"inTrail"` - // Customer-assigned service profile name - Name pulumi.StringInput `pulumi:"name"` - SellerRegions pulumi.StringMapInput `pulumi:"sellerRegions"` + Code pulumi.StringInput `pulumi:"code"` + DisplayName pulumi.StringInput `pulumi:"displayName"` + Ibxs pulumi.StringArrayInput `pulumi:"ibxs"` + InTrail pulumi.BoolInput `pulumi:"inTrail"` + Name pulumi.StringInput `pulumi:"name"` + SellerRegions pulumi.StringMapInput `pulumi:"sellerRegions"` } func (GetServiceProfileMetroArgs) ElementType() reflect.Type { @@ -17581,6 +26617,12 @@ func (i GetServiceProfileMetroArgs) ToGetServiceProfileMetroOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileMetroOutput) } +func (i GetServiceProfileMetroArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileMetro] { + return pulumix.Output[GetServiceProfileMetro]{ + OutputState: i.ToGetServiceProfileMetroOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfileMetroArrayInput is an input type that accepts GetServiceProfileMetroArray and GetServiceProfileMetroArrayOutput values. // You can construct a concrete instance of `GetServiceProfileMetroArrayInput` via: // @@ -17606,6 +26648,12 @@ func (i GetServiceProfileMetroArray) ToGetServiceProfileMetroArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileMetroArrayOutput) } +func (i GetServiceProfileMetroArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileMetro] { + return pulumix.Output[[]GetServiceProfileMetro]{ + OutputState: i.ToGetServiceProfileMetroArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfileMetroOutput struct{ *pulumi.OutputState } func (GetServiceProfileMetroOutput) ElementType() reflect.Type { @@ -17620,6 +26668,12 @@ func (o GetServiceProfileMetroOutput) ToGetServiceProfileMetroOutputWithContext( return o } +func (o GetServiceProfileMetroOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileMetro] { + return pulumix.Output[GetServiceProfileMetro]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileMetroOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileMetro) string { return v.Code }).(pulumi.StringOutput) } @@ -17636,7 +26690,6 @@ func (o GetServiceProfileMetroOutput) InTrail() pulumi.BoolOutput { return o.ApplyT(func(v GetServiceProfileMetro) bool { return v.InTrail }).(pulumi.BoolOutput) } -// Customer-assigned service profile name func (o GetServiceProfileMetroOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileMetro) string { return v.Name }).(pulumi.StringOutput) } @@ -17659,6 +26712,12 @@ func (o GetServiceProfileMetroArrayOutput) ToGetServiceProfileMetroArrayOutputWi return o } +func (o GetServiceProfileMetroArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileMetro] { + return pulumix.Output[[]GetServiceProfileMetro]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileMetroArrayOutput) Index(i pulumi.IntInput) GetServiceProfileMetroOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfileMetro { return vs[0].([]GetServiceProfileMetro)[vs[1].(int)] @@ -17668,8 +26727,7 @@ func (o GetServiceProfileMetroArrayOutput) Index(i pulumi.IntInput) GetServicePr type GetServiceProfileNotification struct { Emails []string `pulumi:"emails"` SendInterval string `pulumi:"sendInterval"` - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - Type string `pulumi:"type"` + Type string `pulumi:"type"` } // GetServiceProfileNotificationInput is an input type that accepts GetServiceProfileNotificationArgs and GetServiceProfileNotificationOutput values. @@ -17686,8 +26744,7 @@ type GetServiceProfileNotificationInput interface { type GetServiceProfileNotificationArgs struct { Emails pulumi.StringArrayInput `pulumi:"emails"` SendInterval pulumi.StringInput `pulumi:"sendInterval"` - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - Type pulumi.StringInput `pulumi:"type"` + Type pulumi.StringInput `pulumi:"type"` } func (GetServiceProfileNotificationArgs) ElementType() reflect.Type { @@ -17702,6 +26759,12 @@ func (i GetServiceProfileNotificationArgs) ToGetServiceProfileNotificationOutput return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileNotificationOutput) } +func (i GetServiceProfileNotificationArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileNotification] { + return pulumix.Output[GetServiceProfileNotification]{ + OutputState: i.ToGetServiceProfileNotificationOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfileNotificationArrayInput is an input type that accepts GetServiceProfileNotificationArray and GetServiceProfileNotificationArrayOutput values. // You can construct a concrete instance of `GetServiceProfileNotificationArrayInput` via: // @@ -17727,6 +26790,12 @@ func (i GetServiceProfileNotificationArray) ToGetServiceProfileNotificationArray return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileNotificationArrayOutput) } +func (i GetServiceProfileNotificationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileNotification] { + return pulumix.Output[[]GetServiceProfileNotification]{ + OutputState: i.ToGetServiceProfileNotificationArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfileNotificationOutput struct{ *pulumi.OutputState } func (GetServiceProfileNotificationOutput) ElementType() reflect.Type { @@ -17741,6 +26810,12 @@ func (o GetServiceProfileNotificationOutput) ToGetServiceProfileNotificationOutp return o } +func (o GetServiceProfileNotificationOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileNotification] { + return pulumix.Output[GetServiceProfileNotification]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileNotificationOutput) Emails() pulumi.StringArrayOutput { return o.ApplyT(func(v GetServiceProfileNotification) []string { return v.Emails }).(pulumi.StringArrayOutput) } @@ -17749,7 +26824,6 @@ func (o GetServiceProfileNotificationOutput) SendInterval() pulumi.StringOutput return o.ApplyT(func(v GetServiceProfileNotification) string { return v.SendInterval }).(pulumi.StringOutput) } -// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE func (o GetServiceProfileNotificationOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileNotification) string { return v.Type }).(pulumi.StringOutput) } @@ -17768,6 +26842,12 @@ func (o GetServiceProfileNotificationArrayOutput) ToGetServiceProfileNotificatio return o } +func (o GetServiceProfileNotificationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfileNotification] { + return pulumix.Output[[]GetServiceProfileNotification]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileNotificationArrayOutput) Index(i pulumi.IntInput) GetServiceProfileNotificationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfileNotification { return vs[0].([]GetServiceProfileNotification)[vs[1].(int)] @@ -17779,10 +26859,8 @@ type GetServiceProfilePort struct { Locations []GetServiceProfilePortLocation `pulumi:"locations"` SellerRegion string `pulumi:"sellerRegion"` SellerRegionDescription string `pulumi:"sellerRegionDescription"` - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - Type string `pulumi:"type"` - // Equinix assigned service profile identifier - Uuid string `pulumi:"uuid"` + Type string `pulumi:"type"` + Uuid string `pulumi:"uuid"` } // GetServiceProfilePortInput is an input type that accepts GetServiceProfilePortArgs and GetServiceProfilePortOutput values. @@ -17801,10 +26879,8 @@ type GetServiceProfilePortArgs struct { Locations GetServiceProfilePortLocationArrayInput `pulumi:"locations"` SellerRegion pulumi.StringInput `pulumi:"sellerRegion"` SellerRegionDescription pulumi.StringInput `pulumi:"sellerRegionDescription"` - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - Type pulumi.StringInput `pulumi:"type"` - // Equinix assigned service profile identifier - Uuid pulumi.StringInput `pulumi:"uuid"` + Type pulumi.StringInput `pulumi:"type"` + Uuid pulumi.StringInput `pulumi:"uuid"` } func (GetServiceProfilePortArgs) ElementType() reflect.Type { @@ -17819,6 +26895,12 @@ func (i GetServiceProfilePortArgs) ToGetServiceProfilePortOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilePortOutput) } +func (i GetServiceProfilePortArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilePort] { + return pulumix.Output[GetServiceProfilePort]{ + OutputState: i.ToGetServiceProfilePortOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilePortArrayInput is an input type that accepts GetServiceProfilePortArray and GetServiceProfilePortArrayOutput values. // You can construct a concrete instance of `GetServiceProfilePortArrayInput` via: // @@ -17844,6 +26926,12 @@ func (i GetServiceProfilePortArray) ToGetServiceProfilePortArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilePortArrayOutput) } +func (i GetServiceProfilePortArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilePort] { + return pulumix.Output[[]GetServiceProfilePort]{ + OutputState: i.ToGetServiceProfilePortArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilePortOutput struct{ *pulumi.OutputState } func (GetServiceProfilePortOutput) ElementType() reflect.Type { @@ -17858,6 +26946,12 @@ func (o GetServiceProfilePortOutput) ToGetServiceProfilePortOutputWithContext(ct return o } +func (o GetServiceProfilePortOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilePort] { + return pulumix.Output[GetServiceProfilePort]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilePortOutput) CrossConnectId() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilePort) string { return v.CrossConnectId }).(pulumi.StringOutput) } @@ -17874,12 +26968,10 @@ func (o GetServiceProfilePortOutput) SellerRegionDescription() pulumi.StringOutp return o.ApplyT(func(v GetServiceProfilePort) string { return v.SellerRegionDescription }).(pulumi.StringOutput) } -// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE func (o GetServiceProfilePortOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilePort) string { return v.Type }).(pulumi.StringOutput) } -// Equinix assigned service profile identifier func (o GetServiceProfilePortOutput) Uuid() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilePort) string { return v.Uuid }).(pulumi.StringOutput) } @@ -17898,6 +26990,12 @@ func (o GetServiceProfilePortArrayOutput) ToGetServiceProfilePortArrayOutputWith return o } +func (o GetServiceProfilePortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilePort] { + return pulumix.Output[[]GetServiceProfilePort]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilePortArrayOutput) Index(i pulumi.IntInput) GetServiceProfilePortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilePort { return vs[0].([]GetServiceProfilePort)[vs[1].(int)] @@ -17941,6 +27039,12 @@ func (i GetServiceProfilePortLocationArgs) ToGetServiceProfilePortLocationOutput return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilePortLocationOutput) } +func (i GetServiceProfilePortLocationArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilePortLocation] { + return pulumix.Output[GetServiceProfilePortLocation]{ + OutputState: i.ToGetServiceProfilePortLocationOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilePortLocationArrayInput is an input type that accepts GetServiceProfilePortLocationArray and GetServiceProfilePortLocationArrayOutput values. // You can construct a concrete instance of `GetServiceProfilePortLocationArrayInput` via: // @@ -17966,6 +27070,12 @@ func (i GetServiceProfilePortLocationArray) ToGetServiceProfilePortLocationArray return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilePortLocationArrayOutput) } +func (i GetServiceProfilePortLocationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilePortLocation] { + return pulumix.Output[[]GetServiceProfilePortLocation]{ + OutputState: i.ToGetServiceProfilePortLocationArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilePortLocationOutput struct{ *pulumi.OutputState } func (GetServiceProfilePortLocationOutput) ElementType() reflect.Type { @@ -17980,6 +27090,12 @@ func (o GetServiceProfilePortLocationOutput) ToGetServiceProfilePortLocationOutp return o } +func (o GetServiceProfilePortLocationOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilePortLocation] { + return pulumix.Output[GetServiceProfilePortLocation]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilePortLocationOutput) Ibx() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilePortLocation) string { return v.Ibx }).(pulumi.StringOutput) } @@ -18010,6 +27126,12 @@ func (o GetServiceProfilePortLocationArrayOutput) ToGetServiceProfilePortLocatio return o } +func (o GetServiceProfilePortLocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilePortLocation] { + return pulumix.Output[[]GetServiceProfilePortLocation]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilePortLocationArrayOutput) Index(i pulumi.IntInput) GetServiceProfilePortLocationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilePortLocation { return vs[0].([]GetServiceProfilePortLocation)[vs[1].(int)] @@ -18017,7 +27139,6 @@ func (o GetServiceProfilePortLocationArrayOutput) Index(i pulumi.IntInput) GetSe } type GetServiceProfileProject struct { - // Service Profile URI response attribute Href string `pulumi:"href"` ProjectId string `pulumi:"projectId"` } @@ -18034,7 +27155,6 @@ type GetServiceProfileProjectInput interface { } type GetServiceProfileProjectArgs struct { - // Service Profile URI response attribute Href pulumi.StringInput `pulumi:"href"` ProjectId pulumi.StringInput `pulumi:"projectId"` } @@ -18051,6 +27171,12 @@ func (i GetServiceProfileProjectArgs) ToGetServiceProfileProjectOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfileProjectOutput) } +func (i GetServiceProfileProjectArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileProject] { + return pulumix.Output[GetServiceProfileProject]{ + OutputState: i.ToGetServiceProfileProjectOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfileProjectOutput struct{ *pulumi.OutputState } func (GetServiceProfileProjectOutput) ElementType() reflect.Type { @@ -18065,7 +27191,12 @@ func (o GetServiceProfileProjectOutput) ToGetServiceProfileProjectOutputWithCont return o } -// Service Profile URI response attribute +func (o GetServiceProfileProjectOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfileProject] { + return pulumix.Output[GetServiceProfileProject]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfileProjectOutput) Href() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfileProject) string { return v.Href }).(pulumi.StringOutput) } @@ -18141,6 +27272,12 @@ func (i GetServiceProfilesDatumArgs) ToGetServiceProfilesDatumOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumOutput) } +func (i GetServiceProfilesDatumArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatum] { + return pulumix.Output[GetServiceProfilesDatum]{ + OutputState: i.ToGetServiceProfilesDatumOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumArrayInput is an input type that accepts GetServiceProfilesDatumArray and GetServiceProfilesDatumArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumArrayInput` via: // @@ -18166,6 +27303,12 @@ func (i GetServiceProfilesDatumArray) ToGetServiceProfilesDatumArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumArrayOutput) } +func (i GetServiceProfilesDatumArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatum] { + return pulumix.Output[[]GetServiceProfilesDatum]{ + OutputState: i.ToGetServiceProfilesDatumArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumOutput) ElementType() reflect.Type { @@ -18180,6 +27323,12 @@ func (o GetServiceProfilesDatumOutput) ToGetServiceProfilesDatumOutputWithContex return o } +func (o GetServiceProfilesDatumOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatum] { + return pulumix.Output[GetServiceProfilesDatum]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumOutput) AccessPointTypeConfigs() GetServiceProfilesDatumAccessPointTypeConfigArrayOutput { return o.ApplyT(func(v GetServiceProfilesDatum) []GetServiceProfilesDatumAccessPointTypeConfig { return v.AccessPointTypeConfigs @@ -18272,6 +27421,12 @@ func (o GetServiceProfilesDatumArrayOutput) ToGetServiceProfilesDatumArrayOutput return o } +func (o GetServiceProfilesDatumArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatum] { + return pulumix.Output[[]GetServiceProfilesDatum]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatum { return vs[0].([]GetServiceProfilesDatum)[vs[1].(int)] @@ -18335,6 +27490,12 @@ func (i GetServiceProfilesDatumAccessPointTypeConfigArgs) ToGetServiceProfilesDa return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumAccessPointTypeConfigOutput) } +func (i GetServiceProfilesDatumAccessPointTypeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfig] { + return pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfig]{ + OutputState: i.ToGetServiceProfilesDatumAccessPointTypeConfigOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumAccessPointTypeConfigArrayInput is an input type that accepts GetServiceProfilesDatumAccessPointTypeConfigArray and GetServiceProfilesDatumAccessPointTypeConfigArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumAccessPointTypeConfigArrayInput` via: // @@ -18360,6 +27521,12 @@ func (i GetServiceProfilesDatumAccessPointTypeConfigArray) ToGetServiceProfilesD return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumAccessPointTypeConfigArrayOutput) } +func (i GetServiceProfilesDatumAccessPointTypeConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfig] { + return pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfig]{ + OutputState: i.ToGetServiceProfilesDatumAccessPointTypeConfigArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumAccessPointTypeConfigOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumAccessPointTypeConfigOutput) ElementType() reflect.Type { @@ -18374,6 +27541,12 @@ func (o GetServiceProfilesDatumAccessPointTypeConfigOutput) ToGetServiceProfiles return o } +func (o GetServiceProfilesDatumAccessPointTypeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfig] { + return pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfig]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumAccessPointTypeConfigOutput) AllowBandwidthAutoApproval() pulumi.BoolOutput { return o.ApplyT(func(v GetServiceProfilesDatumAccessPointTypeConfig) bool { return v.AllowBandwidthAutoApproval }).(pulumi.BoolOutput) } @@ -18450,6 +27623,12 @@ func (o GetServiceProfilesDatumAccessPointTypeConfigArrayOutput) ToGetServicePro return o } +func (o GetServiceProfilesDatumAccessPointTypeConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfig] { + return pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfig]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumAccessPointTypeConfigArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumAccessPointTypeConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumAccessPointTypeConfig { return vs[0].([]GetServiceProfilesDatumAccessPointTypeConfig)[vs[1].(int)] @@ -18499,6 +27678,12 @@ func (i GetServiceProfilesDatumAccessPointTypeConfigApiConfigArgs) ToGetServiceP return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumAccessPointTypeConfigApiConfigOutput) } +func (i GetServiceProfilesDatumAccessPointTypeConfigApiConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfigApiConfig] { + return pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfigApiConfig]{ + OutputState: i.ToGetServiceProfilesDatumAccessPointTypeConfigApiConfigOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumAccessPointTypeConfigApiConfigArrayInput is an input type that accepts GetServiceProfilesDatumAccessPointTypeConfigApiConfigArray and GetServiceProfilesDatumAccessPointTypeConfigApiConfigArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumAccessPointTypeConfigApiConfigArrayInput` via: // @@ -18524,6 +27709,12 @@ func (i GetServiceProfilesDatumAccessPointTypeConfigApiConfigArray) ToGetService return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumAccessPointTypeConfigApiConfigArrayOutput) } +func (i GetServiceProfilesDatumAccessPointTypeConfigApiConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfigApiConfig] { + return pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfigApiConfig]{ + OutputState: i.ToGetServiceProfilesDatumAccessPointTypeConfigApiConfigArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumAccessPointTypeConfigApiConfigOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumAccessPointTypeConfigApiConfigOutput) ElementType() reflect.Type { @@ -18538,6 +27729,12 @@ func (o GetServiceProfilesDatumAccessPointTypeConfigApiConfigOutput) ToGetServic return o } +func (o GetServiceProfilesDatumAccessPointTypeConfigApiConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfigApiConfig] { + return pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfigApiConfig]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumAccessPointTypeConfigApiConfigOutput) AllowOverSubscription() pulumi.BoolOutput { return o.ApplyT(func(v GetServiceProfilesDatumAccessPointTypeConfigApiConfig) bool { return v.AllowOverSubscription }).(pulumi.BoolOutput) } @@ -18580,6 +27777,12 @@ func (o GetServiceProfilesDatumAccessPointTypeConfigApiConfigArrayOutput) ToGetS return o } +func (o GetServiceProfilesDatumAccessPointTypeConfigApiConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfigApiConfig] { + return pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfigApiConfig]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumAccessPointTypeConfigApiConfigArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumAccessPointTypeConfigApiConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumAccessPointTypeConfigApiConfig { return vs[0].([]GetServiceProfilesDatumAccessPointTypeConfigApiConfig)[vs[1].(int)] @@ -18621,6 +27824,12 @@ func (i GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyArgs) ToGet return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyOutput) } +func (i GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey]{ + OutputState: i.ToGetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyArrayInput is an input type that accepts GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyArray and GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyArrayInput` via: // @@ -18646,6 +27855,12 @@ func (i GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyArray) ToGe return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyArrayOutput) } +func (i GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey]{ + OutputState: i.ToGetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyOutput) ElementType() reflect.Type { @@ -18660,6 +27875,12 @@ func (o GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyOutput) ToG return o } +func (o GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey) string { return v.Description }).(pulumi.StringOutput) } @@ -18686,6 +27907,12 @@ func (o GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyArrayOutput return o } +func (o GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey] { + return pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey { return vs[0].([]GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey)[vs[1].(int)] @@ -18727,6 +27954,12 @@ func (i GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigArgs) ToGe return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigOutput) } +func (i GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: i.ToGetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigArrayInput is an input type that accepts GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigArray and GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigArrayInput` via: // @@ -18752,6 +27985,12 @@ func (i GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigArray) ToG return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigArrayOutput) } +func (i GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: i.ToGetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigOutput) ElementType() reflect.Type { @@ -18766,6 +28005,12 @@ func (o GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigOutput) To return o } +func (o GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigOutput) Encapsulation() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig) string { return v.Encapsulation }).(pulumi.StringOutput) } @@ -18794,6 +28039,12 @@ func (o GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigArrayOutpu return o } +func (o GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig] { + return pulumix.Output[[]GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig { return vs[0].([]GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig)[vs[1].(int)] @@ -18845,6 +28096,12 @@ func (i GetServiceProfilesDatumAccountArgs) ToGetServiceProfilesDatumAccountOutp return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumAccountOutput) } +func (i GetServiceProfilesDatumAccountArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumAccount] { + return pulumix.Output[GetServiceProfilesDatumAccount]{ + OutputState: i.ToGetServiceProfilesDatumAccountOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumAccountArrayInput is an input type that accepts GetServiceProfilesDatumAccountArray and GetServiceProfilesDatumAccountArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumAccountArrayInput` via: // @@ -18870,6 +28127,12 @@ func (i GetServiceProfilesDatumAccountArray) ToGetServiceProfilesDatumAccountArr return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumAccountArrayOutput) } +func (i GetServiceProfilesDatumAccountArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumAccount] { + return pulumix.Output[[]GetServiceProfilesDatumAccount]{ + OutputState: i.ToGetServiceProfilesDatumAccountArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumAccountOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumAccountOutput) ElementType() reflect.Type { @@ -18884,6 +28147,12 @@ func (o GetServiceProfilesDatumAccountOutput) ToGetServiceProfilesDatumAccountOu return o } +func (o GetServiceProfilesDatumAccountOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumAccount] { + return pulumix.Output[GetServiceProfilesDatumAccount]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumAccountOutput) AccountName() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilesDatumAccount) string { return v.AccountName }).(pulumi.StringOutput) } @@ -18930,6 +28199,12 @@ func (o GetServiceProfilesDatumAccountArrayOutput) ToGetServiceProfilesDatumAcco return o } +func (o GetServiceProfilesDatumAccountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumAccount] { + return pulumix.Output[[]GetServiceProfilesDatumAccount]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumAccountArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumAccountOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumAccount { return vs[0].([]GetServiceProfilesDatumAccount)[vs[1].(int)] @@ -18989,6 +28264,12 @@ func (i GetServiceProfilesDatumChangeLogArgs) ToGetServiceProfilesDatumChangeLog return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumChangeLogOutput) } +func (i GetServiceProfilesDatumChangeLogArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumChangeLog] { + return pulumix.Output[GetServiceProfilesDatumChangeLog]{ + OutputState: i.ToGetServiceProfilesDatumChangeLogOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumChangeLogArrayInput is an input type that accepts GetServiceProfilesDatumChangeLogArray and GetServiceProfilesDatumChangeLogArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumChangeLogArrayInput` via: // @@ -19014,6 +28295,12 @@ func (i GetServiceProfilesDatumChangeLogArray) ToGetServiceProfilesDatumChangeLo return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumChangeLogArrayOutput) } +func (i GetServiceProfilesDatumChangeLogArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumChangeLog] { + return pulumix.Output[[]GetServiceProfilesDatumChangeLog]{ + OutputState: i.ToGetServiceProfilesDatumChangeLogArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumChangeLogOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumChangeLogOutput) ElementType() reflect.Type { @@ -19028,6 +28315,12 @@ func (o GetServiceProfilesDatumChangeLogOutput) ToGetServiceProfilesDatumChangeL return o } +func (o GetServiceProfilesDatumChangeLogOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumChangeLog] { + return pulumix.Output[GetServiceProfilesDatumChangeLog]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumChangeLogOutput) CreatedBy() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilesDatumChangeLog) string { return v.CreatedBy }).(pulumi.StringOutput) } @@ -19090,6 +28383,12 @@ func (o GetServiceProfilesDatumChangeLogArrayOutput) ToGetServiceProfilesDatumCh return o } +func (o GetServiceProfilesDatumChangeLogArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumChangeLog] { + return pulumix.Output[[]GetServiceProfilesDatumChangeLog]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumChangeLogArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumChangeLogOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumChangeLog { return vs[0].([]GetServiceProfilesDatumChangeLog)[vs[1].(int)] @@ -19137,6 +28436,12 @@ func (i GetServiceProfilesDatumCustomFieldArgs) ToGetServiceProfilesDatumCustomF return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumCustomFieldOutput) } +func (i GetServiceProfilesDatumCustomFieldArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumCustomField] { + return pulumix.Output[GetServiceProfilesDatumCustomField]{ + OutputState: i.ToGetServiceProfilesDatumCustomFieldOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumCustomFieldArrayInput is an input type that accepts GetServiceProfilesDatumCustomFieldArray and GetServiceProfilesDatumCustomFieldArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumCustomFieldArrayInput` via: // @@ -19162,6 +28467,12 @@ func (i GetServiceProfilesDatumCustomFieldArray) ToGetServiceProfilesDatumCustom return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumCustomFieldArrayOutput) } +func (i GetServiceProfilesDatumCustomFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumCustomField] { + return pulumix.Output[[]GetServiceProfilesDatumCustomField]{ + OutputState: i.ToGetServiceProfilesDatumCustomFieldArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumCustomFieldOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumCustomFieldOutput) ElementType() reflect.Type { @@ -19176,6 +28487,12 @@ func (o GetServiceProfilesDatumCustomFieldOutput) ToGetServiceProfilesDatumCusto return o } +func (o GetServiceProfilesDatumCustomFieldOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumCustomField] { + return pulumix.Output[GetServiceProfilesDatumCustomField]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumCustomFieldOutput) CaptureInEmail() pulumi.BoolOutput { return o.ApplyT(func(v GetServiceProfilesDatumCustomField) bool { return v.CaptureInEmail }).(pulumi.BoolOutput) } @@ -19214,6 +28531,12 @@ func (o GetServiceProfilesDatumCustomFieldArrayOutput) ToGetServiceProfilesDatum return o } +func (o GetServiceProfilesDatumCustomFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumCustomField] { + return pulumix.Output[[]GetServiceProfilesDatumCustomField]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumCustomFieldArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumCustomFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumCustomField { return vs[0].([]GetServiceProfilesDatumCustomField)[vs[1].(int)] @@ -19255,6 +28578,12 @@ func (i GetServiceProfilesDatumMarketingInfoArgs) ToGetServiceProfilesDatumMarke return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumMarketingInfoOutput) } +func (i GetServiceProfilesDatumMarketingInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumMarketingInfo] { + return pulumix.Output[GetServiceProfilesDatumMarketingInfo]{ + OutputState: i.ToGetServiceProfilesDatumMarketingInfoOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumMarketingInfoArrayInput is an input type that accepts GetServiceProfilesDatumMarketingInfoArray and GetServiceProfilesDatumMarketingInfoArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumMarketingInfoArrayInput` via: // @@ -19280,6 +28609,12 @@ func (i GetServiceProfilesDatumMarketingInfoArray) ToGetServiceProfilesDatumMark return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumMarketingInfoArrayOutput) } +func (i GetServiceProfilesDatumMarketingInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumMarketingInfo] { + return pulumix.Output[[]GetServiceProfilesDatumMarketingInfo]{ + OutputState: i.ToGetServiceProfilesDatumMarketingInfoArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumMarketingInfoOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumMarketingInfoOutput) ElementType() reflect.Type { @@ -19294,6 +28629,12 @@ func (o GetServiceProfilesDatumMarketingInfoOutput) ToGetServiceProfilesDatumMar return o } +func (o GetServiceProfilesDatumMarketingInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumMarketingInfo] { + return pulumix.Output[GetServiceProfilesDatumMarketingInfo]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumMarketingInfoOutput) Logo() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilesDatumMarketingInfo) string { return v.Logo }).(pulumi.StringOutput) } @@ -19322,6 +28663,12 @@ func (o GetServiceProfilesDatumMarketingInfoArrayOutput) ToGetServiceProfilesDat return o } +func (o GetServiceProfilesDatumMarketingInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumMarketingInfo] { + return pulumix.Output[[]GetServiceProfilesDatumMarketingInfo]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumMarketingInfoArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumMarketingInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumMarketingInfo { return vs[0].([]GetServiceProfilesDatumMarketingInfo)[vs[1].(int)] @@ -19363,6 +28710,12 @@ func (i GetServiceProfilesDatumMarketingInfoProcessStepArgs) ToGetServiceProfile return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumMarketingInfoProcessStepOutput) } +func (i GetServiceProfilesDatumMarketingInfoProcessStepArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumMarketingInfoProcessStep] { + return pulumix.Output[GetServiceProfilesDatumMarketingInfoProcessStep]{ + OutputState: i.ToGetServiceProfilesDatumMarketingInfoProcessStepOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumMarketingInfoProcessStepArrayInput is an input type that accepts GetServiceProfilesDatumMarketingInfoProcessStepArray and GetServiceProfilesDatumMarketingInfoProcessStepArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumMarketingInfoProcessStepArrayInput` via: // @@ -19388,6 +28741,12 @@ func (i GetServiceProfilesDatumMarketingInfoProcessStepArray) ToGetServiceProfil return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumMarketingInfoProcessStepArrayOutput) } +func (i GetServiceProfilesDatumMarketingInfoProcessStepArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumMarketingInfoProcessStep] { + return pulumix.Output[[]GetServiceProfilesDatumMarketingInfoProcessStep]{ + OutputState: i.ToGetServiceProfilesDatumMarketingInfoProcessStepArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumMarketingInfoProcessStepOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumMarketingInfoProcessStepOutput) ElementType() reflect.Type { @@ -19402,6 +28761,12 @@ func (o GetServiceProfilesDatumMarketingInfoProcessStepOutput) ToGetServiceProfi return o } +func (o GetServiceProfilesDatumMarketingInfoProcessStepOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumMarketingInfoProcessStep] { + return pulumix.Output[GetServiceProfilesDatumMarketingInfoProcessStep]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumMarketingInfoProcessStepOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilesDatumMarketingInfoProcessStep) string { return v.Description }).(pulumi.StringOutput) } @@ -19428,6 +28793,12 @@ func (o GetServiceProfilesDatumMarketingInfoProcessStepArrayOutput) ToGetService return o } +func (o GetServiceProfilesDatumMarketingInfoProcessStepArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumMarketingInfoProcessStep] { + return pulumix.Output[[]GetServiceProfilesDatumMarketingInfoProcessStep]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumMarketingInfoProcessStepArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumMarketingInfoProcessStepOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumMarketingInfoProcessStep { return vs[0].([]GetServiceProfilesDatumMarketingInfoProcessStep)[vs[1].(int)] @@ -19475,6 +28846,12 @@ func (i GetServiceProfilesDatumMetroArgs) ToGetServiceProfilesDatumMetroOutputWi return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumMetroOutput) } +func (i GetServiceProfilesDatumMetroArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumMetro] { + return pulumix.Output[GetServiceProfilesDatumMetro]{ + OutputState: i.ToGetServiceProfilesDatumMetroOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumMetroArrayInput is an input type that accepts GetServiceProfilesDatumMetroArray and GetServiceProfilesDatumMetroArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumMetroArrayInput` via: // @@ -19500,6 +28877,12 @@ func (i GetServiceProfilesDatumMetroArray) ToGetServiceProfilesDatumMetroArrayOu return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumMetroArrayOutput) } +func (i GetServiceProfilesDatumMetroArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumMetro] { + return pulumix.Output[[]GetServiceProfilesDatumMetro]{ + OutputState: i.ToGetServiceProfilesDatumMetroArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumMetroOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumMetroOutput) ElementType() reflect.Type { @@ -19514,6 +28897,12 @@ func (o GetServiceProfilesDatumMetroOutput) ToGetServiceProfilesDatumMetroOutput return o } +func (o GetServiceProfilesDatumMetroOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumMetro] { + return pulumix.Output[GetServiceProfilesDatumMetro]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumMetroOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilesDatumMetro) string { return v.Code }).(pulumi.StringOutput) } @@ -19552,6 +28941,12 @@ func (o GetServiceProfilesDatumMetroArrayOutput) ToGetServiceProfilesDatumMetroA return o } +func (o GetServiceProfilesDatumMetroArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumMetro] { + return pulumix.Output[[]GetServiceProfilesDatumMetro]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumMetroArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumMetroOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumMetro { return vs[0].([]GetServiceProfilesDatumMetro)[vs[1].(int)] @@ -19593,6 +28988,12 @@ func (i GetServiceProfilesDatumNotificationArgs) ToGetServiceProfilesDatumNotifi return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumNotificationOutput) } +func (i GetServiceProfilesDatumNotificationArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumNotification] { + return pulumix.Output[GetServiceProfilesDatumNotification]{ + OutputState: i.ToGetServiceProfilesDatumNotificationOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumNotificationArrayInput is an input type that accepts GetServiceProfilesDatumNotificationArray and GetServiceProfilesDatumNotificationArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumNotificationArrayInput` via: // @@ -19618,6 +29019,12 @@ func (i GetServiceProfilesDatumNotificationArray) ToGetServiceProfilesDatumNotif return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumNotificationArrayOutput) } +func (i GetServiceProfilesDatumNotificationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumNotification] { + return pulumix.Output[[]GetServiceProfilesDatumNotification]{ + OutputState: i.ToGetServiceProfilesDatumNotificationArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumNotificationOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumNotificationOutput) ElementType() reflect.Type { @@ -19632,6 +29039,12 @@ func (o GetServiceProfilesDatumNotificationOutput) ToGetServiceProfilesDatumNoti return o } +func (o GetServiceProfilesDatumNotificationOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumNotification] { + return pulumix.Output[GetServiceProfilesDatumNotification]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumNotificationOutput) Emails() pulumi.StringArrayOutput { return o.ApplyT(func(v GetServiceProfilesDatumNotification) []string { return v.Emails }).(pulumi.StringArrayOutput) } @@ -19658,6 +29071,12 @@ func (o GetServiceProfilesDatumNotificationArrayOutput) ToGetServiceProfilesDatu return o } +func (o GetServiceProfilesDatumNotificationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumNotification] { + return pulumix.Output[[]GetServiceProfilesDatumNotification]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumNotificationArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumNotificationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumNotification { return vs[0].([]GetServiceProfilesDatumNotification)[vs[1].(int)] @@ -19705,6 +29124,12 @@ func (i GetServiceProfilesDatumPortArgs) ToGetServiceProfilesDatumPortOutputWith return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumPortOutput) } +func (i GetServiceProfilesDatumPortArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumPort] { + return pulumix.Output[GetServiceProfilesDatumPort]{ + OutputState: i.ToGetServiceProfilesDatumPortOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumPortArrayInput is an input type that accepts GetServiceProfilesDatumPortArray and GetServiceProfilesDatumPortArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumPortArrayInput` via: // @@ -19730,6 +29155,12 @@ func (i GetServiceProfilesDatumPortArray) ToGetServiceProfilesDatumPortArrayOutp return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumPortArrayOutput) } +func (i GetServiceProfilesDatumPortArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumPort] { + return pulumix.Output[[]GetServiceProfilesDatumPort]{ + OutputState: i.ToGetServiceProfilesDatumPortArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumPortOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumPortOutput) ElementType() reflect.Type { @@ -19744,6 +29175,12 @@ func (o GetServiceProfilesDatumPortOutput) ToGetServiceProfilesDatumPortOutputWi return o } +func (o GetServiceProfilesDatumPortOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumPort] { + return pulumix.Output[GetServiceProfilesDatumPort]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumPortOutput) CrossConnectId() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilesDatumPort) string { return v.CrossConnectId }).(pulumi.StringOutput) } @@ -19782,6 +29219,12 @@ func (o GetServiceProfilesDatumPortArrayOutput) ToGetServiceProfilesDatumPortArr return o } +func (o GetServiceProfilesDatumPortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumPort] { + return pulumix.Output[[]GetServiceProfilesDatumPort]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumPortArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumPortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumPort { return vs[0].([]GetServiceProfilesDatumPort)[vs[1].(int)] @@ -19825,6 +29268,12 @@ func (i GetServiceProfilesDatumPortLocationArgs) ToGetServiceProfilesDatumPortLo return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumPortLocationOutput) } +func (i GetServiceProfilesDatumPortLocationArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumPortLocation] { + return pulumix.Output[GetServiceProfilesDatumPortLocation]{ + OutputState: i.ToGetServiceProfilesDatumPortLocationOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumPortLocationArrayInput is an input type that accepts GetServiceProfilesDatumPortLocationArray and GetServiceProfilesDatumPortLocationArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumPortLocationArrayInput` via: // @@ -19850,6 +29299,12 @@ func (i GetServiceProfilesDatumPortLocationArray) ToGetServiceProfilesDatumPortL return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumPortLocationArrayOutput) } +func (i GetServiceProfilesDatumPortLocationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumPortLocation] { + return pulumix.Output[[]GetServiceProfilesDatumPortLocation]{ + OutputState: i.ToGetServiceProfilesDatumPortLocationArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumPortLocationOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumPortLocationOutput) ElementType() reflect.Type { @@ -19864,6 +29319,12 @@ func (o GetServiceProfilesDatumPortLocationOutput) ToGetServiceProfilesDatumPort return o } +func (o GetServiceProfilesDatumPortLocationOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumPortLocation] { + return pulumix.Output[GetServiceProfilesDatumPortLocation]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumPortLocationOutput) Ibx() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilesDatumPortLocation) string { return v.Ibx }).(pulumi.StringOutput) } @@ -19894,6 +29355,12 @@ func (o GetServiceProfilesDatumPortLocationArrayOutput) ToGetServiceProfilesDatu return o } +func (o GetServiceProfilesDatumPortLocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumPortLocation] { + return pulumix.Output[[]GetServiceProfilesDatumPortLocation]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumPortLocationArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumPortLocationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumPortLocation { return vs[0].([]GetServiceProfilesDatumPortLocation)[vs[1].(int)] @@ -19933,6 +29400,12 @@ func (i GetServiceProfilesDatumProjectArgs) ToGetServiceProfilesDatumProjectOutp return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumProjectOutput) } +func (i GetServiceProfilesDatumProjectArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumProject] { + return pulumix.Output[GetServiceProfilesDatumProject]{ + OutputState: i.ToGetServiceProfilesDatumProjectOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesDatumProjectArrayInput is an input type that accepts GetServiceProfilesDatumProjectArray and GetServiceProfilesDatumProjectArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesDatumProjectArrayInput` via: // @@ -19958,6 +29431,12 @@ func (i GetServiceProfilesDatumProjectArray) ToGetServiceProfilesDatumProjectArr return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesDatumProjectArrayOutput) } +func (i GetServiceProfilesDatumProjectArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumProject] { + return pulumix.Output[[]GetServiceProfilesDatumProject]{ + OutputState: i.ToGetServiceProfilesDatumProjectArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesDatumProjectOutput struct{ *pulumi.OutputState } func (GetServiceProfilesDatumProjectOutput) ElementType() reflect.Type { @@ -19972,6 +29451,12 @@ func (o GetServiceProfilesDatumProjectOutput) ToGetServiceProfilesDatumProjectOu return o } +func (o GetServiceProfilesDatumProjectOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesDatumProject] { + return pulumix.Output[GetServiceProfilesDatumProject]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumProjectOutput) Href() pulumi.StringOutput { return o.ApplyT(func(v GetServiceProfilesDatumProject) string { return v.Href }).(pulumi.StringOutput) } @@ -19994,6 +29479,12 @@ func (o GetServiceProfilesDatumProjectArrayOutput) ToGetServiceProfilesDatumProj return o } +func (o GetServiceProfilesDatumProjectArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesDatumProject] { + return pulumix.Output[[]GetServiceProfilesDatumProject]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesDatumProjectArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesDatumProjectOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesDatumProject { return vs[0].([]GetServiceProfilesDatumProject)[vs[1].(int)] @@ -20041,6 +29532,12 @@ func (i GetServiceProfilesFilterArgs) ToGetServiceProfilesFilterOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesFilterOutput) } +func (i GetServiceProfilesFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesFilter] { + return pulumix.Output[GetServiceProfilesFilter]{ + OutputState: i.ToGetServiceProfilesFilterOutputWithContext(ctx).OutputState, + } +} + func (i GetServiceProfilesFilterArgs) ToGetServiceProfilesFilterPtrOutput() GetServiceProfilesFilterPtrOutput { return i.ToGetServiceProfilesFilterPtrOutputWithContext(context.Background()) } @@ -20082,6 +29579,12 @@ func (i *getServiceProfilesFilterPtrType) ToGetServiceProfilesFilterPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesFilterPtrOutput) } +func (i *getServiceProfilesFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*GetServiceProfilesFilter] { + return pulumix.Output[*GetServiceProfilesFilter]{ + OutputState: i.ToGetServiceProfilesFilterPtrOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesFilterOutput struct{ *pulumi.OutputState } func (GetServiceProfilesFilterOutput) ElementType() reflect.Type { @@ -20106,6 +29609,12 @@ func (o GetServiceProfilesFilterOutput) ToGetServiceProfilesFilterPtrOutputWithC }).(GetServiceProfilesFilterPtrOutput) } +func (o GetServiceProfilesFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesFilter] { + return pulumix.Output[GetServiceProfilesFilter]{ + OutputState: o.OutputState, + } +} + // Possible operator to use on filters = - equal func (o GetServiceProfilesFilterOutput) Operator() pulumi.StringPtrOutput { return o.ApplyT(func(v GetServiceProfilesFilter) *string { return v.Operator }).(pulumi.StringPtrOutput) @@ -20135,6 +29644,12 @@ func (o GetServiceProfilesFilterPtrOutput) ToGetServiceProfilesFilterPtrOutputWi return o } +func (o GetServiceProfilesFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GetServiceProfilesFilter] { + return pulumix.Output[*GetServiceProfilesFilter]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesFilterPtrOutput) Elem() GetServiceProfilesFilterOutput { return o.ApplyT(func(v *GetServiceProfilesFilter) GetServiceProfilesFilter { if v != nil { @@ -20212,6 +29727,12 @@ func (i GetServiceProfilesSortArgs) ToGetServiceProfilesSortOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesSortOutput) } +func (i GetServiceProfilesSortArgs) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesSort] { + return pulumix.Output[GetServiceProfilesSort]{ + OutputState: i.ToGetServiceProfilesSortOutputWithContext(ctx).OutputState, + } +} + // GetServiceProfilesSortArrayInput is an input type that accepts GetServiceProfilesSortArray and GetServiceProfilesSortArrayOutput values. // You can construct a concrete instance of `GetServiceProfilesSortArrayInput` via: // @@ -20237,6 +29758,12 @@ func (i GetServiceProfilesSortArray) ToGetServiceProfilesSortArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GetServiceProfilesSortArrayOutput) } +func (i GetServiceProfilesSortArray) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesSort] { + return pulumix.Output[[]GetServiceProfilesSort]{ + OutputState: i.ToGetServiceProfilesSortArrayOutputWithContext(ctx).OutputState, + } +} + type GetServiceProfilesSortOutput struct{ *pulumi.OutputState } func (GetServiceProfilesSortOutput) ElementType() reflect.Type { @@ -20251,6 +29778,12 @@ func (o GetServiceProfilesSortOutput) ToGetServiceProfilesSortOutputWithContext( return o } +func (o GetServiceProfilesSortOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceProfilesSort] { + return pulumix.Output[GetServiceProfilesSort]{ + OutputState: o.OutputState, + } +} + // Priority type- DESC, ASC func (o GetServiceProfilesSortOutput) Direction() pulumi.StringPtrOutput { return o.ApplyT(func(v GetServiceProfilesSort) *string { return v.Direction }).(pulumi.StringPtrOutput) @@ -20275,6 +29808,12 @@ func (o GetServiceProfilesSortArrayOutput) ToGetServiceProfilesSortArrayOutputWi return o } +func (o GetServiceProfilesSortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetServiceProfilesSort] { + return pulumix.Output[[]GetServiceProfilesSort]{ + OutputState: o.OutputState, + } +} + func (o GetServiceProfilesSortArrayOutput) Index(i pulumi.IntInput) GetServiceProfilesSortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProfilesSort { return vs[0].([]GetServiceProfilesSort)[vs[1].(int)] @@ -20282,6 +29821,20 @@ func (o GetServiceProfilesSortArrayOutput) Index(i pulumi.IntInput) GetServicePr } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterAccountInput)(nil)).Elem(), CloudRouterAccountArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterAccountPtrInput)(nil)).Elem(), CloudRouterAccountArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterChangeLogInput)(nil)).Elem(), CloudRouterChangeLogArgs{}) + 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((*CloudRouterNotificationInput)(nil)).Elem(), CloudRouterNotificationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterNotificationArrayInput)(nil)).Elem(), CloudRouterNotificationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterOrderInput)(nil)).Elem(), CloudRouterOrderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterOrderPtrInput)(nil)).Elem(), CloudRouterOrderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterPackageInput)(nil)).Elem(), CloudRouterPackageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterPackagePtrInput)(nil)).Elem(), CloudRouterPackageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterProjectInput)(nil)).Elem(), CloudRouterProjectArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterProjectArrayInput)(nil)).Elem(), CloudRouterProjectArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideInput)(nil)).Elem(), ConnectionASideArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASidePtrInput)(nil)).Elem(), ConnectionASideArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointInput)(nil)).Elem(), ConnectionASideAccessPointArgs{}) @@ -20296,6 +29849,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointLinkProtocolPtrInput)(nil)).Elem(), ConnectionASideAccessPointLinkProtocolArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointLocationInput)(nil)).Elem(), ConnectionASideAccessPointLocationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointLocationPtrInput)(nil)).Elem(), ConnectionASideAccessPointLocationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointNetworkInput)(nil)).Elem(), ConnectionASideAccessPointNetworkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointNetworkPtrInput)(nil)).Elem(), ConnectionASideAccessPointNetworkArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointPortInput)(nil)).Elem(), ConnectionASideAccessPointPortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointPortPtrInput)(nil)).Elem(), ConnectionASideAccessPointPortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointPortRedundancyInput)(nil)).Elem(), ConnectionASideAccessPointPortRedundancyArgs{}) @@ -20304,6 +29859,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointProfilePtrInput)(nil)).Elem(), ConnectionASideAccessPointProfileArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointProfileAccessPointTypeConfigInput)(nil)).Elem(), ConnectionASideAccessPointProfileAccessPointTypeConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointProfileAccessPointTypeConfigArrayInput)(nil)).Elem(), ConnectionASideAccessPointProfileAccessPointTypeConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointRouterInput)(nil)).Elem(), ConnectionASideAccessPointRouterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointRouterPtrInput)(nil)).Elem(), ConnectionASideAccessPointRouterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointRoutingProtocolInput)(nil)).Elem(), ConnectionASideAccessPointRoutingProtocolArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointRoutingProtocolArrayInput)(nil)).Elem(), ConnectionASideAccessPointRoutingProtocolArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideAccessPointVirtualDeviceInput)(nil)).Elem(), ConnectionASideAccessPointVirtualDeviceArgs{}) @@ -20314,8 +29871,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ConnectionASideServiceTokenPtrInput)(nil)).Elem(), ConnectionASideServiceTokenArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionAccountInput)(nil)).Elem(), ConnectionAccountArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionAccountPtrInput)(nil)).Elem(), ConnectionAccountArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ConnectionAdditionalInfoInput)(nil)).Elem(), ConnectionAdditionalInfoArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ConnectionAdditionalInfoArrayInput)(nil)).Elem(), ConnectionAdditionalInfoArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionChangeLogInput)(nil)).Elem(), ConnectionChangeLogArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionChangeLogPtrInput)(nil)).Elem(), ConnectionChangeLogArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionNotificationInput)(nil)).Elem(), ConnectionNotificationArgs{}) @@ -20346,6 +29901,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointLinkProtocolPtrInput)(nil)).Elem(), ConnectionZSideAccessPointLinkProtocolArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointLocationInput)(nil)).Elem(), ConnectionZSideAccessPointLocationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointLocationPtrInput)(nil)).Elem(), ConnectionZSideAccessPointLocationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointNetworkInput)(nil)).Elem(), ConnectionZSideAccessPointNetworkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointNetworkPtrInput)(nil)).Elem(), ConnectionZSideAccessPointNetworkArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointPortInput)(nil)).Elem(), ConnectionZSideAccessPointPortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointPortPtrInput)(nil)).Elem(), ConnectionZSideAccessPointPortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointPortRedundancyInput)(nil)).Elem(), ConnectionZSideAccessPointPortRedundancyArgs{}) @@ -20354,6 +29911,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointProfilePtrInput)(nil)).Elem(), ConnectionZSideAccessPointProfileArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointProfileAccessPointTypeConfigInput)(nil)).Elem(), ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayInput)(nil)).Elem(), ConnectionZSideAccessPointProfileAccessPointTypeConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointRouterInput)(nil)).Elem(), ConnectionZSideAccessPointRouterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointRouterPtrInput)(nil)).Elem(), ConnectionZSideAccessPointRouterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointRoutingProtocolInput)(nil)).Elem(), ConnectionZSideAccessPointRoutingProtocolArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointRoutingProtocolArrayInput)(nil)).Elem(), ConnectionZSideAccessPointRoutingProtocolArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAccessPointVirtualDeviceInput)(nil)).Elem(), ConnectionZSideAccessPointVirtualDeviceArgs{}) @@ -20362,6 +29921,26 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideAdditionalInfoArrayInput)(nil)).Elem(), ConnectionZSideAdditionalInfoArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideServiceTokenInput)(nil)).Elem(), ConnectionZSideServiceTokenArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionZSideServiceTokenPtrInput)(nil)).Elem(), ConnectionZSideServiceTokenArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolBfdInput)(nil)).Elem(), RoutingProtocolBfdArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolBfdPtrInput)(nil)).Elem(), RoutingProtocolBfdArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolBgpIpv4Input)(nil)).Elem(), RoutingProtocolBgpIpv4Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolBgpIpv4PtrInput)(nil)).Elem(), RoutingProtocolBgpIpv4Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolBgpIpv6Input)(nil)).Elem(), RoutingProtocolBgpIpv6Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolBgpIpv6PtrInput)(nil)).Elem(), RoutingProtocolBgpIpv6Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolChangeInput)(nil)).Elem(), RoutingProtocolChangeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolChangeArrayInput)(nil)).Elem(), RoutingProtocolChangeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolChangeLogInput)(nil)).Elem(), RoutingProtocolChangeLogArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolChangeLogArrayInput)(nil)).Elem(), RoutingProtocolChangeLogArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolDirectIpv4Input)(nil)).Elem(), RoutingProtocolDirectIpv4Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolDirectIpv4PtrInput)(nil)).Elem(), RoutingProtocolDirectIpv4Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolDirectIpv6Input)(nil)).Elem(), RoutingProtocolDirectIpv6Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolDirectIpv6PtrInput)(nil)).Elem(), RoutingProtocolDirectIpv6Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolOperationInput)(nil)).Elem(), RoutingProtocolOperationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolOperationArrayInput)(nil)).Elem(), RoutingProtocolOperationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolOperationErrorInput)(nil)).Elem(), RoutingProtocolOperationErrorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolOperationErrorArrayInput)(nil)).Elem(), RoutingProtocolOperationErrorArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolOperationErrorAdditionalInfoInput)(nil)).Elem(), RoutingProtocolOperationErrorAdditionalInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolOperationErrorAdditionalInfoArrayInput)(nil)).Elem(), RoutingProtocolOperationErrorAdditionalInfoArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ServiceProfileAccessPointTypeConfigInput)(nil)).Elem(), ServiceProfileAccessPointTypeConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ServiceProfileAccessPointTypeConfigArrayInput)(nil)).Elem(), ServiceProfileAccessPointTypeConfigArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ServiceProfileAccessPointTypeConfigApiConfigInput)(nil)).Elem(), ServiceProfileAccessPointTypeConfigApiConfigArgs{}) @@ -20394,6 +29973,20 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ServiceProfileVirtualDeviceArrayInput)(nil)).Elem(), ServiceProfileVirtualDeviceArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ServiceProfileVirtualDeviceLocationInput)(nil)).Elem(), ServiceProfileVirtualDeviceLocationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ServiceProfileVirtualDeviceLocationPtrInput)(nil)).Elem(), ServiceProfileVirtualDeviceLocationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterAccountInput)(nil)).Elem(), GetCloudRouterAccountArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterAccountArrayInput)(nil)).Elem(), GetCloudRouterAccountArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterChangeLogInput)(nil)).Elem(), GetCloudRouterChangeLogArgs{}) + 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((*GetCloudRouterNotificationInput)(nil)).Elem(), GetCloudRouterNotificationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterNotificationArrayInput)(nil)).Elem(), GetCloudRouterNotificationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterOrderInput)(nil)).Elem(), GetCloudRouterOrderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterOrderArrayInput)(nil)).Elem(), GetCloudRouterOrderArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterPackageInput)(nil)).Elem(), GetCloudRouterPackageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterPackageArrayInput)(nil)).Elem(), GetCloudRouterPackageArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterProjectInput)(nil)).Elem(), GetCloudRouterProjectArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterProjectArrayInput)(nil)).Elem(), GetCloudRouterProjectArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionASideInput)(nil)).Elem(), GetConnectionASideArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionASideAccessPointInput)(nil)).Elem(), GetConnectionASideAccessPointArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionASideAccessPointAccountInput)(nil)).Elem(), GetConnectionASideAccessPointAccountArgs{}) @@ -20420,6 +30013,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput)(nil)).Elem(), GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput)(nil)).Elem(), GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput)(nil)).Elem(), GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionASideAccessPointRouterInput)(nil)).Elem(), GetConnectionASideAccessPointRouterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionASideAccessPointRouterArrayInput)(nil)).Elem(), GetConnectionASideAccessPointRouterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionASideAccessPointVirtualDeviceInput)(nil)).Elem(), GetConnectionASideAccessPointVirtualDeviceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionASideAccessPointVirtualDeviceArrayInput)(nil)).Elem(), GetConnectionASideAccessPointVirtualDeviceArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionASideServiceTokenInput)(nil)).Elem(), GetConnectionASideServiceTokenArgs{}) @@ -20464,6 +30059,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayInput)(nil)).Elem(), GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigInput)(nil)).Elem(), GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayInput)(nil)).Elem(), GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionZSideAccessPointRouterInput)(nil)).Elem(), GetConnectionZSideAccessPointRouterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionZSideAccessPointRouterArrayInput)(nil)).Elem(), GetConnectionZSideAccessPointRouterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionZSideAccessPointVirtualDeviceInput)(nil)).Elem(), GetConnectionZSideAccessPointVirtualDeviceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionZSideAccessPointVirtualDeviceArrayInput)(nil)).Elem(), GetConnectionZSideAccessPointVirtualDeviceArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionZSideServiceTokenInput)(nil)).Elem(), GetConnectionZSideServiceTokenArgs{}) @@ -20473,7 +30070,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetPortDeviceRedundancyInput)(nil)).Elem(), GetPortDeviceRedundancyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPortDeviceRedundancyArrayInput)(nil)).Elem(), GetPortDeviceRedundancyArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPortEncapsulationInput)(nil)).Elem(), GetPortEncapsulationArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPortLagInput)(nil)).Elem(), GetPortLagArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPortLocationInput)(nil)).Elem(), GetPortLocationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPortOperationInput)(nil)).Elem(), GetPortOperationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPortRedundancyInput)(nil)).Elem(), GetPortRedundancyArgs{}) @@ -20489,8 +30085,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetPortsDatumDeviceRedundancyArrayInput)(nil)).Elem(), GetPortsDatumDeviceRedundancyArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPortsDatumEncapsulationInput)(nil)).Elem(), GetPortsDatumEncapsulationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPortsDatumEncapsulationArrayInput)(nil)).Elem(), GetPortsDatumEncapsulationArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPortsDatumLagInput)(nil)).Elem(), GetPortsDatumLagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPortsDatumLagArrayInput)(nil)).Elem(), GetPortsDatumLagArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPortsDatumLocationInput)(nil)).Elem(), GetPortsDatumLocationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPortsDatumLocationArrayInput)(nil)).Elem(), GetPortsDatumLocationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPortsDatumOperationInput)(nil)).Elem(), GetPortsDatumOperationArgs{}) @@ -20499,6 +30093,26 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetPortsDatumRedundancyArrayInput)(nil)).Elem(), GetPortsDatumRedundancyArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPortsFilterInput)(nil)).Elem(), GetPortsFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPortsFilterPtrInput)(nil)).Elem(), GetPortsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolBfdInput)(nil)).Elem(), GetRoutingProtocolBfdArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolBfdPtrInput)(nil)).Elem(), GetRoutingProtocolBfdArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolBgpIpv4Input)(nil)).Elem(), GetRoutingProtocolBgpIpv4Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolBgpIpv4PtrInput)(nil)).Elem(), GetRoutingProtocolBgpIpv4Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolBgpIpv6Input)(nil)).Elem(), GetRoutingProtocolBgpIpv6Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolBgpIpv6PtrInput)(nil)).Elem(), GetRoutingProtocolBgpIpv6Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolChangeInput)(nil)).Elem(), GetRoutingProtocolChangeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolChangeArrayInput)(nil)).Elem(), GetRoutingProtocolChangeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolChangeLogInput)(nil)).Elem(), GetRoutingProtocolChangeLogArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolChangeLogArrayInput)(nil)).Elem(), GetRoutingProtocolChangeLogArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolDirectIpv4Input)(nil)).Elem(), GetRoutingProtocolDirectIpv4Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolDirectIpv4PtrInput)(nil)).Elem(), GetRoutingProtocolDirectIpv4Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolDirectIpv6Input)(nil)).Elem(), GetRoutingProtocolDirectIpv6Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolDirectIpv6PtrInput)(nil)).Elem(), GetRoutingProtocolDirectIpv6Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolOperationInput)(nil)).Elem(), GetRoutingProtocolOperationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolOperationArrayInput)(nil)).Elem(), GetRoutingProtocolOperationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolOperationErrorInput)(nil)).Elem(), GetRoutingProtocolOperationErrorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolOperationErrorArrayInput)(nil)).Elem(), GetRoutingProtocolOperationErrorArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolOperationErrorAdditionalInfoInput)(nil)).Elem(), GetRoutingProtocolOperationErrorAdditionalInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoutingProtocolOperationErrorAdditionalInfoArrayInput)(nil)).Elem(), GetRoutingProtocolOperationErrorAdditionalInfoArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProfileAccessPointTypeConfigInput)(nil)).Elem(), GetServiceProfileAccessPointTypeConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProfileAccessPointTypeConfigArrayInput)(nil)).Elem(), GetServiceProfileAccessPointTypeConfigArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProfileAccessPointTypeConfigApiConfigInput)(nil)).Elem(), GetServiceProfileAccessPointTypeConfigApiConfigArgs{}) @@ -20557,6 +30171,20 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProfilesFilterPtrInput)(nil)).Elem(), GetServiceProfilesFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProfilesSortInput)(nil)).Elem(), GetServiceProfilesSortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProfilesSortArrayInput)(nil)).Elem(), GetServiceProfilesSortArray{}) + pulumi.RegisterOutputType(CloudRouterAccountOutput{}) + pulumi.RegisterOutputType(CloudRouterAccountPtrOutput{}) + pulumi.RegisterOutputType(CloudRouterChangeLogOutput{}) + pulumi.RegisterOutputType(CloudRouterChangeLogArrayOutput{}) + pulumi.RegisterOutputType(CloudRouterLocationOutput{}) + pulumi.RegisterOutputType(CloudRouterLocationPtrOutput{}) + pulumi.RegisterOutputType(CloudRouterNotificationOutput{}) + pulumi.RegisterOutputType(CloudRouterNotificationArrayOutput{}) + pulumi.RegisterOutputType(CloudRouterOrderOutput{}) + pulumi.RegisterOutputType(CloudRouterOrderPtrOutput{}) + pulumi.RegisterOutputType(CloudRouterPackageOutput{}) + pulumi.RegisterOutputType(CloudRouterPackagePtrOutput{}) + pulumi.RegisterOutputType(CloudRouterProjectOutput{}) + pulumi.RegisterOutputType(CloudRouterProjectArrayOutput{}) pulumi.RegisterOutputType(ConnectionASideOutput{}) pulumi.RegisterOutputType(ConnectionASidePtrOutput{}) pulumi.RegisterOutputType(ConnectionASideAccessPointOutput{}) @@ -20571,6 +30199,8 @@ func init() { pulumi.RegisterOutputType(ConnectionASideAccessPointLinkProtocolPtrOutput{}) pulumi.RegisterOutputType(ConnectionASideAccessPointLocationOutput{}) pulumi.RegisterOutputType(ConnectionASideAccessPointLocationPtrOutput{}) + pulumi.RegisterOutputType(ConnectionASideAccessPointNetworkOutput{}) + pulumi.RegisterOutputType(ConnectionASideAccessPointNetworkPtrOutput{}) pulumi.RegisterOutputType(ConnectionASideAccessPointPortOutput{}) pulumi.RegisterOutputType(ConnectionASideAccessPointPortPtrOutput{}) pulumi.RegisterOutputType(ConnectionASideAccessPointPortRedundancyOutput{}) @@ -20579,6 +30209,8 @@ func init() { pulumi.RegisterOutputType(ConnectionASideAccessPointProfilePtrOutput{}) pulumi.RegisterOutputType(ConnectionASideAccessPointProfileAccessPointTypeConfigOutput{}) pulumi.RegisterOutputType(ConnectionASideAccessPointProfileAccessPointTypeConfigArrayOutput{}) + pulumi.RegisterOutputType(ConnectionASideAccessPointRouterOutput{}) + pulumi.RegisterOutputType(ConnectionASideAccessPointRouterPtrOutput{}) pulumi.RegisterOutputType(ConnectionASideAccessPointRoutingProtocolOutput{}) pulumi.RegisterOutputType(ConnectionASideAccessPointRoutingProtocolArrayOutput{}) pulumi.RegisterOutputType(ConnectionASideAccessPointVirtualDeviceOutput{}) @@ -20589,8 +30221,6 @@ func init() { pulumi.RegisterOutputType(ConnectionASideServiceTokenPtrOutput{}) pulumi.RegisterOutputType(ConnectionAccountOutput{}) pulumi.RegisterOutputType(ConnectionAccountPtrOutput{}) - pulumi.RegisterOutputType(ConnectionAdditionalInfoOutput{}) - pulumi.RegisterOutputType(ConnectionAdditionalInfoArrayOutput{}) pulumi.RegisterOutputType(ConnectionChangeLogOutput{}) pulumi.RegisterOutputType(ConnectionChangeLogPtrOutput{}) pulumi.RegisterOutputType(ConnectionNotificationOutput{}) @@ -20621,6 +30251,8 @@ func init() { pulumi.RegisterOutputType(ConnectionZSideAccessPointLinkProtocolPtrOutput{}) pulumi.RegisterOutputType(ConnectionZSideAccessPointLocationOutput{}) pulumi.RegisterOutputType(ConnectionZSideAccessPointLocationPtrOutput{}) + pulumi.RegisterOutputType(ConnectionZSideAccessPointNetworkOutput{}) + pulumi.RegisterOutputType(ConnectionZSideAccessPointNetworkPtrOutput{}) pulumi.RegisterOutputType(ConnectionZSideAccessPointPortOutput{}) pulumi.RegisterOutputType(ConnectionZSideAccessPointPortPtrOutput{}) pulumi.RegisterOutputType(ConnectionZSideAccessPointPortRedundancyOutput{}) @@ -20629,6 +30261,8 @@ func init() { pulumi.RegisterOutputType(ConnectionZSideAccessPointProfilePtrOutput{}) pulumi.RegisterOutputType(ConnectionZSideAccessPointProfileAccessPointTypeConfigOutput{}) pulumi.RegisterOutputType(ConnectionZSideAccessPointProfileAccessPointTypeConfigArrayOutput{}) + pulumi.RegisterOutputType(ConnectionZSideAccessPointRouterOutput{}) + pulumi.RegisterOutputType(ConnectionZSideAccessPointRouterPtrOutput{}) pulumi.RegisterOutputType(ConnectionZSideAccessPointRoutingProtocolOutput{}) pulumi.RegisterOutputType(ConnectionZSideAccessPointRoutingProtocolArrayOutput{}) pulumi.RegisterOutputType(ConnectionZSideAccessPointVirtualDeviceOutput{}) @@ -20637,6 +30271,26 @@ func init() { pulumi.RegisterOutputType(ConnectionZSideAdditionalInfoArrayOutput{}) pulumi.RegisterOutputType(ConnectionZSideServiceTokenOutput{}) pulumi.RegisterOutputType(ConnectionZSideServiceTokenPtrOutput{}) + pulumi.RegisterOutputType(RoutingProtocolBfdOutput{}) + pulumi.RegisterOutputType(RoutingProtocolBfdPtrOutput{}) + pulumi.RegisterOutputType(RoutingProtocolBgpIpv4Output{}) + pulumi.RegisterOutputType(RoutingProtocolBgpIpv4PtrOutput{}) + pulumi.RegisterOutputType(RoutingProtocolBgpIpv6Output{}) + pulumi.RegisterOutputType(RoutingProtocolBgpIpv6PtrOutput{}) + pulumi.RegisterOutputType(RoutingProtocolChangeOutput{}) + pulumi.RegisterOutputType(RoutingProtocolChangeArrayOutput{}) + pulumi.RegisterOutputType(RoutingProtocolChangeLogOutput{}) + pulumi.RegisterOutputType(RoutingProtocolChangeLogArrayOutput{}) + pulumi.RegisterOutputType(RoutingProtocolDirectIpv4Output{}) + pulumi.RegisterOutputType(RoutingProtocolDirectIpv4PtrOutput{}) + pulumi.RegisterOutputType(RoutingProtocolDirectIpv6Output{}) + pulumi.RegisterOutputType(RoutingProtocolDirectIpv6PtrOutput{}) + pulumi.RegisterOutputType(RoutingProtocolOperationOutput{}) + pulumi.RegisterOutputType(RoutingProtocolOperationArrayOutput{}) + pulumi.RegisterOutputType(RoutingProtocolOperationErrorOutput{}) + pulumi.RegisterOutputType(RoutingProtocolOperationErrorArrayOutput{}) + pulumi.RegisterOutputType(RoutingProtocolOperationErrorAdditionalInfoOutput{}) + pulumi.RegisterOutputType(RoutingProtocolOperationErrorAdditionalInfoArrayOutput{}) pulumi.RegisterOutputType(ServiceProfileAccessPointTypeConfigOutput{}) pulumi.RegisterOutputType(ServiceProfileAccessPointTypeConfigArrayOutput{}) pulumi.RegisterOutputType(ServiceProfileAccessPointTypeConfigApiConfigOutput{}) @@ -20669,6 +30323,20 @@ func init() { pulumi.RegisterOutputType(ServiceProfileVirtualDeviceArrayOutput{}) pulumi.RegisterOutputType(ServiceProfileVirtualDeviceLocationOutput{}) pulumi.RegisterOutputType(ServiceProfileVirtualDeviceLocationPtrOutput{}) + pulumi.RegisterOutputType(GetCloudRouterAccountOutput{}) + pulumi.RegisterOutputType(GetCloudRouterAccountArrayOutput{}) + pulumi.RegisterOutputType(GetCloudRouterChangeLogOutput{}) + pulumi.RegisterOutputType(GetCloudRouterChangeLogArrayOutput{}) + pulumi.RegisterOutputType(GetCloudRouterLocationOutput{}) + pulumi.RegisterOutputType(GetCloudRouterLocationArrayOutput{}) + pulumi.RegisterOutputType(GetCloudRouterNotificationOutput{}) + pulumi.RegisterOutputType(GetCloudRouterNotificationArrayOutput{}) + pulumi.RegisterOutputType(GetCloudRouterOrderOutput{}) + pulumi.RegisterOutputType(GetCloudRouterOrderArrayOutput{}) + pulumi.RegisterOutputType(GetCloudRouterPackageOutput{}) + pulumi.RegisterOutputType(GetCloudRouterPackageArrayOutput{}) + pulumi.RegisterOutputType(GetCloudRouterProjectOutput{}) + pulumi.RegisterOutputType(GetCloudRouterProjectArrayOutput{}) pulumi.RegisterOutputType(GetConnectionASideOutput{}) pulumi.RegisterOutputType(GetConnectionASideAccessPointOutput{}) pulumi.RegisterOutputType(GetConnectionASideAccessPointAccountOutput{}) @@ -20695,6 +30363,8 @@ func init() { pulumi.RegisterOutputType(GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput{}) pulumi.RegisterOutputType(GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput{}) pulumi.RegisterOutputType(GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput{}) + pulumi.RegisterOutputType(GetConnectionASideAccessPointRouterOutput{}) + pulumi.RegisterOutputType(GetConnectionASideAccessPointRouterArrayOutput{}) pulumi.RegisterOutputType(GetConnectionASideAccessPointVirtualDeviceOutput{}) pulumi.RegisterOutputType(GetConnectionASideAccessPointVirtualDeviceArrayOutput{}) pulumi.RegisterOutputType(GetConnectionASideServiceTokenOutput{}) @@ -20739,6 +30409,8 @@ func init() { pulumi.RegisterOutputType(GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyArrayOutput{}) pulumi.RegisterOutputType(GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigOutput{}) pulumi.RegisterOutputType(GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigArrayOutput{}) + pulumi.RegisterOutputType(GetConnectionZSideAccessPointRouterOutput{}) + pulumi.RegisterOutputType(GetConnectionZSideAccessPointRouterArrayOutput{}) pulumi.RegisterOutputType(GetConnectionZSideAccessPointVirtualDeviceOutput{}) pulumi.RegisterOutputType(GetConnectionZSideAccessPointVirtualDeviceArrayOutput{}) pulumi.RegisterOutputType(GetConnectionZSideServiceTokenOutput{}) @@ -20748,7 +30420,6 @@ func init() { pulumi.RegisterOutputType(GetPortDeviceRedundancyOutput{}) pulumi.RegisterOutputType(GetPortDeviceRedundancyArrayOutput{}) pulumi.RegisterOutputType(GetPortEncapsulationOutput{}) - pulumi.RegisterOutputType(GetPortLagOutput{}) pulumi.RegisterOutputType(GetPortLocationOutput{}) pulumi.RegisterOutputType(GetPortOperationOutput{}) pulumi.RegisterOutputType(GetPortRedundancyOutput{}) @@ -20764,8 +30435,6 @@ func init() { pulumi.RegisterOutputType(GetPortsDatumDeviceRedundancyArrayOutput{}) pulumi.RegisterOutputType(GetPortsDatumEncapsulationOutput{}) pulumi.RegisterOutputType(GetPortsDatumEncapsulationArrayOutput{}) - pulumi.RegisterOutputType(GetPortsDatumLagOutput{}) - pulumi.RegisterOutputType(GetPortsDatumLagArrayOutput{}) pulumi.RegisterOutputType(GetPortsDatumLocationOutput{}) pulumi.RegisterOutputType(GetPortsDatumLocationArrayOutput{}) pulumi.RegisterOutputType(GetPortsDatumOperationOutput{}) @@ -20774,6 +30443,26 @@ func init() { pulumi.RegisterOutputType(GetPortsDatumRedundancyArrayOutput{}) pulumi.RegisterOutputType(GetPortsFilterOutput{}) pulumi.RegisterOutputType(GetPortsFilterPtrOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolBfdOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolBfdPtrOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolBgpIpv4Output{}) + pulumi.RegisterOutputType(GetRoutingProtocolBgpIpv4PtrOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolBgpIpv6Output{}) + pulumi.RegisterOutputType(GetRoutingProtocolBgpIpv6PtrOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolChangeOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolChangeArrayOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolChangeLogOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolChangeLogArrayOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolDirectIpv4Output{}) + pulumi.RegisterOutputType(GetRoutingProtocolDirectIpv4PtrOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolDirectIpv6Output{}) + pulumi.RegisterOutputType(GetRoutingProtocolDirectIpv6PtrOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolOperationOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolOperationArrayOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolOperationErrorOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolOperationErrorArrayOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolOperationErrorAdditionalInfoOutput{}) + pulumi.RegisterOutputType(GetRoutingProtocolOperationErrorAdditionalInfoArrayOutput{}) pulumi.RegisterOutputType(GetServiceProfileAccessPointTypeConfigOutput{}) pulumi.RegisterOutputType(GetServiceProfileAccessPointTypeConfigArrayOutput{}) pulumi.RegisterOutputType(GetServiceProfileAccessPointTypeConfigApiConfigOutput{}) diff --git a/sdk/go/equinix/fabric/routingProtocol.go b/sdk/go/equinix/fabric/routingProtocol.go new file mode 100644 index 00000000..c0eaf9ae --- /dev/null +++ b/sdk/go/equinix/fabric/routingProtocol.go @@ -0,0 +1,521 @@ +// 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" + + "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// ## Example Usage +// ```go +// package main +// +// import ( +// +// "github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// cfg := config.New(ctx, "") +// connectionId := cfg.Require("connectionId") +// routingProtocol, err := fabric.NewRoutingProtocol(ctx, "RoutingProtocol", &fabric.RoutingProtocolArgs{ +// ConnectionUuid: pulumi.String(connectionId), +// Name: pulumi.String("My-Direct-route-1"), +// Type: pulumi.String("DIRECT"), +// DirectIpv4: &fabric.RoutingProtocolDirectIpv4Args{ +// EquinixIfaceIp: pulumi.String("192.168.100.1/30"), +// }, +// }) +// if err != nil { +// return err +// } +// ctx.Export("routingProtocolId", routingProtocol.ID()) +// ctx.Export("routingProtocolState", routingProtocol.State) +// ctx.Export("routingProtocolEquinixAsn", routingProtocol.EquinixAsn) +// return nil +// }) +// } +// +// ``` +type RoutingProtocol struct { + pulumi.CustomResourceState + + // Bidirectional Forwarding Detection + Bfd RoutingProtocolBfdPtrOutput `pulumi:"bfd"` + // BGP authorization key + BgpAuthKey pulumi.StringPtrOutput `pulumi:"bgpAuthKey"` + // Routing Protocol BGP IPv4 + BgpIpv4 RoutingProtocolBgpIpv4PtrOutput `pulumi:"bgpIpv4"` + // Routing Protocol BGP IPv6 + BgpIpv6 RoutingProtocolBgpIpv6PtrOutput `pulumi:"bgpIpv6"` + // Captures Routing Protocol lifecycle change information + ChangeLogs RoutingProtocolChangeLogArrayOutput `pulumi:"changeLogs"` + // Routing Protocol configuration Changes + Changes RoutingProtocolChangeArrayOutput `pulumi:"changes"` + // Connection URI associated with Routing Protocol + ConnectionUuid pulumi.StringOutput `pulumi:"connectionUuid"` + // Customer-provided ASN + CustomerAsn pulumi.IntPtrOutput `pulumi:"customerAsn"` + // Customer-provided Fabric Routing Protocol description + Description pulumi.StringPtrOutput `pulumi:"description"` + // Routing Protocol Direct IPv4 + DirectIpv4 RoutingProtocolDirectIpv4PtrOutput `pulumi:"directIpv4"` + // Routing Protocol Direct IPv6 + DirectIpv6 RoutingProtocolDirectIpv6PtrOutput `pulumi:"directIpv6"` + // Equinix ASN + EquinixAsn pulumi.IntOutput `pulumi:"equinixAsn"` + // Routing Protocol URI information + Href pulumi.StringOutput `pulumi:"href"` + // Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Name pulumi.StringOutput `pulumi:"name"` + // Routing Protocol type-specific operational data + Operations RoutingProtocolOperationArrayOutput `pulumi:"operations"` + // Routing Protocol overall state + State pulumi.StringOutput `pulumi:"state"` + // Defines the routing protocol type like BGP or DIRECT + Type pulumi.StringPtrOutput `pulumi:"type"` + // Equinix-assigned routing protocol identifier + Uuid pulumi.StringOutput `pulumi:"uuid"` +} + +// NewRoutingProtocol registers a new resource with the given unique name, arguments, and options. +func NewRoutingProtocol(ctx *pulumi.Context, + name string, args *RoutingProtocolArgs, opts ...pulumi.ResourceOption) (*RoutingProtocol, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ConnectionUuid == nil { + return nil, errors.New("invalid value for required argument 'ConnectionUuid'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource RoutingProtocol + err := ctx.RegisterResource("equinix:fabric/routingProtocol:RoutingProtocol", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetRoutingProtocol gets an existing RoutingProtocol resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetRoutingProtocol(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *RoutingProtocolState, opts ...pulumi.ResourceOption) (*RoutingProtocol, error) { + var resource RoutingProtocol + err := ctx.ReadResource("equinix:fabric/routingProtocol:RoutingProtocol", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering RoutingProtocol resources. +type routingProtocolState struct { + // Bidirectional Forwarding Detection + Bfd *RoutingProtocolBfd `pulumi:"bfd"` + // BGP authorization key + BgpAuthKey *string `pulumi:"bgpAuthKey"` + // Routing Protocol BGP IPv4 + BgpIpv4 *RoutingProtocolBgpIpv4 `pulumi:"bgpIpv4"` + // Routing Protocol BGP IPv6 + BgpIpv6 *RoutingProtocolBgpIpv6 `pulumi:"bgpIpv6"` + // Captures Routing Protocol lifecycle change information + ChangeLogs []RoutingProtocolChangeLog `pulumi:"changeLogs"` + // Routing Protocol configuration Changes + Changes []RoutingProtocolChange `pulumi:"changes"` + // Connection URI associated with Routing Protocol + ConnectionUuid *string `pulumi:"connectionUuid"` + // Customer-provided ASN + CustomerAsn *int `pulumi:"customerAsn"` + // Customer-provided Fabric Routing Protocol description + Description *string `pulumi:"description"` + // Routing Protocol Direct IPv4 + DirectIpv4 *RoutingProtocolDirectIpv4 `pulumi:"directIpv4"` + // Routing Protocol Direct IPv6 + DirectIpv6 *RoutingProtocolDirectIpv6 `pulumi:"directIpv6"` + // Equinix ASN + EquinixAsn *int `pulumi:"equinixAsn"` + // Routing Protocol URI information + Href *string `pulumi:"href"` + // Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Name *string `pulumi:"name"` + // Routing Protocol type-specific operational data + Operations []RoutingProtocolOperation `pulumi:"operations"` + // Routing Protocol overall state + State *string `pulumi:"state"` + // Defines the routing protocol type like BGP or DIRECT + Type *string `pulumi:"type"` + // Equinix-assigned routing protocol identifier + Uuid *string `pulumi:"uuid"` +} + +type RoutingProtocolState struct { + // Bidirectional Forwarding Detection + Bfd RoutingProtocolBfdPtrInput + // BGP authorization key + BgpAuthKey pulumi.StringPtrInput + // Routing Protocol BGP IPv4 + BgpIpv4 RoutingProtocolBgpIpv4PtrInput + // Routing Protocol BGP IPv6 + BgpIpv6 RoutingProtocolBgpIpv6PtrInput + // Captures Routing Protocol lifecycle change information + ChangeLogs RoutingProtocolChangeLogArrayInput + // Routing Protocol configuration Changes + Changes RoutingProtocolChangeArrayInput + // Connection URI associated with Routing Protocol + ConnectionUuid pulumi.StringPtrInput + // Customer-provided ASN + CustomerAsn pulumi.IntPtrInput + // Customer-provided Fabric Routing Protocol description + Description pulumi.StringPtrInput + // Routing Protocol Direct IPv4 + DirectIpv4 RoutingProtocolDirectIpv4PtrInput + // Routing Protocol Direct IPv6 + DirectIpv6 RoutingProtocolDirectIpv6PtrInput + // Equinix ASN + EquinixAsn pulumi.IntPtrInput + // Routing Protocol URI information + Href pulumi.StringPtrInput + // Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Name pulumi.StringPtrInput + // Routing Protocol type-specific operational data + Operations RoutingProtocolOperationArrayInput + // Routing Protocol overall state + State pulumi.StringPtrInput + // Defines the routing protocol type like BGP or DIRECT + Type pulumi.StringPtrInput + // Equinix-assigned routing protocol identifier + Uuid pulumi.StringPtrInput +} + +func (RoutingProtocolState) ElementType() reflect.Type { + return reflect.TypeOf((*routingProtocolState)(nil)).Elem() +} + +type routingProtocolArgs struct { + // Bidirectional Forwarding Detection + Bfd *RoutingProtocolBfd `pulumi:"bfd"` + // BGP authorization key + BgpAuthKey *string `pulumi:"bgpAuthKey"` + // Routing Protocol BGP IPv4 + BgpIpv4 *RoutingProtocolBgpIpv4 `pulumi:"bgpIpv4"` + // Routing Protocol BGP IPv6 + BgpIpv6 *RoutingProtocolBgpIpv6 `pulumi:"bgpIpv6"` + // Connection URI associated with Routing Protocol + ConnectionUuid string `pulumi:"connectionUuid"` + // Customer-provided ASN + CustomerAsn *int `pulumi:"customerAsn"` + // Customer-provided Fabric Routing Protocol description + Description *string `pulumi:"description"` + // Routing Protocol Direct IPv4 + DirectIpv4 *RoutingProtocolDirectIpv4 `pulumi:"directIpv4"` + // Routing Protocol Direct IPv6 + DirectIpv6 *RoutingProtocolDirectIpv6 `pulumi:"directIpv6"` + // Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Name *string `pulumi:"name"` + // Defines the routing protocol type like BGP or DIRECT + Type *string `pulumi:"type"` + // Equinix-assigned routing protocol identifier + Uuid *string `pulumi:"uuid"` +} + +// The set of arguments for constructing a RoutingProtocol resource. +type RoutingProtocolArgs struct { + // Bidirectional Forwarding Detection + Bfd RoutingProtocolBfdPtrInput + // BGP authorization key + BgpAuthKey pulumi.StringPtrInput + // Routing Protocol BGP IPv4 + BgpIpv4 RoutingProtocolBgpIpv4PtrInput + // Routing Protocol BGP IPv6 + BgpIpv6 RoutingProtocolBgpIpv6PtrInput + // Connection URI associated with Routing Protocol + ConnectionUuid pulumi.StringInput + // Customer-provided ASN + CustomerAsn pulumi.IntPtrInput + // Customer-provided Fabric Routing Protocol description + Description pulumi.StringPtrInput + // Routing Protocol Direct IPv4 + DirectIpv4 RoutingProtocolDirectIpv4PtrInput + // Routing Protocol Direct IPv6 + DirectIpv6 RoutingProtocolDirectIpv6PtrInput + // Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Name pulumi.StringPtrInput + // Defines the routing protocol type like BGP or DIRECT + Type pulumi.StringPtrInput + // Equinix-assigned routing protocol identifier + Uuid pulumi.StringPtrInput +} + +func (RoutingProtocolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*routingProtocolArgs)(nil)).Elem() +} + +type RoutingProtocolInput interface { + pulumi.Input + + ToRoutingProtocolOutput() RoutingProtocolOutput + ToRoutingProtocolOutputWithContext(ctx context.Context) RoutingProtocolOutput +} + +func (*RoutingProtocol) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProtocol)(nil)).Elem() +} + +func (i *RoutingProtocol) ToRoutingProtocolOutput() RoutingProtocolOutput { + return i.ToRoutingProtocolOutputWithContext(context.Background()) +} + +func (i *RoutingProtocol) ToRoutingProtocolOutputWithContext(ctx context.Context) RoutingProtocolOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolOutput) +} + +func (i *RoutingProtocol) ToOutput(ctx context.Context) pulumix.Output[*RoutingProtocol] { + return pulumix.Output[*RoutingProtocol]{ + OutputState: i.ToRoutingProtocolOutputWithContext(ctx).OutputState, + } +} + +// RoutingProtocolArrayInput is an input type that accepts RoutingProtocolArray and RoutingProtocolArrayOutput values. +// You can construct a concrete instance of `RoutingProtocolArrayInput` via: +// +// RoutingProtocolArray{ RoutingProtocolArgs{...} } +type RoutingProtocolArrayInput interface { + pulumi.Input + + ToRoutingProtocolArrayOutput() RoutingProtocolArrayOutput + ToRoutingProtocolArrayOutputWithContext(context.Context) RoutingProtocolArrayOutput +} + +type RoutingProtocolArray []RoutingProtocolInput + +func (RoutingProtocolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*RoutingProtocol)(nil)).Elem() +} + +func (i RoutingProtocolArray) ToRoutingProtocolArrayOutput() RoutingProtocolArrayOutput { + return i.ToRoutingProtocolArrayOutputWithContext(context.Background()) +} + +func (i RoutingProtocolArray) ToRoutingProtocolArrayOutputWithContext(ctx context.Context) RoutingProtocolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolArrayOutput) +} + +func (i RoutingProtocolArray) ToOutput(ctx context.Context) pulumix.Output[[]*RoutingProtocol] { + return pulumix.Output[[]*RoutingProtocol]{ + OutputState: i.ToRoutingProtocolArrayOutputWithContext(ctx).OutputState, + } +} + +// RoutingProtocolMapInput is an input type that accepts RoutingProtocolMap and RoutingProtocolMapOutput values. +// You can construct a concrete instance of `RoutingProtocolMapInput` via: +// +// RoutingProtocolMap{ "key": RoutingProtocolArgs{...} } +type RoutingProtocolMapInput interface { + pulumi.Input + + ToRoutingProtocolMapOutput() RoutingProtocolMapOutput + ToRoutingProtocolMapOutputWithContext(context.Context) RoutingProtocolMapOutput +} + +type RoutingProtocolMap map[string]RoutingProtocolInput + +func (RoutingProtocolMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*RoutingProtocol)(nil)).Elem() +} + +func (i RoutingProtocolMap) ToRoutingProtocolMapOutput() RoutingProtocolMapOutput { + return i.ToRoutingProtocolMapOutputWithContext(context.Background()) +} + +func (i RoutingProtocolMap) ToRoutingProtocolMapOutputWithContext(ctx context.Context) RoutingProtocolMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoutingProtocolMapOutput) +} + +func (i RoutingProtocolMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RoutingProtocol] { + return pulumix.Output[map[string]*RoutingProtocol]{ + OutputState: i.ToRoutingProtocolMapOutputWithContext(ctx).OutputState, + } +} + +type RoutingProtocolOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RoutingProtocol)(nil)).Elem() +} + +func (o RoutingProtocolOutput) ToRoutingProtocolOutput() RoutingProtocolOutput { + return o +} + +func (o RoutingProtocolOutput) ToRoutingProtocolOutputWithContext(ctx context.Context) RoutingProtocolOutput { + return o +} + +func (o RoutingProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[*RoutingProtocol] { + return pulumix.Output[*RoutingProtocol]{ + OutputState: o.OutputState, + } +} + +// Bidirectional Forwarding Detection +func (o RoutingProtocolOutput) Bfd() RoutingProtocolBfdPtrOutput { + return o.ApplyT(func(v *RoutingProtocol) RoutingProtocolBfdPtrOutput { return v.Bfd }).(RoutingProtocolBfdPtrOutput) +} + +// BGP authorization key +func (o RoutingProtocolOutput) BgpAuthKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingProtocol) pulumi.StringPtrOutput { return v.BgpAuthKey }).(pulumi.StringPtrOutput) +} + +// Routing Protocol BGP IPv4 +func (o RoutingProtocolOutput) BgpIpv4() RoutingProtocolBgpIpv4PtrOutput { + return o.ApplyT(func(v *RoutingProtocol) RoutingProtocolBgpIpv4PtrOutput { return v.BgpIpv4 }).(RoutingProtocolBgpIpv4PtrOutput) +} + +// Routing Protocol BGP IPv6 +func (o RoutingProtocolOutput) BgpIpv6() RoutingProtocolBgpIpv6PtrOutput { + return o.ApplyT(func(v *RoutingProtocol) RoutingProtocolBgpIpv6PtrOutput { return v.BgpIpv6 }).(RoutingProtocolBgpIpv6PtrOutput) +} + +// Captures Routing Protocol lifecycle change information +func (o RoutingProtocolOutput) ChangeLogs() RoutingProtocolChangeLogArrayOutput { + return o.ApplyT(func(v *RoutingProtocol) RoutingProtocolChangeLogArrayOutput { return v.ChangeLogs }).(RoutingProtocolChangeLogArrayOutput) +} + +// Routing Protocol configuration Changes +func (o RoutingProtocolOutput) Changes() RoutingProtocolChangeArrayOutput { + return o.ApplyT(func(v *RoutingProtocol) RoutingProtocolChangeArrayOutput { return v.Changes }).(RoutingProtocolChangeArrayOutput) +} + +// Connection URI associated with Routing Protocol +func (o RoutingProtocolOutput) ConnectionUuid() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingProtocol) pulumi.StringOutput { return v.ConnectionUuid }).(pulumi.StringOutput) +} + +// Customer-provided ASN +func (o RoutingProtocolOutput) CustomerAsn() pulumi.IntPtrOutput { + return o.ApplyT(func(v *RoutingProtocol) pulumi.IntPtrOutput { return v.CustomerAsn }).(pulumi.IntPtrOutput) +} + +// Customer-provided Fabric Routing Protocol description +func (o RoutingProtocolOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingProtocol) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Routing Protocol Direct IPv4 +func (o RoutingProtocolOutput) DirectIpv4() RoutingProtocolDirectIpv4PtrOutput { + return o.ApplyT(func(v *RoutingProtocol) RoutingProtocolDirectIpv4PtrOutput { return v.DirectIpv4 }).(RoutingProtocolDirectIpv4PtrOutput) +} + +// Routing Protocol Direct IPv6 +func (o RoutingProtocolOutput) DirectIpv6() RoutingProtocolDirectIpv6PtrOutput { + return o.ApplyT(func(v *RoutingProtocol) RoutingProtocolDirectIpv6PtrOutput { return v.DirectIpv6 }).(RoutingProtocolDirectIpv6PtrOutput) +} + +// Equinix ASN +func (o RoutingProtocolOutput) EquinixAsn() pulumi.IntOutput { + return o.ApplyT(func(v *RoutingProtocol) pulumi.IntOutput { return v.EquinixAsn }).(pulumi.IntOutput) +} + +// Routing Protocol URI information +func (o RoutingProtocolOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingProtocol) pulumi.StringOutput { return v.Href }).(pulumi.StringOutput) +} + +// Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores +func (o RoutingProtocolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingProtocol) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Routing Protocol type-specific operational data +func (o RoutingProtocolOutput) Operations() RoutingProtocolOperationArrayOutput { + return o.ApplyT(func(v *RoutingProtocol) RoutingProtocolOperationArrayOutput { return v.Operations }).(RoutingProtocolOperationArrayOutput) +} + +// Routing Protocol overall state +func (o RoutingProtocolOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingProtocol) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// Defines the routing protocol type like BGP or DIRECT +func (o RoutingProtocolOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoutingProtocol) pulumi.StringPtrOutput { return v.Type }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned routing protocol identifier +func (o RoutingProtocolOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v *RoutingProtocol) pulumi.StringOutput { return v.Uuid }).(pulumi.StringOutput) +} + +type RoutingProtocolArrayOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*RoutingProtocol)(nil)).Elem() +} + +func (o RoutingProtocolArrayOutput) ToRoutingProtocolArrayOutput() RoutingProtocolArrayOutput { + return o +} + +func (o RoutingProtocolArrayOutput) ToRoutingProtocolArrayOutputWithContext(ctx context.Context) RoutingProtocolArrayOutput { + return o +} + +func (o RoutingProtocolArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RoutingProtocol] { + return pulumix.Output[[]*RoutingProtocol]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolArrayOutput) Index(i pulumi.IntInput) RoutingProtocolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RoutingProtocol { + return vs[0].([]*RoutingProtocol)[vs[1].(int)] + }).(RoutingProtocolOutput) +} + +type RoutingProtocolMapOutput struct{ *pulumi.OutputState } + +func (RoutingProtocolMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*RoutingProtocol)(nil)).Elem() +} + +func (o RoutingProtocolMapOutput) ToRoutingProtocolMapOutput() RoutingProtocolMapOutput { + return o +} + +func (o RoutingProtocolMapOutput) ToRoutingProtocolMapOutputWithContext(ctx context.Context) RoutingProtocolMapOutput { + return o +} + +func (o RoutingProtocolMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RoutingProtocol] { + return pulumix.Output[map[string]*RoutingProtocol]{ + OutputState: o.OutputState, + } +} + +func (o RoutingProtocolMapOutput) MapIndex(k pulumi.StringInput) RoutingProtocolOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RoutingProtocol { + return vs[0].(map[string]*RoutingProtocol)[vs[1].(string)] + }).(RoutingProtocolOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolInput)(nil)).Elem(), &RoutingProtocol{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolArrayInput)(nil)).Elem(), RoutingProtocolArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*RoutingProtocolMapInput)(nil)).Elem(), RoutingProtocolMap{}) + pulumi.RegisterOutputType(RoutingProtocolOutput{}) + pulumi.RegisterOutputType(RoutingProtocolArrayOutput{}) + pulumi.RegisterOutputType(RoutingProtocolMapOutput{}) +} diff --git a/sdk/go/equinix/fabric/serviceProfile.go b/sdk/go/equinix/fabric/serviceProfile.go index 7d46e136..e333bf61 100644 --- a/sdk/go/equinix/fabric/serviceProfile.go +++ b/sdk/go/equinix/fabric/serviceProfile.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -91,15 +93,15 @@ type ServiceProfile struct { ChangeLog ServiceProfileChangeLogOutput `pulumi:"changeLog"` // Custom Fields CustomFields ServiceProfileCustomFieldArrayOutput `pulumi:"customFields"` - // User-provided service description + // Description Description pulumi.StringOutput `pulumi:"description"` - // Service Profile URI response attribute + // Unique Resource URL Href pulumi.StringOutput `pulumi:"href"` // Marketing Info MarketingInfo ServiceProfileMarketingInfoPtrOutput `pulumi:"marketingInfo"` // Access point config information Metros ServiceProfileMetroArrayOutput `pulumi:"metros"` - // Customer-assigned service profile name + // Metro Name Name pulumi.StringOutput `pulumi:"name"` // Preferences for notifications on connection configuration or status changes Notifications ServiceProfileNotificationArrayOutput `pulumi:"notifications"` @@ -113,9 +115,9 @@ type ServiceProfile struct { 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 + // Type of access point type config - VD, COLO Type pulumi.StringOutput `pulumi:"type"` - // Equinix assigned service profile identifier + // Colo/Port Uuid Uuid pulumi.StringOutput `pulumi:"uuid"` // Virtual Devices VirtualDevices ServiceProfileVirtualDeviceArrayOutput `pulumi:"virtualDevices"` @@ -136,7 +138,7 @@ func NewServiceProfile(ctx *pulumi.Context, if args.Type == nil { return nil, errors.New("invalid value for required argument 'Type'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource ServiceProfile err := ctx.RegisterResource("equinix:fabric/serviceProfile:ServiceProfile", name, args, &resource, opts...) if err != nil { @@ -169,15 +171,15 @@ type serviceProfileState struct { ChangeLog *ServiceProfileChangeLog `pulumi:"changeLog"` // Custom Fields CustomFields []ServiceProfileCustomField `pulumi:"customFields"` - // User-provided service description + // Description Description *string `pulumi:"description"` - // Service Profile URI response attribute + // Unique Resource URL Href *string `pulumi:"href"` // Marketing Info MarketingInfo *ServiceProfileMarketingInfo `pulumi:"marketingInfo"` // Access point config information Metros []ServiceProfileMetro `pulumi:"metros"` - // Customer-assigned service profile name + // Metro Name Name *string `pulumi:"name"` // Preferences for notifications on connection configuration or status changes Notifications []ServiceProfileNotification `pulumi:"notifications"` @@ -191,9 +193,9 @@ type serviceProfileState struct { State *string `pulumi:"state"` // Tags attached to the connection Tags []string `pulumi:"tags"` - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + // Type of access point type config - VD, COLO Type *string `pulumi:"type"` - // Equinix assigned service profile identifier + // Colo/Port Uuid Uuid *string `pulumi:"uuid"` // Virtual Devices VirtualDevices []ServiceProfileVirtualDevice `pulumi:"virtualDevices"` @@ -212,15 +214,15 @@ type ServiceProfileState struct { ChangeLog ServiceProfileChangeLogPtrInput // Custom Fields CustomFields ServiceProfileCustomFieldArrayInput - // User-provided service description + // Description Description pulumi.StringPtrInput - // Service Profile URI response attribute + // Unique Resource URL Href pulumi.StringPtrInput // Marketing Info MarketingInfo ServiceProfileMarketingInfoPtrInput // Access point config information Metros ServiceProfileMetroArrayInput - // Customer-assigned service profile name + // Metro Name Name pulumi.StringPtrInput // Preferences for notifications on connection configuration or status changes Notifications ServiceProfileNotificationArrayInput @@ -234,9 +236,9 @@ type ServiceProfileState struct { State pulumi.StringPtrInput // Tags attached to the connection Tags pulumi.StringArrayInput - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + // Type of access point type config - VD, COLO Type pulumi.StringPtrInput - // Equinix assigned service profile identifier + // Colo/Port Uuid Uuid pulumi.StringPtrInput // Virtual Devices VirtualDevices ServiceProfileVirtualDeviceArrayInput @@ -257,13 +259,13 @@ type serviceProfileArgs struct { AllowedEmails []string `pulumi:"allowedEmails"` // Custom Fields CustomFields []ServiceProfileCustomField `pulumi:"customFields"` - // User-provided service description + // Description Description string `pulumi:"description"` // Marketing Info MarketingInfo *ServiceProfileMarketingInfo `pulumi:"marketingInfo"` // Access point config information Metros []ServiceProfileMetro `pulumi:"metros"` - // Customer-assigned service profile name + // Metro Name Name *string `pulumi:"name"` // Preferences for notifications on connection configuration or status changes Notifications []ServiceProfileNotification `pulumi:"notifications"` @@ -277,7 +279,7 @@ type serviceProfileArgs struct { State *string `pulumi:"state"` // Tags attached to the connection Tags []string `pulumi:"tags"` - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + // Type of access point type config - VD, COLO Type string `pulumi:"type"` // Virtual Devices VirtualDevices []ServiceProfileVirtualDevice `pulumi:"virtualDevices"` @@ -295,13 +297,13 @@ type ServiceProfileArgs struct { AllowedEmails pulumi.StringArrayInput // Custom Fields CustomFields ServiceProfileCustomFieldArrayInput - // User-provided service description + // Description Description pulumi.StringInput // Marketing Info MarketingInfo ServiceProfileMarketingInfoPtrInput // Access point config information Metros ServiceProfileMetroArrayInput - // Customer-assigned service profile name + // Metro Name Name pulumi.StringPtrInput // Preferences for notifications on connection configuration or status changes Notifications ServiceProfileNotificationArrayInput @@ -315,7 +317,7 @@ type ServiceProfileArgs struct { State pulumi.StringPtrInput // Tags attached to the connection Tags pulumi.StringArrayInput - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + // Type of access point type config - VD, COLO Type pulumi.StringInput // Virtual Devices VirtualDevices ServiceProfileVirtualDeviceArrayInput @@ -346,6 +348,12 @@ func (i *ServiceProfile) ToServiceProfileOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileOutput) } +func (i *ServiceProfile) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfile] { + return pulumix.Output[*ServiceProfile]{ + OutputState: i.ToServiceProfileOutputWithContext(ctx).OutputState, + } +} + // ServiceProfileArrayInput is an input type that accepts ServiceProfileArray and ServiceProfileArrayOutput values. // You can construct a concrete instance of `ServiceProfileArrayInput` via: // @@ -371,6 +379,12 @@ func (i ServiceProfileArray) ToServiceProfileArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileArrayOutput) } +func (i ServiceProfileArray) ToOutput(ctx context.Context) pulumix.Output[[]*ServiceProfile] { + return pulumix.Output[[]*ServiceProfile]{ + OutputState: i.ToServiceProfileArrayOutputWithContext(ctx).OutputState, + } +} + // ServiceProfileMapInput is an input type that accepts ServiceProfileMap and ServiceProfileMapOutput values. // You can construct a concrete instance of `ServiceProfileMapInput` via: // @@ -396,6 +410,12 @@ func (i ServiceProfileMap) ToServiceProfileMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ServiceProfileMapOutput) } +func (i ServiceProfileMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ServiceProfile] { + return pulumix.Output[map[string]*ServiceProfile]{ + OutputState: i.ToServiceProfileMapOutputWithContext(ctx).OutputState, + } +} + type ServiceProfileOutput struct{ *pulumi.OutputState } func (ServiceProfileOutput) ElementType() reflect.Type { @@ -410,6 +430,12 @@ func (o ServiceProfileOutput) ToServiceProfileOutputWithContext(ctx context.Cont return o } +func (o ServiceProfileOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceProfile] { + return pulumix.Output[*ServiceProfile]{ + OutputState: o.OutputState, + } +} + // Access point config information func (o ServiceProfileOutput) AccessPointTypeConfigs() ServiceProfileAccessPointTypeConfigArrayOutput { return o.ApplyT(func(v *ServiceProfile) ServiceProfileAccessPointTypeConfigArrayOutput { @@ -437,12 +463,12 @@ func (o ServiceProfileOutput) CustomFields() ServiceProfileCustomFieldArrayOutpu return o.ApplyT(func(v *ServiceProfile) ServiceProfileCustomFieldArrayOutput { return v.CustomFields }).(ServiceProfileCustomFieldArrayOutput) } -// User-provided service description +// Description func (o ServiceProfileOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *ServiceProfile) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } -// Service Profile URI response attribute +// Unique Resource URL func (o ServiceProfileOutput) Href() pulumi.StringOutput { return o.ApplyT(func(v *ServiceProfile) pulumi.StringOutput { return v.Href }).(pulumi.StringOutput) } @@ -457,7 +483,7 @@ func (o ServiceProfileOutput) Metros() ServiceProfileMetroArrayOutput { return o.ApplyT(func(v *ServiceProfile) ServiceProfileMetroArrayOutput { return v.Metros }).(ServiceProfileMetroArrayOutput) } -// Customer-assigned service profile name +// Metro Name func (o ServiceProfileOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *ServiceProfile) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } @@ -492,12 +518,12 @@ 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 +// Type of access point type config - VD, COLO func (o ServiceProfileOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v *ServiceProfile) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) } -// Equinix assigned service profile identifier +// Colo/Port Uuid func (o ServiceProfileOutput) Uuid() pulumi.StringOutput { return o.ApplyT(func(v *ServiceProfile) pulumi.StringOutput { return v.Uuid }).(pulumi.StringOutput) } @@ -526,6 +552,12 @@ func (o ServiceProfileArrayOutput) ToServiceProfileArrayOutputWithContext(ctx co return o } +func (o ServiceProfileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ServiceProfile] { + return pulumix.Output[[]*ServiceProfile]{ + OutputState: o.OutputState, + } +} + func (o ServiceProfileArrayOutput) Index(i pulumi.IntInput) ServiceProfileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ServiceProfile { return vs[0].([]*ServiceProfile)[vs[1].(int)] @@ -546,6 +578,12 @@ func (o ServiceProfileMapOutput) ToServiceProfileMapOutputWithContext(ctx contex return o } +func (o ServiceProfileMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ServiceProfile] { + return pulumix.Output[map[string]*ServiceProfile]{ + OutputState: o.OutputState, + } +} + func (o ServiceProfileMapOutput) MapIndex(k pulumi.StringInput) ServiceProfileOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ServiceProfile { return vs[0].(map[string]*ServiceProfile)[vs[1].(string)] diff --git a/sdk/go/equinix/init.go b/sdk/go/equinix/init.go index 32e89e2b..181b2812 100644 --- a/sdk/go/equinix/init.go +++ b/sdk/go/equinix/init.go @@ -7,6 +7,7 @@ import ( "fmt" "github.com/blang/semver" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -29,7 +30,10 @@ func (p *pkg) ConstructProvider(ctx *pulumi.Context, name, typ, urn string) (pul } func init() { - version, _ := PkgVersion() + version, err := internal.PkgVersion() + if err != nil { + version = semver.Version{Major: 1} + } pulumi.RegisterResourcePackage( "equinix", &pkg{version}, diff --git a/sdk/go/equinix/fabric/pulumiUtilities.go b/sdk/go/equinix/internal/pulumiUtilities.go similarity index 60% rename from sdk/go/equinix/fabric/pulumiUtilities.go rename to sdk/go/equinix/internal/pulumiUtilities.go index c5b67a2b..31289f97 100644 --- a/sdk/go/equinix/fabric/pulumiUtilities.go +++ b/sdk/go/equinix/internal/pulumiUtilities.go @@ -1,7 +1,7 @@ // 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 +package internal import ( "fmt" @@ -17,7 +17,7 @@ import ( type envParser func(v string) interface{} -func parseEnvBool(v string) interface{} { +func ParseEnvBool(v string) interface{} { b, err := strconv.ParseBool(v) if err != nil { return nil @@ -25,7 +25,7 @@ func parseEnvBool(v string) interface{} { return b } -func parseEnvInt(v string) interface{} { +func ParseEnvInt(v string) interface{} { i, err := strconv.ParseInt(v, 0, 0) if err != nil { return nil @@ -33,7 +33,7 @@ func parseEnvInt(v string) interface{} { return int(i) } -func parseEnvFloat(v string) interface{} { +func ParseEnvFloat(v string) interface{} { f, err := strconv.ParseFloat(v, 64) if err != nil { return nil @@ -41,7 +41,7 @@ func parseEnvFloat(v string) interface{} { return f } -func parseEnvStringArray(v string) interface{} { +func ParseEnvStringArray(v string) interface{} { var result pulumi.StringArray for _, item := range strings.Split(v, ";") { result = append(result, pulumi.String(item)) @@ -49,9 +49,9 @@ func parseEnvStringArray(v string) interface{} { return result } -func getEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { +func GetEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { for _, v := range vars { - if value := os.Getenv(v); value != "" { + if value, ok := os.LookupEnv(v); ok { if parser != nil { return parser(value) } @@ -65,6 +65,10 @@ func getEnvOrDefault(def interface{}, parser envParser, vars ...string) interfac // If a version cannot be determined, v1 will be assumed. The second return // value is always nil. func PkgVersion() (semver.Version, error) { + // emptyVersion defaults to v0.0.0 + if !SdkVersion.Equals(semver.Version{}) { + return SdkVersion, nil + } type sentinal struct{} pkgPath := reflect.TypeOf(sentinal{}).PkgPath() re := regexp.MustCompile("^.*/pulumi-equinix/sdk(/v\\d+)?") @@ -79,23 +83,31 @@ func PkgVersion() (semver.Version, error) { } // isZero is a null safe check for if a value is it's types zero value. -func isZero(v interface{}) bool { +func IsZero(v interface{}) bool { if v == nil { return true } return reflect.ValueOf(v).IsZero() } -// pkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource. -func pkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { - defaults := []pulumi.ResourceOption{pulumi.PluginDownloadURL("github://api.github.com/equinix")} - +// PkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource. +func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { + defaults := []pulumi.ResourceOption{} + defaults = append(defaults, pulumi.PluginDownloadURL("github://api.github.com/equinix")) + version := SdkVersion + if !version.Equals(semver.Version{}) { + defaults = append(defaults, pulumi.Version(version.String())) + } return append(defaults, opts...) } -// pkgInvokeDefaultOpts provides package level defaults to pulumi.OptionInvoke. -func pkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { - defaults := []pulumi.InvokeOption{pulumi.PluginDownloadURL("github://api.github.com/equinix")} - +// PkgInvokeDefaultOpts provides package level defaults to pulumi.OptionInvoke. +func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { + defaults := []pulumi.InvokeOption{} + defaults = append(defaults, pulumi.PluginDownloadURL("github://api.github.com/equinix")) + version := SdkVersion + if !version.Equals(semver.Version{}) { + defaults = append(defaults, pulumi.Version(version.String())) + } return append(defaults, opts...) } diff --git a/sdk/go/equinix/internal/pulumiVersion.go b/sdk/go/equinix/internal/pulumiVersion.go new file mode 100644 index 00000000..d5916876 --- /dev/null +++ b/sdk/go/equinix/internal/pulumiVersion.go @@ -0,0 +1,11 @@ +// 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 internal + +import ( + "github.com/blang/semver" +) + +var SdkVersion semver.Version = semver.Version{} +var pluginDownloadURL string = "" diff --git a/sdk/go/equinix/metal/bgpSession.go b/sdk/go/equinix/metal/bgpSession.go index 64b17a3f..12e39dfa 100644 --- a/sdk/go/equinix/metal/bgpSession.go +++ b/sdk/go/equinix/metal/bgpSession.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to manage BGP sessions in Equinix Metal Host. Refer to [Equinix Metal BGP documentation](https://metal.equinix.com/developers/docs/networking/local-global-bgp/) for more details. @@ -72,7 +74,7 @@ func NewBgpSession(ctx *pulumi.Context, if args.DeviceId == nil { return nil, errors.New("invalid value for required argument 'DeviceId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource BgpSession err := ctx.RegisterResource("equinix:metal/bgpSession:BgpSession", name, args, &resource, opts...) if err != nil { @@ -162,6 +164,12 @@ func (i *BgpSession) ToBgpSessionOutputWithContext(ctx context.Context) BgpSessi return pulumi.ToOutputWithContext(ctx, i).(BgpSessionOutput) } +func (i *BgpSession) ToOutput(ctx context.Context) pulumix.Output[*BgpSession] { + return pulumix.Output[*BgpSession]{ + OutputState: i.ToBgpSessionOutputWithContext(ctx).OutputState, + } +} + // BgpSessionArrayInput is an input type that accepts BgpSessionArray and BgpSessionArrayOutput values. // You can construct a concrete instance of `BgpSessionArrayInput` via: // @@ -187,6 +195,12 @@ func (i BgpSessionArray) ToBgpSessionArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BgpSessionArrayOutput) } +func (i BgpSessionArray) ToOutput(ctx context.Context) pulumix.Output[[]*BgpSession] { + return pulumix.Output[[]*BgpSession]{ + OutputState: i.ToBgpSessionArrayOutputWithContext(ctx).OutputState, + } +} + // BgpSessionMapInput is an input type that accepts BgpSessionMap and BgpSessionMapOutput values. // You can construct a concrete instance of `BgpSessionMapInput` via: // @@ -212,6 +226,12 @@ func (i BgpSessionMap) ToBgpSessionMapOutputWithContext(ctx context.Context) Bgp return pulumi.ToOutputWithContext(ctx, i).(BgpSessionMapOutput) } +func (i BgpSessionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*BgpSession] { + return pulumix.Output[map[string]*BgpSession]{ + OutputState: i.ToBgpSessionMapOutputWithContext(ctx).OutputState, + } +} + type BgpSessionOutput struct{ *pulumi.OutputState } func (BgpSessionOutput) ElementType() reflect.Type { @@ -226,6 +246,12 @@ func (o BgpSessionOutput) ToBgpSessionOutputWithContext(ctx context.Context) Bgp return o } +func (o BgpSessionOutput) ToOutput(ctx context.Context) pulumix.Output[*BgpSession] { + return pulumix.Output[*BgpSession]{ + OutputState: o.OutputState, + } +} + // `ipv4` or `ipv6`. func (o BgpSessionOutput) AddressFamily() pulumi.StringOutput { return o.ApplyT(func(v *BgpSession) pulumi.StringOutput { return v.AddressFamily }).(pulumi.StringOutput) @@ -260,6 +286,12 @@ func (o BgpSessionArrayOutput) ToBgpSessionArrayOutputWithContext(ctx context.Co return o } +func (o BgpSessionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*BgpSession] { + return pulumix.Output[[]*BgpSession]{ + OutputState: o.OutputState, + } +} + func (o BgpSessionArrayOutput) Index(i pulumi.IntInput) BgpSessionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *BgpSession { return vs[0].([]*BgpSession)[vs[1].(int)] @@ -280,6 +312,12 @@ func (o BgpSessionMapOutput) ToBgpSessionMapOutputWithContext(ctx context.Contex return o } +func (o BgpSessionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*BgpSession] { + return pulumix.Output[map[string]*BgpSession]{ + OutputState: o.OutputState, + } +} + func (o BgpSessionMapOutput) MapIndex(k pulumi.StringInput) BgpSessionOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *BgpSession { return vs[0].(map[string]*BgpSession)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/device.go b/sdk/go/equinix/metal/device.go index 147cb495..2c777134 100644 --- a/sdk/go/equinix/metal/device.go +++ b/sdk/go/equinix/metal/device.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides an Equinix Metal device resource. This can be used to create, @@ -81,7 +83,7 @@ type Device struct { Created pulumi.StringOutput `pulumi:"created"` // A string of the desired Custom Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"customData"`, the device will be updated in-place instead of recreated. CustomData pulumi.StringPtrOutput `pulumi:"customData"` - // The facility where the device is deployed + // (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices DeployedFacility pulumi.StringOutput `pulumi:"deployedFacility"` @@ -90,10 +92,11 @@ type Device struct { DeployedHardwareReservationId pulumi.StringOutput `pulumi:"deployedHardwareReservationId"` // The device description. Description pulumi.StringPtrOutput `pulumi:"description"` - // List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - // device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - // code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - // top of the page and see JSON from the API response. Conflicts with metro + // List of facility codes with deployment preferences. Equinix Metal API will go + // through the list and will deploy your device to first facility with free capacity. List items must + // be facility codes or `any` (a wildcard). To find the facility code, visit + // [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + // token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facilities pulumi.StringArrayOutput `pulumi:"facilities"` @@ -142,10 +145,7 @@ type Device struct { Ports DevicePortArrayOutput `pulumi:"ports"` // The ID of the project in which to create the device ProjectId pulumi.StringOutput `pulumi:"projectId"` - // Array of IDs of the project SSH keys which should be added to the device. - // If you omit this, SSH keys of all the members of the parent project will be added to the device. If - // you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - // created with the metal.ProjectSshKey resource. + // Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the metal.ProjectSshKey resource. ProjectSshKeyIds pulumi.StringArrayOutput `pulumi:"projectSshKeyIds"` // Whether the device should be reinstalled instead of destroyed when // modifying user_data, custom_data, or operating system. See Reinstall below for more @@ -172,7 +172,7 @@ type Device struct { Updated pulumi.StringOutput `pulumi:"updated"` // A string of the desired User Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"userData"`, the device will be updated in-place instead of recreated. UserData pulumi.StringPtrOutput `pulumi:"userData"` - // Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the metal.SshKey resource + // Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the metal.SshKey resource. UserSshKeyIds pulumi.StringArrayOutput `pulumi:"userSshKeyIds"` // Only used for devices in reserved hardware. If // set, the deletion of this device will block until the hardware reservation is marked provisionable @@ -208,7 +208,7 @@ func NewDevice(ctx *pulumi.Context, "userData", }) opts = append(opts, secrets) - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Device err := ctx.RegisterResource("equinix:metal/device:Device", name, args, &resource, opts...) if err != nil { @@ -248,7 +248,7 @@ type deviceState struct { Created *string `pulumi:"created"` // A string of the desired Custom Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"customData"`, the device will be updated in-place instead of recreated. CustomData *string `pulumi:"customData"` - // The facility where the device is deployed + // (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices DeployedFacility *string `pulumi:"deployedFacility"` @@ -257,10 +257,11 @@ type deviceState struct { DeployedHardwareReservationId *string `pulumi:"deployedHardwareReservationId"` // The device description. Description *string `pulumi:"description"` - // List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - // device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - // code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - // top of the page and see JSON from the API response. Conflicts with metro + // List of facility codes with deployment preferences. Equinix Metal API will go + // through the list and will deploy your device to first facility with free capacity. List items must + // be facility codes or `any` (a wildcard). To find the facility code, visit + // [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + // token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facilities []string `pulumi:"facilities"` @@ -309,10 +310,7 @@ type deviceState struct { Ports []DevicePort `pulumi:"ports"` // The ID of the project in which to create the device ProjectId *string `pulumi:"projectId"` - // Array of IDs of the project SSH keys which should be added to the device. - // If you omit this, SSH keys of all the members of the parent project will be added to the device. If - // you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - // created with the metal.ProjectSshKey resource. + // Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the metal.ProjectSshKey resource. ProjectSshKeyIds []string `pulumi:"projectSshKeyIds"` // Whether the device should be reinstalled instead of destroyed when // modifying user_data, custom_data, or operating system. See Reinstall below for more @@ -339,7 +337,7 @@ type deviceState struct { Updated *string `pulumi:"updated"` // A string of the desired User Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"userData"`, the device will be updated in-place instead of recreated. UserData *string `pulumi:"userData"` - // Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the metal.SshKey resource + // Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the metal.SshKey resource. UserSshKeyIds []string `pulumi:"userSshKeyIds"` // Only used for devices in reserved hardware. If // set, the deletion of this device will block until the hardware reservation is marked provisionable @@ -365,7 +363,7 @@ type DeviceState struct { Created pulumi.StringPtrInput // A string of the desired Custom Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"customData"`, the device will be updated in-place instead of recreated. CustomData pulumi.StringPtrInput - // The facility where the device is deployed + // (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices DeployedFacility pulumi.StringPtrInput @@ -374,10 +372,11 @@ type DeviceState struct { DeployedHardwareReservationId pulumi.StringPtrInput // The device description. Description pulumi.StringPtrInput - // List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - // device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - // code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - // top of the page and see JSON from the API response. Conflicts with metro + // List of facility codes with deployment preferences. Equinix Metal API will go + // through the list and will deploy your device to first facility with free capacity. List items must + // be facility codes or `any` (a wildcard). To find the facility code, visit + // [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + // token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facilities pulumi.StringArrayInput @@ -426,10 +425,7 @@ type DeviceState struct { Ports DevicePortArrayInput // The ID of the project in which to create the device ProjectId pulumi.StringPtrInput - // Array of IDs of the project SSH keys which should be added to the device. - // If you omit this, SSH keys of all the members of the parent project will be added to the device. If - // you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - // created with the metal.ProjectSshKey resource. + // Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the metal.ProjectSshKey resource. ProjectSshKeyIds pulumi.StringArrayInput // Whether the device should be reinstalled instead of destroyed when // modifying user_data, custom_data, or operating system. See Reinstall below for more @@ -456,7 +452,7 @@ type DeviceState struct { Updated pulumi.StringPtrInput // A string of the desired User Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"userData"`, the device will be updated in-place instead of recreated. UserData pulumi.StringPtrInput - // Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the metal.SshKey resource + // Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the metal.SshKey resource. UserSshKeyIds pulumi.StringArrayInput // Only used for devices in reserved hardware. If // set, the deletion of this device will block until the hardware reservation is marked provisionable @@ -480,10 +476,11 @@ type deviceArgs struct { CustomData *string `pulumi:"customData"` // The device description. Description *string `pulumi:"description"` - // List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - // device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - // code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - // top of the page and see JSON from the API response. Conflicts with metro + // List of facility codes with deployment preferences. Equinix Metal API will go + // through the list and will deploy your device to first facility with free capacity. List items must + // be facility codes or `any` (a wildcard). To find the facility code, visit + // [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + // token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facilities []string `pulumi:"facilities"` @@ -514,10 +511,7 @@ type deviceArgs struct { Plan string `pulumi:"plan"` // The ID of the project in which to create the device ProjectId string `pulumi:"projectId"` - // Array of IDs of the project SSH keys which should be added to the device. - // If you omit this, SSH keys of all the members of the parent project will be added to the device. If - // you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - // created with the metal.ProjectSshKey resource. + // Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the metal.ProjectSshKey resource. ProjectSshKeyIds []string `pulumi:"projectSshKeyIds"` // Whether the device should be reinstalled instead of destroyed when // modifying user_data, custom_data, or operating system. See Reinstall below for more @@ -536,7 +530,7 @@ type deviceArgs struct { TerminationTime *string `pulumi:"terminationTime"` // A string of the desired User Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"userData"`, the device will be updated in-place instead of recreated. UserData *string `pulumi:"userData"` - // Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the metal.SshKey resource + // Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the metal.SshKey resource. UserSshKeyIds []string `pulumi:"userSshKeyIds"` // Only used for devices in reserved hardware. If // set, the deletion of this device will block until the hardware reservation is marked provisionable @@ -557,10 +551,11 @@ type DeviceArgs struct { CustomData pulumi.StringPtrInput // The device description. Description pulumi.StringPtrInput - // List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - // device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - // code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - // top of the page and see JSON from the API response. Conflicts with metro + // List of facility codes with deployment preferences. Equinix Metal API will go + // through the list and will deploy your device to first facility with free capacity. List items must + // be facility codes or `any` (a wildcard). To find the facility code, visit + // [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + // token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facilities pulumi.StringArrayInput @@ -591,10 +586,7 @@ type DeviceArgs struct { Plan pulumi.StringInput // The ID of the project in which to create the device ProjectId pulumi.StringInput - // Array of IDs of the project SSH keys which should be added to the device. - // If you omit this, SSH keys of all the members of the parent project will be added to the device. If - // you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - // created with the metal.ProjectSshKey resource. + // Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the metal.ProjectSshKey resource. ProjectSshKeyIds pulumi.StringArrayInput // Whether the device should be reinstalled instead of destroyed when // modifying user_data, custom_data, or operating system. See Reinstall below for more @@ -613,7 +605,7 @@ type DeviceArgs struct { TerminationTime pulumi.StringPtrInput // A string of the desired User Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"userData"`, the device will be updated in-place instead of recreated. UserData pulumi.StringPtrInput - // Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the metal.SshKey resource + // Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the metal.SshKey resource. UserSshKeyIds pulumi.StringArrayInput // Only used for devices in reserved hardware. If // set, the deletion of this device will block until the hardware reservation is marked provisionable @@ -644,6 +636,12 @@ func (i *Device) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput { return pulumi.ToOutputWithContext(ctx, i).(DeviceOutput) } +func (i *Device) ToOutput(ctx context.Context) pulumix.Output[*Device] { + return pulumix.Output[*Device]{ + OutputState: i.ToDeviceOutputWithContext(ctx).OutputState, + } +} + // DeviceArrayInput is an input type that accepts DeviceArray and DeviceArrayOutput values. // You can construct a concrete instance of `DeviceArrayInput` via: // @@ -669,6 +667,12 @@ func (i DeviceArray) ToDeviceArrayOutputWithContext(ctx context.Context) DeviceA return pulumi.ToOutputWithContext(ctx, i).(DeviceArrayOutput) } +func (i DeviceArray) ToOutput(ctx context.Context) pulumix.Output[[]*Device] { + return pulumix.Output[[]*Device]{ + OutputState: i.ToDeviceArrayOutputWithContext(ctx).OutputState, + } +} + // DeviceMapInput is an input type that accepts DeviceMap and DeviceMapOutput values. // You can construct a concrete instance of `DeviceMapInput` via: // @@ -694,6 +698,12 @@ func (i DeviceMap) ToDeviceMapOutputWithContext(ctx context.Context) DeviceMapOu return pulumi.ToOutputWithContext(ctx, i).(DeviceMapOutput) } +func (i DeviceMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Device] { + return pulumix.Output[map[string]*Device]{ + OutputState: i.ToDeviceMapOutputWithContext(ctx).OutputState, + } +} + type DeviceOutput struct{ *pulumi.OutputState } func (DeviceOutput) ElementType() reflect.Type { @@ -708,6 +718,12 @@ func (o DeviceOutput) ToDeviceOutputWithContext(ctx context.Context) DeviceOutpu return o } +func (o DeviceOutput) ToOutput(ctx context.Context) pulumix.Output[*Device] { + return pulumix.Output[*Device]{ + OutputState: o.OutputState, + } +} + // The ipv4 private IP assigned to the device. func (o DeviceOutput) AccessPrivateIpv4() pulumi.StringOutput { return o.ApplyT(func(v *Device) pulumi.StringOutput { return v.AccessPrivateIpv4 }).(pulumi.StringOutput) @@ -749,7 +765,7 @@ func (o DeviceOutput) CustomData() pulumi.StringPtrOutput { return o.ApplyT(func(v *Device) pulumi.StringPtrOutput { return v.CustomData }).(pulumi.StringPtrOutput) } -// The facility where the device is deployed +// (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices func (o DeviceOutput) DeployedFacility() pulumi.StringOutput { @@ -767,10 +783,11 @@ func (o DeviceOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *Device) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } -// List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your -// device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility -// code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the -// top of the page and see JSON from the API response. Conflicts with metro +// List of facility codes with deployment preferences. Equinix Metal API will go +// through the list and will deploy your device to first facility with free capacity. List items must +// be facility codes or `any` (a wildcard). To find the facility code, visit +// [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth +// token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices func (o DeviceOutput) Facilities() pulumi.StringArrayOutput { @@ -861,10 +878,7 @@ func (o DeviceOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v *Device) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) } -// Array of IDs of the project SSH keys which should be added to the device. -// If you omit this, SSH keys of all the members of the parent project will be added to the device. If -// you specify this array, only the listed project SSH keys will be added. Project SSH keys can be -// created with the metal.ProjectSshKey resource. +// Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the metal.ProjectSshKey resource. func (o DeviceOutput) ProjectSshKeyIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *Device) pulumi.StringArrayOutput { return v.ProjectSshKeyIds }).(pulumi.StringArrayOutput) } @@ -921,7 +935,7 @@ func (o DeviceOutput) UserData() pulumi.StringPtrOutput { return o.ApplyT(func(v *Device) pulumi.StringPtrOutput { return v.UserData }).(pulumi.StringPtrOutput) } -// Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the metal.SshKey resource +// Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the metal.SshKey resource. func (o DeviceOutput) UserSshKeyIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *Device) pulumi.StringArrayOutput { return v.UserSshKeyIds }).(pulumi.StringArrayOutput) } @@ -947,6 +961,12 @@ func (o DeviceArrayOutput) ToDeviceArrayOutputWithContext(ctx context.Context) D return o } +func (o DeviceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Device] { + return pulumix.Output[[]*Device]{ + OutputState: o.OutputState, + } +} + func (o DeviceArrayOutput) Index(i pulumi.IntInput) DeviceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Device { return vs[0].([]*Device)[vs[1].(int)] @@ -967,6 +987,12 @@ func (o DeviceMapOutput) ToDeviceMapOutputWithContext(ctx context.Context) Devic return o } +func (o DeviceMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Device] { + return pulumix.Output[map[string]*Device]{ + OutputState: o.OutputState, + } +} + func (o DeviceMapOutput) MapIndex(k pulumi.StringInput) DeviceOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Device { return vs[0].(map[string]*Device)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/deviceNetworkType.go b/sdk/go/equinix/metal/deviceNetworkType.go index f03c2c44..55cf8d5f 100644 --- a/sdk/go/equinix/metal/deviceNetworkType.go +++ b/sdk/go/equinix/metal/deviceNetworkType.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -71,7 +73,7 @@ func NewDeviceNetworkType(ctx *pulumi.Context, if args.Type == nil { return nil, errors.New("invalid value for required argument 'Type'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource DeviceNetworkType err := ctx.RegisterResource("equinix:metal/deviceNetworkType:DeviceNetworkType", name, args, &resource, opts...) if err != nil { @@ -153,6 +155,12 @@ func (i *DeviceNetworkType) ToDeviceNetworkTypeOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DeviceNetworkTypeOutput) } +func (i *DeviceNetworkType) ToOutput(ctx context.Context) pulumix.Output[*DeviceNetworkType] { + return pulumix.Output[*DeviceNetworkType]{ + OutputState: i.ToDeviceNetworkTypeOutputWithContext(ctx).OutputState, + } +} + // DeviceNetworkTypeArrayInput is an input type that accepts DeviceNetworkTypeArray and DeviceNetworkTypeArrayOutput values. // You can construct a concrete instance of `DeviceNetworkTypeArrayInput` via: // @@ -178,6 +186,12 @@ func (i DeviceNetworkTypeArray) ToDeviceNetworkTypeArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DeviceNetworkTypeArrayOutput) } +func (i DeviceNetworkTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]*DeviceNetworkType] { + return pulumix.Output[[]*DeviceNetworkType]{ + OutputState: i.ToDeviceNetworkTypeArrayOutputWithContext(ctx).OutputState, + } +} + // DeviceNetworkTypeMapInput is an input type that accepts DeviceNetworkTypeMap and DeviceNetworkTypeMapOutput values. // You can construct a concrete instance of `DeviceNetworkTypeMapInput` via: // @@ -203,6 +217,12 @@ func (i DeviceNetworkTypeMap) ToDeviceNetworkTypeMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DeviceNetworkTypeMapOutput) } +func (i DeviceNetworkTypeMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*DeviceNetworkType] { + return pulumix.Output[map[string]*DeviceNetworkType]{ + OutputState: i.ToDeviceNetworkTypeMapOutputWithContext(ctx).OutputState, + } +} + type DeviceNetworkTypeOutput struct{ *pulumi.OutputState } func (DeviceNetworkTypeOutput) ElementType() reflect.Type { @@ -217,6 +237,12 @@ func (o DeviceNetworkTypeOutput) ToDeviceNetworkTypeOutputWithContext(ctx contex return o } +func (o DeviceNetworkTypeOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceNetworkType] { + return pulumix.Output[*DeviceNetworkType]{ + OutputState: o.OutputState, + } +} + // The ID of the device on which the network type should be set. func (o DeviceNetworkTypeOutput) DeviceId() pulumi.StringOutput { return o.ApplyT(func(v *DeviceNetworkType) pulumi.StringOutput { return v.DeviceId }).(pulumi.StringOutput) @@ -242,6 +268,12 @@ func (o DeviceNetworkTypeArrayOutput) ToDeviceNetworkTypeArrayOutputWithContext( return o } +func (o DeviceNetworkTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*DeviceNetworkType] { + return pulumix.Output[[]*DeviceNetworkType]{ + OutputState: o.OutputState, + } +} + func (o DeviceNetworkTypeArrayOutput) Index(i pulumi.IntInput) DeviceNetworkTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DeviceNetworkType { return vs[0].([]*DeviceNetworkType)[vs[1].(int)] @@ -262,6 +294,12 @@ func (o DeviceNetworkTypeMapOutput) ToDeviceNetworkTypeMapOutputWithContext(ctx return o } +func (o DeviceNetworkTypeMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*DeviceNetworkType] { + return pulumix.Output[map[string]*DeviceNetworkType]{ + OutputState: o.OutputState, + } +} + func (o DeviceNetworkTypeMapOutput) MapIndex(k pulumi.StringInput) DeviceNetworkTypeOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DeviceNetworkType { return vs[0].(map[string]*DeviceNetworkType)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/gateway.go b/sdk/go/equinix/metal/gateway.go index 8cc08805..098cce4d 100644 --- a/sdk/go/equinix/metal/gateway.go +++ b/sdk/go/equinix/metal/gateway.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this resource to create Metal Gateway resources in Equinix Metal. @@ -78,7 +80,7 @@ func NewGateway(ctx *pulumi.Context, if args.VlanId == nil { return nil, errors.New("invalid value for required argument 'VlanId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Gateway err := ctx.RegisterResource("equinix:metal/gateway:Gateway", name, args, &resource, opts...) if err != nil { @@ -188,6 +190,12 @@ func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput return pulumi.ToOutputWithContext(ctx, i).(GatewayOutput) } +func (i *Gateway) ToOutput(ctx context.Context) pulumix.Output[*Gateway] { + return pulumix.Output[*Gateway]{ + OutputState: i.ToGatewayOutputWithContext(ctx).OutputState, + } +} + // GatewayArrayInput is an input type that accepts GatewayArray and GatewayArrayOutput values. // You can construct a concrete instance of `GatewayArrayInput` via: // @@ -213,6 +221,12 @@ func (i GatewayArray) ToGatewayArrayOutputWithContext(ctx context.Context) Gatew return pulumi.ToOutputWithContext(ctx, i).(GatewayArrayOutput) } +func (i GatewayArray) ToOutput(ctx context.Context) pulumix.Output[[]*Gateway] { + return pulumix.Output[[]*Gateway]{ + OutputState: i.ToGatewayArrayOutputWithContext(ctx).OutputState, + } +} + // GatewayMapInput is an input type that accepts GatewayMap and GatewayMapOutput values. // You can construct a concrete instance of `GatewayMapInput` via: // @@ -238,6 +252,12 @@ func (i GatewayMap) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMa return pulumi.ToOutputWithContext(ctx, i).(GatewayMapOutput) } +func (i GatewayMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Gateway] { + return pulumix.Output[map[string]*Gateway]{ + OutputState: i.ToGatewayMapOutputWithContext(ctx).OutputState, + } +} + type GatewayOutput struct{ *pulumi.OutputState } func (GatewayOutput) ElementType() reflect.Type { @@ -252,6 +272,12 @@ func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOu return o } +func (o GatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*Gateway] { + return pulumix.Output[*Gateway]{ + OutputState: o.OutputState, + } +} + // UUID of Public or VRF IP Reservation to associate with the gateway, the // reservation must be in the same metro as the VLAN, conflicts with `privateIpv4SubnetSize`. func (o GatewayOutput) IpReservationId() pulumi.StringPtrOutput { @@ -298,6 +324,12 @@ func (o GatewayArrayOutput) ToGatewayArrayOutputWithContext(ctx context.Context) return o } +func (o GatewayArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Gateway] { + return pulumix.Output[[]*Gateway]{ + OutputState: o.OutputState, + } +} + func (o GatewayArrayOutput) Index(i pulumi.IntInput) GatewayOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Gateway { return vs[0].([]*Gateway)[vs[1].(int)] @@ -318,6 +350,12 @@ func (o GatewayMapOutput) ToGatewayMapOutputWithContext(ctx context.Context) Gat return o } +func (o GatewayMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Gateway] { + return pulumix.Output[map[string]*Gateway]{ + OutputState: o.OutputState, + } +} + func (o GatewayMapOutput) MapIndex(k pulumi.StringInput) GatewayOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Gateway { return vs[0].(map[string]*Gateway)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/getDevice.go b/sdk/go/equinix/metal/getDevice.go index 9acb6fb0..8d2a52bf 100644 --- a/sdk/go/equinix/metal/getDevice.go +++ b/sdk/go/equinix/metal/getDevice.go @@ -7,10 +7,14 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) -// Provides an Equinix Metal device datasource. +// The datasource can be used to fetch a single device. +// +// If you need to fetch a list of devices which meet filter criteria, you can use the metal.getDevices datasource. // // > **Note:** All arguments including the `rootPassword` and `userData` will be stored in // @@ -71,7 +75,7 @@ import ( // // ``` func LookupDevice(ctx *pulumi.Context, args *LookupDeviceArgs, opts ...pulumi.InvokeOption) (*LookupDeviceResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupDeviceResult err := ctx.Invoke("equinix:metal/getDevice:getDevice", args, &rv, opts...) if err != nil { @@ -83,6 +87,8 @@ func LookupDevice(ctx *pulumi.Context, args *LookupDeviceArgs, opts ...pulumi.In // A collection of arguments for invoking getDevice. type LookupDeviceArgs struct { // Device ID. + // + // > **NOTE:** You should pass either `deviceId`, or both `projectId` and `hostname`. DeviceId *string `pulumi:"deviceId"` // The device name. Hostname *string `pulumi:"hostname"` @@ -104,6 +110,8 @@ type LookupDeviceResult struct { // Description string for the device. Description string `pulumi:"description"` DeviceId string `pulumi:"deviceId"` + // (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide + // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility string `pulumi:"facility"` // The id of hardware reservation which this device occupies. @@ -155,6 +163,8 @@ func LookupDeviceOutput(ctx *pulumi.Context, args LookupDeviceOutputArgs, opts . // A collection of arguments for invoking getDevice. type LookupDeviceOutputArgs struct { // Device ID. + // + // > **NOTE:** You should pass either `deviceId`, or both `projectId` and `hostname`. DeviceId pulumi.StringPtrInput `pulumi:"deviceId"` // The device name. Hostname pulumi.StringPtrInput `pulumi:"hostname"` @@ -181,6 +191,12 @@ func (o LookupDeviceResultOutput) ToLookupDeviceResultOutputWithContext(ctx cont return o } +func (o LookupDeviceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeviceResult] { + return pulumix.Output[LookupDeviceResult]{ + OutputState: o.OutputState, + } +} + // The ipv4 private IP assigned to the device. func (o LookupDeviceResultOutput) AccessPrivateIpv4() pulumi.StringOutput { return o.ApplyT(func(v LookupDeviceResult) string { return v.AccessPrivateIpv4 }).(pulumi.StringOutput) @@ -214,6 +230,8 @@ func (o LookupDeviceResultOutput) DeviceId() pulumi.StringOutput { return o.ApplyT(func(v LookupDeviceResult) string { return v.DeviceId }).(pulumi.StringOutput) } +// (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide +// // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices func (o LookupDeviceResultOutput) Facility() pulumi.StringOutput { return o.ApplyT(func(v LookupDeviceResult) string { return v.Facility }).(pulumi.StringOutput) diff --git a/sdk/go/equinix/metal/getDeviceBgpNeighbors.go b/sdk/go/equinix/metal/getDeviceBgpNeighbors.go index f2955dca..35a5662a 100644 --- a/sdk/go/equinix/metal/getDeviceBgpNeighbors.go +++ b/sdk/go/equinix/metal/getDeviceBgpNeighbors.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this datasource to retrieve list of BGP neighbors of a device in the Equinix Metal host. @@ -45,7 +47,7 @@ import ( // // ``` func GetDeviceBgpNeighbors(ctx *pulumi.Context, args *GetDeviceBgpNeighborsArgs, opts ...pulumi.InvokeOption) (*GetDeviceBgpNeighborsResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetDeviceBgpNeighborsResult err := ctx.Invoke("equinix:metal/getDeviceBgpNeighbors:getDeviceBgpNeighbors", args, &rv, opts...) if err != nil { @@ -107,6 +109,12 @@ func (o GetDeviceBgpNeighborsResultOutput) ToGetDeviceBgpNeighborsResultOutputWi return o } +func (o GetDeviceBgpNeighborsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceBgpNeighborsResult] { + return pulumix.Output[GetDeviceBgpNeighborsResult]{ + OutputState: o.OutputState, + } +} + // array of BGP neighbor records with attributes: func (o GetDeviceBgpNeighborsResultOutput) BgpNeighbors() GetDeviceBgpNeighborsBgpNeighborArrayOutput { return o.ApplyT(func(v GetDeviceBgpNeighborsResult) []GetDeviceBgpNeighborsBgpNeighbor { return v.BgpNeighbors }).(GetDeviceBgpNeighborsBgpNeighborArrayOutput) diff --git a/sdk/go/equinix/metal/getDevices.go b/sdk/go/equinix/metal/getDevices.go new file mode 100644 index 00000000..5de95a06 --- /dev/null +++ b/sdk/go/equinix/metal/getDevices.go @@ -0,0 +1,207 @@ +// 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 metal + +import ( + "context" + "reflect" + + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// The datasource can be used to find a list of devices which meet filter criteria. +// +// If you need to fetch a single device by ID or by project ID and hostname, use the metal.Device datasource. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/equinix/pulumi-equinix/sdk/go/equinix/metal" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// example, err := metal.GetDevices(ctx, &metal.GetDevicesArgs{ +// ProjectId: pulumi.StringRef(local.Project_id), +// Filters: []metal.GetDevicesFilter{ +// { +// Attribute: "plan", +// Values: []string{ +// "c3.small.x86", +// }, +// }, +// { +// Attribute: "metro", +// Values: []string{ +// "da", +// "sv", +// }, +// }, +// }, +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("devices", example.Devices) +// return nil +// }) +// } +// +// ``` +// +// ```go +// package main +// +// import ( +// +// "github.com/equinix/pulumi-equinix/sdk/go/equinix/metal" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// example, err := metal.GetDevices(ctx, &metal.GetDevicesArgs{ +// Search: pulumi.StringRef("database"), +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("devices", example.Devices) +// return nil +// }) +// } +// +// ``` +// ## search vs filter +// +// The difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The "filter" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider. +func GetDevices(ctx *pulumi.Context, args *GetDevicesArgs, opts ...pulumi.InvokeOption) (*GetDevicesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDevicesResult + err := ctx.Invoke("equinix:metal/getDevices:getDevices", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDevices. +type GetDevicesArgs struct { + // One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `metal.Device` datasource. + Filters []GetDevicesFilter `pulumi:"filters"` + // ID of organization containing the devices. + OrganizationId *string `pulumi:"organizationId"` + // ID of project containing the devices. Exactly one of `projectId` and `organizationId` must be set. + ProjectId *string `pulumi:"projectId"` + // Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + Search *string `pulumi:"search"` + Sorts []GetDevicesSort `pulumi:"sorts"` +} + +// A collection of values returned by getDevices. +type GetDevicesResult struct { + // list of resources with attributes like in the equninixMetalDevice datasources. + Devices []GetDevicesDevice `pulumi:"devices"` + Filters []GetDevicesFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + OrganizationId *string `pulumi:"organizationId"` + ProjectId *string `pulumi:"projectId"` + Search *string `pulumi:"search"` + Sorts []GetDevicesSort `pulumi:"sorts"` +} + +func GetDevicesOutput(ctx *pulumi.Context, args GetDevicesOutputArgs, opts ...pulumi.InvokeOption) GetDevicesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDevicesResult, error) { + args := v.(GetDevicesArgs) + r, err := GetDevices(ctx, &args, opts...) + var s GetDevicesResult + if r != nil { + s = *r + } + return s, err + }).(GetDevicesResultOutput) +} + +// A collection of arguments for invoking getDevices. +type GetDevicesOutputArgs struct { + // One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `metal.Device` datasource. + Filters GetDevicesFilterArrayInput `pulumi:"filters"` + // ID of organization containing the devices. + OrganizationId pulumi.StringPtrInput `pulumi:"organizationId"` + // ID of project containing the devices. Exactly one of `projectId` and `organizationId` must be set. + ProjectId pulumi.StringPtrInput `pulumi:"projectId"` + // Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + Search pulumi.StringPtrInput `pulumi:"search"` + Sorts GetDevicesSortArrayInput `pulumi:"sorts"` +} + +func (GetDevicesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDevicesArgs)(nil)).Elem() +} + +// A collection of values returned by getDevices. +type GetDevicesResultOutput struct{ *pulumi.OutputState } + +func (GetDevicesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDevicesResult)(nil)).Elem() +} + +func (o GetDevicesResultOutput) ToGetDevicesResultOutput() GetDevicesResultOutput { + return o +} + +func (o GetDevicesResultOutput) ToGetDevicesResultOutputWithContext(ctx context.Context) GetDevicesResultOutput { + return o +} + +func (o GetDevicesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetDevicesResult] { + return pulumix.Output[GetDevicesResult]{ + OutputState: o.OutputState, + } +} + +// list of resources with attributes like in the equninixMetalDevice datasources. +func (o GetDevicesResultOutput) Devices() GetDevicesDeviceArrayOutput { + return o.ApplyT(func(v GetDevicesResult) []GetDevicesDevice { return v.Devices }).(GetDevicesDeviceArrayOutput) +} + +func (o GetDevicesResultOutput) Filters() GetDevicesFilterArrayOutput { + return o.ApplyT(func(v GetDevicesResult) []GetDevicesFilter { return v.Filters }).(GetDevicesFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDevicesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDevicesResultOutput) OrganizationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDevicesResult) *string { return v.OrganizationId }).(pulumi.StringPtrOutput) +} + +func (o GetDevicesResultOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDevicesResult) *string { return v.ProjectId }).(pulumi.StringPtrOutput) +} + +func (o GetDevicesResultOutput) Search() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDevicesResult) *string { return v.Search }).(pulumi.StringPtrOutput) +} + +func (o GetDevicesResultOutput) Sorts() GetDevicesSortArrayOutput { + return o.ApplyT(func(v GetDevicesResult) []GetDevicesSort { return v.Sorts }).(GetDevicesSortArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDevicesResultOutput{}) +} diff --git a/sdk/go/equinix/metal/getFacility.go b/sdk/go/equinix/metal/getFacility.go index e0bbf5b6..ce7154a0 100644 --- a/sdk/go/equinix/metal/getFacility.go +++ b/sdk/go/equinix/metal/getFacility.go @@ -7,11 +7,16 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) +// > **Deprecated** Use `metal.getMetro` instead. For more information, refer to the facility to metro migration guide. +// +// Provides an Equinix Metal facility datasource. func GetFacility(ctx *pulumi.Context, args *GetFacilityArgs, opts ...pulumi.InvokeOption) (*GetFacilityResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetFacilityResult err := ctx.Invoke("equinix:metal/getFacility:getFacility", args, &rv, opts...) if err != nil { @@ -89,6 +94,12 @@ func (o GetFacilityResultOutput) ToGetFacilityResultOutputWithContext(ctx contex return o } +func (o GetFacilityResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetFacilityResult] { + return pulumix.Output[GetFacilityResult]{ + OutputState: o.OutputState, + } +} + func (o GetFacilityResultOutput) Capacities() GetFacilityCapacityArrayOutput { return o.ApplyT(func(v GetFacilityResult) []GetFacilityCapacity { return v.Capacities }).(GetFacilityCapacityArrayOutput) } diff --git a/sdk/go/equinix/metal/getGateway.go b/sdk/go/equinix/metal/getGateway.go index 7371377d..58592504 100644 --- a/sdk/go/equinix/metal/getGateway.go +++ b/sdk/go/equinix/metal/getGateway.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this datasource to retrieve Metal Gateway resources in Equinix Metal. @@ -48,7 +50,7 @@ import ( // // ``` func LookupGateway(ctx *pulumi.Context, args *LookupGatewayArgs, opts ...pulumi.InvokeOption) (*LookupGatewayResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupGatewayResult err := ctx.Invoke("equinix:metal/getGateway:getGateway", args, &rv, opts...) if err != nil { @@ -121,6 +123,12 @@ func (o LookupGatewayResultOutput) ToLookupGatewayResultOutputWithContext(ctx co return o } +func (o LookupGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGatewayResult] { + return pulumix.Output[LookupGatewayResult]{ + OutputState: o.OutputState, + } +} + func (o LookupGatewayResultOutput) GatewayId() pulumi.StringOutput { return o.ApplyT(func(v LookupGatewayResult) string { return v.GatewayId }).(pulumi.StringOutput) } diff --git a/sdk/go/equinix/metal/getHardwareReservation.go b/sdk/go/equinix/metal/getHardwareReservation.go index bca31f17..508bdc88 100644 --- a/sdk/go/equinix/metal/getHardwareReservation.go +++ b/sdk/go/equinix/metal/getHardwareReservation.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to retrieve a [hardware reservation resource from Equinix Metal](https://metal.equinix.com/developers/docs/deploy/reserved/). @@ -46,7 +48,7 @@ import ( // // ``` func GetHardwareReservation(ctx *pulumi.Context, args *GetHardwareReservationArgs, opts ...pulumi.InvokeOption) (*GetHardwareReservationResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetHardwareReservationResult err := ctx.Invoke("equinix:metal/getHardwareReservation:getHardwareReservation", args, &rv, opts...) if err != nil { @@ -67,6 +69,8 @@ type GetHardwareReservationArgs struct { type GetHardwareReservationResult struct { // UUID of device occupying the reservation. DeviceId string `pulumi:"deviceId"` + // (**Deprecated**) Facility for the reservation. Use metro instead; read the facility to metro migration guide + // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility string `pulumi:"facility"` // ID of the hardware reservation to look up. @@ -128,11 +132,19 @@ func (o GetHardwareReservationResultOutput) ToGetHardwareReservationResultOutput return o } +func (o GetHardwareReservationResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetHardwareReservationResult] { + return pulumix.Output[GetHardwareReservationResult]{ + OutputState: o.OutputState, + } +} + // UUID of device occupying the reservation. func (o GetHardwareReservationResultOutput) DeviceId() pulumi.StringOutput { return o.ApplyT(func(v GetHardwareReservationResult) string { return v.DeviceId }).(pulumi.StringOutput) } +// (**Deprecated**) Facility for the reservation. Use metro instead; read the facility to metro migration guide +// // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices func (o GetHardwareReservationResultOutput) Facility() pulumi.StringOutput { return o.ApplyT(func(v GetHardwareReservationResult) string { return v.Facility }).(pulumi.StringOutput) diff --git a/sdk/go/equinix/metal/getInterconnection.go b/sdk/go/equinix/metal/getInterconnection.go index 25650b45..d1080993 100644 --- a/sdk/go/equinix/metal/getInterconnection.go +++ b/sdk/go/equinix/metal/getInterconnection.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to retrieve a [connection resource](https://metal.equinix.com/developers/docs/networking/fabric/) @@ -40,7 +42,7 @@ import ( // // ``` func LookupInterconnection(ctx *pulumi.Context, args *LookupInterconnectionArgs, opts ...pulumi.InvokeOption) (*LookupInterconnectionResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupInterconnectionResult err := ctx.Invoke("equinix:metal/getInterconnection:getInterconnection", args, &rv, opts...) if err != nil { @@ -58,8 +60,12 @@ type LookupInterconnectionArgs struct { // A collection of values returned by getInterconnection. type LookupInterconnectionResult struct { ConnectionId string `pulumi:"connectionId"` + // The preferred email used for communication and notifications about the Equinix Fabric interconnection. + ContactEmail string `pulumi:"contactEmail"` // Description of the connection resource. Description string `pulumi:"description"` + // (**Deprecated**) Slug of a facility to which the connection belongs. Use metro instead; read the facility to metro migration guide + // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility string `pulumi:"facility"` // The provider-assigned unique ID for this managed resource. @@ -136,15 +142,28 @@ func (o LookupInterconnectionResultOutput) ToLookupInterconnectionResultOutputWi return o } +func (o LookupInterconnectionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInterconnectionResult] { + return pulumix.Output[LookupInterconnectionResult]{ + OutputState: o.OutputState, + } +} + func (o LookupInterconnectionResultOutput) ConnectionId() pulumi.StringOutput { return o.ApplyT(func(v LookupInterconnectionResult) string { return v.ConnectionId }).(pulumi.StringOutput) } +// The preferred email used for communication and notifications about the Equinix Fabric interconnection. +func (o LookupInterconnectionResultOutput) ContactEmail() pulumi.StringOutput { + return o.ApplyT(func(v LookupInterconnectionResult) string { return v.ContactEmail }).(pulumi.StringOutput) +} + // Description of the connection resource. func (o LookupInterconnectionResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupInterconnectionResult) string { return v.Description }).(pulumi.StringOutput) } +// (**Deprecated**) Slug of a facility to which the connection belongs. Use metro instead; read the facility to metro migration guide +// // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices func (o LookupInterconnectionResultOutput) Facility() pulumi.StringOutput { return o.ApplyT(func(v LookupInterconnectionResult) string { return v.Facility }).(pulumi.StringOutput) diff --git a/sdk/go/equinix/metal/getIpBlockRanges.go b/sdk/go/equinix/metal/getIpBlockRanges.go index 17f42a73..bb1ee0b5 100644 --- a/sdk/go/equinix/metal/getIpBlockRanges.go +++ b/sdk/go/equinix/metal/getIpBlockRanges.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this datasource to get CIDR expressions for allocated IP blocks of all the types in a project, optionally filtered by facility or metro. @@ -44,7 +46,7 @@ import ( // // ``` func GetIpBlockRanges(ctx *pulumi.Context, args *GetIpBlockRangesArgs, opts ...pulumi.InvokeOption) (*GetIpBlockRangesResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetIpBlockRangesResult err := ctx.Invoke("equinix:metal/getIpBlockRanges:getIpBlockRanges", args, &rv, opts...) if err != nil { @@ -55,6 +57,9 @@ func GetIpBlockRanges(ctx *pulumi.Context, args *GetIpBlockRangesArgs, opts ...p // A collection of arguments for invoking getIpBlockRanges. type GetIpBlockRangesArgs struct { + // Facility code filtering the IP blocks. Global IPv4 blocks will be listed + // anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide + // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility *string `pulumi:"facility"` // Metro code filtering the IP blocks. Global IPv4 blocks will be listed @@ -97,6 +102,9 @@ func GetIpBlockRangesOutput(ctx *pulumi.Context, args GetIpBlockRangesOutputArgs // A collection of arguments for invoking getIpBlockRanges. type GetIpBlockRangesOutputArgs struct { + // Facility code filtering the IP blocks. Global IPv4 blocks will be listed + // anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide + // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility pulumi.StringPtrInput `pulumi:"facility"` // Metro code filtering the IP blocks. Global IPv4 blocks will be listed @@ -125,6 +133,12 @@ func (o GetIpBlockRangesResultOutput) ToGetIpBlockRangesResultOutputWithContext( return o } +func (o GetIpBlockRangesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetIpBlockRangesResult] { + return pulumix.Output[GetIpBlockRangesResult]{ + OutputState: o.OutputState, + } +} + // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices func (o GetIpBlockRangesResultOutput) Facility() pulumi.StringPtrOutput { return o.ApplyT(func(v GetIpBlockRangesResult) *string { return v.Facility }).(pulumi.StringPtrOutput) diff --git a/sdk/go/equinix/metal/getMetro.go b/sdk/go/equinix/metal/getMetro.go index bfc9f448..3af163ff 100644 --- a/sdk/go/equinix/metal/getMetro.go +++ b/sdk/go/equinix/metal/getMetro.go @@ -7,12 +7,14 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides an Equinix Metal metro datasource. func GetMetro(ctx *pulumi.Context, args *GetMetroArgs, opts ...pulumi.InvokeOption) (*GetMetroResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetMetroResult err := ctx.Invoke("equinix:metal/getMetro:getMetro", args, &rv, opts...) if err != nil { @@ -81,6 +83,12 @@ func (o GetMetroResultOutput) ToGetMetroResultOutputWithContext(ctx context.Cont return o } +func (o GetMetroResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetMetroResult] { + return pulumix.Output[GetMetroResult]{ + OutputState: o.OutputState, + } +} + func (o GetMetroResultOutput) Capacities() GetMetroCapacityArrayOutput { return o.ApplyT(func(v GetMetroResult) []GetMetroCapacity { return v.Capacities }).(GetMetroCapacityArrayOutput) } diff --git a/sdk/go/equinix/metal/getOperatingSystem.go b/sdk/go/equinix/metal/getOperatingSystem.go index 1304bcc8..c49155c5 100644 --- a/sdk/go/equinix/metal/getOperatingSystem.go +++ b/sdk/go/equinix/metal/getOperatingSystem.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to get Equinix Metal Operating System image. @@ -51,7 +53,7 @@ import ( // // ``` func GetOperatingSystem(ctx *pulumi.Context, args *GetOperatingSystemArgs, opts ...pulumi.InvokeOption) (*GetOperatingSystemResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetOperatingSystemResult err := ctx.Invoke("equinix:metal/getOperatingSystem:getOperatingSystem", args, &rv, opts...) if err != nil { @@ -128,6 +130,12 @@ func (o GetOperatingSystemResultOutput) ToGetOperatingSystemResultOutputWithCont return o } +func (o GetOperatingSystemResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetOperatingSystemResult] { + return pulumix.Output[GetOperatingSystemResult]{ + OutputState: o.OutputState, + } +} + func (o GetOperatingSystemResultOutput) Distro() pulumi.StringPtrOutput { return o.ApplyT(func(v GetOperatingSystemResult) *string { return v.Distro }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/equinix/metal/getOrganization.go b/sdk/go/equinix/metal/getOrganization.go index 51a3e63a..8ba34bc6 100644 --- a/sdk/go/equinix/metal/getOrganization.go +++ b/sdk/go/equinix/metal/getOrganization.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides an Equinix Metal organization datasource. @@ -39,7 +41,7 @@ import ( // // ``` func LookupOrganization(ctx *pulumi.Context, args *LookupOrganizationArgs, opts ...pulumi.InvokeOption) (*LookupOrganizationResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupOrganizationResult err := ctx.Invoke("equinix:metal/getOrganization:getOrganization", args, &rv, opts...) if err != nil { @@ -53,6 +55,8 @@ type LookupOrganizationArgs struct { // The organization name. Name *string `pulumi:"name"` // The UUID of the organization resource. + // + // Exactly one of `name` or `organizationId` must be given. OrganizationId *string `pulumi:"organizationId"` } @@ -94,6 +98,8 @@ type LookupOrganizationOutputArgs struct { // The organization name. Name pulumi.StringPtrInput `pulumi:"name"` // The UUID of the organization resource. + // + // Exactly one of `name` or `organizationId` must be given. OrganizationId pulumi.StringPtrInput `pulumi:"organizationId"` } @@ -116,6 +122,12 @@ func (o LookupOrganizationResultOutput) ToLookupOrganizationResultOutputWithCont return o } +func (o LookupOrganizationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationResult] { + return pulumix.Output[LookupOrganizationResult]{ + OutputState: o.OutputState, + } +} + // Postal address. func (o LookupOrganizationResultOutput) Address() GetOrganizationAddressOutput { return o.ApplyT(func(v LookupOrganizationResult) GetOrganizationAddress { return v.Address }).(GetOrganizationAddressOutput) diff --git a/sdk/go/equinix/metal/getPlans.go b/sdk/go/equinix/metal/getPlans.go index 9cd82930..51e33e66 100644 --- a/sdk/go/equinix/metal/getPlans.go +++ b/sdk/go/equinix/metal/getPlans.go @@ -7,11 +7,13 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) func GetPlans(ctx *pulumi.Context, args *GetPlansArgs, opts ...pulumi.InvokeOption) (*GetPlansResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetPlansResult err := ctx.Invoke("equinix:metal/getPlans:getPlans", args, &rv, opts...) if err != nil { @@ -79,6 +81,12 @@ func (o GetPlansResultOutput) ToGetPlansResultOutputWithContext(ctx context.Cont return o } +func (o GetPlansResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetPlansResult] { + return pulumix.Output[GetPlansResult]{ + OutputState: o.OutputState, + } +} + func (o GetPlansResultOutput) Filters() GetPlansFilterArrayOutput { return o.ApplyT(func(v GetPlansResult) []GetPlansFilter { return v.Filters }).(GetPlansFilterArrayOutput) } diff --git a/sdk/go/equinix/metal/getPort.go b/sdk/go/equinix/metal/getPort.go index fccf050d..ea487404 100644 --- a/sdk/go/equinix/metal/getPort.go +++ b/sdk/go/equinix/metal/getPort.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to read ports of existing devices. You can read port by either its UUID, @@ -51,7 +53,7 @@ import ( // // ``` func LookupPort(ctx *pulumi.Context, args *LookupPortArgs, opts ...pulumi.InvokeOption) (*LookupPortResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupPortResult err := ctx.Invoke("equinix:metal/getPort:getPort", args, &rv, opts...) if err != nil { @@ -142,6 +144,12 @@ func (o LookupPortResultOutput) ToLookupPortResultOutputWithContext(ctx context. return o } +func (o LookupPortResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPortResult] { + return pulumix.Output[LookupPortResult]{ + OutputState: o.OutputState, + } +} + // UUID of the bond port. func (o LookupPortResultOutput) BondId() pulumi.StringOutput { return o.ApplyT(func(v LookupPortResult) string { return v.BondId }).(pulumi.StringOutput) diff --git a/sdk/go/equinix/metal/getPrecreatedIpBlock.go b/sdk/go/equinix/metal/getPrecreatedIpBlock.go index 486d94e2..6cde1902 100644 --- a/sdk/go/equinix/metal/getPrecreatedIpBlock.go +++ b/sdk/go/equinix/metal/getPrecreatedIpBlock.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to get CIDR expression for precreated (management) IPv6 and IPv4 blocks in Equinix Metal. @@ -19,7 +21,7 @@ import ( // // > Public IPv4 blocks auto-assigned (management) to a device cannot be retrieved. If you need that information, consider using the metal.Device data source instead. func GetPrecreatedIpBlock(ctx *pulumi.Context, args *GetPrecreatedIpBlockArgs, opts ...pulumi.InvokeOption) (*GetPrecreatedIpBlockResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetPrecreatedIpBlockResult err := ctx.Invoke("equinix:metal/getPrecreatedIpBlock:getPrecreatedIpBlock", args, &rv, opts...) if err != nil { @@ -31,8 +33,9 @@ func GetPrecreatedIpBlock(ctx *pulumi.Context, args *GetPrecreatedIpBlockArgs, o // A collection of arguments for invoking getPrecreatedIpBlock. type GetPrecreatedIpBlockArgs struct { // 4 or 6, depending on which block you are looking for. - AddressFamily int `pulumi:"addressFamily"` - Facility *string `pulumi:"facility"` + AddressFamily int `pulumi:"addressFamily"` + // Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide + Facility *string `pulumi:"facility"` // Whether to look for global block. Default is false for backward compatibility. Global *bool `pulumi:"global"` // Metro of the searched block (for non-global blocks). @@ -83,8 +86,9 @@ func GetPrecreatedIpBlockOutput(ctx *pulumi.Context, args GetPrecreatedIpBlockOu // A collection of arguments for invoking getPrecreatedIpBlock. type GetPrecreatedIpBlockOutputArgs struct { // 4 or 6, depending on which block you are looking for. - AddressFamily pulumi.IntInput `pulumi:"addressFamily"` - Facility pulumi.StringPtrInput `pulumi:"facility"` + AddressFamily pulumi.IntInput `pulumi:"addressFamily"` + // Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide + Facility pulumi.StringPtrInput `pulumi:"facility"` // Whether to look for global block. Default is false for backward compatibility. Global pulumi.BoolPtrInput `pulumi:"global"` // Metro of the searched block (for non-global blocks). @@ -114,6 +118,12 @@ func (o GetPrecreatedIpBlockResultOutput) ToGetPrecreatedIpBlockResultOutputWith return o } +func (o GetPrecreatedIpBlockResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetPrecreatedIpBlockResult] { + return pulumix.Output[GetPrecreatedIpBlockResult]{ + OutputState: o.OutputState, + } +} + func (o GetPrecreatedIpBlockResultOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v GetPrecreatedIpBlockResult) string { return v.Address }).(pulumi.StringOutput) } diff --git a/sdk/go/equinix/metal/getProject.go b/sdk/go/equinix/metal/getProject.go index 3d67957d..65054296 100644 --- a/sdk/go/equinix/metal/getProject.go +++ b/sdk/go/equinix/metal/getProject.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this datasource to retrieve attributes of the Project API resource. @@ -39,7 +41,7 @@ import ( // // ``` func LookupProject(ctx *pulumi.Context, args *LookupProjectArgs, opts ...pulumi.InvokeOption) (*LookupProjectResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupProjectResult err := ctx.Invoke("equinix:metal/getProject:getProject", args, &rv, opts...) if err != nil { @@ -118,6 +120,12 @@ func (o LookupProjectResultOutput) ToLookupProjectResultOutputWithContext(ctx co return o } +func (o LookupProjectResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProjectResult] { + return pulumix.Output[LookupProjectResult]{ + OutputState: o.OutputState, + } +} + // Whether Backend Transfer is enabled for this project. func (o LookupProjectResultOutput) BackendTransfer() pulumi.BoolOutput { return o.ApplyT(func(v LookupProjectResult) bool { return v.BackendTransfer }).(pulumi.BoolOutput) diff --git a/sdk/go/equinix/metal/getProjectSshKey.go b/sdk/go/equinix/metal/getProjectSshKey.go index 7dc45d11..9242270d 100644 --- a/sdk/go/equinix/metal/getProjectSshKey.go +++ b/sdk/go/equinix/metal/getProjectSshKey.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this datasource to retrieve attributes of a Project SSH Key API resource. @@ -39,7 +41,7 @@ import ( // // ``` func LookupProjectSshKey(ctx *pulumi.Context, args *LookupProjectSshKeyArgs, opts ...pulumi.InvokeOption) (*LookupProjectSshKeyResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupProjectSshKeyResult err := ctx.Invoke("equinix:metal/getProjectSshKey:getProjectSshKey", args, &rv, opts...) if err != nil { @@ -53,6 +55,8 @@ type LookupProjectSshKeyArgs struct { // The id of the SSH Key to search for in the Equinix Metal project. Id *string `pulumi:"id"` // The Equinix Metal project id of the Equinix Metal SSH Key. + // + // > **NOTE:** One of either `search` or `id` must be provided along with `projectId`. ProjectId string `pulumi:"projectId"` // The name, fingerprint, or publicKey of the SSH Key to search for // in the Equinix Metal project. @@ -98,6 +102,8 @@ type LookupProjectSshKeyOutputArgs struct { // The id of the SSH Key to search for in the Equinix Metal project. Id pulumi.StringPtrInput `pulumi:"id"` // The Equinix Metal project id of the Equinix Metal SSH Key. + // + // > **NOTE:** One of either `search` or `id` must be provided along with `projectId`. ProjectId pulumi.StringInput `pulumi:"projectId"` // The name, fingerprint, or publicKey of the SSH Key to search for // in the Equinix Metal project. @@ -123,6 +129,12 @@ func (o LookupProjectSshKeyResultOutput) ToLookupProjectSshKeyResultOutputWithCo return o } +func (o LookupProjectSshKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProjectSshKeyResult] { + return pulumix.Output[LookupProjectSshKeyResult]{ + OutputState: o.OutputState, + } +} + // The timestamp for when the SSH key was created. func (o LookupProjectSshKeyResultOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v LookupProjectSshKeyResult) string { return v.Created }).(pulumi.StringOutput) diff --git a/sdk/go/equinix/metal/getReservedIpBlock.go b/sdk/go/equinix/metal/getReservedIpBlock.go index 7ab36555..b64a818d 100644 --- a/sdk/go/equinix/metal/getReservedIpBlock.go +++ b/sdk/go/equinix/metal/getReservedIpBlock.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to find IP address blocks in Equinix Metal. You can use IP address or a block @@ -17,7 +19,7 @@ import ( // // > VRF features are not generally available. The interfaces related to VRF resources may change ahead of general availability. func LookupReservedIpBlock(ctx *pulumi.Context, args *LookupReservedIpBlockArgs, opts ...pulumi.InvokeOption) (*LookupReservedIpBlockResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupReservedIpBlockResult err := ctx.Invoke("equinix:metal/getReservedIpBlock:getReservedIpBlock", args, &rv, opts...) if err != nil { @@ -31,6 +33,8 @@ type LookupReservedIpBlockArgs struct { // UUID of the IP address block to look up. Id *string `pulumi:"id"` // Block containing this IP address will be returned. + // + // > **NOTE:** You should pass either `id`, or both `projectId` and `ipAddress`. IpAddress *string `pulumi:"ipAddress"` // UUID of the project where the searched block should be. ProjectId *string `pulumi:"projectId"` @@ -79,6 +83,8 @@ type LookupReservedIpBlockOutputArgs struct { // UUID of the IP address block to look up. Id pulumi.StringPtrInput `pulumi:"id"` // Block containing this IP address will be returned. + // + // > **NOTE:** You should pass either `id`, or both `projectId` and `ipAddress`. IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` // UUID of the project where the searched block should be. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` @@ -103,6 +109,12 @@ func (o LookupReservedIpBlockResultOutput) ToLookupReservedIpBlockResultOutputWi return o } +func (o LookupReservedIpBlockResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReservedIpBlockResult] { + return pulumix.Output[LookupReservedIpBlockResult]{ + OutputState: o.OutputState, + } +} + func (o LookupReservedIpBlockResultOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v LookupReservedIpBlockResult) string { return v.Address }).(pulumi.StringOutput) } diff --git a/sdk/go/equinix/metal/getSpotMarketPrice.go b/sdk/go/equinix/metal/getSpotMarketPrice.go index 9635de9f..d7ac7321 100644 --- a/sdk/go/equinix/metal/getSpotMarketPrice.go +++ b/sdk/go/equinix/metal/getSpotMarketPrice.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to get Equinix Metal Spot Market Price for a plan. @@ -41,7 +43,7 @@ import ( // // ``` func GetSpotMarketPrice(ctx *pulumi.Context, args *GetSpotMarketPriceArgs, opts ...pulumi.InvokeOption) (*GetSpotMarketPriceResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetSpotMarketPriceResult err := ctx.Invoke("equinix:metal/getSpotMarketPrice:getSpotMarketPrice", args, &rv, opts...) if err != nil { @@ -52,6 +54,8 @@ func GetSpotMarketPrice(ctx *pulumi.Context, args *GetSpotMarketPriceArgs, opts // A collection of arguments for invoking getSpotMarketPrice. type GetSpotMarketPriceArgs struct { + // Name of the facility. Use metro instead; read the facility to metro migration guide + // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility *string `pulumi:"facility"` // Name of the metro. @@ -87,6 +91,8 @@ func GetSpotMarketPriceOutput(ctx *pulumi.Context, args GetSpotMarketPriceOutput // A collection of arguments for invoking getSpotMarketPrice. type GetSpotMarketPriceOutputArgs struct { + // Name of the facility. Use metro instead; read the facility to metro migration guide + // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility pulumi.StringPtrInput `pulumi:"facility"` // Name of the metro. @@ -114,6 +120,12 @@ func (o GetSpotMarketPriceResultOutput) ToGetSpotMarketPriceResultOutputWithCont return o } +func (o GetSpotMarketPriceResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSpotMarketPriceResult] { + return pulumix.Output[GetSpotMarketPriceResult]{ + OutputState: o.OutputState, + } +} + // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices func (o GetSpotMarketPriceResultOutput) Facility() pulumi.StringPtrOutput { return o.ApplyT(func(v GetSpotMarketPriceResult) *string { return v.Facility }).(pulumi.StringPtrOutput) diff --git a/sdk/go/equinix/metal/getSpotMarketRequest.go b/sdk/go/equinix/metal/getSpotMarketRequest.go index f6c39b0f..da414e7e 100644 --- a/sdk/go/equinix/metal/getSpotMarketRequest.go +++ b/sdk/go/equinix/metal/getSpotMarketRequest.go @@ -7,11 +7,13 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) func LookupSpotMarketRequest(ctx *pulumi.Context, args *LookupSpotMarketRequestArgs, opts ...pulumi.InvokeOption) (*LookupSpotMarketRequestResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupSpotMarketRequestResult err := ctx.Invoke("equinix:metal/getSpotMarketRequest:getSpotMarketRequest", args, &rv, opts...) if err != nil { @@ -36,6 +38,8 @@ type LookupSpotMarketRequestResult struct { DevicesMin int `pulumi:"devicesMin"` // Date and time When the spot market request will be ended. EndAt string `pulumi:"endAt"` + // (**Deprecated**) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide + // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facilities []string `pulumi:"facilities"` // The provider-assigned unique ID for this managed resource. @@ -89,6 +93,12 @@ func (o LookupSpotMarketRequestResultOutput) ToLookupSpotMarketRequestResultOutp return o } +func (o LookupSpotMarketRequestResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSpotMarketRequestResult] { + return pulumix.Output[LookupSpotMarketRequestResult]{ + OutputState: o.OutputState, + } +} + // List of IDs of devices spawned by the referenced Spot Market Request. func (o LookupSpotMarketRequestResultOutput) DeviceIds() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupSpotMarketRequestResult) []string { return v.DeviceIds }).(pulumi.StringArrayOutput) @@ -109,6 +119,8 @@ func (o LookupSpotMarketRequestResultOutput) EndAt() pulumi.StringOutput { return o.ApplyT(func(v LookupSpotMarketRequestResult) string { return v.EndAt }).(pulumi.StringOutput) } +// (**Deprecated**) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide +// // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices func (o LookupSpotMarketRequestResultOutput) Facilities() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupSpotMarketRequestResult) []string { return v.Facilities }).(pulumi.StringArrayOutput) diff --git a/sdk/go/equinix/metal/getVirtualCircuit.go b/sdk/go/equinix/metal/getVirtualCircuit.go index a3f7518d..b4efa1c4 100644 --- a/sdk/go/equinix/metal/getVirtualCircuit.go +++ b/sdk/go/equinix/metal/getVirtualCircuit.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to retrieve a virtual circuit resource from @@ -47,7 +49,7 @@ import ( // // ``` func LookupVirtualCircuit(ctx *pulumi.Context, args *LookupVirtualCircuitArgs, opts ...pulumi.InvokeOption) (*LookupVirtualCircuitResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupVirtualCircuitResult err := ctx.Invoke("equinix:metal/getVirtualCircuit:getVirtualCircuit", args, &rv, opts...) if err != nil { @@ -145,6 +147,12 @@ func (o LookupVirtualCircuitResultOutput) ToLookupVirtualCircuitResultOutputWith return o } +func (o LookupVirtualCircuitResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVirtualCircuitResult] { + return pulumix.Output[LookupVirtualCircuitResult]{ + OutputState: o.OutputState, + } +} + // UUID of Connection where the VC is scoped to. func (o LookupVirtualCircuitResultOutput) ConnectionId() pulumi.StringOutput { return o.ApplyT(func(v LookupVirtualCircuitResult) string { return v.ConnectionId }).(pulumi.StringOutput) diff --git a/sdk/go/equinix/metal/getVlan.go b/sdk/go/equinix/metal/getVlan.go index e008ed01..c51a7430 100644 --- a/sdk/go/equinix/metal/getVlan.go +++ b/sdk/go/equinix/metal/getVlan.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides an Equinix Metal Virtual Network datasource. VLANs data sources can be @@ -74,7 +76,7 @@ import ( // // ``` func LookupVlan(ctx *pulumi.Context, args *LookupVlanArgs, opts ...pulumi.InvokeOption) (*LookupVlanResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupVlanResult err := ctx.Invoke("equinix:metal/getVlan:getVlan", args, &rv, opts...) if err != nil { @@ -90,6 +92,8 @@ type LookupVlanArgs struct { // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility *string `pulumi:"facility"` // Metro where the VLAN is deployed. + // + // > **NOTE:** You must set either `vlanId` or a combination of `vxlan`, `projectId`, and, `metro` or `facility`. Metro *string `pulumi:"metro"` // UUID of parent project of the VLAN. Use together with the vxlan number and metro or facility. ProjectId *string `pulumi:"projectId"` @@ -135,6 +139,8 @@ type LookupVlanOutputArgs struct { // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility pulumi.StringPtrInput `pulumi:"facility"` // Metro where the VLAN is deployed. + // + // > **NOTE:** You must set either `vlanId` or a combination of `vxlan`, `projectId`, and, `metro` or `facility`. Metro pulumi.StringPtrInput `pulumi:"metro"` // UUID of parent project of the VLAN. Use together with the vxlan number and metro or facility. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` @@ -163,6 +169,12 @@ func (o LookupVlanResultOutput) ToLookupVlanResultOutputWithContext(ctx context. return o } +func (o LookupVlanResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVlanResult] { + return pulumix.Output[LookupVlanResult]{ + OutputState: o.OutputState, + } +} + // List of device ID to which this VLAN is assigned. func (o LookupVlanResultOutput) AssignedDevicesIds() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupVlanResult) []string { return v.AssignedDevicesIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/equinix/metal/getVrf.go b/sdk/go/equinix/metal/getVrf.go index e1768cef..1cdc28b4 100644 --- a/sdk/go/equinix/metal/getVrf.go +++ b/sdk/go/equinix/metal/getVrf.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to retrieve a VRF resource. @@ -40,7 +42,7 @@ import ( // // ``` func LookupVrf(ctx *pulumi.Context, args *LookupVrfArgs, opts ...pulumi.InvokeOption) (*LookupVrfResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupVrfResult err := ctx.Invoke("equinix:metal/getVrf:getVrf", args, &rv, opts...) if err != nil { @@ -112,6 +114,12 @@ func (o LookupVrfResultOutput) ToLookupVrfResultOutputWithContext(ctx context.Co return o } +func (o LookupVrfResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVrfResult] { + return pulumix.Output[LookupVrfResult]{ + OutputState: o.OutputState, + } +} + // Description of the VRF. func (o LookupVrfResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupVrfResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/equinix/metal/init.go b/sdk/go/equinix/metal/init.go index 59bc2868..766774e5 100644 --- a/sdk/go/equinix/metal/init.go +++ b/sdk/go/equinix/metal/init.go @@ -7,7 +7,7 @@ import ( "fmt" "github.com/blang/semver" - "github.com/equinix/pulumi-equinix/sdk/go/equinix" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -70,7 +70,7 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi } func init() { - version, err := equinix.PkgVersion() + version, err := internal.PkgVersion() if err != nil { version = semver.Version{Major: 1} } diff --git a/sdk/go/equinix/metal/interconnection.go b/sdk/go/equinix/metal/interconnection.go index f24f6a7a..d929b29a 100644 --- a/sdk/go/equinix/metal/interconnection.go +++ b/sdk/go/equinix/metal/interconnection.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this resource to request the creation an Interconnection asset to connect with other parties using [Equinix Fabric - software-defined interconnections](https://metal.equinix.com/developers/docs/networking/fabric/). @@ -63,9 +65,11 @@ import ( type Interconnection struct { pulumi.CustomResourceState + // The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + ContactEmail pulumi.StringOutput `pulumi:"contactEmail"` // Description for the connection resource. Description pulumi.StringPtrOutput `pulumi:"description"` - // Facility where the connection will be created + // Facility where the connection will be created. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility pulumi.StringOutput `pulumi:"facility"` @@ -115,13 +119,10 @@ func NewInterconnection(ctx *pulumi.Context, if args.Redundancy == nil { return nil, errors.New("invalid value for required argument 'Redundancy'") } - if args.Speed == nil { - return nil, errors.New("invalid value for required argument 'Speed'") - } if args.Type == nil { return nil, errors.New("invalid value for required argument 'Type'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Interconnection err := ctx.RegisterResource("equinix:metal/interconnection:Interconnection", name, args, &resource, opts...) if err != nil { @@ -144,9 +145,11 @@ func GetInterconnection(ctx *pulumi.Context, // Input properties used for looking up and filtering Interconnection resources. type interconnectionState struct { + // The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + ContactEmail *string `pulumi:"contactEmail"` // Description for the connection resource. Description *string `pulumi:"description"` - // Facility where the connection will be created + // Facility where the connection will be created. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility *string `pulumi:"facility"` @@ -187,9 +190,11 @@ type interconnectionState struct { } type InterconnectionState struct { + // The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + ContactEmail pulumi.StringPtrInput // Description for the connection resource. Description pulumi.StringPtrInput - // Facility where the connection will be created + // Facility where the connection will be created. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility pulumi.StringPtrInput @@ -234,9 +239,11 @@ func (InterconnectionState) ElementType() reflect.Type { } type interconnectionArgs struct { + // The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + ContactEmail *string `pulumi:"contactEmail"` // Description for the connection resource. Description *string `pulumi:"description"` - // Facility where the connection will be created + // Facility where the connection will be created. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility *string `pulumi:"facility"` @@ -255,7 +262,7 @@ type interconnectionArgs struct { // Only used with shared connection. Type of service token to use for the connection, a_side or z_side ServiceTokenType *string `pulumi:"serviceTokenType"` // Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps. - Speed string `pulumi:"speed"` + Speed *string `pulumi:"speed"` // String list of tags. Tags []string `pulumi:"tags"` // Connection type - dedicated or shared. @@ -266,9 +273,11 @@ type interconnectionArgs struct { // The set of arguments for constructing a Interconnection resource. type InterconnectionArgs struct { + // The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + ContactEmail pulumi.StringPtrInput // Description for the connection resource. Description pulumi.StringPtrInput - // Facility where the connection will be created + // Facility where the connection will be created. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility pulumi.StringPtrInput @@ -287,7 +296,7 @@ type InterconnectionArgs struct { // Only used with shared connection. Type of service token to use for the connection, a_side or z_side ServiceTokenType pulumi.StringPtrInput // Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps. - Speed pulumi.StringInput + Speed pulumi.StringPtrInput // String list of tags. Tags pulumi.StringArrayInput // Connection type - dedicated or shared. @@ -319,6 +328,12 @@ func (i *Interconnection) ToInterconnectionOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(InterconnectionOutput) } +func (i *Interconnection) ToOutput(ctx context.Context) pulumix.Output[*Interconnection] { + return pulumix.Output[*Interconnection]{ + OutputState: i.ToInterconnectionOutputWithContext(ctx).OutputState, + } +} + // InterconnectionArrayInput is an input type that accepts InterconnectionArray and InterconnectionArrayOutput values. // You can construct a concrete instance of `InterconnectionArrayInput` via: // @@ -344,6 +359,12 @@ func (i InterconnectionArray) ToInterconnectionArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(InterconnectionArrayOutput) } +func (i InterconnectionArray) ToOutput(ctx context.Context) pulumix.Output[[]*Interconnection] { + return pulumix.Output[[]*Interconnection]{ + OutputState: i.ToInterconnectionArrayOutputWithContext(ctx).OutputState, + } +} + // InterconnectionMapInput is an input type that accepts InterconnectionMap and InterconnectionMapOutput values. // You can construct a concrete instance of `InterconnectionMapInput` via: // @@ -369,6 +390,12 @@ func (i InterconnectionMap) ToInterconnectionMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(InterconnectionMapOutput) } +func (i InterconnectionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Interconnection] { + return pulumix.Output[map[string]*Interconnection]{ + OutputState: i.ToInterconnectionMapOutputWithContext(ctx).OutputState, + } +} + type InterconnectionOutput struct{ *pulumi.OutputState } func (InterconnectionOutput) ElementType() reflect.Type { @@ -383,12 +410,23 @@ func (o InterconnectionOutput) ToInterconnectionOutputWithContext(ctx context.Co return o } +func (o InterconnectionOutput) ToOutput(ctx context.Context) pulumix.Output[*Interconnection] { + return pulumix.Output[*Interconnection]{ + OutputState: o.OutputState, + } +} + +// The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. +func (o InterconnectionOutput) ContactEmail() pulumi.StringOutput { + return o.ApplyT(func(v *Interconnection) pulumi.StringOutput { return v.ContactEmail }).(pulumi.StringOutput) +} + // Description for the connection resource. func (o InterconnectionOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *Interconnection) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } -// Facility where the connection will be created +// Facility where the connection will be created. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices func (o InterconnectionOutput) Facility() pulumi.StringOutput { @@ -488,6 +526,12 @@ func (o InterconnectionArrayOutput) ToInterconnectionArrayOutputWithContext(ctx return o } +func (o InterconnectionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Interconnection] { + return pulumix.Output[[]*Interconnection]{ + OutputState: o.OutputState, + } +} + func (o InterconnectionArrayOutput) Index(i pulumi.IntInput) InterconnectionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Interconnection { return vs[0].([]*Interconnection)[vs[1].(int)] @@ -508,6 +552,12 @@ func (o InterconnectionMapOutput) ToInterconnectionMapOutputWithContext(ctx cont return o } +func (o InterconnectionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Interconnection] { + return pulumix.Output[map[string]*Interconnection]{ + OutputState: o.OutputState, + } +} + func (o InterconnectionMapOutput) MapIndex(k pulumi.StringInput) InterconnectionOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Interconnection { return vs[0].(map[string]*Interconnection)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/ipAttachment.go b/sdk/go/equinix/metal/ipAttachment.go index 54d1d5f5..e49a5a4b 100644 --- a/sdk/go/equinix/metal/ipAttachment.go +++ b/sdk/go/equinix/metal/ipAttachment.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to attach elastic IP subnets to devices. @@ -98,7 +100,7 @@ func NewIpAttachment(ctx *pulumi.Context, if args.DeviceId == nil { return nil, errors.New("invalid value for required argument 'DeviceId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource IpAttachment err := ctx.RegisterResource("equinix:metal/ipAttachment:IpAttachment", name, args, &resource, opts...) if err != nil { @@ -216,6 +218,12 @@ func (i *IpAttachment) ToIpAttachmentOutputWithContext(ctx context.Context) IpAt return pulumi.ToOutputWithContext(ctx, i).(IpAttachmentOutput) } +func (i *IpAttachment) ToOutput(ctx context.Context) pulumix.Output[*IpAttachment] { + return pulumix.Output[*IpAttachment]{ + OutputState: i.ToIpAttachmentOutputWithContext(ctx).OutputState, + } +} + // IpAttachmentArrayInput is an input type that accepts IpAttachmentArray and IpAttachmentArrayOutput values. // You can construct a concrete instance of `IpAttachmentArrayInput` via: // @@ -241,6 +249,12 @@ func (i IpAttachmentArray) ToIpAttachmentArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(IpAttachmentArrayOutput) } +func (i IpAttachmentArray) ToOutput(ctx context.Context) pulumix.Output[[]*IpAttachment] { + return pulumix.Output[[]*IpAttachment]{ + OutputState: i.ToIpAttachmentArrayOutputWithContext(ctx).OutputState, + } +} + // IpAttachmentMapInput is an input type that accepts IpAttachmentMap and IpAttachmentMapOutput values. // You can construct a concrete instance of `IpAttachmentMapInput` via: // @@ -266,6 +280,12 @@ func (i IpAttachmentMap) ToIpAttachmentMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(IpAttachmentMapOutput) } +func (i IpAttachmentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*IpAttachment] { + return pulumix.Output[map[string]*IpAttachment]{ + OutputState: i.ToIpAttachmentMapOutputWithContext(ctx).OutputState, + } +} + type IpAttachmentOutput struct{ *pulumi.OutputState } func (IpAttachmentOutput) ElementType() reflect.Type { @@ -280,6 +300,12 @@ func (o IpAttachmentOutput) ToIpAttachmentOutputWithContext(ctx context.Context) return o } +func (o IpAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*IpAttachment] { + return pulumix.Output[*IpAttachment]{ + OutputState: o.OutputState, + } +} + func (o IpAttachmentOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v *IpAttachment) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) } @@ -356,6 +382,12 @@ func (o IpAttachmentArrayOutput) ToIpAttachmentArrayOutputWithContext(ctx contex return o } +func (o IpAttachmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*IpAttachment] { + return pulumix.Output[[]*IpAttachment]{ + OutputState: o.OutputState, + } +} + func (o IpAttachmentArrayOutput) Index(i pulumi.IntInput) IpAttachmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IpAttachment { return vs[0].([]*IpAttachment)[vs[1].(int)] @@ -376,6 +408,12 @@ func (o IpAttachmentMapOutput) ToIpAttachmentMapOutputWithContext(ctx context.Co return o } +func (o IpAttachmentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*IpAttachment] { + return pulumix.Output[map[string]*IpAttachment]{ + OutputState: o.OutputState, + } +} + func (o IpAttachmentMapOutput) MapIndex(k pulumi.StringInput) IpAttachmentOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IpAttachment { return vs[0].(map[string]*IpAttachment)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/organization.go b/sdk/go/equinix/metal/organization.go index 4284c3b1..1af6126b 100644 --- a/sdk/go/equinix/metal/organization.go +++ b/sdk/go/equinix/metal/organization.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to manage organization resource in Equinix Metal. @@ -81,7 +83,7 @@ func NewOrganization(ctx *pulumi.Context, if args.Address == nil { return nil, errors.New("invalid value for required argument 'Address'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Organization err := ctx.RegisterResource("equinix:metal/organization:Organization", name, args, &resource, opts...) if err != nil { @@ -203,6 +205,12 @@ func (i *Organization) ToOrganizationOutputWithContext(ctx context.Context) Orga return pulumi.ToOutputWithContext(ctx, i).(OrganizationOutput) } +func (i *Organization) ToOutput(ctx context.Context) pulumix.Output[*Organization] { + return pulumix.Output[*Organization]{ + OutputState: i.ToOrganizationOutputWithContext(ctx).OutputState, + } +} + // OrganizationArrayInput is an input type that accepts OrganizationArray and OrganizationArrayOutput values. // You can construct a concrete instance of `OrganizationArrayInput` via: // @@ -228,6 +236,12 @@ func (i OrganizationArray) ToOrganizationArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OrganizationArrayOutput) } +func (i OrganizationArray) ToOutput(ctx context.Context) pulumix.Output[[]*Organization] { + return pulumix.Output[[]*Organization]{ + OutputState: i.ToOrganizationArrayOutputWithContext(ctx).OutputState, + } +} + // OrganizationMapInput is an input type that accepts OrganizationMap and OrganizationMapOutput values. // You can construct a concrete instance of `OrganizationMapInput` via: // @@ -253,6 +267,12 @@ func (i OrganizationMap) ToOrganizationMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OrganizationMapOutput) } +func (i OrganizationMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Organization] { + return pulumix.Output[map[string]*Organization]{ + OutputState: i.ToOrganizationMapOutputWithContext(ctx).OutputState, + } +} + type OrganizationOutput struct{ *pulumi.OutputState } func (OrganizationOutput) ElementType() reflect.Type { @@ -267,6 +287,12 @@ func (o OrganizationOutput) ToOrganizationOutputWithContext(ctx context.Context) return o } +func (o OrganizationOutput) ToOutput(ctx context.Context) pulumix.Output[*Organization] { + return pulumix.Output[*Organization]{ + OutputState: o.OutputState, + } +} + // An object that has the address information. See Address // below for more details. func (o OrganizationOutput) Address() OrganizationAddressOutput { @@ -322,6 +348,12 @@ func (o OrganizationArrayOutput) ToOrganizationArrayOutputWithContext(ctx contex return o } +func (o OrganizationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Organization] { + return pulumix.Output[[]*Organization]{ + OutputState: o.OutputState, + } +} + func (o OrganizationArrayOutput) Index(i pulumi.IntInput) OrganizationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Organization { return vs[0].([]*Organization)[vs[1].(int)] @@ -342,6 +374,12 @@ func (o OrganizationMapOutput) ToOrganizationMapOutputWithContext(ctx context.Co return o } +func (o OrganizationMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Organization] { + return pulumix.Output[map[string]*Organization]{ + OutputState: o.OutputState, + } +} + func (o OrganizationMapOutput) MapIndex(k pulumi.StringInput) OrganizationOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Organization { return vs[0].(map[string]*Organization)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/organizationMember.go b/sdk/go/equinix/metal/organizationMember.go index 2bb74dae..8072580f 100644 --- a/sdk/go/equinix/metal/organizationMember.go +++ b/sdk/go/equinix/metal/organizationMember.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manage the membership of existing and new invitees within an Equinix Metal organization and its projects. @@ -99,7 +101,7 @@ func NewOrganizationMember(ctx *pulumi.Context, if args.Roles == nil { return nil, errors.New("invalid value for required argument 'Roles'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource OrganizationMember err := ctx.RegisterResource("equinix:metal/organizationMember:OrganizationMember", name, args, &resource, opts...) if err != nil { @@ -221,6 +223,12 @@ func (i *OrganizationMember) ToOrganizationMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(OrganizationMemberOutput) } +func (i *OrganizationMember) ToOutput(ctx context.Context) pulumix.Output[*OrganizationMember] { + return pulumix.Output[*OrganizationMember]{ + OutputState: i.ToOrganizationMemberOutputWithContext(ctx).OutputState, + } +} + // OrganizationMemberArrayInput is an input type that accepts OrganizationMemberArray and OrganizationMemberArrayOutput values. // You can construct a concrete instance of `OrganizationMemberArrayInput` via: // @@ -246,6 +254,12 @@ func (i OrganizationMemberArray) ToOrganizationMemberArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(OrganizationMemberArrayOutput) } +func (i OrganizationMemberArray) ToOutput(ctx context.Context) pulumix.Output[[]*OrganizationMember] { + return pulumix.Output[[]*OrganizationMember]{ + OutputState: i.ToOrganizationMemberArrayOutputWithContext(ctx).OutputState, + } +} + // OrganizationMemberMapInput is an input type that accepts OrganizationMemberMap and OrganizationMemberMapOutput values. // You can construct a concrete instance of `OrganizationMemberMapInput` via: // @@ -271,6 +285,12 @@ func (i OrganizationMemberMap) ToOrganizationMemberMapOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(OrganizationMemberMapOutput) } +func (i OrganizationMemberMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrganizationMember] { + return pulumix.Output[map[string]*OrganizationMember]{ + OutputState: i.ToOrganizationMemberMapOutputWithContext(ctx).OutputState, + } +} + type OrganizationMemberOutput struct{ *pulumi.OutputState } func (OrganizationMemberOutput) ElementType() reflect.Type { @@ -285,6 +305,12 @@ func (o OrganizationMemberOutput) ToOrganizationMemberOutputWithContext(ctx cont return o } +func (o OrganizationMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationMember] { + return pulumix.Output[*OrganizationMember]{ + OutputState: o.OutputState, + } +} + // When the invitation was created (only known in the invitation stage) func (o OrganizationMemberOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v *OrganizationMember) pulumi.StringOutput { return v.Created }).(pulumi.StringOutput) @@ -349,6 +375,12 @@ func (o OrganizationMemberArrayOutput) ToOrganizationMemberArrayOutputWithContex return o } +func (o OrganizationMemberArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OrganizationMember] { + return pulumix.Output[[]*OrganizationMember]{ + OutputState: o.OutputState, + } +} + func (o OrganizationMemberArrayOutput) Index(i pulumi.IntInput) OrganizationMemberOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OrganizationMember { return vs[0].([]*OrganizationMember)[vs[1].(int)] @@ -369,6 +401,12 @@ func (o OrganizationMemberMapOutput) ToOrganizationMemberMapOutputWithContext(ct return o } +func (o OrganizationMemberMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrganizationMember] { + return pulumix.Output[map[string]*OrganizationMember]{ + OutputState: o.OutputState, + } +} + func (o OrganizationMemberMapOutput) MapIndex(k pulumi.StringInput) OrganizationMemberOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OrganizationMember { return vs[0].(map[string]*OrganizationMember)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/port.go b/sdk/go/equinix/metal/port.go index 3035875a..84d8d693 100644 --- a/sdk/go/equinix/metal/port.go +++ b/sdk/go/equinix/metal/port.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -92,7 +94,7 @@ func NewPort(ctx *pulumi.Context, if args.PortId == nil { return nil, errors.New("invalid value for required argument 'PortId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Port err := ctx.RegisterResource("equinix:metal/port:Port", name, args, &resource, opts...) if err != nil { @@ -252,6 +254,12 @@ func (i *Port) ToPortOutputWithContext(ctx context.Context) PortOutput { return pulumi.ToOutputWithContext(ctx, i).(PortOutput) } +func (i *Port) ToOutput(ctx context.Context) pulumix.Output[*Port] { + return pulumix.Output[*Port]{ + OutputState: i.ToPortOutputWithContext(ctx).OutputState, + } +} + // PortArrayInput is an input type that accepts PortArray and PortArrayOutput values. // You can construct a concrete instance of `PortArrayInput` via: // @@ -277,6 +285,12 @@ func (i PortArray) ToPortArrayOutputWithContext(ctx context.Context) PortArrayOu return pulumi.ToOutputWithContext(ctx, i).(PortArrayOutput) } +func (i PortArray) ToOutput(ctx context.Context) pulumix.Output[[]*Port] { + return pulumix.Output[[]*Port]{ + OutputState: i.ToPortArrayOutputWithContext(ctx).OutputState, + } +} + // PortMapInput is an input type that accepts PortMap and PortMapOutput values. // You can construct a concrete instance of `PortMapInput` via: // @@ -302,6 +316,12 @@ func (i PortMap) ToPortMapOutputWithContext(ctx context.Context) PortMapOutput { return pulumi.ToOutputWithContext(ctx, i).(PortMapOutput) } +func (i PortMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Port] { + return pulumix.Output[map[string]*Port]{ + OutputState: i.ToPortMapOutputWithContext(ctx).OutputState, + } +} + type PortOutput struct{ *pulumi.OutputState } func (PortOutput) ElementType() reflect.Type { @@ -316,6 +336,12 @@ func (o PortOutput) ToPortOutputWithContext(ctx context.Context) PortOutput { return o } +func (o PortOutput) ToOutput(ctx context.Context) pulumix.Output[*Port] { + return pulumix.Output[*Port]{ + OutputState: o.OutputState, + } +} + // UUID of the bond port. func (o PortOutput) BondId() pulumi.StringOutput { return o.ApplyT(func(v *Port) pulumi.StringOutput { return v.BondId }).(pulumi.StringOutput) @@ -404,6 +430,12 @@ func (o PortArrayOutput) ToPortArrayOutputWithContext(ctx context.Context) PortA return o } +func (o PortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Port] { + return pulumix.Output[[]*Port]{ + OutputState: o.OutputState, + } +} + func (o PortArrayOutput) Index(i pulumi.IntInput) PortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Port { return vs[0].([]*Port)[vs[1].(int)] @@ -424,6 +456,12 @@ func (o PortMapOutput) ToPortMapOutputWithContext(ctx context.Context) PortMapOu return o } +func (o PortMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Port] { + return pulumix.Output[map[string]*Port]{ + OutputState: o.OutputState, + } +} + func (o PortMapOutput) MapIndex(k pulumi.StringInput) PortOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Port { return vs[0].(map[string]*Port)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/portVlanAttachment.go b/sdk/go/equinix/metal/portVlanAttachment.go index f69abf8b..c26246cf 100644 --- a/sdk/go/equinix/metal/portVlanAttachment.go +++ b/sdk/go/equinix/metal/portVlanAttachment.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to attach device ports to VLANs. @@ -108,7 +110,7 @@ func NewPortVlanAttachment(ctx *pulumi.Context, if args.VlanVnid == nil { return nil, errors.New("invalid value for required argument 'VlanVnid'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource PortVlanAttachment err := ctx.RegisterResource("equinix:metal/portVlanAttachment:PortVlanAttachment", name, args, &resource, opts...) if err != nil { @@ -234,6 +236,12 @@ func (i *PortVlanAttachment) ToPortVlanAttachmentOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(PortVlanAttachmentOutput) } +func (i *PortVlanAttachment) ToOutput(ctx context.Context) pulumix.Output[*PortVlanAttachment] { + return pulumix.Output[*PortVlanAttachment]{ + OutputState: i.ToPortVlanAttachmentOutputWithContext(ctx).OutputState, + } +} + // PortVlanAttachmentArrayInput is an input type that accepts PortVlanAttachmentArray and PortVlanAttachmentArrayOutput values. // You can construct a concrete instance of `PortVlanAttachmentArrayInput` via: // @@ -259,6 +267,12 @@ func (i PortVlanAttachmentArray) ToPortVlanAttachmentArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(PortVlanAttachmentArrayOutput) } +func (i PortVlanAttachmentArray) ToOutput(ctx context.Context) pulumix.Output[[]*PortVlanAttachment] { + return pulumix.Output[[]*PortVlanAttachment]{ + OutputState: i.ToPortVlanAttachmentArrayOutputWithContext(ctx).OutputState, + } +} + // PortVlanAttachmentMapInput is an input type that accepts PortVlanAttachmentMap and PortVlanAttachmentMapOutput values. // You can construct a concrete instance of `PortVlanAttachmentMapInput` via: // @@ -284,6 +298,12 @@ func (i PortVlanAttachmentMap) ToPortVlanAttachmentMapOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PortVlanAttachmentMapOutput) } +func (i PortVlanAttachmentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*PortVlanAttachment] { + return pulumix.Output[map[string]*PortVlanAttachment]{ + OutputState: i.ToPortVlanAttachmentMapOutputWithContext(ctx).OutputState, + } +} + type PortVlanAttachmentOutput struct{ *pulumi.OutputState } func (PortVlanAttachmentOutput) ElementType() reflect.Type { @@ -298,6 +318,12 @@ func (o PortVlanAttachmentOutput) ToPortVlanAttachmentOutputWithContext(ctx cont return o } +func (o PortVlanAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*PortVlanAttachment] { + return pulumix.Output[*PortVlanAttachment]{ + OutputState: o.OutputState, + } +} + // ID of device to be assigned to the VLAN. func (o PortVlanAttachmentOutput) DeviceId() pulumi.StringOutput { return o.ApplyT(func(v *PortVlanAttachment) pulumi.StringOutput { return v.DeviceId }).(pulumi.StringOutput) @@ -351,6 +377,12 @@ func (o PortVlanAttachmentArrayOutput) ToPortVlanAttachmentArrayOutputWithContex return o } +func (o PortVlanAttachmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*PortVlanAttachment] { + return pulumix.Output[[]*PortVlanAttachment]{ + OutputState: o.OutputState, + } +} + func (o PortVlanAttachmentArrayOutput) Index(i pulumi.IntInput) PortVlanAttachmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PortVlanAttachment { return vs[0].([]*PortVlanAttachment)[vs[1].(int)] @@ -371,6 +403,12 @@ func (o PortVlanAttachmentMapOutput) ToPortVlanAttachmentMapOutputWithContext(ct return o } +func (o PortVlanAttachmentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*PortVlanAttachment] { + return pulumix.Output[map[string]*PortVlanAttachment]{ + OutputState: o.OutputState, + } +} + func (o PortVlanAttachmentMapOutput) MapIndex(k pulumi.StringInput) PortVlanAttachmentOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PortVlanAttachment { return vs[0].(map[string]*PortVlanAttachment)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/project.go b/sdk/go/equinix/metal/project.go index c1acac7b..3d1b6582 100644 --- a/sdk/go/equinix/metal/project.go +++ b/sdk/go/equinix/metal/project.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides an Equinix Metal project resource to allow you manage devices @@ -60,13 +62,16 @@ type Project struct { // Enable or disable [Backend Transfer](https://metal.equinix.com/developers/docs/networking/backend-transfer/), default is `false`. BackendTransfer pulumi.BoolPtrOutput `pulumi:"backendTransfer"` // Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + // + // > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + // the Equinix Metal API). It can be updated. BgpConfig ProjectBgpConfigPtrOutput `pulumi:"bgpConfig"` // The timestamp for when the project was created. Created pulumi.StringOutput `pulumi:"created"` - // The name of the project. + // The name of the project. The maximum length is 80 characters Name pulumi.StringOutput `pulumi:"name"` // The UUID of organization under which you want to create the project. If you - // leave it out, the project will be create under your the default organization of your account. + // leave it out, the project will be created under your the default organization of your account. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` // The UUID of payment method for this project. The payment method and the // project need to belong to the same organization (passed with `organizationId`, or default). @@ -82,7 +87,7 @@ func NewProject(ctx *pulumi.Context, args = &ProjectArgs{} } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Project err := ctx.RegisterResource("equinix:metal/project:Project", name, args, &resource, opts...) if err != nil { @@ -108,13 +113,16 @@ type projectState struct { // Enable or disable [Backend Transfer](https://metal.equinix.com/developers/docs/networking/backend-transfer/), default is `false`. BackendTransfer *bool `pulumi:"backendTransfer"` // Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + // + // > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + // the Equinix Metal API). It can be updated. BgpConfig *ProjectBgpConfig `pulumi:"bgpConfig"` // The timestamp for when the project was created. Created *string `pulumi:"created"` - // The name of the project. + // The name of the project. The maximum length is 80 characters Name *string `pulumi:"name"` // The UUID of organization under which you want to create the project. If you - // leave it out, the project will be create under your the default organization of your account. + // leave it out, the project will be created under your the default organization of your account. OrganizationId *string `pulumi:"organizationId"` // The UUID of payment method for this project. The payment method and the // project need to belong to the same organization (passed with `organizationId`, or default). @@ -127,13 +135,16 @@ type ProjectState struct { // Enable or disable [Backend Transfer](https://metal.equinix.com/developers/docs/networking/backend-transfer/), default is `false`. BackendTransfer pulumi.BoolPtrInput // Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + // + // > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + // the Equinix Metal API). It can be updated. BgpConfig ProjectBgpConfigPtrInput // The timestamp for when the project was created. Created pulumi.StringPtrInput - // The name of the project. + // The name of the project. The maximum length is 80 characters Name pulumi.StringPtrInput // The UUID of organization under which you want to create the project. If you - // leave it out, the project will be create under your the default organization of your account. + // leave it out, the project will be created under your the default organization of your account. OrganizationId pulumi.StringPtrInput // The UUID of payment method for this project. The payment method and the // project need to belong to the same organization (passed with `organizationId`, or default). @@ -150,11 +161,14 @@ type projectArgs struct { // Enable or disable [Backend Transfer](https://metal.equinix.com/developers/docs/networking/backend-transfer/), default is `false`. BackendTransfer *bool `pulumi:"backendTransfer"` // Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + // + // > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + // the Equinix Metal API). It can be updated. BgpConfig *ProjectBgpConfig `pulumi:"bgpConfig"` - // The name of the project. + // The name of the project. The maximum length is 80 characters Name *string `pulumi:"name"` // The UUID of organization under which you want to create the project. If you - // leave it out, the project will be create under your the default organization of your account. + // leave it out, the project will be created under your the default organization of your account. OrganizationId *string `pulumi:"organizationId"` // The UUID of payment method for this project. The payment method and the // project need to belong to the same organization (passed with `organizationId`, or default). @@ -166,11 +180,14 @@ type ProjectArgs struct { // Enable or disable [Backend Transfer](https://metal.equinix.com/developers/docs/networking/backend-transfer/), default is `false`. BackendTransfer pulumi.BoolPtrInput // Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + // + // > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + // the Equinix Metal API). It can be updated. BgpConfig ProjectBgpConfigPtrInput - // The name of the project. + // The name of the project. The maximum length is 80 characters Name pulumi.StringPtrInput // The UUID of organization under which you want to create the project. If you - // leave it out, the project will be create under your the default organization of your account. + // leave it out, the project will be created under your the default organization of your account. OrganizationId pulumi.StringPtrInput // The UUID of payment method for this project. The payment method and the // project need to belong to the same organization (passed with `organizationId`, or default). @@ -200,6 +217,12 @@ func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput return pulumi.ToOutputWithContext(ctx, i).(ProjectOutput) } +func (i *Project) ToOutput(ctx context.Context) pulumix.Output[*Project] { + return pulumix.Output[*Project]{ + OutputState: i.ToProjectOutputWithContext(ctx).OutputState, + } +} + // ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. // You can construct a concrete instance of `ProjectArrayInput` via: // @@ -225,6 +248,12 @@ func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) Proje return pulumi.ToOutputWithContext(ctx, i).(ProjectArrayOutput) } +func (i ProjectArray) ToOutput(ctx context.Context) pulumix.Output[[]*Project] { + return pulumix.Output[[]*Project]{ + OutputState: i.ToProjectArrayOutputWithContext(ctx).OutputState, + } +} + // ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. // You can construct a concrete instance of `ProjectMapInput` via: // @@ -250,6 +279,12 @@ func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMa return pulumi.ToOutputWithContext(ctx, i).(ProjectMapOutput) } +func (i ProjectMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Project] { + return pulumix.Output[map[string]*Project]{ + OutputState: i.ToProjectMapOutputWithContext(ctx).OutputState, + } +} + type ProjectOutput struct{ *pulumi.OutputState } func (ProjectOutput) ElementType() reflect.Type { @@ -264,12 +299,21 @@ func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOu return o } +func (o ProjectOutput) ToOutput(ctx context.Context) pulumix.Output[*Project] { + return pulumix.Output[*Project]{ + OutputState: o.OutputState, + } +} + // Enable or disable [Backend Transfer](https://metal.equinix.com/developers/docs/networking/backend-transfer/), default is `false`. func (o ProjectOutput) BackendTransfer() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Project) pulumi.BoolPtrOutput { return v.BackendTransfer }).(pulumi.BoolPtrOutput) } // Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). +// +// > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in +// the Equinix Metal API). It can be updated. func (o ProjectOutput) BgpConfig() ProjectBgpConfigPtrOutput { return o.ApplyT(func(v *Project) ProjectBgpConfigPtrOutput { return v.BgpConfig }).(ProjectBgpConfigPtrOutput) } @@ -279,13 +323,13 @@ func (o ProjectOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v *Project) pulumi.StringOutput { return v.Created }).(pulumi.StringOutput) } -// The name of the project. +// The name of the project. The maximum length is 80 characters func (o ProjectOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Project) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } // The UUID of organization under which you want to create the project. If you -// leave it out, the project will be create under your the default organization of your account. +// leave it out, the project will be created under your the default organization of your account. func (o ProjectOutput) OrganizationId() pulumi.StringOutput { return o.ApplyT(func(v *Project) pulumi.StringOutput { return v.OrganizationId }).(pulumi.StringOutput) } @@ -315,6 +359,12 @@ func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) return o } +func (o ProjectArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Project] { + return pulumix.Output[[]*Project]{ + OutputState: o.OutputState, + } +} + func (o ProjectArrayOutput) Index(i pulumi.IntInput) ProjectOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Project { return vs[0].([]*Project)[vs[1].(int)] @@ -335,6 +385,12 @@ func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) Pro return o } +func (o ProjectMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Project] { + return pulumix.Output[map[string]*Project]{ + OutputState: o.OutputState, + } +} + func (o ProjectMapOutput) MapIndex(k pulumi.StringInput) ProjectOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Project { return vs[0].(map[string]*Project)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/projectApiKey.go b/sdk/go/equinix/metal/projectApiKey.go index e7240e17..b0d4b855 100644 --- a/sdk/go/equinix/metal/projectApiKey.go +++ b/sdk/go/equinix/metal/projectApiKey.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this resource to create Metal Project API Key resources in Equinix Metal. Project API keys can @@ -86,7 +88,7 @@ func NewProjectApiKey(ctx *pulumi.Context, "token", }) opts = append(opts, secrets) - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource ProjectApiKey err := ctx.RegisterResource("equinix:metal/projectApiKey:ProjectApiKey", name, args, &resource, opts...) if err != nil { @@ -180,6 +182,12 @@ func (i *ProjectApiKey) ToProjectApiKeyOutputWithContext(ctx context.Context) Pr return pulumi.ToOutputWithContext(ctx, i).(ProjectApiKeyOutput) } +func (i *ProjectApiKey) ToOutput(ctx context.Context) pulumix.Output[*ProjectApiKey] { + return pulumix.Output[*ProjectApiKey]{ + OutputState: i.ToProjectApiKeyOutputWithContext(ctx).OutputState, + } +} + // ProjectApiKeyArrayInput is an input type that accepts ProjectApiKeyArray and ProjectApiKeyArrayOutput values. // You can construct a concrete instance of `ProjectApiKeyArrayInput` via: // @@ -205,6 +213,12 @@ func (i ProjectApiKeyArray) ToProjectApiKeyArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ProjectApiKeyArrayOutput) } +func (i ProjectApiKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]*ProjectApiKey] { + return pulumix.Output[[]*ProjectApiKey]{ + OutputState: i.ToProjectApiKeyArrayOutputWithContext(ctx).OutputState, + } +} + // ProjectApiKeyMapInput is an input type that accepts ProjectApiKeyMap and ProjectApiKeyMapOutput values. // You can construct a concrete instance of `ProjectApiKeyMapInput` via: // @@ -230,6 +244,12 @@ func (i ProjectApiKeyMap) ToProjectApiKeyMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ProjectApiKeyMapOutput) } +func (i ProjectApiKeyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProjectApiKey] { + return pulumix.Output[map[string]*ProjectApiKey]{ + OutputState: i.ToProjectApiKeyMapOutputWithContext(ctx).OutputState, + } +} + type ProjectApiKeyOutput struct{ *pulumi.OutputState } func (ProjectApiKeyOutput) ElementType() reflect.Type { @@ -244,6 +264,12 @@ func (o ProjectApiKeyOutput) ToProjectApiKeyOutputWithContext(ctx context.Contex return o } +func (o ProjectApiKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectApiKey] { + return pulumix.Output[*ProjectApiKey]{ + OutputState: o.OutputState, + } +} + // Description string for the Project API Key resource. // * `read-only` - (Optional) Flag indicating whether the API key shoud be read-only. func (o ProjectApiKeyOutput) Description() pulumi.StringOutput { @@ -279,6 +305,12 @@ func (o ProjectApiKeyArrayOutput) ToProjectApiKeyArrayOutputWithContext(ctx cont return o } +func (o ProjectApiKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ProjectApiKey] { + return pulumix.Output[[]*ProjectApiKey]{ + OutputState: o.OutputState, + } +} + func (o ProjectApiKeyArrayOutput) Index(i pulumi.IntInput) ProjectApiKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ProjectApiKey { return vs[0].([]*ProjectApiKey)[vs[1].(int)] @@ -299,6 +331,12 @@ func (o ProjectApiKeyMapOutput) ToProjectApiKeyMapOutputWithContext(ctx context. return o } +func (o ProjectApiKeyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProjectApiKey] { + return pulumix.Output[map[string]*ProjectApiKey]{ + OutputState: o.OutputState, + } +} + func (o ProjectApiKeyMapOutput) MapIndex(k pulumi.StringInput) ProjectApiKeyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ProjectApiKey { return vs[0].(map[string]*ProjectApiKey)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/projectSshKey.go b/sdk/go/equinix/metal/projectSshKey.go index 16e720a7..a835bba4 100644 --- a/sdk/go/equinix/metal/projectSshKey.go +++ b/sdk/go/equinix/metal/projectSshKey.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides an Equinix Metal project SSH key resource to manage project-specific SSH keys. @@ -87,7 +89,7 @@ func NewProjectSshKey(ctx *pulumi.Context, if args.PublicKey == nil { return nil, errors.New("invalid value for required argument 'PublicKey'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource ProjectSshKey err := ctx.RegisterResource("equinix:metal/projectSshKey:ProjectSshKey", name, args, &resource, opts...) if err != nil { @@ -189,6 +191,12 @@ func (i *ProjectSshKey) ToProjectSshKeyOutputWithContext(ctx context.Context) Pr return pulumi.ToOutputWithContext(ctx, i).(ProjectSshKeyOutput) } +func (i *ProjectSshKey) ToOutput(ctx context.Context) pulumix.Output[*ProjectSshKey] { + return pulumix.Output[*ProjectSshKey]{ + OutputState: i.ToProjectSshKeyOutputWithContext(ctx).OutputState, + } +} + // ProjectSshKeyArrayInput is an input type that accepts ProjectSshKeyArray and ProjectSshKeyArrayOutput values. // You can construct a concrete instance of `ProjectSshKeyArrayInput` via: // @@ -214,6 +222,12 @@ func (i ProjectSshKeyArray) ToProjectSshKeyArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ProjectSshKeyArrayOutput) } +func (i ProjectSshKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]*ProjectSshKey] { + return pulumix.Output[[]*ProjectSshKey]{ + OutputState: i.ToProjectSshKeyArrayOutputWithContext(ctx).OutputState, + } +} + // ProjectSshKeyMapInput is an input type that accepts ProjectSshKeyMap and ProjectSshKeyMapOutput values. // You can construct a concrete instance of `ProjectSshKeyMapInput` via: // @@ -239,6 +253,12 @@ func (i ProjectSshKeyMap) ToProjectSshKeyMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ProjectSshKeyMapOutput) } +func (i ProjectSshKeyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProjectSshKey] { + return pulumix.Output[map[string]*ProjectSshKey]{ + OutputState: i.ToProjectSshKeyMapOutputWithContext(ctx).OutputState, + } +} + type ProjectSshKeyOutput struct{ *pulumi.OutputState } func (ProjectSshKeyOutput) ElementType() reflect.Type { @@ -253,6 +273,12 @@ func (o ProjectSshKeyOutput) ToProjectSshKeyOutputWithContext(ctx context.Contex return o } +func (o ProjectSshKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectSshKey] { + return pulumix.Output[*ProjectSshKey]{ + OutputState: o.OutputState, + } +} + // The timestamp for when the SSH key was created. func (o ProjectSshKeyOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v *ProjectSshKey) pulumi.StringOutput { return v.Created }).(pulumi.StringOutput) @@ -302,6 +328,12 @@ func (o ProjectSshKeyArrayOutput) ToProjectSshKeyArrayOutputWithContext(ctx cont return o } +func (o ProjectSshKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ProjectSshKey] { + return pulumix.Output[[]*ProjectSshKey]{ + OutputState: o.OutputState, + } +} + func (o ProjectSshKeyArrayOutput) Index(i pulumi.IntInput) ProjectSshKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ProjectSshKey { return vs[0].([]*ProjectSshKey)[vs[1].(int)] @@ -322,6 +354,12 @@ func (o ProjectSshKeyMapOutput) ToProjectSshKeyMapOutputWithContext(ctx context. return o } +func (o ProjectSshKeyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProjectSshKey] { + return pulumix.Output[map[string]*ProjectSshKey]{ + OutputState: o.OutputState, + } +} + func (o ProjectSshKeyMapOutput) MapIndex(k pulumi.StringInput) ProjectSshKeyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ProjectSshKey { return vs[0].(map[string]*ProjectSshKey)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/pulumiEnums.go b/sdk/go/equinix/metal/pulumiEnums.go index b9545485..deda3fe9 100644 --- a/sdk/go/equinix/metal/pulumiEnums.go +++ b/sdk/go/equinix/metal/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type BillingCycle string @@ -77,6 +78,12 @@ func (o BillingCycleOutput) ToBillingCyclePtrOutputWithContext(ctx context.Conte }).(BillingCyclePtrOutput) } +func (o BillingCycleOutput) ToOutput(ctx context.Context) pulumix.Output[BillingCycle] { + return pulumix.Output[BillingCycle]{ + OutputState: o.OutputState, + } +} + func (o BillingCycleOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -112,6 +119,12 @@ func (o BillingCyclePtrOutput) ToBillingCyclePtrOutputWithContext(ctx context.Co return o } +func (o BillingCyclePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BillingCycle] { + return pulumix.Output[*BillingCycle]{ + OutputState: o.OutputState, + } +} + func (o BillingCyclePtrOutput) Elem() BillingCycleOutput { return o.ApplyT(func(v *BillingCycle) BillingCycle { if v != nil { @@ -174,6 +187,12 @@ func (in *billingCyclePtr) ToBillingCyclePtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(BillingCyclePtrOutput) } +func (in *billingCyclePtr) ToOutput(ctx context.Context) pulumix.Output[*BillingCycle] { + return pulumix.Output[*BillingCycle]{ + OutputState: in.ToBillingCyclePtrOutputWithContext(ctx).OutputState, + } +} + // See https://deploy.equinix.com/developers/api/metal/#tag/Facilities/operation/findFacilities type Facility string @@ -324,6 +343,12 @@ func (o FacilityOutput) ToFacilityPtrOutputWithContext(ctx context.Context) Faci }).(FacilityPtrOutput) } +func (o FacilityOutput) ToOutput(ctx context.Context) pulumix.Output[Facility] { + return pulumix.Output[Facility]{ + OutputState: o.OutputState, + } +} + func (o FacilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -359,6 +384,12 @@ func (o FacilityPtrOutput) ToFacilityPtrOutputWithContext(ctx context.Context) F return o } +func (o FacilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Facility] { + return pulumix.Output[*Facility]{ + OutputState: o.OutputState, + } +} + func (o FacilityPtrOutput) Elem() FacilityOutput { return o.ApplyT(func(v *Facility) Facility { if v != nil { @@ -421,6 +452,12 @@ func (in *facilityPtr) ToFacilityPtrOutputWithContext(ctx context.Context) Facil return pulumi.ToOutputWithContext(ctx, in).(FacilityPtrOutput) } +func (in *facilityPtr) ToOutput(ctx context.Context) pulumix.Output[*Facility] { + return pulumix.Output[*Facility]{ + OutputState: in.ToFacilityPtrOutputWithContext(ctx).OutputState, + } +} + type IpBlockType string const ( @@ -488,6 +525,12 @@ func (o IpBlockTypeOutput) ToIpBlockTypePtrOutputWithContext(ctx context.Context }).(IpBlockTypePtrOutput) } +func (o IpBlockTypeOutput) ToOutput(ctx context.Context) pulumix.Output[IpBlockType] { + return pulumix.Output[IpBlockType]{ + OutputState: o.OutputState, + } +} + func (o IpBlockTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -523,6 +566,12 @@ func (o IpBlockTypePtrOutput) ToIpBlockTypePtrOutputWithContext(ctx context.Cont return o } +func (o IpBlockTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IpBlockType] { + return pulumix.Output[*IpBlockType]{ + OutputState: o.OutputState, + } +} + func (o IpBlockTypePtrOutput) Elem() IpBlockTypeOutput { return o.ApplyT(func(v *IpBlockType) IpBlockType { if v != nil { @@ -585,6 +634,12 @@ func (in *ipBlockTypePtr) ToIpBlockTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(IpBlockTypePtrOutput) } +func (in *ipBlockTypePtr) ToOutput(ctx context.Context) pulumix.Output[*IpBlockType] { + return pulumix.Output[*IpBlockType]{ + OutputState: in.ToIpBlockTypePtrOutputWithContext(ctx).OutputState, + } +} + type NetworkType string const ( @@ -654,6 +709,12 @@ func (o NetworkTypeOutput) ToNetworkTypePtrOutputWithContext(ctx context.Context }).(NetworkTypePtrOutput) } +func (o NetworkTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkType] { + return pulumix.Output[NetworkType]{ + OutputState: o.OutputState, + } +} + func (o NetworkTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -689,6 +750,12 @@ func (o NetworkTypePtrOutput) ToNetworkTypePtrOutputWithContext(ctx context.Cont return o } +func (o NetworkTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkType] { + return pulumix.Output[*NetworkType]{ + OutputState: o.OutputState, + } +} + func (o NetworkTypePtrOutput) Elem() NetworkTypeOutput { return o.ApplyT(func(v *NetworkType) NetworkType { if v != nil { @@ -751,6 +818,12 @@ func (in *networkTypePtr) ToNetworkTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(NetworkTypePtrOutput) } +func (in *networkTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkType] { + return pulumix.Output[*NetworkType]{ + OutputState: in.ToNetworkTypePtrOutputWithContext(ctx).OutputState, + } +} + // See https://deploy.equinix.com/developers/api/metal/#tag/OperatingSystems/operation/findOperatingSystems type OperatingSystem string @@ -897,6 +970,12 @@ func (o OperatingSystemOutput) ToOperatingSystemPtrOutputWithContext(ctx context }).(OperatingSystemPtrOutput) } +func (o OperatingSystemOutput) ToOutput(ctx context.Context) pulumix.Output[OperatingSystem] { + return pulumix.Output[OperatingSystem]{ + OutputState: o.OutputState, + } +} + func (o OperatingSystemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -932,6 +1011,12 @@ func (o OperatingSystemPtrOutput) ToOperatingSystemPtrOutputWithContext(ctx cont return o } +func (o OperatingSystemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OperatingSystem] { + return pulumix.Output[*OperatingSystem]{ + OutputState: o.OutputState, + } +} + func (o OperatingSystemPtrOutput) Elem() OperatingSystemOutput { return o.ApplyT(func(v *OperatingSystem) OperatingSystem { if v != nil { @@ -994,6 +1079,12 @@ func (in *operatingSystemPtr) ToOperatingSystemPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(OperatingSystemPtrOutput) } +func (in *operatingSystemPtr) ToOutput(ctx context.Context) pulumix.Output[*OperatingSystem] { + return pulumix.Output[*OperatingSystem]{ + OutputState: in.ToOperatingSystemPtrOutputWithContext(ctx).OutputState, + } +} + // See https://deploy.equinix.com/developers/api/metal/#tag/Plans/operation/findPlans type Plan string @@ -1078,6 +1169,12 @@ func (o PlanOutput) ToPlanPtrOutputWithContext(ctx context.Context) PlanPtrOutpu }).(PlanPtrOutput) } +func (o PlanOutput) ToOutput(ctx context.Context) pulumix.Output[Plan] { + return pulumix.Output[Plan]{ + OutputState: o.OutputState, + } +} + func (o PlanOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1113,6 +1210,12 @@ func (o PlanPtrOutput) ToPlanPtrOutputWithContext(ctx context.Context) PlanPtrOu return o } +func (o PlanPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Plan] { + return pulumix.Output[*Plan]{ + OutputState: o.OutputState, + } +} + func (o PlanPtrOutput) Elem() PlanOutput { return o.ApplyT(func(v *Plan) Plan { if v != nil { @@ -1175,6 +1278,12 @@ func (in *planPtr) ToPlanPtrOutputWithContext(ctx context.Context) PlanPtrOutput return pulumi.ToOutputWithContext(ctx, in).(PlanPtrOutput) } +func (in *planPtr) ToOutput(ctx context.Context) pulumix.Output[*Plan] { + return pulumix.Output[*Plan]{ + OutputState: in.ToPlanPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*BillingCycleInput)(nil)).Elem(), BillingCycle("hourly")) pulumi.RegisterInputType(reflect.TypeOf((*BillingCyclePtrInput)(nil)).Elem(), BillingCycle("hourly")) diff --git a/sdk/go/equinix/metal/pulumiTypes.go b/sdk/go/equinix/metal/pulumiTypes.go index fcb606ee..2d075655 100644 --- a/sdk/go/equinix/metal/pulumiTypes.go +++ b/sdk/go/equinix/metal/pulumiTypes.go @@ -7,9 +7,13 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) +var _ = internal.GetEnvOrDefault + type DeviceBehavior struct { // List of attributes that are allowed to change without recreating the instance. Supported attributes: `customData`, `userData`" AllowChanges []string `pulumi:"allowChanges"` @@ -43,6 +47,12 @@ func (i DeviceBehaviorArgs) ToDeviceBehaviorOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DeviceBehaviorOutput) } +func (i DeviceBehaviorArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceBehavior] { + return pulumix.Output[DeviceBehavior]{ + OutputState: i.ToDeviceBehaviorOutputWithContext(ctx).OutputState, + } +} + func (i DeviceBehaviorArgs) ToDeviceBehaviorPtrOutput() DeviceBehaviorPtrOutput { return i.ToDeviceBehaviorPtrOutputWithContext(context.Background()) } @@ -84,6 +94,12 @@ func (i *deviceBehaviorPtrType) ToDeviceBehaviorPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DeviceBehaviorPtrOutput) } +func (i *deviceBehaviorPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeviceBehavior] { + return pulumix.Output[*DeviceBehavior]{ + OutputState: i.ToDeviceBehaviorPtrOutputWithContext(ctx).OutputState, + } +} + type DeviceBehaviorOutput struct{ *pulumi.OutputState } func (DeviceBehaviorOutput) ElementType() reflect.Type { @@ -108,6 +124,12 @@ func (o DeviceBehaviorOutput) ToDeviceBehaviorPtrOutputWithContext(ctx context.C }).(DeviceBehaviorPtrOutput) } +func (o DeviceBehaviorOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceBehavior] { + return pulumix.Output[DeviceBehavior]{ + OutputState: o.OutputState, + } +} + // List of attributes that are allowed to change without recreating the instance. Supported attributes: `customData`, `userData`" func (o DeviceBehaviorOutput) AllowChanges() pulumi.StringArrayOutput { return o.ApplyT(func(v DeviceBehavior) []string { return v.AllowChanges }).(pulumi.StringArrayOutput) @@ -127,6 +149,12 @@ func (o DeviceBehaviorPtrOutput) ToDeviceBehaviorPtrOutputWithContext(ctx contex return o } +func (o DeviceBehaviorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceBehavior] { + return pulumix.Output[*DeviceBehavior]{ + OutputState: o.OutputState, + } +} + func (o DeviceBehaviorPtrOutput) Elem() DeviceBehaviorOutput { return o.ApplyT(func(v *DeviceBehavior) DeviceBehavior { if v != nil { @@ -152,6 +180,12 @@ type DeviceIpAddress struct { Cidr *int `pulumi:"cidr"` // List of UUIDs of IP block reservations // from which the public IPv4 address should be taken. + // + // You can supply one `ipAddress` block per IP address type. If you use the `ipAddress` you must + // always pass a block for `privateIpv4`. + // + // To learn more about using the reserved IP addresses for new devices, see the examples in the + // metal.ReservedIpBlock documentation. ReservationIds []string `pulumi:"reservationIds"` // One of `privateIpv4`, `publicIpv4`, `publicIpv6`. Type string `pulumi:"type"` @@ -173,6 +207,12 @@ type DeviceIpAddressArgs struct { Cidr pulumi.IntPtrInput `pulumi:"cidr"` // List of UUIDs of IP block reservations // from which the public IPv4 address should be taken. + // + // You can supply one `ipAddress` block per IP address type. If you use the `ipAddress` you must + // always pass a block for `privateIpv4`. + // + // To learn more about using the reserved IP addresses for new devices, see the examples in the + // metal.ReservedIpBlock documentation. ReservationIds pulumi.StringArrayInput `pulumi:"reservationIds"` // One of `privateIpv4`, `publicIpv4`, `publicIpv6`. Type pulumi.StringInput `pulumi:"type"` @@ -190,6 +230,12 @@ func (i DeviceIpAddressArgs) ToDeviceIpAddressOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DeviceIpAddressOutput) } +func (i DeviceIpAddressArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceIpAddress] { + return pulumix.Output[DeviceIpAddress]{ + OutputState: i.ToDeviceIpAddressOutputWithContext(ctx).OutputState, + } +} + // DeviceIpAddressArrayInput is an input type that accepts DeviceIpAddressArray and DeviceIpAddressArrayOutput values. // You can construct a concrete instance of `DeviceIpAddressArrayInput` via: // @@ -215,6 +261,12 @@ func (i DeviceIpAddressArray) ToDeviceIpAddressArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DeviceIpAddressArrayOutput) } +func (i DeviceIpAddressArray) ToOutput(ctx context.Context) pulumix.Output[[]DeviceIpAddress] { + return pulumix.Output[[]DeviceIpAddress]{ + OutputState: i.ToDeviceIpAddressArrayOutputWithContext(ctx).OutputState, + } +} + type DeviceIpAddressOutput struct{ *pulumi.OutputState } func (DeviceIpAddressOutput) ElementType() reflect.Type { @@ -229,6 +281,12 @@ func (o DeviceIpAddressOutput) ToDeviceIpAddressOutputWithContext(ctx context.Co return o } +func (o DeviceIpAddressOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceIpAddress] { + return pulumix.Output[DeviceIpAddress]{ + OutputState: o.OutputState, + } +} + // CIDR suffix for IP address block to be assigned, i.e. amount of addresses. func (o DeviceIpAddressOutput) Cidr() pulumi.IntPtrOutput { return o.ApplyT(func(v DeviceIpAddress) *int { return v.Cidr }).(pulumi.IntPtrOutput) @@ -236,6 +294,12 @@ func (o DeviceIpAddressOutput) Cidr() pulumi.IntPtrOutput { // List of UUIDs of IP block reservations // from which the public IPv4 address should be taken. +// +// You can supply one `ipAddress` block per IP address type. If you use the `ipAddress` you must +// always pass a block for `privateIpv4`. +// +// To learn more about using the reserved IP addresses for new devices, see the examples in the +// metal.ReservedIpBlock documentation. func (o DeviceIpAddressOutput) ReservationIds() pulumi.StringArrayOutput { return o.ApplyT(func(v DeviceIpAddress) []string { return v.ReservationIds }).(pulumi.StringArrayOutput) } @@ -259,6 +323,12 @@ func (o DeviceIpAddressArrayOutput) ToDeviceIpAddressArrayOutputWithContext(ctx return o } +func (o DeviceIpAddressArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeviceIpAddress] { + return pulumix.Output[[]DeviceIpAddress]{ + OutputState: o.OutputState, + } +} + func (o DeviceIpAddressArrayOutput) Index(i pulumi.IntInput) DeviceIpAddressOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeviceIpAddress { return vs[0].([]DeviceIpAddress)[vs[1].(int)] @@ -314,6 +384,12 @@ func (i DeviceNetworkArgs) ToDeviceNetworkOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DeviceNetworkOutput) } +func (i DeviceNetworkArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceNetwork] { + return pulumix.Output[DeviceNetwork]{ + OutputState: i.ToDeviceNetworkOutputWithContext(ctx).OutputState, + } +} + // DeviceNetworkArrayInput is an input type that accepts DeviceNetworkArray and DeviceNetworkArrayOutput values. // You can construct a concrete instance of `DeviceNetworkArrayInput` via: // @@ -339,6 +415,12 @@ func (i DeviceNetworkArray) ToDeviceNetworkArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(DeviceNetworkArrayOutput) } +func (i DeviceNetworkArray) ToOutput(ctx context.Context) pulumix.Output[[]DeviceNetwork] { + return pulumix.Output[[]DeviceNetwork]{ + OutputState: i.ToDeviceNetworkArrayOutputWithContext(ctx).OutputState, + } +} + type DeviceNetworkOutput struct{ *pulumi.OutputState } func (DeviceNetworkOutput) ElementType() reflect.Type { @@ -353,6 +435,12 @@ func (o DeviceNetworkOutput) ToDeviceNetworkOutputWithContext(ctx context.Contex return o } +func (o DeviceNetworkOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceNetwork] { + return pulumix.Output[DeviceNetwork]{ + OutputState: o.OutputState, + } +} + // IPv4 or IPv6 address string. func (o DeviceNetworkOutput) Address() pulumi.StringPtrOutput { return o.ApplyT(func(v DeviceNetwork) *string { return v.Address }).(pulumi.StringPtrOutput) @@ -392,6 +480,12 @@ func (o DeviceNetworkArrayOutput) ToDeviceNetworkArrayOutputWithContext(ctx cont return o } +func (o DeviceNetworkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeviceNetwork] { + return pulumix.Output[[]DeviceNetwork]{ + OutputState: o.OutputState, + } +} + func (o DeviceNetworkArrayOutput) Index(i pulumi.IntInput) DeviceNetworkOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeviceNetwork { return vs[0].([]DeviceNetwork)[vs[1].(int)] @@ -447,6 +541,12 @@ func (i DevicePortArgs) ToDevicePortOutputWithContext(ctx context.Context) Devic return pulumi.ToOutputWithContext(ctx, i).(DevicePortOutput) } +func (i DevicePortArgs) ToOutput(ctx context.Context) pulumix.Output[DevicePort] { + return pulumix.Output[DevicePort]{ + OutputState: i.ToDevicePortOutputWithContext(ctx).OutputState, + } +} + // DevicePortArrayInput is an input type that accepts DevicePortArray and DevicePortArrayOutput values. // You can construct a concrete instance of `DevicePortArrayInput` via: // @@ -472,6 +572,12 @@ func (i DevicePortArray) ToDevicePortArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DevicePortArrayOutput) } +func (i DevicePortArray) ToOutput(ctx context.Context) pulumix.Output[[]DevicePort] { + return pulumix.Output[[]DevicePort]{ + OutputState: i.ToDevicePortArrayOutputWithContext(ctx).OutputState, + } +} + type DevicePortOutput struct{ *pulumi.OutputState } func (DevicePortOutput) ElementType() reflect.Type { @@ -486,6 +592,12 @@ func (o DevicePortOutput) ToDevicePortOutputWithContext(ctx context.Context) Dev return o } +func (o DevicePortOutput) ToOutput(ctx context.Context) pulumix.Output[DevicePort] { + return pulumix.Output[DevicePort]{ + OutputState: o.OutputState, + } +} + // Whether this port is part of a bond in bonded network setup. func (o DevicePortOutput) Bonded() pulumi.BoolPtrOutput { return o.ApplyT(func(v DevicePort) *bool { return v.Bonded }).(pulumi.BoolPtrOutput) @@ -525,6 +637,12 @@ func (o DevicePortArrayOutput) ToDevicePortArrayOutputWithContext(ctx context.Co return o } +func (o DevicePortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DevicePort] { + return pulumix.Output[[]DevicePort]{ + OutputState: o.OutputState, + } +} + func (o DevicePortArrayOutput) Index(i pulumi.IntInput) DevicePortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DevicePort { return vs[0].([]DevicePort)[vs[1].(int)] @@ -578,6 +696,12 @@ func (i DeviceReinstallArgs) ToDeviceReinstallOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DeviceReinstallOutput) } +func (i DeviceReinstallArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceReinstall] { + return pulumix.Output[DeviceReinstall]{ + OutputState: i.ToDeviceReinstallOutputWithContext(ctx).OutputState, + } +} + func (i DeviceReinstallArgs) ToDeviceReinstallPtrOutput() DeviceReinstallPtrOutput { return i.ToDeviceReinstallPtrOutputWithContext(context.Background()) } @@ -619,6 +743,12 @@ func (i *deviceReinstallPtrType) ToDeviceReinstallPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(DeviceReinstallPtrOutput) } +func (i *deviceReinstallPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeviceReinstall] { + return pulumix.Output[*DeviceReinstall]{ + OutputState: i.ToDeviceReinstallPtrOutputWithContext(ctx).OutputState, + } +} + type DeviceReinstallOutput struct{ *pulumi.OutputState } func (DeviceReinstallOutput) ElementType() reflect.Type { @@ -643,6 +773,12 @@ func (o DeviceReinstallOutput) ToDeviceReinstallPtrOutputWithContext(ctx context }).(DeviceReinstallPtrOutput) } +func (o DeviceReinstallOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceReinstall] { + return pulumix.Output[DeviceReinstall]{ + OutputState: o.OutputState, + } +} + // Whether the OS disk should be filled with `00h` bytes before reinstall. // Defaults to `false`. func (o DeviceReinstallOutput) DeprovisionFast() pulumi.BoolPtrOutput { @@ -675,6 +811,12 @@ func (o DeviceReinstallPtrOutput) ToDeviceReinstallPtrOutputWithContext(ctx cont return o } +func (o DeviceReinstallPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceReinstall] { + return pulumix.Output[*DeviceReinstall]{ + OutputState: o.OutputState, + } +} + func (o DeviceReinstallPtrOutput) Elem() DeviceReinstallOutput { return o.ApplyT(func(v *DeviceReinstall) DeviceReinstall { if v != nil { @@ -767,6 +909,12 @@ func (i InterconnectionPortArgs) ToInterconnectionPortOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(InterconnectionPortOutput) } +func (i InterconnectionPortArgs) ToOutput(ctx context.Context) pulumix.Output[InterconnectionPort] { + return pulumix.Output[InterconnectionPort]{ + OutputState: i.ToInterconnectionPortOutputWithContext(ctx).OutputState, + } +} + // InterconnectionPortArrayInput is an input type that accepts InterconnectionPortArray and InterconnectionPortArrayOutput values. // You can construct a concrete instance of `InterconnectionPortArrayInput` via: // @@ -792,6 +940,12 @@ func (i InterconnectionPortArray) ToInterconnectionPortArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(InterconnectionPortArrayOutput) } +func (i InterconnectionPortArray) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectionPort] { + return pulumix.Output[[]InterconnectionPort]{ + OutputState: i.ToInterconnectionPortArrayOutputWithContext(ctx).OutputState, + } +} + type InterconnectionPortOutput struct{ *pulumi.OutputState } func (InterconnectionPortOutput) ElementType() reflect.Type { @@ -806,6 +960,12 @@ func (o InterconnectionPortOutput) ToInterconnectionPortOutputWithContext(ctx co return o } +func (o InterconnectionPortOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectionPort] { + return pulumix.Output[InterconnectionPort]{ + OutputState: o.OutputState, + } +} + func (o InterconnectionPortOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v InterconnectionPort) *string { return v.Id }).(pulumi.StringPtrOutput) } @@ -851,6 +1011,12 @@ func (o InterconnectionPortArrayOutput) ToInterconnectionPortArrayOutputWithCont return o } +func (o InterconnectionPortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectionPort] { + return pulumix.Output[[]InterconnectionPort]{ + OutputState: o.OutputState, + } +} + func (o InterconnectionPortArrayOutput) Index(i pulumi.IntInput) InterconnectionPortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectionPort { return vs[0].([]InterconnectionPort)[vs[1].(int)] @@ -900,6 +1066,12 @@ func (i InterconnectionServiceTokenArgs) ToInterconnectionServiceTokenOutputWith return pulumi.ToOutputWithContext(ctx, i).(InterconnectionServiceTokenOutput) } +func (i InterconnectionServiceTokenArgs) ToOutput(ctx context.Context) pulumix.Output[InterconnectionServiceToken] { + return pulumix.Output[InterconnectionServiceToken]{ + OutputState: i.ToInterconnectionServiceTokenOutputWithContext(ctx).OutputState, + } +} + // InterconnectionServiceTokenArrayInput is an input type that accepts InterconnectionServiceTokenArray and InterconnectionServiceTokenArrayOutput values. // You can construct a concrete instance of `InterconnectionServiceTokenArrayInput` via: // @@ -925,6 +1097,12 @@ func (i InterconnectionServiceTokenArray) ToInterconnectionServiceTokenArrayOutp return pulumi.ToOutputWithContext(ctx, i).(InterconnectionServiceTokenArrayOutput) } +func (i InterconnectionServiceTokenArray) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectionServiceToken] { + return pulumix.Output[[]InterconnectionServiceToken]{ + OutputState: i.ToInterconnectionServiceTokenArrayOutputWithContext(ctx).OutputState, + } +} + type InterconnectionServiceTokenOutput struct{ *pulumi.OutputState } func (InterconnectionServiceTokenOutput) ElementType() reflect.Type { @@ -939,6 +1117,12 @@ func (o InterconnectionServiceTokenOutput) ToInterconnectionServiceTokenOutputWi return o } +func (o InterconnectionServiceTokenOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectionServiceToken] { + return pulumix.Output[InterconnectionServiceToken]{ + OutputState: o.OutputState, + } +} + func (o InterconnectionServiceTokenOutput) ExpiresAt() pulumi.StringPtrOutput { return o.ApplyT(func(v InterconnectionServiceToken) *string { return v.ExpiresAt }).(pulumi.StringPtrOutput) } @@ -978,6 +1162,12 @@ func (o InterconnectionServiceTokenArrayOutput) ToInterconnectionServiceTokenArr return o } +func (o InterconnectionServiceTokenArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectionServiceToken] { + return pulumix.Output[[]InterconnectionServiceToken]{ + OutputState: o.OutputState, + } +} + func (o InterconnectionServiceTokenArrayOutput) Index(i pulumi.IntInput) InterconnectionServiceTokenOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectionServiceToken { return vs[0].([]InterconnectionServiceToken)[vs[1].(int)] @@ -1033,6 +1223,12 @@ func (i OrganizationAddressArgs) ToOrganizationAddressOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(OrganizationAddressOutput) } +func (i OrganizationAddressArgs) ToOutput(ctx context.Context) pulumix.Output[OrganizationAddress] { + return pulumix.Output[OrganizationAddress]{ + OutputState: i.ToOrganizationAddressOutputWithContext(ctx).OutputState, + } +} + func (i OrganizationAddressArgs) ToOrganizationAddressPtrOutput() OrganizationAddressPtrOutput { return i.ToOrganizationAddressPtrOutputWithContext(context.Background()) } @@ -1074,6 +1270,12 @@ func (i *organizationAddressPtrType) ToOrganizationAddressPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(OrganizationAddressPtrOutput) } +func (i *organizationAddressPtrType) ToOutput(ctx context.Context) pulumix.Output[*OrganizationAddress] { + return pulumix.Output[*OrganizationAddress]{ + OutputState: i.ToOrganizationAddressPtrOutputWithContext(ctx).OutputState, + } +} + type OrganizationAddressOutput struct{ *pulumi.OutputState } func (OrganizationAddressOutput) ElementType() reflect.Type { @@ -1098,6 +1300,12 @@ func (o OrganizationAddressOutput) ToOrganizationAddressPtrOutputWithContext(ctx }).(OrganizationAddressPtrOutput) } +func (o OrganizationAddressOutput) ToOutput(ctx context.Context) pulumix.Output[OrganizationAddress] { + return pulumix.Output[OrganizationAddress]{ + OutputState: o.OutputState, + } +} + // Postal address. func (o OrganizationAddressOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v OrganizationAddress) string { return v.Address }).(pulumi.StringOutput) @@ -1137,6 +1345,12 @@ func (o OrganizationAddressPtrOutput) ToOrganizationAddressPtrOutputWithContext( return o } +func (o OrganizationAddressPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationAddress] { + return pulumix.Output[*OrganizationAddress]{ + OutputState: o.OutputState, + } +} + func (o OrganizationAddressPtrOutput) Elem() OrganizationAddressOutput { return o.ApplyT(func(v *OrganizationAddress) OrganizationAddress { if v != nil { @@ -1248,6 +1462,12 @@ func (i ProjectBgpConfigArgs) ToProjectBgpConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ProjectBgpConfigOutput) } +func (i ProjectBgpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ProjectBgpConfig] { + return pulumix.Output[ProjectBgpConfig]{ + OutputState: i.ToProjectBgpConfigOutputWithContext(ctx).OutputState, + } +} + func (i ProjectBgpConfigArgs) ToProjectBgpConfigPtrOutput() ProjectBgpConfigPtrOutput { return i.ToProjectBgpConfigPtrOutputWithContext(context.Background()) } @@ -1289,6 +1509,12 @@ func (i *projectBgpConfigPtrType) ToProjectBgpConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ProjectBgpConfigPtrOutput) } +func (i *projectBgpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProjectBgpConfig] { + return pulumix.Output[*ProjectBgpConfig]{ + OutputState: i.ToProjectBgpConfigPtrOutputWithContext(ctx).OutputState, + } +} + type ProjectBgpConfigOutput struct{ *pulumi.OutputState } func (ProjectBgpConfigOutput) ElementType() reflect.Type { @@ -1313,6 +1539,12 @@ func (o ProjectBgpConfigOutput) ToProjectBgpConfigPtrOutputWithContext(ctx conte }).(ProjectBgpConfigPtrOutput) } +func (o ProjectBgpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ProjectBgpConfig] { + return pulumix.Output[ProjectBgpConfig]{ + OutputState: o.OutputState, + } +} + // Autonomous System Number for local BGP deployment. func (o ProjectBgpConfigOutput) Asn() pulumi.IntOutput { return o.ApplyT(func(v ProjectBgpConfig) int { return v.Asn }).(pulumi.IntOutput) @@ -1353,6 +1585,12 @@ func (o ProjectBgpConfigPtrOutput) ToProjectBgpConfigPtrOutputWithContext(ctx co return o } +func (o ProjectBgpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectBgpConfig] { + return pulumix.Output[*ProjectBgpConfig]{ + OutputState: o.OutputState, + } +} + func (o ProjectBgpConfigPtrOutput) Elem() ProjectBgpConfigOutput { return o.ApplyT(func(v *ProjectBgpConfig) ProjectBgpConfig { if v != nil { @@ -1423,11 +1661,13 @@ type SpotMarketRequestInstanceParameters struct { Hostname string `pulumi:"hostname"` IpxeScriptUrl *string `pulumi:"ipxeScriptUrl"` // Blocks deletion of the SpotMarketRequest device until the lock is disabled. - Locked *bool `pulumi:"locked"` - OperatingSystem string `pulumi:"operatingSystem"` - Plan string `pulumi:"plan"` - ProjectSshKeys []string `pulumi:"projectSshKeys"` - Tags []string `pulumi:"tags"` + Locked *bool `pulumi:"locked"` + OperatingSystem string `pulumi:"operatingSystem"` + Plan string `pulumi:"plan"` + ProjectSshKeys []string `pulumi:"projectSshKeys"` + Tags []string `pulumi:"tags"` + TerminationTime *string `pulumi:"terminationTime"` + // Deprecated: Use instance_parameters.termination_time instead TermintationTime *string `pulumi:"termintationTime"` UserSshKeys []string `pulumi:"userSshKeys"` Userdata *string `pulumi:"userdata"` @@ -1453,11 +1693,13 @@ type SpotMarketRequestInstanceParametersArgs struct { Hostname pulumi.StringInput `pulumi:"hostname"` IpxeScriptUrl pulumi.StringPtrInput `pulumi:"ipxeScriptUrl"` // Blocks deletion of the SpotMarketRequest device until the lock is disabled. - Locked pulumi.BoolPtrInput `pulumi:"locked"` - OperatingSystem pulumi.StringInput `pulumi:"operatingSystem"` - Plan pulumi.StringInput `pulumi:"plan"` - ProjectSshKeys pulumi.StringArrayInput `pulumi:"projectSshKeys"` - Tags pulumi.StringArrayInput `pulumi:"tags"` + Locked pulumi.BoolPtrInput `pulumi:"locked"` + OperatingSystem pulumi.StringInput `pulumi:"operatingSystem"` + Plan pulumi.StringInput `pulumi:"plan"` + ProjectSshKeys pulumi.StringArrayInput `pulumi:"projectSshKeys"` + Tags pulumi.StringArrayInput `pulumi:"tags"` + TerminationTime pulumi.StringPtrInput `pulumi:"terminationTime"` + // Deprecated: Use instance_parameters.termination_time instead TermintationTime pulumi.StringPtrInput `pulumi:"termintationTime"` UserSshKeys pulumi.StringArrayInput `pulumi:"userSshKeys"` Userdata pulumi.StringPtrInput `pulumi:"userdata"` @@ -1475,6 +1717,12 @@ func (i SpotMarketRequestInstanceParametersArgs) ToSpotMarketRequestInstancePara return pulumi.ToOutputWithContext(ctx, i).(SpotMarketRequestInstanceParametersOutput) } +func (i SpotMarketRequestInstanceParametersArgs) ToOutput(ctx context.Context) pulumix.Output[SpotMarketRequestInstanceParameters] { + return pulumix.Output[SpotMarketRequestInstanceParameters]{ + OutputState: i.ToSpotMarketRequestInstanceParametersOutputWithContext(ctx).OutputState, + } +} + func (i SpotMarketRequestInstanceParametersArgs) ToSpotMarketRequestInstanceParametersPtrOutput() SpotMarketRequestInstanceParametersPtrOutput { return i.ToSpotMarketRequestInstanceParametersPtrOutputWithContext(context.Background()) } @@ -1516,6 +1764,12 @@ func (i *spotMarketRequestInstanceParametersPtrType) ToSpotMarketRequestInstance return pulumi.ToOutputWithContext(ctx, i).(SpotMarketRequestInstanceParametersPtrOutput) } +func (i *spotMarketRequestInstanceParametersPtrType) ToOutput(ctx context.Context) pulumix.Output[*SpotMarketRequestInstanceParameters] { + return pulumix.Output[*SpotMarketRequestInstanceParameters]{ + OutputState: i.ToSpotMarketRequestInstanceParametersPtrOutputWithContext(ctx).OutputState, + } +} + type SpotMarketRequestInstanceParametersOutput struct{ *pulumi.OutputState } func (SpotMarketRequestInstanceParametersOutput) ElementType() reflect.Type { @@ -1540,6 +1794,12 @@ func (o SpotMarketRequestInstanceParametersOutput) ToSpotMarketRequestInstancePa }).(SpotMarketRequestInstanceParametersPtrOutput) } +func (o SpotMarketRequestInstanceParametersOutput) ToOutput(ctx context.Context) pulumix.Output[SpotMarketRequestInstanceParameters] { + return pulumix.Output[SpotMarketRequestInstanceParameters]{ + OutputState: o.OutputState, + } +} + func (o SpotMarketRequestInstanceParametersOutput) AlwaysPxe() pulumi.BoolPtrOutput { return o.ApplyT(func(v SpotMarketRequestInstanceParameters) *bool { return v.AlwaysPxe }).(pulumi.BoolPtrOutput) } @@ -1589,6 +1849,11 @@ func (o SpotMarketRequestInstanceParametersOutput) Tags() pulumi.StringArrayOutp return o.ApplyT(func(v SpotMarketRequestInstanceParameters) []string { return v.Tags }).(pulumi.StringArrayOutput) } +func (o SpotMarketRequestInstanceParametersOutput) TerminationTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v SpotMarketRequestInstanceParameters) *string { return v.TerminationTime }).(pulumi.StringPtrOutput) +} + +// Deprecated: Use instance_parameters.termination_time instead func (o SpotMarketRequestInstanceParametersOutput) TermintationTime() pulumi.StringPtrOutput { return o.ApplyT(func(v SpotMarketRequestInstanceParameters) *string { return v.TermintationTime }).(pulumi.StringPtrOutput) } @@ -1615,6 +1880,12 @@ func (o SpotMarketRequestInstanceParametersPtrOutput) ToSpotMarketRequestInstanc return o } +func (o SpotMarketRequestInstanceParametersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SpotMarketRequestInstanceParameters] { + return pulumix.Output[*SpotMarketRequestInstanceParameters]{ + OutputState: o.OutputState, + } +} + func (o SpotMarketRequestInstanceParametersPtrOutput) Elem() SpotMarketRequestInstanceParametersOutput { return o.ApplyT(func(v *SpotMarketRequestInstanceParameters) SpotMarketRequestInstanceParameters { if v != nil { @@ -1734,6 +2005,16 @@ func (o SpotMarketRequestInstanceParametersPtrOutput) Tags() pulumi.StringArrayO }).(pulumi.StringArrayOutput) } +func (o SpotMarketRequestInstanceParametersPtrOutput) TerminationTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SpotMarketRequestInstanceParameters) *string { + if v == nil { + return nil + } + return v.TerminationTime + }).(pulumi.StringPtrOutput) +} + +// Deprecated: Use instance_parameters.termination_time instead func (o SpotMarketRequestInstanceParametersPtrOutput) TermintationTime() pulumi.StringPtrOutput { return o.ApplyT(func(v *SpotMarketRequestInstanceParameters) *string { if v == nil { @@ -1830,6 +2111,12 @@ func (i GetDeviceBgpNeighborsBgpNeighborArgs) ToGetDeviceBgpNeighborsBgpNeighbor return pulumi.ToOutputWithContext(ctx, i).(GetDeviceBgpNeighborsBgpNeighborOutput) } +func (i GetDeviceBgpNeighborsBgpNeighborArgs) ToOutput(ctx context.Context) pulumix.Output[GetDeviceBgpNeighborsBgpNeighbor] { + return pulumix.Output[GetDeviceBgpNeighborsBgpNeighbor]{ + OutputState: i.ToGetDeviceBgpNeighborsBgpNeighborOutputWithContext(ctx).OutputState, + } +} + // GetDeviceBgpNeighborsBgpNeighborArrayInput is an input type that accepts GetDeviceBgpNeighborsBgpNeighborArray and GetDeviceBgpNeighborsBgpNeighborArrayOutput values. // You can construct a concrete instance of `GetDeviceBgpNeighborsBgpNeighborArrayInput` via: // @@ -1855,6 +2142,12 @@ func (i GetDeviceBgpNeighborsBgpNeighborArray) ToGetDeviceBgpNeighborsBgpNeighbo return pulumi.ToOutputWithContext(ctx, i).(GetDeviceBgpNeighborsBgpNeighborArrayOutput) } +func (i GetDeviceBgpNeighborsBgpNeighborArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceBgpNeighborsBgpNeighbor] { + return pulumix.Output[[]GetDeviceBgpNeighborsBgpNeighbor]{ + OutputState: i.ToGetDeviceBgpNeighborsBgpNeighborArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceBgpNeighborsBgpNeighborOutput struct{ *pulumi.OutputState } func (GetDeviceBgpNeighborsBgpNeighborOutput) ElementType() reflect.Type { @@ -1869,6 +2162,12 @@ func (o GetDeviceBgpNeighborsBgpNeighborOutput) ToGetDeviceBgpNeighborsBgpNeighb return o } +func (o GetDeviceBgpNeighborsBgpNeighborOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceBgpNeighborsBgpNeighbor] { + return pulumix.Output[GetDeviceBgpNeighborsBgpNeighbor]{ + OutputState: o.OutputState, + } +} + // IP address version, 4 or 6. func (o GetDeviceBgpNeighborsBgpNeighborOutput) AddressFamily() pulumi.IntOutput { return o.ApplyT(func(v GetDeviceBgpNeighborsBgpNeighbor) int { return v.AddressFamily }).(pulumi.IntOutput) @@ -1937,6 +2236,12 @@ func (o GetDeviceBgpNeighborsBgpNeighborArrayOutput) ToGetDeviceBgpNeighborsBgpN return o } +func (o GetDeviceBgpNeighborsBgpNeighborArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceBgpNeighborsBgpNeighbor] { + return pulumix.Output[[]GetDeviceBgpNeighborsBgpNeighbor]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceBgpNeighborsBgpNeighborArrayOutput) Index(i pulumi.IntInput) GetDeviceBgpNeighborsBgpNeighborOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceBgpNeighborsBgpNeighbor { return vs[0].([]GetDeviceBgpNeighborsBgpNeighbor)[vs[1].(int)] @@ -1980,6 +2285,12 @@ func (i GetDeviceBgpNeighborsBgpNeighborRoutesInArgs) ToGetDeviceBgpNeighborsBgp return pulumi.ToOutputWithContext(ctx, i).(GetDeviceBgpNeighborsBgpNeighborRoutesInOutput) } +func (i GetDeviceBgpNeighborsBgpNeighborRoutesInArgs) ToOutput(ctx context.Context) pulumix.Output[GetDeviceBgpNeighborsBgpNeighborRoutesIn] { + return pulumix.Output[GetDeviceBgpNeighborsBgpNeighborRoutesIn]{ + OutputState: i.ToGetDeviceBgpNeighborsBgpNeighborRoutesInOutputWithContext(ctx).OutputState, + } +} + // GetDeviceBgpNeighborsBgpNeighborRoutesInArrayInput is an input type that accepts GetDeviceBgpNeighborsBgpNeighborRoutesInArray and GetDeviceBgpNeighborsBgpNeighborRoutesInArrayOutput values. // You can construct a concrete instance of `GetDeviceBgpNeighborsBgpNeighborRoutesInArrayInput` via: // @@ -2005,6 +2316,12 @@ func (i GetDeviceBgpNeighborsBgpNeighborRoutesInArray) ToGetDeviceBgpNeighborsBg return pulumi.ToOutputWithContext(ctx, i).(GetDeviceBgpNeighborsBgpNeighborRoutesInArrayOutput) } +func (i GetDeviceBgpNeighborsBgpNeighborRoutesInArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceBgpNeighborsBgpNeighborRoutesIn] { + return pulumix.Output[[]GetDeviceBgpNeighborsBgpNeighborRoutesIn]{ + OutputState: i.ToGetDeviceBgpNeighborsBgpNeighborRoutesInArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceBgpNeighborsBgpNeighborRoutesInOutput struct{ *pulumi.OutputState } func (GetDeviceBgpNeighborsBgpNeighborRoutesInOutput) ElementType() reflect.Type { @@ -2019,6 +2336,12 @@ func (o GetDeviceBgpNeighborsBgpNeighborRoutesInOutput) ToGetDeviceBgpNeighborsB return o } +func (o GetDeviceBgpNeighborsBgpNeighborRoutesInOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceBgpNeighborsBgpNeighborRoutesIn] { + return pulumix.Output[GetDeviceBgpNeighborsBgpNeighborRoutesIn]{ + OutputState: o.OutputState, + } +} + // (bool) Whether the route is exact. func (o GetDeviceBgpNeighborsBgpNeighborRoutesInOutput) Exact() pulumi.BoolOutput { return o.ApplyT(func(v GetDeviceBgpNeighborsBgpNeighborRoutesIn) bool { return v.Exact }).(pulumi.BoolOutput) @@ -2043,6 +2366,12 @@ func (o GetDeviceBgpNeighborsBgpNeighborRoutesInArrayOutput) ToGetDeviceBgpNeigh return o } +func (o GetDeviceBgpNeighborsBgpNeighborRoutesInArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceBgpNeighborsBgpNeighborRoutesIn] { + return pulumix.Output[[]GetDeviceBgpNeighborsBgpNeighborRoutesIn]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceBgpNeighborsBgpNeighborRoutesInArrayOutput) Index(i pulumi.IntInput) GetDeviceBgpNeighborsBgpNeighborRoutesInOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceBgpNeighborsBgpNeighborRoutesIn { return vs[0].([]GetDeviceBgpNeighborsBgpNeighborRoutesIn)[vs[1].(int)] @@ -2086,6 +2415,12 @@ func (i GetDeviceBgpNeighborsBgpNeighborRoutesOutArgs) ToGetDeviceBgpNeighborsBg return pulumi.ToOutputWithContext(ctx, i).(GetDeviceBgpNeighborsBgpNeighborRoutesOutOutput) } +func (i GetDeviceBgpNeighborsBgpNeighborRoutesOutArgs) ToOutput(ctx context.Context) pulumix.Output[GetDeviceBgpNeighborsBgpNeighborRoutesOut] { + return pulumix.Output[GetDeviceBgpNeighborsBgpNeighborRoutesOut]{ + OutputState: i.ToGetDeviceBgpNeighborsBgpNeighborRoutesOutOutputWithContext(ctx).OutputState, + } +} + // GetDeviceBgpNeighborsBgpNeighborRoutesOutArrayInput is an input type that accepts GetDeviceBgpNeighborsBgpNeighborRoutesOutArray and GetDeviceBgpNeighborsBgpNeighborRoutesOutArrayOutput values. // You can construct a concrete instance of `GetDeviceBgpNeighborsBgpNeighborRoutesOutArrayInput` via: // @@ -2111,6 +2446,12 @@ func (i GetDeviceBgpNeighborsBgpNeighborRoutesOutArray) ToGetDeviceBgpNeighborsB return pulumi.ToOutputWithContext(ctx, i).(GetDeviceBgpNeighborsBgpNeighborRoutesOutArrayOutput) } +func (i GetDeviceBgpNeighborsBgpNeighborRoutesOutArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceBgpNeighborsBgpNeighborRoutesOut] { + return pulumix.Output[[]GetDeviceBgpNeighborsBgpNeighborRoutesOut]{ + OutputState: i.ToGetDeviceBgpNeighborsBgpNeighborRoutesOutArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceBgpNeighborsBgpNeighborRoutesOutOutput struct{ *pulumi.OutputState } func (GetDeviceBgpNeighborsBgpNeighborRoutesOutOutput) ElementType() reflect.Type { @@ -2125,6 +2466,12 @@ func (o GetDeviceBgpNeighborsBgpNeighborRoutesOutOutput) ToGetDeviceBgpNeighbors return o } +func (o GetDeviceBgpNeighborsBgpNeighborRoutesOutOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceBgpNeighborsBgpNeighborRoutesOut] { + return pulumix.Output[GetDeviceBgpNeighborsBgpNeighborRoutesOut]{ + OutputState: o.OutputState, + } +} + // (bool) Whether the route is exact. func (o GetDeviceBgpNeighborsBgpNeighborRoutesOutOutput) Exact() pulumi.BoolOutput { return o.ApplyT(func(v GetDeviceBgpNeighborsBgpNeighborRoutesOut) bool { return v.Exact }).(pulumi.BoolOutput) @@ -2149,6 +2496,12 @@ func (o GetDeviceBgpNeighborsBgpNeighborRoutesOutArrayOutput) ToGetDeviceBgpNeig return o } +func (o GetDeviceBgpNeighborsBgpNeighborRoutesOutArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceBgpNeighborsBgpNeighborRoutesOut] { + return pulumix.Output[[]GetDeviceBgpNeighborsBgpNeighborRoutesOut]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceBgpNeighborsBgpNeighborRoutesOutArrayOutput) Index(i pulumi.IntInput) GetDeviceBgpNeighborsBgpNeighborRoutesOutOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceBgpNeighborsBgpNeighborRoutesOut { return vs[0].([]GetDeviceBgpNeighborsBgpNeighborRoutesOut)[vs[1].(int)] @@ -2204,6 +2557,12 @@ func (i GetDeviceNetworkArgs) ToGetDeviceNetworkOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GetDeviceNetworkOutput) } +func (i GetDeviceNetworkArgs) ToOutput(ctx context.Context) pulumix.Output[GetDeviceNetwork] { + return pulumix.Output[GetDeviceNetwork]{ + OutputState: i.ToGetDeviceNetworkOutputWithContext(ctx).OutputState, + } +} + // GetDeviceNetworkArrayInput is an input type that accepts GetDeviceNetworkArray and GetDeviceNetworkArrayOutput values. // You can construct a concrete instance of `GetDeviceNetworkArrayInput` via: // @@ -2229,6 +2588,12 @@ func (i GetDeviceNetworkArray) ToGetDeviceNetworkArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GetDeviceNetworkArrayOutput) } +func (i GetDeviceNetworkArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceNetwork] { + return pulumix.Output[[]GetDeviceNetwork]{ + OutputState: i.ToGetDeviceNetworkArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceNetworkOutput struct{ *pulumi.OutputState } func (GetDeviceNetworkOutput) ElementType() reflect.Type { @@ -2243,6 +2608,12 @@ func (o GetDeviceNetworkOutput) ToGetDeviceNetworkOutputWithContext(ctx context. return o } +func (o GetDeviceNetworkOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceNetwork] { + return pulumix.Output[GetDeviceNetwork]{ + OutputState: o.OutputState, + } +} + // IPv4 or IPv6 address string. func (o GetDeviceNetworkOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceNetwork) string { return v.Address }).(pulumi.StringOutput) @@ -2282,6 +2653,12 @@ func (o GetDeviceNetworkArrayOutput) ToGetDeviceNetworkArrayOutputWithContext(ct return o } +func (o GetDeviceNetworkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceNetwork] { + return pulumix.Output[[]GetDeviceNetwork]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceNetworkArrayOutput) Index(i pulumi.IntInput) GetDeviceNetworkOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceNetwork { return vs[0].([]GetDeviceNetwork)[vs[1].(int)] @@ -2337,6 +2714,12 @@ func (i GetDevicePortArgs) ToGetDevicePortOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GetDevicePortOutput) } +func (i GetDevicePortArgs) ToOutput(ctx context.Context) pulumix.Output[GetDevicePort] { + return pulumix.Output[GetDevicePort]{ + OutputState: i.ToGetDevicePortOutputWithContext(ctx).OutputState, + } +} + // GetDevicePortArrayInput is an input type that accepts GetDevicePortArray and GetDevicePortArrayOutput values. // You can construct a concrete instance of `GetDevicePortArrayInput` via: // @@ -2362,6 +2745,12 @@ func (i GetDevicePortArray) ToGetDevicePortArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GetDevicePortArrayOutput) } +func (i GetDevicePortArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDevicePort] { + return pulumix.Output[[]GetDevicePort]{ + OutputState: i.ToGetDevicePortArrayOutputWithContext(ctx).OutputState, + } +} + type GetDevicePortOutput struct{ *pulumi.OutputState } func (GetDevicePortOutput) ElementType() reflect.Type { @@ -2376,6 +2765,12 @@ func (o GetDevicePortOutput) ToGetDevicePortOutputWithContext(ctx context.Contex return o } +func (o GetDevicePortOutput) ToOutput(ctx context.Context) pulumix.Output[GetDevicePort] { + return pulumix.Output[GetDevicePort]{ + OutputState: o.OutputState, + } +} + // Whether this port is part of a bond in bonded network setup. func (o GetDevicePortOutput) Bonded() pulumi.BoolOutput { return o.ApplyT(func(v GetDevicePort) bool { return v.Bonded }).(pulumi.BoolOutput) @@ -2415,186 +2810,1043 @@ func (o GetDevicePortArrayOutput) ToGetDevicePortArrayOutputWithContext(ctx cont return o } +func (o GetDevicePortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDevicePort] { + return pulumix.Output[[]GetDevicePort]{ + OutputState: o.OutputState, + } +} + func (o GetDevicePortArrayOutput) Index(i pulumi.IntInput) GetDevicePortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDevicePort { return vs[0].([]GetDevicePort)[vs[1].(int)] }).(GetDevicePortOutput) } -type GetFacilityCapacity struct { - // Device plan that must be available in selected location. - Plan string `pulumi:"plan"` - // Minimun number of devices that must be available in selected location. - // Default is `1`. - Quantity *int `pulumi:"quantity"` -} - -// GetFacilityCapacityInput is an input type that accepts GetFacilityCapacityArgs and GetFacilityCapacityOutput values. -// You can construct a concrete instance of `GetFacilityCapacityInput` via: +type GetDevicesDevice struct { + AccessPrivateIpv4 string `pulumi:"accessPrivateIpv4"` + AccessPublicIpv4 string `pulumi:"accessPublicIpv4"` + AccessPublicIpv6 string `pulumi:"accessPublicIpv6"` + AlwaysPxe bool `pulumi:"alwaysPxe"` + BillingCycle string `pulumi:"billingCycle"` + Description string `pulumi:"description"` + DeviceId string `pulumi:"deviceId"` + // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices + Facility string `pulumi:"facility"` + HardwareReservationId string `pulumi:"hardwareReservationId"` + Hostname string `pulumi:"hostname"` + IpxeScriptUrl string `pulumi:"ipxeScriptUrl"` + Metro string `pulumi:"metro"` + NetworkType string `pulumi:"networkType"` + Networks []GetDevicesDeviceNetwork `pulumi:"networks"` + OperatingSystem string `pulumi:"operatingSystem"` + Plan string `pulumi:"plan"` + Ports []GetDevicesDevicePort `pulumi:"ports"` + // ID of project containing the devices. Exactly one of `projectId` and `organizationId` must be set. + ProjectId string `pulumi:"projectId"` + RootPassword string `pulumi:"rootPassword"` + SshKeyIds []string `pulumi:"sshKeyIds"` + State string `pulumi:"state"` + Storage string `pulumi:"storage"` + Tags []string `pulumi:"tags"` +} + +// GetDevicesDeviceInput is an input type that accepts GetDevicesDeviceArgs and GetDevicesDeviceOutput values. +// You can construct a concrete instance of `GetDevicesDeviceInput` via: // -// GetFacilityCapacityArgs{...} -type GetFacilityCapacityInput interface { +// GetDevicesDeviceArgs{...} +type GetDevicesDeviceInput interface { pulumi.Input - ToGetFacilityCapacityOutput() GetFacilityCapacityOutput - ToGetFacilityCapacityOutputWithContext(context.Context) GetFacilityCapacityOutput + ToGetDevicesDeviceOutput() GetDevicesDeviceOutput + ToGetDevicesDeviceOutputWithContext(context.Context) GetDevicesDeviceOutput } -type GetFacilityCapacityArgs struct { - // Device plan that must be available in selected location. - Plan pulumi.StringInput `pulumi:"plan"` - // Minimun number of devices that must be available in selected location. - // Default is `1`. - Quantity pulumi.IntPtrInput `pulumi:"quantity"` +type GetDevicesDeviceArgs struct { + AccessPrivateIpv4 pulumi.StringInput `pulumi:"accessPrivateIpv4"` + AccessPublicIpv4 pulumi.StringInput `pulumi:"accessPublicIpv4"` + AccessPublicIpv6 pulumi.StringInput `pulumi:"accessPublicIpv6"` + AlwaysPxe pulumi.BoolInput `pulumi:"alwaysPxe"` + BillingCycle pulumi.StringInput `pulumi:"billingCycle"` + Description pulumi.StringInput `pulumi:"description"` + DeviceId pulumi.StringInput `pulumi:"deviceId"` + // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices + Facility pulumi.StringInput `pulumi:"facility"` + HardwareReservationId pulumi.StringInput `pulumi:"hardwareReservationId"` + Hostname pulumi.StringInput `pulumi:"hostname"` + IpxeScriptUrl pulumi.StringInput `pulumi:"ipxeScriptUrl"` + Metro pulumi.StringInput `pulumi:"metro"` + NetworkType pulumi.StringInput `pulumi:"networkType"` + Networks GetDevicesDeviceNetworkArrayInput `pulumi:"networks"` + OperatingSystem pulumi.StringInput `pulumi:"operatingSystem"` + Plan pulumi.StringInput `pulumi:"plan"` + Ports GetDevicesDevicePortArrayInput `pulumi:"ports"` + // ID of project containing the devices. Exactly one of `projectId` and `organizationId` must be set. + ProjectId pulumi.StringInput `pulumi:"projectId"` + RootPassword pulumi.StringInput `pulumi:"rootPassword"` + SshKeyIds pulumi.StringArrayInput `pulumi:"sshKeyIds"` + State pulumi.StringInput `pulumi:"state"` + Storage pulumi.StringInput `pulumi:"storage"` + Tags pulumi.StringArrayInput `pulumi:"tags"` } -func (GetFacilityCapacityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFacilityCapacity)(nil)).Elem() +func (GetDevicesDeviceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDevicesDevice)(nil)).Elem() } -func (i GetFacilityCapacityArgs) ToGetFacilityCapacityOutput() GetFacilityCapacityOutput { - return i.ToGetFacilityCapacityOutputWithContext(context.Background()) +func (i GetDevicesDeviceArgs) ToGetDevicesDeviceOutput() GetDevicesDeviceOutput { + return i.ToGetDevicesDeviceOutputWithContext(context.Background()) } -func (i GetFacilityCapacityArgs) ToGetFacilityCapacityOutputWithContext(ctx context.Context) GetFacilityCapacityOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFacilityCapacityOutput) +func (i GetDevicesDeviceArgs) ToGetDevicesDeviceOutputWithContext(ctx context.Context) GetDevicesDeviceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDevicesDeviceOutput) } -// GetFacilityCapacityArrayInput is an input type that accepts GetFacilityCapacityArray and GetFacilityCapacityArrayOutput values. -// You can construct a concrete instance of `GetFacilityCapacityArrayInput` via: +func (i GetDevicesDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[GetDevicesDevice] { + return pulumix.Output[GetDevicesDevice]{ + OutputState: i.ToGetDevicesDeviceOutputWithContext(ctx).OutputState, + } +} + +// GetDevicesDeviceArrayInput is an input type that accepts GetDevicesDeviceArray and GetDevicesDeviceArrayOutput values. +// You can construct a concrete instance of `GetDevicesDeviceArrayInput` via: // -// GetFacilityCapacityArray{ GetFacilityCapacityArgs{...} } -type GetFacilityCapacityArrayInput interface { +// GetDevicesDeviceArray{ GetDevicesDeviceArgs{...} } +type GetDevicesDeviceArrayInput interface { pulumi.Input - ToGetFacilityCapacityArrayOutput() GetFacilityCapacityArrayOutput - ToGetFacilityCapacityArrayOutputWithContext(context.Context) GetFacilityCapacityArrayOutput + ToGetDevicesDeviceArrayOutput() GetDevicesDeviceArrayOutput + ToGetDevicesDeviceArrayOutputWithContext(context.Context) GetDevicesDeviceArrayOutput } -type GetFacilityCapacityArray []GetFacilityCapacityInput +type GetDevicesDeviceArray []GetDevicesDeviceInput -func (GetFacilityCapacityArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFacilityCapacity)(nil)).Elem() +func (GetDevicesDeviceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDevicesDevice)(nil)).Elem() } -func (i GetFacilityCapacityArray) ToGetFacilityCapacityArrayOutput() GetFacilityCapacityArrayOutput { - return i.ToGetFacilityCapacityArrayOutputWithContext(context.Background()) +func (i GetDevicesDeviceArray) ToGetDevicesDeviceArrayOutput() GetDevicesDeviceArrayOutput { + return i.ToGetDevicesDeviceArrayOutputWithContext(context.Background()) } -func (i GetFacilityCapacityArray) ToGetFacilityCapacityArrayOutputWithContext(ctx context.Context) GetFacilityCapacityArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFacilityCapacityArrayOutput) +func (i GetDevicesDeviceArray) ToGetDevicesDeviceArrayOutputWithContext(ctx context.Context) GetDevicesDeviceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDevicesDeviceArrayOutput) } -type GetFacilityCapacityOutput struct{ *pulumi.OutputState } +func (i GetDevicesDeviceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDevicesDevice] { + return pulumix.Output[[]GetDevicesDevice]{ + OutputState: i.ToGetDevicesDeviceArrayOutputWithContext(ctx).OutputState, + } +} -func (GetFacilityCapacityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFacilityCapacity)(nil)).Elem() +type GetDevicesDeviceOutput struct{ *pulumi.OutputState } + +func (GetDevicesDeviceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDevicesDevice)(nil)).Elem() } -func (o GetFacilityCapacityOutput) ToGetFacilityCapacityOutput() GetFacilityCapacityOutput { +func (o GetDevicesDeviceOutput) ToGetDevicesDeviceOutput() GetDevicesDeviceOutput { return o } -func (o GetFacilityCapacityOutput) ToGetFacilityCapacityOutputWithContext(ctx context.Context) GetFacilityCapacityOutput { +func (o GetDevicesDeviceOutput) ToGetDevicesDeviceOutputWithContext(ctx context.Context) GetDevicesDeviceOutput { return o } -// Device plan that must be available in selected location. -func (o GetFacilityCapacityOutput) Plan() pulumi.StringOutput { - return o.ApplyT(func(v GetFacilityCapacity) string { return v.Plan }).(pulumi.StringOutput) +func (o GetDevicesDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[GetDevicesDevice] { + return pulumix.Output[GetDevicesDevice]{ + OutputState: o.OutputState, + } } -// Minimun number of devices that must be available in selected location. -// Default is `1`. -func (o GetFacilityCapacityOutput) Quantity() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetFacilityCapacity) *int { return v.Quantity }).(pulumi.IntPtrOutput) +func (o GetDevicesDeviceOutput) AccessPrivateIpv4() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.AccessPrivateIpv4 }).(pulumi.StringOutput) } -type GetFacilityCapacityArrayOutput struct{ *pulumi.OutputState } +func (o GetDevicesDeviceOutput) AccessPublicIpv4() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.AccessPublicIpv4 }).(pulumi.StringOutput) +} -func (GetFacilityCapacityArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFacilityCapacity)(nil)).Elem() +func (o GetDevicesDeviceOutput) AccessPublicIpv6() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.AccessPublicIpv6 }).(pulumi.StringOutput) } -func (o GetFacilityCapacityArrayOutput) ToGetFacilityCapacityArrayOutput() GetFacilityCapacityArrayOutput { - return o +func (o GetDevicesDeviceOutput) AlwaysPxe() pulumi.BoolOutput { + return o.ApplyT(func(v GetDevicesDevice) bool { return v.AlwaysPxe }).(pulumi.BoolOutput) } -func (o GetFacilityCapacityArrayOutput) ToGetFacilityCapacityArrayOutputWithContext(ctx context.Context) GetFacilityCapacityArrayOutput { - return o +func (o GetDevicesDeviceOutput) BillingCycle() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.BillingCycle }).(pulumi.StringOutput) } -func (o GetFacilityCapacityArrayOutput) Index(i pulumi.IntInput) GetFacilityCapacityOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFacilityCapacity { - return vs[0].([]GetFacilityCapacity)[vs[1].(int)] - }).(GetFacilityCapacityOutput) +func (o GetDevicesDeviceOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.Description }).(pulumi.StringOutput) } -type GetInterconnectionPort struct { - // Port UUID. - Id string `pulumi:"id"` - // Port link status. - LinkStatus string `pulumi:"linkStatus"` - // Port name. - Name string `pulumi:"name"` - // Port role - primary or secondary. - Role string `pulumi:"role"` - // Port speed in bits per second. - Speed int `pulumi:"speed"` - // Port status. - Status string `pulumi:"status"` - // List of IDs of virtual cicruits attached to this port. - VirtualCircuitIds []interface{} `pulumi:"virtualCircuitIds"` +func (o GetDevicesDeviceOutput) DeviceId() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.DeviceId }).(pulumi.StringOutput) } -// GetInterconnectionPortInput is an input type that accepts GetInterconnectionPortArgs and GetInterconnectionPortOutput values. -// You can construct a concrete instance of `GetInterconnectionPortInput` via: -// -// GetInterconnectionPortArgs{...} -type GetInterconnectionPortInput interface { - pulumi.Input +// Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices +func (o GetDevicesDeviceOutput) Facility() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.Facility }).(pulumi.StringOutput) +} - ToGetInterconnectionPortOutput() GetInterconnectionPortOutput - ToGetInterconnectionPortOutputWithContext(context.Context) GetInterconnectionPortOutput +func (o GetDevicesDeviceOutput) HardwareReservationId() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.HardwareReservationId }).(pulumi.StringOutput) } -type GetInterconnectionPortArgs struct { - // Port UUID. - Id pulumi.StringInput `pulumi:"id"` - // Port link status. - LinkStatus pulumi.StringInput `pulumi:"linkStatus"` - // Port name. - Name pulumi.StringInput `pulumi:"name"` - // Port role - primary or secondary. - Role pulumi.StringInput `pulumi:"role"` - // Port speed in bits per second. - Speed pulumi.IntInput `pulumi:"speed"` - // Port status. - Status pulumi.StringInput `pulumi:"status"` - // List of IDs of virtual cicruits attached to this port. - VirtualCircuitIds pulumi.ArrayInput `pulumi:"virtualCircuitIds"` +func (o GetDevicesDeviceOutput) Hostname() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.Hostname }).(pulumi.StringOutput) } -func (GetInterconnectionPortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetInterconnectionPort)(nil)).Elem() +func (o GetDevicesDeviceOutput) IpxeScriptUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.IpxeScriptUrl }).(pulumi.StringOutput) } -func (i GetInterconnectionPortArgs) ToGetInterconnectionPortOutput() GetInterconnectionPortOutput { - return i.ToGetInterconnectionPortOutputWithContext(context.Background()) +func (o GetDevicesDeviceOutput) Metro() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.Metro }).(pulumi.StringOutput) } -func (i GetInterconnectionPortArgs) ToGetInterconnectionPortOutputWithContext(ctx context.Context) GetInterconnectionPortOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetInterconnectionPortOutput) +func (o GetDevicesDeviceOutput) NetworkType() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.NetworkType }).(pulumi.StringOutput) } -// GetInterconnectionPortArrayInput is an input type that accepts GetInterconnectionPortArray and GetInterconnectionPortArrayOutput values. -// You can construct a concrete instance of `GetInterconnectionPortArrayInput` via: -// -// GetInterconnectionPortArray{ GetInterconnectionPortArgs{...} } -type GetInterconnectionPortArrayInput interface { - pulumi.Input +func (o GetDevicesDeviceOutput) Networks() GetDevicesDeviceNetworkArrayOutput { + return o.ApplyT(func(v GetDevicesDevice) []GetDevicesDeviceNetwork { return v.Networks }).(GetDevicesDeviceNetworkArrayOutput) +} - ToGetInterconnectionPortArrayOutput() GetInterconnectionPortArrayOutput +func (o GetDevicesDeviceOutput) OperatingSystem() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.OperatingSystem }).(pulumi.StringOutput) +} + +func (o GetDevicesDeviceOutput) Plan() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.Plan }).(pulumi.StringOutput) +} + +func (o GetDevicesDeviceOutput) Ports() GetDevicesDevicePortArrayOutput { + return o.ApplyT(func(v GetDevicesDevice) []GetDevicesDevicePort { return v.Ports }).(GetDevicesDevicePortArrayOutput) +} + +// ID of project containing the devices. Exactly one of `projectId` and `organizationId` must be set. +func (o GetDevicesDeviceOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.ProjectId }).(pulumi.StringOutput) +} + +func (o GetDevicesDeviceOutput) RootPassword() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.RootPassword }).(pulumi.StringOutput) +} + +func (o GetDevicesDeviceOutput) SshKeyIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDevicesDevice) []string { return v.SshKeyIds }).(pulumi.StringArrayOutput) +} + +func (o GetDevicesDeviceOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.State }).(pulumi.StringOutput) +} + +func (o GetDevicesDeviceOutput) Storage() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.Storage }).(pulumi.StringOutput) +} + +func (o GetDevicesDeviceOutput) Tags() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDevicesDevice) []string { return v.Tags }).(pulumi.StringArrayOutput) +} + +type GetDevicesDeviceArrayOutput struct{ *pulumi.OutputState } + +func (GetDevicesDeviceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDevicesDevice)(nil)).Elem() +} + +func (o GetDevicesDeviceArrayOutput) ToGetDevicesDeviceArrayOutput() GetDevicesDeviceArrayOutput { + return o +} + +func (o GetDevicesDeviceArrayOutput) ToGetDevicesDeviceArrayOutputWithContext(ctx context.Context) GetDevicesDeviceArrayOutput { + return o +} + +func (o GetDevicesDeviceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDevicesDevice] { + return pulumix.Output[[]GetDevicesDevice]{ + OutputState: o.OutputState, + } +} + +func (o GetDevicesDeviceArrayOutput) Index(i pulumi.IntInput) GetDevicesDeviceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDevicesDevice { + return vs[0].([]GetDevicesDevice)[vs[1].(int)] + }).(GetDevicesDeviceOutput) +} + +type GetDevicesDeviceNetwork struct { + Address string `pulumi:"address"` + Cidr int `pulumi:"cidr"` + Family int `pulumi:"family"` + Gateway string `pulumi:"gateway"` + Public bool `pulumi:"public"` +} + +// GetDevicesDeviceNetworkInput is an input type that accepts GetDevicesDeviceNetworkArgs and GetDevicesDeviceNetworkOutput values. +// You can construct a concrete instance of `GetDevicesDeviceNetworkInput` via: +// +// GetDevicesDeviceNetworkArgs{...} +type GetDevicesDeviceNetworkInput interface { + pulumi.Input + + ToGetDevicesDeviceNetworkOutput() GetDevicesDeviceNetworkOutput + ToGetDevicesDeviceNetworkOutputWithContext(context.Context) GetDevicesDeviceNetworkOutput +} + +type GetDevicesDeviceNetworkArgs struct { + Address pulumi.StringInput `pulumi:"address"` + Cidr pulumi.IntInput `pulumi:"cidr"` + Family pulumi.IntInput `pulumi:"family"` + Gateway pulumi.StringInput `pulumi:"gateway"` + Public pulumi.BoolInput `pulumi:"public"` +} + +func (GetDevicesDeviceNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDevicesDeviceNetwork)(nil)).Elem() +} + +func (i GetDevicesDeviceNetworkArgs) ToGetDevicesDeviceNetworkOutput() GetDevicesDeviceNetworkOutput { + return i.ToGetDevicesDeviceNetworkOutputWithContext(context.Background()) +} + +func (i GetDevicesDeviceNetworkArgs) ToGetDevicesDeviceNetworkOutputWithContext(ctx context.Context) GetDevicesDeviceNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDevicesDeviceNetworkOutput) +} + +func (i GetDevicesDeviceNetworkArgs) ToOutput(ctx context.Context) pulumix.Output[GetDevicesDeviceNetwork] { + return pulumix.Output[GetDevicesDeviceNetwork]{ + OutputState: i.ToGetDevicesDeviceNetworkOutputWithContext(ctx).OutputState, + } +} + +// GetDevicesDeviceNetworkArrayInput is an input type that accepts GetDevicesDeviceNetworkArray and GetDevicesDeviceNetworkArrayOutput values. +// You can construct a concrete instance of `GetDevicesDeviceNetworkArrayInput` via: +// +// GetDevicesDeviceNetworkArray{ GetDevicesDeviceNetworkArgs{...} } +type GetDevicesDeviceNetworkArrayInput interface { + pulumi.Input + + ToGetDevicesDeviceNetworkArrayOutput() GetDevicesDeviceNetworkArrayOutput + ToGetDevicesDeviceNetworkArrayOutputWithContext(context.Context) GetDevicesDeviceNetworkArrayOutput +} + +type GetDevicesDeviceNetworkArray []GetDevicesDeviceNetworkInput + +func (GetDevicesDeviceNetworkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDevicesDeviceNetwork)(nil)).Elem() +} + +func (i GetDevicesDeviceNetworkArray) ToGetDevicesDeviceNetworkArrayOutput() GetDevicesDeviceNetworkArrayOutput { + return i.ToGetDevicesDeviceNetworkArrayOutputWithContext(context.Background()) +} + +func (i GetDevicesDeviceNetworkArray) ToGetDevicesDeviceNetworkArrayOutputWithContext(ctx context.Context) GetDevicesDeviceNetworkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDevicesDeviceNetworkArrayOutput) +} + +func (i GetDevicesDeviceNetworkArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDevicesDeviceNetwork] { + return pulumix.Output[[]GetDevicesDeviceNetwork]{ + OutputState: i.ToGetDevicesDeviceNetworkArrayOutputWithContext(ctx).OutputState, + } +} + +type GetDevicesDeviceNetworkOutput struct{ *pulumi.OutputState } + +func (GetDevicesDeviceNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDevicesDeviceNetwork)(nil)).Elem() +} + +func (o GetDevicesDeviceNetworkOutput) ToGetDevicesDeviceNetworkOutput() GetDevicesDeviceNetworkOutput { + return o +} + +func (o GetDevicesDeviceNetworkOutput) ToGetDevicesDeviceNetworkOutputWithContext(ctx context.Context) GetDevicesDeviceNetworkOutput { + return o +} + +func (o GetDevicesDeviceNetworkOutput) ToOutput(ctx context.Context) pulumix.Output[GetDevicesDeviceNetwork] { + return pulumix.Output[GetDevicesDeviceNetwork]{ + OutputState: o.OutputState, + } +} + +func (o GetDevicesDeviceNetworkOutput) Address() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDeviceNetwork) string { return v.Address }).(pulumi.StringOutput) +} + +func (o GetDevicesDeviceNetworkOutput) Cidr() pulumi.IntOutput { + return o.ApplyT(func(v GetDevicesDeviceNetwork) int { return v.Cidr }).(pulumi.IntOutput) +} + +func (o GetDevicesDeviceNetworkOutput) Family() pulumi.IntOutput { + return o.ApplyT(func(v GetDevicesDeviceNetwork) int { return v.Family }).(pulumi.IntOutput) +} + +func (o GetDevicesDeviceNetworkOutput) Gateway() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDeviceNetwork) string { return v.Gateway }).(pulumi.StringOutput) +} + +func (o GetDevicesDeviceNetworkOutput) Public() pulumi.BoolOutput { + return o.ApplyT(func(v GetDevicesDeviceNetwork) bool { return v.Public }).(pulumi.BoolOutput) +} + +type GetDevicesDeviceNetworkArrayOutput struct{ *pulumi.OutputState } + +func (GetDevicesDeviceNetworkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDevicesDeviceNetwork)(nil)).Elem() +} + +func (o GetDevicesDeviceNetworkArrayOutput) ToGetDevicesDeviceNetworkArrayOutput() GetDevicesDeviceNetworkArrayOutput { + return o +} + +func (o GetDevicesDeviceNetworkArrayOutput) ToGetDevicesDeviceNetworkArrayOutputWithContext(ctx context.Context) GetDevicesDeviceNetworkArrayOutput { + return o +} + +func (o GetDevicesDeviceNetworkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDevicesDeviceNetwork] { + return pulumix.Output[[]GetDevicesDeviceNetwork]{ + OutputState: o.OutputState, + } +} + +func (o GetDevicesDeviceNetworkArrayOutput) Index(i pulumi.IntInput) GetDevicesDeviceNetworkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDevicesDeviceNetwork { + return vs[0].([]GetDevicesDeviceNetwork)[vs[1].(int)] + }).(GetDevicesDeviceNetworkOutput) +} + +type GetDevicesDevicePort struct { + Bonded bool `pulumi:"bonded"` + Id string `pulumi:"id"` + Mac string `pulumi:"mac"` + Name string `pulumi:"name"` + Type string `pulumi:"type"` +} + +// GetDevicesDevicePortInput is an input type that accepts GetDevicesDevicePortArgs and GetDevicesDevicePortOutput values. +// You can construct a concrete instance of `GetDevicesDevicePortInput` via: +// +// GetDevicesDevicePortArgs{...} +type GetDevicesDevicePortInput interface { + pulumi.Input + + ToGetDevicesDevicePortOutput() GetDevicesDevicePortOutput + ToGetDevicesDevicePortOutputWithContext(context.Context) GetDevicesDevicePortOutput +} + +type GetDevicesDevicePortArgs struct { + Bonded pulumi.BoolInput `pulumi:"bonded"` + Id pulumi.StringInput `pulumi:"id"` + Mac pulumi.StringInput `pulumi:"mac"` + Name pulumi.StringInput `pulumi:"name"` + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetDevicesDevicePortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDevicesDevicePort)(nil)).Elem() +} + +func (i GetDevicesDevicePortArgs) ToGetDevicesDevicePortOutput() GetDevicesDevicePortOutput { + return i.ToGetDevicesDevicePortOutputWithContext(context.Background()) +} + +func (i GetDevicesDevicePortArgs) ToGetDevicesDevicePortOutputWithContext(ctx context.Context) GetDevicesDevicePortOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDevicesDevicePortOutput) +} + +func (i GetDevicesDevicePortArgs) ToOutput(ctx context.Context) pulumix.Output[GetDevicesDevicePort] { + return pulumix.Output[GetDevicesDevicePort]{ + OutputState: i.ToGetDevicesDevicePortOutputWithContext(ctx).OutputState, + } +} + +// GetDevicesDevicePortArrayInput is an input type that accepts GetDevicesDevicePortArray and GetDevicesDevicePortArrayOutput values. +// You can construct a concrete instance of `GetDevicesDevicePortArrayInput` via: +// +// GetDevicesDevicePortArray{ GetDevicesDevicePortArgs{...} } +type GetDevicesDevicePortArrayInput interface { + pulumi.Input + + ToGetDevicesDevicePortArrayOutput() GetDevicesDevicePortArrayOutput + ToGetDevicesDevicePortArrayOutputWithContext(context.Context) GetDevicesDevicePortArrayOutput +} + +type GetDevicesDevicePortArray []GetDevicesDevicePortInput + +func (GetDevicesDevicePortArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDevicesDevicePort)(nil)).Elem() +} + +func (i GetDevicesDevicePortArray) ToGetDevicesDevicePortArrayOutput() GetDevicesDevicePortArrayOutput { + return i.ToGetDevicesDevicePortArrayOutputWithContext(context.Background()) +} + +func (i GetDevicesDevicePortArray) ToGetDevicesDevicePortArrayOutputWithContext(ctx context.Context) GetDevicesDevicePortArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDevicesDevicePortArrayOutput) +} + +func (i GetDevicesDevicePortArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDevicesDevicePort] { + return pulumix.Output[[]GetDevicesDevicePort]{ + OutputState: i.ToGetDevicesDevicePortArrayOutputWithContext(ctx).OutputState, + } +} + +type GetDevicesDevicePortOutput struct{ *pulumi.OutputState } + +func (GetDevicesDevicePortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDevicesDevicePort)(nil)).Elem() +} + +func (o GetDevicesDevicePortOutput) ToGetDevicesDevicePortOutput() GetDevicesDevicePortOutput { + return o +} + +func (o GetDevicesDevicePortOutput) ToGetDevicesDevicePortOutputWithContext(ctx context.Context) GetDevicesDevicePortOutput { + return o +} + +func (o GetDevicesDevicePortOutput) ToOutput(ctx context.Context) pulumix.Output[GetDevicesDevicePort] { + return pulumix.Output[GetDevicesDevicePort]{ + OutputState: o.OutputState, + } +} + +func (o GetDevicesDevicePortOutput) Bonded() pulumi.BoolOutput { + return o.ApplyT(func(v GetDevicesDevicePort) bool { return v.Bonded }).(pulumi.BoolOutput) +} + +func (o GetDevicesDevicePortOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevicePort) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDevicesDevicePortOutput) Mac() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevicePort) string { return v.Mac }).(pulumi.StringOutput) +} + +func (o GetDevicesDevicePortOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevicePort) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDevicesDevicePortOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevicePort) string { return v.Type }).(pulumi.StringOutput) +} + +type GetDevicesDevicePortArrayOutput struct{ *pulumi.OutputState } + +func (GetDevicesDevicePortArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDevicesDevicePort)(nil)).Elem() +} + +func (o GetDevicesDevicePortArrayOutput) ToGetDevicesDevicePortArrayOutput() GetDevicesDevicePortArrayOutput { + return o +} + +func (o GetDevicesDevicePortArrayOutput) ToGetDevicesDevicePortArrayOutputWithContext(ctx context.Context) GetDevicesDevicePortArrayOutput { + return o +} + +func (o GetDevicesDevicePortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDevicesDevicePort] { + return pulumix.Output[[]GetDevicesDevicePort]{ + OutputState: o.OutputState, + } +} + +func (o GetDevicesDevicePortArrayOutput) Index(i pulumi.IntInput) GetDevicesDevicePortOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDevicesDevicePort { + return vs[0].([]GetDevicesDevicePort)[vs[1].(int)] + }).(GetDevicesDevicePortOutput) +} + +type GetDevicesFilter struct { + // If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + // + // All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + All *bool `pulumi:"all"` + // The attribute used to filter. Filter attributes are case-sensitive + Attribute string `pulumi:"attribute"` + // The type of comparison to apply. One of: `in` , `re`, `substring`, `lessThan`, `lessThanOrEqual`, `greaterThan`, `greaterThanOrEqual`. Default is `in`. + MatchBy *string `pulumi:"matchBy"` + // The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + Values []string `pulumi:"values"` +} + +// GetDevicesFilterInput is an input type that accepts GetDevicesFilterArgs and GetDevicesFilterOutput values. +// You can construct a concrete instance of `GetDevicesFilterInput` via: +// +// GetDevicesFilterArgs{...} +type GetDevicesFilterInput interface { + pulumi.Input + + ToGetDevicesFilterOutput() GetDevicesFilterOutput + ToGetDevicesFilterOutputWithContext(context.Context) GetDevicesFilterOutput +} + +type GetDevicesFilterArgs struct { + // If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + // + // All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + All pulumi.BoolPtrInput `pulumi:"all"` + // The attribute used to filter. Filter attributes are case-sensitive + Attribute pulumi.StringInput `pulumi:"attribute"` + // The type of comparison to apply. One of: `in` , `re`, `substring`, `lessThan`, `lessThanOrEqual`, `greaterThan`, `greaterThanOrEqual`. Default is `in`. + MatchBy pulumi.StringPtrInput `pulumi:"matchBy"` + // The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetDevicesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDevicesFilter)(nil)).Elem() +} + +func (i GetDevicesFilterArgs) ToGetDevicesFilterOutput() GetDevicesFilterOutput { + return i.ToGetDevicesFilterOutputWithContext(context.Background()) +} + +func (i GetDevicesFilterArgs) ToGetDevicesFilterOutputWithContext(ctx context.Context) GetDevicesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDevicesFilterOutput) +} + +func (i GetDevicesFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetDevicesFilter] { + return pulumix.Output[GetDevicesFilter]{ + OutputState: i.ToGetDevicesFilterOutputWithContext(ctx).OutputState, + } +} + +// GetDevicesFilterArrayInput is an input type that accepts GetDevicesFilterArray and GetDevicesFilterArrayOutput values. +// You can construct a concrete instance of `GetDevicesFilterArrayInput` via: +// +// GetDevicesFilterArray{ GetDevicesFilterArgs{...} } +type GetDevicesFilterArrayInput interface { + pulumi.Input + + ToGetDevicesFilterArrayOutput() GetDevicesFilterArrayOutput + ToGetDevicesFilterArrayOutputWithContext(context.Context) GetDevicesFilterArrayOutput +} + +type GetDevicesFilterArray []GetDevicesFilterInput + +func (GetDevicesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDevicesFilter)(nil)).Elem() +} + +func (i GetDevicesFilterArray) ToGetDevicesFilterArrayOutput() GetDevicesFilterArrayOutput { + return i.ToGetDevicesFilterArrayOutputWithContext(context.Background()) +} + +func (i GetDevicesFilterArray) ToGetDevicesFilterArrayOutputWithContext(ctx context.Context) GetDevicesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDevicesFilterArrayOutput) +} + +func (i GetDevicesFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDevicesFilter] { + return pulumix.Output[[]GetDevicesFilter]{ + OutputState: i.ToGetDevicesFilterArrayOutputWithContext(ctx).OutputState, + } +} + +type GetDevicesFilterOutput struct{ *pulumi.OutputState } + +func (GetDevicesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDevicesFilter)(nil)).Elem() +} + +func (o GetDevicesFilterOutput) ToGetDevicesFilterOutput() GetDevicesFilterOutput { + return o +} + +func (o GetDevicesFilterOutput) ToGetDevicesFilterOutputWithContext(ctx context.Context) GetDevicesFilterOutput { + return o +} + +func (o GetDevicesFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetDevicesFilter] { + return pulumix.Output[GetDevicesFilter]{ + OutputState: o.OutputState, + } +} + +// If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. +// +// All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. +func (o GetDevicesFilterOutput) All() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDevicesFilter) *bool { return v.All }).(pulumi.BoolPtrOutput) +} + +// The attribute used to filter. Filter attributes are case-sensitive +func (o GetDevicesFilterOutput) Attribute() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesFilter) string { return v.Attribute }).(pulumi.StringOutput) +} + +// The type of comparison to apply. One of: `in` , `re`, `substring`, `lessThan`, `lessThanOrEqual`, `greaterThan`, `greaterThanOrEqual`. Default is `in`. +func (o GetDevicesFilterOutput) MatchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDevicesFilter) *string { return v.MatchBy }).(pulumi.StringPtrOutput) +} + +// The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values +func (o GetDevicesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDevicesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetDevicesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDevicesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDevicesFilter)(nil)).Elem() +} + +func (o GetDevicesFilterArrayOutput) ToGetDevicesFilterArrayOutput() GetDevicesFilterArrayOutput { + return o +} + +func (o GetDevicesFilterArrayOutput) ToGetDevicesFilterArrayOutputWithContext(ctx context.Context) GetDevicesFilterArrayOutput { + return o +} + +func (o GetDevicesFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDevicesFilter] { + return pulumix.Output[[]GetDevicesFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetDevicesFilterArrayOutput) Index(i pulumi.IntInput) GetDevicesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDevicesFilter { + return vs[0].([]GetDevicesFilter)[vs[1].(int)] + }).(GetDevicesFilterOutput) +} + +type GetDevicesSort struct { + // The attribute used to filter. Filter attributes are case-sensitive + Attribute string `pulumi:"attribute"` + Direction *string `pulumi:"direction"` +} + +// GetDevicesSortInput is an input type that accepts GetDevicesSortArgs and GetDevicesSortOutput values. +// You can construct a concrete instance of `GetDevicesSortInput` via: +// +// GetDevicesSortArgs{...} +type GetDevicesSortInput interface { + pulumi.Input + + ToGetDevicesSortOutput() GetDevicesSortOutput + ToGetDevicesSortOutputWithContext(context.Context) GetDevicesSortOutput +} + +type GetDevicesSortArgs struct { + // The attribute used to filter. Filter attributes are case-sensitive + Attribute pulumi.StringInput `pulumi:"attribute"` + Direction pulumi.StringPtrInput `pulumi:"direction"` +} + +func (GetDevicesSortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDevicesSort)(nil)).Elem() +} + +func (i GetDevicesSortArgs) ToGetDevicesSortOutput() GetDevicesSortOutput { + return i.ToGetDevicesSortOutputWithContext(context.Background()) +} + +func (i GetDevicesSortArgs) ToGetDevicesSortOutputWithContext(ctx context.Context) GetDevicesSortOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDevicesSortOutput) +} + +func (i GetDevicesSortArgs) ToOutput(ctx context.Context) pulumix.Output[GetDevicesSort] { + return pulumix.Output[GetDevicesSort]{ + OutputState: i.ToGetDevicesSortOutputWithContext(ctx).OutputState, + } +} + +// GetDevicesSortArrayInput is an input type that accepts GetDevicesSortArray and GetDevicesSortArrayOutput values. +// You can construct a concrete instance of `GetDevicesSortArrayInput` via: +// +// GetDevicesSortArray{ GetDevicesSortArgs{...} } +type GetDevicesSortArrayInput interface { + pulumi.Input + + ToGetDevicesSortArrayOutput() GetDevicesSortArrayOutput + ToGetDevicesSortArrayOutputWithContext(context.Context) GetDevicesSortArrayOutput +} + +type GetDevicesSortArray []GetDevicesSortInput + +func (GetDevicesSortArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDevicesSort)(nil)).Elem() +} + +func (i GetDevicesSortArray) ToGetDevicesSortArrayOutput() GetDevicesSortArrayOutput { + return i.ToGetDevicesSortArrayOutputWithContext(context.Background()) +} + +func (i GetDevicesSortArray) ToGetDevicesSortArrayOutputWithContext(ctx context.Context) GetDevicesSortArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDevicesSortArrayOutput) +} + +func (i GetDevicesSortArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDevicesSort] { + return pulumix.Output[[]GetDevicesSort]{ + OutputState: i.ToGetDevicesSortArrayOutputWithContext(ctx).OutputState, + } +} + +type GetDevicesSortOutput struct{ *pulumi.OutputState } + +func (GetDevicesSortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDevicesSort)(nil)).Elem() +} + +func (o GetDevicesSortOutput) ToGetDevicesSortOutput() GetDevicesSortOutput { + return o +} + +func (o GetDevicesSortOutput) ToGetDevicesSortOutputWithContext(ctx context.Context) GetDevicesSortOutput { + return o +} + +func (o GetDevicesSortOutput) ToOutput(ctx context.Context) pulumix.Output[GetDevicesSort] { + return pulumix.Output[GetDevicesSort]{ + OutputState: o.OutputState, + } +} + +// The attribute used to filter. Filter attributes are case-sensitive +func (o GetDevicesSortOutput) Attribute() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesSort) string { return v.Attribute }).(pulumi.StringOutput) +} + +func (o GetDevicesSortOutput) Direction() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDevicesSort) *string { return v.Direction }).(pulumi.StringPtrOutput) +} + +type GetDevicesSortArrayOutput struct{ *pulumi.OutputState } + +func (GetDevicesSortArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDevicesSort)(nil)).Elem() +} + +func (o GetDevicesSortArrayOutput) ToGetDevicesSortArrayOutput() GetDevicesSortArrayOutput { + return o +} + +func (o GetDevicesSortArrayOutput) ToGetDevicesSortArrayOutputWithContext(ctx context.Context) GetDevicesSortArrayOutput { + return o +} + +func (o GetDevicesSortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDevicesSort] { + return pulumix.Output[[]GetDevicesSort]{ + OutputState: o.OutputState, + } +} + +func (o GetDevicesSortArrayOutput) Index(i pulumi.IntInput) GetDevicesSortOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDevicesSort { + return vs[0].([]GetDevicesSort)[vs[1].(int)] + }).(GetDevicesSortOutput) +} + +type GetFacilityCapacity struct { + // Device plan that must be available in selected location. + Plan string `pulumi:"plan"` + // Minimun number of devices that must be available in selected location. + // Default is `1`. + Quantity *int `pulumi:"quantity"` +} + +// GetFacilityCapacityInput is an input type that accepts GetFacilityCapacityArgs and GetFacilityCapacityOutput values. +// You can construct a concrete instance of `GetFacilityCapacityInput` via: +// +// GetFacilityCapacityArgs{...} +type GetFacilityCapacityInput interface { + pulumi.Input + + ToGetFacilityCapacityOutput() GetFacilityCapacityOutput + ToGetFacilityCapacityOutputWithContext(context.Context) GetFacilityCapacityOutput +} + +type GetFacilityCapacityArgs struct { + // Device plan that must be available in selected location. + Plan pulumi.StringInput `pulumi:"plan"` + // Minimun number of devices that must be available in selected location. + // Default is `1`. + Quantity pulumi.IntPtrInput `pulumi:"quantity"` +} + +func (GetFacilityCapacityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetFacilityCapacity)(nil)).Elem() +} + +func (i GetFacilityCapacityArgs) ToGetFacilityCapacityOutput() GetFacilityCapacityOutput { + return i.ToGetFacilityCapacityOutputWithContext(context.Background()) +} + +func (i GetFacilityCapacityArgs) ToGetFacilityCapacityOutputWithContext(ctx context.Context) GetFacilityCapacityOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFacilityCapacityOutput) +} + +func (i GetFacilityCapacityArgs) ToOutput(ctx context.Context) pulumix.Output[GetFacilityCapacity] { + return pulumix.Output[GetFacilityCapacity]{ + OutputState: i.ToGetFacilityCapacityOutputWithContext(ctx).OutputState, + } +} + +// GetFacilityCapacityArrayInput is an input type that accepts GetFacilityCapacityArray and GetFacilityCapacityArrayOutput values. +// You can construct a concrete instance of `GetFacilityCapacityArrayInput` via: +// +// GetFacilityCapacityArray{ GetFacilityCapacityArgs{...} } +type GetFacilityCapacityArrayInput interface { + pulumi.Input + + ToGetFacilityCapacityArrayOutput() GetFacilityCapacityArrayOutput + ToGetFacilityCapacityArrayOutputWithContext(context.Context) GetFacilityCapacityArrayOutput +} + +type GetFacilityCapacityArray []GetFacilityCapacityInput + +func (GetFacilityCapacityArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFacilityCapacity)(nil)).Elem() +} + +func (i GetFacilityCapacityArray) ToGetFacilityCapacityArrayOutput() GetFacilityCapacityArrayOutput { + return i.ToGetFacilityCapacityArrayOutputWithContext(context.Background()) +} + +func (i GetFacilityCapacityArray) ToGetFacilityCapacityArrayOutputWithContext(ctx context.Context) GetFacilityCapacityArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetFacilityCapacityArrayOutput) +} + +func (i GetFacilityCapacityArray) ToOutput(ctx context.Context) pulumix.Output[[]GetFacilityCapacity] { + return pulumix.Output[[]GetFacilityCapacity]{ + OutputState: i.ToGetFacilityCapacityArrayOutputWithContext(ctx).OutputState, + } +} + +type GetFacilityCapacityOutput struct{ *pulumi.OutputState } + +func (GetFacilityCapacityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetFacilityCapacity)(nil)).Elem() +} + +func (o GetFacilityCapacityOutput) ToGetFacilityCapacityOutput() GetFacilityCapacityOutput { + return o +} + +func (o GetFacilityCapacityOutput) ToGetFacilityCapacityOutputWithContext(ctx context.Context) GetFacilityCapacityOutput { + return o +} + +func (o GetFacilityCapacityOutput) ToOutput(ctx context.Context) pulumix.Output[GetFacilityCapacity] { + return pulumix.Output[GetFacilityCapacity]{ + OutputState: o.OutputState, + } +} + +// Device plan that must be available in selected location. +func (o GetFacilityCapacityOutput) Plan() pulumi.StringOutput { + return o.ApplyT(func(v GetFacilityCapacity) string { return v.Plan }).(pulumi.StringOutput) +} + +// Minimun number of devices that must be available in selected location. +// Default is `1`. +func (o GetFacilityCapacityOutput) Quantity() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetFacilityCapacity) *int { return v.Quantity }).(pulumi.IntPtrOutput) +} + +type GetFacilityCapacityArrayOutput struct{ *pulumi.OutputState } + +func (GetFacilityCapacityArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetFacilityCapacity)(nil)).Elem() +} + +func (o GetFacilityCapacityArrayOutput) ToGetFacilityCapacityArrayOutput() GetFacilityCapacityArrayOutput { + return o +} + +func (o GetFacilityCapacityArrayOutput) ToGetFacilityCapacityArrayOutputWithContext(ctx context.Context) GetFacilityCapacityArrayOutput { + return o +} + +func (o GetFacilityCapacityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetFacilityCapacity] { + return pulumix.Output[[]GetFacilityCapacity]{ + OutputState: o.OutputState, + } +} + +func (o GetFacilityCapacityArrayOutput) Index(i pulumi.IntInput) GetFacilityCapacityOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFacilityCapacity { + return vs[0].([]GetFacilityCapacity)[vs[1].(int)] + }).(GetFacilityCapacityOutput) +} + +type GetInterconnectionPort struct { + // Port UUID. + Id string `pulumi:"id"` + // Port link status. + LinkStatus string `pulumi:"linkStatus"` + // Port name. + Name string `pulumi:"name"` + // Port role - primary or secondary. + Role string `pulumi:"role"` + // Port speed in bits per second. + Speed int `pulumi:"speed"` + // Port status. + Status string `pulumi:"status"` + // List of IDs of virtual cicruits attached to this port. + VirtualCircuitIds []interface{} `pulumi:"virtualCircuitIds"` +} + +// GetInterconnectionPortInput is an input type that accepts GetInterconnectionPortArgs and GetInterconnectionPortOutput values. +// You can construct a concrete instance of `GetInterconnectionPortInput` via: +// +// GetInterconnectionPortArgs{...} +type GetInterconnectionPortInput interface { + pulumi.Input + + ToGetInterconnectionPortOutput() GetInterconnectionPortOutput + ToGetInterconnectionPortOutputWithContext(context.Context) GetInterconnectionPortOutput +} + +type GetInterconnectionPortArgs struct { + // Port UUID. + Id pulumi.StringInput `pulumi:"id"` + // Port link status. + LinkStatus pulumi.StringInput `pulumi:"linkStatus"` + // Port name. + Name pulumi.StringInput `pulumi:"name"` + // Port role - primary or secondary. + Role pulumi.StringInput `pulumi:"role"` + // Port speed in bits per second. + Speed pulumi.IntInput `pulumi:"speed"` + // Port status. + Status pulumi.StringInput `pulumi:"status"` + // List of IDs of virtual cicruits attached to this port. + VirtualCircuitIds pulumi.ArrayInput `pulumi:"virtualCircuitIds"` +} + +func (GetInterconnectionPortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInterconnectionPort)(nil)).Elem() +} + +func (i GetInterconnectionPortArgs) ToGetInterconnectionPortOutput() GetInterconnectionPortOutput { + return i.ToGetInterconnectionPortOutputWithContext(context.Background()) +} + +func (i GetInterconnectionPortArgs) ToGetInterconnectionPortOutputWithContext(ctx context.Context) GetInterconnectionPortOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInterconnectionPortOutput) +} + +func (i GetInterconnectionPortArgs) ToOutput(ctx context.Context) pulumix.Output[GetInterconnectionPort] { + return pulumix.Output[GetInterconnectionPort]{ + OutputState: i.ToGetInterconnectionPortOutputWithContext(ctx).OutputState, + } +} + +// GetInterconnectionPortArrayInput is an input type that accepts GetInterconnectionPortArray and GetInterconnectionPortArrayOutput values. +// You can construct a concrete instance of `GetInterconnectionPortArrayInput` via: +// +// GetInterconnectionPortArray{ GetInterconnectionPortArgs{...} } +type GetInterconnectionPortArrayInput interface { + pulumi.Input + + ToGetInterconnectionPortArrayOutput() GetInterconnectionPortArrayOutput ToGetInterconnectionPortArrayOutputWithContext(context.Context) GetInterconnectionPortArrayOutput } @@ -2612,6 +3864,12 @@ func (i GetInterconnectionPortArray) ToGetInterconnectionPortArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GetInterconnectionPortArrayOutput) } +func (i GetInterconnectionPortArray) ToOutput(ctx context.Context) pulumix.Output[[]GetInterconnectionPort] { + return pulumix.Output[[]GetInterconnectionPort]{ + OutputState: i.ToGetInterconnectionPortArrayOutputWithContext(ctx).OutputState, + } +} + type GetInterconnectionPortOutput struct{ *pulumi.OutputState } func (GetInterconnectionPortOutput) ElementType() reflect.Type { @@ -2626,6 +3884,12 @@ func (o GetInterconnectionPortOutput) ToGetInterconnectionPortOutputWithContext( return o } +func (o GetInterconnectionPortOutput) ToOutput(ctx context.Context) pulumix.Output[GetInterconnectionPort] { + return pulumix.Output[GetInterconnectionPort]{ + OutputState: o.OutputState, + } +} + // Port UUID. func (o GetInterconnectionPortOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetInterconnectionPort) string { return v.Id }).(pulumi.StringOutput) @@ -2675,6 +3939,12 @@ func (o GetInterconnectionPortArrayOutput) ToGetInterconnectionPortArrayOutputWi return o } +func (o GetInterconnectionPortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetInterconnectionPort] { + return pulumix.Output[[]GetInterconnectionPort]{ + OutputState: o.OutputState, + } +} + func (o GetInterconnectionPortArrayOutput) Index(i pulumi.IntInput) GetInterconnectionPortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInterconnectionPort { return vs[0].([]GetInterconnectionPort)[vs[1].(int)] @@ -2732,6 +4002,12 @@ func (i GetInterconnectionServiceTokenArgs) ToGetInterconnectionServiceTokenOutp return pulumi.ToOutputWithContext(ctx, i).(GetInterconnectionServiceTokenOutput) } +func (i GetInterconnectionServiceTokenArgs) ToOutput(ctx context.Context) pulumix.Output[GetInterconnectionServiceToken] { + return pulumix.Output[GetInterconnectionServiceToken]{ + OutputState: i.ToGetInterconnectionServiceTokenOutputWithContext(ctx).OutputState, + } +} + // GetInterconnectionServiceTokenArrayInput is an input type that accepts GetInterconnectionServiceTokenArray and GetInterconnectionServiceTokenArrayOutput values. // You can construct a concrete instance of `GetInterconnectionServiceTokenArrayInput` via: // @@ -2757,6 +4033,12 @@ func (i GetInterconnectionServiceTokenArray) ToGetInterconnectionServiceTokenArr return pulumi.ToOutputWithContext(ctx, i).(GetInterconnectionServiceTokenArrayOutput) } +func (i GetInterconnectionServiceTokenArray) ToOutput(ctx context.Context) pulumix.Output[[]GetInterconnectionServiceToken] { + return pulumix.Output[[]GetInterconnectionServiceToken]{ + OutputState: i.ToGetInterconnectionServiceTokenArrayOutputWithContext(ctx).OutputState, + } +} + type GetInterconnectionServiceTokenOutput struct{ *pulumi.OutputState } func (GetInterconnectionServiceTokenOutput) ElementType() reflect.Type { @@ -2771,6 +4053,12 @@ func (o GetInterconnectionServiceTokenOutput) ToGetInterconnectionServiceTokenOu return o } +func (o GetInterconnectionServiceTokenOutput) ToOutput(ctx context.Context) pulumix.Output[GetInterconnectionServiceToken] { + return pulumix.Output[GetInterconnectionServiceToken]{ + OutputState: o.OutputState, + } +} + // Expiration date of the service token. func (o GetInterconnectionServiceTokenOutput) ExpiresAt() pulumi.StringOutput { return o.ApplyT(func(v GetInterconnectionServiceToken) string { return v.ExpiresAt }).(pulumi.StringOutput) @@ -2814,6 +4102,12 @@ func (o GetInterconnectionServiceTokenArrayOutput) ToGetInterconnectionServiceTo return o } +func (o GetInterconnectionServiceTokenArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetInterconnectionServiceToken] { + return pulumix.Output[[]GetInterconnectionServiceToken]{ + OutputState: o.OutputState, + } +} + func (o GetInterconnectionServiceTokenArrayOutput) Index(i pulumi.IntInput) GetInterconnectionServiceTokenOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInterconnectionServiceToken { return vs[0].([]GetInterconnectionServiceToken)[vs[1].(int)] @@ -2859,6 +4153,12 @@ func (i GetMetroCapacityArgs) ToGetMetroCapacityOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GetMetroCapacityOutput) } +func (i GetMetroCapacityArgs) ToOutput(ctx context.Context) pulumix.Output[GetMetroCapacity] { + return pulumix.Output[GetMetroCapacity]{ + OutputState: i.ToGetMetroCapacityOutputWithContext(ctx).OutputState, + } +} + // GetMetroCapacityArrayInput is an input type that accepts GetMetroCapacityArray and GetMetroCapacityArrayOutput values. // You can construct a concrete instance of `GetMetroCapacityArrayInput` via: // @@ -2884,6 +4184,12 @@ func (i GetMetroCapacityArray) ToGetMetroCapacityArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GetMetroCapacityArrayOutput) } +func (i GetMetroCapacityArray) ToOutput(ctx context.Context) pulumix.Output[[]GetMetroCapacity] { + return pulumix.Output[[]GetMetroCapacity]{ + OutputState: i.ToGetMetroCapacityArrayOutputWithContext(ctx).OutputState, + } +} + type GetMetroCapacityOutput struct{ *pulumi.OutputState } func (GetMetroCapacityOutput) ElementType() reflect.Type { @@ -2898,6 +4204,12 @@ func (o GetMetroCapacityOutput) ToGetMetroCapacityOutputWithContext(ctx context. return o } +func (o GetMetroCapacityOutput) ToOutput(ctx context.Context) pulumix.Output[GetMetroCapacity] { + return pulumix.Output[GetMetroCapacity]{ + OutputState: o.OutputState, + } +} + // Device plan that must be available in selected location. func (o GetMetroCapacityOutput) Plan() pulumi.StringOutput { return o.ApplyT(func(v GetMetroCapacity) string { return v.Plan }).(pulumi.StringOutput) @@ -2923,6 +4235,12 @@ func (o GetMetroCapacityArrayOutput) ToGetMetroCapacityArrayOutputWithContext(ct return o } +func (o GetMetroCapacityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetMetroCapacity] { + return pulumix.Output[[]GetMetroCapacity]{ + OutputState: o.OutputState, + } +} + func (o GetMetroCapacityArrayOutput) Index(i pulumi.IntInput) GetMetroCapacityOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMetroCapacity { return vs[0].([]GetMetroCapacity)[vs[1].(int)] @@ -2978,6 +4296,12 @@ func (i GetOrganizationAddressArgs) ToGetOrganizationAddressOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GetOrganizationAddressOutput) } +func (i GetOrganizationAddressArgs) ToOutput(ctx context.Context) pulumix.Output[GetOrganizationAddress] { + return pulumix.Output[GetOrganizationAddress]{ + OutputState: i.ToGetOrganizationAddressOutputWithContext(ctx).OutputState, + } +} + type GetOrganizationAddressOutput struct{ *pulumi.OutputState } func (GetOrganizationAddressOutput) ElementType() reflect.Type { @@ -2992,6 +4316,12 @@ func (o GetOrganizationAddressOutput) ToGetOrganizationAddressOutputWithContext( return o } +func (o GetOrganizationAddressOutput) ToOutput(ctx context.Context) pulumix.Output[GetOrganizationAddress] { + return pulumix.Output[GetOrganizationAddress]{ + OutputState: o.OutputState, + } +} + // Postal address. func (o GetOrganizationAddressOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v GetOrganizationAddress) string { return v.Address }).(pulumi.StringOutput) @@ -3019,6 +4349,8 @@ func (o GetOrganizationAddressOutput) ZipCode() pulumi.StringOutput { type GetPlansFilter struct { // If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + // + // All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. All *bool `pulumi:"all"` // The attribute used to filter. Filter attributes are case-sensitive Attribute string `pulumi:"attribute"` @@ -3041,6 +4373,8 @@ type GetPlansFilterInput interface { type GetPlansFilterArgs struct { // If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + // + // All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. All pulumi.BoolPtrInput `pulumi:"all"` // The attribute used to filter. Filter attributes are case-sensitive Attribute pulumi.StringInput `pulumi:"attribute"` @@ -3062,6 +4396,12 @@ func (i GetPlansFilterArgs) ToGetPlansFilterOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GetPlansFilterOutput) } +func (i GetPlansFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetPlansFilter] { + return pulumix.Output[GetPlansFilter]{ + OutputState: i.ToGetPlansFilterOutputWithContext(ctx).OutputState, + } +} + // GetPlansFilterArrayInput is an input type that accepts GetPlansFilterArray and GetPlansFilterArrayOutput values. // You can construct a concrete instance of `GetPlansFilterArrayInput` via: // @@ -3087,6 +4427,12 @@ func (i GetPlansFilterArray) ToGetPlansFilterArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GetPlansFilterArrayOutput) } +func (i GetPlansFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPlansFilter] { + return pulumix.Output[[]GetPlansFilter]{ + OutputState: i.ToGetPlansFilterArrayOutputWithContext(ctx).OutputState, + } +} + type GetPlansFilterOutput struct{ *pulumi.OutputState } func (GetPlansFilterOutput) ElementType() reflect.Type { @@ -3101,7 +4447,15 @@ func (o GetPlansFilterOutput) ToGetPlansFilterOutputWithContext(ctx context.Cont return o } +func (o GetPlansFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetPlansFilter] { + return pulumix.Output[GetPlansFilter]{ + OutputState: o.OutputState, + } +} + // If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. +// +// All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. func (o GetPlansFilterOutput) All() pulumi.BoolPtrOutput { return o.ApplyT(func(v GetPlansFilter) *bool { return v.All }).(pulumi.BoolPtrOutput) } @@ -3135,6 +4489,12 @@ func (o GetPlansFilterArrayOutput) ToGetPlansFilterArrayOutputWithContext(ctx co return o } +func (o GetPlansFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPlansFilter] { + return pulumix.Output[[]GetPlansFilter]{ + OutputState: o.OutputState, + } +} + func (o GetPlansFilterArrayOutput) Index(i pulumi.IntInput) GetPlansFilterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPlansFilter { return vs[0].([]GetPlansFilter)[vs[1].(int)] @@ -3222,6 +4582,12 @@ func (i GetPlansPlanArgs) ToGetPlansPlanOutputWithContext(ctx context.Context) G return pulumi.ToOutputWithContext(ctx, i).(GetPlansPlanOutput) } +func (i GetPlansPlanArgs) ToOutput(ctx context.Context) pulumix.Output[GetPlansPlan] { + return pulumix.Output[GetPlansPlan]{ + OutputState: i.ToGetPlansPlanOutputWithContext(ctx).OutputState, + } +} + // GetPlansPlanArrayInput is an input type that accepts GetPlansPlanArray and GetPlansPlanArrayOutput values. // You can construct a concrete instance of `GetPlansPlanArrayInput` via: // @@ -3247,6 +4613,12 @@ func (i GetPlansPlanArray) ToGetPlansPlanArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GetPlansPlanArrayOutput) } +func (i GetPlansPlanArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPlansPlan] { + return pulumix.Output[[]GetPlansPlan]{ + OutputState: i.ToGetPlansPlanArrayOutputWithContext(ctx).OutputState, + } +} + type GetPlansPlanOutput struct{ *pulumi.OutputState } func (GetPlansPlanOutput) ElementType() reflect.Type { @@ -3261,6 +4633,12 @@ func (o GetPlansPlanOutput) ToGetPlansPlanOutputWithContext(ctx context.Context) return o } +func (o GetPlansPlanOutput) ToOutput(ctx context.Context) pulumix.Output[GetPlansPlan] { + return pulumix.Output[GetPlansPlan]{ + OutputState: o.OutputState, + } +} + // list of metros where the plan is available func (o GetPlansPlanOutput) AvailableInMetros() pulumi.StringArrayOutput { return o.ApplyT(func(v GetPlansPlan) []string { return v.AvailableInMetros }).(pulumi.StringArrayOutput) @@ -3337,6 +4715,12 @@ func (o GetPlansPlanArrayOutput) ToGetPlansPlanArrayOutputWithContext(ctx contex return o } +func (o GetPlansPlanArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPlansPlan] { + return pulumix.Output[[]GetPlansPlan]{ + OutputState: o.OutputState, + } +} + func (o GetPlansPlanArrayOutput) Index(i pulumi.IntInput) GetPlansPlanOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPlansPlan { return vs[0].([]GetPlansPlan)[vs[1].(int)] @@ -3380,6 +4764,12 @@ func (i GetPlansSortArgs) ToGetPlansSortOutputWithContext(ctx context.Context) G return pulumi.ToOutputWithContext(ctx, i).(GetPlansSortOutput) } +func (i GetPlansSortArgs) ToOutput(ctx context.Context) pulumix.Output[GetPlansSort] { + return pulumix.Output[GetPlansSort]{ + OutputState: i.ToGetPlansSortOutputWithContext(ctx).OutputState, + } +} + // GetPlansSortArrayInput is an input type that accepts GetPlansSortArray and GetPlansSortArrayOutput values. // You can construct a concrete instance of `GetPlansSortArrayInput` via: // @@ -3405,6 +4795,12 @@ func (i GetPlansSortArray) ToGetPlansSortArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GetPlansSortArrayOutput) } +func (i GetPlansSortArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPlansSort] { + return pulumix.Output[[]GetPlansSort]{ + OutputState: i.ToGetPlansSortArrayOutputWithContext(ctx).OutputState, + } +} + type GetPlansSortOutput struct{ *pulumi.OutputState } func (GetPlansSortOutput) ElementType() reflect.Type { @@ -3419,6 +4815,12 @@ func (o GetPlansSortOutput) ToGetPlansSortOutputWithContext(ctx context.Context) return o } +func (o GetPlansSortOutput) ToOutput(ctx context.Context) pulumix.Output[GetPlansSort] { + return pulumix.Output[GetPlansSort]{ + OutputState: o.OutputState, + } +} + // The attribute used to filter. Filter attributes are case-sensitive func (o GetPlansSortOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v GetPlansSort) string { return v.Attribute }).(pulumi.StringOutput) @@ -3443,6 +4845,12 @@ func (o GetPlansSortArrayOutput) ToGetPlansSortArrayOutputWithContext(ctx contex return o } +func (o GetPlansSortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPlansSort] { + return pulumix.Output[[]GetPlansSort]{ + OutputState: o.OutputState, + } +} + func (o GetPlansSortArrayOutput) Index(i pulumi.IntInput) GetPlansSortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPlansSort { return vs[0].([]GetPlansSort)[vs[1].(int)] @@ -3498,6 +4906,12 @@ func (i GetProjectBgpConfigArgs) ToGetProjectBgpConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GetProjectBgpConfigOutput) } +func (i GetProjectBgpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GetProjectBgpConfig] { + return pulumix.Output[GetProjectBgpConfig]{ + OutputState: i.ToGetProjectBgpConfigOutputWithContext(ctx).OutputState, + } +} + type GetProjectBgpConfigOutput struct{ *pulumi.OutputState } func (GetProjectBgpConfigOutput) ElementType() reflect.Type { @@ -3512,6 +4926,12 @@ func (o GetProjectBgpConfigOutput) ToGetProjectBgpConfigOutputWithContext(ctx co return o } +func (o GetProjectBgpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GetProjectBgpConfig] { + return pulumix.Output[GetProjectBgpConfig]{ + OutputState: o.OutputState, + } +} + // Autonomous System Number for local BGP deployment. func (o GetProjectBgpConfigOutput) Asn() pulumi.IntOutput { return o.ApplyT(func(v GetProjectBgpConfig) int { return v.Asn }).(pulumi.IntOutput) @@ -3568,6 +4988,16 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetDeviceNetworkArrayInput)(nil)).Elem(), GetDeviceNetworkArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDevicePortInput)(nil)).Elem(), GetDevicePortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDevicePortArrayInput)(nil)).Elem(), GetDevicePortArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDevicesDeviceInput)(nil)).Elem(), GetDevicesDeviceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDevicesDeviceArrayInput)(nil)).Elem(), GetDevicesDeviceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDevicesDeviceNetworkInput)(nil)).Elem(), GetDevicesDeviceNetworkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDevicesDeviceNetworkArrayInput)(nil)).Elem(), GetDevicesDeviceNetworkArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDevicesDevicePortInput)(nil)).Elem(), GetDevicesDevicePortArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDevicesDevicePortArrayInput)(nil)).Elem(), GetDevicesDevicePortArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDevicesFilterInput)(nil)).Elem(), GetDevicesFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDevicesFilterArrayInput)(nil)).Elem(), GetDevicesFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDevicesSortInput)(nil)).Elem(), GetDevicesSortArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDevicesSortArrayInput)(nil)).Elem(), GetDevicesSortArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetFacilityCapacityInput)(nil)).Elem(), GetFacilityCapacityArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetFacilityCapacityArrayInput)(nil)).Elem(), GetFacilityCapacityArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetInterconnectionPortInput)(nil)).Elem(), GetInterconnectionPortArgs{}) @@ -3614,6 +5044,16 @@ func init() { pulumi.RegisterOutputType(GetDeviceNetworkArrayOutput{}) pulumi.RegisterOutputType(GetDevicePortOutput{}) pulumi.RegisterOutputType(GetDevicePortArrayOutput{}) + pulumi.RegisterOutputType(GetDevicesDeviceOutput{}) + pulumi.RegisterOutputType(GetDevicesDeviceArrayOutput{}) + pulumi.RegisterOutputType(GetDevicesDeviceNetworkOutput{}) + pulumi.RegisterOutputType(GetDevicesDeviceNetworkArrayOutput{}) + pulumi.RegisterOutputType(GetDevicesDevicePortOutput{}) + pulumi.RegisterOutputType(GetDevicesDevicePortArrayOutput{}) + pulumi.RegisterOutputType(GetDevicesFilterOutput{}) + pulumi.RegisterOutputType(GetDevicesFilterArrayOutput{}) + pulumi.RegisterOutputType(GetDevicesSortOutput{}) + pulumi.RegisterOutputType(GetDevicesSortArrayOutput{}) pulumi.RegisterOutputType(GetFacilityCapacityOutput{}) pulumi.RegisterOutputType(GetFacilityCapacityArrayOutput{}) pulumi.RegisterOutputType(GetInterconnectionPortOutput{}) diff --git a/sdk/go/equinix/metal/pulumiUtilities.go b/sdk/go/equinix/metal/pulumiUtilities.go deleted file mode 100644 index 289fbfa3..00000000 --- a/sdk/go/equinix/metal/pulumiUtilities.go +++ /dev/null @@ -1,101 +0,0 @@ -// 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 metal - -import ( - "fmt" - "os" - "reflect" - "regexp" - "strconv" - "strings" - - "github.com/blang/semver" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type envParser func(v string) interface{} - -func parseEnvBool(v string) interface{} { - b, err := strconv.ParseBool(v) - if err != nil { - return nil - } - return b -} - -func parseEnvInt(v string) interface{} { - i, err := strconv.ParseInt(v, 0, 0) - if err != nil { - return nil - } - return int(i) -} - -func parseEnvFloat(v string) interface{} { - f, err := strconv.ParseFloat(v, 64) - if err != nil { - return nil - } - return f -} - -func parseEnvStringArray(v string) interface{} { - var result pulumi.StringArray - for _, item := range strings.Split(v, ";") { - result = append(result, pulumi.String(item)) - } - return result -} - -func getEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { - for _, v := range vars { - if value := os.Getenv(v); value != "" { - if parser != nil { - return parser(value) - } - return value - } - } - return def -} - -// PkgVersion uses reflection to determine the version of the current package. -// If a version cannot be determined, v1 will be assumed. The second return -// value is always nil. -func PkgVersion() (semver.Version, error) { - type sentinal struct{} - pkgPath := reflect.TypeOf(sentinal{}).PkgPath() - re := regexp.MustCompile("^.*/pulumi-equinix/sdk(/v\\d+)?") - if match := re.FindStringSubmatch(pkgPath); match != nil { - vStr := match[1] - if len(vStr) == 0 { // If the version capture group was empty, default to v1. - return semver.Version{Major: 1}, nil - } - return semver.MustParse(fmt.Sprintf("%s.0.0", vStr[2:])), nil - } - return semver.Version{Major: 1}, nil -} - -// isZero is a null safe check for if a value is it's types zero value. -func isZero(v interface{}) bool { - if v == nil { - return true - } - return reflect.ValueOf(v).IsZero() -} - -// pkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource. -func pkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { - defaults := []pulumi.ResourceOption{pulumi.PluginDownloadURL("github://api.github.com/equinix")} - - return append(defaults, opts...) -} - -// pkgInvokeDefaultOpts provides package level defaults to pulumi.OptionInvoke. -func pkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { - defaults := []pulumi.InvokeOption{pulumi.PluginDownloadURL("github://api.github.com/equinix")} - - return append(defaults, opts...) -} diff --git a/sdk/go/equinix/metal/reservedIpBlock.go b/sdk/go/equinix/metal/reservedIpBlock.go index 6b079f45..267c33d4 100644 --- a/sdk/go/equinix/metal/reservedIpBlock.go +++ b/sdk/go/equinix/metal/reservedIpBlock.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to create and manage blocks of reserved IP addresses in a project. @@ -89,8 +91,8 @@ type ReservedIpBlock struct { CustomData pulumi.StringPtrOutput `pulumi:"customData"` // Arbitrary description. Description pulumi.StringPtrOutput `pulumi:"description"` - // Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - // type==global_ipv4, conflicts with metro + // Facility where to allocate the public IP address block, makes sense only + // if type is `publicIpv4` and must be empty if type is `globalIpv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide Facility pulumi.StringPtrOutput `pulumi:"facility"` Gateway pulumi.StringOutput `pulumi:"gateway"` // Boolean flag whether addresses from a block are global (i.e. can be assigned in any @@ -132,7 +134,7 @@ func NewReservedIpBlock(ctx *pulumi.Context, if args.ProjectId == nil { return nil, errors.New("invalid value for required argument 'ProjectId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource ReservedIpBlock err := ctx.RegisterResource("equinix:metal/reservedIpBlock:ReservedIpBlock", name, args, &resource, opts...) if err != nil { @@ -167,8 +169,8 @@ type reservedIpBlockState struct { CustomData *string `pulumi:"customData"` // Arbitrary description. Description *string `pulumi:"description"` - // Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - // type==global_ipv4, conflicts with metro + // Facility where to allocate the public IP address block, makes sense only + // if type is `publicIpv4` and must be empty if type is `globalIpv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide Facility *string `pulumi:"facility"` Gateway *string `pulumi:"gateway"` // Boolean flag whether addresses from a block are global (i.e. can be assigned in any @@ -213,8 +215,8 @@ type ReservedIpBlockState struct { CustomData pulumi.StringPtrInput // Arbitrary description. Description pulumi.StringPtrInput - // Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - // type==global_ipv4, conflicts with metro + // Facility where to allocate the public IP address block, makes sense only + // if type is `publicIpv4` and must be empty if type is `globalIpv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide Facility pulumi.StringPtrInput Gateway pulumi.StringPtrInput // Boolean flag whether addresses from a block are global (i.e. can be assigned in any @@ -258,8 +260,8 @@ type reservedIpBlockArgs struct { CustomData *string `pulumi:"customData"` // Arbitrary description. Description *string `pulumi:"description"` - // Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - // type==global_ipv4, conflicts with metro + // Facility where to allocate the public IP address block, makes sense only + // if type is `publicIpv4` and must be empty if type is `globalIpv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide Facility *string `pulumi:"facility"` // Metro where to allocate the public IP address block, makes sense only // if type is `publicIpv4` and must be empty if type is `globalIpv4`. Conflicts with `facility`. @@ -290,8 +292,8 @@ type ReservedIpBlockArgs struct { CustomData pulumi.StringPtrInput // Arbitrary description. Description pulumi.StringPtrInput - // Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - // type==global_ipv4, conflicts with metro + // Facility where to allocate the public IP address block, makes sense only + // if type is `publicIpv4` and must be empty if type is `globalIpv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide Facility pulumi.StringPtrInput // Metro where to allocate the public IP address block, makes sense only // if type is `publicIpv4` and must be empty if type is `globalIpv4`. Conflicts with `facility`. @@ -336,6 +338,12 @@ func (i *ReservedIpBlock) ToReservedIpBlockOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ReservedIpBlockOutput) } +func (i *ReservedIpBlock) ToOutput(ctx context.Context) pulumix.Output[*ReservedIpBlock] { + return pulumix.Output[*ReservedIpBlock]{ + OutputState: i.ToReservedIpBlockOutputWithContext(ctx).OutputState, + } +} + // ReservedIpBlockArrayInput is an input type that accepts ReservedIpBlockArray and ReservedIpBlockArrayOutput values. // You can construct a concrete instance of `ReservedIpBlockArrayInput` via: // @@ -361,6 +369,12 @@ func (i ReservedIpBlockArray) ToReservedIpBlockArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ReservedIpBlockArrayOutput) } +func (i ReservedIpBlockArray) ToOutput(ctx context.Context) pulumix.Output[[]*ReservedIpBlock] { + return pulumix.Output[[]*ReservedIpBlock]{ + OutputState: i.ToReservedIpBlockArrayOutputWithContext(ctx).OutputState, + } +} + // ReservedIpBlockMapInput is an input type that accepts ReservedIpBlockMap and ReservedIpBlockMapOutput values. // You can construct a concrete instance of `ReservedIpBlockMapInput` via: // @@ -386,6 +400,12 @@ func (i ReservedIpBlockMap) ToReservedIpBlockMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ReservedIpBlockMapOutput) } +func (i ReservedIpBlockMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ReservedIpBlock] { + return pulumix.Output[map[string]*ReservedIpBlock]{ + OutputState: i.ToReservedIpBlockMapOutputWithContext(ctx).OutputState, + } +} + type ReservedIpBlockOutput struct{ *pulumi.OutputState } func (ReservedIpBlockOutput) ElementType() reflect.Type { @@ -400,6 +420,12 @@ func (o ReservedIpBlockOutput) ToReservedIpBlockOutputWithContext(ctx context.Co return o } +func (o ReservedIpBlockOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservedIpBlock] { + return pulumix.Output[*ReservedIpBlock]{ + OutputState: o.OutputState, + } +} + func (o ReservedIpBlockOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v *ReservedIpBlock) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) } @@ -430,8 +456,8 @@ func (o ReservedIpBlockOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *ReservedIpBlock) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } -// Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for -// type==global_ipv4, conflicts with metro +// Facility where to allocate the public IP address block, makes sense only +// if type is `publicIpv4` and must be empty if type is `globalIpv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide func (o ReservedIpBlockOutput) Facility() pulumi.StringPtrOutput { return o.ApplyT(func(v *ReservedIpBlock) pulumi.StringPtrOutput { return v.Facility }).(pulumi.StringPtrOutput) } @@ -520,6 +546,12 @@ func (o ReservedIpBlockArrayOutput) ToReservedIpBlockArrayOutputWithContext(ctx return o } +func (o ReservedIpBlockArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ReservedIpBlock] { + return pulumix.Output[[]*ReservedIpBlock]{ + OutputState: o.OutputState, + } +} + func (o ReservedIpBlockArrayOutput) Index(i pulumi.IntInput) ReservedIpBlockOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ReservedIpBlock { return vs[0].([]*ReservedIpBlock)[vs[1].(int)] @@ -540,6 +572,12 @@ func (o ReservedIpBlockMapOutput) ToReservedIpBlockMapOutputWithContext(ctx cont return o } +func (o ReservedIpBlockMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ReservedIpBlock] { + return pulumix.Output[map[string]*ReservedIpBlock]{ + OutputState: o.OutputState, + } +} + func (o ReservedIpBlockMapOutput) MapIndex(k pulumi.StringInput) ReservedIpBlockOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ReservedIpBlock { return vs[0].(map[string]*ReservedIpBlock)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/spotMarketRequest.go b/sdk/go/equinix/metal/spotMarketRequest.go index 9c75a4ec..6dfb5f10 100644 --- a/sdk/go/equinix/metal/spotMarketRequest.go +++ b/sdk/go/equinix/metal/spotMarketRequest.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides an Equinix Metal Spot Market Request resource to allow you to @@ -68,13 +70,13 @@ type SpotMarketRequest struct { DevicesMax pulumi.IntOutput `pulumi:"devicesMax"` // Miniumum number devices to be created. DevicesMin pulumi.IntOutput `pulumi:"devicesMin"` - // Facility IDs where devices should be created + // Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facilities pulumi.StringArrayOutput `pulumi:"facilities"` // Key/Value pairs of parameters for devices provisioned from // this request. Valid keys are: `billingCycle`, `plan`, `operatingSystem`, `hostname`, - // `termintationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, + // `terminationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, // `userSshKeys`, `userdata`, `customdata`, `ipxeScriptUrl`, `tags`. You can find each parameter // description in metal.Device docs. InstanceParameters SpotMarketRequestInstanceParametersOutput `pulumi:"instanceParameters"` @@ -111,7 +113,7 @@ func NewSpotMarketRequest(ctx *pulumi.Context, if args.ProjectId == nil { return nil, errors.New("invalid value for required argument 'ProjectId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource SpotMarketRequest err := ctx.RegisterResource("equinix:metal/spotMarketRequest:SpotMarketRequest", name, args, &resource, opts...) if err != nil { @@ -138,13 +140,13 @@ type spotMarketRequestState struct { DevicesMax *int `pulumi:"devicesMax"` // Miniumum number devices to be created. DevicesMin *int `pulumi:"devicesMin"` - // Facility IDs where devices should be created + // Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facilities []string `pulumi:"facilities"` // Key/Value pairs of parameters for devices provisioned from // this request. Valid keys are: `billingCycle`, `plan`, `operatingSystem`, `hostname`, - // `termintationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, + // `terminationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, // `userSshKeys`, `userdata`, `customdata`, `ipxeScriptUrl`, `tags`. You can find each parameter // description in metal.Device docs. InstanceParameters *SpotMarketRequestInstanceParameters `pulumi:"instanceParameters"` @@ -164,13 +166,13 @@ type SpotMarketRequestState struct { DevicesMax pulumi.IntPtrInput // Miniumum number devices to be created. DevicesMin pulumi.IntPtrInput - // Facility IDs where devices should be created + // Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facilities pulumi.StringArrayInput // Key/Value pairs of parameters for devices provisioned from // this request. Valid keys are: `billingCycle`, `plan`, `operatingSystem`, `hostname`, - // `termintationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, + // `terminationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, // `userSshKeys`, `userdata`, `customdata`, `ipxeScriptUrl`, `tags`. You can find each parameter // description in metal.Device docs. InstanceParameters SpotMarketRequestInstanceParametersPtrInput @@ -194,13 +196,13 @@ type spotMarketRequestArgs struct { DevicesMax int `pulumi:"devicesMax"` // Miniumum number devices to be created. DevicesMin int `pulumi:"devicesMin"` - // Facility IDs where devices should be created + // Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facilities []string `pulumi:"facilities"` // Key/Value pairs of parameters for devices provisioned from // this request. Valid keys are: `billingCycle`, `plan`, `operatingSystem`, `hostname`, - // `termintationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, + // `terminationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, // `userSshKeys`, `userdata`, `customdata`, `ipxeScriptUrl`, `tags`. You can find each parameter // description in metal.Device docs. InstanceParameters SpotMarketRequestInstanceParameters `pulumi:"instanceParameters"` @@ -221,13 +223,13 @@ type SpotMarketRequestArgs struct { DevicesMax pulumi.IntInput // Miniumum number devices to be created. DevicesMin pulumi.IntInput - // Facility IDs where devices should be created + // Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facilities pulumi.StringArrayInput // Key/Value pairs of parameters for devices provisioned from // this request. Valid keys are: `billingCycle`, `plan`, `operatingSystem`, `hostname`, - // `termintationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, + // `terminationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, // `userSshKeys`, `userdata`, `customdata`, `ipxeScriptUrl`, `tags`. You can find each parameter // description in metal.Device docs. InstanceParameters SpotMarketRequestInstanceParametersInput @@ -265,6 +267,12 @@ func (i *SpotMarketRequest) ToSpotMarketRequestOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SpotMarketRequestOutput) } +func (i *SpotMarketRequest) ToOutput(ctx context.Context) pulumix.Output[*SpotMarketRequest] { + return pulumix.Output[*SpotMarketRequest]{ + OutputState: i.ToSpotMarketRequestOutputWithContext(ctx).OutputState, + } +} + // SpotMarketRequestArrayInput is an input type that accepts SpotMarketRequestArray and SpotMarketRequestArrayOutput values. // You can construct a concrete instance of `SpotMarketRequestArrayInput` via: // @@ -290,6 +298,12 @@ func (i SpotMarketRequestArray) ToSpotMarketRequestArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SpotMarketRequestArrayOutput) } +func (i SpotMarketRequestArray) ToOutput(ctx context.Context) pulumix.Output[[]*SpotMarketRequest] { + return pulumix.Output[[]*SpotMarketRequest]{ + OutputState: i.ToSpotMarketRequestArrayOutputWithContext(ctx).OutputState, + } +} + // SpotMarketRequestMapInput is an input type that accepts SpotMarketRequestMap and SpotMarketRequestMapOutput values. // You can construct a concrete instance of `SpotMarketRequestMapInput` via: // @@ -315,6 +329,12 @@ func (i SpotMarketRequestMap) ToSpotMarketRequestMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SpotMarketRequestMapOutput) } +func (i SpotMarketRequestMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SpotMarketRequest] { + return pulumix.Output[map[string]*SpotMarketRequest]{ + OutputState: i.ToSpotMarketRequestMapOutputWithContext(ctx).OutputState, + } +} + type SpotMarketRequestOutput struct{ *pulumi.OutputState } func (SpotMarketRequestOutput) ElementType() reflect.Type { @@ -329,6 +349,12 @@ func (o SpotMarketRequestOutput) ToSpotMarketRequestOutputWithContext(ctx contex return o } +func (o SpotMarketRequestOutput) ToOutput(ctx context.Context) pulumix.Output[*SpotMarketRequest] { + return pulumix.Output[*SpotMarketRequest]{ + OutputState: o.OutputState, + } +} + // Maximum number devices to be created. func (o SpotMarketRequestOutput) DevicesMax() pulumi.IntOutput { return o.ApplyT(func(v *SpotMarketRequest) pulumi.IntOutput { return v.DevicesMax }).(pulumi.IntOutput) @@ -339,7 +365,7 @@ func (o SpotMarketRequestOutput) DevicesMin() pulumi.IntOutput { return o.ApplyT(func(v *SpotMarketRequest) pulumi.IntOutput { return v.DevicesMin }).(pulumi.IntOutput) } -// Facility IDs where devices should be created +// Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices func (o SpotMarketRequestOutput) Facilities() pulumi.StringArrayOutput { @@ -348,7 +374,7 @@ func (o SpotMarketRequestOutput) Facilities() pulumi.StringArrayOutput { // Key/Value pairs of parameters for devices provisioned from // this request. Valid keys are: `billingCycle`, `plan`, `operatingSystem`, `hostname`, -// `termintationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, +// `terminationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, // `userSshKeys`, `userdata`, `customdata`, `ipxeScriptUrl`, `tags`. You can find each parameter // description in metal.Device docs. func (o SpotMarketRequestOutput) InstanceParameters() SpotMarketRequestInstanceParametersOutput { @@ -390,6 +416,12 @@ func (o SpotMarketRequestArrayOutput) ToSpotMarketRequestArrayOutputWithContext( return o } +func (o SpotMarketRequestArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SpotMarketRequest] { + return pulumix.Output[[]*SpotMarketRequest]{ + OutputState: o.OutputState, + } +} + func (o SpotMarketRequestArrayOutput) Index(i pulumi.IntInput) SpotMarketRequestOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SpotMarketRequest { return vs[0].([]*SpotMarketRequest)[vs[1].(int)] @@ -410,6 +442,12 @@ func (o SpotMarketRequestMapOutput) ToSpotMarketRequestMapOutputWithContext(ctx return o } +func (o SpotMarketRequestMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SpotMarketRequest] { + return pulumix.Output[map[string]*SpotMarketRequest]{ + OutputState: o.OutputState, + } +} + func (o SpotMarketRequestMapOutput) MapIndex(k pulumi.StringInput) SpotMarketRequestOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SpotMarketRequest { return vs[0].(map[string]*SpotMarketRequest)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/sshKey.go b/sdk/go/equinix/metal/sshKey.go index 1a199c04..bb2c253a 100644 --- a/sdk/go/equinix/metal/sshKey.go +++ b/sdk/go/equinix/metal/sshKey.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to manage User SSH keys on your Equinix Metal user account. If you create a new device in a project, all the keys of the project's collaborators will be injected to the device. @@ -83,7 +85,7 @@ func NewSshKey(ctx *pulumi.Context, if args.PublicKey == nil { return nil, errors.New("invalid value for required argument 'PublicKey'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource SshKey err := ctx.RegisterResource("equinix:metal/sshKey:SshKey", name, args, &resource, opts...) if err != nil { @@ -181,6 +183,12 @@ func (i *SshKey) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput { return pulumi.ToOutputWithContext(ctx, i).(SshKeyOutput) } +func (i *SshKey) ToOutput(ctx context.Context) pulumix.Output[*SshKey] { + return pulumix.Output[*SshKey]{ + OutputState: i.ToSshKeyOutputWithContext(ctx).OutputState, + } +} + // SshKeyArrayInput is an input type that accepts SshKeyArray and SshKeyArrayOutput values. // You can construct a concrete instance of `SshKeyArrayInput` via: // @@ -206,6 +214,12 @@ func (i SshKeyArray) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyA return pulumi.ToOutputWithContext(ctx, i).(SshKeyArrayOutput) } +func (i SshKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]*SshKey] { + return pulumix.Output[[]*SshKey]{ + OutputState: i.ToSshKeyArrayOutputWithContext(ctx).OutputState, + } +} + // SshKeyMapInput is an input type that accepts SshKeyMap and SshKeyMapOutput values. // You can construct a concrete instance of `SshKeyMapInput` via: // @@ -231,6 +245,12 @@ func (i SshKeyMap) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOu return pulumi.ToOutputWithContext(ctx, i).(SshKeyMapOutput) } +func (i SshKeyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SshKey] { + return pulumix.Output[map[string]*SshKey]{ + OutputState: i.ToSshKeyMapOutputWithContext(ctx).OutputState, + } +} + type SshKeyOutput struct{ *pulumi.OutputState } func (SshKeyOutput) ElementType() reflect.Type { @@ -245,6 +265,12 @@ func (o SshKeyOutput) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutpu return o } +func (o SshKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*SshKey] { + return pulumix.Output[*SshKey]{ + OutputState: o.OutputState, + } +} + // The timestamp for when the SSH key was created. func (o SshKeyOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v *SshKey) pulumi.StringOutput { return v.Created }).(pulumi.StringOutput) @@ -290,6 +316,12 @@ func (o SshKeyArrayOutput) ToSshKeyArrayOutputWithContext(ctx context.Context) S return o } +func (o SshKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SshKey] { + return pulumix.Output[[]*SshKey]{ + OutputState: o.OutputState, + } +} + func (o SshKeyArrayOutput) Index(i pulumi.IntInput) SshKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SshKey { return vs[0].([]*SshKey)[vs[1].(int)] @@ -310,6 +342,12 @@ func (o SshKeyMapOutput) ToSshKeyMapOutputWithContext(ctx context.Context) SshKe return o } +func (o SshKeyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SshKey] { + return pulumix.Output[map[string]*SshKey]{ + OutputState: o.OutputState, + } +} + func (o SshKeyMapOutput) MapIndex(k pulumi.StringInput) SshKeyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SshKey { return vs[0].(map[string]*SshKey)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/userApiKey.go b/sdk/go/equinix/metal/userApiKey.go index 270642ae..05f230f0 100644 --- a/sdk/go/equinix/metal/userApiKey.go +++ b/sdk/go/equinix/metal/userApiKey.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this resource to create Metal User API Key resources in Equinix Metal. Each API key contains a @@ -85,7 +87,7 @@ func NewUserApiKey(ctx *pulumi.Context, "token", }) opts = append(opts, secrets) - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource UserApiKey err := ctx.RegisterResource("equinix:metal/userApiKey:UserApiKey", name, args, &resource, opts...) if err != nil { @@ -175,6 +177,12 @@ func (i *UserApiKey) ToUserApiKeyOutputWithContext(ctx context.Context) UserApiK return pulumi.ToOutputWithContext(ctx, i).(UserApiKeyOutput) } +func (i *UserApiKey) ToOutput(ctx context.Context) pulumix.Output[*UserApiKey] { + return pulumix.Output[*UserApiKey]{ + OutputState: i.ToUserApiKeyOutputWithContext(ctx).OutputState, + } +} + // UserApiKeyArrayInput is an input type that accepts UserApiKeyArray and UserApiKeyArrayOutput values. // You can construct a concrete instance of `UserApiKeyArrayInput` via: // @@ -200,6 +208,12 @@ func (i UserApiKeyArray) ToUserApiKeyArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(UserApiKeyArrayOutput) } +func (i UserApiKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]*UserApiKey] { + return pulumix.Output[[]*UserApiKey]{ + OutputState: i.ToUserApiKeyArrayOutputWithContext(ctx).OutputState, + } +} + // UserApiKeyMapInput is an input type that accepts UserApiKeyMap and UserApiKeyMapOutput values. // You can construct a concrete instance of `UserApiKeyMapInput` via: // @@ -225,6 +239,12 @@ func (i UserApiKeyMap) ToUserApiKeyMapOutputWithContext(ctx context.Context) Use return pulumi.ToOutputWithContext(ctx, i).(UserApiKeyMapOutput) } +func (i UserApiKeyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*UserApiKey] { + return pulumix.Output[map[string]*UserApiKey]{ + OutputState: i.ToUserApiKeyMapOutputWithContext(ctx).OutputState, + } +} + type UserApiKeyOutput struct{ *pulumi.OutputState } func (UserApiKeyOutput) ElementType() reflect.Type { @@ -239,6 +259,12 @@ func (o UserApiKeyOutput) ToUserApiKeyOutputWithContext(ctx context.Context) Use return o } +func (o UserApiKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*UserApiKey] { + return pulumix.Output[*UserApiKey]{ + OutputState: o.OutputState, + } +} + // Description string for the User API Key resource. // * `read-only` - (Required) Flag indicating whether the API key shoud be read-only. func (o UserApiKeyOutput) Description() pulumi.StringOutput { @@ -274,6 +300,12 @@ func (o UserApiKeyArrayOutput) ToUserApiKeyArrayOutputWithContext(ctx context.Co return o } +func (o UserApiKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*UserApiKey] { + return pulumix.Output[[]*UserApiKey]{ + OutputState: o.OutputState, + } +} + func (o UserApiKeyArrayOutput) Index(i pulumi.IntInput) UserApiKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *UserApiKey { return vs[0].([]*UserApiKey)[vs[1].(int)] @@ -294,6 +326,12 @@ func (o UserApiKeyMapOutput) ToUserApiKeyMapOutputWithContext(ctx context.Contex return o } +func (o UserApiKeyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*UserApiKey] { + return pulumix.Output[map[string]*UserApiKey]{ + OutputState: o.OutputState, + } +} + func (o UserApiKeyMapOutput) MapIndex(k pulumi.StringInput) UserApiKeyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *UserApiKey { return vs[0].(map[string]*UserApiKey)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/virtualCircuit.go b/sdk/go/equinix/metal/virtualCircuit.go index 71b92537..3274a01e 100644 --- a/sdk/go/equinix/metal/virtualCircuit.go +++ b/sdk/go/equinix/metal/virtualCircuit.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this resource to associate VLAN with a Dedicated Port from @@ -126,7 +128,7 @@ func NewVirtualCircuit(ctx *pulumi.Context, "md5", }) opts = append(opts, secrets) - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource VirtualCircuit err := ctx.RegisterResource("equinix:metal/virtualCircuit:VirtualCircuit", name, args, &resource, opts...) if err != nil { @@ -336,6 +338,12 @@ func (i *VirtualCircuit) ToVirtualCircuitOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(VirtualCircuitOutput) } +func (i *VirtualCircuit) ToOutput(ctx context.Context) pulumix.Output[*VirtualCircuit] { + return pulumix.Output[*VirtualCircuit]{ + OutputState: i.ToVirtualCircuitOutputWithContext(ctx).OutputState, + } +} + // VirtualCircuitArrayInput is an input type that accepts VirtualCircuitArray and VirtualCircuitArrayOutput values. // You can construct a concrete instance of `VirtualCircuitArrayInput` via: // @@ -361,6 +369,12 @@ func (i VirtualCircuitArray) ToVirtualCircuitArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(VirtualCircuitArrayOutput) } +func (i VirtualCircuitArray) ToOutput(ctx context.Context) pulumix.Output[[]*VirtualCircuit] { + return pulumix.Output[[]*VirtualCircuit]{ + OutputState: i.ToVirtualCircuitArrayOutputWithContext(ctx).OutputState, + } +} + // VirtualCircuitMapInput is an input type that accepts VirtualCircuitMap and VirtualCircuitMapOutput values. // You can construct a concrete instance of `VirtualCircuitMapInput` via: // @@ -386,6 +400,12 @@ func (i VirtualCircuitMap) ToVirtualCircuitMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(VirtualCircuitMapOutput) } +func (i VirtualCircuitMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*VirtualCircuit] { + return pulumix.Output[map[string]*VirtualCircuit]{ + OutputState: i.ToVirtualCircuitMapOutputWithContext(ctx).OutputState, + } +} + type VirtualCircuitOutput struct{ *pulumi.OutputState } func (VirtualCircuitOutput) ElementType() reflect.Type { @@ -400,6 +420,12 @@ func (o VirtualCircuitOutput) ToVirtualCircuitOutputWithContext(ctx context.Cont return o } +func (o VirtualCircuitOutput) ToOutput(ctx context.Context) pulumix.Output[*VirtualCircuit] { + return pulumix.Output[*VirtualCircuit]{ + OutputState: o.OutputState, + } +} + // UUID of Connection where the VC is scoped to. func (o VirtualCircuitOutput) ConnectionId() pulumi.StringOutput { return o.ApplyT(func(v *VirtualCircuit) pulumi.StringOutput { return v.ConnectionId }).(pulumi.StringOutput) @@ -508,6 +534,12 @@ func (o VirtualCircuitArrayOutput) ToVirtualCircuitArrayOutputWithContext(ctx co return o } +func (o VirtualCircuitArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*VirtualCircuit] { + return pulumix.Output[[]*VirtualCircuit]{ + OutputState: o.OutputState, + } +} + func (o VirtualCircuitArrayOutput) Index(i pulumi.IntInput) VirtualCircuitOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *VirtualCircuit { return vs[0].([]*VirtualCircuit)[vs[1].(int)] @@ -528,6 +560,12 @@ func (o VirtualCircuitMapOutput) ToVirtualCircuitMapOutputWithContext(ctx contex return o } +func (o VirtualCircuitMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*VirtualCircuit] { + return pulumix.Output[map[string]*VirtualCircuit]{ + OutputState: o.OutputState, + } +} + func (o VirtualCircuitMapOutput) MapIndex(k pulumi.StringInput) VirtualCircuitOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *VirtualCircuit { return vs[0].(map[string]*VirtualCircuit)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/vlan.go b/sdk/go/equinix/metal/vlan.go index f441a5c3..5e4b61bb 100644 --- a/sdk/go/equinix/metal/vlan.go +++ b/sdk/go/equinix/metal/vlan.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to allow users to manage Virtual Networks in their projects. @@ -63,7 +65,7 @@ type Vlan struct { // Description string. Description pulumi.StringPtrOutput `pulumi:"description"` - // Facility where to create the VLAN + // Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility pulumi.StringPtrOutput `pulumi:"facility"` @@ -85,7 +87,7 @@ func NewVlan(ctx *pulumi.Context, if args.ProjectId == nil { return nil, errors.New("invalid value for required argument 'ProjectId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Vlan err := ctx.RegisterResource("equinix:metal/vlan:Vlan", name, args, &resource, opts...) if err != nil { @@ -110,7 +112,7 @@ func GetVlan(ctx *pulumi.Context, type vlanState struct { // Description string. Description *string `pulumi:"description"` - // Facility where to create the VLAN + // Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility *string `pulumi:"facility"` @@ -125,7 +127,7 @@ type vlanState struct { type VlanState struct { // Description string. Description pulumi.StringPtrInput - // Facility where to create the VLAN + // Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility pulumi.StringPtrInput @@ -144,7 +146,7 @@ func (VlanState) ElementType() reflect.Type { type vlanArgs struct { // Description string. Description *string `pulumi:"description"` - // Facility where to create the VLAN + // Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility *string `pulumi:"facility"` @@ -160,7 +162,7 @@ type vlanArgs struct { type VlanArgs struct { // Description string. Description pulumi.StringPtrInput - // Facility where to create the VLAN + // Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices Facility pulumi.StringPtrInput @@ -195,6 +197,12 @@ func (i *Vlan) ToVlanOutputWithContext(ctx context.Context) VlanOutput { return pulumi.ToOutputWithContext(ctx, i).(VlanOutput) } +func (i *Vlan) ToOutput(ctx context.Context) pulumix.Output[*Vlan] { + return pulumix.Output[*Vlan]{ + OutputState: i.ToVlanOutputWithContext(ctx).OutputState, + } +} + // VlanArrayInput is an input type that accepts VlanArray and VlanArrayOutput values. // You can construct a concrete instance of `VlanArrayInput` via: // @@ -220,6 +228,12 @@ func (i VlanArray) ToVlanArrayOutputWithContext(ctx context.Context) VlanArrayOu return pulumi.ToOutputWithContext(ctx, i).(VlanArrayOutput) } +func (i VlanArray) ToOutput(ctx context.Context) pulumix.Output[[]*Vlan] { + return pulumix.Output[[]*Vlan]{ + OutputState: i.ToVlanArrayOutputWithContext(ctx).OutputState, + } +} + // VlanMapInput is an input type that accepts VlanMap and VlanMapOutput values. // You can construct a concrete instance of `VlanMapInput` via: // @@ -245,6 +259,12 @@ func (i VlanMap) ToVlanMapOutputWithContext(ctx context.Context) VlanMapOutput { return pulumi.ToOutputWithContext(ctx, i).(VlanMapOutput) } +func (i VlanMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Vlan] { + return pulumix.Output[map[string]*Vlan]{ + OutputState: i.ToVlanMapOutputWithContext(ctx).OutputState, + } +} + type VlanOutput struct{ *pulumi.OutputState } func (VlanOutput) ElementType() reflect.Type { @@ -259,12 +279,18 @@ func (o VlanOutput) ToVlanOutputWithContext(ctx context.Context) VlanOutput { return o } +func (o VlanOutput) ToOutput(ctx context.Context) pulumix.Output[*Vlan] { + return pulumix.Output[*Vlan]{ + OutputState: o.OutputState, + } +} + // Description string. func (o VlanOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *Vlan) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } -// Facility where to create the VLAN +// Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide // // Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices func (o VlanOutput) Facility() pulumi.StringPtrOutput { @@ -300,6 +326,12 @@ func (o VlanArrayOutput) ToVlanArrayOutputWithContext(ctx context.Context) VlanA return o } +func (o VlanArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Vlan] { + return pulumix.Output[[]*Vlan]{ + OutputState: o.OutputState, + } +} + func (o VlanArrayOutput) Index(i pulumi.IntInput) VlanOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Vlan { return vs[0].([]*Vlan)[vs[1].(int)] @@ -320,6 +352,12 @@ func (o VlanMapOutput) ToVlanMapOutputWithContext(ctx context.Context) VlanMapOu return o } +func (o VlanMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Vlan] { + return pulumix.Output[map[string]*Vlan]{ + OutputState: o.OutputState, + } +} + func (o VlanMapOutput) MapIndex(k pulumi.StringInput) VlanOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Vlan { return vs[0].(map[string]*Vlan)[vs[1].(string)] diff --git a/sdk/go/equinix/metal/vrf.go b/sdk/go/equinix/metal/vrf.go index ddae6ce9..4b18b23a 100644 --- a/sdk/go/equinix/metal/vrf.go +++ b/sdk/go/equinix/metal/vrf.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this resource to manage a VRF. @@ -89,7 +91,7 @@ func NewVrf(ctx *pulumi.Context, if args.ProjectId == nil { return nil, errors.New("invalid value for required argument 'ProjectId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Vrf err := ctx.RegisterResource("equinix:metal/vrf:Vrf", name, args, &resource, opts...) if err != nil { @@ -199,6 +201,12 @@ func (i *Vrf) ToVrfOutputWithContext(ctx context.Context) VrfOutput { return pulumi.ToOutputWithContext(ctx, i).(VrfOutput) } +func (i *Vrf) ToOutput(ctx context.Context) pulumix.Output[*Vrf] { + return pulumix.Output[*Vrf]{ + OutputState: i.ToVrfOutputWithContext(ctx).OutputState, + } +} + // VrfArrayInput is an input type that accepts VrfArray and VrfArrayOutput values. // You can construct a concrete instance of `VrfArrayInput` via: // @@ -224,6 +232,12 @@ func (i VrfArray) ToVrfArrayOutputWithContext(ctx context.Context) VrfArrayOutpu return pulumi.ToOutputWithContext(ctx, i).(VrfArrayOutput) } +func (i VrfArray) ToOutput(ctx context.Context) pulumix.Output[[]*Vrf] { + return pulumix.Output[[]*Vrf]{ + OutputState: i.ToVrfArrayOutputWithContext(ctx).OutputState, + } +} + // VrfMapInput is an input type that accepts VrfMap and VrfMapOutput values. // You can construct a concrete instance of `VrfMapInput` via: // @@ -249,6 +263,12 @@ func (i VrfMap) ToVrfMapOutputWithContext(ctx context.Context) VrfMapOutput { return pulumi.ToOutputWithContext(ctx, i).(VrfMapOutput) } +func (i VrfMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Vrf] { + return pulumix.Output[map[string]*Vrf]{ + OutputState: i.ToVrfMapOutputWithContext(ctx).OutputState, + } +} + type VrfOutput struct{ *pulumi.OutputState } func (VrfOutput) ElementType() reflect.Type { @@ -263,6 +283,12 @@ func (o VrfOutput) ToVrfOutputWithContext(ctx context.Context) VrfOutput { return o } +func (o VrfOutput) ToOutput(ctx context.Context) pulumix.Output[*Vrf] { + return pulumix.Output[*Vrf]{ + OutputState: o.OutputState, + } +} + // Description of the VRF. func (o VrfOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *Vrf) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) @@ -307,6 +333,12 @@ func (o VrfArrayOutput) ToVrfArrayOutputWithContext(ctx context.Context) VrfArra return o } +func (o VrfArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Vrf] { + return pulumix.Output[[]*Vrf]{ + OutputState: o.OutputState, + } +} + func (o VrfArrayOutput) Index(i pulumi.IntInput) VrfOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Vrf { return vs[0].([]*Vrf)[vs[1].(int)] @@ -327,6 +359,12 @@ func (o VrfMapOutput) ToVrfMapOutputWithContext(ctx context.Context) VrfMapOutpu return o } +func (o VrfMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Vrf] { + return pulumix.Output[map[string]*Vrf]{ + OutputState: o.OutputState, + } +} + func (o VrfMapOutput) MapIndex(k pulumi.StringInput) VrfOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Vrf { return vs[0].(map[string]*Vrf)[vs[1].(string)] diff --git a/sdk/go/equinix/networkedge/aclTemplate.go b/sdk/go/equinix/networkedge/aclTemplate.go index 41c84f7e..7e0cbcfc 100644 --- a/sdk/go/equinix/networkedge/aclTemplate.go +++ b/sdk/go/equinix/networkedge/aclTemplate.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Resource `networkedge.AclTemplate` allows creation and management of @@ -79,6 +81,8 @@ type AclTemplate struct { DeviceId pulumi.StringOutput `pulumi:"deviceId"` // One or more rules to specify allowed inbound traffic. // Rules are ordered, matching traffic rule stops processing subsequent ones. + // + // The `inboundRule` block has below fields: InboundRules AclTemplateInboundRuleArrayOutput `pulumi:"inboundRules"` // ACL template location metro code. // @@ -100,7 +104,7 @@ func NewAclTemplate(ctx *pulumi.Context, if args.InboundRules == nil { return nil, errors.New("invalid value for required argument 'InboundRules'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource AclTemplate err := ctx.RegisterResource("equinix:networkedge/aclTemplate:AclTemplate", name, args, &resource, opts...) if err != nil { @@ -136,6 +140,8 @@ type aclTemplateState struct { DeviceId *string `pulumi:"deviceId"` // One or more rules to specify allowed inbound traffic. // Rules are ordered, matching traffic rule stops processing subsequent ones. + // + // The `inboundRule` block has below fields: InboundRules []AclTemplateInboundRule `pulumi:"inboundRules"` // ACL template location metro code. // @@ -161,6 +167,8 @@ type AclTemplateState struct { DeviceId pulumi.StringPtrInput // One or more rules to specify allowed inbound traffic. // Rules are ordered, matching traffic rule stops processing subsequent ones. + // + // The `inboundRule` block has below fields: InboundRules AclTemplateInboundRuleArrayInput // ACL template location metro code. // @@ -181,6 +189,8 @@ type aclTemplateArgs struct { Description *string `pulumi:"description"` // One or more rules to specify allowed inbound traffic. // Rules are ordered, matching traffic rule stops processing subsequent ones. + // + // The `inboundRule` block has below fields: InboundRules []AclTemplateInboundRule `pulumi:"inboundRules"` // ACL template location metro code. // @@ -196,6 +206,8 @@ type AclTemplateArgs struct { Description pulumi.StringPtrInput // One or more rules to specify allowed inbound traffic. // Rules are ordered, matching traffic rule stops processing subsequent ones. + // + // The `inboundRule` block has below fields: InboundRules AclTemplateInboundRuleArrayInput // ACL template location metro code. // @@ -228,6 +240,12 @@ func (i *AclTemplate) ToAclTemplateOutputWithContext(ctx context.Context) AclTem return pulumi.ToOutputWithContext(ctx, i).(AclTemplateOutput) } +func (i *AclTemplate) ToOutput(ctx context.Context) pulumix.Output[*AclTemplate] { + return pulumix.Output[*AclTemplate]{ + OutputState: i.ToAclTemplateOutputWithContext(ctx).OutputState, + } +} + // AclTemplateArrayInput is an input type that accepts AclTemplateArray and AclTemplateArrayOutput values. // You can construct a concrete instance of `AclTemplateArrayInput` via: // @@ -253,6 +271,12 @@ func (i AclTemplateArray) ToAclTemplateArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AclTemplateArrayOutput) } +func (i AclTemplateArray) ToOutput(ctx context.Context) pulumix.Output[[]*AclTemplate] { + return pulumix.Output[[]*AclTemplate]{ + OutputState: i.ToAclTemplateArrayOutputWithContext(ctx).OutputState, + } +} + // AclTemplateMapInput is an input type that accepts AclTemplateMap and AclTemplateMapOutput values. // You can construct a concrete instance of `AclTemplateMapInput` via: // @@ -278,6 +302,12 @@ func (i AclTemplateMap) ToAclTemplateMapOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AclTemplateMapOutput) } +func (i AclTemplateMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AclTemplate] { + return pulumix.Output[map[string]*AclTemplate]{ + OutputState: i.ToAclTemplateMapOutputWithContext(ctx).OutputState, + } +} + type AclTemplateOutput struct{ *pulumi.OutputState } func (AclTemplateOutput) ElementType() reflect.Type { @@ -292,6 +322,12 @@ func (o AclTemplateOutput) ToAclTemplateOutputWithContext(ctx context.Context) A return o } +func (o AclTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*AclTemplate] { + return pulumix.Output[*AclTemplate]{ + OutputState: o.OutputState, + } +} + // Inbound rule description, up to 200 characters. func (o AclTemplateOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *AclTemplate) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) @@ -317,6 +353,8 @@ func (o AclTemplateOutput) DeviceId() pulumi.StringOutput { // One or more rules to specify allowed inbound traffic. // Rules are ordered, matching traffic rule stops processing subsequent ones. +// +// The `inboundRule` block has below fields: func (o AclTemplateOutput) InboundRules() AclTemplateInboundRuleArrayOutput { return o.ApplyT(func(v *AclTemplate) AclTemplateInboundRuleArrayOutput { return v.InboundRules }).(AclTemplateInboundRuleArrayOutput) } @@ -352,6 +390,12 @@ func (o AclTemplateArrayOutput) ToAclTemplateArrayOutputWithContext(ctx context. return o } +func (o AclTemplateArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AclTemplate] { + return pulumix.Output[[]*AclTemplate]{ + OutputState: o.OutputState, + } +} + func (o AclTemplateArrayOutput) Index(i pulumi.IntInput) AclTemplateOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AclTemplate { return vs[0].([]*AclTemplate)[vs[1].(int)] @@ -372,6 +416,12 @@ func (o AclTemplateMapOutput) ToAclTemplateMapOutputWithContext(ctx context.Cont return o } +func (o AclTemplateMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AclTemplate] { + return pulumix.Output[map[string]*AclTemplate]{ + OutputState: o.OutputState, + } +} + func (o AclTemplateMapOutput) MapIndex(k pulumi.StringInput) AclTemplateOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AclTemplate { return vs[0].(map[string]*AclTemplate)[vs[1].(string)] diff --git a/sdk/go/equinix/networkedge/bgp.go b/sdk/go/equinix/networkedge/bgp.go index 73a17150..d533b668 100644 --- a/sdk/go/equinix/networkedge/bgp.go +++ b/sdk/go/equinix/networkedge/bgp.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Resource `networkedge.Bgp` allows creation and management of Equinix Network @@ -107,7 +109,7 @@ func NewBgp(ctx *pulumi.Context, "authenticationKey", }) opts = append(opts, secrets) - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Bgp err := ctx.RegisterResource("equinix:networkedge/bgp:Bgp", name, args, &resource, opts...) if err != nil { @@ -243,6 +245,12 @@ func (i *Bgp) ToBgpOutputWithContext(ctx context.Context) BgpOutput { return pulumi.ToOutputWithContext(ctx, i).(BgpOutput) } +func (i *Bgp) ToOutput(ctx context.Context) pulumix.Output[*Bgp] { + return pulumix.Output[*Bgp]{ + OutputState: i.ToBgpOutputWithContext(ctx).OutputState, + } +} + // BgpArrayInput is an input type that accepts BgpArray and BgpArrayOutput values. // You can construct a concrete instance of `BgpArrayInput` via: // @@ -268,6 +276,12 @@ func (i BgpArray) ToBgpArrayOutputWithContext(ctx context.Context) BgpArrayOutpu return pulumi.ToOutputWithContext(ctx, i).(BgpArrayOutput) } +func (i BgpArray) ToOutput(ctx context.Context) pulumix.Output[[]*Bgp] { + return pulumix.Output[[]*Bgp]{ + OutputState: i.ToBgpArrayOutputWithContext(ctx).OutputState, + } +} + // BgpMapInput is an input type that accepts BgpMap and BgpMapOutput values. // You can construct a concrete instance of `BgpMapInput` via: // @@ -293,6 +307,12 @@ func (i BgpMap) ToBgpMapOutputWithContext(ctx context.Context) BgpMapOutput { return pulumi.ToOutputWithContext(ctx, i).(BgpMapOutput) } +func (i BgpMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Bgp] { + return pulumix.Output[map[string]*Bgp]{ + OutputState: i.ToBgpMapOutputWithContext(ctx).OutputState, + } +} + type BgpOutput struct{ *pulumi.OutputState } func (BgpOutput) ElementType() reflect.Type { @@ -307,6 +327,12 @@ func (o BgpOutput) ToBgpOutputWithContext(ctx context.Context) BgpOutput { return o } +func (o BgpOutput) ToOutput(ctx context.Context) pulumix.Output[*Bgp] { + return pulumix.Output[*Bgp]{ + OutputState: o.OutputState, + } +} + // shared key used for BGP peer authentication. func (o BgpOutput) AuthenticationKey() pulumi.StringPtrOutput { return o.ApplyT(func(v *Bgp) pulumi.StringPtrOutput { return v.AuthenticationKey }).(pulumi.StringPtrOutput) @@ -375,6 +401,12 @@ func (o BgpArrayOutput) ToBgpArrayOutputWithContext(ctx context.Context) BgpArra return o } +func (o BgpArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Bgp] { + return pulumix.Output[[]*Bgp]{ + OutputState: o.OutputState, + } +} + func (o BgpArrayOutput) Index(i pulumi.IntInput) BgpOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Bgp { return vs[0].([]*Bgp)[vs[1].(int)] @@ -395,6 +427,12 @@ func (o BgpMapOutput) ToBgpMapOutputWithContext(ctx context.Context) BgpMapOutpu return o } +func (o BgpMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Bgp] { + return pulumix.Output[map[string]*Bgp]{ + OutputState: o.OutputState, + } +} + func (o BgpMapOutput) MapIndex(k pulumi.StringInput) BgpOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Bgp { return vs[0].(map[string]*Bgp)[vs[1].(string)] diff --git a/sdk/go/equinix/networkedge/device.go b/sdk/go/equinix/networkedge/device.go index f28cb2e2..c90cb48a 100644 --- a/sdk/go/equinix/networkedge/device.go +++ b/sdk/go/equinix/networkedge/device.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Resource `networkedge.Device` allows creation and management of Equinix Network Edge virtual @@ -136,6 +138,9 @@ type Device struct { // An object that has the cluster details. See // Cluster Details below for more details. ClusterDetails DeviceClusterDetailsPtrOutput `pulumi:"clusterDetails"` + // Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + // If not specified, default will be INTERNET-ACCESS + Connectivity pulumi.StringPtrOutput `pulumi:"connectivity"` // Number of CPU cores used by device. CoreCount pulumi.IntOutput `pulumi:"coreCount"` // Device hostname prefix. @@ -250,7 +255,7 @@ func NewDevice(ctx *pulumi.Context, if args.Version == nil { return nil, errors.New("invalid value for required argument 'Version'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Device err := ctx.RegisterResource("equinix:networkedge/device:Device", name, args, &resource, opts...) if err != nil { @@ -290,6 +295,9 @@ type deviceState struct { // An object that has the cluster details. See // Cluster Details below for more details. ClusterDetails *DeviceClusterDetails `pulumi:"clusterDetails"` + // Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + // If not specified, default will be INTERNET-ACCESS + Connectivity *string `pulumi:"connectivity"` // Number of CPU cores used by device. CoreCount *int `pulumi:"coreCount"` // Device hostname prefix. @@ -391,6 +399,9 @@ type DeviceState struct { // An object that has the cluster details. See // Cluster Details below for more details. ClusterDetails DeviceClusterDetailsPtrInput + // Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + // If not specified, default will be INTERNET-ACCESS + Connectivity pulumi.StringPtrInput // Number of CPU cores used by device. CoreCount pulumi.IntPtrInput // Device hostname prefix. @@ -494,6 +505,9 @@ type deviceArgs struct { // An object that has the cluster details. See // Cluster Details below for more details. ClusterDetails *DeviceClusterDetails `pulumi:"clusterDetails"` + // Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + // If not specified, default will be INTERNET-ACCESS + Connectivity *string `pulumi:"connectivity"` // Number of CPU cores used by device. CoreCount int `pulumi:"coreCount"` // Device hostname prefix. @@ -569,6 +583,9 @@ type DeviceArgs struct { // An object that has the cluster details. See // Cluster Details below for more details. ClusterDetails DeviceClusterDetailsPtrInput + // Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + // If not specified, default will be INTERNET-ACCESS + Connectivity pulumi.StringPtrInput // Number of CPU cores used by device. CoreCount pulumi.IntInput // Device hostname prefix. @@ -650,6 +667,12 @@ func (i *Device) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput { return pulumi.ToOutputWithContext(ctx, i).(DeviceOutput) } +func (i *Device) ToOutput(ctx context.Context) pulumix.Output[*Device] { + return pulumix.Output[*Device]{ + OutputState: i.ToDeviceOutputWithContext(ctx).OutputState, + } +} + // DeviceArrayInput is an input type that accepts DeviceArray and DeviceArrayOutput values. // You can construct a concrete instance of `DeviceArrayInput` via: // @@ -675,6 +698,12 @@ func (i DeviceArray) ToDeviceArrayOutputWithContext(ctx context.Context) DeviceA return pulumi.ToOutputWithContext(ctx, i).(DeviceArrayOutput) } +func (i DeviceArray) ToOutput(ctx context.Context) pulumix.Output[[]*Device] { + return pulumix.Output[[]*Device]{ + OutputState: i.ToDeviceArrayOutputWithContext(ctx).OutputState, + } +} + // DeviceMapInput is an input type that accepts DeviceMap and DeviceMapOutput values. // You can construct a concrete instance of `DeviceMapInput` via: // @@ -700,6 +729,12 @@ func (i DeviceMap) ToDeviceMapOutputWithContext(ctx context.Context) DeviceMapOu return pulumi.ToOutputWithContext(ctx, i).(DeviceMapOutput) } +func (i DeviceMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Device] { + return pulumix.Output[map[string]*Device]{ + OutputState: i.ToDeviceMapOutputWithContext(ctx).OutputState, + } +} + type DeviceOutput struct{ *pulumi.OutputState } func (DeviceOutput) ElementType() reflect.Type { @@ -714,6 +749,12 @@ func (o DeviceOutput) ToDeviceOutputWithContext(ctx context.Context) DeviceOutpu return o } +func (o DeviceOutput) ToOutput(ctx context.Context) pulumix.Output[*Device] { + return pulumix.Output[*Device]{ + OutputState: o.OutputState, + } +} + // Billing account number for a device. func (o DeviceOutput) AccountNumber() pulumi.StringOutput { return o.ApplyT(func(v *Device) pulumi.StringOutput { return v.AccountNumber }).(pulumi.StringOutput) @@ -752,6 +793,12 @@ func (o DeviceOutput) ClusterDetails() DeviceClusterDetailsPtrOutput { return o.ApplyT(func(v *Device) DeviceClusterDetailsPtrOutput { return v.ClusterDetails }).(DeviceClusterDetailsPtrOutput) } +// Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). +// If not specified, default will be INTERNET-ACCESS +func (o DeviceOutput) Connectivity() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Device) pulumi.StringPtrOutput { return v.Connectivity }).(pulumi.StringPtrOutput) +} + // Number of CPU cores used by device. func (o DeviceOutput) CoreCount() pulumi.IntOutput { return o.ApplyT(func(v *Device) pulumi.IntOutput { return v.CoreCount }).(pulumi.IntOutput) @@ -949,6 +996,12 @@ func (o DeviceArrayOutput) ToDeviceArrayOutputWithContext(ctx context.Context) D return o } +func (o DeviceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Device] { + return pulumix.Output[[]*Device]{ + OutputState: o.OutputState, + } +} + func (o DeviceArrayOutput) Index(i pulumi.IntInput) DeviceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Device { return vs[0].([]*Device)[vs[1].(int)] @@ -969,6 +1022,12 @@ func (o DeviceMapOutput) ToDeviceMapOutputWithContext(ctx context.Context) Devic return o } +func (o DeviceMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Device] { + return pulumix.Output[map[string]*Device]{ + OutputState: o.OutputState, + } +} + func (o DeviceMapOutput) MapIndex(k pulumi.StringInput) DeviceOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Device { return vs[0].(map[string]*Device)[vs[1].(string)] diff --git a/sdk/go/equinix/networkedge/deviceLink.go b/sdk/go/equinix/networkedge/deviceLink.go index 2b426d46..7c40b4e2 100644 --- a/sdk/go/equinix/networkedge/deviceLink.go +++ b/sdk/go/equinix/networkedge/deviceLink.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Resource `networkedge.DeviceLink` allows creation and management of Equinix @@ -113,7 +115,7 @@ func NewDeviceLink(ctx *pulumi.Context, if args.Devices == nil { return nil, errors.New("invalid value for required argument 'Devices'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource DeviceLink err := ctx.RegisterResource("equinix:networkedge/deviceLink:DeviceLink", name, args, &resource, opts...) if err != nil { @@ -229,6 +231,12 @@ func (i *DeviceLink) ToDeviceLinkOutputWithContext(ctx context.Context) DeviceLi return pulumi.ToOutputWithContext(ctx, i).(DeviceLinkOutput) } +func (i *DeviceLink) ToOutput(ctx context.Context) pulumix.Output[*DeviceLink] { + return pulumix.Output[*DeviceLink]{ + OutputState: i.ToDeviceLinkOutputWithContext(ctx).OutputState, + } +} + // DeviceLinkArrayInput is an input type that accepts DeviceLinkArray and DeviceLinkArrayOutput values. // You can construct a concrete instance of `DeviceLinkArrayInput` via: // @@ -254,6 +262,12 @@ func (i DeviceLinkArray) ToDeviceLinkArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DeviceLinkArrayOutput) } +func (i DeviceLinkArray) ToOutput(ctx context.Context) pulumix.Output[[]*DeviceLink] { + return pulumix.Output[[]*DeviceLink]{ + OutputState: i.ToDeviceLinkArrayOutputWithContext(ctx).OutputState, + } +} + // DeviceLinkMapInput is an input type that accepts DeviceLinkMap and DeviceLinkMapOutput values. // You can construct a concrete instance of `DeviceLinkMapInput` via: // @@ -279,6 +293,12 @@ func (i DeviceLinkMap) ToDeviceLinkMapOutputWithContext(ctx context.Context) Dev return pulumi.ToOutputWithContext(ctx, i).(DeviceLinkMapOutput) } +func (i DeviceLinkMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*DeviceLink] { + return pulumix.Output[map[string]*DeviceLink]{ + OutputState: i.ToDeviceLinkMapOutputWithContext(ctx).OutputState, + } +} + type DeviceLinkOutput struct{ *pulumi.OutputState } func (DeviceLinkOutput) ElementType() reflect.Type { @@ -293,6 +313,12 @@ func (o DeviceLinkOutput) ToDeviceLinkOutputWithContext(ctx context.Context) Dev return o } +func (o DeviceLinkOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceLink] { + return pulumix.Output[*DeviceLink]{ + OutputState: o.OutputState, + } +} + // definition of one or more devices belonging to the // device link. See Device section below for more details. func (o DeviceLinkOutput) Devices() DeviceLinkDeviceArrayOutput { @@ -341,6 +367,12 @@ func (o DeviceLinkArrayOutput) ToDeviceLinkArrayOutputWithContext(ctx context.Co return o } +func (o DeviceLinkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*DeviceLink] { + return pulumix.Output[[]*DeviceLink]{ + OutputState: o.OutputState, + } +} + func (o DeviceLinkArrayOutput) Index(i pulumi.IntInput) DeviceLinkOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DeviceLink { return vs[0].([]*DeviceLink)[vs[1].(int)] @@ -361,6 +393,12 @@ func (o DeviceLinkMapOutput) ToDeviceLinkMapOutputWithContext(ctx context.Contex return o } +func (o DeviceLinkMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*DeviceLink] { + return pulumix.Output[map[string]*DeviceLink]{ + OutputState: o.OutputState, + } +} + func (o DeviceLinkMapOutput) MapIndex(k pulumi.StringInput) DeviceLinkOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DeviceLink { return vs[0].(map[string]*DeviceLink)[vs[1].(string)] diff --git a/sdk/go/equinix/networkedge/getAccount.go b/sdk/go/equinix/networkedge/getAccount.go index 2e8d22cc..d9a71b62 100644 --- a/sdk/go/equinix/networkedge/getAccount.go +++ b/sdk/go/equinix/networkedge/getAccount.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to get number and identifier of Equinix Network Edge @@ -44,7 +46,7 @@ import ( // // ``` func GetAccount(ctx *pulumi.Context, args *GetAccountArgs, opts ...pulumi.InvokeOption) (*GetAccountResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetAccountResult err := ctx.Invoke("equinix:networkedge/getAccount:getAccount", args, &rv, opts...) if err != nil { @@ -120,6 +122,12 @@ func (o GetAccountResultOutput) ToGetAccountResultOutputWithContext(ctx context. return o } +func (o GetAccountResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAccountResult] { + return pulumix.Output[GetAccountResult]{ + OutputState: o.OutputState, + } +} + // The provider-assigned unique ID for this managed resource. func (o GetAccountResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetAccountResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/equinix/networkedge/getDevice.go b/sdk/go/equinix/networkedge/getDevice.go index 1d62bd8c..c5b51dd4 100644 --- a/sdk/go/equinix/networkedge/getDevice.go +++ b/sdk/go/equinix/networkedge/getDevice.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to get Equinix Network Edge device details. @@ -44,7 +46,7 @@ import ( // // ``` func LookupDevice(ctx *pulumi.Context, args *LookupDeviceArgs, opts ...pulumi.InvokeOption) (*LookupDeviceResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupDeviceResult err := ctx.Invoke("equinix:networkedge/getDevice:getDevice", args, &rv, opts...) if err != nil { @@ -60,6 +62,8 @@ type LookupDeviceArgs struct { // UUID of an existing Equinix Network Edge device Uuid *string `pulumi:"uuid"` // Device states to be considered valid when searching for a device by name + // + // NOTE: Exactly one of either `uuid` or `name` must be specified. ValidStatusList *string `pulumi:"validStatusList"` } @@ -73,8 +77,10 @@ type LookupDeviceResult struct { Asn int `pulumi:"asn"` Byol bool `pulumi:"byol"` ClusterDetails []GetDeviceClusterDetail `pulumi:"clusterDetails"` - CoreCount int `pulumi:"coreCount"` - Hostname string `pulumi:"hostname"` + // Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT) + Connectivity string `pulumi:"connectivity"` + CoreCount int `pulumi:"coreCount"` + Hostname string `pulumi:"hostname"` // Device location Equinix Business Exchange name Ibx string `pulumi:"ibx"` // The provider-assigned unique ID for this managed resource. @@ -99,6 +105,7 @@ type LookupDeviceResult struct { // * APPLIED // * WAITING_FOR_CLUSTER_SETUP // * REGISTRATION_FAILED + // * NA LicenseStatus string `pulumi:"licenseStatus"` LicenseToken string `pulumi:"licenseToken"` MetroCode string `pulumi:"metroCode"` @@ -169,6 +176,8 @@ type LookupDeviceOutputArgs struct { // UUID of an existing Equinix Network Edge device Uuid pulumi.StringPtrInput `pulumi:"uuid"` // Device states to be considered valid when searching for a device by name + // + // NOTE: Exactly one of either `uuid` or `name` must be specified. ValidStatusList pulumi.StringPtrInput `pulumi:"validStatusList"` } @@ -191,6 +200,12 @@ func (o LookupDeviceResultOutput) ToLookupDeviceResultOutputWithContext(ctx cont return o } +func (o LookupDeviceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeviceResult] { + return pulumix.Output[LookupDeviceResult]{ + OutputState: o.OutputState, + } +} + func (o LookupDeviceResultOutput) AccountNumber() pulumi.StringOutput { return o.ApplyT(func(v LookupDeviceResult) string { return v.AccountNumber }).(pulumi.StringOutput) } @@ -217,6 +232,11 @@ func (o LookupDeviceResultOutput) ClusterDetails() GetDeviceClusterDetailArrayOu return o.ApplyT(func(v LookupDeviceResult) []GetDeviceClusterDetail { return v.ClusterDetails }).(GetDeviceClusterDetailArrayOutput) } +// Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT) +func (o LookupDeviceResultOutput) Connectivity() pulumi.StringOutput { + return o.ApplyT(func(v LookupDeviceResult) string { return v.Connectivity }).(pulumi.StringOutput) +} + func (o LookupDeviceResultOutput) CoreCount() pulumi.IntOutput { return o.ApplyT(func(v LookupDeviceResult) int { return v.CoreCount }).(pulumi.IntOutput) } @@ -267,6 +287,7 @@ func (o LookupDeviceResultOutput) LicenseFileId() pulumi.StringOutput { // * APPLIED // * WAITING_FOR_CLUSTER_SETUP // * REGISTRATION_FAILED +// * NA func (o LookupDeviceResultOutput) LicenseStatus() pulumi.StringOutput { return o.ApplyT(func(v LookupDeviceResult) string { return v.LicenseStatus }).(pulumi.StringOutput) } diff --git a/sdk/go/equinix/networkedge/getDevicePlatform.go b/sdk/go/equinix/networkedge/getDevicePlatform.go index 4b08c33d..c89d46d8 100644 --- a/sdk/go/equinix/networkedge/getDevicePlatform.go +++ b/sdk/go/equinix/networkedge/getDevicePlatform.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to get Equinix Network Edge device platform configuration details @@ -44,7 +46,7 @@ import ( // // ``` func GetDevicePlatform(ctx *pulumi.Context, args *GetDevicePlatformArgs, opts ...pulumi.InvokeOption) (*GetDevicePlatformResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetDevicePlatformResult err := ctx.Invoke("equinix:networkedge/getDevicePlatform:getDevicePlatform", args, &rv, opts...) if err != nil { @@ -139,6 +141,12 @@ func (o GetDevicePlatformResultOutput) ToGetDevicePlatformResultOutputWithContex return o } +func (o GetDevicePlatformResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetDevicePlatformResult] { + return pulumix.Output[GetDevicePlatformResult]{ + OutputState: o.OutputState, + } +} + func (o GetDevicePlatformResultOutput) CoreCount() pulumi.IntOutput { return o.ApplyT(func(v GetDevicePlatformResult) int { return v.CoreCount }).(pulumi.IntOutput) } diff --git a/sdk/go/equinix/networkedge/getDeviceSoftware.go b/sdk/go/equinix/networkedge/getDeviceSoftware.go index f9dfe22c..b73d1db7 100644 --- a/sdk/go/equinix/networkedge/getDeviceSoftware.go +++ b/sdk/go/equinix/networkedge/getDeviceSoftware.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to get Equinix Network Edge device software details for a given @@ -45,7 +47,7 @@ import ( // // ``` func GetDeviceSoftware(ctx *pulumi.Context, args *GetDeviceSoftwareArgs, opts ...pulumi.InvokeOption) (*GetDeviceSoftwareResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetDeviceSoftwareResult err := ctx.Invoke("equinix:networkedge/getDeviceSoftware:getDeviceSoftware", args, &rv, opts...) if err != nil { @@ -141,6 +143,12 @@ func (o GetDeviceSoftwareResultOutput) ToGetDeviceSoftwareResultOutputWithContex return o } +func (o GetDeviceSoftwareResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceSoftwareResult] { + return pulumix.Output[GetDeviceSoftwareResult]{ + OutputState: o.OutputState, + } +} + // Version release date. func (o GetDeviceSoftwareResultOutput) Date() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceSoftwareResult) string { return v.Date }).(pulumi.StringOutput) diff --git a/sdk/go/equinix/networkedge/getDeviceType.go b/sdk/go/equinix/networkedge/getDeviceType.go index 48d9ca4d..33019939 100644 --- a/sdk/go/equinix/networkedge/getDeviceType.go +++ b/sdk/go/equinix/networkedge/getDeviceType.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this data source to get Equinix Network Edge device type details. For further details, check supported @@ -44,7 +46,7 @@ import ( // // ``` func GetDeviceType(ctx *pulumi.Context, args *GetDeviceTypeArgs, opts ...pulumi.InvokeOption) (*GetDeviceTypeResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetDeviceTypeResult err := ctx.Invoke("equinix:networkedge/getDeviceType:getDeviceType", args, &rv, opts...) if err != nil { @@ -123,6 +125,12 @@ func (o GetDeviceTypeResultOutput) ToGetDeviceTypeResultOutputWithContext(ctx co return o } +func (o GetDeviceTypeResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceTypeResult] { + return pulumix.Output[GetDeviceTypeResult]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceTypeResultOutput) Category() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceTypeResult) string { return v.Category }).(pulumi.StringOutput) } diff --git a/sdk/go/equinix/networkedge/init.go b/sdk/go/equinix/networkedge/init.go index 469f2f4d..b1a350bb 100644 --- a/sdk/go/equinix/networkedge/init.go +++ b/sdk/go/equinix/networkedge/init.go @@ -7,7 +7,7 @@ import ( "fmt" "github.com/blang/semver" - "github.com/equinix/pulumi-equinix/sdk/go/equinix" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -44,7 +44,7 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi } func init() { - version, err := equinix.PkgVersion() + version, err := internal.PkgVersion() if err != nil { version = semver.Version{Major: 1} } diff --git a/sdk/go/equinix/networkedge/networkFile.go b/sdk/go/equinix/networkedge/networkFile.go index 801af2c8..a93a02ab 100644 --- a/sdk/go/equinix/networkedge/networkFile.go +++ b/sdk/go/equinix/networkedge/networkFile.go @@ -9,7 +9,9 @@ import ( "errors" "github.com/equinix/pulumi-equinix/sdk/go/equinix" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Resource `networkedge.NetworkFile` allows creation and management of Equinix Network Edge files. @@ -126,7 +128,7 @@ func NewNetworkFile(ctx *pulumi.Context, "content", }) opts = append(opts, secrets) - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource NetworkFile err := ctx.RegisterResource("equinix:networkedge/networkFile:NetworkFile", name, args, &resource, opts...) if err != nil { @@ -260,6 +262,12 @@ func (i *NetworkFile) ToNetworkFileOutputWithContext(ctx context.Context) Networ return pulumi.ToOutputWithContext(ctx, i).(NetworkFileOutput) } +func (i *NetworkFile) ToOutput(ctx context.Context) pulumix.Output[*NetworkFile] { + return pulumix.Output[*NetworkFile]{ + OutputState: i.ToNetworkFileOutputWithContext(ctx).OutputState, + } +} + // NetworkFileArrayInput is an input type that accepts NetworkFileArray and NetworkFileArrayOutput values. // You can construct a concrete instance of `NetworkFileArrayInput` via: // @@ -285,6 +293,12 @@ func (i NetworkFileArray) ToNetworkFileArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(NetworkFileArrayOutput) } +func (i NetworkFileArray) ToOutput(ctx context.Context) pulumix.Output[[]*NetworkFile] { + return pulumix.Output[[]*NetworkFile]{ + OutputState: i.ToNetworkFileArrayOutputWithContext(ctx).OutputState, + } +} + // NetworkFileMapInput is an input type that accepts NetworkFileMap and NetworkFileMapOutput values. // You can construct a concrete instance of `NetworkFileMapInput` via: // @@ -310,6 +324,12 @@ func (i NetworkFileMap) ToNetworkFileMapOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, i).(NetworkFileMapOutput) } +func (i NetworkFileMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*NetworkFile] { + return pulumix.Output[map[string]*NetworkFile]{ + OutputState: i.ToNetworkFileMapOutputWithContext(ctx).OutputState, + } +} + type NetworkFileOutput struct{ *pulumi.OutputState } func (NetworkFileOutput) ElementType() reflect.Type { @@ -324,6 +344,12 @@ func (o NetworkFileOutput) ToNetworkFileOutputWithContext(ctx context.Context) N return o } +func (o NetworkFileOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFile] { + return pulumix.Output[*NetworkFile]{ + OutputState: o.OutputState, + } +} + // Boolean value that determines device licensing mode, i.e., // `bring your own license` or `subscription`. func (o NetworkFileOutput) Byol() pulumi.BoolOutput { @@ -385,6 +411,12 @@ func (o NetworkFileArrayOutput) ToNetworkFileArrayOutputWithContext(ctx context. return o } +func (o NetworkFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*NetworkFile] { + return pulumix.Output[[]*NetworkFile]{ + OutputState: o.OutputState, + } +} + func (o NetworkFileArrayOutput) Index(i pulumi.IntInput) NetworkFileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NetworkFile { return vs[0].([]*NetworkFile)[vs[1].(int)] @@ -405,6 +437,12 @@ func (o NetworkFileMapOutput) ToNetworkFileMapOutputWithContext(ctx context.Cont return o } +func (o NetworkFileMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*NetworkFile] { + return pulumix.Output[map[string]*NetworkFile]{ + OutputState: o.OutputState, + } +} + func (o NetworkFileMapOutput) MapIndex(k pulumi.StringInput) NetworkFileOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NetworkFile { return vs[0].(map[string]*NetworkFile)[vs[1].(string)] diff --git a/sdk/go/equinix/networkedge/pulumiEnums.go b/sdk/go/equinix/networkedge/pulumiEnums.go index e61905a9..7fd559d1 100644 --- a/sdk/go/equinix/networkedge/pulumiEnums.go +++ b/sdk/go/equinix/networkedge/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type AclRuleProtocolType string @@ -78,6 +79,12 @@ func (o AclRuleProtocolTypeOutput) ToAclRuleProtocolTypePtrOutputWithContext(ctx }).(AclRuleProtocolTypePtrOutput) } +func (o AclRuleProtocolTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AclRuleProtocolType] { + return pulumix.Output[AclRuleProtocolType]{ + OutputState: o.OutputState, + } +} + func (o AclRuleProtocolTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -113,6 +120,12 @@ func (o AclRuleProtocolTypePtrOutput) ToAclRuleProtocolTypePtrOutputWithContext( return o } +func (o AclRuleProtocolTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AclRuleProtocolType] { + return pulumix.Output[*AclRuleProtocolType]{ + OutputState: o.OutputState, + } +} + func (o AclRuleProtocolTypePtrOutput) Elem() AclRuleProtocolTypeOutput { return o.ApplyT(func(v *AclRuleProtocolType) AclRuleProtocolType { if v != nil { @@ -175,6 +188,12 @@ func (in *aclRuleProtocolTypePtr) ToAclRuleProtocolTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(AclRuleProtocolTypePtrOutput) } +func (in *aclRuleProtocolTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AclRuleProtocolType] { + return pulumix.Output[*AclRuleProtocolType]{ + OutputState: in.ToAclRuleProtocolTypePtrOutputWithContext(ctx).OutputState, + } +} + type FileType string const ( @@ -242,6 +261,12 @@ func (o FileTypeOutput) ToFileTypePtrOutputWithContext(ctx context.Context) File }).(FileTypePtrOutput) } +func (o FileTypeOutput) ToOutput(ctx context.Context) pulumix.Output[FileType] { + return pulumix.Output[FileType]{ + OutputState: o.OutputState, + } +} + func (o FileTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -277,6 +302,12 @@ func (o FileTypePtrOutput) ToFileTypePtrOutputWithContext(ctx context.Context) F return o } +func (o FileTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileType] { + return pulumix.Output[*FileType]{ + OutputState: o.OutputState, + } +} + func (o FileTypePtrOutput) Elem() FileTypeOutput { return o.ApplyT(func(v *FileType) FileType { if v != nil { @@ -339,6 +370,12 @@ func (in *fileTypePtr) ToFileTypePtrOutputWithContext(ctx context.Context) FileT return pulumi.ToOutputWithContext(ctx, in).(FileTypePtrOutput) } +func (in *fileTypePtr) ToOutput(ctx context.Context) pulumix.Output[*FileType] { + return pulumix.Output[*FileType]{ + OutputState: in.ToFileTypePtrOutputWithContext(ctx).OutputState, + } +} + type ThroughputUnit string const ( @@ -406,6 +443,12 @@ func (o ThroughputUnitOutput) ToThroughputUnitPtrOutputWithContext(ctx context.C }).(ThroughputUnitPtrOutput) } +func (o ThroughputUnitOutput) ToOutput(ctx context.Context) pulumix.Output[ThroughputUnit] { + return pulumix.Output[ThroughputUnit]{ + OutputState: o.OutputState, + } +} + func (o ThroughputUnitOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -441,6 +484,12 @@ func (o ThroughputUnitPtrOutput) ToThroughputUnitPtrOutputWithContext(ctx contex return o } +func (o ThroughputUnitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ThroughputUnit] { + return pulumix.Output[*ThroughputUnit]{ + OutputState: o.OutputState, + } +} + func (o ThroughputUnitPtrOutput) Elem() ThroughputUnitOutput { return o.ApplyT(func(v *ThroughputUnit) ThroughputUnit { if v != nil { @@ -503,6 +552,12 @@ func (in *throughputUnitPtr) ToThroughputUnitPtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(ThroughputUnitPtrOutput) } +func (in *throughputUnitPtr) ToOutput(ctx context.Context) pulumix.Output[*ThroughputUnit] { + return pulumix.Output[*ThroughputUnit]{ + OutputState: in.ToThroughputUnitPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AclRuleProtocolTypeInput)(nil)).Elem(), AclRuleProtocolType("IP")) pulumi.RegisterInputType(reflect.TypeOf((*AclRuleProtocolTypePtrInput)(nil)).Elem(), AclRuleProtocolType("IP")) diff --git a/sdk/go/equinix/networkedge/pulumiTypes.go b/sdk/go/equinix/networkedge/pulumiTypes.go index f70902bd..7c0fb6b8 100644 --- a/sdk/go/equinix/networkedge/pulumiTypes.go +++ b/sdk/go/equinix/networkedge/pulumiTypes.go @@ -7,9 +7,13 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) +var _ = internal.GetEnvOrDefault + type AclTemplateDeviceDetail struct { // Device ACL provisioning status where template was applied. One of `PROVISIONING`, // `PROVISIONED`. @@ -53,6 +57,12 @@ func (i AclTemplateDeviceDetailArgs) ToAclTemplateDeviceDetailOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(AclTemplateDeviceDetailOutput) } +func (i AclTemplateDeviceDetailArgs) ToOutput(ctx context.Context) pulumix.Output[AclTemplateDeviceDetail] { + return pulumix.Output[AclTemplateDeviceDetail]{ + OutputState: i.ToAclTemplateDeviceDetailOutputWithContext(ctx).OutputState, + } +} + // AclTemplateDeviceDetailArrayInput is an input type that accepts AclTemplateDeviceDetailArray and AclTemplateDeviceDetailArrayOutput values. // You can construct a concrete instance of `AclTemplateDeviceDetailArrayInput` via: // @@ -78,6 +88,12 @@ func (i AclTemplateDeviceDetailArray) ToAclTemplateDeviceDetailArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(AclTemplateDeviceDetailArrayOutput) } +func (i AclTemplateDeviceDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]AclTemplateDeviceDetail] { + return pulumix.Output[[]AclTemplateDeviceDetail]{ + OutputState: i.ToAclTemplateDeviceDetailArrayOutputWithContext(ctx).OutputState, + } +} + type AclTemplateDeviceDetailOutput struct{ *pulumi.OutputState } func (AclTemplateDeviceDetailOutput) ElementType() reflect.Type { @@ -92,6 +108,12 @@ func (o AclTemplateDeviceDetailOutput) ToAclTemplateDeviceDetailOutputWithContex return o } +func (o AclTemplateDeviceDetailOutput) ToOutput(ctx context.Context) pulumix.Output[AclTemplateDeviceDetail] { + return pulumix.Output[AclTemplateDeviceDetail]{ + OutputState: o.OutputState, + } +} + // Device ACL provisioning status where template was applied. One of `PROVISIONING`, // `PROVISIONED`. func (o AclTemplateDeviceDetailOutput) AclStatus() pulumi.StringPtrOutput { @@ -122,6 +144,12 @@ func (o AclTemplateDeviceDetailArrayOutput) ToAclTemplateDeviceDetailArrayOutput return o } +func (o AclTemplateDeviceDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AclTemplateDeviceDetail] { + return pulumix.Output[[]AclTemplateDeviceDetail]{ + OutputState: o.OutputState, + } +} + func (o AclTemplateDeviceDetailArrayOutput) Index(i pulumi.IntInput) AclTemplateDeviceDetailOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AclTemplateDeviceDetail { return vs[0].([]AclTemplateDeviceDetail)[vs[1].(int)] @@ -195,6 +223,12 @@ func (i AclTemplateInboundRuleArgs) ToAclTemplateInboundRuleOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(AclTemplateInboundRuleOutput) } +func (i AclTemplateInboundRuleArgs) ToOutput(ctx context.Context) pulumix.Output[AclTemplateInboundRule] { + return pulumix.Output[AclTemplateInboundRule]{ + OutputState: i.ToAclTemplateInboundRuleOutputWithContext(ctx).OutputState, + } +} + // AclTemplateInboundRuleArrayInput is an input type that accepts AclTemplateInboundRuleArray and AclTemplateInboundRuleArrayOutput values. // You can construct a concrete instance of `AclTemplateInboundRuleArrayInput` via: // @@ -220,6 +254,12 @@ func (i AclTemplateInboundRuleArray) ToAclTemplateInboundRuleArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(AclTemplateInboundRuleArrayOutput) } +func (i AclTemplateInboundRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]AclTemplateInboundRule] { + return pulumix.Output[[]AclTemplateInboundRule]{ + OutputState: i.ToAclTemplateInboundRuleArrayOutputWithContext(ctx).OutputState, + } +} + type AclTemplateInboundRuleOutput struct{ *pulumi.OutputState } func (AclTemplateInboundRuleOutput) ElementType() reflect.Type { @@ -234,6 +274,12 @@ func (o AclTemplateInboundRuleOutput) ToAclTemplateInboundRuleOutputWithContext( return o } +func (o AclTemplateInboundRuleOutput) ToOutput(ctx context.Context) pulumix.Output[AclTemplateInboundRule] { + return pulumix.Output[AclTemplateInboundRule]{ + OutputState: o.OutputState, + } +} + // Inbound rule description, up to 200 characters. func (o AclTemplateInboundRuleOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v AclTemplateInboundRule) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -291,6 +337,12 @@ func (o AclTemplateInboundRuleArrayOutput) ToAclTemplateInboundRuleArrayOutputWi return o } +func (o AclTemplateInboundRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AclTemplateInboundRule] { + return pulumix.Output[[]AclTemplateInboundRule]{ + OutputState: o.OutputState, + } +} + func (o AclTemplateInboundRuleArrayOutput) Index(i pulumi.IntInput) AclTemplateInboundRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AclTemplateInboundRule { return vs[0].([]AclTemplateInboundRule)[vs[1].(int)] @@ -350,6 +402,12 @@ func (i DeviceClusterDetailsArgs) ToDeviceClusterDetailsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DeviceClusterDetailsOutput) } +func (i DeviceClusterDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceClusterDetails] { + return pulumix.Output[DeviceClusterDetails]{ + OutputState: i.ToDeviceClusterDetailsOutputWithContext(ctx).OutputState, + } +} + func (i DeviceClusterDetailsArgs) ToDeviceClusterDetailsPtrOutput() DeviceClusterDetailsPtrOutput { return i.ToDeviceClusterDetailsPtrOutputWithContext(context.Background()) } @@ -391,6 +449,12 @@ func (i *deviceClusterDetailsPtrType) ToDeviceClusterDetailsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DeviceClusterDetailsPtrOutput) } +func (i *deviceClusterDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeviceClusterDetails] { + return pulumix.Output[*DeviceClusterDetails]{ + OutputState: i.ToDeviceClusterDetailsPtrOutputWithContext(ctx).OutputState, + } +} + type DeviceClusterDetailsOutput struct{ *pulumi.OutputState } func (DeviceClusterDetailsOutput) ElementType() reflect.Type { @@ -415,6 +479,12 @@ func (o DeviceClusterDetailsOutput) ToDeviceClusterDetailsPtrOutputWithContext(c }).(DeviceClusterDetailsPtrOutput) } +func (o DeviceClusterDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceClusterDetails] { + return pulumix.Output[DeviceClusterDetails]{ + OutputState: o.OutputState, + } +} + // The ID of the cluster. func (o DeviceClusterDetailsOutput) ClusterId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeviceClusterDetails) *string { return v.ClusterId }).(pulumi.StringPtrOutput) @@ -456,6 +526,12 @@ func (o DeviceClusterDetailsPtrOutput) ToDeviceClusterDetailsPtrOutputWithContex return o } +func (o DeviceClusterDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceClusterDetails] { + return pulumix.Output[*DeviceClusterDetails]{ + OutputState: o.OutputState, + } +} + func (o DeviceClusterDetailsPtrOutput) Elem() DeviceClusterDetailsOutput { return o.ApplyT(func(v *DeviceClusterDetails) DeviceClusterDetails { if v != nil { @@ -575,6 +651,12 @@ func (i DeviceClusterDetailsNode0Args) ToDeviceClusterDetailsNode0OutputWithCont return pulumi.ToOutputWithContext(ctx, i).(DeviceClusterDetailsNode0Output) } +func (i DeviceClusterDetailsNode0Args) ToOutput(ctx context.Context) pulumix.Output[DeviceClusterDetailsNode0] { + return pulumix.Output[DeviceClusterDetailsNode0]{ + OutputState: i.ToDeviceClusterDetailsNode0OutputWithContext(ctx).OutputState, + } +} + func (i DeviceClusterDetailsNode0Args) ToDeviceClusterDetailsNode0PtrOutput() DeviceClusterDetailsNode0PtrOutput { return i.ToDeviceClusterDetailsNode0PtrOutputWithContext(context.Background()) } @@ -616,6 +698,12 @@ func (i *deviceClusterDetailsNode0PtrType) ToDeviceClusterDetailsNode0PtrOutputW return pulumi.ToOutputWithContext(ctx, i).(DeviceClusterDetailsNode0PtrOutput) } +func (i *deviceClusterDetailsNode0PtrType) ToOutput(ctx context.Context) pulumix.Output[*DeviceClusterDetailsNode0] { + return pulumix.Output[*DeviceClusterDetailsNode0]{ + OutputState: i.ToDeviceClusterDetailsNode0PtrOutputWithContext(ctx).OutputState, + } +} + type DeviceClusterDetailsNode0Output struct{ *pulumi.OutputState } func (DeviceClusterDetailsNode0Output) ElementType() reflect.Type { @@ -640,6 +728,12 @@ func (o DeviceClusterDetailsNode0Output) ToDeviceClusterDetailsNode0PtrOutputWit }).(DeviceClusterDetailsNode0PtrOutput) } +func (o DeviceClusterDetailsNode0Output) ToOutput(ctx context.Context) pulumix.Output[DeviceClusterDetailsNode0] { + return pulumix.Output[DeviceClusterDetailsNode0]{ + OutputState: o.OutputState, + } +} + // Identifier of a license file that will be applied on the device. func (o DeviceClusterDetailsNode0Output) LicenseFileId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeviceClusterDetailsNode0) *string { return v.LicenseFileId }).(pulumi.StringPtrOutput) @@ -685,6 +779,12 @@ func (o DeviceClusterDetailsNode0PtrOutput) ToDeviceClusterDetailsNode0PtrOutput return o } +func (o DeviceClusterDetailsNode0PtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceClusterDetailsNode0] { + return pulumix.Output[*DeviceClusterDetailsNode0]{ + OutputState: o.OutputState, + } +} + func (o DeviceClusterDetailsNode0PtrOutput) Elem() DeviceClusterDetailsNode0Output { return o.ApplyT(func(v *DeviceClusterDetailsNode0) DeviceClusterDetailsNode0 { if v != nil { @@ -806,6 +906,12 @@ func (i DeviceClusterDetailsNode0VendorConfigurationArgs) ToDeviceClusterDetails return pulumi.ToOutputWithContext(ctx, i).(DeviceClusterDetailsNode0VendorConfigurationOutput) } +func (i DeviceClusterDetailsNode0VendorConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceClusterDetailsNode0VendorConfiguration] { + return pulumix.Output[DeviceClusterDetailsNode0VendorConfiguration]{ + OutputState: i.ToDeviceClusterDetailsNode0VendorConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i DeviceClusterDetailsNode0VendorConfigurationArgs) ToDeviceClusterDetailsNode0VendorConfigurationPtrOutput() DeviceClusterDetailsNode0VendorConfigurationPtrOutput { return i.ToDeviceClusterDetailsNode0VendorConfigurationPtrOutputWithContext(context.Background()) } @@ -847,6 +953,12 @@ func (i *deviceClusterDetailsNode0VendorConfigurationPtrType) ToDeviceClusterDet return pulumi.ToOutputWithContext(ctx, i).(DeviceClusterDetailsNode0VendorConfigurationPtrOutput) } +func (i *deviceClusterDetailsNode0VendorConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeviceClusterDetailsNode0VendorConfiguration] { + return pulumix.Output[*DeviceClusterDetailsNode0VendorConfiguration]{ + OutputState: i.ToDeviceClusterDetailsNode0VendorConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + type DeviceClusterDetailsNode0VendorConfigurationOutput struct{ *pulumi.OutputState } func (DeviceClusterDetailsNode0VendorConfigurationOutput) ElementType() reflect.Type { @@ -871,6 +983,12 @@ func (o DeviceClusterDetailsNode0VendorConfigurationOutput) ToDeviceClusterDetai }).(DeviceClusterDetailsNode0VendorConfigurationPtrOutput) } +func (o DeviceClusterDetailsNode0VendorConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceClusterDetailsNode0VendorConfiguration] { + return pulumix.Output[DeviceClusterDetailsNode0VendorConfiguration]{ + OutputState: o.OutputState, + } +} + // Activation key. This is required for Velocloud clusters. func (o DeviceClusterDetailsNode0VendorConfigurationOutput) ActivationKey() pulumi.StringPtrOutput { return o.ApplyT(func(v DeviceClusterDetailsNode0VendorConfiguration) *string { return v.ActivationKey }).(pulumi.StringPtrOutput) @@ -917,6 +1035,12 @@ func (o DeviceClusterDetailsNode0VendorConfigurationPtrOutput) ToDeviceClusterDe return o } +func (o DeviceClusterDetailsNode0VendorConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceClusterDetailsNode0VendorConfiguration] { + return pulumix.Output[*DeviceClusterDetailsNode0VendorConfiguration]{ + OutputState: o.OutputState, + } +} + func (o DeviceClusterDetailsNode0VendorConfigurationPtrOutput) Elem() DeviceClusterDetailsNode0VendorConfigurationOutput { return o.ApplyT(func(v *DeviceClusterDetailsNode0VendorConfiguration) DeviceClusterDetailsNode0VendorConfiguration { if v != nil { @@ -1046,6 +1170,12 @@ func (i DeviceClusterDetailsNode1Args) ToDeviceClusterDetailsNode1OutputWithCont return pulumi.ToOutputWithContext(ctx, i).(DeviceClusterDetailsNode1Output) } +func (i DeviceClusterDetailsNode1Args) ToOutput(ctx context.Context) pulumix.Output[DeviceClusterDetailsNode1] { + return pulumix.Output[DeviceClusterDetailsNode1]{ + OutputState: i.ToDeviceClusterDetailsNode1OutputWithContext(ctx).OutputState, + } +} + func (i DeviceClusterDetailsNode1Args) ToDeviceClusterDetailsNode1PtrOutput() DeviceClusterDetailsNode1PtrOutput { return i.ToDeviceClusterDetailsNode1PtrOutputWithContext(context.Background()) } @@ -1087,6 +1217,12 @@ func (i *deviceClusterDetailsNode1PtrType) ToDeviceClusterDetailsNode1PtrOutputW return pulumi.ToOutputWithContext(ctx, i).(DeviceClusterDetailsNode1PtrOutput) } +func (i *deviceClusterDetailsNode1PtrType) ToOutput(ctx context.Context) pulumix.Output[*DeviceClusterDetailsNode1] { + return pulumix.Output[*DeviceClusterDetailsNode1]{ + OutputState: i.ToDeviceClusterDetailsNode1PtrOutputWithContext(ctx).OutputState, + } +} + type DeviceClusterDetailsNode1Output struct{ *pulumi.OutputState } func (DeviceClusterDetailsNode1Output) ElementType() reflect.Type { @@ -1111,6 +1247,12 @@ func (o DeviceClusterDetailsNode1Output) ToDeviceClusterDetailsNode1PtrOutputWit }).(DeviceClusterDetailsNode1PtrOutput) } +func (o DeviceClusterDetailsNode1Output) ToOutput(ctx context.Context) pulumix.Output[DeviceClusterDetailsNode1] { + return pulumix.Output[DeviceClusterDetailsNode1]{ + OutputState: o.OutputState, + } +} + // Identifier of a license file that will be applied on the device. func (o DeviceClusterDetailsNode1Output) LicenseFileId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeviceClusterDetailsNode1) *string { return v.LicenseFileId }).(pulumi.StringPtrOutput) @@ -1156,6 +1298,12 @@ func (o DeviceClusterDetailsNode1PtrOutput) ToDeviceClusterDetailsNode1PtrOutput return o } +func (o DeviceClusterDetailsNode1PtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceClusterDetailsNode1] { + return pulumix.Output[*DeviceClusterDetailsNode1]{ + OutputState: o.OutputState, + } +} + func (o DeviceClusterDetailsNode1PtrOutput) Elem() DeviceClusterDetailsNode1Output { return o.ApplyT(func(v *DeviceClusterDetailsNode1) DeviceClusterDetailsNode1 { if v != nil { @@ -1277,6 +1425,12 @@ func (i DeviceClusterDetailsNode1VendorConfigurationArgs) ToDeviceClusterDetails return pulumi.ToOutputWithContext(ctx, i).(DeviceClusterDetailsNode1VendorConfigurationOutput) } +func (i DeviceClusterDetailsNode1VendorConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceClusterDetailsNode1VendorConfiguration] { + return pulumix.Output[DeviceClusterDetailsNode1VendorConfiguration]{ + OutputState: i.ToDeviceClusterDetailsNode1VendorConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i DeviceClusterDetailsNode1VendorConfigurationArgs) ToDeviceClusterDetailsNode1VendorConfigurationPtrOutput() DeviceClusterDetailsNode1VendorConfigurationPtrOutput { return i.ToDeviceClusterDetailsNode1VendorConfigurationPtrOutputWithContext(context.Background()) } @@ -1318,6 +1472,12 @@ func (i *deviceClusterDetailsNode1VendorConfigurationPtrType) ToDeviceClusterDet return pulumi.ToOutputWithContext(ctx, i).(DeviceClusterDetailsNode1VendorConfigurationPtrOutput) } +func (i *deviceClusterDetailsNode1VendorConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeviceClusterDetailsNode1VendorConfiguration] { + return pulumix.Output[*DeviceClusterDetailsNode1VendorConfiguration]{ + OutputState: i.ToDeviceClusterDetailsNode1VendorConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + type DeviceClusterDetailsNode1VendorConfigurationOutput struct{ *pulumi.OutputState } func (DeviceClusterDetailsNode1VendorConfigurationOutput) ElementType() reflect.Type { @@ -1342,6 +1502,12 @@ func (o DeviceClusterDetailsNode1VendorConfigurationOutput) ToDeviceClusterDetai }).(DeviceClusterDetailsNode1VendorConfigurationPtrOutput) } +func (o DeviceClusterDetailsNode1VendorConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceClusterDetailsNode1VendorConfiguration] { + return pulumix.Output[DeviceClusterDetailsNode1VendorConfiguration]{ + OutputState: o.OutputState, + } +} + // Activation key. This is required for Velocloud clusters. func (o DeviceClusterDetailsNode1VendorConfigurationOutput) ActivationKey() pulumi.StringPtrOutput { return o.ApplyT(func(v DeviceClusterDetailsNode1VendorConfiguration) *string { return v.ActivationKey }).(pulumi.StringPtrOutput) @@ -1388,6 +1554,12 @@ func (o DeviceClusterDetailsNode1VendorConfigurationPtrOutput) ToDeviceClusterDe return o } +func (o DeviceClusterDetailsNode1VendorConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceClusterDetailsNode1VendorConfiguration] { + return pulumix.Output[*DeviceClusterDetailsNode1VendorConfiguration]{ + OutputState: o.OutputState, + } +} + func (o DeviceClusterDetailsNode1VendorConfigurationPtrOutput) Elem() DeviceClusterDetailsNode1VendorConfigurationOutput { return o.ApplyT(func(v *DeviceClusterDetailsNode1VendorConfiguration) DeviceClusterDetailsNode1VendorConfiguration { if v != nil { @@ -1521,6 +1693,12 @@ func (i DeviceInterfaceArgs) ToDeviceInterfaceOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DeviceInterfaceOutput) } +func (i DeviceInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceInterface] { + return pulumix.Output[DeviceInterface]{ + OutputState: i.ToDeviceInterfaceOutputWithContext(ctx).OutputState, + } +} + // DeviceInterfaceArrayInput is an input type that accepts DeviceInterfaceArray and DeviceInterfaceArrayOutput values. // You can construct a concrete instance of `DeviceInterfaceArrayInput` via: // @@ -1546,6 +1724,12 @@ func (i DeviceInterfaceArray) ToDeviceInterfaceArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DeviceInterfaceArrayOutput) } +func (i DeviceInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]DeviceInterface] { + return pulumix.Output[[]DeviceInterface]{ + OutputState: i.ToDeviceInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + type DeviceInterfaceOutput struct{ *pulumi.OutputState } func (DeviceInterfaceOutput) ElementType() reflect.Type { @@ -1560,6 +1744,12 @@ func (o DeviceInterfaceOutput) ToDeviceInterfaceOutputWithContext(ctx context.Co return o } +func (o DeviceInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceInterface] { + return pulumix.Output[DeviceInterface]{ + OutputState: o.OutputState, + } +} + // interface management type (Equinix Managed or empty). func (o DeviceInterfaceOutput) AssignedType() pulumi.StringPtrOutput { return o.ApplyT(func(v DeviceInterface) *string { return v.AssignedType }).(pulumi.StringPtrOutput) @@ -1614,6 +1804,12 @@ func (o DeviceInterfaceArrayOutput) ToDeviceInterfaceArrayOutputWithContext(ctx return o } +func (o DeviceInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeviceInterface] { + return pulumix.Output[[]DeviceInterface]{ + OutputState: o.OutputState, + } +} + func (o DeviceInterfaceArrayOutput) Index(i pulumi.IntInput) DeviceInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeviceInterface { return vs[0].([]DeviceInterface)[vs[1].(int)] @@ -1673,6 +1869,12 @@ func (i DeviceLinkDeviceArgs) ToDeviceLinkDeviceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(DeviceLinkDeviceOutput) } +func (i DeviceLinkDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceLinkDevice] { + return pulumix.Output[DeviceLinkDevice]{ + OutputState: i.ToDeviceLinkDeviceOutputWithContext(ctx).OutputState, + } +} + // DeviceLinkDeviceArrayInput is an input type that accepts DeviceLinkDeviceArray and DeviceLinkDeviceArrayOutput values. // You can construct a concrete instance of `DeviceLinkDeviceArrayInput` via: // @@ -1698,6 +1900,12 @@ func (i DeviceLinkDeviceArray) ToDeviceLinkDeviceArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(DeviceLinkDeviceArrayOutput) } +func (i DeviceLinkDeviceArray) ToOutput(ctx context.Context) pulumix.Output[[]DeviceLinkDevice] { + return pulumix.Output[[]DeviceLinkDevice]{ + OutputState: i.ToDeviceLinkDeviceArrayOutputWithContext(ctx).OutputState, + } +} + type DeviceLinkDeviceOutput struct{ *pulumi.OutputState } func (DeviceLinkDeviceOutput) ElementType() reflect.Type { @@ -1712,6 +1920,12 @@ func (o DeviceLinkDeviceOutput) ToDeviceLinkDeviceOutputWithContext(ctx context. return o } +func (o DeviceLinkDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceLinkDevice] { + return pulumix.Output[DeviceLinkDevice]{ + OutputState: o.OutputState, + } +} + // Device ASN number. Not required for self configured devices. func (o DeviceLinkDeviceOutput) Asn() pulumi.IntPtrOutput { return o.ApplyT(func(v DeviceLinkDevice) *int { return v.Asn }).(pulumi.IntPtrOutput) @@ -1753,6 +1967,12 @@ func (o DeviceLinkDeviceArrayOutput) ToDeviceLinkDeviceArrayOutputWithContext(ct return o } +func (o DeviceLinkDeviceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeviceLinkDevice] { + return pulumix.Output[[]DeviceLinkDevice]{ + OutputState: o.OutputState, + } +} + func (o DeviceLinkDeviceArrayOutput) Index(i pulumi.IntInput) DeviceLinkDeviceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeviceLinkDevice { return vs[0].([]DeviceLinkDevice)[vs[1].(int)] @@ -1826,6 +2046,12 @@ func (i DeviceLinkLinkArgs) ToDeviceLinkLinkOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DeviceLinkLinkOutput) } +func (i DeviceLinkLinkArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceLinkLink] { + return pulumix.Output[DeviceLinkLink]{ + OutputState: i.ToDeviceLinkLinkOutputWithContext(ctx).OutputState, + } +} + // DeviceLinkLinkArrayInput is an input type that accepts DeviceLinkLinkArray and DeviceLinkLinkArrayOutput values. // You can construct a concrete instance of `DeviceLinkLinkArrayInput` via: // @@ -1851,6 +2077,12 @@ func (i DeviceLinkLinkArray) ToDeviceLinkLinkArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DeviceLinkLinkArrayOutput) } +func (i DeviceLinkLinkArray) ToOutput(ctx context.Context) pulumix.Output[[]DeviceLinkLink] { + return pulumix.Output[[]DeviceLinkLink]{ + OutputState: i.ToDeviceLinkLinkArrayOutputWithContext(ctx).OutputState, + } +} + type DeviceLinkLinkOutput struct{ *pulumi.OutputState } func (DeviceLinkLinkOutput) ElementType() reflect.Type { @@ -1865,6 +2097,12 @@ func (o DeviceLinkLinkOutput) ToDeviceLinkLinkOutputWithContext(ctx context.Cont return o } +func (o DeviceLinkLinkOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceLinkLink] { + return pulumix.Output[DeviceLinkLink]{ + OutputState: o.OutputState, + } +} + // billing account number to be used for // connection charges func (o DeviceLinkLinkOutput) AccountNumber() pulumi.StringOutput { @@ -1919,6 +2157,12 @@ func (o DeviceLinkLinkArrayOutput) ToDeviceLinkLinkArrayOutputWithContext(ctx co return o } +func (o DeviceLinkLinkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeviceLinkLink] { + return pulumix.Output[[]DeviceLinkLink]{ + OutputState: o.OutputState, + } +} + func (o DeviceLinkLinkArrayOutput) Index(i pulumi.IntInput) DeviceLinkLinkOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeviceLinkLink { return vs[0].([]DeviceLinkLink)[vs[1].(int)] @@ -2082,6 +2326,12 @@ func (i DeviceSecondaryDeviceArgs) ToDeviceSecondaryDeviceOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DeviceSecondaryDeviceOutput) } +func (i DeviceSecondaryDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceSecondaryDevice] { + return pulumix.Output[DeviceSecondaryDevice]{ + OutputState: i.ToDeviceSecondaryDeviceOutputWithContext(ctx).OutputState, + } +} + func (i DeviceSecondaryDeviceArgs) ToDeviceSecondaryDevicePtrOutput() DeviceSecondaryDevicePtrOutput { return i.ToDeviceSecondaryDevicePtrOutputWithContext(context.Background()) } @@ -2123,6 +2373,12 @@ func (i *deviceSecondaryDevicePtrType) ToDeviceSecondaryDevicePtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DeviceSecondaryDevicePtrOutput) } +func (i *deviceSecondaryDevicePtrType) ToOutput(ctx context.Context) pulumix.Output[*DeviceSecondaryDevice] { + return pulumix.Output[*DeviceSecondaryDevice]{ + OutputState: i.ToDeviceSecondaryDevicePtrOutputWithContext(ctx).OutputState, + } +} + type DeviceSecondaryDeviceOutput struct{ *pulumi.OutputState } func (DeviceSecondaryDeviceOutput) ElementType() reflect.Type { @@ -2147,6 +2403,12 @@ func (o DeviceSecondaryDeviceOutput) ToDeviceSecondaryDevicePtrOutputWithContext }).(DeviceSecondaryDevicePtrOutput) } +func (o DeviceSecondaryDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceSecondaryDevice] { + return pulumix.Output[DeviceSecondaryDevice]{ + OutputState: o.OutputState, + } +} + // Billing account number for secondary device. func (o DeviceSecondaryDeviceOutput) AccountNumber() pulumi.StringOutput { return o.ApplyT(func(v DeviceSecondaryDevice) string { return v.AccountNumber }).(pulumi.StringOutput) @@ -2306,6 +2568,12 @@ func (o DeviceSecondaryDevicePtrOutput) ToDeviceSecondaryDevicePtrOutputWithCont return o } +func (o DeviceSecondaryDevicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceSecondaryDevice] { + return pulumix.Output[*DeviceSecondaryDevice]{ + OutputState: o.OutputState, + } +} + func (o DeviceSecondaryDevicePtrOutput) Elem() DeviceSecondaryDeviceOutput { return o.ApplyT(func(v *DeviceSecondaryDevice) DeviceSecondaryDevice { if v != nil { @@ -2657,6 +2925,12 @@ func (i DeviceSecondaryDeviceInterfaceArgs) ToDeviceSecondaryDeviceInterfaceOutp return pulumi.ToOutputWithContext(ctx, i).(DeviceSecondaryDeviceInterfaceOutput) } +func (i DeviceSecondaryDeviceInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceSecondaryDeviceInterface] { + return pulumix.Output[DeviceSecondaryDeviceInterface]{ + OutputState: i.ToDeviceSecondaryDeviceInterfaceOutputWithContext(ctx).OutputState, + } +} + // DeviceSecondaryDeviceInterfaceArrayInput is an input type that accepts DeviceSecondaryDeviceInterfaceArray and DeviceSecondaryDeviceInterfaceArrayOutput values. // You can construct a concrete instance of `DeviceSecondaryDeviceInterfaceArrayInput` via: // @@ -2682,6 +2956,12 @@ func (i DeviceSecondaryDeviceInterfaceArray) ToDeviceSecondaryDeviceInterfaceArr return pulumi.ToOutputWithContext(ctx, i).(DeviceSecondaryDeviceInterfaceArrayOutput) } +func (i DeviceSecondaryDeviceInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]DeviceSecondaryDeviceInterface] { + return pulumix.Output[[]DeviceSecondaryDeviceInterface]{ + OutputState: i.ToDeviceSecondaryDeviceInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + type DeviceSecondaryDeviceInterfaceOutput struct{ *pulumi.OutputState } func (DeviceSecondaryDeviceInterfaceOutput) ElementType() reflect.Type { @@ -2696,6 +2976,12 @@ func (o DeviceSecondaryDeviceInterfaceOutput) ToDeviceSecondaryDeviceInterfaceOu return o } +func (o DeviceSecondaryDeviceInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceSecondaryDeviceInterface] { + return pulumix.Output[DeviceSecondaryDeviceInterface]{ + OutputState: o.OutputState, + } +} + // interface management type (Equinix Managed or empty). func (o DeviceSecondaryDeviceInterfaceOutput) AssignedType() pulumi.StringPtrOutput { return o.ApplyT(func(v DeviceSecondaryDeviceInterface) *string { return v.AssignedType }).(pulumi.StringPtrOutput) @@ -2750,6 +3036,12 @@ func (o DeviceSecondaryDeviceInterfaceArrayOutput) ToDeviceSecondaryDeviceInterf return o } +func (o DeviceSecondaryDeviceInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeviceSecondaryDeviceInterface] { + return pulumix.Output[[]DeviceSecondaryDeviceInterface]{ + OutputState: o.OutputState, + } +} + func (o DeviceSecondaryDeviceInterfaceArrayOutput) Index(i pulumi.IntInput) DeviceSecondaryDeviceInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeviceSecondaryDeviceInterface { return vs[0].([]DeviceSecondaryDeviceInterface)[vs[1].(int)] @@ -2791,6 +3083,12 @@ func (i DeviceSecondaryDeviceSshKeyArgs) ToDeviceSecondaryDeviceSshKeyOutputWith return pulumi.ToOutputWithContext(ctx, i).(DeviceSecondaryDeviceSshKeyOutput) } +func (i DeviceSecondaryDeviceSshKeyArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceSecondaryDeviceSshKey] { + return pulumix.Output[DeviceSecondaryDeviceSshKey]{ + OutputState: i.ToDeviceSecondaryDeviceSshKeyOutputWithContext(ctx).OutputState, + } +} + func (i DeviceSecondaryDeviceSshKeyArgs) ToDeviceSecondaryDeviceSshKeyPtrOutput() DeviceSecondaryDeviceSshKeyPtrOutput { return i.ToDeviceSecondaryDeviceSshKeyPtrOutputWithContext(context.Background()) } @@ -2832,6 +3130,12 @@ func (i *deviceSecondaryDeviceSshKeyPtrType) ToDeviceSecondaryDeviceSshKeyPtrOut return pulumi.ToOutputWithContext(ctx, i).(DeviceSecondaryDeviceSshKeyPtrOutput) } +func (i *deviceSecondaryDeviceSshKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeviceSecondaryDeviceSshKey] { + return pulumix.Output[*DeviceSecondaryDeviceSshKey]{ + OutputState: i.ToDeviceSecondaryDeviceSshKeyPtrOutputWithContext(ctx).OutputState, + } +} + type DeviceSecondaryDeviceSshKeyOutput struct{ *pulumi.OutputState } func (DeviceSecondaryDeviceSshKeyOutput) ElementType() reflect.Type { @@ -2856,6 +3160,12 @@ func (o DeviceSecondaryDeviceSshKeyOutput) ToDeviceSecondaryDeviceSshKeyPtrOutpu }).(DeviceSecondaryDeviceSshKeyPtrOutput) } +func (o DeviceSecondaryDeviceSshKeyOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceSecondaryDeviceSshKey] { + return pulumix.Output[DeviceSecondaryDeviceSshKey]{ + OutputState: o.OutputState, + } +} + func (o DeviceSecondaryDeviceSshKeyOutput) KeyName() pulumi.StringOutput { return o.ApplyT(func(v DeviceSecondaryDeviceSshKey) string { return v.KeyName }).(pulumi.StringOutput) } @@ -2879,6 +3189,12 @@ func (o DeviceSecondaryDeviceSshKeyPtrOutput) ToDeviceSecondaryDeviceSshKeyPtrOu return o } +func (o DeviceSecondaryDeviceSshKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceSecondaryDeviceSshKey] { + return pulumix.Output[*DeviceSecondaryDeviceSshKey]{ + OutputState: o.OutputState, + } +} + func (o DeviceSecondaryDeviceSshKeyPtrOutput) Elem() DeviceSecondaryDeviceSshKeyOutput { return o.ApplyT(func(v *DeviceSecondaryDeviceSshKey) DeviceSecondaryDeviceSshKey { if v != nil { @@ -2943,6 +3259,12 @@ func (i DeviceSshKeyArgs) ToDeviceSshKeyOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DeviceSshKeyOutput) } +func (i DeviceSshKeyArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceSshKey] { + return pulumix.Output[DeviceSshKey]{ + OutputState: i.ToDeviceSshKeyOutputWithContext(ctx).OutputState, + } +} + func (i DeviceSshKeyArgs) ToDeviceSshKeyPtrOutput() DeviceSshKeyPtrOutput { return i.ToDeviceSshKeyPtrOutputWithContext(context.Background()) } @@ -2984,6 +3306,12 @@ func (i *deviceSshKeyPtrType) ToDeviceSshKeyPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DeviceSshKeyPtrOutput) } +func (i *deviceSshKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeviceSshKey] { + return pulumix.Output[*DeviceSshKey]{ + OutputState: i.ToDeviceSshKeyPtrOutputWithContext(ctx).OutputState, + } +} + type DeviceSshKeyOutput struct{ *pulumi.OutputState } func (DeviceSshKeyOutput) ElementType() reflect.Type { @@ -3008,6 +3336,12 @@ func (o DeviceSshKeyOutput) ToDeviceSshKeyPtrOutputWithContext(ctx context.Conte }).(DeviceSshKeyPtrOutput) } +func (o DeviceSshKeyOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceSshKey] { + return pulumix.Output[DeviceSshKey]{ + OutputState: o.OutputState, + } +} + func (o DeviceSshKeyOutput) KeyName() pulumi.StringOutput { return o.ApplyT(func(v DeviceSshKey) string { return v.KeyName }).(pulumi.StringOutput) } @@ -3031,6 +3365,12 @@ func (o DeviceSshKeyPtrOutput) ToDeviceSshKeyPtrOutputWithContext(ctx context.Co return o } +func (o DeviceSshKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceSshKey] { + return pulumix.Output[*DeviceSshKey]{ + OutputState: o.OutputState, + } +} + func (o DeviceSshKeyPtrOutput) Elem() DeviceSshKeyOutput { return o.ApplyT(func(v *DeviceSshKey) DeviceSshKey { if v != nil { @@ -3103,6 +3443,12 @@ func (i GetDeviceClusterDetailArgs) ToGetDeviceClusterDetailOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GetDeviceClusterDetailOutput) } +func (i GetDeviceClusterDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetDeviceClusterDetail] { + return pulumix.Output[GetDeviceClusterDetail]{ + OutputState: i.ToGetDeviceClusterDetailOutputWithContext(ctx).OutputState, + } +} + // GetDeviceClusterDetailArrayInput is an input type that accepts GetDeviceClusterDetailArray and GetDeviceClusterDetailArrayOutput values. // You can construct a concrete instance of `GetDeviceClusterDetailArrayInput` via: // @@ -3128,6 +3474,12 @@ func (i GetDeviceClusterDetailArray) ToGetDeviceClusterDetailArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GetDeviceClusterDetailArrayOutput) } +func (i GetDeviceClusterDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceClusterDetail] { + return pulumix.Output[[]GetDeviceClusterDetail]{ + OutputState: i.ToGetDeviceClusterDetailArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceClusterDetailOutput struct{ *pulumi.OutputState } func (GetDeviceClusterDetailOutput) ElementType() reflect.Type { @@ -3142,6 +3494,12 @@ func (o GetDeviceClusterDetailOutput) ToGetDeviceClusterDetailOutputWithContext( return o } +func (o GetDeviceClusterDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceClusterDetail] { + return pulumix.Output[GetDeviceClusterDetail]{ + OutputState: o.OutputState, + } +} + // The id of the cluster func (o GetDeviceClusterDetailOutput) ClusterId() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceClusterDetail) string { return v.ClusterId }).(pulumi.StringOutput) @@ -3178,6 +3536,12 @@ func (o GetDeviceClusterDetailArrayOutput) ToGetDeviceClusterDetailArrayOutputWi return o } +func (o GetDeviceClusterDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceClusterDetail] { + return pulumix.Output[[]GetDeviceClusterDetail]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceClusterDetailArrayOutput) Index(i pulumi.IntInput) GetDeviceClusterDetailOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceClusterDetail { return vs[0].([]GetDeviceClusterDetail)[vs[1].(int)] @@ -3229,6 +3593,12 @@ func (i GetDeviceClusterDetailNode0Args) ToGetDeviceClusterDetailNode0OutputWith return pulumi.ToOutputWithContext(ctx, i).(GetDeviceClusterDetailNode0Output) } +func (i GetDeviceClusterDetailNode0Args) ToOutput(ctx context.Context) pulumix.Output[GetDeviceClusterDetailNode0] { + return pulumix.Output[GetDeviceClusterDetailNode0]{ + OutputState: i.ToGetDeviceClusterDetailNode0OutputWithContext(ctx).OutputState, + } +} + // GetDeviceClusterDetailNode0ArrayInput is an input type that accepts GetDeviceClusterDetailNode0Array and GetDeviceClusterDetailNode0ArrayOutput values. // You can construct a concrete instance of `GetDeviceClusterDetailNode0ArrayInput` via: // @@ -3254,6 +3624,12 @@ func (i GetDeviceClusterDetailNode0Array) ToGetDeviceClusterDetailNode0ArrayOutp return pulumi.ToOutputWithContext(ctx, i).(GetDeviceClusterDetailNode0ArrayOutput) } +func (i GetDeviceClusterDetailNode0Array) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceClusterDetailNode0] { + return pulumix.Output[[]GetDeviceClusterDetailNode0]{ + OutputState: i.ToGetDeviceClusterDetailNode0ArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceClusterDetailNode0Output struct{ *pulumi.OutputState } func (GetDeviceClusterDetailNode0Output) ElementType() reflect.Type { @@ -3268,6 +3644,12 @@ func (o GetDeviceClusterDetailNode0Output) ToGetDeviceClusterDetailNode0OutputWi return o } +func (o GetDeviceClusterDetailNode0Output) ToOutput(ctx context.Context) pulumix.Output[GetDeviceClusterDetailNode0] { + return pulumix.Output[GetDeviceClusterDetailNode0]{ + OutputState: o.OutputState, + } +} + // Unique identifier of applied license file func (o GetDeviceClusterDetailNode0Output) LicenseFileId() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceClusterDetailNode0) string { return v.LicenseFileId }).(pulumi.StringOutput) @@ -3307,6 +3689,12 @@ func (o GetDeviceClusterDetailNode0ArrayOutput) ToGetDeviceClusterDetailNode0Arr return o } +func (o GetDeviceClusterDetailNode0ArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceClusterDetailNode0] { + return pulumix.Output[[]GetDeviceClusterDetailNode0]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceClusterDetailNode0ArrayOutput) Index(i pulumi.IntInput) GetDeviceClusterDetailNode0Output { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceClusterDetailNode0 { return vs[0].([]GetDeviceClusterDetailNode0)[vs[1].(int)] @@ -3354,6 +3742,12 @@ func (i GetDeviceClusterDetailNode0VendorConfigurationArgs) ToGetDeviceClusterDe return pulumi.ToOutputWithContext(ctx, i).(GetDeviceClusterDetailNode0VendorConfigurationOutput) } +func (i GetDeviceClusterDetailNode0VendorConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[GetDeviceClusterDetailNode0VendorConfiguration] { + return pulumix.Output[GetDeviceClusterDetailNode0VendorConfiguration]{ + OutputState: i.ToGetDeviceClusterDetailNode0VendorConfigurationOutputWithContext(ctx).OutputState, + } +} + // GetDeviceClusterDetailNode0VendorConfigurationArrayInput is an input type that accepts GetDeviceClusterDetailNode0VendorConfigurationArray and GetDeviceClusterDetailNode0VendorConfigurationArrayOutput values. // You can construct a concrete instance of `GetDeviceClusterDetailNode0VendorConfigurationArrayInput` via: // @@ -3379,6 +3773,12 @@ func (i GetDeviceClusterDetailNode0VendorConfigurationArray) ToGetDeviceClusterD return pulumi.ToOutputWithContext(ctx, i).(GetDeviceClusterDetailNode0VendorConfigurationArrayOutput) } +func (i GetDeviceClusterDetailNode0VendorConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceClusterDetailNode0VendorConfiguration] { + return pulumix.Output[[]GetDeviceClusterDetailNode0VendorConfiguration]{ + OutputState: i.ToGetDeviceClusterDetailNode0VendorConfigurationArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceClusterDetailNode0VendorConfigurationOutput struct{ *pulumi.OutputState } func (GetDeviceClusterDetailNode0VendorConfigurationOutput) ElementType() reflect.Type { @@ -3393,6 +3793,12 @@ func (o GetDeviceClusterDetailNode0VendorConfigurationOutput) ToGetDeviceCluster return o } +func (o GetDeviceClusterDetailNode0VendorConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceClusterDetailNode0VendorConfiguration] { + return pulumix.Output[GetDeviceClusterDetailNode0VendorConfiguration]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceClusterDetailNode0VendorConfigurationOutput) ActivationKey() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceClusterDetailNode0VendorConfiguration) string { return v.ActivationKey }).(pulumi.StringOutput) } @@ -3431,6 +3837,12 @@ func (o GetDeviceClusterDetailNode0VendorConfigurationArrayOutput) ToGetDeviceCl return o } +func (o GetDeviceClusterDetailNode0VendorConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceClusterDetailNode0VendorConfiguration] { + return pulumix.Output[[]GetDeviceClusterDetailNode0VendorConfiguration]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceClusterDetailNode0VendorConfigurationArrayOutput) Index(i pulumi.IntInput) GetDeviceClusterDetailNode0VendorConfigurationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceClusterDetailNode0VendorConfiguration { return vs[0].([]GetDeviceClusterDetailNode0VendorConfiguration)[vs[1].(int)] @@ -3482,6 +3894,12 @@ func (i GetDeviceClusterDetailNode1Args) ToGetDeviceClusterDetailNode1OutputWith return pulumi.ToOutputWithContext(ctx, i).(GetDeviceClusterDetailNode1Output) } +func (i GetDeviceClusterDetailNode1Args) ToOutput(ctx context.Context) pulumix.Output[GetDeviceClusterDetailNode1] { + return pulumix.Output[GetDeviceClusterDetailNode1]{ + OutputState: i.ToGetDeviceClusterDetailNode1OutputWithContext(ctx).OutputState, + } +} + // GetDeviceClusterDetailNode1ArrayInput is an input type that accepts GetDeviceClusterDetailNode1Array and GetDeviceClusterDetailNode1ArrayOutput values. // You can construct a concrete instance of `GetDeviceClusterDetailNode1ArrayInput` via: // @@ -3507,6 +3925,12 @@ func (i GetDeviceClusterDetailNode1Array) ToGetDeviceClusterDetailNode1ArrayOutp return pulumi.ToOutputWithContext(ctx, i).(GetDeviceClusterDetailNode1ArrayOutput) } +func (i GetDeviceClusterDetailNode1Array) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceClusterDetailNode1] { + return pulumix.Output[[]GetDeviceClusterDetailNode1]{ + OutputState: i.ToGetDeviceClusterDetailNode1ArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceClusterDetailNode1Output struct{ *pulumi.OutputState } func (GetDeviceClusterDetailNode1Output) ElementType() reflect.Type { @@ -3521,6 +3945,12 @@ func (o GetDeviceClusterDetailNode1Output) ToGetDeviceClusterDetailNode1OutputWi return o } +func (o GetDeviceClusterDetailNode1Output) ToOutput(ctx context.Context) pulumix.Output[GetDeviceClusterDetailNode1] { + return pulumix.Output[GetDeviceClusterDetailNode1]{ + OutputState: o.OutputState, + } +} + // Unique identifier of applied license file func (o GetDeviceClusterDetailNode1Output) LicenseFileId() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceClusterDetailNode1) string { return v.LicenseFileId }).(pulumi.StringOutput) @@ -3560,6 +3990,12 @@ func (o GetDeviceClusterDetailNode1ArrayOutput) ToGetDeviceClusterDetailNode1Arr return o } +func (o GetDeviceClusterDetailNode1ArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceClusterDetailNode1] { + return pulumix.Output[[]GetDeviceClusterDetailNode1]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceClusterDetailNode1ArrayOutput) Index(i pulumi.IntInput) GetDeviceClusterDetailNode1Output { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceClusterDetailNode1 { return vs[0].([]GetDeviceClusterDetailNode1)[vs[1].(int)] @@ -3607,6 +4043,12 @@ func (i GetDeviceClusterDetailNode1VendorConfigurationArgs) ToGetDeviceClusterDe return pulumi.ToOutputWithContext(ctx, i).(GetDeviceClusterDetailNode1VendorConfigurationOutput) } +func (i GetDeviceClusterDetailNode1VendorConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[GetDeviceClusterDetailNode1VendorConfiguration] { + return pulumix.Output[GetDeviceClusterDetailNode1VendorConfiguration]{ + OutputState: i.ToGetDeviceClusterDetailNode1VendorConfigurationOutputWithContext(ctx).OutputState, + } +} + // GetDeviceClusterDetailNode1VendorConfigurationArrayInput is an input type that accepts GetDeviceClusterDetailNode1VendorConfigurationArray and GetDeviceClusterDetailNode1VendorConfigurationArrayOutput values. // You can construct a concrete instance of `GetDeviceClusterDetailNode1VendorConfigurationArrayInput` via: // @@ -3632,6 +4074,12 @@ func (i GetDeviceClusterDetailNode1VendorConfigurationArray) ToGetDeviceClusterD return pulumi.ToOutputWithContext(ctx, i).(GetDeviceClusterDetailNode1VendorConfigurationArrayOutput) } +func (i GetDeviceClusterDetailNode1VendorConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceClusterDetailNode1VendorConfiguration] { + return pulumix.Output[[]GetDeviceClusterDetailNode1VendorConfiguration]{ + OutputState: i.ToGetDeviceClusterDetailNode1VendorConfigurationArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceClusterDetailNode1VendorConfigurationOutput struct{ *pulumi.OutputState } func (GetDeviceClusterDetailNode1VendorConfigurationOutput) ElementType() reflect.Type { @@ -3646,6 +4094,12 @@ func (o GetDeviceClusterDetailNode1VendorConfigurationOutput) ToGetDeviceCluster return o } +func (o GetDeviceClusterDetailNode1VendorConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceClusterDetailNode1VendorConfiguration] { + return pulumix.Output[GetDeviceClusterDetailNode1VendorConfiguration]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceClusterDetailNode1VendorConfigurationOutput) ActivationKey() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceClusterDetailNode1VendorConfiguration) string { return v.ActivationKey }).(pulumi.StringOutput) } @@ -3684,6 +4138,12 @@ func (o GetDeviceClusterDetailNode1VendorConfigurationArrayOutput) ToGetDeviceCl return o } +func (o GetDeviceClusterDetailNode1VendorConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceClusterDetailNode1VendorConfiguration] { + return pulumix.Output[[]GetDeviceClusterDetailNode1VendorConfiguration]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceClusterDetailNode1VendorConfigurationArrayOutput) Index(i pulumi.IntInput) GetDeviceClusterDetailNode1VendorConfigurationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceClusterDetailNode1VendorConfiguration { return vs[0].([]GetDeviceClusterDetailNode1VendorConfiguration)[vs[1].(int)] @@ -3759,6 +4219,12 @@ func (i GetDeviceInterfaceArgs) ToGetDeviceInterfaceOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GetDeviceInterfaceOutput) } +func (i GetDeviceInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[GetDeviceInterface] { + return pulumix.Output[GetDeviceInterface]{ + OutputState: i.ToGetDeviceInterfaceOutputWithContext(ctx).OutputState, + } +} + // GetDeviceInterfaceArrayInput is an input type that accepts GetDeviceInterfaceArray and GetDeviceInterfaceArrayOutput values. // You can construct a concrete instance of `GetDeviceInterfaceArrayInput` via: // @@ -3784,6 +4250,12 @@ func (i GetDeviceInterfaceArray) ToGetDeviceInterfaceArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GetDeviceInterfaceArrayOutput) } +func (i GetDeviceInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceInterface] { + return pulumix.Output[[]GetDeviceInterface]{ + OutputState: i.ToGetDeviceInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceInterfaceOutput struct{ *pulumi.OutputState } func (GetDeviceInterfaceOutput) ElementType() reflect.Type { @@ -3798,6 +4270,12 @@ func (o GetDeviceInterfaceOutput) ToGetDeviceInterfaceOutputWithContext(ctx cont return o } +func (o GetDeviceInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceInterface] { + return pulumix.Output[GetDeviceInterface]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceInterfaceOutput) AssignedType() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceInterface) string { return v.AssignedType }).(pulumi.StringOutput) } @@ -3856,6 +4334,12 @@ func (o GetDeviceInterfaceArrayOutput) ToGetDeviceInterfaceArrayOutputWithContex return o } +func (o GetDeviceInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceInterface] { + return pulumix.Output[[]GetDeviceInterface]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceInterfaceArrayOutput) Index(i pulumi.IntInput) GetDeviceInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceInterface { return vs[0].([]GetDeviceInterface)[vs[1].(int)] @@ -3868,8 +4352,9 @@ type GetDeviceSecondaryDevice struct { AclTemplateId string `pulumi:"aclTemplateId"` AdditionalBandwidth int `pulumi:"additionalBandwidth"` // Autonomous system number - Asn int `pulumi:"asn"` - Hostname string `pulumi:"hostname"` + Asn int `pulumi:"asn"` + CloudInitFileId string `pulumi:"cloudInitFileId"` + Hostname string `pulumi:"hostname"` // Device location Equinix Business Exchange name Ibx string `pulumi:"ibx"` // List of device interfaces @@ -3891,6 +4376,7 @@ type GetDeviceSecondaryDevice struct { // * APPLIED // * WAITING_FOR_CLUSTER_SETUP // * REGISTRATION_FAILED + // * NA LicenseStatus string `pulumi:"licenseStatus"` LicenseToken string `pulumi:"licenseToken"` MetroCode string `pulumi:"metroCode"` @@ -3947,8 +4433,9 @@ type GetDeviceSecondaryDeviceArgs struct { AclTemplateId pulumi.StringInput `pulumi:"aclTemplateId"` AdditionalBandwidth pulumi.IntInput `pulumi:"additionalBandwidth"` // Autonomous system number - Asn pulumi.IntInput `pulumi:"asn"` - Hostname pulumi.StringInput `pulumi:"hostname"` + Asn pulumi.IntInput `pulumi:"asn"` + CloudInitFileId pulumi.StringInput `pulumi:"cloudInitFileId"` + Hostname pulumi.StringInput `pulumi:"hostname"` // Device location Equinix Business Exchange name Ibx pulumi.StringInput `pulumi:"ibx"` // List of device interfaces @@ -3970,6 +4457,7 @@ type GetDeviceSecondaryDeviceArgs struct { // * APPLIED // * WAITING_FOR_CLUSTER_SETUP // * REGISTRATION_FAILED + // * NA LicenseStatus pulumi.StringInput `pulumi:"licenseStatus"` LicenseToken pulumi.StringInput `pulumi:"licenseToken"` MetroCode pulumi.StringInput `pulumi:"metroCode"` @@ -4021,6 +4509,12 @@ func (i GetDeviceSecondaryDeviceArgs) ToGetDeviceSecondaryDeviceOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GetDeviceSecondaryDeviceOutput) } +func (i GetDeviceSecondaryDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[GetDeviceSecondaryDevice] { + return pulumix.Output[GetDeviceSecondaryDevice]{ + OutputState: i.ToGetDeviceSecondaryDeviceOutputWithContext(ctx).OutputState, + } +} + // GetDeviceSecondaryDeviceArrayInput is an input type that accepts GetDeviceSecondaryDeviceArray and GetDeviceSecondaryDeviceArrayOutput values. // You can construct a concrete instance of `GetDeviceSecondaryDeviceArrayInput` via: // @@ -4046,6 +4540,12 @@ func (i GetDeviceSecondaryDeviceArray) ToGetDeviceSecondaryDeviceArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(GetDeviceSecondaryDeviceArrayOutput) } +func (i GetDeviceSecondaryDeviceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceSecondaryDevice] { + return pulumix.Output[[]GetDeviceSecondaryDevice]{ + OutputState: i.ToGetDeviceSecondaryDeviceArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceSecondaryDeviceOutput struct{ *pulumi.OutputState } func (GetDeviceSecondaryDeviceOutput) ElementType() reflect.Type { @@ -4060,6 +4560,12 @@ func (o GetDeviceSecondaryDeviceOutput) ToGetDeviceSecondaryDeviceOutputWithCont return o } +func (o GetDeviceSecondaryDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceSecondaryDevice] { + return pulumix.Output[GetDeviceSecondaryDevice]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceSecondaryDeviceOutput) AccountNumber() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceSecondaryDevice) string { return v.AccountNumber }).(pulumi.StringOutput) } @@ -4078,6 +4584,10 @@ func (o GetDeviceSecondaryDeviceOutput) Asn() pulumi.IntOutput { return o.ApplyT(func(v GetDeviceSecondaryDevice) int { return v.Asn }).(pulumi.IntOutput) } +func (o GetDeviceSecondaryDeviceOutput) CloudInitFileId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeviceSecondaryDevice) string { return v.CloudInitFileId }).(pulumi.StringOutput) +} + func (o GetDeviceSecondaryDeviceOutput) Hostname() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceSecondaryDevice) string { return v.Hostname }).(pulumi.StringOutput) } @@ -4115,6 +4625,7 @@ func (o GetDeviceSecondaryDeviceOutput) LicenseFileId() pulumi.StringOutput { // * APPLIED // * WAITING_FOR_CLUSTER_SETUP // * REGISTRATION_FAILED +// * NA func (o GetDeviceSecondaryDeviceOutput) LicenseStatus() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceSecondaryDevice) string { return v.LicenseStatus }).(pulumi.StringOutput) } @@ -4217,6 +4728,12 @@ func (o GetDeviceSecondaryDeviceArrayOutput) ToGetDeviceSecondaryDeviceArrayOutp return o } +func (o GetDeviceSecondaryDeviceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceSecondaryDevice] { + return pulumix.Output[[]GetDeviceSecondaryDevice]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceSecondaryDeviceArrayOutput) Index(i pulumi.IntInput) GetDeviceSecondaryDeviceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceSecondaryDevice { return vs[0].([]GetDeviceSecondaryDevice)[vs[1].(int)] @@ -4292,6 +4809,12 @@ func (i GetDeviceSecondaryDeviceInterfaceArgs) ToGetDeviceSecondaryDeviceInterfa return pulumi.ToOutputWithContext(ctx, i).(GetDeviceSecondaryDeviceInterfaceOutput) } +func (i GetDeviceSecondaryDeviceInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[GetDeviceSecondaryDeviceInterface] { + return pulumix.Output[GetDeviceSecondaryDeviceInterface]{ + OutputState: i.ToGetDeviceSecondaryDeviceInterfaceOutputWithContext(ctx).OutputState, + } +} + // GetDeviceSecondaryDeviceInterfaceArrayInput is an input type that accepts GetDeviceSecondaryDeviceInterfaceArray and GetDeviceSecondaryDeviceInterfaceArrayOutput values. // You can construct a concrete instance of `GetDeviceSecondaryDeviceInterfaceArrayInput` via: // @@ -4317,6 +4840,12 @@ func (i GetDeviceSecondaryDeviceInterfaceArray) ToGetDeviceSecondaryDeviceInterf return pulumi.ToOutputWithContext(ctx, i).(GetDeviceSecondaryDeviceInterfaceArrayOutput) } +func (i GetDeviceSecondaryDeviceInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceSecondaryDeviceInterface] { + return pulumix.Output[[]GetDeviceSecondaryDeviceInterface]{ + OutputState: i.ToGetDeviceSecondaryDeviceInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceSecondaryDeviceInterfaceOutput struct{ *pulumi.OutputState } func (GetDeviceSecondaryDeviceInterfaceOutput) ElementType() reflect.Type { @@ -4331,6 +4860,12 @@ func (o GetDeviceSecondaryDeviceInterfaceOutput) ToGetDeviceSecondaryDeviceInter return o } +func (o GetDeviceSecondaryDeviceInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceSecondaryDeviceInterface] { + return pulumix.Output[GetDeviceSecondaryDeviceInterface]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceSecondaryDeviceInterfaceOutput) AssignedType() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceSecondaryDeviceInterface) string { return v.AssignedType }).(pulumi.StringOutput) } @@ -4389,6 +4924,12 @@ func (o GetDeviceSecondaryDeviceInterfaceArrayOutput) ToGetDeviceSecondaryDevice return o } +func (o GetDeviceSecondaryDeviceInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceSecondaryDeviceInterface] { + return pulumix.Output[[]GetDeviceSecondaryDeviceInterface]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceSecondaryDeviceInterfaceArrayOutput) Index(i pulumi.IntInput) GetDeviceSecondaryDeviceInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceSecondaryDeviceInterface { return vs[0].([]GetDeviceSecondaryDeviceInterface)[vs[1].(int)] @@ -4428,6 +4969,12 @@ func (i GetDeviceSecondaryDeviceSshKeyArgs) ToGetDeviceSecondaryDeviceSshKeyOutp return pulumi.ToOutputWithContext(ctx, i).(GetDeviceSecondaryDeviceSshKeyOutput) } +func (i GetDeviceSecondaryDeviceSshKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GetDeviceSecondaryDeviceSshKey] { + return pulumix.Output[GetDeviceSecondaryDeviceSshKey]{ + OutputState: i.ToGetDeviceSecondaryDeviceSshKeyOutputWithContext(ctx).OutputState, + } +} + // GetDeviceSecondaryDeviceSshKeyArrayInput is an input type that accepts GetDeviceSecondaryDeviceSshKeyArray and GetDeviceSecondaryDeviceSshKeyArrayOutput values. // You can construct a concrete instance of `GetDeviceSecondaryDeviceSshKeyArrayInput` via: // @@ -4453,6 +5000,12 @@ func (i GetDeviceSecondaryDeviceSshKeyArray) ToGetDeviceSecondaryDeviceSshKeyArr return pulumi.ToOutputWithContext(ctx, i).(GetDeviceSecondaryDeviceSshKeyArrayOutput) } +func (i GetDeviceSecondaryDeviceSshKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceSecondaryDeviceSshKey] { + return pulumix.Output[[]GetDeviceSecondaryDeviceSshKey]{ + OutputState: i.ToGetDeviceSecondaryDeviceSshKeyArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceSecondaryDeviceSshKeyOutput struct{ *pulumi.OutputState } func (GetDeviceSecondaryDeviceSshKeyOutput) ElementType() reflect.Type { @@ -4467,6 +5020,12 @@ func (o GetDeviceSecondaryDeviceSshKeyOutput) ToGetDeviceSecondaryDeviceSshKeyOu return o } +func (o GetDeviceSecondaryDeviceSshKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceSecondaryDeviceSshKey] { + return pulumix.Output[GetDeviceSecondaryDeviceSshKey]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceSecondaryDeviceSshKeyOutput) KeyName() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceSecondaryDeviceSshKey) string { return v.KeyName }).(pulumi.StringOutput) } @@ -4489,6 +5048,12 @@ func (o GetDeviceSecondaryDeviceSshKeyArrayOutput) ToGetDeviceSecondaryDeviceSsh return o } +func (o GetDeviceSecondaryDeviceSshKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceSecondaryDeviceSshKey] { + return pulumix.Output[[]GetDeviceSecondaryDeviceSshKey]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceSecondaryDeviceSshKeyArrayOutput) Index(i pulumi.IntInput) GetDeviceSecondaryDeviceSshKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceSecondaryDeviceSshKey { return vs[0].([]GetDeviceSecondaryDeviceSshKey)[vs[1].(int)] @@ -4528,6 +5093,12 @@ func (i GetDeviceSshKeyArgs) ToGetDeviceSshKeyOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GetDeviceSshKeyOutput) } +func (i GetDeviceSshKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GetDeviceSshKey] { + return pulumix.Output[GetDeviceSshKey]{ + OutputState: i.ToGetDeviceSshKeyOutputWithContext(ctx).OutputState, + } +} + // GetDeviceSshKeyArrayInput is an input type that accepts GetDeviceSshKeyArray and GetDeviceSshKeyArrayOutput values. // You can construct a concrete instance of `GetDeviceSshKeyArrayInput` via: // @@ -4553,6 +5124,12 @@ func (i GetDeviceSshKeyArray) ToGetDeviceSshKeyArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GetDeviceSshKeyArrayOutput) } +func (i GetDeviceSshKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceSshKey] { + return pulumix.Output[[]GetDeviceSshKey]{ + OutputState: i.ToGetDeviceSshKeyArrayOutputWithContext(ctx).OutputState, + } +} + type GetDeviceSshKeyOutput struct{ *pulumi.OutputState } func (GetDeviceSshKeyOutput) ElementType() reflect.Type { @@ -4567,6 +5144,12 @@ func (o GetDeviceSshKeyOutput) ToGetDeviceSshKeyOutputWithContext(ctx context.Co return o } +func (o GetDeviceSshKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GetDeviceSshKey] { + return pulumix.Output[GetDeviceSshKey]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceSshKeyOutput) KeyName() pulumi.StringOutput { return o.ApplyT(func(v GetDeviceSshKey) string { return v.KeyName }).(pulumi.StringOutput) } @@ -4589,6 +5172,12 @@ func (o GetDeviceSshKeyArrayOutput) ToGetDeviceSshKeyArrayOutputWithContext(ctx return o } +func (o GetDeviceSshKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetDeviceSshKey] { + return pulumix.Output[[]GetDeviceSshKey]{ + OutputState: o.OutputState, + } +} + func (o GetDeviceSshKeyArrayOutput) Index(i pulumi.IntInput) GetDeviceSshKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeviceSshKey { return vs[0].([]GetDeviceSshKey)[vs[1].(int)] diff --git a/sdk/go/equinix/networkedge/pulumiUtilities.go b/sdk/go/equinix/networkedge/pulumiUtilities.go deleted file mode 100644 index 9d182b4c..00000000 --- a/sdk/go/equinix/networkedge/pulumiUtilities.go +++ /dev/null @@ -1,101 +0,0 @@ -// 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 networkedge - -import ( - "fmt" - "os" - "reflect" - "regexp" - "strconv" - "strings" - - "github.com/blang/semver" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type envParser func(v string) interface{} - -func parseEnvBool(v string) interface{} { - b, err := strconv.ParseBool(v) - if err != nil { - return nil - } - return b -} - -func parseEnvInt(v string) interface{} { - i, err := strconv.ParseInt(v, 0, 0) - if err != nil { - return nil - } - return int(i) -} - -func parseEnvFloat(v string) interface{} { - f, err := strconv.ParseFloat(v, 64) - if err != nil { - return nil - } - return f -} - -func parseEnvStringArray(v string) interface{} { - var result pulumi.StringArray - for _, item := range strings.Split(v, ";") { - result = append(result, pulumi.String(item)) - } - return result -} - -func getEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { - for _, v := range vars { - if value := os.Getenv(v); value != "" { - if parser != nil { - return parser(value) - } - return value - } - } - return def -} - -// PkgVersion uses reflection to determine the version of the current package. -// If a version cannot be determined, v1 will be assumed. The second return -// value is always nil. -func PkgVersion() (semver.Version, error) { - type sentinal struct{} - pkgPath := reflect.TypeOf(sentinal{}).PkgPath() - re := regexp.MustCompile("^.*/pulumi-equinix/sdk(/v\\d+)?") - if match := re.FindStringSubmatch(pkgPath); match != nil { - vStr := match[1] - if len(vStr) == 0 { // If the version capture group was empty, default to v1. - return semver.Version{Major: 1}, nil - } - return semver.MustParse(fmt.Sprintf("%s.0.0", vStr[2:])), nil - } - return semver.Version{Major: 1}, nil -} - -// isZero is a null safe check for if a value is it's types zero value. -func isZero(v interface{}) bool { - if v == nil { - return true - } - return reflect.ValueOf(v).IsZero() -} - -// pkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource. -func pkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { - defaults := []pulumi.ResourceOption{pulumi.PluginDownloadURL("github://api.github.com/equinix")} - - return append(defaults, opts...) -} - -// pkgInvokeDefaultOpts provides package level defaults to pulumi.OptionInvoke. -func pkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { - defaults := []pulumi.InvokeOption{pulumi.PluginDownloadURL("github://api.github.com/equinix")} - - return append(defaults, opts...) -} diff --git a/sdk/go/equinix/networkedge/sshKey.go b/sdk/go/equinix/networkedge/sshKey.go index fe4834cc..ebf7894f 100644 --- a/sdk/go/equinix/networkedge/sshKey.go +++ b/sdk/go/equinix/networkedge/sshKey.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Resource `networkedge.SshKey` allows creation and management of Equinix Network Edge SSH keys. @@ -77,7 +79,7 @@ func NewSshKey(ctx *pulumi.Context, if args.PublicKey == nil { return nil, errors.New("invalid value for required argument 'PublicKey'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource SshKey err := ctx.RegisterResource("equinix:networkedge/sshKey:SshKey", name, args, &resource, opts...) if err != nil { @@ -171,6 +173,12 @@ func (i *SshKey) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput { return pulumi.ToOutputWithContext(ctx, i).(SshKeyOutput) } +func (i *SshKey) ToOutput(ctx context.Context) pulumix.Output[*SshKey] { + return pulumix.Output[*SshKey]{ + OutputState: i.ToSshKeyOutputWithContext(ctx).OutputState, + } +} + // SshKeyArrayInput is an input type that accepts SshKeyArray and SshKeyArrayOutput values. // You can construct a concrete instance of `SshKeyArrayInput` via: // @@ -196,6 +204,12 @@ func (i SshKeyArray) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyA return pulumi.ToOutputWithContext(ctx, i).(SshKeyArrayOutput) } +func (i SshKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]*SshKey] { + return pulumix.Output[[]*SshKey]{ + OutputState: i.ToSshKeyArrayOutputWithContext(ctx).OutputState, + } +} + // SshKeyMapInput is an input type that accepts SshKeyMap and SshKeyMapOutput values. // You can construct a concrete instance of `SshKeyMapInput` via: // @@ -221,6 +235,12 @@ func (i SshKeyMap) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOu return pulumi.ToOutputWithContext(ctx, i).(SshKeyMapOutput) } +func (i SshKeyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SshKey] { + return pulumix.Output[map[string]*SshKey]{ + OutputState: i.ToSshKeyMapOutputWithContext(ctx).OutputState, + } +} + type SshKeyOutput struct{ *pulumi.OutputState } func (SshKeyOutput) ElementType() reflect.Type { @@ -235,6 +255,12 @@ func (o SshKeyOutput) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutpu return o } +func (o SshKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*SshKey] { + return pulumix.Output[*SshKey]{ + OutputState: o.OutputState, + } +} + // The name of SSH key used for identification. func (o SshKeyOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *SshKey) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) @@ -270,6 +296,12 @@ func (o SshKeyArrayOutput) ToSshKeyArrayOutputWithContext(ctx context.Context) S return o } +func (o SshKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SshKey] { + return pulumix.Output[[]*SshKey]{ + OutputState: o.OutputState, + } +} + func (o SshKeyArrayOutput) Index(i pulumi.IntInput) SshKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SshKey { return vs[0].([]*SshKey)[vs[1].(int)] @@ -290,6 +322,12 @@ func (o SshKeyMapOutput) ToSshKeyMapOutputWithContext(ctx context.Context) SshKe return o } +func (o SshKeyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SshKey] { + return pulumix.Output[map[string]*SshKey]{ + OutputState: o.OutputState, + } +} + func (o SshKeyMapOutput) MapIndex(k pulumi.StringInput) SshKeyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SshKey { return vs[0].(map[string]*SshKey)[vs[1].(string)] diff --git a/sdk/go/equinix/networkedge/sshUser.go b/sdk/go/equinix/networkedge/sshUser.go index c3f45587..04e601da 100644 --- a/sdk/go/equinix/networkedge/sshUser.go +++ b/sdk/go/equinix/networkedge/sshUser.go @@ -8,7 +8,9 @@ import ( "reflect" "errors" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Resource `networkedge.SshUser` allows creation and management of Equinix Network @@ -87,7 +89,7 @@ func NewSshUser(ctx *pulumi.Context, "password", }) opts = append(opts, secrets) - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource SshUser err := ctx.RegisterResource("equinix:networkedge/sshUser:SshUser", name, args, &resource, opts...) if err != nil { @@ -177,6 +179,12 @@ func (i *SshUser) ToSshUserOutputWithContext(ctx context.Context) SshUserOutput return pulumi.ToOutputWithContext(ctx, i).(SshUserOutput) } +func (i *SshUser) ToOutput(ctx context.Context) pulumix.Output[*SshUser] { + return pulumix.Output[*SshUser]{ + OutputState: i.ToSshUserOutputWithContext(ctx).OutputState, + } +} + // SshUserArrayInput is an input type that accepts SshUserArray and SshUserArrayOutput values. // You can construct a concrete instance of `SshUserArrayInput` via: // @@ -202,6 +210,12 @@ func (i SshUserArray) ToSshUserArrayOutputWithContext(ctx context.Context) SshUs return pulumi.ToOutputWithContext(ctx, i).(SshUserArrayOutput) } +func (i SshUserArray) ToOutput(ctx context.Context) pulumix.Output[[]*SshUser] { + return pulumix.Output[[]*SshUser]{ + OutputState: i.ToSshUserArrayOutputWithContext(ctx).OutputState, + } +} + // SshUserMapInput is an input type that accepts SshUserMap and SshUserMapOutput values. // You can construct a concrete instance of `SshUserMapInput` via: // @@ -227,6 +241,12 @@ func (i SshUserMap) ToSshUserMapOutputWithContext(ctx context.Context) SshUserMa return pulumi.ToOutputWithContext(ctx, i).(SshUserMapOutput) } +func (i SshUserMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SshUser] { + return pulumix.Output[map[string]*SshUser]{ + OutputState: i.ToSshUserMapOutputWithContext(ctx).OutputState, + } +} + type SshUserOutput struct{ *pulumi.OutputState } func (SshUserOutput) ElementType() reflect.Type { @@ -241,6 +261,12 @@ func (o SshUserOutput) ToSshUserOutputWithContext(ctx context.Context) SshUserOu return o } +func (o SshUserOutput) ToOutput(ctx context.Context) pulumix.Output[*SshUser] { + return pulumix.Output[*SshUser]{ + OutputState: o.OutputState, + } +} + // list of device identifiers to which user will have access. func (o SshUserOutput) DeviceIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *SshUser) pulumi.StringArrayOutput { return v.DeviceIds }).(pulumi.StringArrayOutput) @@ -275,6 +301,12 @@ func (o SshUserArrayOutput) ToSshUserArrayOutputWithContext(ctx context.Context) return o } +func (o SshUserArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SshUser] { + return pulumix.Output[[]*SshUser]{ + OutputState: o.OutputState, + } +} + func (o SshUserArrayOutput) Index(i pulumi.IntInput) SshUserOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SshUser { return vs[0].([]*SshUser)[vs[1].(int)] @@ -295,6 +327,12 @@ func (o SshUserMapOutput) ToSshUserMapOutputWithContext(ctx context.Context) Ssh return o } +func (o SshUserMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SshUser] { + return pulumix.Output[map[string]*SshUser]{ + OutputState: o.OutputState, + } +} + func (o SshUserMapOutput) MapIndex(k pulumi.StringInput) SshUserOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SshUser { return vs[0].(map[string]*SshUser)[vs[1].(string)] diff --git a/sdk/go/equinix/provider.go b/sdk/go/equinix/provider.go index 304f4c5b..1ebac6c4 100644 --- a/sdk/go/equinix/provider.go +++ b/sdk/go/equinix/provider.go @@ -7,7 +7,9 @@ import ( "context" "reflect" + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The provider type for the equinix package. By default, resources use package-wide configuration @@ -36,7 +38,7 @@ func NewProvider(ctx *pulumi.Context, args = &ProviderArgs{} } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Provider err := ctx.RegisterResource("pulumi:providers:equinix", name, args, &resource, opts...) if err != nil { @@ -109,6 +111,12 @@ func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutp return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput) } +func (i *Provider) ToOutput(ctx context.Context) pulumix.Output[*Provider] { + return pulumix.Output[*Provider]{ + OutputState: i.ToProviderOutputWithContext(ctx).OutputState, + } +} + type ProviderOutput struct{ *pulumi.OutputState } func (ProviderOutput) ElementType() reflect.Type { @@ -123,6 +131,12 @@ func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) Provide return o } +func (o ProviderOutput) ToOutput(ctx context.Context) pulumix.Output[*Provider] { + return pulumix.Output[*Provider]{ + OutputState: o.OutputState, + } +} + // The Equinix Metal API auth key for API operations func (o ProviderOutput) AuthToken() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.AuthToken }).(pulumi.StringPtrOutput) diff --git a/sdk/go/equinix/pulumiEnums.go b/sdk/go/equinix/pulumiEnums.go index 0841503e..c1060d97 100644 --- a/sdk/go/equinix/pulumiEnums.go +++ b/sdk/go/equinix/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type Metro string @@ -129,6 +130,12 @@ func (o MetroOutput) ToMetroPtrOutputWithContext(ctx context.Context) MetroPtrOu }).(MetroPtrOutput) } +func (o MetroOutput) ToOutput(ctx context.Context) pulumix.Output[Metro] { + return pulumix.Output[Metro]{ + OutputState: o.OutputState, + } +} + func (o MetroOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -164,6 +171,12 @@ func (o MetroPtrOutput) ToMetroPtrOutputWithContext(ctx context.Context) MetroPt return o } +func (o MetroPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Metro] { + return pulumix.Output[*Metro]{ + OutputState: o.OutputState, + } +} + func (o MetroPtrOutput) Elem() MetroOutput { return o.ApplyT(func(v *Metro) Metro { if v != nil { @@ -226,6 +239,12 @@ func (in *metroPtr) ToMetroPtrOutputWithContext(ctx context.Context) MetroPtrOut return pulumi.ToOutputWithContext(ctx, in).(MetroPtrOutput) } +func (in *metroPtr) ToOutput(ctx context.Context) pulumix.Output[*Metro] { + return pulumix.Output[*Metro]{ + OutputState: in.ToMetroPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*MetroInput)(nil)).Elem(), Metro("AM")) pulumi.RegisterInputType(reflect.TypeOf((*MetroPtrInput)(nil)).Elem(), Metro("AM")) diff --git a/sdk/go/equinix/pulumiUtilities.go b/sdk/go/equinix/pulumiUtilities.go deleted file mode 100644 index 39773e2c..00000000 --- a/sdk/go/equinix/pulumiUtilities.go +++ /dev/null @@ -1,101 +0,0 @@ -// 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 equinix - -import ( - "fmt" - "os" - "reflect" - "regexp" - "strconv" - "strings" - - "github.com/blang/semver" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type envParser func(v string) interface{} - -func parseEnvBool(v string) interface{} { - b, err := strconv.ParseBool(v) - if err != nil { - return nil - } - return b -} - -func parseEnvInt(v string) interface{} { - i, err := strconv.ParseInt(v, 0, 0) - if err != nil { - return nil - } - return int(i) -} - -func parseEnvFloat(v string) interface{} { - f, err := strconv.ParseFloat(v, 64) - if err != nil { - return nil - } - return f -} - -func parseEnvStringArray(v string) interface{} { - var result pulumi.StringArray - for _, item := range strings.Split(v, ";") { - result = append(result, pulumi.String(item)) - } - return result -} - -func getEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { - for _, v := range vars { - if value := os.Getenv(v); value != "" { - if parser != nil { - return parser(value) - } - return value - } - } - return def -} - -// PkgVersion uses reflection to determine the version of the current package. -// If a version cannot be determined, v1 will be assumed. The second return -// value is always nil. -func PkgVersion() (semver.Version, error) { - type sentinal struct{} - pkgPath := reflect.TypeOf(sentinal{}).PkgPath() - re := regexp.MustCompile("^.*/pulumi-equinix/sdk(/v\\d+)?") - if match := re.FindStringSubmatch(pkgPath); match != nil { - vStr := match[1] - if len(vStr) == 0 { // If the version capture group was empty, default to v1. - return semver.Version{Major: 1}, nil - } - return semver.MustParse(fmt.Sprintf("%s.0.0", vStr[2:])), nil - } - return semver.Version{Major: 1}, nil -} - -// isZero is a null safe check for if a value is it's types zero value. -func isZero(v interface{}) bool { - if v == nil { - return true - } - return reflect.ValueOf(v).IsZero() -} - -// pkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource. -func pkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { - defaults := []pulumi.ResourceOption{pulumi.PluginDownloadURL("github://api.github.com/equinix")} - - return append(defaults, opts...) -} - -// pkgInvokeDefaultOpts provides package level defaults to pulumi.OptionInvoke. -func pkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { - defaults := []pulumi.InvokeOption{pulumi.PluginDownloadURL("github://api.github.com/equinix")} - - return append(defaults, opts...) -} 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 new file mode 100644 index 00000000..4eed1aa5 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/CloudRouter.java @@ -0,0 +1,313 @@ +// *** 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; + +import com.equinix.pulumi.Utilities; +import com.equinix.pulumi.fabric.CloudRouterArgs; +import com.equinix.pulumi.fabric.inputs.CloudRouterState; +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.CloudRouterNotification; +import com.equinix.pulumi.fabric.outputs.CloudRouterOrder; +import com.equinix.pulumi.fabric.outputs.CloudRouterPackage; +import com.equinix.pulumi.fabric.outputs.CloudRouterProject; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * ## Example Usage + * ```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.CloudRouterLocationArgs; + * import com.pulumi.equinix.fabric.inputs.CloudRouterPackageArgs; + * import com.pulumi.equinix.fabric.inputs.CloudRouterNotificationArgs; + * import com.pulumi.equinix.fabric.inputs.CloudRouterAccountArgs; + * 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 config = ctx.config(); + * final var metro = config.get("metro").orElse("FR"); + * final var accountNum = config.get("accountNum"); + * var router = new CloudRouter("router", CloudRouterArgs.builder() + * .name("My-Fabric-Cloud-Router") + * .type("XF_ROUTER") + * .location(CloudRouterLocationArgs.builder() + * .metroCode(metro) + * .build()) + * .package_(CloudRouterPackageArgs.builder() + * .code("BASIC") + * .build()) + * .notifications(CloudRouterNotificationArgs.builder() + * .type("ALL") + * .emails("example@equinix.com") + * .build()) + * .account(CloudRouterAccountArgs.builder() + * .accountNumber(272010) + * .build()) + * .build()); + * + * ctx.export("routerId", router.id()); + * } + * } + * ``` + * + */ +@ResourceType(type="equinix:fabric/cloudRouter:CloudRouter") +public class CloudRouter extends com.pulumi.resources.CustomResource { + /** + * Customer account information that is associated with this Fabric Cloud Router + * + */ + @Export(name="account", refs={CloudRouterAccount.class}, tree="[0]") + private Output account; + + /** + * @return Customer account information that is associated with this Fabric Cloud Router + * + */ + public Output> account() { + return Codegen.optional(this.account); + } + /** + * Captures Fabric Cloud Router lifecycle change information + * + */ + @Export(name="changeLogs", refs={List.class,CloudRouterChangeLog.class}, tree="[0,1]") + private Output> changeLogs; + + /** + * @return Captures Fabric Cloud Router lifecycle change information + * + */ + public Output> changeLogs() { + return this.changeLogs; + } + /** + * Customer-provided Fabric Cloud Router description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Customer-provided Fabric Cloud Router description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * Equinix ASN + * + */ + @Export(name="equinixAsn", refs={Integer.class}, tree="[0]") + private Output equinixAsn; + + /** + * @return Equinix ASN + * + */ + public Output equinixAsn() { + return this.equinixAsn; + } + /** + * Unique Resource URL + * + */ + @Export(name="href", refs={String.class}, tree="[0]") + private Output href; + + /** + * @return Unique Resource URL + * + */ + public Output href() { + return this.href; + } + /** + * Fabric Cloud Router location + * + */ + @Export(name="location", refs={CloudRouterLocation.class}, tree="[0]") + private Output location; + + /** + * @return Fabric Cloud Router location + * + */ + public Output location() { + return this.location; + } + /** + * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + public Output name() { + return this.name; + } + /** + * Preferences for notifications on Fabric Cloud Router configuration or status changes + * + */ + @Export(name="notifications", refs={List.class,CloudRouterNotification.class}, tree="[0,1]") + private Output> notifications; + + /** + * @return Preferences for notifications on Fabric Cloud Router configuration or status changes + * + */ + public Output> notifications() { + return this.notifications; + } + /** + * Order information related to this Fabric Cloud Router + * + */ + @Export(name="order", refs={CloudRouterOrder.class}, tree="[0]") + private Output order; + + /** + * @return Order information related to this Fabric Cloud Router + * + */ + public Output> order() { + return Codegen.optional(this.order); + } + /** + * Fabric Cloud Router package + * + */ + @Export(name="package", refs={CloudRouterPackage.class}, tree="[0]") + private Output package_; + + /** + * @return Fabric Cloud Router package + * + */ + public Output package_() { + return this.package_; + } + /** + * Fabric Cloud Router project + * + */ + @Export(name="projects", refs={List.class,CloudRouterProject.class}, tree="[0,1]") + private Output> projects; + + /** + * @return Fabric Cloud Router project + * + */ + public Output>> projects() { + return Codegen.optional(this.projects); + } + /** + * Fabric Cloud Router overall state + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return Fabric Cloud Router overall state + * + */ + public Output state() { + return this.state; + } + /** + * Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + */ + @Export(name="type", refs={String.class}, tree="[0]") + private Output type; + + /** + * @return Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + */ + public Output type() { + return this.type; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public CloudRouter(String name) { + this(name, CloudRouterArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public CloudRouter(String name, CloudRouterArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public CloudRouter(String name, CloudRouterArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("equinix:fabric/cloudRouter:CloudRouter", name, args == null ? CloudRouterArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private CloudRouter(String name, Output id, @Nullable CloudRouterState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("equinix:fabric/cloudRouter:CloudRouter", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static CloudRouter get(String name, Output id, @Nullable CloudRouterState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new CloudRouter(name, id, state, options); + } +} 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 new file mode 100644 index 00000000..8f5c4687 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/CloudRouterArgs.java @@ -0,0 +1,410 @@ +// *** 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; + +import com.equinix.pulumi.fabric.inputs.CloudRouterAccountArgs; +import com.equinix.pulumi.fabric.inputs.CloudRouterLocationArgs; +import com.equinix.pulumi.fabric.inputs.CloudRouterNotificationArgs; +import com.equinix.pulumi.fabric.inputs.CloudRouterOrderArgs; +import com.equinix.pulumi.fabric.inputs.CloudRouterPackageArgs; +import com.equinix.pulumi.fabric.inputs.CloudRouterProjectArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CloudRouterArgs extends com.pulumi.resources.ResourceArgs { + + public static final CloudRouterArgs Empty = new CloudRouterArgs(); + + /** + * Customer account information that is associated with this Fabric Cloud Router + * + */ + @Import(name="account") + private @Nullable Output account; + + /** + * @return Customer account information that is associated with this Fabric Cloud Router + * + */ + public Optional> account() { + return Optional.ofNullable(this.account); + } + + /** + * Customer-provided Fabric Cloud Router description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Customer-provided Fabric Cloud Router description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Fabric Cloud Router location + * + */ + @Import(name="location", required=true) + private Output location; + + /** + * @return Fabric Cloud Router location + * + */ + public Output location() { + return this.location; + } + + /** + * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Preferences for notifications on Fabric Cloud Router configuration or status changes + * + */ + @Import(name="notifications", required=true) + private Output> notifications; + + /** + * @return Preferences for notifications on Fabric Cloud Router configuration or status changes + * + */ + public Output> notifications() { + return this.notifications; + } + + /** + * Order information related to this Fabric Cloud Router + * + */ + @Import(name="order") + private @Nullable Output order; + + /** + * @return Order information related to this Fabric Cloud Router + * + */ + public Optional> order() { + return Optional.ofNullable(this.order); + } + + /** + * Fabric Cloud Router package + * + */ + @Import(name="package", required=true) + private Output package_; + + /** + * @return Fabric Cloud Router package + * + */ + public Output package_() { + return this.package_; + } + + /** + * Fabric Cloud Router project + * + */ + @Import(name="projects") + private @Nullable Output> projects; + + /** + * @return Fabric Cloud Router project + * + */ + public Optional>> projects() { + return Optional.ofNullable(this.projects); + } + + /** + * Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + */ + public Output type() { + return this.type; + } + + private CloudRouterArgs() {} + + private CloudRouterArgs(CloudRouterArgs $) { + this.account = $.account; + this.description = $.description; + this.location = $.location; + this.name = $.name; + this.notifications = $.notifications; + this.order = $.order; + this.package_ = $.package_; + this.projects = $.projects; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CloudRouterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CloudRouterArgs $; + + public Builder() { + $ = new CloudRouterArgs(); + } + + public Builder(CloudRouterArgs defaults) { + $ = new CloudRouterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param account Customer account information that is associated with this Fabric Cloud Router + * + * @return builder + * + */ + public Builder account(@Nullable Output account) { + $.account = account; + return this; + } + + /** + * @param account Customer account information that is associated with this Fabric Cloud Router + * + * @return builder + * + */ + public Builder account(CloudRouterAccountArgs account) { + return account(Output.of(account)); + } + + /** + * @param description Customer-provided Fabric Cloud Router description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Customer-provided Fabric Cloud Router description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param location Fabric Cloud Router location + * + * @return builder + * + */ + public Builder location(Output location) { + $.location = location; + return this; + } + + /** + * @param location Fabric Cloud Router location + * + * @return builder + * + */ + public Builder location(CloudRouterLocationArgs location) { + return location(Output.of(location)); + } + + /** + * @param name Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param notifications Preferences for notifications on Fabric Cloud Router configuration or status changes + * + * @return builder + * + */ + public Builder notifications(Output> notifications) { + $.notifications = notifications; + return this; + } + + /** + * @param notifications Preferences for notifications on Fabric Cloud Router configuration or status changes + * + * @return builder + * + */ + public Builder notifications(List notifications) { + return notifications(Output.of(notifications)); + } + + /** + * @param notifications Preferences for notifications on Fabric Cloud Router configuration or status changes + * + * @return builder + * + */ + public Builder notifications(CloudRouterNotificationArgs... notifications) { + return notifications(List.of(notifications)); + } + + /** + * @param order Order information related to this Fabric Cloud Router + * + * @return builder + * + */ + public Builder order(@Nullable Output order) { + $.order = order; + return this; + } + + /** + * @param order Order information related to this Fabric Cloud Router + * + * @return builder + * + */ + public Builder order(CloudRouterOrderArgs order) { + return order(Output.of(order)); + } + + /** + * @param package_ Fabric Cloud Router package + * + * @return builder + * + */ + public Builder package_(Output package_) { + $.package_ = package_; + return this; + } + + /** + * @param package_ Fabric Cloud Router package + * + * @return builder + * + */ + public Builder package_(CloudRouterPackageArgs package_) { + return package_(Output.of(package_)); + } + + /** + * @param projects Fabric Cloud Router project + * + * @return builder + * + */ + public Builder projects(@Nullable Output> projects) { + $.projects = projects; + return this; + } + + /** + * @param projects Fabric Cloud Router project + * + * @return builder + * + */ + public Builder projects(List projects) { + return projects(Output.of(projects)); + } + + /** + * @param projects Fabric Cloud Router project + * + * @return builder + * + */ + public Builder projects(CloudRouterProjectArgs... projects) { + return projects(List.of(projects)); + } + + /** + * @param type Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public CloudRouterArgs build() { + $.location = Objects.requireNonNull($.location, "expected parameter 'location' to be non-null"); + $.notifications = Objects.requireNonNull($.notifications, "expected parameter 'notifications' to be non-null"); + $.package_ = Objects.requireNonNull($.package_, "expected parameter 'package' to be non-null"); + $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/Connection.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/Connection.java index 08e4b897..646b6b04 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/Connection.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/Connection.java @@ -8,7 +8,6 @@ import com.equinix.pulumi.fabric.inputs.ConnectionState; import com.equinix.pulumi.fabric.outputs.ConnectionASide; import com.equinix.pulumi.fabric.outputs.ConnectionAccount; -import com.equinix.pulumi.fabric.outputs.ConnectionAdditionalInfo; import com.equinix.pulumi.fabric.outputs.ConnectionChangeLog; import com.equinix.pulumi.fabric.outputs.ConnectionNotification; import com.equinix.pulumi.fabric.outputs.ConnectionOperation; @@ -22,8 +21,10 @@ import com.pulumi.core.internal.Codegen; import java.lang.Boolean; import java.lang.Integer; +import java.lang.Object; import java.lang.String; import java.util.List; +import java.util.Map; import java.util.Optional; import javax.annotation.Nullable; @@ -144,31 +145,31 @@ public Output aSide() { return this.aSide; } /** - * Customer account information that is associated with this connection + * Account * */ @Export(name="account", refs={ConnectionAccount.class}, tree="[0]") private Output account; /** - * @return Customer account information that is associated with this connection + * @return Account * */ public Output account() { return this.account; } /** - * Connection additional information + * Connection side additional information * */ - @Export(name="additionalInfo", refs={List.class,ConnectionAdditionalInfo.class}, tree="[0,1]") - private Output> additionalInfo; + @Export(name="additionalInfo", refs={List.class,Map.class,String.class,Object.class}, tree="[0,[1,2,3]]") + private Output>> additionalInfo; /** - * @return Connection additional information + * @return Connection side additional information * */ - public Output>> additionalInfo() { + public Output>>> additionalInfo() { return Codegen.optional(this.additionalInfo); } /** @@ -214,14 +215,14 @@ public Output direction() { return this.direction; } /** - * Connection URI information + * Unique Resource Identifier * */ @Export(name="href", refs={String.class}, tree="[0]") private Output href; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Output href() { @@ -242,14 +243,14 @@ public Output isRemote() { return this.isRemote; } /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ public Output name() { @@ -326,28 +327,28 @@ public Output> redundancy() { return Codegen.optional(this.redundancy); } /** - * Connection overall state + * Routing protocol instance state * */ @Export(name="state", refs={String.class}, tree="[0]") private Output state; /** - * @return Connection overall state + * @return Routing protocol instance state * */ public Output state() { return this.state; } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Export(name="type", refs={String.class}, tree="[0]") private Output type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Output type() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/ConnectionArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/ConnectionArgs.java index 1b900981..766b34d7 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/ConnectionArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/ConnectionArgs.java @@ -5,7 +5,6 @@ import com.equinix.pulumi.fabric.enums.ConnectionType; import com.equinix.pulumi.fabric.inputs.ConnectionASideArgs; -import com.equinix.pulumi.fabric.inputs.ConnectionAdditionalInfoArgs; import com.equinix.pulumi.fabric.inputs.ConnectionNotificationArgs; import com.equinix.pulumi.fabric.inputs.ConnectionOrderArgs; import com.equinix.pulumi.fabric.inputs.ConnectionProjectArgs; @@ -15,8 +14,10 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.Integer; +import java.lang.Object; import java.lang.String; import java.util.List; +import java.util.Map; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -42,17 +43,17 @@ public Output aSide() { } /** - * Connection additional information + * Connection side additional information * */ @Import(name="additionalInfo") - private @Nullable Output> additionalInfo; + private @Nullable Output>> additionalInfo; /** - * @return Connection additional information + * @return Connection side additional information * */ - public Optional>> additionalInfo() { + public Optional>>> additionalInfo() { return Optional.ofNullable(this.additionalInfo); } @@ -72,14 +73,14 @@ public Output bandwidth() { } /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name * */ @Import(name="name") private @Nullable Output name; /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ public Optional> name() { @@ -147,14 +148,14 @@ public Optional> redundancy() { } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type", required=true) private Output> type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Output> type() { @@ -231,33 +232,33 @@ public Builder aSide(ConnectionASideArgs aSide) { } /** - * @param additionalInfo Connection additional information + * @param additionalInfo Connection side additional information * * @return builder * */ - public Builder additionalInfo(@Nullable Output> additionalInfo) { + public Builder additionalInfo(@Nullable Output>> additionalInfo) { $.additionalInfo = additionalInfo; return this; } /** - * @param additionalInfo Connection additional information + * @param additionalInfo Connection side additional information * * @return builder * */ - public Builder additionalInfo(List additionalInfo) { + public Builder additionalInfo(List> additionalInfo) { return additionalInfo(Output.of(additionalInfo)); } /** - * @param additionalInfo Connection additional information + * @param additionalInfo Connection side additional information * * @return builder * */ - public Builder additionalInfo(ConnectionAdditionalInfoArgs... additionalInfo) { + public Builder additionalInfo(Map... additionalInfo) { return additionalInfo(List.of(additionalInfo)); } @@ -283,7 +284,7 @@ public Builder bandwidth(Integer bandwidth) { } /** - * @param name Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @param name Port name * * @return builder * @@ -294,7 +295,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @param name Port name * * @return builder * @@ -398,7 +399,7 @@ public Builder redundancy(ConnectionRedundancyArgs redundancy) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -409,7 +410,7 @@ public Builder type(Output> type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -419,7 +420,7 @@ public Builder type(Either type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -429,7 +430,7 @@ public Builder type(String type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * 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 13d5a8a9..37b23fd3 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 @@ -4,19 +4,25 @@ package com.equinix.pulumi.fabric; import com.equinix.pulumi.Utilities; +import com.equinix.pulumi.fabric.inputs.GetCloudRouterArgs; +import com.equinix.pulumi.fabric.inputs.GetCloudRouterPlainArgs; import com.equinix.pulumi.fabric.inputs.GetConnectionArgs; import com.equinix.pulumi.fabric.inputs.GetConnectionPlainArgs; import com.equinix.pulumi.fabric.inputs.GetPortArgs; import com.equinix.pulumi.fabric.inputs.GetPortPlainArgs; import com.equinix.pulumi.fabric.inputs.GetPortsArgs; import com.equinix.pulumi.fabric.inputs.GetPortsPlainArgs; +import com.equinix.pulumi.fabric.inputs.GetRoutingProtocolArgs; +import com.equinix.pulumi.fabric.inputs.GetRoutingProtocolPlainArgs; import com.equinix.pulumi.fabric.inputs.GetServiceProfileArgs; import com.equinix.pulumi.fabric.inputs.GetServiceProfilePlainArgs; import com.equinix.pulumi.fabric.inputs.GetServiceProfilesArgs; import com.equinix.pulumi.fabric.inputs.GetServiceProfilesPlainArgs; +import com.equinix.pulumi.fabric.outputs.GetCloudRouterResult; import com.equinix.pulumi.fabric.outputs.GetConnectionResult; import com.equinix.pulumi.fabric.outputs.GetPortResult; import com.equinix.pulumi.fabric.outputs.GetPortsResult; +import com.equinix.pulumi.fabric.outputs.GetRoutingProtocolResult; import com.equinix.pulumi.fabric.outputs.GetServiceProfileResult; import com.equinix.pulumi.fabric.outputs.GetServiceProfilesResult; import com.pulumi.core.Output; @@ -26,6 +32,24 @@ import java.util.concurrent.CompletableFuture; public final class FabricFunctions { + public static Output getCloudRouter() { + return getCloudRouter(GetCloudRouterArgs.Empty, InvokeOptions.Empty); + } + public static CompletableFuture getCloudRouterPlain() { + return getCloudRouterPlain(GetCloudRouterPlainArgs.Empty, InvokeOptions.Empty); + } + public static Output getCloudRouter(GetCloudRouterArgs args) { + return getCloudRouter(args, InvokeOptions.Empty); + } + public static CompletableFuture getCloudRouterPlain(GetCloudRouterPlainArgs args) { + return getCloudRouterPlain(args, InvokeOptions.Empty); + } + public static Output getCloudRouter(GetCloudRouterArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("equinix:fabric/getCloudRouter:getCloudRouter", TypeShape.of(GetCloudRouterResult.class), args, Utilities.withVersion(options)); + } + public static CompletableFuture getCloudRouterPlain(GetCloudRouterPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("equinix:fabric/getCloudRouter:getCloudRouter", TypeShape.of(GetCloudRouterResult.class), args, Utilities.withVersion(options)); + } public static Output getConnection() { return getConnection(GetConnectionArgs.Empty, InvokeOptions.Empty); } @@ -74,6 +98,18 @@ public static Output getPorts(GetPortsArgs args, InvokeOptions o public static CompletableFuture getPortsPlain(GetPortsPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("equinix:fabric/getPorts:getPorts", TypeShape.of(GetPortsResult.class), args, Utilities.withVersion(options)); } + public static Output getRoutingProtocol(GetRoutingProtocolArgs args) { + return getRoutingProtocol(args, InvokeOptions.Empty); + } + public static CompletableFuture getRoutingProtocolPlain(GetRoutingProtocolPlainArgs args) { + return getRoutingProtocolPlain(args, InvokeOptions.Empty); + } + public static Output getRoutingProtocol(GetRoutingProtocolArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("equinix:fabric/getRoutingProtocol:getRoutingProtocol", TypeShape.of(GetRoutingProtocolResult.class), args, Utilities.withVersion(options)); + } + public static CompletableFuture getRoutingProtocolPlain(GetRoutingProtocolPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("equinix:fabric/getRoutingProtocol:getRoutingProtocol", TypeShape.of(GetRoutingProtocolResult.class), args, Utilities.withVersion(options)); + } /** * Fabric V4 API compatible data resource that allow user to fetch Service Profile by UUID filter criteria * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/RoutingProtocol.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/RoutingProtocol.java new file mode 100644 index 00000000..e1fdc341 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/RoutingProtocol.java @@ -0,0 +1,373 @@ +// *** 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; + +import com.equinix.pulumi.Utilities; +import com.equinix.pulumi.fabric.RoutingProtocolArgs; +import com.equinix.pulumi.fabric.inputs.RoutingProtocolState; +import com.equinix.pulumi.fabric.outputs.RoutingProtocolBfd; +import com.equinix.pulumi.fabric.outputs.RoutingProtocolBgpIpv4; +import com.equinix.pulumi.fabric.outputs.RoutingProtocolBgpIpv6; +import com.equinix.pulumi.fabric.outputs.RoutingProtocolChange; +import com.equinix.pulumi.fabric.outputs.RoutingProtocolChangeLog; +import com.equinix.pulumi.fabric.outputs.RoutingProtocolDirectIpv4; +import com.equinix.pulumi.fabric.outputs.RoutingProtocolDirectIpv6; +import com.equinix.pulumi.fabric.outputs.RoutingProtocolOperation; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.equinix.fabric.RoutingProtocol; + * import com.pulumi.equinix.fabric.RoutingProtocolArgs; + * import com.pulumi.equinix.fabric.inputs.RoutingProtocolDirectIpv4Args; + * 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 config = ctx.config(); + * final var connectionId = config.get("connectionId"); + * var routingProtocol = new RoutingProtocol("routingProtocol", RoutingProtocolArgs.builder() + * .connectionUuid(connectionId) + * .name("My-Direct-route-1") + * .type("DIRECT") + * .directIpv4(RoutingProtocolDirectIpv4Args.builder() + * .equinixIfaceIp("192.168.100.1/30") + * .build()) + * .build()); + * + * ctx.export("routingProtocolId", routingProtocol.id()); + * ctx.export("routingProtocolState", routingProtocol.state()); + * ctx.export("routingProtocolEquinixAsn", routingProtocol.equinixAsn()); + * } + * } + * ``` + * + */ +@ResourceType(type="equinix:fabric/routingProtocol:RoutingProtocol") +public class RoutingProtocol extends com.pulumi.resources.CustomResource { + /** + * Bidirectional Forwarding Detection + * + */ + @Export(name="bfd", refs={RoutingProtocolBfd.class}, tree="[0]") + private Output bfd; + + /** + * @return Bidirectional Forwarding Detection + * + */ + public Output> bfd() { + return Codegen.optional(this.bfd); + } + /** + * BGP authorization key + * + */ + @Export(name="bgpAuthKey", refs={String.class}, tree="[0]") + private Output bgpAuthKey; + + /** + * @return BGP authorization key + * + */ + public Output> bgpAuthKey() { + return Codegen.optional(this.bgpAuthKey); + } + /** + * Routing Protocol BGP IPv4 + * + */ + @Export(name="bgpIpv4", refs={RoutingProtocolBgpIpv4.class}, tree="[0]") + private Output bgpIpv4; + + /** + * @return Routing Protocol BGP IPv4 + * + */ + public Output> bgpIpv4() { + return Codegen.optional(this.bgpIpv4); + } + /** + * Routing Protocol BGP IPv6 + * + */ + @Export(name="bgpIpv6", refs={RoutingProtocolBgpIpv6.class}, tree="[0]") + private Output bgpIpv6; + + /** + * @return Routing Protocol BGP IPv6 + * + */ + public Output> bgpIpv6() { + return Codegen.optional(this.bgpIpv6); + } + /** + * Captures Routing Protocol lifecycle change information + * + */ + @Export(name="changeLogs", refs={List.class,RoutingProtocolChangeLog.class}, tree="[0,1]") + private Output> changeLogs; + + /** + * @return Captures Routing Protocol lifecycle change information + * + */ + public Output> changeLogs() { + return this.changeLogs; + } + /** + * Routing Protocol configuration Changes + * + */ + @Export(name="changes", refs={List.class,RoutingProtocolChange.class}, tree="[0,1]") + private Output> changes; + + /** + * @return Routing Protocol configuration Changes + * + */ + public Output> changes() { + return this.changes; + } + /** + * Connection URI associated with Routing Protocol + * + */ + @Export(name="connectionUuid", refs={String.class}, tree="[0]") + private Output connectionUuid; + + /** + * @return Connection URI associated with Routing Protocol + * + */ + public Output connectionUuid() { + return this.connectionUuid; + } + /** + * Customer-provided ASN + * + */ + @Export(name="customerAsn", refs={Integer.class}, tree="[0]") + private Output customerAsn; + + /** + * @return Customer-provided ASN + * + */ + public Output> customerAsn() { + return Codegen.optional(this.customerAsn); + } + /** + * Customer-provided Fabric Routing Protocol description + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Customer-provided Fabric Routing Protocol description + * + */ + public Output> description() { + return Codegen.optional(this.description); + } + /** + * Routing Protocol Direct IPv4 + * + */ + @Export(name="directIpv4", refs={RoutingProtocolDirectIpv4.class}, tree="[0]") + private Output directIpv4; + + /** + * @return Routing Protocol Direct IPv4 + * + */ + public Output> directIpv4() { + return Codegen.optional(this.directIpv4); + } + /** + * Routing Protocol Direct IPv6 + * + */ + @Export(name="directIpv6", refs={RoutingProtocolDirectIpv6.class}, tree="[0]") + private Output directIpv6; + + /** + * @return Routing Protocol Direct IPv6 + * + */ + public Output> directIpv6() { + return Codegen.optional(this.directIpv6); + } + /** + * Equinix ASN + * + */ + @Export(name="equinixAsn", refs={Integer.class}, tree="[0]") + private Output equinixAsn; + + /** + * @return Equinix ASN + * + */ + public Output equinixAsn() { + return this.equinixAsn; + } + /** + * Routing Protocol URI information + * + */ + @Export(name="href", refs={String.class}, tree="[0]") + private Output href; + + /** + * @return Routing Protocol URI information + * + */ + public Output href() { + return this.href; + } + /** + * Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + public Output name() { + return this.name; + } + /** + * Routing Protocol type-specific operational data + * + */ + @Export(name="operations", refs={List.class,RoutingProtocolOperation.class}, tree="[0,1]") + private Output> operations; + + /** + * @return Routing Protocol type-specific operational data + * + */ + public Output> operations() { + return this.operations; + } + /** + * Routing Protocol overall state + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return Routing Protocol overall state + * + */ + public Output state() { + return this.state; + } + /** + * Defines the routing protocol type like BGP or DIRECT + * + */ + @Export(name="type", refs={String.class}, tree="[0]") + private Output type; + + /** + * @return Defines the routing protocol type like BGP or DIRECT + * + */ + public Output> type() { + return Codegen.optional(this.type); + } + /** + * Equinix-assigned routing protocol identifier + * + */ + @Export(name="uuid", refs={String.class}, tree="[0]") + private Output uuid; + + /** + * @return Equinix-assigned routing protocol identifier + * + */ + public Output uuid() { + return this.uuid; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public RoutingProtocol(String name) { + this(name, RoutingProtocolArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public RoutingProtocol(String name, RoutingProtocolArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public RoutingProtocol(String name, RoutingProtocolArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("equinix:fabric/routingProtocol:RoutingProtocol", name, args == null ? RoutingProtocolArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private RoutingProtocol(String name, Output id, @Nullable RoutingProtocolState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("equinix:fabric/routingProtocol:RoutingProtocol", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static RoutingProtocol get(String name, Output id, @Nullable RoutingProtocolState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new RoutingProtocol(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/RoutingProtocolArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/RoutingProtocolArgs.java new file mode 100644 index 00000000..514815d3 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/RoutingProtocolArgs.java @@ -0,0 +1,497 @@ +// *** 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; + +import com.equinix.pulumi.fabric.inputs.RoutingProtocolBfdArgs; +import com.equinix.pulumi.fabric.inputs.RoutingProtocolBgpIpv4Args; +import com.equinix.pulumi.fabric.inputs.RoutingProtocolBgpIpv6Args; +import com.equinix.pulumi.fabric.inputs.RoutingProtocolDirectIpv4Args; +import com.equinix.pulumi.fabric.inputs.RoutingProtocolDirectIpv6Args; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RoutingProtocolArgs extends com.pulumi.resources.ResourceArgs { + + public static final RoutingProtocolArgs Empty = new RoutingProtocolArgs(); + + /** + * Bidirectional Forwarding Detection + * + */ + @Import(name="bfd") + private @Nullable Output bfd; + + /** + * @return Bidirectional Forwarding Detection + * + */ + public Optional> bfd() { + return Optional.ofNullable(this.bfd); + } + + /** + * BGP authorization key + * + */ + @Import(name="bgpAuthKey") + private @Nullable Output bgpAuthKey; + + /** + * @return BGP authorization key + * + */ + public Optional> bgpAuthKey() { + return Optional.ofNullable(this.bgpAuthKey); + } + + /** + * Routing Protocol BGP IPv4 + * + */ + @Import(name="bgpIpv4") + private @Nullable Output bgpIpv4; + + /** + * @return Routing Protocol BGP IPv4 + * + */ + public Optional> bgpIpv4() { + return Optional.ofNullable(this.bgpIpv4); + } + + /** + * Routing Protocol BGP IPv6 + * + */ + @Import(name="bgpIpv6") + private @Nullable Output bgpIpv6; + + /** + * @return Routing Protocol BGP IPv6 + * + */ + public Optional> bgpIpv6() { + return Optional.ofNullable(this.bgpIpv6); + } + + /** + * Connection URI associated with Routing Protocol + * + */ + @Import(name="connectionUuid", required=true) + private Output connectionUuid; + + /** + * @return Connection URI associated with Routing Protocol + * + */ + public Output connectionUuid() { + return this.connectionUuid; + } + + /** + * Customer-provided ASN + * + */ + @Import(name="customerAsn") + private @Nullable Output customerAsn; + + /** + * @return Customer-provided ASN + * + */ + public Optional> customerAsn() { + return Optional.ofNullable(this.customerAsn); + } + + /** + * Customer-provided Fabric Routing Protocol description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Customer-provided Fabric Routing Protocol description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Routing Protocol Direct IPv4 + * + */ + @Import(name="directIpv4") + private @Nullable Output directIpv4; + + /** + * @return Routing Protocol Direct IPv4 + * + */ + public Optional> directIpv4() { + return Optional.ofNullable(this.directIpv4); + } + + /** + * Routing Protocol Direct IPv6 + * + */ + @Import(name="directIpv6") + private @Nullable Output directIpv6; + + /** + * @return Routing Protocol Direct IPv6 + * + */ + public Optional> directIpv6() { + return Optional.ofNullable(this.directIpv6); + } + + /** + * Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Defines the routing protocol type like BGP or DIRECT + * + */ + @Import(name="type") + private @Nullable Output type; + + /** + * @return Defines the routing protocol type like BGP or DIRECT + * + */ + public Optional> type() { + return Optional.ofNullable(this.type); + } + + /** + * Equinix-assigned routing protocol identifier + * + */ + @Import(name="uuid") + private @Nullable Output uuid; + + /** + * @return Equinix-assigned routing protocol identifier + * + */ + public Optional> uuid() { + return Optional.ofNullable(this.uuid); + } + + private RoutingProtocolArgs() {} + + private RoutingProtocolArgs(RoutingProtocolArgs $) { + this.bfd = $.bfd; + this.bgpAuthKey = $.bgpAuthKey; + this.bgpIpv4 = $.bgpIpv4; + this.bgpIpv6 = $.bgpIpv6; + this.connectionUuid = $.connectionUuid; + this.customerAsn = $.customerAsn; + this.description = $.description; + this.directIpv4 = $.directIpv4; + this.directIpv6 = $.directIpv6; + this.name = $.name; + this.type = $.type; + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RoutingProtocolArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RoutingProtocolArgs $; + + public Builder() { + $ = new RoutingProtocolArgs(); + } + + public Builder(RoutingProtocolArgs defaults) { + $ = new RoutingProtocolArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param bfd Bidirectional Forwarding Detection + * + * @return builder + * + */ + public Builder bfd(@Nullable Output bfd) { + $.bfd = bfd; + return this; + } + + /** + * @param bfd Bidirectional Forwarding Detection + * + * @return builder + * + */ + public Builder bfd(RoutingProtocolBfdArgs bfd) { + return bfd(Output.of(bfd)); + } + + /** + * @param bgpAuthKey BGP authorization key + * + * @return builder + * + */ + public Builder bgpAuthKey(@Nullable Output bgpAuthKey) { + $.bgpAuthKey = bgpAuthKey; + return this; + } + + /** + * @param bgpAuthKey BGP authorization key + * + * @return builder + * + */ + public Builder bgpAuthKey(String bgpAuthKey) { + return bgpAuthKey(Output.of(bgpAuthKey)); + } + + /** + * @param bgpIpv4 Routing Protocol BGP IPv4 + * + * @return builder + * + */ + public Builder bgpIpv4(@Nullable Output bgpIpv4) { + $.bgpIpv4 = bgpIpv4; + return this; + } + + /** + * @param bgpIpv4 Routing Protocol BGP IPv4 + * + * @return builder + * + */ + public Builder bgpIpv4(RoutingProtocolBgpIpv4Args bgpIpv4) { + return bgpIpv4(Output.of(bgpIpv4)); + } + + /** + * @param bgpIpv6 Routing Protocol BGP IPv6 + * + * @return builder + * + */ + public Builder bgpIpv6(@Nullable Output bgpIpv6) { + $.bgpIpv6 = bgpIpv6; + return this; + } + + /** + * @param bgpIpv6 Routing Protocol BGP IPv6 + * + * @return builder + * + */ + public Builder bgpIpv6(RoutingProtocolBgpIpv6Args bgpIpv6) { + return bgpIpv6(Output.of(bgpIpv6)); + } + + /** + * @param connectionUuid Connection URI associated with Routing Protocol + * + * @return builder + * + */ + public Builder connectionUuid(Output connectionUuid) { + $.connectionUuid = connectionUuid; + return this; + } + + /** + * @param connectionUuid Connection URI associated with Routing Protocol + * + * @return builder + * + */ + public Builder connectionUuid(String connectionUuid) { + return connectionUuid(Output.of(connectionUuid)); + } + + /** + * @param customerAsn Customer-provided ASN + * + * @return builder + * + */ + public Builder customerAsn(@Nullable Output customerAsn) { + $.customerAsn = customerAsn; + return this; + } + + /** + * @param customerAsn Customer-provided ASN + * + * @return builder + * + */ + public Builder customerAsn(Integer customerAsn) { + return customerAsn(Output.of(customerAsn)); + } + + /** + * @param description Customer-provided Fabric Routing Protocol description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Customer-provided Fabric Routing Protocol description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param directIpv4 Routing Protocol Direct IPv4 + * + * @return builder + * + */ + public Builder directIpv4(@Nullable Output directIpv4) { + $.directIpv4 = directIpv4; + return this; + } + + /** + * @param directIpv4 Routing Protocol Direct IPv4 + * + * @return builder + * + */ + public Builder directIpv4(RoutingProtocolDirectIpv4Args directIpv4) { + return directIpv4(Output.of(directIpv4)); + } + + /** + * @param directIpv6 Routing Protocol Direct IPv6 + * + * @return builder + * + */ + public Builder directIpv6(@Nullable Output directIpv6) { + $.directIpv6 = directIpv6; + return this; + } + + /** + * @param directIpv6 Routing Protocol Direct IPv6 + * + * @return builder + * + */ + public Builder directIpv6(RoutingProtocolDirectIpv6Args directIpv6) { + return directIpv6(Output.of(directIpv6)); + } + + /** + * @param name Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param type Defines the routing protocol type like BGP or DIRECT + * + * @return builder + * + */ + public Builder type(@Nullable Output type) { + $.type = type; + return this; + } + + /** + * @param type Defines the routing protocol type like BGP or DIRECT + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + /** + * @param uuid Equinix-assigned routing protocol identifier + * + * @return builder + * + */ + public Builder uuid(@Nullable Output uuid) { + $.uuid = uuid; + return this; + } + + /** + * @param uuid Equinix-assigned routing protocol identifier + * + * @return builder + * + */ + public Builder uuid(String uuid) { + return uuid(Output.of(uuid)); + } + + public RoutingProtocolArgs build() { + $.connectionUuid = Objects.requireNonNull($.connectionUuid, "expected parameter 'connectionUuid' to be non-null"); + return $; + } + } + +} 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 21ba5524..4adfb546 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 @@ -169,28 +169,28 @@ public Output>> customFields() { return Codegen.optional(this.customFields); } /** - * User-provided service description + * Description * */ @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** - * @return User-provided service description + * @return Description * */ public Output description() { return this.description; } /** - * Service Profile URI response attribute + * Unique Resource URL * */ @Export(name="href", refs={String.class}, tree="[0]") private Output href; /** - * @return Service Profile URI response attribute + * @return Unique Resource URL * */ public Output href() { @@ -225,14 +225,14 @@ public Output>> metros() { return Codegen.optional(this.metros); } /** - * Customer-assigned service profile name + * Metro Name * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** - * @return Customer-assigned service profile name + * @return Metro Name * */ public Output name() { @@ -323,28 +323,28 @@ public Output>> tags() { return Codegen.optional(this.tags); } /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * Type of access point type config - VD, COLO * */ @Export(name="type", refs={String.class}, tree="[0]") private Output type; /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @return Type of access point type config - VD, COLO * */ public Output type() { return this.type; } /** - * Equinix assigned service profile identifier + * Colo/Port Uuid * */ @Export(name="uuid", refs={String.class}, tree="[0]") private Output uuid; /** - * @return Equinix assigned service profile identifier + * @return Colo/Port Uuid * */ public Output uuid() { 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 31f56048..d1dd56ea 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 @@ -91,14 +91,14 @@ public Optional>> customFields() { } /** - * User-provided service description + * Description * */ @Import(name="description", required=true) private Output description; /** - * @return User-provided service description + * @return Description * */ public Output description() { @@ -136,14 +136,14 @@ public Optional>> metros() { } /** - * Customer-assigned service profile name + * Metro Name * */ @Import(name="name") private @Nullable Output name; /** - * @return Customer-assigned service profile name + * @return Metro Name * */ public Optional> name() { @@ -241,14 +241,14 @@ public Optional>> tags() { } /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * Type of access point type config - VD, COLO * */ @Import(name="type", required=true) private Output> type; /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @return Type of access point type config - VD, COLO * */ public Output> type() { @@ -440,7 +440,7 @@ public Builder customFields(ServiceProfileCustomFieldArgs... customFields) { } /** - * @param description User-provided service description + * @param description Description * * @return builder * @@ -451,7 +451,7 @@ public Builder description(Output description) { } /** - * @param description User-provided service description + * @param description Description * * @return builder * @@ -513,7 +513,7 @@ public Builder metros(ServiceProfileMetroArgs... metros) { } /** - * @param name Customer-assigned service profile name + * @param name Metro Name * * @return builder * @@ -524,7 +524,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Customer-assigned service profile name + * @param name Metro Name * * @return builder * @@ -710,7 +710,7 @@ public Builder tags(String... tags) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Type of access point type config - VD, COLO * * @return builder * @@ -721,7 +721,7 @@ public Builder type(Output> type) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Type of access point type config - VD, COLO * * @return builder * @@ -731,7 +731,7 @@ public Builder type(Either type) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Type of access point type config - VD, COLO * * @return builder * @@ -741,7 +741,7 @@ public Builder type(String type) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Type of access point type config - VD, COLO * * @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 new file mode 100644 index 00000000..831ab162 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterAccountArgs.java @@ -0,0 +1,83 @@ +// *** 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 java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CloudRouterAccountArgs extends com.pulumi.resources.ResourceArgs { + + public static final CloudRouterAccountArgs Empty = new CloudRouterAccountArgs(); + + /** + * Account Number + * + */ + @Import(name="accountNumber") + private @Nullable Output accountNumber; + + /** + * @return Account Number + * + */ + public Optional> accountNumber() { + return Optional.ofNullable(this.accountNumber); + } + + private CloudRouterAccountArgs() {} + + private CloudRouterAccountArgs(CloudRouterAccountArgs $) { + this.accountNumber = $.accountNumber; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CloudRouterAccountArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CloudRouterAccountArgs $; + + public Builder() { + $ = new CloudRouterAccountArgs(); + } + + public Builder(CloudRouterAccountArgs defaults) { + $ = new CloudRouterAccountArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param accountNumber Account Number + * + * @return builder + * + */ + public Builder accountNumber(@Nullable Output accountNumber) { + $.accountNumber = accountNumber; + return this; + } + + /** + * @param accountNumber Account Number + * + * @return builder + * + */ + public Builder accountNumber(Integer accountNumber) { + return accountNumber(Output.of(accountNumber)); + } + + public CloudRouterAccountArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterChangeLogArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterChangeLogArgs.java new file mode 100644 index 00000000..c6ca04c1 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterChangeLogArgs.java @@ -0,0 +1,250 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CloudRouterChangeLogArgs extends com.pulumi.resources.ResourceArgs { + + public static final CloudRouterChangeLogArgs Empty = new CloudRouterChangeLogArgs(); + + @Import(name="createdBy") + private @Nullable Output createdBy; + + public Optional> createdBy() { + return Optional.ofNullable(this.createdBy); + } + + @Import(name="createdByEmail") + private @Nullable Output createdByEmail; + + public Optional> createdByEmail() { + return Optional.ofNullable(this.createdByEmail); + } + + @Import(name="createdByFullName") + private @Nullable Output createdByFullName; + + public Optional> createdByFullName() { + return Optional.ofNullable(this.createdByFullName); + } + + @Import(name="createdDateTime") + private @Nullable Output createdDateTime; + + public Optional> createdDateTime() { + return Optional.ofNullable(this.createdDateTime); + } + + @Import(name="deletedBy") + private @Nullable Output deletedBy; + + public Optional> deletedBy() { + return Optional.ofNullable(this.deletedBy); + } + + @Import(name="deletedByEmail") + private @Nullable Output deletedByEmail; + + public Optional> deletedByEmail() { + return Optional.ofNullable(this.deletedByEmail); + } + + @Import(name="deletedByFullName") + private @Nullable Output deletedByFullName; + + public Optional> deletedByFullName() { + return Optional.ofNullable(this.deletedByFullName); + } + + @Import(name="deletedDateTime") + private @Nullable Output deletedDateTime; + + public Optional> deletedDateTime() { + return Optional.ofNullable(this.deletedDateTime); + } + + @Import(name="updatedBy") + private @Nullable Output updatedBy; + + public Optional> updatedBy() { + return Optional.ofNullable(this.updatedBy); + } + + @Import(name="updatedByEmail") + private @Nullable Output updatedByEmail; + + public Optional> updatedByEmail() { + return Optional.ofNullable(this.updatedByEmail); + } + + @Import(name="updatedByFullName") + private @Nullable Output updatedByFullName; + + public Optional> updatedByFullName() { + return Optional.ofNullable(this.updatedByFullName); + } + + @Import(name="updatedDateTime") + private @Nullable Output updatedDateTime; + + public Optional> updatedDateTime() { + return Optional.ofNullable(this.updatedDateTime); + } + + private CloudRouterChangeLogArgs() {} + + private CloudRouterChangeLogArgs(CloudRouterChangeLogArgs $) { + this.createdBy = $.createdBy; + this.createdByEmail = $.createdByEmail; + this.createdByFullName = $.createdByFullName; + this.createdDateTime = $.createdDateTime; + this.deletedBy = $.deletedBy; + this.deletedByEmail = $.deletedByEmail; + this.deletedByFullName = $.deletedByFullName; + this.deletedDateTime = $.deletedDateTime; + this.updatedBy = $.updatedBy; + this.updatedByEmail = $.updatedByEmail; + this.updatedByFullName = $.updatedByFullName; + this.updatedDateTime = $.updatedDateTime; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CloudRouterChangeLogArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CloudRouterChangeLogArgs $; + + public Builder() { + $ = new CloudRouterChangeLogArgs(); + } + + public Builder(CloudRouterChangeLogArgs defaults) { + $ = new CloudRouterChangeLogArgs(Objects.requireNonNull(defaults)); + } + + public Builder createdBy(@Nullable Output createdBy) { + $.createdBy = createdBy; + return this; + } + + public Builder createdBy(String createdBy) { + return createdBy(Output.of(createdBy)); + } + + public Builder createdByEmail(@Nullable Output createdByEmail) { + $.createdByEmail = createdByEmail; + return this; + } + + public Builder createdByEmail(String createdByEmail) { + return createdByEmail(Output.of(createdByEmail)); + } + + public Builder createdByFullName(@Nullable Output createdByFullName) { + $.createdByFullName = createdByFullName; + return this; + } + + public Builder createdByFullName(String createdByFullName) { + return createdByFullName(Output.of(createdByFullName)); + } + + public Builder createdDateTime(@Nullable Output createdDateTime) { + $.createdDateTime = createdDateTime; + return this; + } + + public Builder createdDateTime(String createdDateTime) { + return createdDateTime(Output.of(createdDateTime)); + } + + public Builder deletedBy(@Nullable Output deletedBy) { + $.deletedBy = deletedBy; + return this; + } + + public Builder deletedBy(String deletedBy) { + return deletedBy(Output.of(deletedBy)); + } + + public Builder deletedByEmail(@Nullable Output deletedByEmail) { + $.deletedByEmail = deletedByEmail; + return this; + } + + public Builder deletedByEmail(String deletedByEmail) { + return deletedByEmail(Output.of(deletedByEmail)); + } + + public Builder deletedByFullName(@Nullable Output deletedByFullName) { + $.deletedByFullName = deletedByFullName; + return this; + } + + public Builder deletedByFullName(String deletedByFullName) { + return deletedByFullName(Output.of(deletedByFullName)); + } + + public Builder deletedDateTime(@Nullable Output deletedDateTime) { + $.deletedDateTime = deletedDateTime; + return this; + } + + public Builder deletedDateTime(String deletedDateTime) { + return deletedDateTime(Output.of(deletedDateTime)); + } + + public Builder updatedBy(@Nullable Output updatedBy) { + $.updatedBy = updatedBy; + return this; + } + + public Builder updatedBy(String updatedBy) { + return updatedBy(Output.of(updatedBy)); + } + + public Builder updatedByEmail(@Nullable Output updatedByEmail) { + $.updatedByEmail = updatedByEmail; + return this; + } + + public Builder updatedByEmail(String updatedByEmail) { + return updatedByEmail(Output.of(updatedByEmail)); + } + + public Builder updatedByFullName(@Nullable Output updatedByFullName) { + $.updatedByFullName = updatedByFullName; + return this; + } + + public Builder updatedByFullName(String updatedByFullName) { + return updatedByFullName(Output.of(updatedByFullName)); + } + + public Builder updatedDateTime(@Nullable Output updatedDateTime) { + $.updatedDateTime = updatedDateTime; + return this; + } + + public Builder updatedDateTime(String updatedDateTime) { + return updatedDateTime(Output.of(updatedDateTime)); + } + + public CloudRouterChangeLogArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterLocationArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterLocationArgs.java new file mode 100644 index 00000000..f62f58ce --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterLocationArgs.java @@ -0,0 +1,194 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CloudRouterLocationArgs extends com.pulumi.resources.ResourceArgs { + + public static final CloudRouterLocationArgs Empty = new CloudRouterLocationArgs(); + + /** + * IBX Code + * + */ + @Import(name="ibx") + private @Nullable Output ibx; + + /** + * @return IBX Code + * + */ + public Optional> ibx() { + return Optional.ofNullable(this.ibx); + } + + /** + * Access point metro code + * + */ + @Import(name="metroCode") + private @Nullable Output metroCode; + + /** + * @return Access point metro code + * + */ + public Optional> metroCode() { + return Optional.ofNullable(this.metroCode); + } + + /** + * Access point metro name + * + */ + @Import(name="metroName") + private @Nullable Output metroName; + + /** + * @return Access point metro name + * + */ + public Optional> metroName() { + return Optional.ofNullable(this.metroName); + } + + /** + * Access point region + * + */ + @Import(name="region") + private @Nullable Output region; + + /** + * @return Access point region + * + */ + public Optional> region() { + return Optional.ofNullable(this.region); + } + + private CloudRouterLocationArgs() {} + + private CloudRouterLocationArgs(CloudRouterLocationArgs $) { + this.ibx = $.ibx; + this.metroCode = $.metroCode; + this.metroName = $.metroName; + this.region = $.region; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CloudRouterLocationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CloudRouterLocationArgs $; + + public Builder() { + $ = new CloudRouterLocationArgs(); + } + + public Builder(CloudRouterLocationArgs defaults) { + $ = new CloudRouterLocationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param ibx IBX Code + * + * @return builder + * + */ + public Builder ibx(@Nullable Output ibx) { + $.ibx = ibx; + return this; + } + + /** + * @param ibx IBX Code + * + * @return builder + * + */ + public Builder ibx(String ibx) { + return ibx(Output.of(ibx)); + } + + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ + public Builder metroCode(@Nullable Output metroCode) { + $.metroCode = metroCode; + return this; + } + + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ + public Builder metroCode(String metroCode) { + return metroCode(Output.of(metroCode)); + } + + /** + * @param metroName Access point metro name + * + * @return builder + * + */ + public Builder metroName(@Nullable Output metroName) { + $.metroName = metroName; + return this; + } + + /** + * @param metroName Access point metro name + * + * @return builder + * + */ + public Builder metroName(String metroName) { + return metroName(Output.of(metroName)); + } + + /** + * @param region Access point region + * + * @return builder + * + */ + public Builder region(@Nullable Output region) { + $.region = region; + return this; + } + + /** + * @param region Access point region + * + * @return builder + * + */ + public Builder region(String region) { + return region(Output.of(region)); + } + + public CloudRouterLocationArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterNotificationArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterNotificationArgs.java new file mode 100644 index 00000000..e10143de --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterNotificationArgs.java @@ -0,0 +1,170 @@ +// *** 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 java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CloudRouterNotificationArgs extends com.pulumi.resources.ResourceArgs { + + public static final CloudRouterNotificationArgs Empty = new CloudRouterNotificationArgs(); + + /** + * Array of contact emails + * + */ + @Import(name="emails", required=true) + private Output> emails; + + /** + * @return Array of contact emails + * + */ + public Output> emails() { + return this.emails; + } + + /** + * Send interval + * + */ + @Import(name="sendInterval") + private @Nullable Output sendInterval; + + /** + * @return Send interval + * + */ + public Optional> sendInterval() { + return Optional.ofNullable(this.sendInterval); + } + + /** + * Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + */ + public Output type() { + return this.type; + } + + private CloudRouterNotificationArgs() {} + + private CloudRouterNotificationArgs(CloudRouterNotificationArgs $) { + this.emails = $.emails; + this.sendInterval = $.sendInterval; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CloudRouterNotificationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CloudRouterNotificationArgs $; + + public Builder() { + $ = new CloudRouterNotificationArgs(); + } + + public Builder(CloudRouterNotificationArgs defaults) { + $ = new CloudRouterNotificationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param emails Array of contact emails + * + * @return builder + * + */ + public Builder emails(Output> emails) { + $.emails = emails; + return this; + } + + /** + * @param emails Array of contact emails + * + * @return builder + * + */ + public Builder emails(List emails) { + return emails(Output.of(emails)); + } + + /** + * @param emails Array of contact emails + * + * @return builder + * + */ + public Builder emails(String... emails) { + return emails(List.of(emails)); + } + + /** + * @param sendInterval Send interval + * + * @return builder + * + */ + public Builder sendInterval(@Nullable Output sendInterval) { + $.sendInterval = sendInterval; + return this; + } + + /** + * @param sendInterval Send interval + * + * @return builder + * + */ + public Builder sendInterval(String sendInterval) { + return sendInterval(Output.of(sendInterval)); + } + + /** + * @param type Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public CloudRouterNotificationArgs build() { + $.emails = Objects.requireNonNull($.emails, "expected parameter 'emails' to be non-null"); + $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterOrderArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterOrderArgs.java new file mode 100644 index 00000000..8a87ee46 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterOrderArgs.java @@ -0,0 +1,194 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CloudRouterOrderArgs extends com.pulumi.resources.ResourceArgs { + + public static final CloudRouterOrderArgs Empty = new CloudRouterOrderArgs(); + + /** + * Billing tier for connection bandwidth + * + */ + @Import(name="billingTier") + private @Nullable Output billingTier; + + /** + * @return Billing tier for connection bandwidth + * + */ + public Optional> billingTier() { + return Optional.ofNullable(this.billingTier); + } + + /** + * Order Identification + * + */ + @Import(name="orderId") + private @Nullable Output orderId; + + /** + * @return Order Identification + * + */ + public Optional> orderId() { + return Optional.ofNullable(this.orderId); + } + + /** + * Order Reference Number + * + */ + @Import(name="orderNumber") + private @Nullable Output orderNumber; + + /** + * @return Order Reference Number + * + */ + public Optional> orderNumber() { + return Optional.ofNullable(this.orderNumber); + } + + /** + * Purchase order number + * + */ + @Import(name="purchaseOrderNumber") + private @Nullable Output purchaseOrderNumber; + + /** + * @return Purchase order number + * + */ + public Optional> purchaseOrderNumber() { + return Optional.ofNullable(this.purchaseOrderNumber); + } + + private CloudRouterOrderArgs() {} + + private CloudRouterOrderArgs(CloudRouterOrderArgs $) { + this.billingTier = $.billingTier; + this.orderId = $.orderId; + this.orderNumber = $.orderNumber; + this.purchaseOrderNumber = $.purchaseOrderNumber; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CloudRouterOrderArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CloudRouterOrderArgs $; + + public Builder() { + $ = new CloudRouterOrderArgs(); + } + + public Builder(CloudRouterOrderArgs defaults) { + $ = new CloudRouterOrderArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param billingTier Billing tier for connection bandwidth + * + * @return builder + * + */ + public Builder billingTier(@Nullable Output billingTier) { + $.billingTier = billingTier; + return this; + } + + /** + * @param billingTier Billing tier for connection bandwidth + * + * @return builder + * + */ + public Builder billingTier(String billingTier) { + return billingTier(Output.of(billingTier)); + } + + /** + * @param orderId Order Identification + * + * @return builder + * + */ + public Builder orderId(@Nullable Output orderId) { + $.orderId = orderId; + return this; + } + + /** + * @param orderId Order Identification + * + * @return builder + * + */ + public Builder orderId(String orderId) { + return orderId(Output.of(orderId)); + } + + /** + * @param orderNumber Order Reference Number + * + * @return builder + * + */ + public Builder orderNumber(@Nullable Output orderNumber) { + $.orderNumber = orderNumber; + return this; + } + + /** + * @param orderNumber Order Reference Number + * + * @return builder + * + */ + public Builder orderNumber(String orderNumber) { + return orderNumber(Output.of(orderNumber)); + } + + /** + * @param purchaseOrderNumber Purchase order number + * + * @return builder + * + */ + public Builder purchaseOrderNumber(@Nullable Output purchaseOrderNumber) { + $.purchaseOrderNumber = purchaseOrderNumber; + return this; + } + + /** + * @param purchaseOrderNumber Purchase order number + * + * @return builder + * + */ + public Builder purchaseOrderNumber(String purchaseOrderNumber) { + return purchaseOrderNumber(Output.of(purchaseOrderNumber)); + } + + public CloudRouterOrderArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterPackageArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterPackageArgs.java new file mode 100644 index 00000000..bf37f3ed --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterPackageArgs.java @@ -0,0 +1,82 @@ +// *** 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 java.lang.String; +import java.util.Objects; + + +public final class CloudRouterPackageArgs extends com.pulumi.resources.ResourceArgs { + + public static final CloudRouterPackageArgs Empty = new CloudRouterPackageArgs(); + + /** + * Fabric Cloud Router package code + * + */ + @Import(name="code", required=true) + private Output code; + + /** + * @return Fabric Cloud Router package code + * + */ + public Output code() { + return this.code; + } + + private CloudRouterPackageArgs() {} + + private CloudRouterPackageArgs(CloudRouterPackageArgs $) { + this.code = $.code; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CloudRouterPackageArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CloudRouterPackageArgs $; + + public Builder() { + $ = new CloudRouterPackageArgs(); + } + + public Builder(CloudRouterPackageArgs defaults) { + $ = new CloudRouterPackageArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param code Fabric Cloud Router package code + * + * @return builder + * + */ + public Builder code(Output code) { + $.code = code; + return this; + } + + /** + * @param code Fabric Cloud Router package code + * + * @return builder + * + */ + public Builder code(String code) { + return code(Output.of(code)); + } + + public CloudRouterPackageArgs build() { + $.code = Objects.requireNonNull($.code, "expected parameter 'code' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterProjectArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterProjectArgs.java new file mode 100644 index 00000000..3ec2f1a6 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterProjectArgs.java @@ -0,0 +1,120 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CloudRouterProjectArgs extends com.pulumi.resources.ResourceArgs { + + public static final CloudRouterProjectArgs Empty = new CloudRouterProjectArgs(); + + /** + * Unique Resource URL + * + */ + @Import(name="href") + private @Nullable Output href; + + /** + * @return Unique Resource URL + * + */ + public Optional> href() { + return Optional.ofNullable(this.href); + } + + /** + * Project Id + * + */ + @Import(name="projectId") + private @Nullable Output projectId; + + /** + * @return Project Id + * + */ + public Optional> projectId() { + return Optional.ofNullable(this.projectId); + } + + private CloudRouterProjectArgs() {} + + private CloudRouterProjectArgs(CloudRouterProjectArgs $) { + this.href = $.href; + this.projectId = $.projectId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CloudRouterProjectArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CloudRouterProjectArgs $; + + public Builder() { + $ = new CloudRouterProjectArgs(); + } + + public Builder(CloudRouterProjectArgs defaults) { + $ = new CloudRouterProjectArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param href Unique Resource URL + * + * @return builder + * + */ + public Builder href(@Nullable Output href) { + $.href = href; + return this; + } + + /** + * @param href Unique Resource URL + * + * @return builder + * + */ + public Builder href(String href) { + return href(Output.of(href)); + } + + /** + * @param projectId Project Id + * + * @return builder + * + */ + public Builder projectId(@Nullable Output projectId) { + $.projectId = projectId; + return this; + } + + /** + * @param projectId Project Id + * + * @return builder + * + */ + public Builder projectId(String projectId) { + return projectId(Output.of(projectId)); + } + + public CloudRouterProjectArgs build() { + 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 new file mode 100644 index 00000000..949d710b --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterState.java @@ -0,0 +1,566 @@ +// *** 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.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.CloudRouterNotificationArgs; +import com.equinix.pulumi.fabric.inputs.CloudRouterOrderArgs; +import com.equinix.pulumi.fabric.inputs.CloudRouterPackageArgs; +import com.equinix.pulumi.fabric.inputs.CloudRouterProjectArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CloudRouterState extends com.pulumi.resources.ResourceArgs { + + public static final CloudRouterState Empty = new CloudRouterState(); + + /** + * Customer account information that is associated with this Fabric Cloud Router + * + */ + @Import(name="account") + private @Nullable Output account; + + /** + * @return Customer account information that is associated with this Fabric Cloud Router + * + */ + public Optional> account() { + return Optional.ofNullable(this.account); + } + + /** + * Captures Fabric Cloud Router lifecycle change information + * + */ + @Import(name="changeLogs") + private @Nullable Output> changeLogs; + + /** + * @return Captures Fabric Cloud Router lifecycle change information + * + */ + public Optional>> changeLogs() { + return Optional.ofNullable(this.changeLogs); + } + + /** + * Customer-provided Fabric Cloud Router description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Customer-provided Fabric Cloud Router description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Equinix ASN + * + */ + @Import(name="equinixAsn") + private @Nullable Output equinixAsn; + + /** + * @return Equinix ASN + * + */ + public Optional> equinixAsn() { + return Optional.ofNullable(this.equinixAsn); + } + + /** + * Unique Resource URL + * + */ + @Import(name="href") + private @Nullable Output href; + + /** + * @return Unique Resource URL + * + */ + public Optional> href() { + return Optional.ofNullable(this.href); + } + + /** + * Fabric Cloud Router location + * + */ + @Import(name="location") + private @Nullable Output location; + + /** + * @return Fabric Cloud Router location + * + */ + public Optional> location() { + return Optional.ofNullable(this.location); + } + + /** + * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Preferences for notifications on Fabric Cloud Router configuration or status changes + * + */ + @Import(name="notifications") + private @Nullable Output> notifications; + + /** + * @return Preferences for notifications on Fabric Cloud Router configuration or status changes + * + */ + public Optional>> notifications() { + return Optional.ofNullable(this.notifications); + } + + /** + * Order information related to this Fabric Cloud Router + * + */ + @Import(name="order") + private @Nullable Output order; + + /** + * @return Order information related to this Fabric Cloud Router + * + */ + public Optional> order() { + return Optional.ofNullable(this.order); + } + + /** + * Fabric Cloud Router package + * + */ + @Import(name="package") + private @Nullable Output package_; + + /** + * @return Fabric Cloud Router package + * + */ + public Optional> package_() { + return Optional.ofNullable(this.package_); + } + + /** + * Fabric Cloud Router project + * + */ + @Import(name="projects") + private @Nullable Output> projects; + + /** + * @return Fabric Cloud Router project + * + */ + public Optional>> projects() { + return Optional.ofNullable(this.projects); + } + + /** + * Fabric Cloud Router overall state + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return Fabric Cloud Router overall state + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + */ + @Import(name="type") + private @Nullable Output type; + + /** + * @return Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + */ + public Optional> type() { + return Optional.ofNullable(this.type); + } + + private CloudRouterState() {} + + private CloudRouterState(CloudRouterState $) { + this.account = $.account; + this.changeLogs = $.changeLogs; + this.description = $.description; + this.equinixAsn = $.equinixAsn; + this.href = $.href; + this.location = $.location; + this.name = $.name; + this.notifications = $.notifications; + this.order = $.order; + this.package_ = $.package_; + this.projects = $.projects; + this.state = $.state; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CloudRouterState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CloudRouterState $; + + public Builder() { + $ = new CloudRouterState(); + } + + public Builder(CloudRouterState defaults) { + $ = new CloudRouterState(Objects.requireNonNull(defaults)); + } + + /** + * @param account Customer account information that is associated with this Fabric Cloud Router + * + * @return builder + * + */ + public Builder account(@Nullable Output account) { + $.account = account; + return this; + } + + /** + * @param account Customer account information that is associated with this Fabric Cloud Router + * + * @return builder + * + */ + public Builder account(CloudRouterAccountArgs account) { + return account(Output.of(account)); + } + + /** + * @param changeLogs Captures Fabric Cloud Router lifecycle change information + * + * @return builder + * + */ + public Builder changeLogs(@Nullable Output> changeLogs) { + $.changeLogs = changeLogs; + return this; + } + + /** + * @param changeLogs Captures Fabric Cloud Router lifecycle change information + * + * @return builder + * + */ + public Builder changeLogs(List changeLogs) { + return changeLogs(Output.of(changeLogs)); + } + + /** + * @param changeLogs Captures Fabric Cloud Router lifecycle change information + * + * @return builder + * + */ + public Builder changeLogs(CloudRouterChangeLogArgs... changeLogs) { + return changeLogs(List.of(changeLogs)); + } + + /** + * @param description Customer-provided Fabric Cloud Router description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Customer-provided Fabric Cloud Router description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param equinixAsn Equinix ASN + * + * @return builder + * + */ + public Builder equinixAsn(@Nullable Output equinixAsn) { + $.equinixAsn = equinixAsn; + return this; + } + + /** + * @param equinixAsn Equinix ASN + * + * @return builder + * + */ + public Builder equinixAsn(Integer equinixAsn) { + return equinixAsn(Output.of(equinixAsn)); + } + + /** + * @param href Unique Resource URL + * + * @return builder + * + */ + public Builder href(@Nullable Output href) { + $.href = href; + return this; + } + + /** + * @param href Unique Resource URL + * + * @return builder + * + */ + public Builder href(String href) { + return href(Output.of(href)); + } + + /** + * @param location Fabric Cloud Router location + * + * @return builder + * + */ + public Builder location(@Nullable Output location) { + $.location = location; + return this; + } + + /** + * @param location Fabric Cloud Router location + * + * @return builder + * + */ + public Builder location(CloudRouterLocationArgs location) { + return location(Output.of(location)); + } + + /** + * @param name Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param notifications Preferences for notifications on Fabric Cloud Router configuration or status changes + * + * @return builder + * + */ + public Builder notifications(@Nullable Output> notifications) { + $.notifications = notifications; + return this; + } + + /** + * @param notifications Preferences for notifications on Fabric Cloud Router configuration or status changes + * + * @return builder + * + */ + public Builder notifications(List notifications) { + return notifications(Output.of(notifications)); + } + + /** + * @param notifications Preferences for notifications on Fabric Cloud Router configuration or status changes + * + * @return builder + * + */ + public Builder notifications(CloudRouterNotificationArgs... notifications) { + return notifications(List.of(notifications)); + } + + /** + * @param order Order information related to this Fabric Cloud Router + * + * @return builder + * + */ + public Builder order(@Nullable Output order) { + $.order = order; + return this; + } + + /** + * @param order Order information related to this Fabric Cloud Router + * + * @return builder + * + */ + public Builder order(CloudRouterOrderArgs order) { + return order(Output.of(order)); + } + + /** + * @param package_ Fabric Cloud Router package + * + * @return builder + * + */ + public Builder package_(@Nullable Output package_) { + $.package_ = package_; + return this; + } + + /** + * @param package_ Fabric Cloud Router package + * + * @return builder + * + */ + public Builder package_(CloudRouterPackageArgs package_) { + return package_(Output.of(package_)); + } + + /** + * @param projects Fabric Cloud Router project + * + * @return builder + * + */ + public Builder projects(@Nullable Output> projects) { + $.projects = projects; + return this; + } + + /** + * @param projects Fabric Cloud Router project + * + * @return builder + * + */ + public Builder projects(List projects) { + return projects(Output.of(projects)); + } + + /** + * @param projects Fabric Cloud Router project + * + * @return builder + * + */ + public Builder projects(CloudRouterProjectArgs... projects) { + return projects(List.of(projects)); + } + + /** + * @param state Fabric Cloud Router overall state + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state Fabric Cloud Router overall state + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param type Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + * @return builder + * + */ + public Builder type(@Nullable Output type) { + $.type = type; + return this; + } + + /** + * @param type Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public CloudRouterState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointArgs.java index 4cc39bcd..8fd4b91b 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointArgs.java @@ -10,8 +10,10 @@ import com.equinix.pulumi.fabric.inputs.ConnectionASideAccessPointInterfaceArgs; import com.equinix.pulumi.fabric.inputs.ConnectionASideAccessPointLinkProtocolArgs; import com.equinix.pulumi.fabric.inputs.ConnectionASideAccessPointLocationArgs; +import com.equinix.pulumi.fabric.inputs.ConnectionASideAccessPointNetworkArgs; import com.equinix.pulumi.fabric.inputs.ConnectionASideAccessPointPortArgs; import com.equinix.pulumi.fabric.inputs.ConnectionASideAccessPointProfileArgs; +import com.equinix.pulumi.fabric.inputs.ConnectionASideAccessPointRouterArgs; import com.equinix.pulumi.fabric.inputs.ConnectionASideAccessPointRoutingProtocolArgs; import com.equinix.pulumi.fabric.inputs.ConnectionASideAccessPointVirtualDeviceArgs; import com.pulumi.core.Either; @@ -29,115 +31,237 @@ public final class ConnectionASideAccessPointArgs extends com.pulumi.resources.R public static final ConnectionASideAccessPointArgs Empty = new ConnectionASideAccessPointArgs(); /** - * Customer account information that is associated with this connection + * Account * */ @Import(name="account") private @Nullable Output account; /** - * @return Customer account information that is associated with this connection + * @return Account * */ public Optional> account() { return Optional.ofNullable(this.account); } + /** + * Authentication key for provider based connections + * + */ @Import(name="authenticationKey") private @Nullable Output authenticationKey; + /** + * @return Authentication key for provider based connections + * + */ public Optional> authenticationKey() { return Optional.ofNullable(this.authenticationKey); } + /** + * @deprecated + * use router attribute instead; gateway is no longer a part of the supported backend + * + */ + @Deprecated /* use router attribute instead; gateway is no longer a part of the supported backend */ @Import(name="gateway") private @Nullable Output gateway; + /** + * @deprecated + * use router attribute instead; gateway is no longer a part of the supported backend + * + */ + @Deprecated /* use router attribute instead; gateway is no longer a part of the supported backend */ public Optional> gateway() { return Optional.ofNullable(this.gateway); } + /** + * Virtual device interface + * + */ @Import(name="interface") private @Nullable Output interface_; + /** + * @return Virtual device interface + * + */ public Optional> interface_() { return Optional.ofNullable(this.interface_); } + /** + * Connection link protocol + * + */ @Import(name="linkProtocol") private @Nullable Output linkProtocol; + /** + * @return Connection link protocol + * + */ public Optional> linkProtocol() { return Optional.ofNullable(this.linkProtocol); } + /** + * Access point location + * + */ @Import(name="location") private @Nullable Output location; + /** + * @return Access point location + * + */ public Optional> location() { return Optional.ofNullable(this.location); } + @Import(name="network") + private @Nullable Output network; + + public Optional> network() { + return Optional.ofNullable(this.network); + } + + /** + * Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + */ @Import(name="peeringType") private @Nullable Output> peeringType; + /** + * @return Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + */ public Optional>> peeringType() { return Optional.ofNullable(this.peeringType); } + /** + * Port access point information + * + */ @Import(name="port") private @Nullable Output port; + /** + * @return Port access point information + * + */ public Optional> port() { return Optional.ofNullable(this.port); } + /** + * Service Profile + * + */ @Import(name="profile") private @Nullable Output profile; + /** + * @return Service Profile + * + */ public Optional> profile() { return Optional.ofNullable(this.profile); } + /** + * Provider assigned Connection Id + * + */ @Import(name="providerConnectionId") private @Nullable Output providerConnectionId; + /** + * @return Provider assigned Connection Id + * + */ public Optional> providerConnectionId() { return Optional.ofNullable(this.providerConnectionId); } + /** + * Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + * + */ + @Import(name="router") + private @Nullable Output router; + + /** + * @return Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + * + */ + public Optional> router() { + return Optional.ofNullable(this.router); + } + + /** + * Access point routing protocols configuration + * + */ @Import(name="routingProtocols") private @Nullable Output> routingProtocols; + /** + * @return Access point routing protocols configuration + * + */ public Optional>> routingProtocols() { return Optional.ofNullable(this.routingProtocols); } + /** + * Access point seller region + * + */ @Import(name="sellerRegion") private @Nullable Output sellerRegion; + /** + * @return Access point seller region + * + */ public Optional> sellerRegion() { return Optional.ofNullable(this.sellerRegion); } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output> type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional>> type() { return Optional.ofNullable(this.type); } + /** + * Virtual device + * + */ @Import(name="virtualDevice") private @Nullable Output virtualDevice; + /** + * @return Virtual device + * + */ public Optional> virtualDevice() { return Optional.ofNullable(this.virtualDevice); } @@ -151,10 +275,12 @@ private ConnectionASideAccessPointArgs(ConnectionASideAccessPointArgs $) { this.interface_ = $.interface_; this.linkProtocol = $.linkProtocol; this.location = $.location; + this.network = $.network; this.peeringType = $.peeringType; this.port = $.port; this.profile = $.profile; this.providerConnectionId = $.providerConnectionId; + this.router = $.router; this.routingProtocols = $.routingProtocols; this.sellerRegion = $.sellerRegion; this.type = $.type; @@ -180,7 +306,7 @@ public Builder(ConnectionASideAccessPointArgs defaults) { } /** - * @param account Customer account information that is associated with this connection + * @param account Account * * @return builder * @@ -191,7 +317,7 @@ public Builder account(@Nullable Output a } /** - * @param account Customer account information that is associated with this connection + * @param account Account * * @return builder * @@ -200,119 +326,303 @@ public Builder account(ConnectionASideAccessPointAccountArgs account) { return account(Output.of(account)); } + /** + * @param authenticationKey Authentication key for provider based connections + * + * @return builder + * + */ public Builder authenticationKey(@Nullable Output authenticationKey) { $.authenticationKey = authenticationKey; return this; } + /** + * @param authenticationKey Authentication key for provider based connections + * + * @return builder + * + */ public Builder authenticationKey(String authenticationKey) { return authenticationKey(Output.of(authenticationKey)); } + /** + * @return builder + * + * @deprecated + * use router attribute instead; gateway is no longer a part of the supported backend + * + */ + @Deprecated /* use router attribute instead; gateway is no longer a part of the supported backend */ public Builder gateway(@Nullable Output gateway) { $.gateway = gateway; return this; } + /** + * @return builder + * + * @deprecated + * use router attribute instead; gateway is no longer a part of the supported backend + * + */ + @Deprecated /* use router attribute instead; gateway is no longer a part of the supported backend */ public Builder gateway(ConnectionASideAccessPointGatewayArgs gateway) { return gateway(Output.of(gateway)); } + /** + * @param interface_ Virtual device interface + * + * @return builder + * + */ public Builder interface_(@Nullable Output interface_) { $.interface_ = interface_; return this; } + /** + * @param interface_ Virtual device interface + * + * @return builder + * + */ public Builder interface_(ConnectionASideAccessPointInterfaceArgs interface_) { return interface_(Output.of(interface_)); } + /** + * @param linkProtocol Connection link protocol + * + * @return builder + * + */ public Builder linkProtocol(@Nullable Output linkProtocol) { $.linkProtocol = linkProtocol; return this; } + /** + * @param linkProtocol Connection link protocol + * + * @return builder + * + */ public Builder linkProtocol(ConnectionASideAccessPointLinkProtocolArgs linkProtocol) { return linkProtocol(Output.of(linkProtocol)); } + /** + * @param location Access point location + * + * @return builder + * + */ public Builder location(@Nullable Output location) { $.location = location; return this; } + /** + * @param location Access point location + * + * @return builder + * + */ public Builder location(ConnectionASideAccessPointLocationArgs location) { return location(Output.of(location)); } + public Builder network(@Nullable Output network) { + $.network = network; + return this; + } + + public Builder network(ConnectionASideAccessPointNetworkArgs network) { + return network(Output.of(network)); + } + + /** + * @param peeringType Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + * @return builder + * + */ public Builder peeringType(@Nullable Output> peeringType) { $.peeringType = peeringType; return this; } + /** + * @param peeringType Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + * @return builder + * + */ public Builder peeringType(Either peeringType) { return peeringType(Output.of(peeringType)); } + /** + * @param peeringType Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + * @return builder + * + */ public Builder peeringType(String peeringType) { return peeringType(Either.ofLeft(peeringType)); } + /** + * @param peeringType Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + * @return builder + * + */ public Builder peeringType(AccessPointPeeringType peeringType) { return peeringType(Either.ofRight(peeringType)); } + /** + * @param port Port access point information + * + * @return builder + * + */ public Builder port(@Nullable Output port) { $.port = port; return this; } + /** + * @param port Port access point information + * + * @return builder + * + */ public Builder port(ConnectionASideAccessPointPortArgs port) { return port(Output.of(port)); } + /** + * @param profile Service Profile + * + * @return builder + * + */ public Builder profile(@Nullable Output profile) { $.profile = profile; return this; } + /** + * @param profile Service Profile + * + * @return builder + * + */ public Builder profile(ConnectionASideAccessPointProfileArgs profile) { return profile(Output.of(profile)); } + /** + * @param providerConnectionId Provider assigned Connection Id + * + * @return builder + * + */ public Builder providerConnectionId(@Nullable Output providerConnectionId) { $.providerConnectionId = providerConnectionId; return this; } + /** + * @param providerConnectionId Provider assigned Connection Id + * + * @return builder + * + */ public Builder providerConnectionId(String providerConnectionId) { return providerConnectionId(Output.of(providerConnectionId)); } + /** + * @param router Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + * + * @return builder + * + */ + public Builder router(@Nullable Output router) { + $.router = router; + return this; + } + + /** + * @param router Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + * + * @return builder + * + */ + public Builder router(ConnectionASideAccessPointRouterArgs router) { + return router(Output.of(router)); + } + + /** + * @param routingProtocols Access point routing protocols configuration + * + * @return builder + * + */ public Builder routingProtocols(@Nullable Output> routingProtocols) { $.routingProtocols = routingProtocols; return this; } + /** + * @param routingProtocols Access point routing protocols configuration + * + * @return builder + * + */ public Builder routingProtocols(List routingProtocols) { return routingProtocols(Output.of(routingProtocols)); } + /** + * @param routingProtocols Access point routing protocols configuration + * + * @return builder + * + */ public Builder routingProtocols(ConnectionASideAccessPointRoutingProtocolArgs... routingProtocols) { return routingProtocols(List.of(routingProtocols)); } + /** + * @param sellerRegion Access point seller region + * + * @return builder + * + */ public Builder sellerRegion(@Nullable Output sellerRegion) { $.sellerRegion = sellerRegion; return this; } + /** + * @param sellerRegion Access point seller region + * + * @return builder + * + */ public Builder sellerRegion(String sellerRegion) { return sellerRegion(Output.of(sellerRegion)); } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -323,7 +633,7 @@ public Builder type(@Nullable Output> type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -333,7 +643,7 @@ public Builder type(Either type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -343,7 +653,7 @@ public Builder type(String type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -352,11 +662,23 @@ public Builder type(AccessPointType type) { return type(Either.ofRight(type)); } + /** + * @param virtualDevice Virtual device + * + * @return builder + * + */ public Builder virtualDevice(@Nullable Output virtualDevice) { $.virtualDevice = virtualDevice; return this; } + /** + * @param virtualDevice Virtual device + * + * @return builder + * + */ public Builder virtualDevice(ConnectionASideAccessPointVirtualDeviceArgs virtualDevice) { return virtualDevice(Output.of(virtualDevice)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointGatewayArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointGatewayArgs.java index f5c4ea50..8ed69257 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointGatewayArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointGatewayArgs.java @@ -16,23 +16,31 @@ public final class ConnectionASideAccessPointGatewayArgs extends com.pulumi.reso public static final ConnectionASideAccessPointGatewayArgs Empty = new ConnectionASideAccessPointGatewayArgs(); /** - * Connection URI information + * Unique Resource Identifier * */ @Import(name="href") private @Nullable Output href; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional> href() { return Optional.ofNullable(this.href); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -63,7 +71,7 @@ public Builder(ConnectionASideAccessPointGatewayArgs defaults) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -74,7 +82,7 @@ public Builder href(@Nullable Output href) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -83,11 +91,23 @@ public Builder href(String href) { return href(Output.of(href)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointInterfaceArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointInterfaceArgs.java index 67876e3c..ee461188 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointInterfaceArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointInterfaceArgs.java @@ -16,14 +16,14 @@ public final class ConnectionASideAccessPointInterfaceArgs extends com.pulumi.re public static final ConnectionASideAccessPointInterfaceArgs Empty = new ConnectionASideAccessPointInterfaceArgs(); /** - * The ID of this resource. + * id * */ @Import(name="id") private @Nullable Output id; /** - * @return The ID of this resource. + * @return id * */ public Optional> id() { @@ -31,23 +31,31 @@ public Optional> id() { } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional> type() { return Optional.ofNullable(this.type); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -79,7 +87,7 @@ public Builder(ConnectionASideAccessPointInterfaceArgs defaults) { } /** - * @param id The ID of this resource. + * @param id id * * @return builder * @@ -90,7 +98,7 @@ public Builder id(@Nullable Output id) { } /** - * @param id The ID of this resource. + * @param id id * * @return builder * @@ -100,7 +108,7 @@ public Builder id(String id) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -111,7 +119,7 @@ public Builder type(@Nullable Output type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -120,11 +128,23 @@ public Builder type(String type) { return type(Output.of(type)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointLinkProtocolArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointLinkProtocolArgs.java index fdc07afe..1a465a80 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointLinkProtocolArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointLinkProtocolArgs.java @@ -19,37 +19,61 @@ public final class ConnectionASideAccessPointLinkProtocolArgs extends com.pulumi public static final ConnectionASideAccessPointLinkProtocolArgs Empty = new ConnectionASideAccessPointLinkProtocolArgs(); /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output> type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional>> type() { return Optional.ofNullable(this.type); } + /** + * Vlan Customer Tag information, vlanCTag value specified for QINQ connections + * + */ @Import(name="vlanCTag") private @Nullable Output vlanCTag; + /** + * @return Vlan Customer Tag information, vlanCTag value specified for QINQ connections + * + */ public Optional> vlanCTag() { return Optional.ofNullable(this.vlanCTag); } + /** + * Vlan Provider Tag information, vlanSTag value specified for QINQ connections + * + */ @Import(name="vlanSTag") private @Nullable Output vlanSTag; + /** + * @return Vlan Provider Tag information, vlanSTag value specified for QINQ connections + * + */ public Optional> vlanSTag() { return Optional.ofNullable(this.vlanSTag); } + /** + * Vlan Tag information, vlanTag value specified for DOT1Q connections + * + */ @Import(name="vlanTag") private @Nullable Output vlanTag; + /** + * @return Vlan Tag information, vlanTag value specified for DOT1Q connections + * + */ public Optional> vlanTag() { return Optional.ofNullable(this.vlanTag); } @@ -82,7 +106,7 @@ public Builder(ConnectionASideAccessPointLinkProtocolArgs defaults) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -93,7 +117,7 @@ public Builder type(@Nullable Output> } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -103,7 +127,7 @@ public Builder type(Either type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -113,7 +137,7 @@ public Builder type(String type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -122,29 +146,65 @@ public Builder type(AccessPointLinkProtocolType type) { return type(Either.ofRight(type)); } + /** + * @param vlanCTag Vlan Customer Tag information, vlanCTag value specified for QINQ connections + * + * @return builder + * + */ public Builder vlanCTag(@Nullable Output vlanCTag) { $.vlanCTag = vlanCTag; return this; } + /** + * @param vlanCTag Vlan Customer Tag information, vlanCTag value specified for QINQ connections + * + * @return builder + * + */ public Builder vlanCTag(Integer vlanCTag) { return vlanCTag(Output.of(vlanCTag)); } + /** + * @param vlanSTag Vlan Provider Tag information, vlanSTag value specified for QINQ connections + * + * @return builder + * + */ public Builder vlanSTag(@Nullable Output vlanSTag) { $.vlanSTag = vlanSTag; return this; } + /** + * @param vlanSTag Vlan Provider Tag information, vlanSTag value specified for QINQ connections + * + * @return builder + * + */ public Builder vlanSTag(Integer vlanSTag) { return vlanSTag(Output.of(vlanSTag)); } + /** + * @param vlanTag Vlan Tag information, vlanTag value specified for DOT1Q connections + * + * @return builder + * + */ public Builder vlanTag(@Nullable Output vlanTag) { $.vlanTag = vlanTag; return this; } + /** + * @param vlanTag Vlan Tag information, vlanTag value specified for DOT1Q connections + * + * @return builder + * + */ public Builder vlanTag(Integer vlanTag) { return vlanTag(Output.of(vlanTag)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointLocationArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointLocationArgs.java index 452dd974..7638c994 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointLocationArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointLocationArgs.java @@ -17,30 +17,62 @@ public final class ConnectionASideAccessPointLocationArgs extends com.pulumi.res public static final ConnectionASideAccessPointLocationArgs Empty = new ConnectionASideAccessPointLocationArgs(); + /** + * IBX Code + * + */ @Import(name="ibx") private @Nullable Output ibx; + /** + * @return IBX Code + * + */ public Optional> ibx() { return Optional.ofNullable(this.ibx); } + /** + * Access point metro code + * + */ @Import(name="metroCode") private @Nullable Output> metroCode; + /** + * @return Access point metro code + * + */ public Optional>> metroCode() { return Optional.ofNullable(this.metroCode); } + /** + * Access point metro name + * + */ @Import(name="metroName") private @Nullable Output metroName; + /** + * @return Access point metro name + * + */ public Optional> metroName() { return Optional.ofNullable(this.metroName); } + /** + * Access point region + * + */ @Import(name="region") private @Nullable Output region; + /** + * @return Access point region + * + */ public Optional> region() { return Optional.ofNullable(this.region); } @@ -72,46 +104,106 @@ public Builder(ConnectionASideAccessPointLocationArgs defaults) { $ = new ConnectionASideAccessPointLocationArgs(Objects.requireNonNull(defaults)); } + /** + * @param ibx IBX Code + * + * @return builder + * + */ public Builder ibx(@Nullable Output ibx) { $.ibx = ibx; return this; } + /** + * @param ibx IBX Code + * + * @return builder + * + */ public Builder ibx(String ibx) { return ibx(Output.of(ibx)); } + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ public Builder metroCode(@Nullable Output> metroCode) { $.metroCode = metroCode; return this; } + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ public Builder metroCode(Either metroCode) { return metroCode(Output.of(metroCode)); } + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ public Builder metroCode(String metroCode) { return metroCode(Either.ofLeft(metroCode)); } + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ public Builder metroCode(Metro metroCode) { return metroCode(Either.ofRight(metroCode)); } + /** + * @param metroName Access point metro name + * + * @return builder + * + */ public Builder metroName(@Nullable Output metroName) { $.metroName = metroName; return this; } + /** + * @param metroName Access point metro name + * + * @return builder + * + */ public Builder metroName(String metroName) { return metroName(Output.of(metroName)); } + /** + * @param region Access point region + * + * @return builder + * + */ public Builder region(@Nullable Output region) { $.region = region; return this; } + /** + * @param region Access point region + * + * @return builder + * + */ public Builder region(String region) { return region(Output.of(region)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointNetworkArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointNetworkArgs.java new file mode 100644 index 00000000..a08acd46 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointNetworkArgs.java @@ -0,0 +1,120 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ConnectionASideAccessPointNetworkArgs extends com.pulumi.resources.ResourceArgs { + + public static final ConnectionASideAccessPointNetworkArgs Empty = new ConnectionASideAccessPointNetworkArgs(); + + /** + * Unique Resource Identifier + * + */ + @Import(name="href") + private @Nullable Output href; + + /** + * @return Unique Resource Identifier + * + */ + public Optional> href() { + return Optional.ofNullable(this.href); + } + + /** + * Equinix-assigned interface identifier + * + */ + @Import(name="uuid") + private @Nullable Output uuid; + + /** + * @return Equinix-assigned interface identifier + * + */ + public Optional> uuid() { + return Optional.ofNullable(this.uuid); + } + + private ConnectionASideAccessPointNetworkArgs() {} + + private ConnectionASideAccessPointNetworkArgs(ConnectionASideAccessPointNetworkArgs $) { + this.href = $.href; + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ConnectionASideAccessPointNetworkArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ConnectionASideAccessPointNetworkArgs $; + + public Builder() { + $ = new ConnectionASideAccessPointNetworkArgs(); + } + + public Builder(ConnectionASideAccessPointNetworkArgs defaults) { + $ = new ConnectionASideAccessPointNetworkArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param href Unique Resource Identifier + * + * @return builder + * + */ + public Builder href(@Nullable Output href) { + $.href = href; + return this; + } + + /** + * @param href Unique Resource Identifier + * + * @return builder + * + */ + public Builder href(String href) { + return href(Output.of(href)); + } + + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ + public Builder uuid(@Nullable Output uuid) { + $.uuid = uuid; + return this; + } + + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ + public Builder uuid(String uuid) { + return uuid(Output.of(uuid)); + } + + public ConnectionASideAccessPointNetworkArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointPortArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointPortArgs.java index f0194d15..95cfbcd1 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointPortArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointPortArgs.java @@ -18,14 +18,14 @@ public final class ConnectionASideAccessPointPortArgs extends com.pulumi.resourc public static final ConnectionASideAccessPointPortArgs Empty = new ConnectionASideAccessPointPortArgs(); /** - * Connection URI information + * Unique Resource Identifier * */ @Import(name="href") private @Nullable Output href; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional> href() { @@ -33,14 +33,14 @@ public Optional> href() { } /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name * */ @Import(name="name") private @Nullable Output name; /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ public Optional> name() { @@ -62,9 +62,17 @@ public Optional>> redu return Optional.ofNullable(this.redundancies); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -97,7 +105,7 @@ public Builder(ConnectionASideAccessPointPortArgs defaults) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -108,7 +116,7 @@ public Builder href(@Nullable Output href) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -118,7 +126,7 @@ public Builder href(String href) { } /** - * @param name Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @param name Port name * * @return builder * @@ -129,7 +137,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @param name Port name * * @return builder * @@ -169,11 +177,23 @@ public Builder redundancies(ConnectionASideAccessPointPortRedundancyArgs... redu return redundancies(List.of(redundancies)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointProfileAccessPointTypeConfigArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointProfileAccessPointTypeConfigArgs.java index 008ad20b..75e6ac3d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointProfileAccessPointTypeConfigArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointProfileAccessPointTypeConfigArgs.java @@ -16,23 +16,31 @@ public final class ConnectionASideAccessPointProfileAccessPointTypeConfigArgs ex public static final ConnectionASideAccessPointProfileAccessPointTypeConfigArgs Empty = new ConnectionASideAccessPointProfileAccessPointTypeConfigArgs(); /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional> type() { return Optional.ofNullable(this.type); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -63,7 +71,7 @@ public Builder(ConnectionASideAccessPointProfileAccessPointTypeConfigArgs defaul } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -74,7 +82,7 @@ public Builder type(@Nullable Output type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -83,11 +91,23 @@ public Builder type(String type) { return type(Output.of(type)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointProfileArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointProfileArgs.java index f722a631..e3c729e1 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointProfileArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointProfileArgs.java @@ -19,29 +19,45 @@ public final class ConnectionASideAccessPointProfileArgs extends com.pulumi.reso public static final ConnectionASideAccessPointProfileArgs Empty = new ConnectionASideAccessPointProfileArgs(); + /** + * Access point config information + * + */ @Import(name="accessPointTypeConfigs") private @Nullable Output> accessPointTypeConfigs; + /** + * @return Access point config information + * + */ public Optional>> accessPointTypeConfigs() { return Optional.ofNullable(this.accessPointTypeConfigs); } + /** + * User-provided service description + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return User-provided service description + * + */ public Optional> description() { return Optional.ofNullable(this.description); } /** - * Connection URI information + * Unique Resource Identifier * */ @Import(name="href") private @Nullable Output href; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional> href() { @@ -49,14 +65,14 @@ public Optional> href() { } /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name * */ @Import(name="name") private @Nullable Output name; /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ public Optional> name() { @@ -64,23 +80,31 @@ public Optional> name() { } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type", required=true) private Output> type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Output> type() { return this.type; } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid", required=true) private Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Output uuid() { return this.uuid; } @@ -114,30 +138,60 @@ public Builder(ConnectionASideAccessPointProfileArgs defaults) { $ = new ConnectionASideAccessPointProfileArgs(Objects.requireNonNull(defaults)); } + /** + * @param accessPointTypeConfigs Access point config information + * + * @return builder + * + */ public Builder accessPointTypeConfigs(@Nullable Output> accessPointTypeConfigs) { $.accessPointTypeConfigs = accessPointTypeConfigs; return this; } + /** + * @param accessPointTypeConfigs Access point config information + * + * @return builder + * + */ public Builder accessPointTypeConfigs(List accessPointTypeConfigs) { return accessPointTypeConfigs(Output.of(accessPointTypeConfigs)); } + /** + * @param accessPointTypeConfigs Access point config information + * + * @return builder + * + */ public Builder accessPointTypeConfigs(ConnectionASideAccessPointProfileAccessPointTypeConfigArgs... accessPointTypeConfigs) { return accessPointTypeConfigs(List.of(accessPointTypeConfigs)); } + /** + * @param description User-provided service description + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description User-provided service description + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -148,7 +202,7 @@ public Builder href(@Nullable Output href) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -158,7 +212,7 @@ public Builder href(String href) { } /** - * @param name Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @param name Port name * * @return builder * @@ -169,7 +223,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @param name Port name * * @return builder * @@ -179,7 +233,7 @@ public Builder name(String name) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -190,7 +244,7 @@ public Builder type(Output> type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -200,7 +254,7 @@ public Builder type(Either type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -210,7 +264,7 @@ public Builder type(String type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -219,11 +273,23 @@ public Builder type(ProfileType type) { return type(Either.ofRight(type)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointRouterArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointRouterArgs.java new file mode 100644 index 00000000..d7ed80dd --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointRouterArgs.java @@ -0,0 +1,120 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ConnectionASideAccessPointRouterArgs extends com.pulumi.resources.ResourceArgs { + + public static final ConnectionASideAccessPointRouterArgs Empty = new ConnectionASideAccessPointRouterArgs(); + + /** + * Unique Resource Identifier + * + */ + @Import(name="href") + private @Nullable Output href; + + /** + * @return Unique Resource Identifier + * + */ + public Optional> href() { + return Optional.ofNullable(this.href); + } + + /** + * Equinix-assigned interface identifier + * + */ + @Import(name="uuid") + private @Nullable Output uuid; + + /** + * @return Equinix-assigned interface identifier + * + */ + public Optional> uuid() { + return Optional.ofNullable(this.uuid); + } + + private ConnectionASideAccessPointRouterArgs() {} + + private ConnectionASideAccessPointRouterArgs(ConnectionASideAccessPointRouterArgs $) { + this.href = $.href; + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ConnectionASideAccessPointRouterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ConnectionASideAccessPointRouterArgs $; + + public Builder() { + $ = new ConnectionASideAccessPointRouterArgs(); + } + + public Builder(ConnectionASideAccessPointRouterArgs defaults) { + $ = new ConnectionASideAccessPointRouterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param href Unique Resource Identifier + * + * @return builder + * + */ + public Builder href(@Nullable Output href) { + $.href = href; + return this; + } + + /** + * @param href Unique Resource Identifier + * + * @return builder + * + */ + public Builder href(String href) { + return href(Output.of(href)); + } + + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ + public Builder uuid(@Nullable Output uuid) { + $.uuid = uuid; + return this; + } + + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ + public Builder uuid(String uuid) { + return uuid(Output.of(uuid)); + } + + public ConnectionASideAccessPointRouterArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointRoutingProtocolArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointRoutingProtocolArgs.java index 43173a99..2bf3b9d3 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointRoutingProtocolArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointRoutingProtocolArgs.java @@ -16,14 +16,14 @@ public final class ConnectionASideAccessPointRoutingProtocolArgs extends com.pul public static final ConnectionASideAccessPointRoutingProtocolArgs Empty = new ConnectionASideAccessPointRoutingProtocolArgs(); /** - * Connection overall state + * Routing protocol instance state * */ @Import(name="state") private @Nullable Output state; /** - * @return Connection overall state + * @return Routing protocol instance state * */ public Optional> state() { @@ -31,23 +31,31 @@ public Optional> state() { } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional> type() { return Optional.ofNullable(this.type); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -79,7 +87,7 @@ public Builder(ConnectionASideAccessPointRoutingProtocolArgs defaults) { } /** - * @param state Connection overall state + * @param state Routing protocol instance state * * @return builder * @@ -90,7 +98,7 @@ public Builder state(@Nullable Output state) { } /** - * @param state Connection overall state + * @param state Routing protocol instance state * * @return builder * @@ -100,7 +108,7 @@ public Builder state(String state) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -111,7 +119,7 @@ public Builder type(@Nullable Output type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -120,11 +128,23 @@ public Builder type(String type) { return type(Output.of(type)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointVirtualDeviceArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointVirtualDeviceArgs.java index 4542c104..9efdc8ce 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointVirtualDeviceArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideAccessPointVirtualDeviceArgs.java @@ -16,14 +16,14 @@ public final class ConnectionASideAccessPointVirtualDeviceArgs extends com.pulum public static final ConnectionASideAccessPointVirtualDeviceArgs Empty = new ConnectionASideAccessPointVirtualDeviceArgs(); /** - * Connection URI information + * Unique Resource Identifier * */ @Import(name="href") private @Nullable Output href; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional> href() { @@ -31,23 +31,31 @@ public Optional> href() { } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional> type() { return Optional.ofNullable(this.type); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -79,7 +87,7 @@ public Builder(ConnectionASideAccessPointVirtualDeviceArgs defaults) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -90,7 +98,7 @@ public Builder href(@Nullable Output href) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -100,7 +108,7 @@ public Builder href(String href) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -111,7 +119,7 @@ public Builder type(@Nullable Output type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -120,11 +128,23 @@ public Builder type(String type) { return type(Output.of(type)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideServiceTokenArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideServiceTokenArgs.java index b662574f..5ab7bc26 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideServiceTokenArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionASideServiceTokenArgs.java @@ -17,22 +17,30 @@ public final class ConnectionASideServiceTokenArgs extends com.pulumi.resources. public static final ConnectionASideServiceTokenArgs Empty = new ConnectionASideServiceTokenArgs(); + /** + * User-provided service description + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return User-provided service description + * + */ public Optional> description() { return Optional.ofNullable(this.description); } /** - * Connection URI information + * Unique Resource Identifier * */ @Import(name="href") private @Nullable Output href; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional> href() { @@ -40,23 +48,31 @@ public Optional> href() { } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output> type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional>> type() { return Optional.ofNullable(this.type); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -88,17 +104,29 @@ public Builder(ConnectionASideServiceTokenArgs defaults) { $ = new ConnectionASideServiceTokenArgs(Objects.requireNonNull(defaults)); } + /** + * @param description User-provided service description + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description User-provided service description + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -109,7 +137,7 @@ public Builder href(@Nullable Output href) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -119,7 +147,7 @@ public Builder href(String href) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -130,7 +158,7 @@ public Builder type(@Nullable Output> type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -140,7 +168,7 @@ public Builder type(Either type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -150,7 +178,7 @@ public Builder type(String type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -159,11 +187,23 @@ public Builder type(ServiceTokenType type) { return type(Either.ofRight(type)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionAdditionalInfoArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionAdditionalInfoArgs.java deleted file mode 100644 index aea37c6b..00000000 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionAdditionalInfoArgs.java +++ /dev/null @@ -1,120 +0,0 @@ -// *** 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 java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class ConnectionAdditionalInfoArgs extends com.pulumi.resources.ResourceArgs { - - public static final ConnectionAdditionalInfoArgs Empty = new ConnectionAdditionalInfoArgs(); - - /** - * Additional information key - * - */ - @Import(name="key") - private @Nullable Output key; - - /** - * @return Additional information key - * - */ - public Optional> key() { - return Optional.ofNullable(this.key); - } - - /** - * Additional information value - * - */ - @Import(name="value") - private @Nullable Output value; - - /** - * @return Additional information value - * - */ - public Optional> value() { - return Optional.ofNullable(this.value); - } - - private ConnectionAdditionalInfoArgs() {} - - private ConnectionAdditionalInfoArgs(ConnectionAdditionalInfoArgs $) { - this.key = $.key; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ConnectionAdditionalInfoArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ConnectionAdditionalInfoArgs $; - - public Builder() { - $ = new ConnectionAdditionalInfoArgs(); - } - - public Builder(ConnectionAdditionalInfoArgs defaults) { - $ = new ConnectionAdditionalInfoArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param key Additional information key - * - * @return builder - * - */ - public Builder key(@Nullable Output key) { - $.key = key; - return this; - } - - /** - * @param key Additional information key - * - * @return builder - * - */ - public Builder key(String key) { - return key(Output.of(key)); - } - - /** - * @param value Additional information value - * - * @return builder - * - */ - public Builder value(@Nullable Output value) { - $.value = value; - return this; - } - - /** - * @param value Additional information value - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public ConnectionAdditionalInfoArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionOperationErrorArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionOperationErrorArgs.java index 7f8922f9..02526ef3 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionOperationErrorArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionOperationErrorArgs.java @@ -18,14 +18,14 @@ public final class ConnectionOperationErrorArgs extends com.pulumi.resources.Res public static final ConnectionOperationErrorArgs Empty = new ConnectionOperationErrorArgs(); /** - * Connection additional information + * Connection side additional information * */ @Import(name="additionalInfo") private @Nullable Output> additionalInfo; /** - * @return Connection additional information + * @return Connection side additional information * */ public Optional>> additionalInfo() { @@ -97,7 +97,7 @@ public Builder(ConnectionOperationErrorArgs defaults) { } /** - * @param additionalInfo Connection additional information + * @param additionalInfo Connection side additional information * * @return builder * @@ -108,7 +108,7 @@ public Builder additionalInfo(@Nullable Output a } /** - * @param additionalInfo Connection additional information + * @param additionalInfo Connection side additional information * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionState.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionState.java index 604d92e3..be989a6a 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionState.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionState.java @@ -6,7 +6,6 @@ import com.equinix.pulumi.fabric.enums.ConnectionType; import com.equinix.pulumi.fabric.inputs.ConnectionASideArgs; import com.equinix.pulumi.fabric.inputs.ConnectionAccountArgs; -import com.equinix.pulumi.fabric.inputs.ConnectionAdditionalInfoArgs; import com.equinix.pulumi.fabric.inputs.ConnectionChangeLogArgs; import com.equinix.pulumi.fabric.inputs.ConnectionNotificationArgs; import com.equinix.pulumi.fabric.inputs.ConnectionOperationArgs; @@ -19,8 +18,10 @@ import com.pulumi.core.annotations.Import; import java.lang.Boolean; import java.lang.Integer; +import java.lang.Object; import java.lang.String; import java.util.List; +import java.util.Map; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -46,14 +47,14 @@ public Optional> aSide() { } /** - * Customer account information that is associated with this connection + * Account * */ @Import(name="account") private @Nullable Output account; /** - * @return Customer account information that is associated with this connection + * @return Account * */ public Optional> account() { @@ -61,17 +62,17 @@ public Optional> account() { } /** - * Connection additional information + * Connection side additional information * */ @Import(name="additionalInfo") - private @Nullable Output> additionalInfo; + private @Nullable Output>> additionalInfo; /** - * @return Connection additional information + * @return Connection side additional information * */ - public Optional>> additionalInfo() { + public Optional>>> additionalInfo() { return Optional.ofNullable(this.additionalInfo); } @@ -121,14 +122,14 @@ public Optional> direction() { } /** - * Connection URI information + * Unique Resource Identifier * */ @Import(name="href") private @Nullable Output href; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional> href() { @@ -151,14 +152,14 @@ public Optional> isRemote() { } /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name * */ @Import(name="name") private @Nullable Output name; /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ public Optional> name() { @@ -241,14 +242,14 @@ public Optional> redundancy() { } /** - * Connection overall state + * Routing protocol instance state * */ @Import(name="state") private @Nullable Output state; /** - * @return Connection overall state + * @return Routing protocol instance state * */ public Optional> state() { @@ -256,14 +257,14 @@ public Optional> state() { } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output> type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional>> type() { @@ -347,7 +348,7 @@ public Builder aSide(ConnectionASideArgs aSide) { } /** - * @param account Customer account information that is associated with this connection + * @param account Account * * @return builder * @@ -358,7 +359,7 @@ public Builder account(@Nullable Output account) { } /** - * @param account Customer account information that is associated with this connection + * @param account Account * * @return builder * @@ -368,33 +369,33 @@ public Builder account(ConnectionAccountArgs account) { } /** - * @param additionalInfo Connection additional information + * @param additionalInfo Connection side additional information * * @return builder * */ - public Builder additionalInfo(@Nullable Output> additionalInfo) { + public Builder additionalInfo(@Nullable Output>> additionalInfo) { $.additionalInfo = additionalInfo; return this; } /** - * @param additionalInfo Connection additional information + * @param additionalInfo Connection side additional information * * @return builder * */ - public Builder additionalInfo(List additionalInfo) { + public Builder additionalInfo(List> additionalInfo) { return additionalInfo(Output.of(additionalInfo)); } /** - * @param additionalInfo Connection additional information + * @param additionalInfo Connection side additional information * * @return builder * */ - public Builder additionalInfo(ConnectionAdditionalInfoArgs... additionalInfo) { + public Builder additionalInfo(Map... additionalInfo) { return additionalInfo(List.of(additionalInfo)); } @@ -462,7 +463,7 @@ public Builder direction(String direction) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -473,7 +474,7 @@ public Builder href(@Nullable Output href) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -504,7 +505,7 @@ public Builder isRemote(Boolean isRemote) { } /** - * @param name Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @param name Port name * * @return builder * @@ -515,7 +516,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @param name Port name * * @return builder * @@ -640,7 +641,7 @@ public Builder redundancy(ConnectionRedundancyArgs redundancy) { } /** - * @param state Connection overall state + * @param state Routing protocol instance state * * @return builder * @@ -651,7 +652,7 @@ public Builder state(@Nullable Output state) { } /** - * @param state Connection overall state + * @param state Routing protocol instance state * * @return builder * @@ -661,7 +662,7 @@ public Builder state(String state) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -672,7 +673,7 @@ public Builder type(@Nullable Output> type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -682,7 +683,7 @@ public Builder type(Either type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -692,7 +693,7 @@ public Builder type(String type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointArgs.java index 8ce5049d..85f691f3 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointArgs.java @@ -10,8 +10,10 @@ import com.equinix.pulumi.fabric.inputs.ConnectionZSideAccessPointInterfaceArgs; import com.equinix.pulumi.fabric.inputs.ConnectionZSideAccessPointLinkProtocolArgs; import com.equinix.pulumi.fabric.inputs.ConnectionZSideAccessPointLocationArgs; +import com.equinix.pulumi.fabric.inputs.ConnectionZSideAccessPointNetworkArgs; import com.equinix.pulumi.fabric.inputs.ConnectionZSideAccessPointPortArgs; import com.equinix.pulumi.fabric.inputs.ConnectionZSideAccessPointProfileArgs; +import com.equinix.pulumi.fabric.inputs.ConnectionZSideAccessPointRouterArgs; import com.equinix.pulumi.fabric.inputs.ConnectionZSideAccessPointRoutingProtocolArgs; import com.equinix.pulumi.fabric.inputs.ConnectionZSideAccessPointVirtualDeviceArgs; import com.pulumi.core.Either; @@ -29,115 +31,237 @@ public final class ConnectionZSideAccessPointArgs extends com.pulumi.resources.R public static final ConnectionZSideAccessPointArgs Empty = new ConnectionZSideAccessPointArgs(); /** - * Customer account information that is associated with this connection + * Account * */ @Import(name="account") private @Nullable Output account; /** - * @return Customer account information that is associated with this connection + * @return Account * */ public Optional> account() { return Optional.ofNullable(this.account); } + /** + * Authentication key for provider based connections + * + */ @Import(name="authenticationKey") private @Nullable Output authenticationKey; + /** + * @return Authentication key for provider based connections + * + */ public Optional> authenticationKey() { return Optional.ofNullable(this.authenticationKey); } + /** + * @deprecated + * use router attribute instead; gateway is no longer a part of the supported backend + * + */ + @Deprecated /* use router attribute instead; gateway is no longer a part of the supported backend */ @Import(name="gateway") private @Nullable Output gateway; + /** + * @deprecated + * use router attribute instead; gateway is no longer a part of the supported backend + * + */ + @Deprecated /* use router attribute instead; gateway is no longer a part of the supported backend */ public Optional> gateway() { return Optional.ofNullable(this.gateway); } + /** + * Virtual device interface + * + */ @Import(name="interface") private @Nullable Output interface_; + /** + * @return Virtual device interface + * + */ public Optional> interface_() { return Optional.ofNullable(this.interface_); } + /** + * Connection link protocol + * + */ @Import(name="linkProtocol") private @Nullable Output linkProtocol; + /** + * @return Connection link protocol + * + */ public Optional> linkProtocol() { return Optional.ofNullable(this.linkProtocol); } + /** + * Access point location + * + */ @Import(name="location") private @Nullable Output location; + /** + * @return Access point location + * + */ public Optional> location() { return Optional.ofNullable(this.location); } + @Import(name="network") + private @Nullable Output network; + + public Optional> network() { + return Optional.ofNullable(this.network); + } + + /** + * Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + */ @Import(name="peeringType") private @Nullable Output> peeringType; + /** + * @return Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + */ public Optional>> peeringType() { return Optional.ofNullable(this.peeringType); } + /** + * Port access point information + * + */ @Import(name="port") private @Nullable Output port; + /** + * @return Port access point information + * + */ public Optional> port() { return Optional.ofNullable(this.port); } + /** + * Service Profile + * + */ @Import(name="profile") private @Nullable Output profile; + /** + * @return Service Profile + * + */ public Optional> profile() { return Optional.ofNullable(this.profile); } + /** + * Provider assigned Connection Id + * + */ @Import(name="providerConnectionId") private @Nullable Output providerConnectionId; + /** + * @return Provider assigned Connection Id + * + */ public Optional> providerConnectionId() { return Optional.ofNullable(this.providerConnectionId); } + /** + * Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + * + */ + @Import(name="router") + private @Nullable Output router; + + /** + * @return Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + * + */ + public Optional> router() { + return Optional.ofNullable(this.router); + } + + /** + * Access point routing protocols configuration + * + */ @Import(name="routingProtocols") private @Nullable Output> routingProtocols; + /** + * @return Access point routing protocols configuration + * + */ public Optional>> routingProtocols() { return Optional.ofNullable(this.routingProtocols); } + /** + * Access point seller region + * + */ @Import(name="sellerRegion") private @Nullable Output sellerRegion; + /** + * @return Access point seller region + * + */ public Optional> sellerRegion() { return Optional.ofNullable(this.sellerRegion); } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output> type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional>> type() { return Optional.ofNullable(this.type); } + /** + * Virtual device + * + */ @Import(name="virtualDevice") private @Nullable Output virtualDevice; + /** + * @return Virtual device + * + */ public Optional> virtualDevice() { return Optional.ofNullable(this.virtualDevice); } @@ -151,10 +275,12 @@ private ConnectionZSideAccessPointArgs(ConnectionZSideAccessPointArgs $) { this.interface_ = $.interface_; this.linkProtocol = $.linkProtocol; this.location = $.location; + this.network = $.network; this.peeringType = $.peeringType; this.port = $.port; this.profile = $.profile; this.providerConnectionId = $.providerConnectionId; + this.router = $.router; this.routingProtocols = $.routingProtocols; this.sellerRegion = $.sellerRegion; this.type = $.type; @@ -180,7 +306,7 @@ public Builder(ConnectionZSideAccessPointArgs defaults) { } /** - * @param account Customer account information that is associated with this connection + * @param account Account * * @return builder * @@ -191,7 +317,7 @@ public Builder account(@Nullable Output a } /** - * @param account Customer account information that is associated with this connection + * @param account Account * * @return builder * @@ -200,119 +326,303 @@ public Builder account(ConnectionZSideAccessPointAccountArgs account) { return account(Output.of(account)); } + /** + * @param authenticationKey Authentication key for provider based connections + * + * @return builder + * + */ public Builder authenticationKey(@Nullable Output authenticationKey) { $.authenticationKey = authenticationKey; return this; } + /** + * @param authenticationKey Authentication key for provider based connections + * + * @return builder + * + */ public Builder authenticationKey(String authenticationKey) { return authenticationKey(Output.of(authenticationKey)); } + /** + * @return builder + * + * @deprecated + * use router attribute instead; gateway is no longer a part of the supported backend + * + */ + @Deprecated /* use router attribute instead; gateway is no longer a part of the supported backend */ public Builder gateway(@Nullable Output gateway) { $.gateway = gateway; return this; } + /** + * @return builder + * + * @deprecated + * use router attribute instead; gateway is no longer a part of the supported backend + * + */ + @Deprecated /* use router attribute instead; gateway is no longer a part of the supported backend */ public Builder gateway(ConnectionZSideAccessPointGatewayArgs gateway) { return gateway(Output.of(gateway)); } + /** + * @param interface_ Virtual device interface + * + * @return builder + * + */ public Builder interface_(@Nullable Output interface_) { $.interface_ = interface_; return this; } + /** + * @param interface_ Virtual device interface + * + * @return builder + * + */ public Builder interface_(ConnectionZSideAccessPointInterfaceArgs interface_) { return interface_(Output.of(interface_)); } + /** + * @param linkProtocol Connection link protocol + * + * @return builder + * + */ public Builder linkProtocol(@Nullable Output linkProtocol) { $.linkProtocol = linkProtocol; return this; } + /** + * @param linkProtocol Connection link protocol + * + * @return builder + * + */ public Builder linkProtocol(ConnectionZSideAccessPointLinkProtocolArgs linkProtocol) { return linkProtocol(Output.of(linkProtocol)); } + /** + * @param location Access point location + * + * @return builder + * + */ public Builder location(@Nullable Output location) { $.location = location; return this; } + /** + * @param location Access point location + * + * @return builder + * + */ public Builder location(ConnectionZSideAccessPointLocationArgs location) { return location(Output.of(location)); } + public Builder network(@Nullable Output network) { + $.network = network; + return this; + } + + public Builder network(ConnectionZSideAccessPointNetworkArgs network) { + return network(Output.of(network)); + } + + /** + * @param peeringType Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + * @return builder + * + */ public Builder peeringType(@Nullable Output> peeringType) { $.peeringType = peeringType; return this; } + /** + * @param peeringType Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + * @return builder + * + */ public Builder peeringType(Either peeringType) { return peeringType(Output.of(peeringType)); } + /** + * @param peeringType Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + * @return builder + * + */ public Builder peeringType(String peeringType) { return peeringType(Either.ofLeft(peeringType)); } + /** + * @param peeringType Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + * @return builder + * + */ public Builder peeringType(AccessPointPeeringType peeringType) { return peeringType(Either.ofRight(peeringType)); } + /** + * @param port Port access point information + * + * @return builder + * + */ public Builder port(@Nullable Output port) { $.port = port; return this; } + /** + * @param port Port access point information + * + * @return builder + * + */ public Builder port(ConnectionZSideAccessPointPortArgs port) { return port(Output.of(port)); } + /** + * @param profile Service Profile + * + * @return builder + * + */ public Builder profile(@Nullable Output profile) { $.profile = profile; return this; } + /** + * @param profile Service Profile + * + * @return builder + * + */ public Builder profile(ConnectionZSideAccessPointProfileArgs profile) { return profile(Output.of(profile)); } + /** + * @param providerConnectionId Provider assigned Connection Id + * + * @return builder + * + */ public Builder providerConnectionId(@Nullable Output providerConnectionId) { $.providerConnectionId = providerConnectionId; return this; } + /** + * @param providerConnectionId Provider assigned Connection Id + * + * @return builder + * + */ public Builder providerConnectionId(String providerConnectionId) { return providerConnectionId(Output.of(providerConnectionId)); } + /** + * @param router Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + * + * @return builder + * + */ + public Builder router(@Nullable Output router) { + $.router = router; + return this; + } + + /** + * @param router Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + * + * @return builder + * + */ + public Builder router(ConnectionZSideAccessPointRouterArgs router) { + return router(Output.of(router)); + } + + /** + * @param routingProtocols Access point routing protocols configuration + * + * @return builder + * + */ public Builder routingProtocols(@Nullable Output> routingProtocols) { $.routingProtocols = routingProtocols; return this; } + /** + * @param routingProtocols Access point routing protocols configuration + * + * @return builder + * + */ public Builder routingProtocols(List routingProtocols) { return routingProtocols(Output.of(routingProtocols)); } + /** + * @param routingProtocols Access point routing protocols configuration + * + * @return builder + * + */ public Builder routingProtocols(ConnectionZSideAccessPointRoutingProtocolArgs... routingProtocols) { return routingProtocols(List.of(routingProtocols)); } + /** + * @param sellerRegion Access point seller region + * + * @return builder + * + */ public Builder sellerRegion(@Nullable Output sellerRegion) { $.sellerRegion = sellerRegion; return this; } + /** + * @param sellerRegion Access point seller region + * + * @return builder + * + */ public Builder sellerRegion(String sellerRegion) { return sellerRegion(Output.of(sellerRegion)); } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -323,7 +633,7 @@ public Builder type(@Nullable Output> type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -333,7 +643,7 @@ public Builder type(Either type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -343,7 +653,7 @@ public Builder type(String type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -352,11 +662,23 @@ public Builder type(AccessPointType type) { return type(Either.ofRight(type)); } + /** + * @param virtualDevice Virtual device + * + * @return builder + * + */ public Builder virtualDevice(@Nullable Output virtualDevice) { $.virtualDevice = virtualDevice; return this; } + /** + * @param virtualDevice Virtual device + * + * @return builder + * + */ public Builder virtualDevice(ConnectionZSideAccessPointVirtualDeviceArgs virtualDevice) { return virtualDevice(Output.of(virtualDevice)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointGatewayArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointGatewayArgs.java index 381c858c..49548806 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointGatewayArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointGatewayArgs.java @@ -16,23 +16,31 @@ public final class ConnectionZSideAccessPointGatewayArgs extends com.pulumi.reso public static final ConnectionZSideAccessPointGatewayArgs Empty = new ConnectionZSideAccessPointGatewayArgs(); /** - * Connection URI information + * Unique Resource Identifier * */ @Import(name="href") private @Nullable Output href; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional> href() { return Optional.ofNullable(this.href); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -63,7 +71,7 @@ public Builder(ConnectionZSideAccessPointGatewayArgs defaults) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -74,7 +82,7 @@ public Builder href(@Nullable Output href) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -83,11 +91,23 @@ public Builder href(String href) { return href(Output.of(href)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointInterfaceArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointInterfaceArgs.java index 08535067..1433f20c 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointInterfaceArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointInterfaceArgs.java @@ -16,14 +16,14 @@ public final class ConnectionZSideAccessPointInterfaceArgs extends com.pulumi.re public static final ConnectionZSideAccessPointInterfaceArgs Empty = new ConnectionZSideAccessPointInterfaceArgs(); /** - * The ID of this resource. + * id * */ @Import(name="id") private @Nullable Output id; /** - * @return The ID of this resource. + * @return id * */ public Optional> id() { @@ -31,23 +31,31 @@ public Optional> id() { } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional> type() { return Optional.ofNullable(this.type); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -79,7 +87,7 @@ public Builder(ConnectionZSideAccessPointInterfaceArgs defaults) { } /** - * @param id The ID of this resource. + * @param id id * * @return builder * @@ -90,7 +98,7 @@ public Builder id(@Nullable Output id) { } /** - * @param id The ID of this resource. + * @param id id * * @return builder * @@ -100,7 +108,7 @@ public Builder id(String id) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -111,7 +119,7 @@ public Builder type(@Nullable Output type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -120,11 +128,23 @@ public Builder type(String type) { return type(Output.of(type)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointLinkProtocolArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointLinkProtocolArgs.java index 7c191556..bcf4a310 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointLinkProtocolArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointLinkProtocolArgs.java @@ -19,37 +19,61 @@ public final class ConnectionZSideAccessPointLinkProtocolArgs extends com.pulumi public static final ConnectionZSideAccessPointLinkProtocolArgs Empty = new ConnectionZSideAccessPointLinkProtocolArgs(); /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output> type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional>> type() { return Optional.ofNullable(this.type); } + /** + * Vlan Customer Tag information, vlanCTag value specified for QINQ connections + * + */ @Import(name="vlanCTag") private @Nullable Output vlanCTag; + /** + * @return Vlan Customer Tag information, vlanCTag value specified for QINQ connections + * + */ public Optional> vlanCTag() { return Optional.ofNullable(this.vlanCTag); } + /** + * Vlan Provider Tag information, vlanSTag value specified for QINQ connections + * + */ @Import(name="vlanSTag") private @Nullable Output vlanSTag; + /** + * @return Vlan Provider Tag information, vlanSTag value specified for QINQ connections + * + */ public Optional> vlanSTag() { return Optional.ofNullable(this.vlanSTag); } + /** + * Vlan Tag information, vlanTag value specified for DOT1Q connections + * + */ @Import(name="vlanTag") private @Nullable Output vlanTag; + /** + * @return Vlan Tag information, vlanTag value specified for DOT1Q connections + * + */ public Optional> vlanTag() { return Optional.ofNullable(this.vlanTag); } @@ -82,7 +106,7 @@ public Builder(ConnectionZSideAccessPointLinkProtocolArgs defaults) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -93,7 +117,7 @@ public Builder type(@Nullable Output> } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -103,7 +127,7 @@ public Builder type(Either type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -113,7 +137,7 @@ public Builder type(String type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -122,29 +146,65 @@ public Builder type(AccessPointLinkProtocolType type) { return type(Either.ofRight(type)); } + /** + * @param vlanCTag Vlan Customer Tag information, vlanCTag value specified for QINQ connections + * + * @return builder + * + */ public Builder vlanCTag(@Nullable Output vlanCTag) { $.vlanCTag = vlanCTag; return this; } + /** + * @param vlanCTag Vlan Customer Tag information, vlanCTag value specified for QINQ connections + * + * @return builder + * + */ public Builder vlanCTag(Integer vlanCTag) { return vlanCTag(Output.of(vlanCTag)); } + /** + * @param vlanSTag Vlan Provider Tag information, vlanSTag value specified for QINQ connections + * + * @return builder + * + */ public Builder vlanSTag(@Nullable Output vlanSTag) { $.vlanSTag = vlanSTag; return this; } + /** + * @param vlanSTag Vlan Provider Tag information, vlanSTag value specified for QINQ connections + * + * @return builder + * + */ public Builder vlanSTag(Integer vlanSTag) { return vlanSTag(Output.of(vlanSTag)); } + /** + * @param vlanTag Vlan Tag information, vlanTag value specified for DOT1Q connections + * + * @return builder + * + */ public Builder vlanTag(@Nullable Output vlanTag) { $.vlanTag = vlanTag; return this; } + /** + * @param vlanTag Vlan Tag information, vlanTag value specified for DOT1Q connections + * + * @return builder + * + */ public Builder vlanTag(Integer vlanTag) { return vlanTag(Output.of(vlanTag)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointLocationArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointLocationArgs.java index 14e4791f..ff38e3fc 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointLocationArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointLocationArgs.java @@ -17,30 +17,62 @@ public final class ConnectionZSideAccessPointLocationArgs extends com.pulumi.res public static final ConnectionZSideAccessPointLocationArgs Empty = new ConnectionZSideAccessPointLocationArgs(); + /** + * IBX Code + * + */ @Import(name="ibx") private @Nullable Output ibx; + /** + * @return IBX Code + * + */ public Optional> ibx() { return Optional.ofNullable(this.ibx); } + /** + * Access point metro code + * + */ @Import(name="metroCode") private @Nullable Output> metroCode; + /** + * @return Access point metro code + * + */ public Optional>> metroCode() { return Optional.ofNullable(this.metroCode); } + /** + * Access point metro name + * + */ @Import(name="metroName") private @Nullable Output metroName; + /** + * @return Access point metro name + * + */ public Optional> metroName() { return Optional.ofNullable(this.metroName); } + /** + * Access point region + * + */ @Import(name="region") private @Nullable Output region; + /** + * @return Access point region + * + */ public Optional> region() { return Optional.ofNullable(this.region); } @@ -72,46 +104,106 @@ public Builder(ConnectionZSideAccessPointLocationArgs defaults) { $ = new ConnectionZSideAccessPointLocationArgs(Objects.requireNonNull(defaults)); } + /** + * @param ibx IBX Code + * + * @return builder + * + */ public Builder ibx(@Nullable Output ibx) { $.ibx = ibx; return this; } + /** + * @param ibx IBX Code + * + * @return builder + * + */ public Builder ibx(String ibx) { return ibx(Output.of(ibx)); } + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ public Builder metroCode(@Nullable Output> metroCode) { $.metroCode = metroCode; return this; } + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ public Builder metroCode(Either metroCode) { return metroCode(Output.of(metroCode)); } + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ public Builder metroCode(String metroCode) { return metroCode(Either.ofLeft(metroCode)); } + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ public Builder metroCode(Metro metroCode) { return metroCode(Either.ofRight(metroCode)); } + /** + * @param metroName Access point metro name + * + * @return builder + * + */ public Builder metroName(@Nullable Output metroName) { $.metroName = metroName; return this; } + /** + * @param metroName Access point metro name + * + * @return builder + * + */ public Builder metroName(String metroName) { return metroName(Output.of(metroName)); } + /** + * @param region Access point region + * + * @return builder + * + */ public Builder region(@Nullable Output region) { $.region = region; return this; } + /** + * @param region Access point region + * + * @return builder + * + */ public Builder region(String region) { return region(Output.of(region)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointNetworkArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointNetworkArgs.java new file mode 100644 index 00000000..ef91a217 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointNetworkArgs.java @@ -0,0 +1,120 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ConnectionZSideAccessPointNetworkArgs extends com.pulumi.resources.ResourceArgs { + + public static final ConnectionZSideAccessPointNetworkArgs Empty = new ConnectionZSideAccessPointNetworkArgs(); + + /** + * Unique Resource Identifier + * + */ + @Import(name="href") + private @Nullable Output href; + + /** + * @return Unique Resource Identifier + * + */ + public Optional> href() { + return Optional.ofNullable(this.href); + } + + /** + * Equinix-assigned interface identifier + * + */ + @Import(name="uuid") + private @Nullable Output uuid; + + /** + * @return Equinix-assigned interface identifier + * + */ + public Optional> uuid() { + return Optional.ofNullable(this.uuid); + } + + private ConnectionZSideAccessPointNetworkArgs() {} + + private ConnectionZSideAccessPointNetworkArgs(ConnectionZSideAccessPointNetworkArgs $) { + this.href = $.href; + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ConnectionZSideAccessPointNetworkArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ConnectionZSideAccessPointNetworkArgs $; + + public Builder() { + $ = new ConnectionZSideAccessPointNetworkArgs(); + } + + public Builder(ConnectionZSideAccessPointNetworkArgs defaults) { + $ = new ConnectionZSideAccessPointNetworkArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param href Unique Resource Identifier + * + * @return builder + * + */ + public Builder href(@Nullable Output href) { + $.href = href; + return this; + } + + /** + * @param href Unique Resource Identifier + * + * @return builder + * + */ + public Builder href(String href) { + return href(Output.of(href)); + } + + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ + public Builder uuid(@Nullable Output uuid) { + $.uuid = uuid; + return this; + } + + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ + public Builder uuid(String uuid) { + return uuid(Output.of(uuid)); + } + + public ConnectionZSideAccessPointNetworkArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointPortArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointPortArgs.java index 1b2bbbc4..fcf02293 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointPortArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointPortArgs.java @@ -18,14 +18,14 @@ public final class ConnectionZSideAccessPointPortArgs extends com.pulumi.resourc public static final ConnectionZSideAccessPointPortArgs Empty = new ConnectionZSideAccessPointPortArgs(); /** - * Connection URI information + * Unique Resource Identifier * */ @Import(name="href") private @Nullable Output href; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional> href() { @@ -33,14 +33,14 @@ public Optional> href() { } /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name * */ @Import(name="name") private @Nullable Output name; /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ public Optional> name() { @@ -62,9 +62,17 @@ public Optional>> redu return Optional.ofNullable(this.redundancies); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -97,7 +105,7 @@ public Builder(ConnectionZSideAccessPointPortArgs defaults) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -108,7 +116,7 @@ public Builder href(@Nullable Output href) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -118,7 +126,7 @@ public Builder href(String href) { } /** - * @param name Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @param name Port name * * @return builder * @@ -129,7 +137,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @param name Port name * * @return builder * @@ -169,11 +177,23 @@ public Builder redundancies(ConnectionZSideAccessPointPortRedundancyArgs... redu return redundancies(List.of(redundancies)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs.java index 9f6ee41a..8f28cd5c 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs.java @@ -16,23 +16,31 @@ public final class ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs ex public static final ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs Empty = new ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs(); /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional> type() { return Optional.ofNullable(this.type); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -63,7 +71,7 @@ public Builder(ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs defaul } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -74,7 +82,7 @@ public Builder type(@Nullable Output type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -83,11 +91,23 @@ public Builder type(String type) { return type(Output.of(type)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointProfileArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointProfileArgs.java index 719fb4c9..8329a578 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointProfileArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointProfileArgs.java @@ -19,29 +19,45 @@ public final class ConnectionZSideAccessPointProfileArgs extends com.pulumi.reso public static final ConnectionZSideAccessPointProfileArgs Empty = new ConnectionZSideAccessPointProfileArgs(); + /** + * Access point config information + * + */ @Import(name="accessPointTypeConfigs") private @Nullable Output> accessPointTypeConfigs; + /** + * @return Access point config information + * + */ public Optional>> accessPointTypeConfigs() { return Optional.ofNullable(this.accessPointTypeConfigs); } + /** + * User-provided service description + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return User-provided service description + * + */ public Optional> description() { return Optional.ofNullable(this.description); } /** - * Connection URI information + * Unique Resource Identifier * */ @Import(name="href") private @Nullable Output href; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional> href() { @@ -49,14 +65,14 @@ public Optional> href() { } /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name * */ @Import(name="name") private @Nullable Output name; /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ public Optional> name() { @@ -64,23 +80,31 @@ public Optional> name() { } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type", required=true) private Output> type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Output> type() { return this.type; } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid", required=true) private Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Output uuid() { return this.uuid; } @@ -114,30 +138,60 @@ public Builder(ConnectionZSideAccessPointProfileArgs defaults) { $ = new ConnectionZSideAccessPointProfileArgs(Objects.requireNonNull(defaults)); } + /** + * @param accessPointTypeConfigs Access point config information + * + * @return builder + * + */ public Builder accessPointTypeConfigs(@Nullable Output> accessPointTypeConfigs) { $.accessPointTypeConfigs = accessPointTypeConfigs; return this; } + /** + * @param accessPointTypeConfigs Access point config information + * + * @return builder + * + */ public Builder accessPointTypeConfigs(List accessPointTypeConfigs) { return accessPointTypeConfigs(Output.of(accessPointTypeConfigs)); } + /** + * @param accessPointTypeConfigs Access point config information + * + * @return builder + * + */ public Builder accessPointTypeConfigs(ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs... accessPointTypeConfigs) { return accessPointTypeConfigs(List.of(accessPointTypeConfigs)); } + /** + * @param description User-provided service description + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description User-provided service description + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -148,7 +202,7 @@ public Builder href(@Nullable Output href) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -158,7 +212,7 @@ public Builder href(String href) { } /** - * @param name Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @param name Port name * * @return builder * @@ -169,7 +223,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @param name Port name * * @return builder * @@ -179,7 +233,7 @@ public Builder name(String name) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -190,7 +244,7 @@ public Builder type(Output> type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -200,7 +254,7 @@ public Builder type(Either type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -210,7 +264,7 @@ public Builder type(String type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -219,11 +273,23 @@ public Builder type(ProfileType type) { return type(Either.ofRight(type)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointRouterArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointRouterArgs.java new file mode 100644 index 00000000..3df8fa2f --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointRouterArgs.java @@ -0,0 +1,120 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ConnectionZSideAccessPointRouterArgs extends com.pulumi.resources.ResourceArgs { + + public static final ConnectionZSideAccessPointRouterArgs Empty = new ConnectionZSideAccessPointRouterArgs(); + + /** + * Unique Resource Identifier + * + */ + @Import(name="href") + private @Nullable Output href; + + /** + * @return Unique Resource Identifier + * + */ + public Optional> href() { + return Optional.ofNullable(this.href); + } + + /** + * Equinix-assigned interface identifier + * + */ + @Import(name="uuid") + private @Nullable Output uuid; + + /** + * @return Equinix-assigned interface identifier + * + */ + public Optional> uuid() { + return Optional.ofNullable(this.uuid); + } + + private ConnectionZSideAccessPointRouterArgs() {} + + private ConnectionZSideAccessPointRouterArgs(ConnectionZSideAccessPointRouterArgs $) { + this.href = $.href; + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ConnectionZSideAccessPointRouterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ConnectionZSideAccessPointRouterArgs $; + + public Builder() { + $ = new ConnectionZSideAccessPointRouterArgs(); + } + + public Builder(ConnectionZSideAccessPointRouterArgs defaults) { + $ = new ConnectionZSideAccessPointRouterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param href Unique Resource Identifier + * + * @return builder + * + */ + public Builder href(@Nullable Output href) { + $.href = href; + return this; + } + + /** + * @param href Unique Resource Identifier + * + * @return builder + * + */ + public Builder href(String href) { + return href(Output.of(href)); + } + + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ + public Builder uuid(@Nullable Output uuid) { + $.uuid = uuid; + return this; + } + + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ + public Builder uuid(String uuid) { + return uuid(Output.of(uuid)); + } + + public ConnectionZSideAccessPointRouterArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointRoutingProtocolArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointRoutingProtocolArgs.java index fd704076..7d0b9715 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointRoutingProtocolArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointRoutingProtocolArgs.java @@ -16,14 +16,14 @@ public final class ConnectionZSideAccessPointRoutingProtocolArgs extends com.pul public static final ConnectionZSideAccessPointRoutingProtocolArgs Empty = new ConnectionZSideAccessPointRoutingProtocolArgs(); /** - * Connection overall state + * Routing protocol instance state * */ @Import(name="state") private @Nullable Output state; /** - * @return Connection overall state + * @return Routing protocol instance state * */ public Optional> state() { @@ -31,23 +31,31 @@ public Optional> state() { } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional> type() { return Optional.ofNullable(this.type); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -79,7 +87,7 @@ public Builder(ConnectionZSideAccessPointRoutingProtocolArgs defaults) { } /** - * @param state Connection overall state + * @param state Routing protocol instance state * * @return builder * @@ -90,7 +98,7 @@ public Builder state(@Nullable Output state) { } /** - * @param state Connection overall state + * @param state Routing protocol instance state * * @return builder * @@ -100,7 +108,7 @@ public Builder state(String state) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -111,7 +119,7 @@ public Builder type(@Nullable Output type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -120,11 +128,23 @@ public Builder type(String type) { return type(Output.of(type)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointVirtualDeviceArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointVirtualDeviceArgs.java index b883f0f9..b4fdd3a2 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointVirtualDeviceArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideAccessPointVirtualDeviceArgs.java @@ -16,14 +16,14 @@ public final class ConnectionZSideAccessPointVirtualDeviceArgs extends com.pulum public static final ConnectionZSideAccessPointVirtualDeviceArgs Empty = new ConnectionZSideAccessPointVirtualDeviceArgs(); /** - * Connection URI information + * Unique Resource Identifier * */ @Import(name="href") private @Nullable Output href; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional> href() { @@ -31,23 +31,31 @@ public Optional> href() { } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional> type() { return Optional.ofNullable(this.type); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -79,7 +87,7 @@ public Builder(ConnectionZSideAccessPointVirtualDeviceArgs defaults) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -90,7 +98,7 @@ public Builder href(@Nullable Output href) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -100,7 +108,7 @@ public Builder href(String href) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -111,7 +119,7 @@ public Builder type(@Nullable Output type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -120,11 +128,23 @@ public Builder type(String type) { return type(Output.of(type)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideServiceTokenArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideServiceTokenArgs.java index 13215138..a5a1d77a 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideServiceTokenArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ConnectionZSideServiceTokenArgs.java @@ -17,22 +17,30 @@ public final class ConnectionZSideServiceTokenArgs extends com.pulumi.resources. public static final ConnectionZSideServiceTokenArgs Empty = new ConnectionZSideServiceTokenArgs(); + /** + * User-provided service description + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return User-provided service description + * + */ public Optional> description() { return Optional.ofNullable(this.description); } /** - * Connection URI information + * Unique Resource Identifier * */ @Import(name="href") private @Nullable Output href; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional> href() { @@ -40,23 +48,31 @@ public Optional> href() { } /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type * */ @Import(name="type") private @Nullable Output> type; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional>> type() { return Optional.ofNullable(this.type); } + /** + * Equinix-assigned interface identifier + * + */ @Import(name="uuid") private @Nullable Output uuid; + /** + * @return Equinix-assigned interface identifier + * + */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -88,17 +104,29 @@ public Builder(ConnectionZSideServiceTokenArgs defaults) { $ = new ConnectionZSideServiceTokenArgs(Objects.requireNonNull(defaults)); } + /** + * @param description User-provided service description + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description User-provided service description + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -109,7 +137,7 @@ public Builder href(@Nullable Output href) { } /** - * @param href Connection URI information + * @param href Unique Resource Identifier * * @return builder * @@ -119,7 +147,7 @@ public Builder href(String href) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -130,7 +158,7 @@ public Builder type(@Nullable Output> type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -140,7 +168,7 @@ public Builder type(Either type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -150,7 +178,7 @@ public Builder type(String type) { } /** - * @param type Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @param type Interface type * * @return builder * @@ -159,11 +187,23 @@ public Builder type(ServiceTokenType type) { return type(Either.ofRight(type)); } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } + /** + * @param uuid Equinix-assigned interface identifier + * + * @return builder + * + */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterArgs.java new file mode 100644 index 00000000..9576fde7 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterArgs.java @@ -0,0 +1,132 @@ +// *** 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.equinix.pulumi.fabric.inputs.GetCloudRouterProjectArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetCloudRouterArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetCloudRouterArgs Empty = new GetCloudRouterArgs(); + + /** + * Project information + * + */ + @Import(name="projects") + private @Nullable Output> projects; + + /** + * @return Project information + * + */ + public Optional>> projects() { + return Optional.ofNullable(this.projects); + } + + /** + * Equinix-assigned Fabric Cloud Router identifier + * + */ + @Import(name="uuid") + private @Nullable Output uuid; + + /** + * @return Equinix-assigned Fabric Cloud Router identifier + * + */ + public Optional> uuid() { + return Optional.ofNullable(this.uuid); + } + + private GetCloudRouterArgs() {} + + private GetCloudRouterArgs(GetCloudRouterArgs $) { + this.projects = $.projects; + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCloudRouterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCloudRouterArgs $; + + public Builder() { + $ = new GetCloudRouterArgs(); + } + + public Builder(GetCloudRouterArgs defaults) { + $ = new GetCloudRouterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param projects Project information + * + * @return builder + * + */ + public Builder projects(@Nullable Output> projects) { + $.projects = projects; + return this; + } + + /** + * @param projects Project information + * + * @return builder + * + */ + public Builder projects(List projects) { + return projects(Output.of(projects)); + } + + /** + * @param projects Project information + * + * @return builder + * + */ + public Builder projects(GetCloudRouterProjectArgs... projects) { + return projects(List.of(projects)); + } + + /** + * @param uuid Equinix-assigned Fabric Cloud Router identifier + * + * @return builder + * + */ + public Builder uuid(@Nullable Output uuid) { + $.uuid = uuid; + return this; + } + + /** + * @param uuid Equinix-assigned Fabric Cloud Router identifier + * + * @return builder + * + */ + public Builder uuid(String uuid) { + return uuid(Output.of(uuid)); + } + + public GetCloudRouterArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterPlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterPlainArgs.java new file mode 100644 index 00000000..7fc66a8a --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterPlainArgs.java @@ -0,0 +1,111 @@ +// *** 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.equinix.pulumi.fabric.inputs.GetCloudRouterProject; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetCloudRouterPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetCloudRouterPlainArgs Empty = new GetCloudRouterPlainArgs(); + + /** + * Project information + * + */ + @Import(name="projects") + private @Nullable List projects; + + /** + * @return Project information + * + */ + public Optional> projects() { + return Optional.ofNullable(this.projects); + } + + /** + * Equinix-assigned Fabric Cloud Router identifier + * + */ + @Import(name="uuid") + private @Nullable String uuid; + + /** + * @return Equinix-assigned Fabric Cloud Router identifier + * + */ + public Optional uuid() { + return Optional.ofNullable(this.uuid); + } + + private GetCloudRouterPlainArgs() {} + + private GetCloudRouterPlainArgs(GetCloudRouterPlainArgs $) { + this.projects = $.projects; + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCloudRouterPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCloudRouterPlainArgs $; + + public Builder() { + $ = new GetCloudRouterPlainArgs(); + } + + public Builder(GetCloudRouterPlainArgs defaults) { + $ = new GetCloudRouterPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param projects Project information + * + * @return builder + * + */ + public Builder projects(@Nullable List projects) { + $.projects = projects; + return this; + } + + /** + * @param projects Project information + * + * @return builder + * + */ + public Builder projects(GetCloudRouterProject... projects) { + return projects(List.of(projects)); + } + + /** + * @param uuid Equinix-assigned Fabric Cloud Router identifier + * + * @return builder + * + */ + public Builder uuid(@Nullable String uuid) { + $.uuid = uuid; + return this; + } + + public GetCloudRouterPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterProject.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterProject.java new file mode 100644 index 00000000..da7ce7af --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterProject.java @@ -0,0 +1,99 @@ +// *** 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 java.lang.String; +import java.util.Objects; + + +public final class GetCloudRouterProject extends com.pulumi.resources.InvokeArgs { + + public static final GetCloudRouterProject Empty = new GetCloudRouterProject(); + + /** + * Unique Resource URL + * + */ + @Import(name="href", required=true) + private String href; + + /** + * @return Unique Resource URL + * + */ + public String href() { + return this.href; + } + + /** + * Project Id + * + */ + @Import(name="projectId", required=true) + private String projectId; + + /** + * @return Project Id + * + */ + public String projectId() { + return this.projectId; + } + + private GetCloudRouterProject() {} + + private GetCloudRouterProject(GetCloudRouterProject $) { + this.href = $.href; + this.projectId = $.projectId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCloudRouterProject defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCloudRouterProject $; + + public Builder() { + $ = new GetCloudRouterProject(); + } + + public Builder(GetCloudRouterProject defaults) { + $ = new GetCloudRouterProject(Objects.requireNonNull(defaults)); + } + + /** + * @param href Unique Resource URL + * + * @return builder + * + */ + public Builder href(String href) { + $.href = href; + return this; + } + + /** + * @param projectId Project Id + * + * @return builder + * + */ + public Builder projectId(String projectId) { + $.projectId = projectId; + return this; + } + + public GetCloudRouterProject build() { + $.href = Objects.requireNonNull($.href, "expected parameter 'href' to be non-null"); + $.projectId = Objects.requireNonNull($.projectId, "expected parameter 'projectId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterProjectArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterProjectArgs.java new file mode 100644 index 00000000..136caa51 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetCloudRouterProjectArgs.java @@ -0,0 +1,120 @@ +// *** 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 java.lang.String; +import java.util.Objects; + + +public final class GetCloudRouterProjectArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetCloudRouterProjectArgs Empty = new GetCloudRouterProjectArgs(); + + /** + * Unique Resource URL + * + */ + @Import(name="href", required=true) + private Output href; + + /** + * @return Unique Resource URL + * + */ + public Output href() { + return this.href; + } + + /** + * Project Id + * + */ + @Import(name="projectId", required=true) + private Output projectId; + + /** + * @return Project Id + * + */ + public Output projectId() { + return this.projectId; + } + + private GetCloudRouterProjectArgs() {} + + private GetCloudRouterProjectArgs(GetCloudRouterProjectArgs $) { + this.href = $.href; + this.projectId = $.projectId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetCloudRouterProjectArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetCloudRouterProjectArgs $; + + public Builder() { + $ = new GetCloudRouterProjectArgs(); + } + + public Builder(GetCloudRouterProjectArgs defaults) { + $ = new GetCloudRouterProjectArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param href Unique Resource URL + * + * @return builder + * + */ + public Builder href(Output href) { + $.href = href; + return this; + } + + /** + * @param href Unique Resource URL + * + * @return builder + * + */ + public Builder href(String href) { + return href(Output.of(href)); + } + + /** + * @param projectId Project Id + * + * @return builder + * + */ + public Builder projectId(Output projectId) { + $.projectId = projectId; + return this; + } + + /** + * @param projectId Project Id + * + * @return builder + * + */ + public Builder projectId(String projectId) { + return projectId(Output.of(projectId)); + } + + public GetCloudRouterProjectArgs build() { + $.href = Objects.requireNonNull($.href, "expected parameter 'href' to be non-null"); + $.projectId = Objects.requireNonNull($.projectId, "expected parameter 'projectId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionArgs.java index 1baced59..df35c8cb 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionArgs.java @@ -31,17 +31,9 @@ public Optional> project() { return Optional.ofNullable(this.project); } - /** - * Equinix-assigned connection identifier - * - */ @Import(name="uuid") private @Nullable Output uuid; - /** - * @return Equinix-assigned connection identifier - * - */ public Optional> uuid() { return Optional.ofNullable(this.uuid); } @@ -92,23 +84,11 @@ public Builder project(GetConnectionProjectArgs project) { return project(Output.of(project)); } - /** - * @param uuid Equinix-assigned connection identifier - * - * @return builder - * - */ public Builder uuid(@Nullable Output uuid) { $.uuid = uuid; return this; } - /** - * @param uuid Equinix-assigned connection identifier - * - * @return builder - * - */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionPlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionPlainArgs.java index b31e8664..e22ee5f5 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionPlainArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionPlainArgs.java @@ -30,17 +30,9 @@ public Optional project() { return Optional.ofNullable(this.project); } - /** - * Equinix-assigned connection identifier - * - */ @Import(name="uuid") private @Nullable String uuid; - /** - * @return Equinix-assigned connection identifier - * - */ public Optional uuid() { return Optional.ofNullable(this.uuid); } @@ -81,12 +73,6 @@ public Builder project(@Nullable GetConnectionProject project) { return this; } - /** - * @param uuid Equinix-assigned connection identifier - * - * @return builder - * - */ public Builder uuid(@Nullable String uuid) { $.uuid = uuid; return this; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolArgs.java new file mode 100644 index 00000000..ee74b745 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolArgs.java @@ -0,0 +1,457 @@ +// *** 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.equinix.pulumi.fabric.inputs.GetRoutingProtocolBfdArgs; +import com.equinix.pulumi.fabric.inputs.GetRoutingProtocolBgpIpv4Args; +import com.equinix.pulumi.fabric.inputs.GetRoutingProtocolBgpIpv6Args; +import com.equinix.pulumi.fabric.inputs.GetRoutingProtocolDirectIpv4Args; +import com.equinix.pulumi.fabric.inputs.GetRoutingProtocolDirectIpv6Args; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRoutingProtocolArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetRoutingProtocolArgs Empty = new GetRoutingProtocolArgs(); + + /** + * Bidirectional Forwarding Detection + * + */ + @Import(name="bfd") + private @Nullable Output bfd; + + /** + * @return Bidirectional Forwarding Detection + * + */ + public Optional> bfd() { + return Optional.ofNullable(this.bfd); + } + + /** + * BGP authorization key + * + */ + @Import(name="bgpAuthKey") + private @Nullable Output bgpAuthKey; + + /** + * @return BGP authorization key + * + */ + public Optional> bgpAuthKey() { + return Optional.ofNullable(this.bgpAuthKey); + } + + /** + * Routing Protocol BGP IPv4 + * + */ + @Import(name="bgpIpv4") + private @Nullable Output bgpIpv4; + + /** + * @return Routing Protocol BGP IPv4 + * + */ + public Optional> bgpIpv4() { + return Optional.ofNullable(this.bgpIpv4); + } + + /** + * Routing Protocol BGP IPv6 + * + */ + @Import(name="bgpIpv6") + private @Nullable Output bgpIpv6; + + /** + * @return Routing Protocol BGP IPv6 + * + */ + public Optional> bgpIpv6() { + return Optional.ofNullable(this.bgpIpv6); + } + + /** + * Connection URI associated with Routing Protocol + * + */ + @Import(name="connectionUuid", required=true) + private Output connectionUuid; + + /** + * @return Connection URI associated with Routing Protocol + * + */ + public Output connectionUuid() { + return this.connectionUuid; + } + + /** + * Customer-provided ASN + * + */ + @Import(name="customerAsn") + private @Nullable Output customerAsn; + + /** + * @return Customer-provided ASN + * + */ + public Optional> customerAsn() { + return Optional.ofNullable(this.customerAsn); + } + + /** + * Customer-provided Fabric Routing Protocol description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Customer-provided Fabric Routing Protocol description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Routing Protocol Direct IPv4 + * + */ + @Import(name="directIpv4") + private @Nullable Output directIpv4; + + /** + * @return Routing Protocol Direct IPv4 + * + */ + public Optional> directIpv4() { + return Optional.ofNullable(this.directIpv4); + } + + /** + * Routing Protocol Direct IPv6 + * + */ + @Import(name="directIpv6") + private @Nullable Output directIpv6; + + /** + * @return Routing Protocol Direct IPv6 + * + */ + public Optional> directIpv6() { + return Optional.ofNullable(this.directIpv6); + } + + /** + * Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + @Import(name="type") + private @Nullable Output type; + + public Optional> type() { + return Optional.ofNullable(this.type); + } + + @Import(name="uuid") + private @Nullable Output uuid; + + public Optional> uuid() { + return Optional.ofNullable(this.uuid); + } + + private GetRoutingProtocolArgs() {} + + private GetRoutingProtocolArgs(GetRoutingProtocolArgs $) { + this.bfd = $.bfd; + this.bgpAuthKey = $.bgpAuthKey; + this.bgpIpv4 = $.bgpIpv4; + this.bgpIpv6 = $.bgpIpv6; + this.connectionUuid = $.connectionUuid; + this.customerAsn = $.customerAsn; + this.description = $.description; + this.directIpv4 = $.directIpv4; + this.directIpv6 = $.directIpv6; + this.name = $.name; + this.type = $.type; + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRoutingProtocolArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRoutingProtocolArgs $; + + public Builder() { + $ = new GetRoutingProtocolArgs(); + } + + public Builder(GetRoutingProtocolArgs defaults) { + $ = new GetRoutingProtocolArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param bfd Bidirectional Forwarding Detection + * + * @return builder + * + */ + public Builder bfd(@Nullable Output bfd) { + $.bfd = bfd; + return this; + } + + /** + * @param bfd Bidirectional Forwarding Detection + * + * @return builder + * + */ + public Builder bfd(GetRoutingProtocolBfdArgs bfd) { + return bfd(Output.of(bfd)); + } + + /** + * @param bgpAuthKey BGP authorization key + * + * @return builder + * + */ + public Builder bgpAuthKey(@Nullable Output bgpAuthKey) { + $.bgpAuthKey = bgpAuthKey; + return this; + } + + /** + * @param bgpAuthKey BGP authorization key + * + * @return builder + * + */ + public Builder bgpAuthKey(String bgpAuthKey) { + return bgpAuthKey(Output.of(bgpAuthKey)); + } + + /** + * @param bgpIpv4 Routing Protocol BGP IPv4 + * + * @return builder + * + */ + public Builder bgpIpv4(@Nullable Output bgpIpv4) { + $.bgpIpv4 = bgpIpv4; + return this; + } + + /** + * @param bgpIpv4 Routing Protocol BGP IPv4 + * + * @return builder + * + */ + public Builder bgpIpv4(GetRoutingProtocolBgpIpv4Args bgpIpv4) { + return bgpIpv4(Output.of(bgpIpv4)); + } + + /** + * @param bgpIpv6 Routing Protocol BGP IPv6 + * + * @return builder + * + */ + public Builder bgpIpv6(@Nullable Output bgpIpv6) { + $.bgpIpv6 = bgpIpv6; + return this; + } + + /** + * @param bgpIpv6 Routing Protocol BGP IPv6 + * + * @return builder + * + */ + public Builder bgpIpv6(GetRoutingProtocolBgpIpv6Args bgpIpv6) { + return bgpIpv6(Output.of(bgpIpv6)); + } + + /** + * @param connectionUuid Connection URI associated with Routing Protocol + * + * @return builder + * + */ + public Builder connectionUuid(Output connectionUuid) { + $.connectionUuid = connectionUuid; + return this; + } + + /** + * @param connectionUuid Connection URI associated with Routing Protocol + * + * @return builder + * + */ + public Builder connectionUuid(String connectionUuid) { + return connectionUuid(Output.of(connectionUuid)); + } + + /** + * @param customerAsn Customer-provided ASN + * + * @return builder + * + */ + public Builder customerAsn(@Nullable Output customerAsn) { + $.customerAsn = customerAsn; + return this; + } + + /** + * @param customerAsn Customer-provided ASN + * + * @return builder + * + */ + public Builder customerAsn(Integer customerAsn) { + return customerAsn(Output.of(customerAsn)); + } + + /** + * @param description Customer-provided Fabric Routing Protocol description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Customer-provided Fabric Routing Protocol description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param directIpv4 Routing Protocol Direct IPv4 + * + * @return builder + * + */ + public Builder directIpv4(@Nullable Output directIpv4) { + $.directIpv4 = directIpv4; + return this; + } + + /** + * @param directIpv4 Routing Protocol Direct IPv4 + * + * @return builder + * + */ + public Builder directIpv4(GetRoutingProtocolDirectIpv4Args directIpv4) { + return directIpv4(Output.of(directIpv4)); + } + + /** + * @param directIpv6 Routing Protocol Direct IPv6 + * + * @return builder + * + */ + public Builder directIpv6(@Nullable Output directIpv6) { + $.directIpv6 = directIpv6; + return this; + } + + /** + * @param directIpv6 Routing Protocol Direct IPv6 + * + * @return builder + * + */ + public Builder directIpv6(GetRoutingProtocolDirectIpv6Args directIpv6) { + return directIpv6(Output.of(directIpv6)); + } + + /** + * @param name Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder type(@Nullable Output type) { + $.type = type; + return this; + } + + public Builder type(String type) { + return type(Output.of(type)); + } + + public Builder uuid(@Nullable Output uuid) { + $.uuid = uuid; + return this; + } + + public Builder uuid(String uuid) { + return uuid(Output.of(uuid)); + } + + public GetRoutingProtocolArgs build() { + $.connectionUuid = Objects.requireNonNull($.connectionUuid, "expected parameter 'connectionUuid' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBfd.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBfd.java new file mode 100644 index 00000000..6f59c6dd --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBfd.java @@ -0,0 +1,101 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRoutingProtocolBfd extends com.pulumi.resources.InvokeArgs { + + public static final GetRoutingProtocolBfd Empty = new GetRoutingProtocolBfd(); + + /** + * Bidirectional Forwarding Detection enablement + * + */ + @Import(name="enabled", required=true) + private Boolean enabled; + + /** + * @return Bidirectional Forwarding Detection enablement + * + */ + public Boolean enabled() { + return this.enabled; + } + + /** + * Interval range between the received BFD control packets + * + */ + @Import(name="interval") + private @Nullable String interval; + + /** + * @return Interval range between the received BFD control packets + * + */ + public Optional interval() { + return Optional.ofNullable(this.interval); + } + + private GetRoutingProtocolBfd() {} + + private GetRoutingProtocolBfd(GetRoutingProtocolBfd $) { + this.enabled = $.enabled; + this.interval = $.interval; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRoutingProtocolBfd defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRoutingProtocolBfd $; + + public Builder() { + $ = new GetRoutingProtocolBfd(); + } + + public Builder(GetRoutingProtocolBfd defaults) { + $ = new GetRoutingProtocolBfd(Objects.requireNonNull(defaults)); + } + + /** + * @param enabled Bidirectional Forwarding Detection enablement + * + * @return builder + * + */ + public Builder enabled(Boolean enabled) { + $.enabled = enabled; + return this; + } + + /** + * @param interval Interval range between the received BFD control packets + * + * @return builder + * + */ + public Builder interval(@Nullable String interval) { + $.interval = interval; + return this; + } + + public GetRoutingProtocolBfd build() { + $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBfdArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBfdArgs.java new file mode 100644 index 00000000..1d93ca89 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBfdArgs.java @@ -0,0 +1,122 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRoutingProtocolBfdArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetRoutingProtocolBfdArgs Empty = new GetRoutingProtocolBfdArgs(); + + /** + * Bidirectional Forwarding Detection enablement + * + */ + @Import(name="enabled", required=true) + private Output enabled; + + /** + * @return Bidirectional Forwarding Detection enablement + * + */ + public Output enabled() { + return this.enabled; + } + + /** + * Interval range between the received BFD control packets + * + */ + @Import(name="interval") + private @Nullable Output interval; + + /** + * @return Interval range between the received BFD control packets + * + */ + public Optional> interval() { + return Optional.ofNullable(this.interval); + } + + private GetRoutingProtocolBfdArgs() {} + + private GetRoutingProtocolBfdArgs(GetRoutingProtocolBfdArgs $) { + this.enabled = $.enabled; + this.interval = $.interval; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRoutingProtocolBfdArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRoutingProtocolBfdArgs $; + + public Builder() { + $ = new GetRoutingProtocolBfdArgs(); + } + + public Builder(GetRoutingProtocolBfdArgs defaults) { + $ = new GetRoutingProtocolBfdArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param enabled Bidirectional Forwarding Detection enablement + * + * @return builder + * + */ + public Builder enabled(Output enabled) { + $.enabled = enabled; + return this; + } + + /** + * @param enabled Bidirectional Forwarding Detection enablement + * + * @return builder + * + */ + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + /** + * @param interval Interval range between the received BFD control packets + * + * @return builder + * + */ + public Builder interval(@Nullable Output interval) { + $.interval = interval; + return this; + } + + /** + * @param interval Interval range between the received BFD control packets + * + * @return builder + * + */ + public Builder interval(String interval) { + return interval(Output.of(interval)); + } + + public GetRoutingProtocolBfdArgs build() { + $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv4.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv4.java new file mode 100644 index 00000000..100354b7 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv4.java @@ -0,0 +1,129 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRoutingProtocolBgpIpv4 extends com.pulumi.resources.InvokeArgs { + + public static final GetRoutingProtocolBgpIpv4 Empty = new GetRoutingProtocolBgpIpv4(); + + /** + * Customer side peering ip + * + */ + @Import(name="customerPeerIp", required=true) + private String customerPeerIp; + + /** + * @return Customer side peering ip + * + */ + public String customerPeerIp() { + return this.customerPeerIp; + } + + /** + * Admin status for the BGP session + * + */ + @Import(name="enabled") + private @Nullable Boolean enabled; + + /** + * @return Admin status for the BGP session + * + */ + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + + /** + * Equinix side peering ip + * + */ + @Import(name="equinixPeerIp", required=true) + private String equinixPeerIp; + + /** + * @return Equinix side peering ip + * + */ + public String equinixPeerIp() { + return this.equinixPeerIp; + } + + private GetRoutingProtocolBgpIpv4() {} + + private GetRoutingProtocolBgpIpv4(GetRoutingProtocolBgpIpv4 $) { + this.customerPeerIp = $.customerPeerIp; + this.enabled = $.enabled; + this.equinixPeerIp = $.equinixPeerIp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRoutingProtocolBgpIpv4 defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRoutingProtocolBgpIpv4 $; + + public Builder() { + $ = new GetRoutingProtocolBgpIpv4(); + } + + public Builder(GetRoutingProtocolBgpIpv4 defaults) { + $ = new GetRoutingProtocolBgpIpv4(Objects.requireNonNull(defaults)); + } + + /** + * @param customerPeerIp Customer side peering ip + * + * @return builder + * + */ + public Builder customerPeerIp(String customerPeerIp) { + $.customerPeerIp = customerPeerIp; + return this; + } + + /** + * @param enabled Admin status for the BGP session + * + * @return builder + * + */ + public Builder enabled(@Nullable Boolean enabled) { + $.enabled = enabled; + return this; + } + + /** + * @param equinixPeerIp Equinix side peering ip + * + * @return builder + * + */ + public Builder equinixPeerIp(String equinixPeerIp) { + $.equinixPeerIp = equinixPeerIp; + return this; + } + + public GetRoutingProtocolBgpIpv4 build() { + $.customerPeerIp = Objects.requireNonNull($.customerPeerIp, "expected parameter 'customerPeerIp' to be non-null"); + $.equinixPeerIp = Objects.requireNonNull($.equinixPeerIp, "expected parameter 'equinixPeerIp' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv4Args.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv4Args.java new file mode 100644 index 00000000..1a1e554b --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv4Args.java @@ -0,0 +1,160 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRoutingProtocolBgpIpv4Args extends com.pulumi.resources.ResourceArgs { + + public static final GetRoutingProtocolBgpIpv4Args Empty = new GetRoutingProtocolBgpIpv4Args(); + + /** + * Customer side peering ip + * + */ + @Import(name="customerPeerIp", required=true) + private Output customerPeerIp; + + /** + * @return Customer side peering ip + * + */ + public Output customerPeerIp() { + return this.customerPeerIp; + } + + /** + * Admin status for the BGP session + * + */ + @Import(name="enabled") + private @Nullable Output enabled; + + /** + * @return Admin status for the BGP session + * + */ + public Optional> enabled() { + return Optional.ofNullable(this.enabled); + } + + /** + * Equinix side peering ip + * + */ + @Import(name="equinixPeerIp", required=true) + private Output equinixPeerIp; + + /** + * @return Equinix side peering ip + * + */ + public Output equinixPeerIp() { + return this.equinixPeerIp; + } + + private GetRoutingProtocolBgpIpv4Args() {} + + private GetRoutingProtocolBgpIpv4Args(GetRoutingProtocolBgpIpv4Args $) { + this.customerPeerIp = $.customerPeerIp; + this.enabled = $.enabled; + this.equinixPeerIp = $.equinixPeerIp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRoutingProtocolBgpIpv4Args defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRoutingProtocolBgpIpv4Args $; + + public Builder() { + $ = new GetRoutingProtocolBgpIpv4Args(); + } + + public Builder(GetRoutingProtocolBgpIpv4Args defaults) { + $ = new GetRoutingProtocolBgpIpv4Args(Objects.requireNonNull(defaults)); + } + + /** + * @param customerPeerIp Customer side peering ip + * + * @return builder + * + */ + public Builder customerPeerIp(Output customerPeerIp) { + $.customerPeerIp = customerPeerIp; + return this; + } + + /** + * @param customerPeerIp Customer side peering ip + * + * @return builder + * + */ + public Builder customerPeerIp(String customerPeerIp) { + return customerPeerIp(Output.of(customerPeerIp)); + } + + /** + * @param enabled Admin status for the BGP session + * + * @return builder + * + */ + public Builder enabled(@Nullable Output enabled) { + $.enabled = enabled; + return this; + } + + /** + * @param enabled Admin status for the BGP session + * + * @return builder + * + */ + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + /** + * @param equinixPeerIp Equinix side peering ip + * + * @return builder + * + */ + public Builder equinixPeerIp(Output equinixPeerIp) { + $.equinixPeerIp = equinixPeerIp; + return this; + } + + /** + * @param equinixPeerIp Equinix side peering ip + * + * @return builder + * + */ + public Builder equinixPeerIp(String equinixPeerIp) { + return equinixPeerIp(Output.of(equinixPeerIp)); + } + + public GetRoutingProtocolBgpIpv4Args build() { + $.customerPeerIp = Objects.requireNonNull($.customerPeerIp, "expected parameter 'customerPeerIp' to be non-null"); + $.equinixPeerIp = Objects.requireNonNull($.equinixPeerIp, "expected parameter 'equinixPeerIp' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv6.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv6.java new file mode 100644 index 00000000..ed811385 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv6.java @@ -0,0 +1,129 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRoutingProtocolBgpIpv6 extends com.pulumi.resources.InvokeArgs { + + public static final GetRoutingProtocolBgpIpv6 Empty = new GetRoutingProtocolBgpIpv6(); + + /** + * Customer side peering ip + * + */ + @Import(name="customerPeerIp", required=true) + private String customerPeerIp; + + /** + * @return Customer side peering ip + * + */ + public String customerPeerIp() { + return this.customerPeerIp; + } + + /** + * Admin status for the BGP session + * + */ + @Import(name="enabled") + private @Nullable Boolean enabled; + + /** + * @return Admin status for the BGP session + * + */ + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + + /** + * Equinix side peering ip + * + */ + @Import(name="equinixPeerIp", required=true) + private String equinixPeerIp; + + /** + * @return Equinix side peering ip + * + */ + public String equinixPeerIp() { + return this.equinixPeerIp; + } + + private GetRoutingProtocolBgpIpv6() {} + + private GetRoutingProtocolBgpIpv6(GetRoutingProtocolBgpIpv6 $) { + this.customerPeerIp = $.customerPeerIp; + this.enabled = $.enabled; + this.equinixPeerIp = $.equinixPeerIp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRoutingProtocolBgpIpv6 defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRoutingProtocolBgpIpv6 $; + + public Builder() { + $ = new GetRoutingProtocolBgpIpv6(); + } + + public Builder(GetRoutingProtocolBgpIpv6 defaults) { + $ = new GetRoutingProtocolBgpIpv6(Objects.requireNonNull(defaults)); + } + + /** + * @param customerPeerIp Customer side peering ip + * + * @return builder + * + */ + public Builder customerPeerIp(String customerPeerIp) { + $.customerPeerIp = customerPeerIp; + return this; + } + + /** + * @param enabled Admin status for the BGP session + * + * @return builder + * + */ + public Builder enabled(@Nullable Boolean enabled) { + $.enabled = enabled; + return this; + } + + /** + * @param equinixPeerIp Equinix side peering ip + * + * @return builder + * + */ + public Builder equinixPeerIp(String equinixPeerIp) { + $.equinixPeerIp = equinixPeerIp; + return this; + } + + public GetRoutingProtocolBgpIpv6 build() { + $.customerPeerIp = Objects.requireNonNull($.customerPeerIp, "expected parameter 'customerPeerIp' to be non-null"); + $.equinixPeerIp = Objects.requireNonNull($.equinixPeerIp, "expected parameter 'equinixPeerIp' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv6Args.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv6Args.java new file mode 100644 index 00000000..1c1bfe74 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolBgpIpv6Args.java @@ -0,0 +1,160 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRoutingProtocolBgpIpv6Args extends com.pulumi.resources.ResourceArgs { + + public static final GetRoutingProtocolBgpIpv6Args Empty = new GetRoutingProtocolBgpIpv6Args(); + + /** + * Customer side peering ip + * + */ + @Import(name="customerPeerIp", required=true) + private Output customerPeerIp; + + /** + * @return Customer side peering ip + * + */ + public Output customerPeerIp() { + return this.customerPeerIp; + } + + /** + * Admin status for the BGP session + * + */ + @Import(name="enabled") + private @Nullable Output enabled; + + /** + * @return Admin status for the BGP session + * + */ + public Optional> enabled() { + return Optional.ofNullable(this.enabled); + } + + /** + * Equinix side peering ip + * + */ + @Import(name="equinixPeerIp", required=true) + private Output equinixPeerIp; + + /** + * @return Equinix side peering ip + * + */ + public Output equinixPeerIp() { + return this.equinixPeerIp; + } + + private GetRoutingProtocolBgpIpv6Args() {} + + private GetRoutingProtocolBgpIpv6Args(GetRoutingProtocolBgpIpv6Args $) { + this.customerPeerIp = $.customerPeerIp; + this.enabled = $.enabled; + this.equinixPeerIp = $.equinixPeerIp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRoutingProtocolBgpIpv6Args defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRoutingProtocolBgpIpv6Args $; + + public Builder() { + $ = new GetRoutingProtocolBgpIpv6Args(); + } + + public Builder(GetRoutingProtocolBgpIpv6Args defaults) { + $ = new GetRoutingProtocolBgpIpv6Args(Objects.requireNonNull(defaults)); + } + + /** + * @param customerPeerIp Customer side peering ip + * + * @return builder + * + */ + public Builder customerPeerIp(Output customerPeerIp) { + $.customerPeerIp = customerPeerIp; + return this; + } + + /** + * @param customerPeerIp Customer side peering ip + * + * @return builder + * + */ + public Builder customerPeerIp(String customerPeerIp) { + return customerPeerIp(Output.of(customerPeerIp)); + } + + /** + * @param enabled Admin status for the BGP session + * + * @return builder + * + */ + public Builder enabled(@Nullable Output enabled) { + $.enabled = enabled; + return this; + } + + /** + * @param enabled Admin status for the BGP session + * + * @return builder + * + */ + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + /** + * @param equinixPeerIp Equinix side peering ip + * + * @return builder + * + */ + public Builder equinixPeerIp(Output equinixPeerIp) { + $.equinixPeerIp = equinixPeerIp; + return this; + } + + /** + * @param equinixPeerIp Equinix side peering ip + * + * @return builder + * + */ + public Builder equinixPeerIp(String equinixPeerIp) { + return equinixPeerIp(Output.of(equinixPeerIp)); + } + + public GetRoutingProtocolBgpIpv6Args build() { + $.customerPeerIp = Objects.requireNonNull($.customerPeerIp, "expected parameter 'customerPeerIp' to be non-null"); + $.equinixPeerIp = Objects.requireNonNull($.equinixPeerIp, "expected parameter 'equinixPeerIp' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv4.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv4.java new file mode 100644 index 00000000..65a28e14 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv4.java @@ -0,0 +1,71 @@ +// *** 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 java.lang.String; +import java.util.Objects; + + +public final class GetRoutingProtocolDirectIpv4 extends com.pulumi.resources.InvokeArgs { + + public static final GetRoutingProtocolDirectIpv4 Empty = new GetRoutingProtocolDirectIpv4(); + + /** + * Equinix side Interface IP address + * + */ + @Import(name="equinixIfaceIp", required=true) + private String equinixIfaceIp; + + /** + * @return Equinix side Interface IP address + * + */ + public String equinixIfaceIp() { + return this.equinixIfaceIp; + } + + private GetRoutingProtocolDirectIpv4() {} + + private GetRoutingProtocolDirectIpv4(GetRoutingProtocolDirectIpv4 $) { + this.equinixIfaceIp = $.equinixIfaceIp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRoutingProtocolDirectIpv4 defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRoutingProtocolDirectIpv4 $; + + public Builder() { + $ = new GetRoutingProtocolDirectIpv4(); + } + + public Builder(GetRoutingProtocolDirectIpv4 defaults) { + $ = new GetRoutingProtocolDirectIpv4(Objects.requireNonNull(defaults)); + } + + /** + * @param equinixIfaceIp Equinix side Interface IP address + * + * @return builder + * + */ + public Builder equinixIfaceIp(String equinixIfaceIp) { + $.equinixIfaceIp = equinixIfaceIp; + return this; + } + + public GetRoutingProtocolDirectIpv4 build() { + $.equinixIfaceIp = Objects.requireNonNull($.equinixIfaceIp, "expected parameter 'equinixIfaceIp' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv4Args.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv4Args.java new file mode 100644 index 00000000..bdf63c11 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv4Args.java @@ -0,0 +1,82 @@ +// *** 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 java.lang.String; +import java.util.Objects; + + +public final class GetRoutingProtocolDirectIpv4Args extends com.pulumi.resources.ResourceArgs { + + public static final GetRoutingProtocolDirectIpv4Args Empty = new GetRoutingProtocolDirectIpv4Args(); + + /** + * Equinix side Interface IP address + * + */ + @Import(name="equinixIfaceIp", required=true) + private Output equinixIfaceIp; + + /** + * @return Equinix side Interface IP address + * + */ + public Output equinixIfaceIp() { + return this.equinixIfaceIp; + } + + private GetRoutingProtocolDirectIpv4Args() {} + + private GetRoutingProtocolDirectIpv4Args(GetRoutingProtocolDirectIpv4Args $) { + this.equinixIfaceIp = $.equinixIfaceIp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRoutingProtocolDirectIpv4Args defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRoutingProtocolDirectIpv4Args $; + + public Builder() { + $ = new GetRoutingProtocolDirectIpv4Args(); + } + + public Builder(GetRoutingProtocolDirectIpv4Args defaults) { + $ = new GetRoutingProtocolDirectIpv4Args(Objects.requireNonNull(defaults)); + } + + /** + * @param equinixIfaceIp Equinix side Interface IP address + * + * @return builder + * + */ + public Builder equinixIfaceIp(Output equinixIfaceIp) { + $.equinixIfaceIp = equinixIfaceIp; + return this; + } + + /** + * @param equinixIfaceIp Equinix side Interface IP address + * + * @return builder + * + */ + public Builder equinixIfaceIp(String equinixIfaceIp) { + return equinixIfaceIp(Output.of(equinixIfaceIp)); + } + + public GetRoutingProtocolDirectIpv4Args build() { + $.equinixIfaceIp = Objects.requireNonNull($.equinixIfaceIp, "expected parameter 'equinixIfaceIp' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv6.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv6.java new file mode 100644 index 00000000..a5b9266b --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv6.java @@ -0,0 +1,72 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRoutingProtocolDirectIpv6 extends com.pulumi.resources.InvokeArgs { + + public static final GetRoutingProtocolDirectIpv6 Empty = new GetRoutingProtocolDirectIpv6(); + + /** + * Equinix side Interface IP address + * + */ + @Import(name="equinixIfaceIp") + private @Nullable String equinixIfaceIp; + + /** + * @return Equinix side Interface IP address + * + */ + public Optional equinixIfaceIp() { + return Optional.ofNullable(this.equinixIfaceIp); + } + + private GetRoutingProtocolDirectIpv6() {} + + private GetRoutingProtocolDirectIpv6(GetRoutingProtocolDirectIpv6 $) { + this.equinixIfaceIp = $.equinixIfaceIp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRoutingProtocolDirectIpv6 defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRoutingProtocolDirectIpv6 $; + + public Builder() { + $ = new GetRoutingProtocolDirectIpv6(); + } + + public Builder(GetRoutingProtocolDirectIpv6 defaults) { + $ = new GetRoutingProtocolDirectIpv6(Objects.requireNonNull(defaults)); + } + + /** + * @param equinixIfaceIp Equinix side Interface IP address + * + * @return builder + * + */ + public Builder equinixIfaceIp(@Nullable String equinixIfaceIp) { + $.equinixIfaceIp = equinixIfaceIp; + return this; + } + + public GetRoutingProtocolDirectIpv6 build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv6Args.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv6Args.java new file mode 100644 index 00000000..ce3b60fa --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolDirectIpv6Args.java @@ -0,0 +1,83 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRoutingProtocolDirectIpv6Args extends com.pulumi.resources.ResourceArgs { + + public static final GetRoutingProtocolDirectIpv6Args Empty = new GetRoutingProtocolDirectIpv6Args(); + + /** + * Equinix side Interface IP address + * + */ + @Import(name="equinixIfaceIp") + private @Nullable Output equinixIfaceIp; + + /** + * @return Equinix side Interface IP address + * + */ + public Optional> equinixIfaceIp() { + return Optional.ofNullable(this.equinixIfaceIp); + } + + private GetRoutingProtocolDirectIpv6Args() {} + + private GetRoutingProtocolDirectIpv6Args(GetRoutingProtocolDirectIpv6Args $) { + this.equinixIfaceIp = $.equinixIfaceIp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRoutingProtocolDirectIpv6Args defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRoutingProtocolDirectIpv6Args $; + + public Builder() { + $ = new GetRoutingProtocolDirectIpv6Args(); + } + + public Builder(GetRoutingProtocolDirectIpv6Args defaults) { + $ = new GetRoutingProtocolDirectIpv6Args(Objects.requireNonNull(defaults)); + } + + /** + * @param equinixIfaceIp Equinix side Interface IP address + * + * @return builder + * + */ + public Builder equinixIfaceIp(@Nullable Output equinixIfaceIp) { + $.equinixIfaceIp = equinixIfaceIp; + return this; + } + + /** + * @param equinixIfaceIp Equinix side Interface IP address + * + * @return builder + * + */ + public Builder equinixIfaceIp(String equinixIfaceIp) { + return equinixIfaceIp(Output.of(equinixIfaceIp)); + } + + public GetRoutingProtocolDirectIpv6Args build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolPlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolPlainArgs.java new file mode 100644 index 00000000..d87870e9 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetRoutingProtocolPlainArgs.java @@ -0,0 +1,348 @@ +// *** 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.equinix.pulumi.fabric.inputs.GetRoutingProtocolBfd; +import com.equinix.pulumi.fabric.inputs.GetRoutingProtocolBgpIpv4; +import com.equinix.pulumi.fabric.inputs.GetRoutingProtocolBgpIpv6; +import com.equinix.pulumi.fabric.inputs.GetRoutingProtocolDirectIpv4; +import com.equinix.pulumi.fabric.inputs.GetRoutingProtocolDirectIpv6; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetRoutingProtocolPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetRoutingProtocolPlainArgs Empty = new GetRoutingProtocolPlainArgs(); + + /** + * Bidirectional Forwarding Detection + * + */ + @Import(name="bfd") + private @Nullable GetRoutingProtocolBfd bfd; + + /** + * @return Bidirectional Forwarding Detection + * + */ + public Optional bfd() { + return Optional.ofNullable(this.bfd); + } + + /** + * BGP authorization key + * + */ + @Import(name="bgpAuthKey") + private @Nullable String bgpAuthKey; + + /** + * @return BGP authorization key + * + */ + public Optional bgpAuthKey() { + return Optional.ofNullable(this.bgpAuthKey); + } + + /** + * Routing Protocol BGP IPv4 + * + */ + @Import(name="bgpIpv4") + private @Nullable GetRoutingProtocolBgpIpv4 bgpIpv4; + + /** + * @return Routing Protocol BGP IPv4 + * + */ + public Optional bgpIpv4() { + return Optional.ofNullable(this.bgpIpv4); + } + + /** + * Routing Protocol BGP IPv6 + * + */ + @Import(name="bgpIpv6") + private @Nullable GetRoutingProtocolBgpIpv6 bgpIpv6; + + /** + * @return Routing Protocol BGP IPv6 + * + */ + public Optional bgpIpv6() { + return Optional.ofNullable(this.bgpIpv6); + } + + /** + * Connection URI associated with Routing Protocol + * + */ + @Import(name="connectionUuid", required=true) + private String connectionUuid; + + /** + * @return Connection URI associated with Routing Protocol + * + */ + public String connectionUuid() { + return this.connectionUuid; + } + + /** + * Customer-provided ASN + * + */ + @Import(name="customerAsn") + private @Nullable Integer customerAsn; + + /** + * @return Customer-provided ASN + * + */ + public Optional customerAsn() { + return Optional.ofNullable(this.customerAsn); + } + + /** + * Customer-provided Fabric Routing Protocol description + * + */ + @Import(name="description") + private @Nullable String description; + + /** + * @return Customer-provided Fabric Routing Protocol description + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + + /** + * Routing Protocol Direct IPv4 + * + */ + @Import(name="directIpv4") + private @Nullable GetRoutingProtocolDirectIpv4 directIpv4; + + /** + * @return Routing Protocol Direct IPv4 + * + */ + public Optional directIpv4() { + return Optional.ofNullable(this.directIpv4); + } + + /** + * Routing Protocol Direct IPv6 + * + */ + @Import(name="directIpv6") + private @Nullable GetRoutingProtocolDirectIpv6 directIpv6; + + /** + * @return Routing Protocol Direct IPv6 + * + */ + public Optional directIpv6() { + return Optional.ofNullable(this.directIpv6); + } + + /** + * Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + @Import(name="type") + private @Nullable String type; + + public Optional type() { + return Optional.ofNullable(this.type); + } + + @Import(name="uuid") + private @Nullable String uuid; + + public Optional uuid() { + return Optional.ofNullable(this.uuid); + } + + private GetRoutingProtocolPlainArgs() {} + + private GetRoutingProtocolPlainArgs(GetRoutingProtocolPlainArgs $) { + this.bfd = $.bfd; + this.bgpAuthKey = $.bgpAuthKey; + this.bgpIpv4 = $.bgpIpv4; + this.bgpIpv6 = $.bgpIpv6; + this.connectionUuid = $.connectionUuid; + this.customerAsn = $.customerAsn; + this.description = $.description; + this.directIpv4 = $.directIpv4; + this.directIpv6 = $.directIpv6; + this.name = $.name; + this.type = $.type; + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetRoutingProtocolPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetRoutingProtocolPlainArgs $; + + public Builder() { + $ = new GetRoutingProtocolPlainArgs(); + } + + public Builder(GetRoutingProtocolPlainArgs defaults) { + $ = new GetRoutingProtocolPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param bfd Bidirectional Forwarding Detection + * + * @return builder + * + */ + public Builder bfd(@Nullable GetRoutingProtocolBfd bfd) { + $.bfd = bfd; + return this; + } + + /** + * @param bgpAuthKey BGP authorization key + * + * @return builder + * + */ + public Builder bgpAuthKey(@Nullable String bgpAuthKey) { + $.bgpAuthKey = bgpAuthKey; + return this; + } + + /** + * @param bgpIpv4 Routing Protocol BGP IPv4 + * + * @return builder + * + */ + public Builder bgpIpv4(@Nullable GetRoutingProtocolBgpIpv4 bgpIpv4) { + $.bgpIpv4 = bgpIpv4; + return this; + } + + /** + * @param bgpIpv6 Routing Protocol BGP IPv6 + * + * @return builder + * + */ + public Builder bgpIpv6(@Nullable GetRoutingProtocolBgpIpv6 bgpIpv6) { + $.bgpIpv6 = bgpIpv6; + return this; + } + + /** + * @param connectionUuid Connection URI associated with Routing Protocol + * + * @return builder + * + */ + public Builder connectionUuid(String connectionUuid) { + $.connectionUuid = connectionUuid; + return this; + } + + /** + * @param customerAsn Customer-provided ASN + * + * @return builder + * + */ + public Builder customerAsn(@Nullable Integer customerAsn) { + $.customerAsn = customerAsn; + return this; + } + + /** + * @param description Customer-provided Fabric Routing Protocol description + * + * @return builder + * + */ + public Builder description(@Nullable String description) { + $.description = description; + return this; + } + + /** + * @param directIpv4 Routing Protocol Direct IPv4 + * + * @return builder + * + */ + public Builder directIpv4(@Nullable GetRoutingProtocolDirectIpv4 directIpv4) { + $.directIpv4 = directIpv4; + return this; + } + + /** + * @param directIpv6 Routing Protocol Direct IPv6 + * + * @return builder + * + */ + public Builder directIpv6(@Nullable GetRoutingProtocolDirectIpv6 directIpv6) { + $.directIpv6 = directIpv6; + return this; + } + + /** + * @param name Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + public Builder type(@Nullable String type) { + $.type = type; + return this; + } + + public Builder uuid(@Nullable String uuid) { + $.uuid = uuid; + return this; + } + + public GetRoutingProtocolPlainArgs build() { + $.connectionUuid = Objects.requireNonNull($.connectionUuid, "expected parameter 'connectionUuid' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfileArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfileArgs.java index a700b125..942cf15f 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfileArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfileArgs.java @@ -30,17 +30,9 @@ public Optional> state() { return Optional.ofNullable(this.state); } - /** - * Equinix assigned service profile identifier - * - */ @Import(name="uuid", required=true) private Output uuid; - /** - * @return Equinix assigned service profile identifier - * - */ public Output uuid() { return this.uuid; } @@ -91,23 +83,11 @@ public Builder state(String state) { return state(Output.of(state)); } - /** - * @param uuid Equinix assigned service profile identifier - * - * @return builder - * - */ public Builder uuid(Output uuid) { $.uuid = uuid; return this; } - /** - * @param uuid Equinix assigned service profile identifier - * - * @return builder - * - */ public Builder uuid(String uuid) { return uuid(Output.of(uuid)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfilePlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfilePlainArgs.java index be610989..618c8986 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfilePlainArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfilePlainArgs.java @@ -29,17 +29,9 @@ public Optional state() { return Optional.ofNullable(this.state); } - /** - * Equinix assigned service profile identifier - * - */ @Import(name="uuid", required=true) private String uuid; - /** - * @return Equinix assigned service profile identifier - * - */ public String uuid() { return this.uuid; } @@ -80,12 +72,6 @@ public Builder state(@Nullable String state) { return this; } - /** - * @param uuid Equinix assigned service profile identifier - * - * @return builder - * - */ public Builder uuid(String uuid) { $.uuid = uuid; return this; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfilesArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfilesArgs.java index a6dccee1..1f8239d2 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfilesArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfilesArgs.java @@ -7,6 +7,7 @@ import com.equinix.pulumi.fabric.inputs.GetServiceProfilesSortArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.String; import java.util.List; import java.util.Objects; import java.util.Optional; @@ -47,11 +48,27 @@ public Optional>> sort() { return Optional.ofNullable(this.sort); } + /** + * Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + * + */ + @Import(name="viewPoint") + private @Nullable Output viewPoint; + + /** + * @return Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + * + */ + public Optional> viewPoint() { + return Optional.ofNullable(this.viewPoint); + } + private GetServiceProfilesArgs() {} private GetServiceProfilesArgs(GetServiceProfilesArgs $) { this.filter = $.filter; this.sort = $.sort; + this.viewPoint = $.viewPoint; } public static Builder builder() { @@ -124,6 +141,27 @@ public Builder sort(GetServiceProfilesSortArgs... sort) { return sort(List.of(sort)); } + /** + * @param viewPoint Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + * + * @return builder + * + */ + public Builder viewPoint(@Nullable Output viewPoint) { + $.viewPoint = viewPoint; + return this; + } + + /** + * @param viewPoint Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + * + * @return builder + * + */ + public Builder viewPoint(String viewPoint) { + return viewPoint(Output.of(viewPoint)); + } + public GetServiceProfilesArgs build() { return $; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfilesPlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfilesPlainArgs.java index 36011d2e..3c5eb3ca 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfilesPlainArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetServiceProfilesPlainArgs.java @@ -6,6 +6,7 @@ import com.equinix.pulumi.fabric.inputs.GetServiceProfilesFilter; import com.equinix.pulumi.fabric.inputs.GetServiceProfilesSort; import com.pulumi.core.annotations.Import; +import java.lang.String; import java.util.List; import java.util.Objects; import java.util.Optional; @@ -46,11 +47,27 @@ public Optional> sort() { return Optional.ofNullable(this.sort); } + /** + * Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + * + */ + @Import(name="viewPoint") + private @Nullable String viewPoint; + + /** + * @return Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + * + */ + public Optional viewPoint() { + return Optional.ofNullable(this.viewPoint); + } + private GetServiceProfilesPlainArgs() {} private GetServiceProfilesPlainArgs(GetServiceProfilesPlainArgs $) { this.filter = $.filter; this.sort = $.sort; + this.viewPoint = $.viewPoint; } public static Builder builder() { @@ -103,6 +120,17 @@ public Builder sort(GetServiceProfilesSort... sort) { return sort(List.of(sort)); } + /** + * @param viewPoint Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + * + * @return builder + * + */ + public Builder viewPoint(@Nullable String viewPoint) { + $.viewPoint = viewPoint; + return this; + } + public GetServiceProfilesPlainArgs build() { return $; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolBfdArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolBfdArgs.java new file mode 100644 index 00000000..07a7b3b9 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolBfdArgs.java @@ -0,0 +1,122 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RoutingProtocolBfdArgs extends com.pulumi.resources.ResourceArgs { + + public static final RoutingProtocolBfdArgs Empty = new RoutingProtocolBfdArgs(); + + /** + * Bidirectional Forwarding Detection enablement + * + */ + @Import(name="enabled", required=true) + private Output enabled; + + /** + * @return Bidirectional Forwarding Detection enablement + * + */ + public Output enabled() { + return this.enabled; + } + + /** + * Interval range between the received BFD control packets + * + */ + @Import(name="interval") + private @Nullable Output interval; + + /** + * @return Interval range between the received BFD control packets + * + */ + public Optional> interval() { + return Optional.ofNullable(this.interval); + } + + private RoutingProtocolBfdArgs() {} + + private RoutingProtocolBfdArgs(RoutingProtocolBfdArgs $) { + this.enabled = $.enabled; + this.interval = $.interval; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RoutingProtocolBfdArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RoutingProtocolBfdArgs $; + + public Builder() { + $ = new RoutingProtocolBfdArgs(); + } + + public Builder(RoutingProtocolBfdArgs defaults) { + $ = new RoutingProtocolBfdArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param enabled Bidirectional Forwarding Detection enablement + * + * @return builder + * + */ + public Builder enabled(Output enabled) { + $.enabled = enabled; + return this; + } + + /** + * @param enabled Bidirectional Forwarding Detection enablement + * + * @return builder + * + */ + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + /** + * @param interval Interval range between the received BFD control packets + * + * @return builder + * + */ + public Builder interval(@Nullable Output interval) { + $.interval = interval; + return this; + } + + /** + * @param interval Interval range between the received BFD control packets + * + * @return builder + * + */ + public Builder interval(String interval) { + return interval(Output.of(interval)); + } + + public RoutingProtocolBfdArgs build() { + $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolBgpIpv4Args.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolBgpIpv4Args.java new file mode 100644 index 00000000..3948270d --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolBgpIpv4Args.java @@ -0,0 +1,159 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RoutingProtocolBgpIpv4Args extends com.pulumi.resources.ResourceArgs { + + public static final RoutingProtocolBgpIpv4Args Empty = new RoutingProtocolBgpIpv4Args(); + + /** + * Customer side peering ip + * + */ + @Import(name="customerPeerIp", required=true) + private Output customerPeerIp; + + /** + * @return Customer side peering ip + * + */ + public Output customerPeerIp() { + return this.customerPeerIp; + } + + /** + * Admin status for the BGP session + * + */ + @Import(name="enabled") + private @Nullable Output enabled; + + /** + * @return Admin status for the BGP session + * + */ + public Optional> enabled() { + return Optional.ofNullable(this.enabled); + } + + /** + * Equinix side peering ip + * + */ + @Import(name="equinixPeerIp") + private @Nullable Output equinixPeerIp; + + /** + * @return Equinix side peering ip + * + */ + public Optional> equinixPeerIp() { + return Optional.ofNullable(this.equinixPeerIp); + } + + private RoutingProtocolBgpIpv4Args() {} + + private RoutingProtocolBgpIpv4Args(RoutingProtocolBgpIpv4Args $) { + this.customerPeerIp = $.customerPeerIp; + this.enabled = $.enabled; + this.equinixPeerIp = $.equinixPeerIp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RoutingProtocolBgpIpv4Args defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RoutingProtocolBgpIpv4Args $; + + public Builder() { + $ = new RoutingProtocolBgpIpv4Args(); + } + + public Builder(RoutingProtocolBgpIpv4Args defaults) { + $ = new RoutingProtocolBgpIpv4Args(Objects.requireNonNull(defaults)); + } + + /** + * @param customerPeerIp Customer side peering ip + * + * @return builder + * + */ + public Builder customerPeerIp(Output customerPeerIp) { + $.customerPeerIp = customerPeerIp; + return this; + } + + /** + * @param customerPeerIp Customer side peering ip + * + * @return builder + * + */ + public Builder customerPeerIp(String customerPeerIp) { + return customerPeerIp(Output.of(customerPeerIp)); + } + + /** + * @param enabled Admin status for the BGP session + * + * @return builder + * + */ + public Builder enabled(@Nullable Output enabled) { + $.enabled = enabled; + return this; + } + + /** + * @param enabled Admin status for the BGP session + * + * @return builder + * + */ + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + /** + * @param equinixPeerIp Equinix side peering ip + * + * @return builder + * + */ + public Builder equinixPeerIp(@Nullable Output equinixPeerIp) { + $.equinixPeerIp = equinixPeerIp; + return this; + } + + /** + * @param equinixPeerIp Equinix side peering ip + * + * @return builder + * + */ + public Builder equinixPeerIp(String equinixPeerIp) { + return equinixPeerIp(Output.of(equinixPeerIp)); + } + + public RoutingProtocolBgpIpv4Args build() { + $.customerPeerIp = Objects.requireNonNull($.customerPeerIp, "expected parameter 'customerPeerIp' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolBgpIpv6Args.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolBgpIpv6Args.java new file mode 100644 index 00000000..a7b28af2 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolBgpIpv6Args.java @@ -0,0 +1,159 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RoutingProtocolBgpIpv6Args extends com.pulumi.resources.ResourceArgs { + + public static final RoutingProtocolBgpIpv6Args Empty = new RoutingProtocolBgpIpv6Args(); + + /** + * Customer side peering ip + * + */ + @Import(name="customerPeerIp", required=true) + private Output customerPeerIp; + + /** + * @return Customer side peering ip + * + */ + public Output customerPeerIp() { + return this.customerPeerIp; + } + + /** + * Admin status for the BGP session + * + */ + @Import(name="enabled") + private @Nullable Output enabled; + + /** + * @return Admin status for the BGP session + * + */ + public Optional> enabled() { + return Optional.ofNullable(this.enabled); + } + + /** + * Equinix side peering ip + * + */ + @Import(name="equinixPeerIp") + private @Nullable Output equinixPeerIp; + + /** + * @return Equinix side peering ip + * + */ + public Optional> equinixPeerIp() { + return Optional.ofNullable(this.equinixPeerIp); + } + + private RoutingProtocolBgpIpv6Args() {} + + private RoutingProtocolBgpIpv6Args(RoutingProtocolBgpIpv6Args $) { + this.customerPeerIp = $.customerPeerIp; + this.enabled = $.enabled; + this.equinixPeerIp = $.equinixPeerIp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RoutingProtocolBgpIpv6Args defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RoutingProtocolBgpIpv6Args $; + + public Builder() { + $ = new RoutingProtocolBgpIpv6Args(); + } + + public Builder(RoutingProtocolBgpIpv6Args defaults) { + $ = new RoutingProtocolBgpIpv6Args(Objects.requireNonNull(defaults)); + } + + /** + * @param customerPeerIp Customer side peering ip + * + * @return builder + * + */ + public Builder customerPeerIp(Output customerPeerIp) { + $.customerPeerIp = customerPeerIp; + return this; + } + + /** + * @param customerPeerIp Customer side peering ip + * + * @return builder + * + */ + public Builder customerPeerIp(String customerPeerIp) { + return customerPeerIp(Output.of(customerPeerIp)); + } + + /** + * @param enabled Admin status for the BGP session + * + * @return builder + * + */ + public Builder enabled(@Nullable Output enabled) { + $.enabled = enabled; + return this; + } + + /** + * @param enabled Admin status for the BGP session + * + * @return builder + * + */ + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + /** + * @param equinixPeerIp Equinix side peering ip + * + * @return builder + * + */ + public Builder equinixPeerIp(@Nullable Output equinixPeerIp) { + $.equinixPeerIp = equinixPeerIp; + return this; + } + + /** + * @param equinixPeerIp Equinix side peering ip + * + * @return builder + * + */ + public Builder equinixPeerIp(String equinixPeerIp) { + return equinixPeerIp(Output.of(equinixPeerIp)); + } + + public RoutingProtocolBgpIpv6Args build() { + $.customerPeerIp = Objects.requireNonNull($.customerPeerIp, "expected parameter 'customerPeerIp' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolChangeArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolChangeArgs.java new file mode 100644 index 00000000..323b8e6a --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolChangeArgs.java @@ -0,0 +1,97 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RoutingProtocolChangeArgs extends com.pulumi.resources.ResourceArgs { + + public static final RoutingProtocolChangeArgs Empty = new RoutingProtocolChangeArgs(); + + @Import(name="href") + private @Nullable Output href; + + public Optional> href() { + return Optional.ofNullable(this.href); + } + + @Import(name="type") + private @Nullable Output type; + + public Optional> type() { + return Optional.ofNullable(this.type); + } + + @Import(name="uuid") + private @Nullable Output uuid; + + public Optional> uuid() { + return Optional.ofNullable(this.uuid); + } + + private RoutingProtocolChangeArgs() {} + + private RoutingProtocolChangeArgs(RoutingProtocolChangeArgs $) { + this.href = $.href; + this.type = $.type; + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RoutingProtocolChangeArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RoutingProtocolChangeArgs $; + + public Builder() { + $ = new RoutingProtocolChangeArgs(); + } + + public Builder(RoutingProtocolChangeArgs defaults) { + $ = new RoutingProtocolChangeArgs(Objects.requireNonNull(defaults)); + } + + public Builder href(@Nullable Output href) { + $.href = href; + return this; + } + + public Builder href(String href) { + return href(Output.of(href)); + } + + public Builder type(@Nullable Output type) { + $.type = type; + return this; + } + + public Builder type(String type) { + return type(Output.of(type)); + } + + public Builder uuid(@Nullable Output uuid) { + $.uuid = uuid; + return this; + } + + public Builder uuid(String uuid) { + return uuid(Output.of(uuid)); + } + + public RoutingProtocolChangeArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolChangeLogArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolChangeLogArgs.java new file mode 100644 index 00000000..f186627d --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolChangeLogArgs.java @@ -0,0 +1,250 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RoutingProtocolChangeLogArgs extends com.pulumi.resources.ResourceArgs { + + public static final RoutingProtocolChangeLogArgs Empty = new RoutingProtocolChangeLogArgs(); + + @Import(name="createdBy") + private @Nullable Output createdBy; + + public Optional> createdBy() { + return Optional.ofNullable(this.createdBy); + } + + @Import(name="createdByEmail") + private @Nullable Output createdByEmail; + + public Optional> createdByEmail() { + return Optional.ofNullable(this.createdByEmail); + } + + @Import(name="createdByFullName") + private @Nullable Output createdByFullName; + + public Optional> createdByFullName() { + return Optional.ofNullable(this.createdByFullName); + } + + @Import(name="createdDateTime") + private @Nullable Output createdDateTime; + + public Optional> createdDateTime() { + return Optional.ofNullable(this.createdDateTime); + } + + @Import(name="deletedBy") + private @Nullable Output deletedBy; + + public Optional> deletedBy() { + return Optional.ofNullable(this.deletedBy); + } + + @Import(name="deletedByEmail") + private @Nullable Output deletedByEmail; + + public Optional> deletedByEmail() { + return Optional.ofNullable(this.deletedByEmail); + } + + @Import(name="deletedByFullName") + private @Nullable Output deletedByFullName; + + public Optional> deletedByFullName() { + return Optional.ofNullable(this.deletedByFullName); + } + + @Import(name="deletedDateTime") + private @Nullable Output deletedDateTime; + + public Optional> deletedDateTime() { + return Optional.ofNullable(this.deletedDateTime); + } + + @Import(name="updatedBy") + private @Nullable Output updatedBy; + + public Optional> updatedBy() { + return Optional.ofNullable(this.updatedBy); + } + + @Import(name="updatedByEmail") + private @Nullable Output updatedByEmail; + + public Optional> updatedByEmail() { + return Optional.ofNullable(this.updatedByEmail); + } + + @Import(name="updatedByFullName") + private @Nullable Output updatedByFullName; + + public Optional> updatedByFullName() { + return Optional.ofNullable(this.updatedByFullName); + } + + @Import(name="updatedDateTime") + private @Nullable Output updatedDateTime; + + public Optional> updatedDateTime() { + return Optional.ofNullable(this.updatedDateTime); + } + + private RoutingProtocolChangeLogArgs() {} + + private RoutingProtocolChangeLogArgs(RoutingProtocolChangeLogArgs $) { + this.createdBy = $.createdBy; + this.createdByEmail = $.createdByEmail; + this.createdByFullName = $.createdByFullName; + this.createdDateTime = $.createdDateTime; + this.deletedBy = $.deletedBy; + this.deletedByEmail = $.deletedByEmail; + this.deletedByFullName = $.deletedByFullName; + this.deletedDateTime = $.deletedDateTime; + this.updatedBy = $.updatedBy; + this.updatedByEmail = $.updatedByEmail; + this.updatedByFullName = $.updatedByFullName; + this.updatedDateTime = $.updatedDateTime; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RoutingProtocolChangeLogArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RoutingProtocolChangeLogArgs $; + + public Builder() { + $ = new RoutingProtocolChangeLogArgs(); + } + + public Builder(RoutingProtocolChangeLogArgs defaults) { + $ = new RoutingProtocolChangeLogArgs(Objects.requireNonNull(defaults)); + } + + public Builder createdBy(@Nullable Output createdBy) { + $.createdBy = createdBy; + return this; + } + + public Builder createdBy(String createdBy) { + return createdBy(Output.of(createdBy)); + } + + public Builder createdByEmail(@Nullable Output createdByEmail) { + $.createdByEmail = createdByEmail; + return this; + } + + public Builder createdByEmail(String createdByEmail) { + return createdByEmail(Output.of(createdByEmail)); + } + + public Builder createdByFullName(@Nullable Output createdByFullName) { + $.createdByFullName = createdByFullName; + return this; + } + + public Builder createdByFullName(String createdByFullName) { + return createdByFullName(Output.of(createdByFullName)); + } + + public Builder createdDateTime(@Nullable Output createdDateTime) { + $.createdDateTime = createdDateTime; + return this; + } + + public Builder createdDateTime(String createdDateTime) { + return createdDateTime(Output.of(createdDateTime)); + } + + public Builder deletedBy(@Nullable Output deletedBy) { + $.deletedBy = deletedBy; + return this; + } + + public Builder deletedBy(String deletedBy) { + return deletedBy(Output.of(deletedBy)); + } + + public Builder deletedByEmail(@Nullable Output deletedByEmail) { + $.deletedByEmail = deletedByEmail; + return this; + } + + public Builder deletedByEmail(String deletedByEmail) { + return deletedByEmail(Output.of(deletedByEmail)); + } + + public Builder deletedByFullName(@Nullable Output deletedByFullName) { + $.deletedByFullName = deletedByFullName; + return this; + } + + public Builder deletedByFullName(String deletedByFullName) { + return deletedByFullName(Output.of(deletedByFullName)); + } + + public Builder deletedDateTime(@Nullable Output deletedDateTime) { + $.deletedDateTime = deletedDateTime; + return this; + } + + public Builder deletedDateTime(String deletedDateTime) { + return deletedDateTime(Output.of(deletedDateTime)); + } + + public Builder updatedBy(@Nullable Output updatedBy) { + $.updatedBy = updatedBy; + return this; + } + + public Builder updatedBy(String updatedBy) { + return updatedBy(Output.of(updatedBy)); + } + + public Builder updatedByEmail(@Nullable Output updatedByEmail) { + $.updatedByEmail = updatedByEmail; + return this; + } + + public Builder updatedByEmail(String updatedByEmail) { + return updatedByEmail(Output.of(updatedByEmail)); + } + + public Builder updatedByFullName(@Nullable Output updatedByFullName) { + $.updatedByFullName = updatedByFullName; + return this; + } + + public Builder updatedByFullName(String updatedByFullName) { + return updatedByFullName(Output.of(updatedByFullName)); + } + + public Builder updatedDateTime(@Nullable Output updatedDateTime) { + $.updatedDateTime = updatedDateTime; + return this; + } + + public Builder updatedDateTime(String updatedDateTime) { + return updatedDateTime(Output.of(updatedDateTime)); + } + + public RoutingProtocolChangeLogArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolDirectIpv4Args.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolDirectIpv4Args.java new file mode 100644 index 00000000..48f4dd5a --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolDirectIpv4Args.java @@ -0,0 +1,82 @@ +// *** 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 java.lang.String; +import java.util.Objects; + + +public final class RoutingProtocolDirectIpv4Args extends com.pulumi.resources.ResourceArgs { + + public static final RoutingProtocolDirectIpv4Args Empty = new RoutingProtocolDirectIpv4Args(); + + /** + * Equinix side Interface IP address + * + */ + @Import(name="equinixIfaceIp", required=true) + private Output equinixIfaceIp; + + /** + * @return Equinix side Interface IP address + * + */ + public Output equinixIfaceIp() { + return this.equinixIfaceIp; + } + + private RoutingProtocolDirectIpv4Args() {} + + private RoutingProtocolDirectIpv4Args(RoutingProtocolDirectIpv4Args $) { + this.equinixIfaceIp = $.equinixIfaceIp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RoutingProtocolDirectIpv4Args defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RoutingProtocolDirectIpv4Args $; + + public Builder() { + $ = new RoutingProtocolDirectIpv4Args(); + } + + public Builder(RoutingProtocolDirectIpv4Args defaults) { + $ = new RoutingProtocolDirectIpv4Args(Objects.requireNonNull(defaults)); + } + + /** + * @param equinixIfaceIp Equinix side Interface IP address + * + * @return builder + * + */ + public Builder equinixIfaceIp(Output equinixIfaceIp) { + $.equinixIfaceIp = equinixIfaceIp; + return this; + } + + /** + * @param equinixIfaceIp Equinix side Interface IP address + * + * @return builder + * + */ + public Builder equinixIfaceIp(String equinixIfaceIp) { + return equinixIfaceIp(Output.of(equinixIfaceIp)); + } + + public RoutingProtocolDirectIpv4Args build() { + $.equinixIfaceIp = Objects.requireNonNull($.equinixIfaceIp, "expected parameter 'equinixIfaceIp' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolDirectIpv6Args.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolDirectIpv6Args.java new file mode 100644 index 00000000..b67b1990 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolDirectIpv6Args.java @@ -0,0 +1,83 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RoutingProtocolDirectIpv6Args extends com.pulumi.resources.ResourceArgs { + + public static final RoutingProtocolDirectIpv6Args Empty = new RoutingProtocolDirectIpv6Args(); + + /** + * Equinix side Interface IP address + * + */ + @Import(name="equinixIfaceIp") + private @Nullable Output equinixIfaceIp; + + /** + * @return Equinix side Interface IP address + * + */ + public Optional> equinixIfaceIp() { + return Optional.ofNullable(this.equinixIfaceIp); + } + + private RoutingProtocolDirectIpv6Args() {} + + private RoutingProtocolDirectIpv6Args(RoutingProtocolDirectIpv6Args $) { + this.equinixIfaceIp = $.equinixIfaceIp; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RoutingProtocolDirectIpv6Args defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RoutingProtocolDirectIpv6Args $; + + public Builder() { + $ = new RoutingProtocolDirectIpv6Args(); + } + + public Builder(RoutingProtocolDirectIpv6Args defaults) { + $ = new RoutingProtocolDirectIpv6Args(Objects.requireNonNull(defaults)); + } + + /** + * @param equinixIfaceIp Equinix side Interface IP address + * + * @return builder + * + */ + public Builder equinixIfaceIp(@Nullable Output equinixIfaceIp) { + $.equinixIfaceIp = equinixIfaceIp; + return this; + } + + /** + * @param equinixIfaceIp Equinix side Interface IP address + * + * @return builder + * + */ + public Builder equinixIfaceIp(String equinixIfaceIp) { + return equinixIfaceIp(Output.of(equinixIfaceIp)); + } + + public RoutingProtocolDirectIpv6Args build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolOperationArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolOperationArgs.java new file mode 100644 index 00000000..f4f92c03 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolOperationArgs.java @@ -0,0 +1,68 @@ +// *** 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.equinix.pulumi.fabric.inputs.RoutingProtocolOperationErrorArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RoutingProtocolOperationArgs extends com.pulumi.resources.ResourceArgs { + + public static final RoutingProtocolOperationArgs Empty = new RoutingProtocolOperationArgs(); + + @Import(name="errors") + private @Nullable Output> errors; + + public Optional>> errors() { + return Optional.ofNullable(this.errors); + } + + private RoutingProtocolOperationArgs() {} + + private RoutingProtocolOperationArgs(RoutingProtocolOperationArgs $) { + this.errors = $.errors; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RoutingProtocolOperationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RoutingProtocolOperationArgs $; + + public Builder() { + $ = new RoutingProtocolOperationArgs(); + } + + public Builder(RoutingProtocolOperationArgs defaults) { + $ = new RoutingProtocolOperationArgs(Objects.requireNonNull(defaults)); + } + + public Builder errors(@Nullable Output> errors) { + $.errors = errors; + return this; + } + + public Builder errors(List errors) { + return errors(Output.of(errors)); + } + + public Builder errors(RoutingProtocolOperationErrorArgs... errors) { + return errors(List.of(errors)); + } + + public RoutingProtocolOperationArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolOperationErrorAdditionalInfoArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolOperationErrorAdditionalInfoArgs.java new file mode 100644 index 00000000..8c173433 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolOperationErrorAdditionalInfoArgs.java @@ -0,0 +1,80 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RoutingProtocolOperationErrorAdditionalInfoArgs extends com.pulumi.resources.ResourceArgs { + + public static final RoutingProtocolOperationErrorAdditionalInfoArgs Empty = new RoutingProtocolOperationErrorAdditionalInfoArgs(); + + @Import(name="property") + private @Nullable Output property; + + public Optional> property() { + return Optional.ofNullable(this.property); + } + + @Import(name="reason") + private @Nullable Output reason; + + public Optional> reason() { + return Optional.ofNullable(this.reason); + } + + private RoutingProtocolOperationErrorAdditionalInfoArgs() {} + + private RoutingProtocolOperationErrorAdditionalInfoArgs(RoutingProtocolOperationErrorAdditionalInfoArgs $) { + this.property = $.property; + this.reason = $.reason; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RoutingProtocolOperationErrorAdditionalInfoArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RoutingProtocolOperationErrorAdditionalInfoArgs $; + + public Builder() { + $ = new RoutingProtocolOperationErrorAdditionalInfoArgs(); + } + + public Builder(RoutingProtocolOperationErrorAdditionalInfoArgs defaults) { + $ = new RoutingProtocolOperationErrorAdditionalInfoArgs(Objects.requireNonNull(defaults)); + } + + public Builder property(@Nullable Output property) { + $.property = property; + return this; + } + + public Builder property(String property) { + return property(Output.of(property)); + } + + public Builder reason(@Nullable Output reason) { + $.reason = reason; + return this; + } + + public Builder reason(String reason) { + return reason(Output.of(reason)); + } + + public RoutingProtocolOperationErrorAdditionalInfoArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolOperationErrorArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolOperationErrorArgs.java new file mode 100644 index 00000000..85bccdf7 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolOperationErrorArgs.java @@ -0,0 +1,154 @@ +// *** 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.equinix.pulumi.fabric.inputs.RoutingProtocolOperationErrorAdditionalInfoArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RoutingProtocolOperationErrorArgs extends com.pulumi.resources.ResourceArgs { + + public static final RoutingProtocolOperationErrorArgs Empty = new RoutingProtocolOperationErrorArgs(); + + @Import(name="additionalInfos") + private @Nullable Output> additionalInfos; + + public Optional>> additionalInfos() { + return Optional.ofNullable(this.additionalInfos); + } + + @Import(name="correlationId") + private @Nullable Output correlationId; + + public Optional> correlationId() { + return Optional.ofNullable(this.correlationId); + } + + @Import(name="details") + private @Nullable Output details; + + public Optional> details() { + return Optional.ofNullable(this.details); + } + + @Import(name="errorCode") + private @Nullable Output errorCode; + + public Optional> errorCode() { + return Optional.ofNullable(this.errorCode); + } + + @Import(name="errorMessage") + private @Nullable Output errorMessage; + + public Optional> errorMessage() { + return Optional.ofNullable(this.errorMessage); + } + + @Import(name="help") + private @Nullable Output help; + + public Optional> help() { + return Optional.ofNullable(this.help); + } + + private RoutingProtocolOperationErrorArgs() {} + + private RoutingProtocolOperationErrorArgs(RoutingProtocolOperationErrorArgs $) { + this.additionalInfos = $.additionalInfos; + this.correlationId = $.correlationId; + this.details = $.details; + this.errorCode = $.errorCode; + this.errorMessage = $.errorMessage; + this.help = $.help; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RoutingProtocolOperationErrorArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RoutingProtocolOperationErrorArgs $; + + public Builder() { + $ = new RoutingProtocolOperationErrorArgs(); + } + + public Builder(RoutingProtocolOperationErrorArgs defaults) { + $ = new RoutingProtocolOperationErrorArgs(Objects.requireNonNull(defaults)); + } + + public Builder additionalInfos(@Nullable Output> additionalInfos) { + $.additionalInfos = additionalInfos; + return this; + } + + public Builder additionalInfos(List additionalInfos) { + return additionalInfos(Output.of(additionalInfos)); + } + + public Builder additionalInfos(RoutingProtocolOperationErrorAdditionalInfoArgs... additionalInfos) { + return additionalInfos(List.of(additionalInfos)); + } + + public Builder correlationId(@Nullable Output correlationId) { + $.correlationId = correlationId; + return this; + } + + public Builder correlationId(String correlationId) { + return correlationId(Output.of(correlationId)); + } + + public Builder details(@Nullable Output details) { + $.details = details; + return this; + } + + public Builder details(String details) { + return details(Output.of(details)); + } + + public Builder errorCode(@Nullable Output errorCode) { + $.errorCode = errorCode; + return this; + } + + public Builder errorCode(String errorCode) { + return errorCode(Output.of(errorCode)); + } + + public Builder errorMessage(@Nullable Output errorMessage) { + $.errorMessage = errorMessage; + return this; + } + + public Builder errorMessage(String errorMessage) { + return errorMessage(Output.of(errorMessage)); + } + + public Builder help(@Nullable Output help) { + $.help = help; + return this; + } + + public Builder help(String help) { + return help(Output.of(help)); + } + + public RoutingProtocolOperationErrorArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolState.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolState.java new file mode 100644 index 00000000..aa3a5fc4 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/RoutingProtocolState.java @@ -0,0 +1,752 @@ +// *** 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.equinix.pulumi.fabric.inputs.RoutingProtocolBfdArgs; +import com.equinix.pulumi.fabric.inputs.RoutingProtocolBgpIpv4Args; +import com.equinix.pulumi.fabric.inputs.RoutingProtocolBgpIpv6Args; +import com.equinix.pulumi.fabric.inputs.RoutingProtocolChangeArgs; +import com.equinix.pulumi.fabric.inputs.RoutingProtocolChangeLogArgs; +import com.equinix.pulumi.fabric.inputs.RoutingProtocolDirectIpv4Args; +import com.equinix.pulumi.fabric.inputs.RoutingProtocolDirectIpv6Args; +import com.equinix.pulumi.fabric.inputs.RoutingProtocolOperationArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RoutingProtocolState extends com.pulumi.resources.ResourceArgs { + + public static final RoutingProtocolState Empty = new RoutingProtocolState(); + + /** + * Bidirectional Forwarding Detection + * + */ + @Import(name="bfd") + private @Nullable Output bfd; + + /** + * @return Bidirectional Forwarding Detection + * + */ + public Optional> bfd() { + return Optional.ofNullable(this.bfd); + } + + /** + * BGP authorization key + * + */ + @Import(name="bgpAuthKey") + private @Nullable Output bgpAuthKey; + + /** + * @return BGP authorization key + * + */ + public Optional> bgpAuthKey() { + return Optional.ofNullable(this.bgpAuthKey); + } + + /** + * Routing Protocol BGP IPv4 + * + */ + @Import(name="bgpIpv4") + private @Nullable Output bgpIpv4; + + /** + * @return Routing Protocol BGP IPv4 + * + */ + public Optional> bgpIpv4() { + return Optional.ofNullable(this.bgpIpv4); + } + + /** + * Routing Protocol BGP IPv6 + * + */ + @Import(name="bgpIpv6") + private @Nullable Output bgpIpv6; + + /** + * @return Routing Protocol BGP IPv6 + * + */ + public Optional> bgpIpv6() { + return Optional.ofNullable(this.bgpIpv6); + } + + /** + * Captures Routing Protocol lifecycle change information + * + */ + @Import(name="changeLogs") + private @Nullable Output> changeLogs; + + /** + * @return Captures Routing Protocol lifecycle change information + * + */ + public Optional>> changeLogs() { + return Optional.ofNullable(this.changeLogs); + } + + /** + * Routing Protocol configuration Changes + * + */ + @Import(name="changes") + private @Nullable Output> changes; + + /** + * @return Routing Protocol configuration Changes + * + */ + public Optional>> changes() { + return Optional.ofNullable(this.changes); + } + + /** + * Connection URI associated with Routing Protocol + * + */ + @Import(name="connectionUuid") + private @Nullable Output connectionUuid; + + /** + * @return Connection URI associated with Routing Protocol + * + */ + public Optional> connectionUuid() { + return Optional.ofNullable(this.connectionUuid); + } + + /** + * Customer-provided ASN + * + */ + @Import(name="customerAsn") + private @Nullable Output customerAsn; + + /** + * @return Customer-provided ASN + * + */ + public Optional> customerAsn() { + return Optional.ofNullable(this.customerAsn); + } + + /** + * Customer-provided Fabric Routing Protocol description + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Customer-provided Fabric Routing Protocol description + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Routing Protocol Direct IPv4 + * + */ + @Import(name="directIpv4") + private @Nullable Output directIpv4; + + /** + * @return Routing Protocol Direct IPv4 + * + */ + public Optional> directIpv4() { + return Optional.ofNullable(this.directIpv4); + } + + /** + * Routing Protocol Direct IPv6 + * + */ + @Import(name="directIpv6") + private @Nullable Output directIpv6; + + /** + * @return Routing Protocol Direct IPv6 + * + */ + public Optional> directIpv6() { + return Optional.ofNullable(this.directIpv6); + } + + /** + * Equinix ASN + * + */ + @Import(name="equinixAsn") + private @Nullable Output equinixAsn; + + /** + * @return Equinix ASN + * + */ + public Optional> equinixAsn() { + return Optional.ofNullable(this.equinixAsn); + } + + /** + * Routing Protocol URI information + * + */ + @Import(name="href") + private @Nullable Output href; + + /** + * @return Routing Protocol URI information + * + */ + public Optional> href() { + return Optional.ofNullable(this.href); + } + + /** + * Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * Routing Protocol type-specific operational data + * + */ + @Import(name="operations") + private @Nullable Output> operations; + + /** + * @return Routing Protocol type-specific operational data + * + */ + public Optional>> operations() { + return Optional.ofNullable(this.operations); + } + + /** + * Routing Protocol overall state + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return Routing Protocol overall state + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * Defines the routing protocol type like BGP or DIRECT + * + */ + @Import(name="type") + private @Nullable Output type; + + /** + * @return Defines the routing protocol type like BGP or DIRECT + * + */ + public Optional> type() { + return Optional.ofNullable(this.type); + } + + /** + * Equinix-assigned routing protocol identifier + * + */ + @Import(name="uuid") + private @Nullable Output uuid; + + /** + * @return Equinix-assigned routing protocol identifier + * + */ + public Optional> uuid() { + return Optional.ofNullable(this.uuid); + } + + private RoutingProtocolState() {} + + private RoutingProtocolState(RoutingProtocolState $) { + this.bfd = $.bfd; + this.bgpAuthKey = $.bgpAuthKey; + this.bgpIpv4 = $.bgpIpv4; + this.bgpIpv6 = $.bgpIpv6; + this.changeLogs = $.changeLogs; + this.changes = $.changes; + this.connectionUuid = $.connectionUuid; + this.customerAsn = $.customerAsn; + this.description = $.description; + this.directIpv4 = $.directIpv4; + this.directIpv6 = $.directIpv6; + this.equinixAsn = $.equinixAsn; + this.href = $.href; + this.name = $.name; + this.operations = $.operations; + this.state = $.state; + this.type = $.type; + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RoutingProtocolState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RoutingProtocolState $; + + public Builder() { + $ = new RoutingProtocolState(); + } + + public Builder(RoutingProtocolState defaults) { + $ = new RoutingProtocolState(Objects.requireNonNull(defaults)); + } + + /** + * @param bfd Bidirectional Forwarding Detection + * + * @return builder + * + */ + public Builder bfd(@Nullable Output bfd) { + $.bfd = bfd; + return this; + } + + /** + * @param bfd Bidirectional Forwarding Detection + * + * @return builder + * + */ + public Builder bfd(RoutingProtocolBfdArgs bfd) { + return bfd(Output.of(bfd)); + } + + /** + * @param bgpAuthKey BGP authorization key + * + * @return builder + * + */ + public Builder bgpAuthKey(@Nullable Output bgpAuthKey) { + $.bgpAuthKey = bgpAuthKey; + return this; + } + + /** + * @param bgpAuthKey BGP authorization key + * + * @return builder + * + */ + public Builder bgpAuthKey(String bgpAuthKey) { + return bgpAuthKey(Output.of(bgpAuthKey)); + } + + /** + * @param bgpIpv4 Routing Protocol BGP IPv4 + * + * @return builder + * + */ + public Builder bgpIpv4(@Nullable Output bgpIpv4) { + $.bgpIpv4 = bgpIpv4; + return this; + } + + /** + * @param bgpIpv4 Routing Protocol BGP IPv4 + * + * @return builder + * + */ + public Builder bgpIpv4(RoutingProtocolBgpIpv4Args bgpIpv4) { + return bgpIpv4(Output.of(bgpIpv4)); + } + + /** + * @param bgpIpv6 Routing Protocol BGP IPv6 + * + * @return builder + * + */ + public Builder bgpIpv6(@Nullable Output bgpIpv6) { + $.bgpIpv6 = bgpIpv6; + return this; + } + + /** + * @param bgpIpv6 Routing Protocol BGP IPv6 + * + * @return builder + * + */ + public Builder bgpIpv6(RoutingProtocolBgpIpv6Args bgpIpv6) { + return bgpIpv6(Output.of(bgpIpv6)); + } + + /** + * @param changeLogs Captures Routing Protocol lifecycle change information + * + * @return builder + * + */ + public Builder changeLogs(@Nullable Output> changeLogs) { + $.changeLogs = changeLogs; + return this; + } + + /** + * @param changeLogs Captures Routing Protocol lifecycle change information + * + * @return builder + * + */ + public Builder changeLogs(List changeLogs) { + return changeLogs(Output.of(changeLogs)); + } + + /** + * @param changeLogs Captures Routing Protocol lifecycle change information + * + * @return builder + * + */ + public Builder changeLogs(RoutingProtocolChangeLogArgs... changeLogs) { + return changeLogs(List.of(changeLogs)); + } + + /** + * @param changes Routing Protocol configuration Changes + * + * @return builder + * + */ + public Builder changes(@Nullable Output> changes) { + $.changes = changes; + return this; + } + + /** + * @param changes Routing Protocol configuration Changes + * + * @return builder + * + */ + public Builder changes(List changes) { + return changes(Output.of(changes)); + } + + /** + * @param changes Routing Protocol configuration Changes + * + * @return builder + * + */ + public Builder changes(RoutingProtocolChangeArgs... changes) { + return changes(List.of(changes)); + } + + /** + * @param connectionUuid Connection URI associated with Routing Protocol + * + * @return builder + * + */ + public Builder connectionUuid(@Nullable Output connectionUuid) { + $.connectionUuid = connectionUuid; + return this; + } + + /** + * @param connectionUuid Connection URI associated with Routing Protocol + * + * @return builder + * + */ + public Builder connectionUuid(String connectionUuid) { + return connectionUuid(Output.of(connectionUuid)); + } + + /** + * @param customerAsn Customer-provided ASN + * + * @return builder + * + */ + public Builder customerAsn(@Nullable Output customerAsn) { + $.customerAsn = customerAsn; + return this; + } + + /** + * @param customerAsn Customer-provided ASN + * + * @return builder + * + */ + public Builder customerAsn(Integer customerAsn) { + return customerAsn(Output.of(customerAsn)); + } + + /** + * @param description Customer-provided Fabric Routing Protocol description + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Customer-provided Fabric Routing Protocol description + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param directIpv4 Routing Protocol Direct IPv4 + * + * @return builder + * + */ + public Builder directIpv4(@Nullable Output directIpv4) { + $.directIpv4 = directIpv4; + return this; + } + + /** + * @param directIpv4 Routing Protocol Direct IPv4 + * + * @return builder + * + */ + public Builder directIpv4(RoutingProtocolDirectIpv4Args directIpv4) { + return directIpv4(Output.of(directIpv4)); + } + + /** + * @param directIpv6 Routing Protocol Direct IPv6 + * + * @return builder + * + */ + public Builder directIpv6(@Nullable Output directIpv6) { + $.directIpv6 = directIpv6; + return this; + } + + /** + * @param directIpv6 Routing Protocol Direct IPv6 + * + * @return builder + * + */ + public Builder directIpv6(RoutingProtocolDirectIpv6Args directIpv6) { + return directIpv6(Output.of(directIpv6)); + } + + /** + * @param equinixAsn Equinix ASN + * + * @return builder + * + */ + public Builder equinixAsn(@Nullable Output equinixAsn) { + $.equinixAsn = equinixAsn; + return this; + } + + /** + * @param equinixAsn Equinix ASN + * + * @return builder + * + */ + public Builder equinixAsn(Integer equinixAsn) { + return equinixAsn(Output.of(equinixAsn)); + } + + /** + * @param href Routing Protocol URI information + * + * @return builder + * + */ + public Builder href(@Nullable Output href) { + $.href = href; + return this; + } + + /** + * @param href Routing Protocol URI information + * + * @return builder + * + */ + public Builder href(String href) { + return href(Output.of(href)); + } + + /** + * @param name Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param operations Routing Protocol type-specific operational data + * + * @return builder + * + */ + public Builder operations(@Nullable Output> operations) { + $.operations = operations; + return this; + } + + /** + * @param operations Routing Protocol type-specific operational data + * + * @return builder + * + */ + public Builder operations(List operations) { + return operations(Output.of(operations)); + } + + /** + * @param operations Routing Protocol type-specific operational data + * + * @return builder + * + */ + public Builder operations(RoutingProtocolOperationArgs... operations) { + return operations(List.of(operations)); + } + + /** + * @param state Routing Protocol overall state + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state Routing Protocol overall state + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param type Defines the routing protocol type like BGP or DIRECT + * + * @return builder + * + */ + public Builder type(@Nullable Output type) { + $.type = type; + return this; + } + + /** + * @param type Defines the routing protocol type like BGP or DIRECT + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + /** + * @param uuid Equinix-assigned routing protocol identifier + * + * @return builder + * + */ + public Builder uuid(@Nullable Output uuid) { + $.uuid = uuid; + return this; + } + + /** + * @param uuid Equinix-assigned routing protocol identifier + * + * @return builder + * + */ + public Builder uuid(String uuid) { + return uuid(Output.of(uuid)); + } + + public RoutingProtocolState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileAccessPointTypeConfigApiConfigArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileAccessPointTypeConfigApiConfigArgs.java index 9a604d67..ce113d25 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileAccessPointTypeConfigApiConfigArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileAccessPointTypeConfigApiConfigArgs.java @@ -17,51 +17,107 @@ public final class ServiceProfileAccessPointTypeConfigApiConfigArgs extends com. public static final ServiceProfileAccessPointTypeConfigApiConfigArgs Empty = new ServiceProfileAccessPointTypeConfigApiConfigArgs(); + /** + * Setting showing that oversubscription support is available (true) or not (false). The default is false + * + */ @Import(name="allowOverSubscription") private @Nullable Output allowOverSubscription; + /** + * @return Setting showing that oversubscription support is available (true) or not (false). The default is false + * + */ public Optional> allowOverSubscription() { return Optional.ofNullable(this.allowOverSubscription); } + /** + * Setting indicating whether the API is available (true) or not (false) + * + */ @Import(name="apiAvailable") private @Nullable Output apiAvailable; + /** + * @return Setting indicating whether the API is available (true) or not (false) + * + */ public Optional> apiAvailable() { return Optional.ofNullable(this.apiAvailable); } + /** + * Bandwidth from api + * + */ @Import(name="bandwidthFromApi") private @Nullable Output bandwidthFromApi; + /** + * @return Bandwidth from api + * + */ public Optional> bandwidthFromApi() { return Optional.ofNullable(this.bandwidthFromApi); } + /** + * Setting indicating that the port is managed by Equinix (true) or not (false) + * + */ @Import(name="equinixManagedPort") private @Nullable Output equinixManagedPort; + /** + * @return Setting indicating that the port is managed by Equinix (true) or not (false) + * + */ public Optional> equinixManagedPort() { return Optional.ofNullable(this.equinixManagedPort); } + /** + * Setting indicating that the VLAN is managed by Equinix (true) or not (false) + * + */ @Import(name="equinixManagedVlan") private @Nullable Output equinixManagedVlan; + /** + * @return Setting indicating that the VLAN is managed by Equinix (true) or not (false) + * + */ public Optional> equinixManagedVlan() { return Optional.ofNullable(this.equinixManagedVlan); } + /** + * Integration id + * + */ @Import(name="integrationId") private @Nullable Output integrationId; + /** + * @return Integration id + * + */ public Optional> integrationId() { return Optional.ofNullable(this.integrationId); } + /** + * A cap on over subscription + * + */ @Import(name="overSubscriptionLimit") private @Nullable Output overSubscriptionLimit; + /** + * @return A cap on over subscription + * + */ public Optional> overSubscriptionLimit() { return Optional.ofNullable(this.overSubscriptionLimit); } @@ -96,65 +152,149 @@ public Builder(ServiceProfileAccessPointTypeConfigApiConfigArgs defaults) { $ = new ServiceProfileAccessPointTypeConfigApiConfigArgs(Objects.requireNonNull(defaults)); } + /** + * @param allowOverSubscription Setting showing that oversubscription support is available (true) or not (false). The default is false + * + * @return builder + * + */ public Builder allowOverSubscription(@Nullable Output allowOverSubscription) { $.allowOverSubscription = allowOverSubscription; return this; } + /** + * @param allowOverSubscription Setting showing that oversubscription support is available (true) or not (false). The default is false + * + * @return builder + * + */ public Builder allowOverSubscription(Boolean allowOverSubscription) { return allowOverSubscription(Output.of(allowOverSubscription)); } + /** + * @param apiAvailable Setting indicating whether the API is available (true) or not (false) + * + * @return builder + * + */ public Builder apiAvailable(@Nullable Output apiAvailable) { $.apiAvailable = apiAvailable; return this; } + /** + * @param apiAvailable Setting indicating whether the API is available (true) or not (false) + * + * @return builder + * + */ public Builder apiAvailable(Boolean apiAvailable) { return apiAvailable(Output.of(apiAvailable)); } + /** + * @param bandwidthFromApi Bandwidth from api + * + * @return builder + * + */ public Builder bandwidthFromApi(@Nullable Output bandwidthFromApi) { $.bandwidthFromApi = bandwidthFromApi; return this; } + /** + * @param bandwidthFromApi Bandwidth from api + * + * @return builder + * + */ public Builder bandwidthFromApi(Boolean bandwidthFromApi) { return bandwidthFromApi(Output.of(bandwidthFromApi)); } + /** + * @param equinixManagedPort Setting indicating that the port is managed by Equinix (true) or not (false) + * + * @return builder + * + */ public Builder equinixManagedPort(@Nullable Output equinixManagedPort) { $.equinixManagedPort = equinixManagedPort; return this; } + /** + * @param equinixManagedPort Setting indicating that the port is managed by Equinix (true) or not (false) + * + * @return builder + * + */ public Builder equinixManagedPort(Boolean equinixManagedPort) { return equinixManagedPort(Output.of(equinixManagedPort)); } + /** + * @param equinixManagedVlan Setting indicating that the VLAN is managed by Equinix (true) or not (false) + * + * @return builder + * + */ public Builder equinixManagedVlan(@Nullable Output equinixManagedVlan) { $.equinixManagedVlan = equinixManagedVlan; return this; } + /** + * @param equinixManagedVlan Setting indicating that the VLAN is managed by Equinix (true) or not (false) + * + * @return builder + * + */ public Builder equinixManagedVlan(Boolean equinixManagedVlan) { return equinixManagedVlan(Output.of(equinixManagedVlan)); } + /** + * @param integrationId Integration id + * + * @return builder + * + */ public Builder integrationId(@Nullable Output integrationId) { $.integrationId = integrationId; return this; } + /** + * @param integrationId Integration id + * + * @return builder + * + */ public Builder integrationId(String integrationId) { return integrationId(Output.of(integrationId)); } + /** + * @param overSubscriptionLimit A cap on over subscription + * + * @return builder + * + */ public Builder overSubscriptionLimit(@Nullable Output overSubscriptionLimit) { $.overSubscriptionLimit = overSubscriptionLimit; return this; } + /** + * @param overSubscriptionLimit A cap on over subscription + * + * @return builder + * + */ public Builder overSubscriptionLimit(Integer overSubscriptionLimit) { return overSubscriptionLimit(Output.of(overSubscriptionLimit)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs.java index cbe62b53..037b8455 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs.java @@ -17,30 +17,46 @@ public final class ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs exte public static final ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs Empty = new ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs(); /** - * User-provided service description + * Description * */ @Import(name="description") private @Nullable Output description; /** - * @return User-provided service description + * @return Description * */ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * Label + * + */ @Import(name="label") private @Nullable Output label; + /** + * @return Label + * + */ public Optional> label() { return Optional.ofNullable(this.label); } + /** + * Required + * + */ @Import(name="required") private @Nullable Output required; + /** + * @return Required + * + */ public Optional> required() { return Optional.ofNullable(this.required); } @@ -72,7 +88,7 @@ public Builder(ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs defaults } /** - * @param description User-provided service description + * @param description Description * * @return builder * @@ -83,7 +99,7 @@ public Builder description(@Nullable Output description) { } /** - * @param description User-provided service description + * @param description Description * * @return builder * @@ -92,20 +108,44 @@ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param label Label + * + * @return builder + * + */ public Builder label(@Nullable Output label) { $.label = label; return this; } + /** + * @param label Label + * + * @return builder + * + */ public Builder label(String label) { return label(Output.of(label)); } + /** + * @param required Required + * + * @return builder + * + */ public Builder required(@Nullable Output required) { $.required = required; return this; } + /** + * @param required Required + * + * @return builder + * + */ public Builder required(Boolean required) { return required(Output.of(required)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs.java index f239fdd9..28adda67 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs.java @@ -16,23 +16,47 @@ public final class ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs ext public static final ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs Empty = new ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs(); + /** + * Port Encapsulation + * + */ @Import(name="encapsulation") private @Nullable Output encapsulation; + /** + * @return Port Encapsulation + * + */ public Optional> encapsulation() { return Optional.ofNullable(this.encapsulation); } + /** + * Encapsulation strategy + * + */ @Import(name="encapsulationStrategy") private @Nullable Output encapsulationStrategy; + /** + * @return Encapsulation strategy + * + */ public Optional> encapsulationStrategy() { return Optional.ofNullable(this.encapsulationStrategy); } + /** + * Reuse vlan sTag + * + */ @Import(name="reuseVlanSTag") private @Nullable Output reuseVlanSTag; + /** + * @return Reuse vlan sTag + * + */ public Optional> reuseVlanSTag() { return Optional.ofNullable(this.reuseVlanSTag); } @@ -63,29 +87,65 @@ public Builder(ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs default $ = new ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs(Objects.requireNonNull(defaults)); } + /** + * @param encapsulation Port Encapsulation + * + * @return builder + * + */ public Builder encapsulation(@Nullable Output encapsulation) { $.encapsulation = encapsulation; return this; } + /** + * @param encapsulation Port Encapsulation + * + * @return builder + * + */ public Builder encapsulation(String encapsulation) { return encapsulation(Output.of(encapsulation)); } + /** + * @param encapsulationStrategy Encapsulation strategy + * + * @return builder + * + */ public Builder encapsulationStrategy(@Nullable Output encapsulationStrategy) { $.encapsulationStrategy = encapsulationStrategy; return this; } + /** + * @param encapsulationStrategy Encapsulation strategy + * + * @return builder + * + */ public Builder encapsulationStrategy(String encapsulationStrategy) { return encapsulationStrategy(Output.of(encapsulationStrategy)); } + /** + * @param reuseVlanSTag Reuse vlan sTag + * + * @return builder + * + */ public Builder reuseVlanSTag(@Nullable Output reuseVlanSTag) { $.reuseVlanSTag = reuseVlanSTag; return this; } + /** + * @param reuseVlanSTag Reuse vlan sTag + * + * @return builder + * + */ public Builder reuseVlanSTag(Boolean reuseVlanSTag) { return reuseVlanSTag(Output.of(reuseVlanSTag)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileMarketingInfoProcessStepArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileMarketingInfoProcessStepArgs.java index c718957d..266fa825 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileMarketingInfoProcessStepArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileMarketingInfoProcessStepArgs.java @@ -16,30 +16,46 @@ public final class ServiceProfileMarketingInfoProcessStepArgs extends com.pulumi public static final ServiceProfileMarketingInfoProcessStepArgs Empty = new ServiceProfileMarketingInfoProcessStepArgs(); /** - * User-provided service description + * Description * */ @Import(name="description") private @Nullable Output description; /** - * @return User-provided service description + * @return Description * */ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * Sub Title + * + */ @Import(name="subTitle") private @Nullable Output subTitle; + /** + * @return Sub Title + * + */ public Optional> subTitle() { return Optional.ofNullable(this.subTitle); } + /** + * Title + * + */ @Import(name="title") private @Nullable Output title; + /** + * @return Title + * + */ public Optional> title() { return Optional.ofNullable(this.title); } @@ -71,7 +87,7 @@ public Builder(ServiceProfileMarketingInfoProcessStepArgs defaults) { } /** - * @param description User-provided service description + * @param description Description * * @return builder * @@ -82,7 +98,7 @@ public Builder description(@Nullable Output description) { } /** - * @param description User-provided service description + * @param description Description * * @return builder * @@ -91,20 +107,44 @@ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param subTitle Sub Title + * + * @return builder + * + */ public Builder subTitle(@Nullable Output subTitle) { $.subTitle = subTitle; return this; } + /** + * @param subTitle Sub Title + * + * @return builder + * + */ public Builder subTitle(String subTitle) { return subTitle(Output.of(subTitle)); } + /** + * @param title Title + * + * @return builder + * + */ public Builder title(@Nullable Output title) { $.title = title; return this; } + /** + * @param title Title + * + * @return builder + * + */ public Builder title(String title) { return title(Output.of(title)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfilePortLocationArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfilePortLocationArgs.java index 479a5a5d..e7e441e7 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfilePortLocationArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfilePortLocationArgs.java @@ -15,30 +15,62 @@ public final class ServiceProfilePortLocationArgs extends com.pulumi.resources.R public static final ServiceProfilePortLocationArgs Empty = new ServiceProfilePortLocationArgs(); + /** + * IBX Code + * + */ @Import(name="ibx") private @Nullable Output ibx; + /** + * @return IBX Code + * + */ public Optional> ibx() { return Optional.ofNullable(this.ibx); } + /** + * Access point metro code + * + */ @Import(name="metroCode") private @Nullable Output metroCode; + /** + * @return Access point metro code + * + */ public Optional> metroCode() { return Optional.ofNullable(this.metroCode); } + /** + * Access point metro name + * + */ @Import(name="metroName") private @Nullable Output metroName; + /** + * @return Access point metro name + * + */ public Optional> metroName() { return Optional.ofNullable(this.metroName); } + /** + * Access point region + * + */ @Import(name="region") private @Nullable Output region; + /** + * @return Access point region + * + */ public Optional> region() { return Optional.ofNullable(this.region); } @@ -70,38 +102,86 @@ public Builder(ServiceProfilePortLocationArgs defaults) { $ = new ServiceProfilePortLocationArgs(Objects.requireNonNull(defaults)); } + /** + * @param ibx IBX Code + * + * @return builder + * + */ public Builder ibx(@Nullable Output ibx) { $.ibx = ibx; return this; } + /** + * @param ibx IBX Code + * + * @return builder + * + */ public Builder ibx(String ibx) { return ibx(Output.of(ibx)); } + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ public Builder metroCode(@Nullable Output metroCode) { $.metroCode = metroCode; return this; } + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ public Builder metroCode(String metroCode) { return metroCode(Output.of(metroCode)); } + /** + * @param metroName Access point metro name + * + * @return builder + * + */ public Builder metroName(@Nullable Output metroName) { $.metroName = metroName; return this; } + /** + * @param metroName Access point metro name + * + * @return builder + * + */ public Builder metroName(String metroName) { return metroName(Output.of(metroName)); } + /** + * @param region Access point region + * + * @return builder + * + */ public Builder region(@Nullable Output region) { $.region = region; return this; } + /** + * @param region Access point region + * + * @return builder + * + */ public Builder region(String region) { return region(Output.of(region)); } 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 9aaf918b..17a4dc56 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 @@ -107,14 +107,14 @@ public Optional>> customFields() { } /** - * User-provided service description + * Description * */ @Import(name="description") private @Nullable Output description; /** - * @return User-provided service description + * @return Description * */ public Optional> description() { @@ -122,14 +122,14 @@ public Optional> description() { } /** - * Service Profile URI response attribute + * Unique Resource URL * */ @Import(name="href") private @Nullable Output href; /** - * @return Service Profile URI response attribute + * @return Unique Resource URL * */ public Optional> href() { @@ -167,14 +167,14 @@ public Optional>> metros() { } /** - * Customer-assigned service profile name + * Metro Name * */ @Import(name="name") private @Nullable Output name; /** - * @return Customer-assigned service profile name + * @return Metro Name * */ public Optional> name() { @@ -272,14 +272,14 @@ public Optional>> tags() { } /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * Type of access point type config - VD, COLO * */ @Import(name="type") private @Nullable Output> type; /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @return Type of access point type config - VD, COLO * */ public Optional>> type() { @@ -287,14 +287,14 @@ public Optional>> type() { } /** - * Equinix assigned service profile identifier + * Colo/Port Uuid * */ @Import(name="uuid") private @Nullable Output uuid; /** - * @return Equinix assigned service profile identifier + * @return Colo/Port Uuid * */ public Optional> uuid() { @@ -510,7 +510,7 @@ public Builder customFields(ServiceProfileCustomFieldArgs... customFields) { } /** - * @param description User-provided service description + * @param description Description * * @return builder * @@ -521,7 +521,7 @@ public Builder description(@Nullable Output description) { } /** - * @param description User-provided service description + * @param description Description * * @return builder * @@ -531,7 +531,7 @@ public Builder description(String description) { } /** - * @param href Service Profile URI response attribute + * @param href Unique Resource URL * * @return builder * @@ -542,7 +542,7 @@ public Builder href(@Nullable Output href) { } /** - * @param href Service Profile URI response attribute + * @param href Unique Resource URL * * @return builder * @@ -604,7 +604,7 @@ public Builder metros(ServiceProfileMetroArgs... metros) { } /** - * @param name Customer-assigned service profile name + * @param name Metro Name * * @return builder * @@ -615,7 +615,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Customer-assigned service profile name + * @param name Metro Name * * @return builder * @@ -801,7 +801,7 @@ public Builder tags(String... tags) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Type of access point type config - VD, COLO * * @return builder * @@ -812,7 +812,7 @@ public Builder type(@Nullable Output> type) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Type of access point type config - VD, COLO * * @return builder * @@ -822,7 +822,7 @@ public Builder type(Either type) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Type of access point type config - VD, COLO * * @return builder * @@ -832,7 +832,7 @@ public Builder type(String type) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Type of access point type config - VD, COLO * * @return builder * @@ -842,7 +842,7 @@ public Builder type(ProfileType type) { } /** - * @param uuid Equinix assigned service profile identifier + * @param uuid Colo/Port Uuid * * @return builder * @@ -853,7 +853,7 @@ public Builder uuid(@Nullable Output uuid) { } /** - * @param uuid Equinix assigned service profile identifier + * @param uuid Colo/Port Uuid * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileVirtualDeviceLocationArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileVirtualDeviceLocationArgs.java index 53280634..ac3b3bbb 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileVirtualDeviceLocationArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileVirtualDeviceLocationArgs.java @@ -15,30 +15,62 @@ public final class ServiceProfileVirtualDeviceLocationArgs extends com.pulumi.re public static final ServiceProfileVirtualDeviceLocationArgs Empty = new ServiceProfileVirtualDeviceLocationArgs(); + /** + * IBX Code + * + */ @Import(name="ibx") private @Nullable Output ibx; + /** + * @return IBX Code + * + */ public Optional> ibx() { return Optional.ofNullable(this.ibx); } + /** + * Access point metro code + * + */ @Import(name="metroCode") private @Nullable Output metroCode; + /** + * @return Access point metro code + * + */ public Optional> metroCode() { return Optional.ofNullable(this.metroCode); } + /** + * Access point metro name + * + */ @Import(name="metroName") private @Nullable Output metroName; + /** + * @return Access point metro name + * + */ public Optional> metroName() { return Optional.ofNullable(this.metroName); } + /** + * Access point region + * + */ @Import(name="region") private @Nullable Output region; + /** + * @return Access point region + * + */ public Optional> region() { return Optional.ofNullable(this.region); } @@ -70,38 +102,86 @@ public Builder(ServiceProfileVirtualDeviceLocationArgs defaults) { $ = new ServiceProfileVirtualDeviceLocationArgs(Objects.requireNonNull(defaults)); } + /** + * @param ibx IBX Code + * + * @return builder + * + */ public Builder ibx(@Nullable Output ibx) { $.ibx = ibx; return this; } + /** + * @param ibx IBX Code + * + * @return builder + * + */ public Builder ibx(String ibx) { return ibx(Output.of(ibx)); } + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ public Builder metroCode(@Nullable Output metroCode) { $.metroCode = metroCode; return this; } + /** + * @param metroCode Access point metro code + * + * @return builder + * + */ public Builder metroCode(String metroCode) { return metroCode(Output.of(metroCode)); } + /** + * @param metroName Access point metro name + * + * @return builder + * + */ public Builder metroName(@Nullable Output metroName) { $.metroName = metroName; return this; } + /** + * @param metroName Access point metro name + * + * @return builder + * + */ public Builder metroName(String metroName) { return metroName(Output.of(metroName)); } + /** + * @param region Access point region + * + * @return builder + * + */ public Builder region(@Nullable Output region) { $.region = region; return this; } + /** + * @param region Access point region + * + * @return builder + * + */ public Builder region(String region) { return region(Output.of(region)); } 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 new file mode 100644 index 00000000..9df0df8e --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterAccount.java @@ -0,0 +1,56 @@ +// *** 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 java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class CloudRouterAccount { + /** + * @return Account Number + * + */ + private @Nullable Integer accountNumber; + + private CloudRouterAccount() {} + /** + * @return Account Number + * + */ + public Optional accountNumber() { + return Optional.ofNullable(this.accountNumber); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(CloudRouterAccount defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Integer accountNumber; + public Builder() {} + public Builder(CloudRouterAccount defaults) { + Objects.requireNonNull(defaults); + this.accountNumber = defaults.accountNumber; + } + + @CustomType.Setter + public Builder accountNumber(@Nullable Integer accountNumber) { + this.accountNumber = accountNumber; + return this; + } + public CloudRouterAccount build() { + final var o = new CloudRouterAccount(); + o.accountNumber = accountNumber; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterChangeLog.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterChangeLog.java new file mode 100644 index 00000000..4d32abd3 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterChangeLog.java @@ -0,0 +1,180 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class CloudRouterChangeLog { + private @Nullable String createdBy; + private @Nullable String createdByEmail; + private @Nullable String createdByFullName; + private @Nullable String createdDateTime; + private @Nullable String deletedBy; + private @Nullable String deletedByEmail; + private @Nullable String deletedByFullName; + private @Nullable String deletedDateTime; + private @Nullable String updatedBy; + private @Nullable String updatedByEmail; + private @Nullable String updatedByFullName; + private @Nullable String updatedDateTime; + + private CloudRouterChangeLog() {} + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + public Optional createdByEmail() { + return Optional.ofNullable(this.createdByEmail); + } + public Optional createdByFullName() { + return Optional.ofNullable(this.createdByFullName); + } + public Optional createdDateTime() { + return Optional.ofNullable(this.createdDateTime); + } + public Optional deletedBy() { + return Optional.ofNullable(this.deletedBy); + } + public Optional deletedByEmail() { + return Optional.ofNullable(this.deletedByEmail); + } + public Optional deletedByFullName() { + return Optional.ofNullable(this.deletedByFullName); + } + public Optional deletedDateTime() { + return Optional.ofNullable(this.deletedDateTime); + } + public Optional updatedBy() { + return Optional.ofNullable(this.updatedBy); + } + public Optional updatedByEmail() { + return Optional.ofNullable(this.updatedByEmail); + } + public Optional updatedByFullName() { + return Optional.ofNullable(this.updatedByFullName); + } + public Optional updatedDateTime() { + return Optional.ofNullable(this.updatedDateTime); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(CloudRouterChangeLog defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String createdBy; + private @Nullable String createdByEmail; + private @Nullable String createdByFullName; + private @Nullable String createdDateTime; + private @Nullable String deletedBy; + private @Nullable String deletedByEmail; + private @Nullable String deletedByFullName; + private @Nullable String deletedDateTime; + private @Nullable String updatedBy; + private @Nullable String updatedByEmail; + private @Nullable String updatedByFullName; + private @Nullable String updatedDateTime; + public Builder() {} + public Builder(CloudRouterChangeLog defaults) { + Objects.requireNonNull(defaults); + this.createdBy = defaults.createdBy; + this.createdByEmail = defaults.createdByEmail; + this.createdByFullName = defaults.createdByFullName; + this.createdDateTime = defaults.createdDateTime; + this.deletedBy = defaults.deletedBy; + this.deletedByEmail = defaults.deletedByEmail; + this.deletedByFullName = defaults.deletedByFullName; + this.deletedDateTime = defaults.deletedDateTime; + this.updatedBy = defaults.updatedBy; + this.updatedByEmail = defaults.updatedByEmail; + this.updatedByFullName = defaults.updatedByFullName; + this.updatedDateTime = defaults.updatedDateTime; + } + + @CustomType.Setter + public Builder createdBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + @CustomType.Setter + public Builder createdByEmail(@Nullable String createdByEmail) { + this.createdByEmail = createdByEmail; + return this; + } + @CustomType.Setter + public Builder createdByFullName(@Nullable String createdByFullName) { + this.createdByFullName = createdByFullName; + return this; + } + @CustomType.Setter + public Builder createdDateTime(@Nullable String createdDateTime) { + this.createdDateTime = createdDateTime; + return this; + } + @CustomType.Setter + public Builder deletedBy(@Nullable String deletedBy) { + this.deletedBy = deletedBy; + return this; + } + @CustomType.Setter + public Builder deletedByEmail(@Nullable String deletedByEmail) { + this.deletedByEmail = deletedByEmail; + return this; + } + @CustomType.Setter + public Builder deletedByFullName(@Nullable String deletedByFullName) { + this.deletedByFullName = deletedByFullName; + return this; + } + @CustomType.Setter + public Builder deletedDateTime(@Nullable String deletedDateTime) { + this.deletedDateTime = deletedDateTime; + return this; + } + @CustomType.Setter + public Builder updatedBy(@Nullable String updatedBy) { + this.updatedBy = updatedBy; + return this; + } + @CustomType.Setter + public Builder updatedByEmail(@Nullable String updatedByEmail) { + this.updatedByEmail = updatedByEmail; + return this; + } + @CustomType.Setter + public Builder updatedByFullName(@Nullable String updatedByFullName) { + this.updatedByFullName = updatedByFullName; + return this; + } + @CustomType.Setter + public Builder updatedDateTime(@Nullable String updatedDateTime) { + this.updatedDateTime = updatedDateTime; + return this; + } + public CloudRouterChangeLog build() { + final var o = new CloudRouterChangeLog(); + o.createdBy = createdBy; + o.createdByEmail = createdByEmail; + o.createdByFullName = createdByFullName; + o.createdDateTime = createdDateTime; + o.deletedBy = deletedBy; + o.deletedByEmail = deletedByEmail; + o.deletedByFullName = deletedByFullName; + o.deletedDateTime = deletedDateTime; + o.updatedBy = updatedBy; + o.updatedByEmail = updatedByEmail; + o.updatedByFullName = updatedByFullName; + o.updatedDateTime = updatedDateTime; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterLocation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterLocation.java new file mode 100644 index 00000000..8ec4b6ba --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterLocation.java @@ -0,0 +1,116 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class CloudRouterLocation { + /** + * @return IBX Code + * + */ + private @Nullable String ibx; + /** + * @return Access point metro code + * + */ + private @Nullable String metroCode; + /** + * @return Access point metro name + * + */ + private @Nullable String metroName; + /** + * @return Access point region + * + */ + private @Nullable String region; + + private CloudRouterLocation() {} + /** + * @return IBX Code + * + */ + public Optional ibx() { + return Optional.ofNullable(this.ibx); + } + /** + * @return Access point metro code + * + */ + public Optional metroCode() { + return Optional.ofNullable(this.metroCode); + } + /** + * @return Access point metro name + * + */ + public Optional metroName() { + return Optional.ofNullable(this.metroName); + } + /** + * @return Access point region + * + */ + public Optional region() { + return Optional.ofNullable(this.region); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(CloudRouterLocation defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String ibx; + private @Nullable String metroCode; + private @Nullable String metroName; + private @Nullable String region; + public Builder() {} + public Builder(CloudRouterLocation defaults) { + Objects.requireNonNull(defaults); + this.ibx = defaults.ibx; + this.metroCode = defaults.metroCode; + this.metroName = defaults.metroName; + this.region = defaults.region; + } + + @CustomType.Setter + public Builder ibx(@Nullable String ibx) { + this.ibx = ibx; + return this; + } + @CustomType.Setter + public Builder metroCode(@Nullable String metroCode) { + this.metroCode = metroCode; + return this; + } + @CustomType.Setter + public Builder metroName(@Nullable String metroName) { + this.metroName = metroName; + return this; + } + @CustomType.Setter + public Builder region(@Nullable String region) { + this.region = region; + return this; + } + public CloudRouterLocation build() { + final var o = new CloudRouterLocation(); + o.ibx = ibx; + o.metroCode = metroCode; + o.metroName = metroName; + o.region = region; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterNotification.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterNotification.java new file mode 100644 index 00000000..a4b0ca96 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterNotification.java @@ -0,0 +1,100 @@ +// *** 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 java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class CloudRouterNotification { + /** + * @return Array of contact emails + * + */ + private List emails; + /** + * @return Send interval + * + */ + private @Nullable String sendInterval; + /** + * @return Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + */ + private String type; + + private CloudRouterNotification() {} + /** + * @return Array of contact emails + * + */ + public List emails() { + return this.emails; + } + /** + * @return Send interval + * + */ + public Optional sendInterval() { + return Optional.ofNullable(this.sendInterval); + } + /** + * @return Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(CloudRouterNotification defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List emails; + private @Nullable String sendInterval; + private String type; + public Builder() {} + public Builder(CloudRouterNotification defaults) { + Objects.requireNonNull(defaults); + this.emails = defaults.emails; + this.sendInterval = defaults.sendInterval; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder emails(List emails) { + this.emails = Objects.requireNonNull(emails); + return this; + } + public Builder emails(String... emails) { + return emails(List.of(emails)); + } + @CustomType.Setter + public Builder sendInterval(@Nullable String sendInterval) { + this.sendInterval = sendInterval; + return this; + } + @CustomType.Setter + public Builder type(String type) { + this.type = Objects.requireNonNull(type); + return this; + } + public CloudRouterNotification build() { + final var o = new CloudRouterNotification(); + o.emails = emails; + o.sendInterval = sendInterval; + o.type = type; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterOrder.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterOrder.java new file mode 100644 index 00000000..fad46dee --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterOrder.java @@ -0,0 +1,116 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class CloudRouterOrder { + /** + * @return Billing tier for connection bandwidth + * + */ + private @Nullable String billingTier; + /** + * @return Order Identification + * + */ + private @Nullable String orderId; + /** + * @return Order Reference Number + * + */ + private @Nullable String orderNumber; + /** + * @return Purchase order number + * + */ + private @Nullable String purchaseOrderNumber; + + private CloudRouterOrder() {} + /** + * @return Billing tier for connection bandwidth + * + */ + public Optional billingTier() { + return Optional.ofNullable(this.billingTier); + } + /** + * @return Order Identification + * + */ + public Optional orderId() { + return Optional.ofNullable(this.orderId); + } + /** + * @return Order Reference Number + * + */ + public Optional orderNumber() { + return Optional.ofNullable(this.orderNumber); + } + /** + * @return Purchase order number + * + */ + public Optional purchaseOrderNumber() { + return Optional.ofNullable(this.purchaseOrderNumber); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(CloudRouterOrder defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String billingTier; + private @Nullable String orderId; + private @Nullable String orderNumber; + private @Nullable String purchaseOrderNumber; + public Builder() {} + public Builder(CloudRouterOrder defaults) { + Objects.requireNonNull(defaults); + this.billingTier = defaults.billingTier; + this.orderId = defaults.orderId; + this.orderNumber = defaults.orderNumber; + this.purchaseOrderNumber = defaults.purchaseOrderNumber; + } + + @CustomType.Setter + public Builder billingTier(@Nullable String billingTier) { + this.billingTier = billingTier; + return this; + } + @CustomType.Setter + public Builder orderId(@Nullable String orderId) { + this.orderId = orderId; + return this; + } + @CustomType.Setter + public Builder orderNumber(@Nullable String orderNumber) { + this.orderNumber = orderNumber; + return this; + } + @CustomType.Setter + public Builder purchaseOrderNumber(@Nullable String purchaseOrderNumber) { + this.purchaseOrderNumber = purchaseOrderNumber; + return this; + } + public CloudRouterOrder build() { + final var o = new CloudRouterOrder(); + o.billingTier = billingTier; + o.orderId = orderId; + o.orderNumber = orderNumber; + o.purchaseOrderNumber = purchaseOrderNumber; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterPackage.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterPackage.java new file mode 100644 index 00000000..346bbe2f --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterPackage.java @@ -0,0 +1,54 @@ +// *** 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 java.lang.String; +import java.util.Objects; + +@CustomType +public final class CloudRouterPackage { + /** + * @return Fabric Cloud Router package code + * + */ + private String code; + + private CloudRouterPackage() {} + /** + * @return Fabric Cloud Router package code + * + */ + public String code() { + return this.code; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(CloudRouterPackage defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String code; + public Builder() {} + public Builder(CloudRouterPackage defaults) { + Objects.requireNonNull(defaults); + this.code = defaults.code; + } + + @CustomType.Setter + public Builder code(String code) { + this.code = Objects.requireNonNull(code); + return this; + } + public CloudRouterPackage build() { + final var o = new CloudRouterPackage(); + o.code = code; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterProject.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterProject.java new file mode 100644 index 00000000..2ff07acb --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterProject.java @@ -0,0 +1,76 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class CloudRouterProject { + /** + * @return Unique Resource URL + * + */ + private @Nullable String href; + /** + * @return Project Id + * + */ + private @Nullable String projectId; + + private CloudRouterProject() {} + /** + * @return Unique Resource URL + * + */ + public Optional href() { + return Optional.ofNullable(this.href); + } + /** + * @return Project Id + * + */ + public Optional projectId() { + return Optional.ofNullable(this.projectId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(CloudRouterProject defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String href; + private @Nullable String projectId; + public Builder() {} + public Builder(CloudRouterProject defaults) { + Objects.requireNonNull(defaults); + this.href = defaults.href; + this.projectId = defaults.projectId; + } + + @CustomType.Setter + public Builder href(@Nullable String href) { + this.href = href; + return this; + } + @CustomType.Setter + public Builder projectId(@Nullable String projectId) { + this.projectId = projectId; + return this; + } + public CloudRouterProject build() { + final var o = new CloudRouterProject(); + o.href = href; + o.projectId = projectId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPoint.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPoint.java index 26d476cc..c99fe30e 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPoint.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPoint.java @@ -8,8 +8,10 @@ import com.equinix.pulumi.fabric.outputs.ConnectionASideAccessPointInterface; import com.equinix.pulumi.fabric.outputs.ConnectionASideAccessPointLinkProtocol; import com.equinix.pulumi.fabric.outputs.ConnectionASideAccessPointLocation; +import com.equinix.pulumi.fabric.outputs.ConnectionASideAccessPointNetwork; import com.equinix.pulumi.fabric.outputs.ConnectionASideAccessPointPort; import com.equinix.pulumi.fabric.outputs.ConnectionASideAccessPointProfile; +import com.equinix.pulumi.fabric.outputs.ConnectionASideAccessPointRouter; import com.equinix.pulumi.fabric.outputs.ConnectionASideAccessPointRoutingProtocol; import com.equinix.pulumi.fabric.outputs.ConnectionASideAccessPointVirtualDevice; import com.pulumi.core.annotations.CustomType; @@ -22,76 +24,192 @@ @CustomType public final class ConnectionASideAccessPoint { /** - * @return Customer account information that is associated with this connection + * @return Account * */ private @Nullable ConnectionASideAccessPointAccount account; + /** + * @return Authentication key for provider based connections + * + */ private @Nullable String authenticationKey; + /** + * @deprecated + * use router attribute instead; gateway is no longer a part of the supported backend + * + */ + @Deprecated /* use router attribute instead; gateway is no longer a part of the supported backend */ private @Nullable ConnectionASideAccessPointGateway gateway; + /** + * @return Virtual device interface + * + */ private @Nullable ConnectionASideAccessPointInterface interface_; + /** + * @return Connection link protocol + * + */ private @Nullable ConnectionASideAccessPointLinkProtocol linkProtocol; + /** + * @return Access point location + * + */ private @Nullable ConnectionASideAccessPointLocation location; + private @Nullable ConnectionASideAccessPointNetwork network; + /** + * @return Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + */ private @Nullable String peeringType; + /** + * @return Port access point information + * + */ private @Nullable ConnectionASideAccessPointPort port; + /** + * @return Service Profile + * + */ private @Nullable ConnectionASideAccessPointProfile profile; + /** + * @return Provider assigned Connection Id + * + */ private @Nullable String providerConnectionId; + /** + * @return Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + * + */ + private @Nullable ConnectionASideAccessPointRouter router; + /** + * @return Access point routing protocols configuration + * + */ private @Nullable List routingProtocols; + /** + * @return Access point seller region + * + */ private @Nullable String sellerRegion; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Virtual device + * + */ private @Nullable ConnectionASideAccessPointVirtualDevice virtualDevice; private ConnectionASideAccessPoint() {} /** - * @return Customer account information that is associated with this connection + * @return Account * */ public Optional account() { return Optional.ofNullable(this.account); } + /** + * @return Authentication key for provider based connections + * + */ public Optional authenticationKey() { return Optional.ofNullable(this.authenticationKey); } + /** + * @deprecated + * use router attribute instead; gateway is no longer a part of the supported backend + * + */ + @Deprecated /* use router attribute instead; gateway is no longer a part of the supported backend */ public Optional gateway() { return Optional.ofNullable(this.gateway); } + /** + * @return Virtual device interface + * + */ public Optional interface_() { return Optional.ofNullable(this.interface_); } + /** + * @return Connection link protocol + * + */ public Optional linkProtocol() { return Optional.ofNullable(this.linkProtocol); } + /** + * @return Access point location + * + */ public Optional location() { return Optional.ofNullable(this.location); } + public Optional network() { + return Optional.ofNullable(this.network); + } + /** + * @return Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + */ public Optional peeringType() { return Optional.ofNullable(this.peeringType); } + /** + * @return Port access point information + * + */ public Optional port() { return Optional.ofNullable(this.port); } + /** + * @return Service Profile + * + */ public Optional profile() { return Optional.ofNullable(this.profile); } + /** + * @return Provider assigned Connection Id + * + */ public Optional providerConnectionId() { return Optional.ofNullable(this.providerConnectionId); } + /** + * @return Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + * + */ + public Optional router() { + return Optional.ofNullable(this.router); + } + /** + * @return Access point routing protocols configuration + * + */ public List routingProtocols() { return this.routingProtocols == null ? List.of() : this.routingProtocols; } + /** + * @return Access point seller region + * + */ public Optional sellerRegion() { return Optional.ofNullable(this.sellerRegion); } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Virtual device + * + */ public Optional virtualDevice() { return Optional.ofNullable(this.virtualDevice); } @@ -111,10 +229,12 @@ public static final class Builder { private @Nullable ConnectionASideAccessPointInterface interface_; private @Nullable ConnectionASideAccessPointLinkProtocol linkProtocol; private @Nullable ConnectionASideAccessPointLocation location; + private @Nullable ConnectionASideAccessPointNetwork network; private @Nullable String peeringType; private @Nullable ConnectionASideAccessPointPort port; private @Nullable ConnectionASideAccessPointProfile profile; private @Nullable String providerConnectionId; + private @Nullable ConnectionASideAccessPointRouter router; private @Nullable List routingProtocols; private @Nullable String sellerRegion; private @Nullable String type; @@ -128,10 +248,12 @@ public Builder(ConnectionASideAccessPoint defaults) { this.interface_ = defaults.interface_; this.linkProtocol = defaults.linkProtocol; this.location = defaults.location; + this.network = defaults.network; this.peeringType = defaults.peeringType; this.port = defaults.port; this.profile = defaults.profile; this.providerConnectionId = defaults.providerConnectionId; + this.router = defaults.router; this.routingProtocols = defaults.routingProtocols; this.sellerRegion = defaults.sellerRegion; this.type = defaults.type; @@ -169,6 +291,11 @@ public Builder location(@Nullable ConnectionASideAccessPointLocation location) { return this; } @CustomType.Setter + public Builder network(@Nullable ConnectionASideAccessPointNetwork network) { + this.network = network; + return this; + } + @CustomType.Setter public Builder peeringType(@Nullable String peeringType) { this.peeringType = peeringType; return this; @@ -189,6 +316,11 @@ public Builder providerConnectionId(@Nullable String providerConnectionId) { return this; } @CustomType.Setter + public Builder router(@Nullable ConnectionASideAccessPointRouter router) { + this.router = router; + return this; + } + @CustomType.Setter public Builder routingProtocols(@Nullable List routingProtocols) { this.routingProtocols = routingProtocols; return this; @@ -219,10 +351,12 @@ public ConnectionASideAccessPoint build() { o.interface_ = interface_; o.linkProtocol = linkProtocol; o.location = location; + o.network = network; o.peeringType = peeringType; o.port = port; o.profile = profile; o.providerConnectionId = providerConnectionId; + o.router = router; o.routingProtocols = routingProtocols; o.sellerRegion = sellerRegion; o.type = type; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointGateway.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointGateway.java index ca7c432e..f6e76fdd 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointGateway.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointGateway.java @@ -12,20 +12,28 @@ @CustomType public final class ConnectionASideAccessPointGateway { /** - * @return Connection URI information + * @return Unique Resource Identifier * */ private @Nullable String href; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionASideAccessPointGateway() {} /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional href() { return Optional.ofNullable(this.href); } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointInterface.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointInterface.java index 732dea18..2d5f644b 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointInterface.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointInterface.java @@ -12,32 +12,40 @@ @CustomType public final class ConnectionASideAccessPointInterface { /** - * @return The ID of this resource. + * @return id * */ private @Nullable String id; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionASideAccessPointInterface() {} /** - * @return The ID of this resource. + * @return id * */ public Optional id() { return Optional.ofNullable(this.id); } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointLinkProtocol.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointLinkProtocol.java index a0543131..708a4e40 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointLinkProtocol.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointLinkProtocol.java @@ -13,28 +13,52 @@ @CustomType public final class ConnectionASideAccessPointLinkProtocol { /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Vlan Customer Tag information, vlanCTag value specified for QINQ connections + * + */ private @Nullable Integer vlanCTag; + /** + * @return Vlan Provider Tag information, vlanSTag value specified for QINQ connections + * + */ private @Nullable Integer vlanSTag; + /** + * @return Vlan Tag information, vlanTag value specified for DOT1Q connections + * + */ private @Nullable Integer vlanTag; private ConnectionASideAccessPointLinkProtocol() {} /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Vlan Customer Tag information, vlanCTag value specified for QINQ connections + * + */ public Optional vlanCTag() { return Optional.ofNullable(this.vlanCTag); } + /** + * @return Vlan Provider Tag information, vlanSTag value specified for QINQ connections + * + */ public Optional vlanSTag() { return Optional.ofNullable(this.vlanSTag); } + /** + * @return Vlan Tag information, vlanTag value specified for DOT1Q connections + * + */ public Optional vlanTag() { return Optional.ofNullable(this.vlanTag); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointLocation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointLocation.java index 43e8cad1..f0bc95c8 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointLocation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointLocation.java @@ -11,21 +11,53 @@ @CustomType public final class ConnectionASideAccessPointLocation { + /** + * @return IBX Code + * + */ private @Nullable String ibx; + /** + * @return Access point metro code + * + */ private @Nullable String metroCode; + /** + * @return Access point metro name + * + */ private @Nullable String metroName; + /** + * @return Access point region + * + */ private @Nullable String region; private ConnectionASideAccessPointLocation() {} + /** + * @return IBX Code + * + */ public Optional ibx() { return Optional.ofNullable(this.ibx); } + /** + * @return Access point metro code + * + */ public Optional metroCode() { return Optional.ofNullable(this.metroCode); } + /** + * @return Access point metro name + * + */ public Optional metroName() { return Optional.ofNullable(this.metroName); } + /** + * @return Access point region + * + */ public Optional region() { return Optional.ofNullable(this.region); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointNetwork.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointNetwork.java new file mode 100644 index 00000000..14bdcd49 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointNetwork.java @@ -0,0 +1,76 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ConnectionASideAccessPointNetwork { + /** + * @return Unique Resource Identifier + * + */ + private @Nullable String href; + /** + * @return Equinix-assigned interface identifier + * + */ + private @Nullable String uuid; + + private ConnectionASideAccessPointNetwork() {} + /** + * @return Unique Resource Identifier + * + */ + public Optional href() { + return Optional.ofNullable(this.href); + } + /** + * @return Equinix-assigned interface identifier + * + */ + public Optional uuid() { + return Optional.ofNullable(this.uuid); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ConnectionASideAccessPointNetwork defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String href; + private @Nullable String uuid; + public Builder() {} + public Builder(ConnectionASideAccessPointNetwork defaults) { + Objects.requireNonNull(defaults); + this.href = defaults.href; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder href(@Nullable String href) { + this.href = href; + return this; + } + @CustomType.Setter + public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; + return this; + } + public ConnectionASideAccessPointNetwork build() { + final var o = new ConnectionASideAccessPointNetwork(); + o.href = href; + o.uuid = uuid; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointPort.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointPort.java index 6b60a7fb..c6286a7a 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointPort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointPort.java @@ -14,12 +14,12 @@ @CustomType public final class ConnectionASideAccessPointPort { /** - * @return Connection URI information + * @return Unique Resource Identifier * */ private @Nullable String href; /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ private @Nullable String name; @@ -28,18 +28,22 @@ public final class ConnectionASideAccessPointPort { * */ private @Nullable List redundancies; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionASideAccessPointPort() {} /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional href() { return Optional.ofNullable(this.href); } /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ public Optional name() { @@ -52,6 +56,10 @@ public Optional name() { public List redundancies() { return this.redundancies == null ? List.of() : this.redundancies; } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointProfile.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointProfile.java index 44abc30a..be3a7b56 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointProfile.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointProfile.java @@ -13,53 +13,77 @@ @CustomType public final class ConnectionASideAccessPointProfile { + /** + * @return Access point config information + * + */ private @Nullable List accessPointTypeConfigs; + /** + * @return User-provided service description + * + */ private @Nullable String description; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ private @Nullable String href; /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ private @Nullable String name; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private String type; + /** + * @return Equinix-assigned interface identifier + * + */ private String uuid; private ConnectionASideAccessPointProfile() {} + /** + * @return Access point config information + * + */ public List accessPointTypeConfigs() { return this.accessPointTypeConfigs == null ? List.of() : this.accessPointTypeConfigs; } + /** + * @return User-provided service description + * + */ public Optional description() { return Optional.ofNullable(this.description); } /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional href() { return Optional.ofNullable(this.href); } /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ public Optional name() { return Optional.ofNullable(this.name); } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public String type() { return this.type; } + /** + * @return Equinix-assigned interface identifier + * + */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointProfileAccessPointTypeConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointProfileAccessPointTypeConfig.java index 57a0e6e6..94f0a8ee 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointProfileAccessPointTypeConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointProfileAccessPointTypeConfig.java @@ -12,20 +12,28 @@ @CustomType public final class ConnectionASideAccessPointProfileAccessPointTypeConfig { /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionASideAccessPointProfileAccessPointTypeConfig() {} /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointRouter.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointRouter.java new file mode 100644 index 00000000..f286070b --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointRouter.java @@ -0,0 +1,76 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ConnectionASideAccessPointRouter { + /** + * @return Unique Resource Identifier + * + */ + private @Nullable String href; + /** + * @return Equinix-assigned interface identifier + * + */ + private @Nullable String uuid; + + private ConnectionASideAccessPointRouter() {} + /** + * @return Unique Resource Identifier + * + */ + public Optional href() { + return Optional.ofNullable(this.href); + } + /** + * @return Equinix-assigned interface identifier + * + */ + public Optional uuid() { + return Optional.ofNullable(this.uuid); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ConnectionASideAccessPointRouter defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String href; + private @Nullable String uuid; + public Builder() {} + public Builder(ConnectionASideAccessPointRouter defaults) { + Objects.requireNonNull(defaults); + this.href = defaults.href; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder href(@Nullable String href) { + this.href = href; + return this; + } + @CustomType.Setter + public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; + return this; + } + public ConnectionASideAccessPointRouter build() { + final var o = new ConnectionASideAccessPointRouter(); + o.href = href; + o.uuid = uuid; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointRoutingProtocol.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointRoutingProtocol.java index 6f860c49..6c279c22 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointRoutingProtocol.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointRoutingProtocol.java @@ -12,32 +12,40 @@ @CustomType public final class ConnectionASideAccessPointRoutingProtocol { /** - * @return Connection overall state + * @return Routing protocol instance state * */ private @Nullable String state; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionASideAccessPointRoutingProtocol() {} /** - * @return Connection overall state + * @return Routing protocol instance state * */ public Optional state() { return Optional.ofNullable(this.state); } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointVirtualDevice.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointVirtualDevice.java index 4f239bd4..4fd25aa3 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointVirtualDevice.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointVirtualDevice.java @@ -12,32 +12,40 @@ @CustomType public final class ConnectionASideAccessPointVirtualDevice { /** - * @return Connection URI information + * @return Unique Resource Identifier * */ private @Nullable String href; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionASideAccessPointVirtualDevice() {} /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional href() { return Optional.ofNullable(this.href); } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideServiceToken.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideServiceToken.java index 97497295..0a43f354 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideServiceToken.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideServiceToken.java @@ -11,37 +11,53 @@ @CustomType public final class ConnectionASideServiceToken { + /** + * @return User-provided service description + * + */ private @Nullable String description; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ private @Nullable String href; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionASideServiceToken() {} + /** + * @return User-provided service description + * + */ public Optional description() { return Optional.ofNullable(this.description); } /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional href() { return Optional.ofNullable(this.href); } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionAdditionalInfo.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionAdditionalInfo.java deleted file mode 100644 index 47f8160e..00000000 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionAdditionalInfo.java +++ /dev/null @@ -1,76 +0,0 @@ -// *** 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 java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class ConnectionAdditionalInfo { - /** - * @return Additional information key - * - */ - private @Nullable String key; - /** - * @return Additional information value - * - */ - private @Nullable String value; - - private ConnectionAdditionalInfo() {} - /** - * @return Additional information key - * - */ - public Optional key() { - return Optional.ofNullable(this.key); - } - /** - * @return Additional information value - * - */ - public Optional value() { - return Optional.ofNullable(this.value); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(ConnectionAdditionalInfo defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String key; - private @Nullable String value; - public Builder() {} - public Builder(ConnectionAdditionalInfo defaults) { - Objects.requireNonNull(defaults); - this.key = defaults.key; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder key(@Nullable String key) { - this.key = key; - return this; - } - @CustomType.Setter - public Builder value(@Nullable String value) { - this.value = value; - return this; - } - public ConnectionAdditionalInfo build() { - final var o = new ConnectionAdditionalInfo(); - o.key = key; - o.value = value; - return o; - } - } -} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOperationError.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOperationError.java index bdfcb31e..ce729bf0 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOperationError.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOperationError.java @@ -14,7 +14,7 @@ @CustomType public final class ConnectionOperationError { /** - * @return Connection additional information + * @return Connection side additional information * */ private @Nullable List additionalInfo; @@ -26,7 +26,7 @@ public final class ConnectionOperationError { private ConnectionOperationError() {} /** - * @return Connection additional information + * @return Connection side additional information * */ public List additionalInfo() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPoint.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPoint.java index 22faa5ca..ff050007 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPoint.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPoint.java @@ -8,8 +8,10 @@ import com.equinix.pulumi.fabric.outputs.ConnectionZSideAccessPointInterface; import com.equinix.pulumi.fabric.outputs.ConnectionZSideAccessPointLinkProtocol; import com.equinix.pulumi.fabric.outputs.ConnectionZSideAccessPointLocation; +import com.equinix.pulumi.fabric.outputs.ConnectionZSideAccessPointNetwork; import com.equinix.pulumi.fabric.outputs.ConnectionZSideAccessPointPort; import com.equinix.pulumi.fabric.outputs.ConnectionZSideAccessPointProfile; +import com.equinix.pulumi.fabric.outputs.ConnectionZSideAccessPointRouter; import com.equinix.pulumi.fabric.outputs.ConnectionZSideAccessPointRoutingProtocol; import com.equinix.pulumi.fabric.outputs.ConnectionZSideAccessPointVirtualDevice; import com.pulumi.core.annotations.CustomType; @@ -22,76 +24,192 @@ @CustomType public final class ConnectionZSideAccessPoint { /** - * @return Customer account information that is associated with this connection + * @return Account * */ private @Nullable ConnectionZSideAccessPointAccount account; + /** + * @return Authentication key for provider based connections + * + */ private @Nullable String authenticationKey; + /** + * @deprecated + * use router attribute instead; gateway is no longer a part of the supported backend + * + */ + @Deprecated /* use router attribute instead; gateway is no longer a part of the supported backend */ private @Nullable ConnectionZSideAccessPointGateway gateway; + /** + * @return Virtual device interface + * + */ private @Nullable ConnectionZSideAccessPointInterface interface_; + /** + * @return Connection link protocol + * + */ private @Nullable ConnectionZSideAccessPointLinkProtocol linkProtocol; + /** + * @return Access point location + * + */ private @Nullable ConnectionZSideAccessPointLocation location; + private @Nullable ConnectionZSideAccessPointNetwork network; + /** + * @return Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + */ private @Nullable String peeringType; + /** + * @return Port access point information + * + */ private @Nullable ConnectionZSideAccessPointPort port; + /** + * @return Service Profile + * + */ private @Nullable ConnectionZSideAccessPointProfile profile; + /** + * @return Provider assigned Connection Id + * + */ private @Nullable String providerConnectionId; + /** + * @return Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + * + */ + private @Nullable ConnectionZSideAccessPointRouter router; + /** + * @return Access point routing protocols configuration + * + */ private @Nullable List routingProtocols; + /** + * @return Access point seller region + * + */ private @Nullable String sellerRegion; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Virtual device + * + */ private @Nullable ConnectionZSideAccessPointVirtualDevice virtualDevice; private ConnectionZSideAccessPoint() {} /** - * @return Customer account information that is associated with this connection + * @return Account * */ public Optional account() { return Optional.ofNullable(this.account); } + /** + * @return Authentication key for provider based connections + * + */ public Optional authenticationKey() { return Optional.ofNullable(this.authenticationKey); } + /** + * @deprecated + * use router attribute instead; gateway is no longer a part of the supported backend + * + */ + @Deprecated /* use router attribute instead; gateway is no longer a part of the supported backend */ public Optional gateway() { return Optional.ofNullable(this.gateway); } + /** + * @return Virtual device interface + * + */ public Optional interface_() { return Optional.ofNullable(this.interface_); } + /** + * @return Connection link protocol + * + */ public Optional linkProtocol() { return Optional.ofNullable(this.linkProtocol); } + /** + * @return Access point location + * + */ public Optional location() { return Optional.ofNullable(this.location); } + public Optional network() { + return Optional.ofNullable(this.network); + } + /** + * @return Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + * + */ public Optional peeringType() { return Optional.ofNullable(this.peeringType); } + /** + * @return Port access point information + * + */ public Optional port() { return Optional.ofNullable(this.port); } + /** + * @return Service Profile + * + */ public Optional profile() { return Optional.ofNullable(this.profile); } + /** + * @return Provider assigned Connection Id + * + */ public Optional providerConnectionId() { return Optional.ofNullable(this.providerConnectionId); } + /** + * @return Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + * + */ + public Optional router() { + return Optional.ofNullable(this.router); + } + /** + * @return Access point routing protocols configuration + * + */ public List routingProtocols() { return this.routingProtocols == null ? List.of() : this.routingProtocols; } + /** + * @return Access point seller region + * + */ public Optional sellerRegion() { return Optional.ofNullable(this.sellerRegion); } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Virtual device + * + */ public Optional virtualDevice() { return Optional.ofNullable(this.virtualDevice); } @@ -111,10 +229,12 @@ public static final class Builder { private @Nullable ConnectionZSideAccessPointInterface interface_; private @Nullable ConnectionZSideAccessPointLinkProtocol linkProtocol; private @Nullable ConnectionZSideAccessPointLocation location; + private @Nullable ConnectionZSideAccessPointNetwork network; private @Nullable String peeringType; private @Nullable ConnectionZSideAccessPointPort port; private @Nullable ConnectionZSideAccessPointProfile profile; private @Nullable String providerConnectionId; + private @Nullable ConnectionZSideAccessPointRouter router; private @Nullable List routingProtocols; private @Nullable String sellerRegion; private @Nullable String type; @@ -128,10 +248,12 @@ public Builder(ConnectionZSideAccessPoint defaults) { this.interface_ = defaults.interface_; this.linkProtocol = defaults.linkProtocol; this.location = defaults.location; + this.network = defaults.network; this.peeringType = defaults.peeringType; this.port = defaults.port; this.profile = defaults.profile; this.providerConnectionId = defaults.providerConnectionId; + this.router = defaults.router; this.routingProtocols = defaults.routingProtocols; this.sellerRegion = defaults.sellerRegion; this.type = defaults.type; @@ -169,6 +291,11 @@ public Builder location(@Nullable ConnectionZSideAccessPointLocation location) { return this; } @CustomType.Setter + public Builder network(@Nullable ConnectionZSideAccessPointNetwork network) { + this.network = network; + return this; + } + @CustomType.Setter public Builder peeringType(@Nullable String peeringType) { this.peeringType = peeringType; return this; @@ -189,6 +316,11 @@ public Builder providerConnectionId(@Nullable String providerConnectionId) { return this; } @CustomType.Setter + public Builder router(@Nullable ConnectionZSideAccessPointRouter router) { + this.router = router; + return this; + } + @CustomType.Setter public Builder routingProtocols(@Nullable List routingProtocols) { this.routingProtocols = routingProtocols; return this; @@ -219,10 +351,12 @@ public ConnectionZSideAccessPoint build() { o.interface_ = interface_; o.linkProtocol = linkProtocol; o.location = location; + o.network = network; o.peeringType = peeringType; o.port = port; o.profile = profile; o.providerConnectionId = providerConnectionId; + o.router = router; o.routingProtocols = routingProtocols; o.sellerRegion = sellerRegion; o.type = type; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointGateway.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointGateway.java index a0244602..9a83acb3 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointGateway.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointGateway.java @@ -12,20 +12,28 @@ @CustomType public final class ConnectionZSideAccessPointGateway { /** - * @return Connection URI information + * @return Unique Resource Identifier * */ private @Nullable String href; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionZSideAccessPointGateway() {} /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional href() { return Optional.ofNullable(this.href); } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointInterface.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointInterface.java index f3983ea3..488002ff 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointInterface.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointInterface.java @@ -12,32 +12,40 @@ @CustomType public final class ConnectionZSideAccessPointInterface { /** - * @return The ID of this resource. + * @return id * */ private @Nullable String id; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionZSideAccessPointInterface() {} /** - * @return The ID of this resource. + * @return id * */ public Optional id() { return Optional.ofNullable(this.id); } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointLinkProtocol.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointLinkProtocol.java index 2306bc55..ded2a6e3 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointLinkProtocol.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointLinkProtocol.java @@ -13,28 +13,52 @@ @CustomType public final class ConnectionZSideAccessPointLinkProtocol { /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Vlan Customer Tag information, vlanCTag value specified for QINQ connections + * + */ private @Nullable Integer vlanCTag; + /** + * @return Vlan Provider Tag information, vlanSTag value specified for QINQ connections + * + */ private @Nullable Integer vlanSTag; + /** + * @return Vlan Tag information, vlanTag value specified for DOT1Q connections + * + */ private @Nullable Integer vlanTag; private ConnectionZSideAccessPointLinkProtocol() {} /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Vlan Customer Tag information, vlanCTag value specified for QINQ connections + * + */ public Optional vlanCTag() { return Optional.ofNullable(this.vlanCTag); } + /** + * @return Vlan Provider Tag information, vlanSTag value specified for QINQ connections + * + */ public Optional vlanSTag() { return Optional.ofNullable(this.vlanSTag); } + /** + * @return Vlan Tag information, vlanTag value specified for DOT1Q connections + * + */ public Optional vlanTag() { return Optional.ofNullable(this.vlanTag); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointLocation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointLocation.java index 736f5be8..48a6f001 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointLocation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointLocation.java @@ -11,21 +11,53 @@ @CustomType public final class ConnectionZSideAccessPointLocation { + /** + * @return IBX Code + * + */ private @Nullable String ibx; + /** + * @return Access point metro code + * + */ private @Nullable String metroCode; + /** + * @return Access point metro name + * + */ private @Nullable String metroName; + /** + * @return Access point region + * + */ private @Nullable String region; private ConnectionZSideAccessPointLocation() {} + /** + * @return IBX Code + * + */ public Optional ibx() { return Optional.ofNullable(this.ibx); } + /** + * @return Access point metro code + * + */ public Optional metroCode() { return Optional.ofNullable(this.metroCode); } + /** + * @return Access point metro name + * + */ public Optional metroName() { return Optional.ofNullable(this.metroName); } + /** + * @return Access point region + * + */ public Optional region() { return Optional.ofNullable(this.region); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointNetwork.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointNetwork.java new file mode 100644 index 00000000..f8453a85 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointNetwork.java @@ -0,0 +1,76 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ConnectionZSideAccessPointNetwork { + /** + * @return Unique Resource Identifier + * + */ + private @Nullable String href; + /** + * @return Equinix-assigned interface identifier + * + */ + private @Nullable String uuid; + + private ConnectionZSideAccessPointNetwork() {} + /** + * @return Unique Resource Identifier + * + */ + public Optional href() { + return Optional.ofNullable(this.href); + } + /** + * @return Equinix-assigned interface identifier + * + */ + public Optional uuid() { + return Optional.ofNullable(this.uuid); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ConnectionZSideAccessPointNetwork defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String href; + private @Nullable String uuid; + public Builder() {} + public Builder(ConnectionZSideAccessPointNetwork defaults) { + Objects.requireNonNull(defaults); + this.href = defaults.href; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder href(@Nullable String href) { + this.href = href; + return this; + } + @CustomType.Setter + public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; + return this; + } + public ConnectionZSideAccessPointNetwork build() { + final var o = new ConnectionZSideAccessPointNetwork(); + o.href = href; + o.uuid = uuid; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointPort.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointPort.java index 41d65442..db3408f1 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointPort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointPort.java @@ -14,12 +14,12 @@ @CustomType public final class ConnectionZSideAccessPointPort { /** - * @return Connection URI information + * @return Unique Resource Identifier * */ private @Nullable String href; /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ private @Nullable String name; @@ -28,18 +28,22 @@ public final class ConnectionZSideAccessPointPort { * */ private @Nullable List redundancies; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionZSideAccessPointPort() {} /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional href() { return Optional.ofNullable(this.href); } /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ public Optional name() { @@ -52,6 +56,10 @@ public Optional name() { public List redundancies() { return this.redundancies == null ? List.of() : this.redundancies; } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointProfile.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointProfile.java index feb3c075..0c8216cc 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointProfile.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointProfile.java @@ -13,53 +13,77 @@ @CustomType public final class ConnectionZSideAccessPointProfile { + /** + * @return Access point config information + * + */ private @Nullable List accessPointTypeConfigs; + /** + * @return User-provided service description + * + */ private @Nullable String description; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ private @Nullable String href; /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ private @Nullable String name; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private String type; + /** + * @return Equinix-assigned interface identifier + * + */ private String uuid; private ConnectionZSideAccessPointProfile() {} + /** + * @return Access point config information + * + */ public List accessPointTypeConfigs() { return this.accessPointTypeConfigs == null ? List.of() : this.accessPointTypeConfigs; } + /** + * @return User-provided service description + * + */ public Optional description() { return Optional.ofNullable(this.description); } /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional href() { return Optional.ofNullable(this.href); } /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * @return Port name * */ public Optional name() { return Optional.ofNullable(this.name); } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public String type() { return this.type; } + /** + * @return Equinix-assigned interface identifier + * + */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointProfileAccessPointTypeConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointProfileAccessPointTypeConfig.java index 10f427cf..63e699e9 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointProfileAccessPointTypeConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointProfileAccessPointTypeConfig.java @@ -12,20 +12,28 @@ @CustomType public final class ConnectionZSideAccessPointProfileAccessPointTypeConfig { /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionZSideAccessPointProfileAccessPointTypeConfig() {} /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointRouter.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointRouter.java new file mode 100644 index 00000000..8051c643 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointRouter.java @@ -0,0 +1,76 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ConnectionZSideAccessPointRouter { + /** + * @return Unique Resource Identifier + * + */ + private @Nullable String href; + /** + * @return Equinix-assigned interface identifier + * + */ + private @Nullable String uuid; + + private ConnectionZSideAccessPointRouter() {} + /** + * @return Unique Resource Identifier + * + */ + public Optional href() { + return Optional.ofNullable(this.href); + } + /** + * @return Equinix-assigned interface identifier + * + */ + public Optional uuid() { + return Optional.ofNullable(this.uuid); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ConnectionZSideAccessPointRouter defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String href; + private @Nullable String uuid; + public Builder() {} + public Builder(ConnectionZSideAccessPointRouter defaults) { + Objects.requireNonNull(defaults); + this.href = defaults.href; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder href(@Nullable String href) { + this.href = href; + return this; + } + @CustomType.Setter + public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; + return this; + } + public ConnectionZSideAccessPointRouter build() { + final var o = new ConnectionZSideAccessPointRouter(); + o.href = href; + o.uuid = uuid; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointRoutingProtocol.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointRoutingProtocol.java index 55941d8d..5f0e1244 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointRoutingProtocol.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointRoutingProtocol.java @@ -12,32 +12,40 @@ @CustomType public final class ConnectionZSideAccessPointRoutingProtocol { /** - * @return Connection overall state + * @return Routing protocol instance state * */ private @Nullable String state; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionZSideAccessPointRoutingProtocol() {} /** - * @return Connection overall state + * @return Routing protocol instance state * */ public Optional state() { return Optional.ofNullable(this.state); } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointVirtualDevice.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointVirtualDevice.java index b7ed8364..174c6f1d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointVirtualDevice.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointVirtualDevice.java @@ -12,32 +12,40 @@ @CustomType public final class ConnectionZSideAccessPointVirtualDevice { /** - * @return Connection URI information + * @return Unique Resource Identifier * */ private @Nullable String href; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionZSideAccessPointVirtualDevice() {} /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional href() { return Optional.ofNullable(this.href); } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideServiceToken.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideServiceToken.java index 563292b0..8bb3b29e 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideServiceToken.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideServiceToken.java @@ -11,37 +11,53 @@ @CustomType public final class ConnectionZSideServiceToken { + /** + * @return User-provided service description + * + */ private @Nullable String description; /** - * @return Connection URI information + * @return Unique Resource Identifier * */ private @Nullable String href; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ private @Nullable String type; + /** + * @return Equinix-assigned interface identifier + * + */ private @Nullable String uuid; private ConnectionZSideServiceToken() {} + /** + * @return User-provided service description + * + */ public Optional description() { return Optional.ofNullable(this.description); } /** - * @return Connection URI information + * @return Unique Resource Identifier * */ public Optional href() { return Optional.ofNullable(this.href); } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Interface type * */ public Optional type() { return Optional.ofNullable(this.type); } + /** + * @return Equinix-assigned interface identifier + * + */ public Optional uuid() { return Optional.ofNullable(this.uuid); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterAccount.java new file mode 100644 index 00000000..09aa323d --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterAccount.java @@ -0,0 +1,119 @@ +// *** 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 java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetCloudRouterAccount { + private String accountName; + private Integer accountNumber; + private String globalCustId; + private String globalOrgId; + private String globalOrganizationName; + private Integer orgId; + private String organizationName; + + private GetCloudRouterAccount() {} + public String accountName() { + return this.accountName; + } + public Integer accountNumber() { + return this.accountNumber; + } + public String globalCustId() { + return this.globalCustId; + } + public String globalOrgId() { + return this.globalOrgId; + } + public String globalOrganizationName() { + return this.globalOrganizationName; + } + public Integer orgId() { + return this.orgId; + } + public String organizationName() { + return this.organizationName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCloudRouterAccount defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String accountName; + private Integer accountNumber; + private String globalCustId; + private String globalOrgId; + private String globalOrganizationName; + private Integer orgId; + private String organizationName; + public Builder() {} + public Builder(GetCloudRouterAccount defaults) { + Objects.requireNonNull(defaults); + this.accountName = defaults.accountName; + this.accountNumber = defaults.accountNumber; + this.globalCustId = defaults.globalCustId; + this.globalOrgId = defaults.globalOrgId; + this.globalOrganizationName = defaults.globalOrganizationName; + this.orgId = defaults.orgId; + this.organizationName = defaults.organizationName; + } + + @CustomType.Setter + public Builder accountName(String accountName) { + this.accountName = Objects.requireNonNull(accountName); + return this; + } + @CustomType.Setter + public Builder accountNumber(Integer accountNumber) { + this.accountNumber = Objects.requireNonNull(accountNumber); + return this; + } + @CustomType.Setter + public Builder globalCustId(String globalCustId) { + this.globalCustId = Objects.requireNonNull(globalCustId); + return this; + } + @CustomType.Setter + public Builder globalOrgId(String globalOrgId) { + this.globalOrgId = Objects.requireNonNull(globalOrgId); + return this; + } + @CustomType.Setter + public Builder globalOrganizationName(String globalOrganizationName) { + this.globalOrganizationName = Objects.requireNonNull(globalOrganizationName); + return this; + } + @CustomType.Setter + public Builder orgId(Integer orgId) { + this.orgId = Objects.requireNonNull(orgId); + return this; + } + @CustomType.Setter + public Builder organizationName(String organizationName) { + this.organizationName = Objects.requireNonNull(organizationName); + return this; + } + public GetCloudRouterAccount build() { + final var o = new GetCloudRouterAccount(); + o.accountName = accountName; + o.accountNumber = accountNumber; + o.globalCustId = globalCustId; + o.globalOrgId = globalOrgId; + o.globalOrganizationName = globalOrganizationName; + o.orgId = orgId; + o.organizationName = organizationName; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterChangeLog.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterChangeLog.java new file mode 100644 index 00000000..54fc0996 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterChangeLog.java @@ -0,0 +1,178 @@ +// *** 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 java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetCloudRouterChangeLog { + private String createdBy; + private String createdByEmail; + private String createdByFullName; + private String createdDateTime; + private String deletedBy; + private String deletedByEmail; + private String deletedByFullName; + private String deletedDateTime; + private String updatedBy; + private String updatedByEmail; + private String updatedByFullName; + private String updatedDateTime; + + private GetCloudRouterChangeLog() {} + public String createdBy() { + return this.createdBy; + } + public String createdByEmail() { + return this.createdByEmail; + } + public String createdByFullName() { + return this.createdByFullName; + } + public String createdDateTime() { + return this.createdDateTime; + } + public String deletedBy() { + return this.deletedBy; + } + public String deletedByEmail() { + return this.deletedByEmail; + } + public String deletedByFullName() { + return this.deletedByFullName; + } + public String deletedDateTime() { + return this.deletedDateTime; + } + public String updatedBy() { + return this.updatedBy; + } + public String updatedByEmail() { + return this.updatedByEmail; + } + public String updatedByFullName() { + return this.updatedByFullName; + } + public String updatedDateTime() { + return this.updatedDateTime; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCloudRouterChangeLog defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String createdBy; + private String createdByEmail; + private String createdByFullName; + private String createdDateTime; + private String deletedBy; + private String deletedByEmail; + private String deletedByFullName; + private String deletedDateTime; + private String updatedBy; + private String updatedByEmail; + private String updatedByFullName; + private String updatedDateTime; + public Builder() {} + public Builder(GetCloudRouterChangeLog defaults) { + Objects.requireNonNull(defaults); + this.createdBy = defaults.createdBy; + this.createdByEmail = defaults.createdByEmail; + this.createdByFullName = defaults.createdByFullName; + this.createdDateTime = defaults.createdDateTime; + this.deletedBy = defaults.deletedBy; + this.deletedByEmail = defaults.deletedByEmail; + this.deletedByFullName = defaults.deletedByFullName; + this.deletedDateTime = defaults.deletedDateTime; + this.updatedBy = defaults.updatedBy; + this.updatedByEmail = defaults.updatedByEmail; + this.updatedByFullName = defaults.updatedByFullName; + this.updatedDateTime = defaults.updatedDateTime; + } + + @CustomType.Setter + public Builder createdBy(String createdBy) { + this.createdBy = Objects.requireNonNull(createdBy); + return this; + } + @CustomType.Setter + public Builder createdByEmail(String createdByEmail) { + this.createdByEmail = Objects.requireNonNull(createdByEmail); + return this; + } + @CustomType.Setter + public Builder createdByFullName(String createdByFullName) { + this.createdByFullName = Objects.requireNonNull(createdByFullName); + return this; + } + @CustomType.Setter + public Builder createdDateTime(String createdDateTime) { + this.createdDateTime = Objects.requireNonNull(createdDateTime); + return this; + } + @CustomType.Setter + public Builder deletedBy(String deletedBy) { + this.deletedBy = Objects.requireNonNull(deletedBy); + return this; + } + @CustomType.Setter + public Builder deletedByEmail(String deletedByEmail) { + this.deletedByEmail = Objects.requireNonNull(deletedByEmail); + return this; + } + @CustomType.Setter + public Builder deletedByFullName(String deletedByFullName) { + this.deletedByFullName = Objects.requireNonNull(deletedByFullName); + return this; + } + @CustomType.Setter + public Builder deletedDateTime(String deletedDateTime) { + this.deletedDateTime = Objects.requireNonNull(deletedDateTime); + return this; + } + @CustomType.Setter + public Builder updatedBy(String updatedBy) { + this.updatedBy = Objects.requireNonNull(updatedBy); + return this; + } + @CustomType.Setter + public Builder updatedByEmail(String updatedByEmail) { + this.updatedByEmail = Objects.requireNonNull(updatedByEmail); + return this; + } + @CustomType.Setter + public Builder updatedByFullName(String updatedByFullName) { + this.updatedByFullName = Objects.requireNonNull(updatedByFullName); + return this; + } + @CustomType.Setter + public Builder updatedDateTime(String updatedDateTime) { + this.updatedDateTime = Objects.requireNonNull(updatedDateTime); + return this; + } + public GetCloudRouterChangeLog build() { + final var o = new GetCloudRouterChangeLog(); + o.createdBy = createdBy; + o.createdByEmail = createdByEmail; + o.createdByFullName = createdByFullName; + o.createdDateTime = createdDateTime; + o.deletedBy = deletedBy; + o.deletedByEmail = deletedByEmail; + o.deletedByFullName = deletedByFullName; + o.deletedDateTime = deletedDateTime; + o.updatedBy = updatedBy; + o.updatedByEmail = updatedByEmail; + o.updatedByFullName = updatedByFullName; + o.updatedDateTime = updatedDateTime; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterLocation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterLocation.java new file mode 100644 index 00000000..600b3cbb --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterLocation.java @@ -0,0 +1,94 @@ +// *** 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 java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetCloudRouterLocation { + private String href; + private String ibx; + private String metroCode; + private String metroName; + private String region; + + private GetCloudRouterLocation() {} + public String href() { + return this.href; + } + public String ibx() { + return this.ibx; + } + public String metroCode() { + return this.metroCode; + } + public String metroName() { + return this.metroName; + } + public String region() { + return this.region; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCloudRouterLocation defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String href; + private String ibx; + private String metroCode; + private String metroName; + private String region; + public Builder() {} + public Builder(GetCloudRouterLocation defaults) { + Objects.requireNonNull(defaults); + this.href = defaults.href; + this.ibx = defaults.ibx; + this.metroCode = defaults.metroCode; + this.metroName = defaults.metroName; + this.region = defaults.region; + } + + @CustomType.Setter + public Builder href(String href) { + this.href = Objects.requireNonNull(href); + return this; + } + @CustomType.Setter + public Builder ibx(String ibx) { + this.ibx = Objects.requireNonNull(ibx); + return this; + } + @CustomType.Setter + public Builder metroCode(String metroCode) { + this.metroCode = Objects.requireNonNull(metroCode); + return this; + } + @CustomType.Setter + public Builder metroName(String metroName) { + this.metroName = Objects.requireNonNull(metroName); + return this; + } + @CustomType.Setter + public Builder region(String region) { + this.region = Objects.requireNonNull(region); + return this; + } + public GetCloudRouterLocation build() { + final var o = new GetCloudRouterLocation(); + o.href = href; + o.ibx = ibx; + o.metroCode = metroCode; + o.metroName = metroName; + o.region = region; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterNotification.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterNotification.java new file mode 100644 index 00000000..74c8201a --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterNotification.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.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetCloudRouterNotification { + private List emails; + private String sendInterval; + private String type; + + private GetCloudRouterNotification() {} + public List emails() { + return this.emails; + } + public String sendInterval() { + return this.sendInterval; + } + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCloudRouterNotification defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List emails; + private String sendInterval; + private String type; + public Builder() {} + public Builder(GetCloudRouterNotification defaults) { + Objects.requireNonNull(defaults); + this.emails = defaults.emails; + this.sendInterval = defaults.sendInterval; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder emails(List emails) { + this.emails = Objects.requireNonNull(emails); + return this; + } + public Builder emails(String... emails) { + return emails(List.of(emails)); + } + @CustomType.Setter + public Builder sendInterval(String sendInterval) { + this.sendInterval = Objects.requireNonNull(sendInterval); + return this; + } + @CustomType.Setter + public Builder type(String type) { + this.type = Objects.requireNonNull(type); + return this; + } + public GetCloudRouterNotification build() { + final var o = new GetCloudRouterNotification(); + o.emails = emails; + o.sendInterval = sendInterval; + o.type = type; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterOrder.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterOrder.java new file mode 100644 index 00000000..b644e1af --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterOrder.java @@ -0,0 +1,82 @@ +// *** 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 java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetCloudRouterOrder { + private String billingTier; + private String orderId; + private String orderNumber; + private String purchaseOrderNumber; + + private GetCloudRouterOrder() {} + public String billingTier() { + return this.billingTier; + } + public String orderId() { + return this.orderId; + } + public String orderNumber() { + return this.orderNumber; + } + public String purchaseOrderNumber() { + return this.purchaseOrderNumber; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCloudRouterOrder defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String billingTier; + private String orderId; + private String orderNumber; + private String purchaseOrderNumber; + public Builder() {} + public Builder(GetCloudRouterOrder defaults) { + Objects.requireNonNull(defaults); + this.billingTier = defaults.billingTier; + this.orderId = defaults.orderId; + this.orderNumber = defaults.orderNumber; + this.purchaseOrderNumber = defaults.purchaseOrderNumber; + } + + @CustomType.Setter + public Builder billingTier(String billingTier) { + this.billingTier = Objects.requireNonNull(billingTier); + return this; + } + @CustomType.Setter + public Builder orderId(String orderId) { + this.orderId = Objects.requireNonNull(orderId); + return this; + } + @CustomType.Setter + public Builder orderNumber(String orderNumber) { + this.orderNumber = Objects.requireNonNull(orderNumber); + return this; + } + @CustomType.Setter + public Builder purchaseOrderNumber(String purchaseOrderNumber) { + this.purchaseOrderNumber = Objects.requireNonNull(purchaseOrderNumber); + return this; + } + public GetCloudRouterOrder build() { + final var o = new GetCloudRouterOrder(); + o.billingTier = billingTier; + o.orderId = orderId; + o.orderNumber = orderNumber; + o.purchaseOrderNumber = purchaseOrderNumber; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterPackage.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterPackage.java new file mode 100644 index 00000000..fbba891b --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterPackage.java @@ -0,0 +1,46 @@ +// *** 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 java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetCloudRouterPackage { + private String code; + + private GetCloudRouterPackage() {} + public String code() { + return this.code; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCloudRouterPackage defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String code; + public Builder() {} + public Builder(GetCloudRouterPackage defaults) { + Objects.requireNonNull(defaults); + this.code = defaults.code; + } + + @CustomType.Setter + public Builder code(String code) { + this.code = Objects.requireNonNull(code); + return this; + } + public GetCloudRouterPackage build() { + final var o = new GetCloudRouterPackage(); + o.code = code; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterProject.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterProject.java new file mode 100644 index 00000000..67f90bcb --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterProject.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.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetCloudRouterProject { + /** + * @return Unique Resource URL + * + */ + private String href; + /** + * @return Project Id + * + */ + private String projectId; + + private GetCloudRouterProject() {} + /** + * @return Unique Resource URL + * + */ + public String href() { + return this.href; + } + /** + * @return Project Id + * + */ + public String projectId() { + return this.projectId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCloudRouterProject defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String href; + private String projectId; + public Builder() {} + public Builder(GetCloudRouterProject defaults) { + Objects.requireNonNull(defaults); + this.href = defaults.href; + this.projectId = defaults.projectId; + } + + @CustomType.Setter + public Builder href(String href) { + this.href = Objects.requireNonNull(href); + return this; + } + @CustomType.Setter + public Builder projectId(String projectId) { + this.projectId = Objects.requireNonNull(projectId); + return this; + } + public GetCloudRouterProject build() { + final var o = new GetCloudRouterProject(); + o.href = href; + o.projectId = projectId; + return o; + } + } +} 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 new file mode 100644 index 00000000..bd80ec31 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterResult.java @@ -0,0 +1,402 @@ +// *** 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.GetCloudRouterAccount; +import com.equinix.pulumi.fabric.outputs.GetCloudRouterChangeLog; +import com.equinix.pulumi.fabric.outputs.GetCloudRouterLocation; +import com.equinix.pulumi.fabric.outputs.GetCloudRouterNotification; +import com.equinix.pulumi.fabric.outputs.GetCloudRouterOrder; +import com.equinix.pulumi.fabric.outputs.GetCloudRouterPackage; +import com.equinix.pulumi.fabric.outputs.GetCloudRouterProject; +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetCloudRouterResult { + /** + * @return Customer account information that is associated with this Fabric Cloud Router + * + */ + private List accounts; + private Integer bgpIpv4RoutesCount; + private Integer bgpIpv6RoutesCount; + /** + * @return Captures Fabric Cloud Router lifecycle change information + * + */ + private List changeLogs; + private Integer connectionsCount; + /** + * @return Customer-provided Fabric Cloud Router description + * + */ + private String description; + /** + * @return Equinix ASN + * + */ + private Integer equinixAsn; + /** + * @return Fabric Cloud Router URI information + * + */ + private String href; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Fabric Cloud Router location + * + */ + private List locations; + /** + * @return Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + private String name; + /** + * @return Preferences for notifications on Fabric Cloud Router configuration or status changes + * + */ + private List notifications; + /** + * @return Order information related to this Fabric Cloud Router + * + */ + private List orders; + /** + * @return Fabric Cloud Router package information + * + */ + private List packages; + /** + * @return Project information + * + */ + private List projects; + /** + * @return Fabric Cloud Router overall state + * + */ + private String state; + /** + * @return Defines the Fabric Cloud Router type like XF_GATEWAY + * + */ + private String type; + /** + * @return Equinix-assigned Fabric Cloud Router identifier + * + */ + private @Nullable String uuid; + + private GetCloudRouterResult() {} + /** + * @return Customer account information that is associated with this Fabric Cloud Router + * + */ + public List accounts() { + return this.accounts; + } + public Integer bgpIpv4RoutesCount() { + return this.bgpIpv4RoutesCount; + } + public Integer bgpIpv6RoutesCount() { + return this.bgpIpv6RoutesCount; + } + /** + * @return Captures Fabric Cloud Router lifecycle change information + * + */ + public List changeLogs() { + return this.changeLogs; + } + public Integer connectionsCount() { + return this.connectionsCount; + } + /** + * @return Customer-provided Fabric Cloud Router description + * + */ + public String description() { + return this.description; + } + /** + * @return Equinix ASN + * + */ + public Integer equinixAsn() { + return this.equinixAsn; + } + /** + * @return Fabric Cloud Router 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 Fabric Cloud Router location + * + */ + public List locations() { + return this.locations; + } + /** + * @return Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + public String name() { + return this.name; + } + /** + * @return Preferences for notifications on Fabric Cloud Router configuration or status changes + * + */ + public List notifications() { + return this.notifications; + } + /** + * @return Order information related to this Fabric Cloud Router + * + */ + public List orders() { + return this.orders; + } + /** + * @return Fabric Cloud Router package information + * + */ + public List packages() { + return this.packages; + } + /** + * @return Project information + * + */ + public List projects() { + return this.projects; + } + /** + * @return Fabric Cloud Router overall state + * + */ + public String state() { + return this.state; + } + /** + * @return Defines the Fabric Cloud Router type like XF_GATEWAY + * + */ + public String type() { + return this.type; + } + /** + * @return Equinix-assigned Fabric Cloud Router identifier + * + */ + public Optional uuid() { + return Optional.ofNullable(this.uuid); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCloudRouterResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List accounts; + private Integer bgpIpv4RoutesCount; + private Integer bgpIpv6RoutesCount; + private List changeLogs; + private Integer connectionsCount; + private String description; + private Integer equinixAsn; + private String href; + private String id; + private List locations; + private String name; + private List notifications; + private List orders; + private List packages; + private List projects; + private String state; + private String type; + private @Nullable String uuid; + public Builder() {} + public Builder(GetCloudRouterResult defaults) { + Objects.requireNonNull(defaults); + this.accounts = defaults.accounts; + this.bgpIpv4RoutesCount = defaults.bgpIpv4RoutesCount; + this.bgpIpv6RoutesCount = defaults.bgpIpv6RoutesCount; + this.changeLogs = defaults.changeLogs; + this.connectionsCount = defaults.connectionsCount; + this.description = defaults.description; + this.equinixAsn = defaults.equinixAsn; + this.href = defaults.href; + this.id = defaults.id; + this.locations = defaults.locations; + this.name = defaults.name; + this.notifications = defaults.notifications; + this.orders = defaults.orders; + this.packages = defaults.packages; + this.projects = defaults.projects; + this.state = defaults.state; + this.type = defaults.type; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder accounts(List accounts) { + this.accounts = Objects.requireNonNull(accounts); + return this; + } + public Builder accounts(GetCloudRouterAccount... accounts) { + return accounts(List.of(accounts)); + } + @CustomType.Setter + public Builder bgpIpv4RoutesCount(Integer bgpIpv4RoutesCount) { + this.bgpIpv4RoutesCount = Objects.requireNonNull(bgpIpv4RoutesCount); + return this; + } + @CustomType.Setter + public Builder bgpIpv6RoutesCount(Integer bgpIpv6RoutesCount) { + this.bgpIpv6RoutesCount = Objects.requireNonNull(bgpIpv6RoutesCount); + return this; + } + @CustomType.Setter + public Builder changeLogs(List changeLogs) { + this.changeLogs = Objects.requireNonNull(changeLogs); + return this; + } + public Builder changeLogs(GetCloudRouterChangeLog... changeLogs) { + return changeLogs(List.of(changeLogs)); + } + @CustomType.Setter + public Builder connectionsCount(Integer connectionsCount) { + this.connectionsCount = Objects.requireNonNull(connectionsCount); + return this; + } + @CustomType.Setter + public Builder description(String description) { + this.description = Objects.requireNonNull(description); + return this; + } + @CustomType.Setter + public Builder equinixAsn(Integer equinixAsn) { + this.equinixAsn = Objects.requireNonNull(equinixAsn); + return this; + } + @CustomType.Setter + public Builder href(String href) { + this.href = Objects.requireNonNull(href); + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder locations(List locations) { + this.locations = Objects.requireNonNull(locations); + return this; + } + public Builder locations(GetCloudRouterLocation... locations) { + return locations(List.of(locations)); + } + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder notifications(List notifications) { + this.notifications = Objects.requireNonNull(notifications); + return this; + } + public Builder notifications(GetCloudRouterNotification... notifications) { + return notifications(List.of(notifications)); + } + @CustomType.Setter + public Builder orders(List orders) { + this.orders = Objects.requireNonNull(orders); + return this; + } + public Builder orders(GetCloudRouterOrder... orders) { + return orders(List.of(orders)); + } + @CustomType.Setter + public Builder packages(List packages) { + this.packages = Objects.requireNonNull(packages); + return this; + } + public Builder packages(GetCloudRouterPackage... packages) { + return packages(List.of(packages)); + } + @CustomType.Setter + public Builder projects(List projects) { + this.projects = Objects.requireNonNull(projects); + return this; + } + public Builder projects(GetCloudRouterProject... projects) { + return projects(List.of(projects)); + } + @CustomType.Setter + public Builder state(String state) { + this.state = Objects.requireNonNull(state); + return this; + } + @CustomType.Setter + public Builder type(String type) { + this.type = Objects.requireNonNull(type); + return this; + } + @CustomType.Setter + public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; + return this; + } + public GetCloudRouterResult build() { + final var o = new GetCloudRouterResult(); + o.accounts = accounts; + o.bgpIpv4RoutesCount = bgpIpv4RoutesCount; + o.bgpIpv6RoutesCount = bgpIpv6RoutesCount; + o.changeLogs = changeLogs; + o.connectionsCount = connectionsCount; + o.description = description; + o.equinixAsn = equinixAsn; + o.href = href; + o.id = id; + o.locations = locations; + o.name = name; + o.notifications = notifications; + o.orders = orders; + o.packages = packages; + o.projects = projects; + o.state = state; + o.type = type; + o.uuid = uuid; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPoint.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPoint.java index 8a8f0ef9..310b6f5d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPoint.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPoint.java @@ -10,6 +10,7 @@ import com.equinix.pulumi.fabric.outputs.GetConnectionASideAccessPointLocation; import com.equinix.pulumi.fabric.outputs.GetConnectionASideAccessPointPort; import com.equinix.pulumi.fabric.outputs.GetConnectionASideAccessPointProfile; +import com.equinix.pulumi.fabric.outputs.GetConnectionASideAccessPointRouter; import com.equinix.pulumi.fabric.outputs.GetConnectionASideAccessPointVirtualDevice; import com.pulumi.core.annotations.CustomType; import java.lang.String; @@ -18,12 +19,14 @@ @CustomType public final class GetConnectionASideAccessPoint { + private List accounts; + private String authenticationKey; /** - * @return Customer account information that is associated with this connection + * @deprecated + * router attribute will be returned instead * */ - private List accounts; - private String authenticationKey; + @Deprecated /* router attribute will be returned instead */ private List gateways; private List interfaces; private List linkProtocols; @@ -32,25 +35,28 @@ public final class GetConnectionASideAccessPoint { private List ports; private List profiles; private String providerConnectionId; - private String sellerRegion; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return CloudRouter; Replaces `gateway` attribute (Set of Object) * */ + private List routers; + private String sellerRegion; private String type; private List virtualDevices; private GetConnectionASideAccessPoint() {} - /** - * @return Customer account information that is associated with this connection - * - */ public List accounts() { return this.accounts; } public String authenticationKey() { return this.authenticationKey; } + /** + * @deprecated + * router attribute will be returned instead + * + */ + @Deprecated /* router attribute will be returned instead */ public List gateways() { return this.gateways; } @@ -75,13 +81,16 @@ public List profiles() { public String providerConnectionId() { return this.providerConnectionId; } - public String sellerRegion() { - return this.sellerRegion; - } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return CloudRouter; Replaces `gateway` attribute (Set of Object) * */ + public List routers() { + return this.routers; + } + public String sellerRegion() { + return this.sellerRegion; + } public String type() { return this.type; } @@ -108,6 +117,7 @@ public static final class Builder { private List ports; private List profiles; private String providerConnectionId; + private List routers; private String sellerRegion; private String type; private List virtualDevices; @@ -124,6 +134,7 @@ public Builder(GetConnectionASideAccessPoint defaults) { this.ports = defaults.ports; this.profiles = defaults.profiles; this.providerConnectionId = defaults.providerConnectionId; + this.routers = defaults.routers; this.sellerRegion = defaults.sellerRegion; this.type = defaults.type; this.virtualDevices = defaults.virtualDevices; @@ -201,6 +212,14 @@ public Builder providerConnectionId(String providerConnectionId) { return this; } @CustomType.Setter + public Builder routers(List routers) { + this.routers = Objects.requireNonNull(routers); + return this; + } + public Builder routers(GetConnectionASideAccessPointRouter... routers) { + return routers(List.of(routers)); + } + @CustomType.Setter public Builder sellerRegion(String sellerRegion) { this.sellerRegion = Objects.requireNonNull(sellerRegion); return this; @@ -230,6 +249,7 @@ public GetConnectionASideAccessPoint build() { o.ports = ports; o.profiles = profiles; o.providerConnectionId = providerConnectionId; + o.routers = routers; o.sellerRegion = sellerRegion; o.type = type; o.virtualDevices = virtualDevices; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointGateway.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointGateway.java index 37c9d27c..5215aafa 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointGateway.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointGateway.java @@ -9,41 +9,17 @@ @CustomType public final class GetConnectionASideAccessPointGateway { - /** - * @return Connection URI information - * - */ private String href; - /** - * @return Connection overall state - * - */ private String state; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionASideAccessPointGateway() {} - /** - * @return Connection URI information - * - */ public String href() { return this.href; } - /** - * @return Connection overall state - * - */ public String state() { return this.state; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointInterface.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointInterface.java index c1353919..45ea791c 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointInterface.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointInterface.java @@ -9,41 +9,17 @@ @CustomType public final class GetConnectionASideAccessPointInterface { - /** - * @return The ID of this resource. - * - */ private String id; - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ private String type; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionASideAccessPointInterface() {} - /** - * @return The ID of this resource. - * - */ public String id() { return this.id; } - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ public String type() { return this.type; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointLinkProtocol.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointLinkProtocol.java index 9631ecf6..a720a042 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointLinkProtocol.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointLinkProtocol.java @@ -10,20 +10,12 @@ @CustomType public final class GetConnectionASideAccessPointLinkProtocol { - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ private String type; private Integer vlanCTag; private Integer vlanSTag; private Integer vlanTag; private GetConnectionASideAccessPointLinkProtocol() {} - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ public String type() { return this.type; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointLocation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointLocation.java index 6251ceb0..ae5fa6f9 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointLocation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointLocation.java @@ -9,10 +9,6 @@ @CustomType public final class GetConnectionASideAccessPointLocation { - /** - * @return Connection URI information - * - */ private String href; private String ibx; private String metroCode; @@ -20,10 +16,6 @@ public final class GetConnectionASideAccessPointLocation { private String region; private GetConnectionASideAccessPointLocation() {} - /** - * @return Connection URI information - * - */ public String href() { return this.href; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointPort.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointPort.java index 553fb3ed..4fd9af58 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointPort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointPort.java @@ -11,53 +11,21 @@ @CustomType public final class GetConnectionASideAccessPointPort { - /** - * @return Connection URI information - * - */ private String href; - /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - * - */ private String name; - /** - * @return Redundancy Information - * - */ private List redundancies; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionASideAccessPointPort() {} - /** - * @return Connection URI information - * - */ public String href() { return this.href; } - /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - * - */ public String name() { return this.name; } - /** - * @return Redundancy Information - * - */ public List redundancies() { return this.redundancies; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfile.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfile.java index 84271980..d837a902 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfile.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfile.java @@ -12,68 +12,28 @@ @CustomType public final class GetConnectionASideAccessPointProfile { private List accessPointTypeConfigs; - /** - * @return Customer-provided connection description - * - */ private String description; - /** - * @return Connection URI information - * - */ private String href; - /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - * - */ private String name; - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ private String type; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionASideAccessPointProfile() {} public List accessPointTypeConfigs() { return this.accessPointTypeConfigs; } - /** - * @return Customer-provided connection description - * - */ public String description() { return this.description; } - /** - * @return Connection URI information - * - */ public String href() { return this.href; } - /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - * - */ public String name() { return this.name; } - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ public String type() { return this.type; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } 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 782f67b8..de1aa09a 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 @@ -28,15 +28,7 @@ public final class GetConnectionASideAccessPointProfileAccessPointTypeConfig { private Boolean enableAutoGenerateServiceKey; private List linkProtocolConfigs; private List supportedBandwidths; - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ private String type; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionASideAccessPointProfileAccessPointTypeConfig() {} @@ -76,17 +68,9 @@ public List supportedBandwidths() { return this.supportedBandwidths; } - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ public String type() { return this.type; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey.java index 1c66f1e7..eea764a2 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey.java @@ -10,19 +10,11 @@ @CustomType public final class GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey { - /** - * @return Customer-provided connection description - * - */ private String description; private String label; private Boolean required; private GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey() {} - /** - * @return Customer-provided connection description - * - */ public String description() { return this.description; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointRouter.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointRouter.java new file mode 100644 index 00000000..93a9677c --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointRouter.java @@ -0,0 +1,70 @@ +// *** 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 java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetConnectionASideAccessPointRouter { + private String href; + private String state; + private String uuid; + + private GetConnectionASideAccessPointRouter() {} + public String href() { + return this.href; + } + public String state() { + return this.state; + } + public String uuid() { + return this.uuid; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetConnectionASideAccessPointRouter defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String href; + private String state; + private String uuid; + public Builder() {} + public Builder(GetConnectionASideAccessPointRouter defaults) { + Objects.requireNonNull(defaults); + this.href = defaults.href; + this.state = defaults.state; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder href(String href) { + this.href = Objects.requireNonNull(href); + return this; + } + @CustomType.Setter + public Builder state(String state) { + this.state = Objects.requireNonNull(state); + return this; + } + @CustomType.Setter + public Builder uuid(String uuid) { + this.uuid = Objects.requireNonNull(uuid); + return this; + } + public GetConnectionASideAccessPointRouter build() { + final var o = new GetConnectionASideAccessPointRouter(); + o.href = href; + o.state = state; + o.uuid = uuid; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointVirtualDevice.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointVirtualDevice.java index f71037a1..43a79d96 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointVirtualDevice.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointVirtualDevice.java @@ -9,41 +9,17 @@ @CustomType public final class GetConnectionASideAccessPointVirtualDevice { - /** - * @return Connection URI information - * - */ private String href; - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ private String type; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionASideAccessPointVirtualDevice() {} - /** - * @return Connection URI information - * - */ public String href() { return this.href; } - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ public String type() { return this.type; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideServiceToken.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideServiceToken.java index f33f127f..e78260fe 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideServiceToken.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideServiceToken.java @@ -9,53 +9,21 @@ @CustomType public final class GetConnectionASideServiceToken { - /** - * @return Customer-provided connection description - * - */ private String description; - /** - * @return Connection URI information - * - */ private String href; - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ private String type; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionASideServiceToken() {} - /** - * @return Customer-provided connection description - * - */ public String description() { return this.description; } - /** - * @return Connection URI information - * - */ public String href() { return this.href; } - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ public String type() { return this.type; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionNotification.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionNotification.java index 5c0b84f0..1e82d7f9 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionNotification.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionNotification.java @@ -12,10 +12,6 @@ public final class GetConnectionNotification { private List emails; private String sendInterval; - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ private String type; private GetConnectionNotification() {} @@ -25,10 +21,6 @@ public List emails() { public String sendInterval() { return this.sendInterval; } - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ public String type() { return this.type; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOperationError.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOperationError.java index 14b25a48..7cb8fa15 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOperationError.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOperationError.java @@ -11,10 +11,6 @@ @CustomType public final class GetConnectionOperationError { - /** - * @return Connection additional information - * - */ private List additionalInfos; private String correlationId; private String details; @@ -23,10 +19,6 @@ public final class GetConnectionOperationError { private String help; private GetConnectionOperationError() {} - /** - * @return Connection additional information - * - */ public List additionalInfos() { return this.additionalInfos; } 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 5692ba2c..fb6b78a7 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 VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, IP*VC, ACCESS*EPL_VC * */ private String type; @@ -246,7 +246,7 @@ public String state() { return this.state; } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, IP*VC, ACCESS*EPL_VC * */ public String type() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPoint.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPoint.java index c99cd23e..f80a816c 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPoint.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPoint.java @@ -10,6 +10,7 @@ import com.equinix.pulumi.fabric.outputs.GetConnectionZSideAccessPointLocation; import com.equinix.pulumi.fabric.outputs.GetConnectionZSideAccessPointPort; import com.equinix.pulumi.fabric.outputs.GetConnectionZSideAccessPointProfile; +import com.equinix.pulumi.fabric.outputs.GetConnectionZSideAccessPointRouter; import com.equinix.pulumi.fabric.outputs.GetConnectionZSideAccessPointVirtualDevice; import com.pulumi.core.annotations.CustomType; import java.lang.String; @@ -18,12 +19,14 @@ @CustomType public final class GetConnectionZSideAccessPoint { + private List accounts; + private String authenticationKey; /** - * @return Customer account information that is associated with this connection + * @deprecated + * router attribute will be returned instead * */ - private List accounts; - private String authenticationKey; + @Deprecated /* router attribute will be returned instead */ private List gateways; private List interfaces; private List linkProtocols; @@ -32,25 +35,28 @@ public final class GetConnectionZSideAccessPoint { private List ports; private List profiles; private String providerConnectionId; - private String sellerRegion; /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return CloudRouter; Replaces `gateway` attribute (Set of Object) * */ + private List routers; + private String sellerRegion; private String type; private List virtualDevices; private GetConnectionZSideAccessPoint() {} - /** - * @return Customer account information that is associated with this connection - * - */ public List accounts() { return this.accounts; } public String authenticationKey() { return this.authenticationKey; } + /** + * @deprecated + * router attribute will be returned instead + * + */ + @Deprecated /* router attribute will be returned instead */ public List gateways() { return this.gateways; } @@ -75,13 +81,16 @@ public List profiles() { public String providerConnectionId() { return this.providerConnectionId; } - public String sellerRegion() { - return this.sellerRegion; - } /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * @return CloudRouter; Replaces `gateway` attribute (Set of Object) * */ + public List routers() { + return this.routers; + } + public String sellerRegion() { + return this.sellerRegion; + } public String type() { return this.type; } @@ -108,6 +117,7 @@ public static final class Builder { private List ports; private List profiles; private String providerConnectionId; + private List routers; private String sellerRegion; private String type; private List virtualDevices; @@ -124,6 +134,7 @@ public Builder(GetConnectionZSideAccessPoint defaults) { this.ports = defaults.ports; this.profiles = defaults.profiles; this.providerConnectionId = defaults.providerConnectionId; + this.routers = defaults.routers; this.sellerRegion = defaults.sellerRegion; this.type = defaults.type; this.virtualDevices = defaults.virtualDevices; @@ -201,6 +212,14 @@ public Builder providerConnectionId(String providerConnectionId) { return this; } @CustomType.Setter + public Builder routers(List routers) { + this.routers = Objects.requireNonNull(routers); + return this; + } + public Builder routers(GetConnectionZSideAccessPointRouter... routers) { + return routers(List.of(routers)); + } + @CustomType.Setter public Builder sellerRegion(String sellerRegion) { this.sellerRegion = Objects.requireNonNull(sellerRegion); return this; @@ -230,6 +249,7 @@ public GetConnectionZSideAccessPoint build() { o.ports = ports; o.profiles = profiles; o.providerConnectionId = providerConnectionId; + o.routers = routers; o.sellerRegion = sellerRegion; o.type = type; o.virtualDevices = virtualDevices; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointGateway.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointGateway.java index a130b3fc..fdc02b20 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointGateway.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointGateway.java @@ -9,41 +9,17 @@ @CustomType public final class GetConnectionZSideAccessPointGateway { - /** - * @return Connection URI information - * - */ private String href; - /** - * @return Connection overall state - * - */ private String state; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionZSideAccessPointGateway() {} - /** - * @return Connection URI information - * - */ public String href() { return this.href; } - /** - * @return Connection overall state - * - */ public String state() { return this.state; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointInterface.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointInterface.java index f33ccba7..420c8d6b 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointInterface.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointInterface.java @@ -9,41 +9,17 @@ @CustomType public final class GetConnectionZSideAccessPointInterface { - /** - * @return The ID of this resource. - * - */ private String id; - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ private String type; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionZSideAccessPointInterface() {} - /** - * @return The ID of this resource. - * - */ public String id() { return this.id; } - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ public String type() { return this.type; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointLinkProtocol.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointLinkProtocol.java index a3d81ba4..ab9a57e6 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointLinkProtocol.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointLinkProtocol.java @@ -10,20 +10,12 @@ @CustomType public final class GetConnectionZSideAccessPointLinkProtocol { - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ private String type; private Integer vlanCTag; private Integer vlanSTag; private Integer vlanTag; private GetConnectionZSideAccessPointLinkProtocol() {} - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ public String type() { return this.type; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointLocation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointLocation.java index 5c0a8297..fa539581 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointLocation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointLocation.java @@ -9,10 +9,6 @@ @CustomType public final class GetConnectionZSideAccessPointLocation { - /** - * @return Connection URI information - * - */ private String href; private String ibx; private String metroCode; @@ -20,10 +16,6 @@ public final class GetConnectionZSideAccessPointLocation { private String region; private GetConnectionZSideAccessPointLocation() {} - /** - * @return Connection URI information - * - */ public String href() { return this.href; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointPort.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointPort.java index dc831f05..b4b35e59 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointPort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointPort.java @@ -11,53 +11,21 @@ @CustomType public final class GetConnectionZSideAccessPointPort { - /** - * @return Connection URI information - * - */ private String href; - /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - * - */ private String name; - /** - * @return Redundancy Information - * - */ private List redundancies; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionZSideAccessPointPort() {} - /** - * @return Connection URI information - * - */ public String href() { return this.href; } - /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - * - */ public String name() { return this.name; } - /** - * @return Redundancy Information - * - */ public List redundancies() { return this.redundancies; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfile.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfile.java index f3a23706..7228f33f 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfile.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfile.java @@ -12,68 +12,28 @@ @CustomType public final class GetConnectionZSideAccessPointProfile { private List accessPointTypeConfigs; - /** - * @return Customer-provided connection description - * - */ private String description; - /** - * @return Connection URI information - * - */ private String href; - /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - * - */ private String name; - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ private String type; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionZSideAccessPointProfile() {} public List accessPointTypeConfigs() { return this.accessPointTypeConfigs; } - /** - * @return Customer-provided connection description - * - */ public String description() { return this.description; } - /** - * @return Connection URI information - * - */ public String href() { return this.href; } - /** - * @return Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - * - */ public String name() { return this.name; } - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ public String type() { return this.type; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } 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 ec1bc7f7..83df298b 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 @@ -28,15 +28,7 @@ public final class GetConnectionZSideAccessPointProfileAccessPointTypeConfig { private Boolean enableAutoGenerateServiceKey; private List linkProtocolConfigs; private List supportedBandwidths; - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ private String type; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionZSideAccessPointProfileAccessPointTypeConfig() {} @@ -76,17 +68,9 @@ public List supportedBandwidths() { return this.supportedBandwidths; } - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ public String type() { return this.type; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey.java index db7f1509..c7d52669 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey.java @@ -10,19 +10,11 @@ @CustomType public final class GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey { - /** - * @return Customer-provided connection description - * - */ private String description; private String label; private Boolean required; private GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey() {} - /** - * @return Customer-provided connection description - * - */ public String description() { return this.description; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointRouter.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointRouter.java new file mode 100644 index 00000000..c59938fb --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointRouter.java @@ -0,0 +1,70 @@ +// *** 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 java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetConnectionZSideAccessPointRouter { + private String href; + private String state; + private String uuid; + + private GetConnectionZSideAccessPointRouter() {} + public String href() { + return this.href; + } + public String state() { + return this.state; + } + public String uuid() { + return this.uuid; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetConnectionZSideAccessPointRouter defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String href; + private String state; + private String uuid; + public Builder() {} + public Builder(GetConnectionZSideAccessPointRouter defaults) { + Objects.requireNonNull(defaults); + this.href = defaults.href; + this.state = defaults.state; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder href(String href) { + this.href = Objects.requireNonNull(href); + return this; + } + @CustomType.Setter + public Builder state(String state) { + this.state = Objects.requireNonNull(state); + return this; + } + @CustomType.Setter + public Builder uuid(String uuid) { + this.uuid = Objects.requireNonNull(uuid); + return this; + } + public GetConnectionZSideAccessPointRouter build() { + final var o = new GetConnectionZSideAccessPointRouter(); + o.href = href; + o.state = state; + o.uuid = uuid; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointVirtualDevice.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointVirtualDevice.java index 9bfd7216..090159af 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointVirtualDevice.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointVirtualDevice.java @@ -9,41 +9,17 @@ @CustomType public final class GetConnectionZSideAccessPointVirtualDevice { - /** - * @return Connection URI information - * - */ private String href; - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ private String type; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionZSideAccessPointVirtualDevice() {} - /** - * @return Connection URI information - * - */ public String href() { return this.href; } - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ public String type() { return this.type; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideServiceToken.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideServiceToken.java index 9533405d..80838397 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideServiceToken.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideServiceToken.java @@ -9,53 +9,21 @@ @CustomType public final class GetConnectionZSideServiceToken { - /** - * @return Customer-provided connection description - * - */ private String description; - /** - * @return Connection URI information - * - */ private String href; - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ private String type; - /** - * @return Equinix-assigned connection identifier - * - */ private String uuid; private GetConnectionZSideServiceToken() {} - /** - * @return Customer-provided connection description - * - */ public String description() { return this.description; } - /** - * @return Connection URI information - * - */ public String href() { return this.href; } - /** - * @return Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - * - */ public String type() { return this.type; } - /** - * @return Equinix-assigned connection identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortDevice.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortDevice.java index a0cb1779..79d4da07 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortDevice.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortDevice.java @@ -11,29 +11,13 @@ @CustomType public final class GetPortDevice { - /** - * @return Port name - * - */ private String name; - /** - * @return Port redundancy information - * - */ private List redundancies; private GetPortDevice() {} - /** - * @return Port name - * - */ public String name() { return this.name; } - /** - * @return Port redundancy information - * - */ public List redundancies() { return this.redundancies; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortEncapsulation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortEncapsulation.java index a547b4ac..7d293f78 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortEncapsulation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortEncapsulation.java @@ -10,20 +10,12 @@ @CustomType public final class GetPortEncapsulation { private String tagProtocolId; - /** - * @return Port type - * - */ private String type; private GetPortEncapsulation() {} public String tagProtocolId() { return this.tagProtocolId; } - /** - * @return Port type - * - */ public String type() { return this.type; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortLocation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortLocation.java index f50dc0af..a456d590 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortLocation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortLocation.java @@ -9,10 +9,6 @@ @CustomType public final class GetPortLocation { - /** - * @return Port URI information - * - */ private String href; private String ibx; private String metroCode; @@ -20,10 +16,6 @@ public final class GetPortLocation { private String region; private GetPortLocation() {} - /** - * @return Port URI information - * - */ public String href() { return this.href; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortRedundancy.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortRedundancy.java index d0f62aab..5a0d86ab 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortRedundancy.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortRedundancy.java @@ -5,21 +5,20 @@ import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; -import java.lang.Integer; import java.lang.String; import java.util.Objects; @CustomType public final class GetPortRedundancy { private Boolean enabled; - private Integer group; + private String group; private String priority; private GetPortRedundancy() {} public Boolean enabled() { return this.enabled; } - public Integer group() { + public String group() { return this.group; } public String priority() { @@ -36,7 +35,7 @@ public static Builder builder(GetPortRedundancy defaults) { @CustomType.Builder public static final class Builder { private Boolean enabled; - private Integer group; + private String group; private String priority; public Builder() {} public Builder(GetPortRedundancy defaults) { @@ -52,7 +51,7 @@ public Builder enabled(Boolean enabled) { return this; } @CustomType.Setter - public Builder group(Integer group) { + public Builder group(String group) { this.group = Objects.requireNonNull(group); return this; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortResult.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortResult.java index 59563c81..824606f6 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortResult.java @@ -7,11 +7,11 @@ import com.equinix.pulumi.fabric.outputs.GetPortChangeLog; import com.equinix.pulumi.fabric.outputs.GetPortDevice; import com.equinix.pulumi.fabric.outputs.GetPortEncapsulation; -import com.equinix.pulumi.fabric.outputs.GetPortLag; import com.equinix.pulumi.fabric.outputs.GetPortLocation; import com.equinix.pulumi.fabric.outputs.GetPortOperation; import com.equinix.pulumi.fabric.outputs.GetPortRedundancy; import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -63,11 +63,7 @@ public final class GetPortResult { * */ private String id; - /** - * @return Port Lag - * - */ - private GetPortLag lag; + private Boolean lagEnabled; /** * @return Port location information * @@ -178,12 +174,8 @@ public String href() { public String id() { return this.id; } - /** - * @return Port Lag - * - */ - public GetPortLag lag() { - return this.lag; + public Boolean lagEnabled() { + return this.lagEnabled; } /** * @return Port location information @@ -267,7 +259,7 @@ public static final class Builder { private GetPortEncapsulation encapsulation; private String href; private String id; - private GetPortLag lag; + private Boolean lagEnabled; private GetPortLocation location; private String name; private GetPortOperation operation; @@ -289,7 +281,7 @@ public Builder(GetPortResult defaults) { this.encapsulation = defaults.encapsulation; this.href = defaults.href; this.id = defaults.id; - this.lag = defaults.lag; + this.lagEnabled = defaults.lagEnabled; this.location = defaults.location; this.name = defaults.name; this.operation = defaults.operation; @@ -347,8 +339,8 @@ public Builder id(String id) { return this; } @CustomType.Setter - public Builder lag(GetPortLag lag) { - this.lag = Objects.requireNonNull(lag); + public Builder lagEnabled(Boolean lagEnabled) { + this.lagEnabled = Objects.requireNonNull(lagEnabled); return this; } @CustomType.Setter @@ -407,7 +399,7 @@ public GetPortResult build() { o.encapsulation = encapsulation; o.href = href; o.id = id; - o.lag = lag; + o.lagEnabled = lagEnabled; o.location = location; o.name = name; o.operation = operation; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatum.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatum.java index 1708dee1..39dc9adb 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatum.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatum.java @@ -7,11 +7,11 @@ import com.equinix.pulumi.fabric.outputs.GetPortsDatumChangeLog; import com.equinix.pulumi.fabric.outputs.GetPortsDatumDevice; import com.equinix.pulumi.fabric.outputs.GetPortsDatumEncapsulation; -import com.equinix.pulumi.fabric.outputs.GetPortsDatumLag; import com.equinix.pulumi.fabric.outputs.GetPortsDatumLocation; import com.equinix.pulumi.fabric.outputs.GetPortsDatumOperation; import com.equinix.pulumi.fabric.outputs.GetPortsDatumRedundancy; import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -29,7 +29,7 @@ public final class GetPortsDatum { private List devices; private List encapsulations; private String href; - private List lags; + private Boolean lagEnabled; private List locations; private String name; private List operations; @@ -65,8 +65,8 @@ public List encapsulations() { public String href() { return this.href; } - public List lags() { - return this.lags; + public Boolean lagEnabled() { + return this.lagEnabled; } public List locations() { return this.locations; @@ -113,7 +113,7 @@ public static final class Builder { private List devices; private List encapsulations; private String href; - private List lags; + private Boolean lagEnabled; private List locations; private String name; private List operations; @@ -134,7 +134,7 @@ public Builder(GetPortsDatum defaults) { this.devices = defaults.devices; this.encapsulations = defaults.encapsulations; this.href = defaults.href; - this.lags = defaults.lags; + this.lagEnabled = defaults.lagEnabled; this.locations = defaults.locations; this.name = defaults.name; this.operations = defaults.operations; @@ -199,13 +199,10 @@ public Builder href(String href) { return this; } @CustomType.Setter - public Builder lags(List lags) { - this.lags = Objects.requireNonNull(lags); + public Builder lagEnabled(Boolean lagEnabled) { + this.lagEnabled = Objects.requireNonNull(lagEnabled); return this; } - public Builder lags(GetPortsDatumLag... lags) { - return lags(List.of(lags)); - } @CustomType.Setter public Builder locations(List locations) { this.locations = Objects.requireNonNull(locations); @@ -270,7 +267,7 @@ public GetPortsDatum build() { o.devices = devices; o.encapsulations = encapsulations; o.href = href; - o.lags = lags; + o.lagEnabled = lagEnabled; o.locations = locations; o.name = name; o.operations = operations; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumLag.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumLag.java deleted file mode 100644 index 5e0c4243..00000000 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumLag.java +++ /dev/null @@ -1,91 +0,0 @@ -// *** 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 java.lang.Boolean; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetPortsDatumLag { - private Boolean enabled; - /** - * @return The ID of this resource. - * - */ - private String id; - private String memberStatus; - private String name; - - private GetPortsDatumLag() {} - public Boolean enabled() { - return this.enabled; - } - /** - * @return The ID of this resource. - * - */ - public String id() { - return this.id; - } - public String memberStatus() { - return this.memberStatus; - } - public String name() { - return this.name; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetPortsDatumLag defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private Boolean enabled; - private String id; - private String memberStatus; - private String name; - public Builder() {} - public Builder(GetPortsDatumLag defaults) { - Objects.requireNonNull(defaults); - this.enabled = defaults.enabled; - this.id = defaults.id; - this.memberStatus = defaults.memberStatus; - this.name = defaults.name; - } - - @CustomType.Setter - public Builder enabled(Boolean enabled) { - this.enabled = Objects.requireNonNull(enabled); - return this; - } - @CustomType.Setter - public Builder id(String id) { - this.id = Objects.requireNonNull(id); - return this; - } - @CustomType.Setter - public Builder memberStatus(String memberStatus) { - this.memberStatus = Objects.requireNonNull(memberStatus); - return this; - } - @CustomType.Setter - public Builder name(String name) { - this.name = Objects.requireNonNull(name); - return this; - } - public GetPortsDatumLag build() { - final var o = new GetPortsDatumLag(); - o.enabled = enabled; - o.id = id; - o.memberStatus = memberStatus; - o.name = name; - return o; - } - } -} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumRedundancy.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumRedundancy.java index edebf82b..17a17474 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumRedundancy.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumRedundancy.java @@ -5,21 +5,20 @@ import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; -import java.lang.Integer; import java.lang.String; import java.util.Objects; @CustomType public final class GetPortsDatumRedundancy { private Boolean enabled; - private Integer group; + private String group; private String priority; private GetPortsDatumRedundancy() {} public Boolean enabled() { return this.enabled; } - public Integer group() { + public String group() { return this.group; } public String priority() { @@ -36,7 +35,7 @@ public static Builder builder(GetPortsDatumRedundancy defaults) { @CustomType.Builder public static final class Builder { private Boolean enabled; - private Integer group; + private String group; private String priority; public Builder() {} public Builder(GetPortsDatumRedundancy defaults) { @@ -52,7 +51,7 @@ public Builder enabled(Boolean enabled) { return this; } @CustomType.Setter - public Builder group(Integer group) { + public Builder group(String group) { this.group = Objects.requireNonNull(group); return this; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolBfd.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolBfd.java new file mode 100644 index 00000000..042c4268 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolBfd.java @@ -0,0 +1,77 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetRoutingProtocolBfd { + /** + * @return Bidirectional Forwarding Detection enablement + * + */ + private Boolean enabled; + /** + * @return Interval range between the received BFD control packets + * + */ + private @Nullable String interval; + + private GetRoutingProtocolBfd() {} + /** + * @return Bidirectional Forwarding Detection enablement + * + */ + public Boolean enabled() { + return this.enabled; + } + /** + * @return Interval range between the received BFD control packets + * + */ + public Optional interval() { + return Optional.ofNullable(this.interval); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRoutingProtocolBfd defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean enabled; + private @Nullable String interval; + public Builder() {} + public Builder(GetRoutingProtocolBfd defaults) { + Objects.requireNonNull(defaults); + this.enabled = defaults.enabled; + this.interval = defaults.interval; + } + + @CustomType.Setter + public Builder enabled(Boolean enabled) { + this.enabled = Objects.requireNonNull(enabled); + return this; + } + @CustomType.Setter + public Builder interval(@Nullable String interval) { + this.interval = interval; + return this; + } + public GetRoutingProtocolBfd build() { + final var o = new GetRoutingProtocolBfd(); + o.enabled = enabled; + o.interval = interval; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolBgpIpv4.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolBgpIpv4.java new file mode 100644 index 00000000..de40b77d --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolBgpIpv4.java @@ -0,0 +1,97 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetRoutingProtocolBgpIpv4 { + /** + * @return Customer side peering ip + * + */ + private String customerPeerIp; + /** + * @return Admin status for the BGP session + * + */ + private @Nullable Boolean enabled; + /** + * @return Equinix side peering ip + * + */ + private String equinixPeerIp; + + private GetRoutingProtocolBgpIpv4() {} + /** + * @return Customer side peering ip + * + */ + public String customerPeerIp() { + return this.customerPeerIp; + } + /** + * @return Admin status for the BGP session + * + */ + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + /** + * @return Equinix side peering ip + * + */ + public String equinixPeerIp() { + return this.equinixPeerIp; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRoutingProtocolBgpIpv4 defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String customerPeerIp; + private @Nullable Boolean enabled; + private String equinixPeerIp; + public Builder() {} + public Builder(GetRoutingProtocolBgpIpv4 defaults) { + Objects.requireNonNull(defaults); + this.customerPeerIp = defaults.customerPeerIp; + this.enabled = defaults.enabled; + this.equinixPeerIp = defaults.equinixPeerIp; + } + + @CustomType.Setter + public Builder customerPeerIp(String customerPeerIp) { + this.customerPeerIp = Objects.requireNonNull(customerPeerIp); + return this; + } + @CustomType.Setter + public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; + return this; + } + @CustomType.Setter + public Builder equinixPeerIp(String equinixPeerIp) { + this.equinixPeerIp = Objects.requireNonNull(equinixPeerIp); + return this; + } + public GetRoutingProtocolBgpIpv4 build() { + final var o = new GetRoutingProtocolBgpIpv4(); + o.customerPeerIp = customerPeerIp; + o.enabled = enabled; + o.equinixPeerIp = equinixPeerIp; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolBgpIpv6.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolBgpIpv6.java new file mode 100644 index 00000000..64d5fbff --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolBgpIpv6.java @@ -0,0 +1,97 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetRoutingProtocolBgpIpv6 { + /** + * @return Customer side peering ip + * + */ + private String customerPeerIp; + /** + * @return Admin status for the BGP session + * + */ + private @Nullable Boolean enabled; + /** + * @return Equinix side peering ip + * + */ + private String equinixPeerIp; + + private GetRoutingProtocolBgpIpv6() {} + /** + * @return Customer side peering ip + * + */ + public String customerPeerIp() { + return this.customerPeerIp; + } + /** + * @return Admin status for the BGP session + * + */ + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + /** + * @return Equinix side peering ip + * + */ + public String equinixPeerIp() { + return this.equinixPeerIp; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRoutingProtocolBgpIpv6 defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String customerPeerIp; + private @Nullable Boolean enabled; + private String equinixPeerIp; + public Builder() {} + public Builder(GetRoutingProtocolBgpIpv6 defaults) { + Objects.requireNonNull(defaults); + this.customerPeerIp = defaults.customerPeerIp; + this.enabled = defaults.enabled; + this.equinixPeerIp = defaults.equinixPeerIp; + } + + @CustomType.Setter + public Builder customerPeerIp(String customerPeerIp) { + this.customerPeerIp = Objects.requireNonNull(customerPeerIp); + return this; + } + @CustomType.Setter + public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; + return this; + } + @CustomType.Setter + public Builder equinixPeerIp(String equinixPeerIp) { + this.equinixPeerIp = Objects.requireNonNull(equinixPeerIp); + return this; + } + public GetRoutingProtocolBgpIpv6 build() { + final var o = new GetRoutingProtocolBgpIpv6(); + o.customerPeerIp = customerPeerIp; + o.enabled = enabled; + o.equinixPeerIp = equinixPeerIp; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolChange.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolChange.java new file mode 100644 index 00000000..313db880 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolChange.java @@ -0,0 +1,70 @@ +// *** 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 java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetRoutingProtocolChange { + private String href; + private String type; + private String uuid; + + private GetRoutingProtocolChange() {} + public String href() { + return this.href; + } + public String type() { + return this.type; + } + public String uuid() { + return this.uuid; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRoutingProtocolChange defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String href; + private String type; + private String uuid; + public Builder() {} + public Builder(GetRoutingProtocolChange defaults) { + Objects.requireNonNull(defaults); + this.href = defaults.href; + this.type = defaults.type; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder href(String href) { + this.href = Objects.requireNonNull(href); + return this; + } + @CustomType.Setter + public Builder type(String type) { + this.type = Objects.requireNonNull(type); + return this; + } + @CustomType.Setter + public Builder uuid(String uuid) { + this.uuid = Objects.requireNonNull(uuid); + return this; + } + public GetRoutingProtocolChange build() { + final var o = new GetRoutingProtocolChange(); + o.href = href; + o.type = type; + o.uuid = uuid; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolChangeLog.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolChangeLog.java new file mode 100644 index 00000000..119d04ab --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolChangeLog.java @@ -0,0 +1,178 @@ +// *** 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 java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetRoutingProtocolChangeLog { + private String createdBy; + private String createdByEmail; + private String createdByFullName; + private String createdDateTime; + private String deletedBy; + private String deletedByEmail; + private String deletedByFullName; + private String deletedDateTime; + private String updatedBy; + private String updatedByEmail; + private String updatedByFullName; + private String updatedDateTime; + + private GetRoutingProtocolChangeLog() {} + public String createdBy() { + return this.createdBy; + } + public String createdByEmail() { + return this.createdByEmail; + } + public String createdByFullName() { + return this.createdByFullName; + } + public String createdDateTime() { + return this.createdDateTime; + } + public String deletedBy() { + return this.deletedBy; + } + public String deletedByEmail() { + return this.deletedByEmail; + } + public String deletedByFullName() { + return this.deletedByFullName; + } + public String deletedDateTime() { + return this.deletedDateTime; + } + public String updatedBy() { + return this.updatedBy; + } + public String updatedByEmail() { + return this.updatedByEmail; + } + public String updatedByFullName() { + return this.updatedByFullName; + } + public String updatedDateTime() { + return this.updatedDateTime; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRoutingProtocolChangeLog defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String createdBy; + private String createdByEmail; + private String createdByFullName; + private String createdDateTime; + private String deletedBy; + private String deletedByEmail; + private String deletedByFullName; + private String deletedDateTime; + private String updatedBy; + private String updatedByEmail; + private String updatedByFullName; + private String updatedDateTime; + public Builder() {} + public Builder(GetRoutingProtocolChangeLog defaults) { + Objects.requireNonNull(defaults); + this.createdBy = defaults.createdBy; + this.createdByEmail = defaults.createdByEmail; + this.createdByFullName = defaults.createdByFullName; + this.createdDateTime = defaults.createdDateTime; + this.deletedBy = defaults.deletedBy; + this.deletedByEmail = defaults.deletedByEmail; + this.deletedByFullName = defaults.deletedByFullName; + this.deletedDateTime = defaults.deletedDateTime; + this.updatedBy = defaults.updatedBy; + this.updatedByEmail = defaults.updatedByEmail; + this.updatedByFullName = defaults.updatedByFullName; + this.updatedDateTime = defaults.updatedDateTime; + } + + @CustomType.Setter + public Builder createdBy(String createdBy) { + this.createdBy = Objects.requireNonNull(createdBy); + return this; + } + @CustomType.Setter + public Builder createdByEmail(String createdByEmail) { + this.createdByEmail = Objects.requireNonNull(createdByEmail); + return this; + } + @CustomType.Setter + public Builder createdByFullName(String createdByFullName) { + this.createdByFullName = Objects.requireNonNull(createdByFullName); + return this; + } + @CustomType.Setter + public Builder createdDateTime(String createdDateTime) { + this.createdDateTime = Objects.requireNonNull(createdDateTime); + return this; + } + @CustomType.Setter + public Builder deletedBy(String deletedBy) { + this.deletedBy = Objects.requireNonNull(deletedBy); + return this; + } + @CustomType.Setter + public Builder deletedByEmail(String deletedByEmail) { + this.deletedByEmail = Objects.requireNonNull(deletedByEmail); + return this; + } + @CustomType.Setter + public Builder deletedByFullName(String deletedByFullName) { + this.deletedByFullName = Objects.requireNonNull(deletedByFullName); + return this; + } + @CustomType.Setter + public Builder deletedDateTime(String deletedDateTime) { + this.deletedDateTime = Objects.requireNonNull(deletedDateTime); + return this; + } + @CustomType.Setter + public Builder updatedBy(String updatedBy) { + this.updatedBy = Objects.requireNonNull(updatedBy); + return this; + } + @CustomType.Setter + public Builder updatedByEmail(String updatedByEmail) { + this.updatedByEmail = Objects.requireNonNull(updatedByEmail); + return this; + } + @CustomType.Setter + public Builder updatedByFullName(String updatedByFullName) { + this.updatedByFullName = Objects.requireNonNull(updatedByFullName); + return this; + } + @CustomType.Setter + public Builder updatedDateTime(String updatedDateTime) { + this.updatedDateTime = Objects.requireNonNull(updatedDateTime); + return this; + } + public GetRoutingProtocolChangeLog build() { + final var o = new GetRoutingProtocolChangeLog(); + o.createdBy = createdBy; + o.createdByEmail = createdByEmail; + o.createdByFullName = createdByFullName; + o.createdDateTime = createdDateTime; + o.deletedBy = deletedBy; + o.deletedByEmail = deletedByEmail; + o.deletedByFullName = deletedByFullName; + o.deletedDateTime = deletedDateTime; + o.updatedBy = updatedBy; + o.updatedByEmail = updatedByEmail; + o.updatedByFullName = updatedByFullName; + o.updatedDateTime = updatedDateTime; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolDirectIpv4.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolDirectIpv4.java new file mode 100644 index 00000000..8b662a44 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolDirectIpv4.java @@ -0,0 +1,54 @@ +// *** 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 java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetRoutingProtocolDirectIpv4 { + /** + * @return Equinix side Interface IP address + * + */ + private String equinixIfaceIp; + + private GetRoutingProtocolDirectIpv4() {} + /** + * @return Equinix side Interface IP address + * + */ + public String equinixIfaceIp() { + return this.equinixIfaceIp; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRoutingProtocolDirectIpv4 defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String equinixIfaceIp; + public Builder() {} + public Builder(GetRoutingProtocolDirectIpv4 defaults) { + Objects.requireNonNull(defaults); + this.equinixIfaceIp = defaults.equinixIfaceIp; + } + + @CustomType.Setter + public Builder equinixIfaceIp(String equinixIfaceIp) { + this.equinixIfaceIp = Objects.requireNonNull(equinixIfaceIp); + return this; + } + public GetRoutingProtocolDirectIpv4 build() { + final var o = new GetRoutingProtocolDirectIpv4(); + o.equinixIfaceIp = equinixIfaceIp; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolDirectIpv6.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolDirectIpv6.java new file mode 100644 index 00000000..818fbba0 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolDirectIpv6.java @@ -0,0 +1,56 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetRoutingProtocolDirectIpv6 { + /** + * @return Equinix side Interface IP address + * + */ + private @Nullable String equinixIfaceIp; + + private GetRoutingProtocolDirectIpv6() {} + /** + * @return Equinix side Interface IP address + * + */ + public Optional equinixIfaceIp() { + return Optional.ofNullable(this.equinixIfaceIp); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRoutingProtocolDirectIpv6 defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String equinixIfaceIp; + public Builder() {} + public Builder(GetRoutingProtocolDirectIpv6 defaults) { + Objects.requireNonNull(defaults); + this.equinixIfaceIp = defaults.equinixIfaceIp; + } + + @CustomType.Setter + public Builder equinixIfaceIp(@Nullable String equinixIfaceIp) { + this.equinixIfaceIp = equinixIfaceIp; + return this; + } + public GetRoutingProtocolDirectIpv6 build() { + final var o = new GetRoutingProtocolDirectIpv6(); + o.equinixIfaceIp = equinixIfaceIp; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolOperation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolOperation.java new file mode 100644 index 00000000..9e9f6f3d --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolOperation.java @@ -0,0 +1,50 @@ +// *** 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.GetRoutingProtocolOperationError; +import com.pulumi.core.annotations.CustomType; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetRoutingProtocolOperation { + private List errors; + + private GetRoutingProtocolOperation() {} + public List errors() { + return this.errors; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRoutingProtocolOperation defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List errors; + public Builder() {} + public Builder(GetRoutingProtocolOperation defaults) { + Objects.requireNonNull(defaults); + this.errors = defaults.errors; + } + + @CustomType.Setter + public Builder errors(List errors) { + this.errors = Objects.requireNonNull(errors); + return this; + } + public Builder errors(GetRoutingProtocolOperationError... errors) { + return errors(List.of(errors)); + } + public GetRoutingProtocolOperation build() { + final var o = new GetRoutingProtocolOperation(); + o.errors = errors; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolOperationError.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolOperationError.java new file mode 100644 index 00000000..fb8e546d --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolOperationError.java @@ -0,0 +1,111 @@ +// *** 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.GetRoutingProtocolOperationErrorAdditionalInfo; +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetRoutingProtocolOperationError { + private List additionalInfos; + private String correlationId; + private String details; + private String errorCode; + private String errorMessage; + private String help; + + private GetRoutingProtocolOperationError() {} + public List additionalInfos() { + return this.additionalInfos; + } + public String correlationId() { + return this.correlationId; + } + public String details() { + return this.details; + } + public String errorCode() { + return this.errorCode; + } + public String errorMessage() { + return this.errorMessage; + } + public String help() { + return this.help; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRoutingProtocolOperationError defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List additionalInfos; + private String correlationId; + private String details; + private String errorCode; + private String errorMessage; + private String help; + public Builder() {} + public Builder(GetRoutingProtocolOperationError defaults) { + Objects.requireNonNull(defaults); + this.additionalInfos = defaults.additionalInfos; + this.correlationId = defaults.correlationId; + this.details = defaults.details; + this.errorCode = defaults.errorCode; + this.errorMessage = defaults.errorMessage; + this.help = defaults.help; + } + + @CustomType.Setter + public Builder additionalInfos(List additionalInfos) { + this.additionalInfos = Objects.requireNonNull(additionalInfos); + return this; + } + public Builder additionalInfos(GetRoutingProtocolOperationErrorAdditionalInfo... additionalInfos) { + return additionalInfos(List.of(additionalInfos)); + } + @CustomType.Setter + public Builder correlationId(String correlationId) { + this.correlationId = Objects.requireNonNull(correlationId); + return this; + } + @CustomType.Setter + public Builder details(String details) { + this.details = Objects.requireNonNull(details); + return this; + } + @CustomType.Setter + public Builder errorCode(String errorCode) { + this.errorCode = Objects.requireNonNull(errorCode); + return this; + } + @CustomType.Setter + public Builder errorMessage(String errorMessage) { + this.errorMessage = Objects.requireNonNull(errorMessage); + return this; + } + @CustomType.Setter + public Builder help(String help) { + this.help = Objects.requireNonNull(help); + return this; + } + public GetRoutingProtocolOperationError build() { + final var o = new GetRoutingProtocolOperationError(); + o.additionalInfos = additionalInfos; + o.correlationId = correlationId; + o.details = details; + o.errorCode = errorCode; + o.errorMessage = errorMessage; + o.help = help; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolOperationErrorAdditionalInfo.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolOperationErrorAdditionalInfo.java new file mode 100644 index 00000000..1cd2b0ad --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolOperationErrorAdditionalInfo.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 java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetRoutingProtocolOperationErrorAdditionalInfo { + private String property; + private String reason; + + private GetRoutingProtocolOperationErrorAdditionalInfo() {} + public String property() { + return this.property; + } + public String reason() { + return this.reason; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRoutingProtocolOperationErrorAdditionalInfo defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String property; + private String reason; + public Builder() {} + public Builder(GetRoutingProtocolOperationErrorAdditionalInfo defaults) { + Objects.requireNonNull(defaults); + this.property = defaults.property; + this.reason = defaults.reason; + } + + @CustomType.Setter + public Builder property(String property) { + this.property = Objects.requireNonNull(property); + return this; + } + @CustomType.Setter + public Builder reason(String reason) { + this.reason = Objects.requireNonNull(reason); + return this; + } + public GetRoutingProtocolOperationErrorAdditionalInfo build() { + final var o = new GetRoutingProtocolOperationErrorAdditionalInfo(); + o.property = property; + o.reason = reason; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolResult.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolResult.java new file mode 100644 index 00000000..03bcd4f1 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetRoutingProtocolResult.java @@ -0,0 +1,435 @@ +// *** 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.GetRoutingProtocolBfd; +import com.equinix.pulumi.fabric.outputs.GetRoutingProtocolBgpIpv4; +import com.equinix.pulumi.fabric.outputs.GetRoutingProtocolBgpIpv6; +import com.equinix.pulumi.fabric.outputs.GetRoutingProtocolChange; +import com.equinix.pulumi.fabric.outputs.GetRoutingProtocolChangeLog; +import com.equinix.pulumi.fabric.outputs.GetRoutingProtocolDirectIpv4; +import com.equinix.pulumi.fabric.outputs.GetRoutingProtocolDirectIpv6; +import com.equinix.pulumi.fabric.outputs.GetRoutingProtocolOperation; +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetRoutingProtocolResult { + /** + * @return Bidirectional Forwarding Detection + * + */ + private @Nullable GetRoutingProtocolBfd bfd; + /** + * @return BGP authorization key + * + */ + private @Nullable String bgpAuthKey; + /** + * @return Routing Protocol BGP IPv4 + * + */ + private @Nullable GetRoutingProtocolBgpIpv4 bgpIpv4; + /** + * @return Routing Protocol BGP IPv6 + * + */ + private @Nullable GetRoutingProtocolBgpIpv6 bgpIpv6; + /** + * @return Captures Routing Protocol lifecycle change information + * + */ + private List changeLogs; + /** + * @return Routing Protocol configuration Changes + * + */ + private List changes; + /** + * @return Connection URI associated with Routing Protocol + * + */ + private String connectionUuid; + /** + * @return Customer-provided ASN + * + */ + private @Nullable Integer customerAsn; + /** + * @return Customer-provided Fabric Routing Protocol description + * + */ + private @Nullable String description; + /** + * @return Routing Protocol Direct IPv4 + * + */ + private @Nullable GetRoutingProtocolDirectIpv4 directIpv4; + /** + * @return Routing Protocol Direct IPv6 + * + */ + private @Nullable GetRoutingProtocolDirectIpv6 directIpv6; + /** + * @return Equinix ASN + * + */ + private Integer equinixAsn; + /** + * @return Routing Protocol URI information + * + */ + private String href; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + private @Nullable String name; + /** + * @return Routing Protocol type-specific operational data + * + */ + private List operations; + /** + * @return Routing Protocol overall state + * + */ + private String state; + /** + * @return Defines the routing protocol type like BGP or DIRECT + * + */ + private @Nullable String type; + /** + * @return Equinix-assigned routing protocol identifier + * + */ + private String uuid; + + private GetRoutingProtocolResult() {} + /** + * @return Bidirectional Forwarding Detection + * + */ + public Optional bfd() { + return Optional.ofNullable(this.bfd); + } + /** + * @return BGP authorization key + * + */ + public Optional bgpAuthKey() { + return Optional.ofNullable(this.bgpAuthKey); + } + /** + * @return Routing Protocol BGP IPv4 + * + */ + public Optional bgpIpv4() { + return Optional.ofNullable(this.bgpIpv4); + } + /** + * @return Routing Protocol BGP IPv6 + * + */ + public Optional bgpIpv6() { + return Optional.ofNullable(this.bgpIpv6); + } + /** + * @return Captures Routing Protocol lifecycle change information + * + */ + public List changeLogs() { + return this.changeLogs; + } + /** + * @return Routing Protocol configuration Changes + * + */ + public List changes() { + return this.changes; + } + /** + * @return Connection URI associated with Routing Protocol + * + */ + public String connectionUuid() { + return this.connectionUuid; + } + /** + * @return Customer-provided ASN + * + */ + public Optional customerAsn() { + return Optional.ofNullable(this.customerAsn); + } + /** + * @return Customer-provided Fabric Routing Protocol description + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + /** + * @return Routing Protocol Direct IPv4 + * + */ + public Optional directIpv4() { + return Optional.ofNullable(this.directIpv4); + } + /** + * @return Routing Protocol Direct IPv6 + * + */ + public Optional directIpv6() { + return Optional.ofNullable(this.directIpv6); + } + /** + * @return Equinix ASN + * + */ + public Integer equinixAsn() { + return this.equinixAsn; + } + /** + * @return Routing Protocol 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 Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** + * @return Routing Protocol type-specific operational data + * + */ + public List operations() { + return this.operations; + } + /** + * @return Routing Protocol overall state + * + */ + public String state() { + return this.state; + } + /** + * @return Defines the routing protocol type like BGP or DIRECT + * + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + /** + * @return Equinix-assigned routing protocol identifier + * + */ + public String uuid() { + return this.uuid; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetRoutingProtocolResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetRoutingProtocolBfd bfd; + private @Nullable String bgpAuthKey; + private @Nullable GetRoutingProtocolBgpIpv4 bgpIpv4; + private @Nullable GetRoutingProtocolBgpIpv6 bgpIpv6; + private List changeLogs; + private List changes; + private String connectionUuid; + private @Nullable Integer customerAsn; + private @Nullable String description; + private @Nullable GetRoutingProtocolDirectIpv4 directIpv4; + private @Nullable GetRoutingProtocolDirectIpv6 directIpv6; + private Integer equinixAsn; + private String href; + private String id; + private @Nullable String name; + private List operations; + private String state; + private @Nullable String type; + private String uuid; + public Builder() {} + public Builder(GetRoutingProtocolResult defaults) { + Objects.requireNonNull(defaults); + this.bfd = defaults.bfd; + this.bgpAuthKey = defaults.bgpAuthKey; + this.bgpIpv4 = defaults.bgpIpv4; + this.bgpIpv6 = defaults.bgpIpv6; + this.changeLogs = defaults.changeLogs; + this.changes = defaults.changes; + this.connectionUuid = defaults.connectionUuid; + this.customerAsn = defaults.customerAsn; + this.description = defaults.description; + this.directIpv4 = defaults.directIpv4; + this.directIpv6 = defaults.directIpv6; + this.equinixAsn = defaults.equinixAsn; + this.href = defaults.href; + this.id = defaults.id; + this.name = defaults.name; + this.operations = defaults.operations; + this.state = defaults.state; + this.type = defaults.type; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder bfd(@Nullable GetRoutingProtocolBfd bfd) { + this.bfd = bfd; + return this; + } + @CustomType.Setter + public Builder bgpAuthKey(@Nullable String bgpAuthKey) { + this.bgpAuthKey = bgpAuthKey; + return this; + } + @CustomType.Setter + public Builder bgpIpv4(@Nullable GetRoutingProtocolBgpIpv4 bgpIpv4) { + this.bgpIpv4 = bgpIpv4; + return this; + } + @CustomType.Setter + public Builder bgpIpv6(@Nullable GetRoutingProtocolBgpIpv6 bgpIpv6) { + this.bgpIpv6 = bgpIpv6; + return this; + } + @CustomType.Setter + public Builder changeLogs(List changeLogs) { + this.changeLogs = Objects.requireNonNull(changeLogs); + return this; + } + public Builder changeLogs(GetRoutingProtocolChangeLog... changeLogs) { + return changeLogs(List.of(changeLogs)); + } + @CustomType.Setter + public Builder changes(List changes) { + this.changes = Objects.requireNonNull(changes); + return this; + } + public Builder changes(GetRoutingProtocolChange... changes) { + return changes(List.of(changes)); + } + @CustomType.Setter + public Builder connectionUuid(String connectionUuid) { + this.connectionUuid = Objects.requireNonNull(connectionUuid); + return this; + } + @CustomType.Setter + public Builder customerAsn(@Nullable Integer customerAsn) { + this.customerAsn = customerAsn; + return this; + } + @CustomType.Setter + public Builder description(@Nullable String description) { + this.description = description; + return this; + } + @CustomType.Setter + public Builder directIpv4(@Nullable GetRoutingProtocolDirectIpv4 directIpv4) { + this.directIpv4 = directIpv4; + return this; + } + @CustomType.Setter + public Builder directIpv6(@Nullable GetRoutingProtocolDirectIpv6 directIpv6) { + this.directIpv6 = directIpv6; + return this; + } + @CustomType.Setter + public Builder equinixAsn(Integer equinixAsn) { + this.equinixAsn = Objects.requireNonNull(equinixAsn); + return this; + } + @CustomType.Setter + public Builder href(String href) { + this.href = Objects.requireNonNull(href); + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + @CustomType.Setter + public Builder operations(List operations) { + this.operations = Objects.requireNonNull(operations); + return this; + } + public Builder operations(GetRoutingProtocolOperation... operations) { + return operations(List.of(operations)); + } + @CustomType.Setter + public Builder state(String state) { + this.state = Objects.requireNonNull(state); + return this; + } + @CustomType.Setter + public Builder type(@Nullable String type) { + this.type = type; + return this; + } + @CustomType.Setter + public Builder uuid(String uuid) { + this.uuid = Objects.requireNonNull(uuid); + return this; + } + public GetRoutingProtocolResult build() { + final var o = new GetRoutingProtocolResult(); + o.bfd = bfd; + o.bgpAuthKey = bgpAuthKey; + o.bgpIpv4 = bgpIpv4; + o.bgpIpv6 = bgpIpv6; + o.changeLogs = changeLogs; + o.changes = changes; + o.connectionUuid = connectionUuid; + o.customerAsn = customerAsn; + o.description = description; + o.directIpv4 = directIpv4; + o.directIpv6 = directIpv6; + o.equinixAsn = equinixAsn; + o.href = href; + o.id = id; + o.name = name; + o.operations = operations; + o.state = state; + o.type = type; + o.uuid = uuid; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfig.java index 51f4d708..39b805f8 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfig.java @@ -28,15 +28,7 @@ public final class GetServiceProfileAccessPointTypeConfig { private Boolean enableAutoGenerateServiceKey; private List linkProtocolConfigs; private List supportedBandwidths; - /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - * - */ private String type; - /** - * @return Equinix assigned service profile identifier - * - */ private String uuid; private GetServiceProfileAccessPointTypeConfig() {} @@ -76,17 +68,9 @@ public List linkProtoc public List supportedBandwidths() { return this.supportedBandwidths; } - /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - * - */ public String type() { return this.type; } - /** - * @return Equinix assigned service profile identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfigAuthenticationKey.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfigAuthenticationKey.java index 888decd8..48df6411 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfigAuthenticationKey.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfigAuthenticationKey.java @@ -10,19 +10,11 @@ @CustomType public final class GetServiceProfileAccessPointTypeConfigAuthenticationKey { - /** - * @return User-provided service description - * - */ private String description; private String label; private Boolean required; private GetServiceProfileAccessPointTypeConfigAuthenticationKey() {} - /** - * @return User-provided service description - * - */ public String description() { return this.description; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileCustomField.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileCustomField.java index 4d456c17..9de2fe67 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileCustomField.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileCustomField.java @@ -13,10 +13,6 @@ public final class GetServiceProfileCustomField { private Boolean captureInEmail; private String dataType; - /** - * @return User-provided service description - * - */ private String description; private String label; private List options; @@ -29,10 +25,6 @@ public Boolean captureInEmail() { public String dataType() { return this.dataType; } - /** - * @return User-provided service description - * - */ public String description() { return this.description; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileMarketingInfoProcessStep.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileMarketingInfoProcessStep.java index 00887fbc..6e73976b 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileMarketingInfoProcessStep.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileMarketingInfoProcessStep.java @@ -9,19 +9,11 @@ @CustomType public final class GetServiceProfileMarketingInfoProcessStep { - /** - * @return User-provided service description - * - */ private String description; private String subTitle; private String title; private GetServiceProfileMarketingInfoProcessStep() {} - /** - * @return User-provided service description - * - */ public String description() { return this.description; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileMetro.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileMetro.java index 4e7d0e3b..b494ce90 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileMetro.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileMetro.java @@ -16,10 +16,6 @@ public final class GetServiceProfileMetro { private String displayName; private List ibxs; private Boolean inTrail; - /** - * @return Customer-assigned service profile name - * - */ private String name; private Map sellerRegions; @@ -36,10 +32,6 @@ public List ibxs() { public Boolean inTrail() { return this.inTrail; } - /** - * @return Customer-assigned service profile name - * - */ public String name() { return this.name; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileNotification.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileNotification.java index efab21eb..5d46ca52 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileNotification.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileNotification.java @@ -12,10 +12,6 @@ public final class GetServiceProfileNotification { private List emails; private String sendInterval; - /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - * - */ private String type; private GetServiceProfileNotification() {} @@ -25,10 +21,6 @@ public List emails() { public String sendInterval() { return this.sendInterval; } - /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - * - */ public String type() { return this.type; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilePort.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilePort.java index 2e71f211..1b9cd642 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilePort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilePort.java @@ -15,15 +15,7 @@ public final class GetServiceProfilePort { private List locations; private String sellerRegion; private String sellerRegionDescription; - /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - * - */ private String type; - /** - * @return Equinix assigned service profile identifier - * - */ private String uuid; private GetServiceProfilePort() {} @@ -39,17 +31,9 @@ public String sellerRegion() { public String sellerRegionDescription() { return this.sellerRegionDescription; } - /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - * - */ public String type() { return this.type; } - /** - * @return Equinix assigned service profile identifier - * - */ public String uuid() { return this.uuid; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileProject.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileProject.java index 02d6c2d2..c27568ac 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileProject.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileProject.java @@ -9,18 +9,10 @@ @CustomType public final class GetServiceProfileProject { - /** - * @return Service Profile URI response attribute - * - */ private String href; private String projectId; private GetServiceProfileProject() {} - /** - * @return Service Profile URI response attribute - * - */ public String href() { return this.href; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesResult.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesResult.java index ecaeb374..211bc875 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesResult.java @@ -35,6 +35,11 @@ public final class GetServiceProfilesResult { * */ private @Nullable List sort; + /** + * @return Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + * + */ + private @Nullable String viewPoint; private GetServiceProfilesResult() {} /** @@ -65,6 +70,13 @@ public String id() { public List sort() { return this.sort == null ? List.of() : this.sort; } + /** + * @return Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + * + */ + public Optional viewPoint() { + return Optional.ofNullable(this.viewPoint); + } public static Builder builder() { return new Builder(); @@ -79,6 +91,7 @@ public static final class Builder { private @Nullable GetServiceProfilesFilter filter; private String id; private @Nullable List sort; + private @Nullable String viewPoint; public Builder() {} public Builder(GetServiceProfilesResult defaults) { Objects.requireNonNull(defaults); @@ -86,6 +99,7 @@ public Builder(GetServiceProfilesResult defaults) { this.filter = defaults.filter; this.id = defaults.id; this.sort = defaults.sort; + this.viewPoint = defaults.viewPoint; } @CustomType.Setter @@ -114,12 +128,18 @@ public Builder sort(@Nullable List sort) { public Builder sort(GetServiceProfilesSort... sort) { return sort(List.of(sort)); } + @CustomType.Setter + public Builder viewPoint(@Nullable String viewPoint) { + this.viewPoint = viewPoint; + return this; + } public GetServiceProfilesResult build() { final var o = new GetServiceProfilesResult(); o.data = data; o.filter = filter; o.id = id; o.sort = sort; + o.viewPoint = viewPoint; return o; } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolBfd.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolBfd.java new file mode 100644 index 00000000..09114fcc --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolBfd.java @@ -0,0 +1,77 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class RoutingProtocolBfd { + /** + * @return Bidirectional Forwarding Detection enablement + * + */ + private Boolean enabled; + /** + * @return Interval range between the received BFD control packets + * + */ + private @Nullable String interval; + + private RoutingProtocolBfd() {} + /** + * @return Bidirectional Forwarding Detection enablement + * + */ + public Boolean enabled() { + return this.enabled; + } + /** + * @return Interval range between the received BFD control packets + * + */ + public Optional interval() { + return Optional.ofNullable(this.interval); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(RoutingProtocolBfd defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean enabled; + private @Nullable String interval; + public Builder() {} + public Builder(RoutingProtocolBfd defaults) { + Objects.requireNonNull(defaults); + this.enabled = defaults.enabled; + this.interval = defaults.interval; + } + + @CustomType.Setter + public Builder enabled(Boolean enabled) { + this.enabled = Objects.requireNonNull(enabled); + return this; + } + @CustomType.Setter + public Builder interval(@Nullable String interval) { + this.interval = interval; + return this; + } + public RoutingProtocolBfd build() { + final var o = new RoutingProtocolBfd(); + o.enabled = enabled; + o.interval = interval; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolBgpIpv4.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolBgpIpv4.java new file mode 100644 index 00000000..a66297de --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolBgpIpv4.java @@ -0,0 +1,97 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class RoutingProtocolBgpIpv4 { + /** + * @return Customer side peering ip + * + */ + private String customerPeerIp; + /** + * @return Admin status for the BGP session + * + */ + private @Nullable Boolean enabled; + /** + * @return Equinix side peering ip + * + */ + private @Nullable String equinixPeerIp; + + private RoutingProtocolBgpIpv4() {} + /** + * @return Customer side peering ip + * + */ + public String customerPeerIp() { + return this.customerPeerIp; + } + /** + * @return Admin status for the BGP session + * + */ + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + /** + * @return Equinix side peering ip + * + */ + public Optional equinixPeerIp() { + return Optional.ofNullable(this.equinixPeerIp); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(RoutingProtocolBgpIpv4 defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String customerPeerIp; + private @Nullable Boolean enabled; + private @Nullable String equinixPeerIp; + public Builder() {} + public Builder(RoutingProtocolBgpIpv4 defaults) { + Objects.requireNonNull(defaults); + this.customerPeerIp = defaults.customerPeerIp; + this.enabled = defaults.enabled; + this.equinixPeerIp = defaults.equinixPeerIp; + } + + @CustomType.Setter + public Builder customerPeerIp(String customerPeerIp) { + this.customerPeerIp = Objects.requireNonNull(customerPeerIp); + return this; + } + @CustomType.Setter + public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; + return this; + } + @CustomType.Setter + public Builder equinixPeerIp(@Nullable String equinixPeerIp) { + this.equinixPeerIp = equinixPeerIp; + return this; + } + public RoutingProtocolBgpIpv4 build() { + final var o = new RoutingProtocolBgpIpv4(); + o.customerPeerIp = customerPeerIp; + o.enabled = enabled; + o.equinixPeerIp = equinixPeerIp; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolBgpIpv6.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolBgpIpv6.java new file mode 100644 index 00000000..9b4a98e5 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolBgpIpv6.java @@ -0,0 +1,97 @@ +// *** 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 java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class RoutingProtocolBgpIpv6 { + /** + * @return Customer side peering ip + * + */ + private String customerPeerIp; + /** + * @return Admin status for the BGP session + * + */ + private @Nullable Boolean enabled; + /** + * @return Equinix side peering ip + * + */ + private @Nullable String equinixPeerIp; + + private RoutingProtocolBgpIpv6() {} + /** + * @return Customer side peering ip + * + */ + public String customerPeerIp() { + return this.customerPeerIp; + } + /** + * @return Admin status for the BGP session + * + */ + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + /** + * @return Equinix side peering ip + * + */ + public Optional equinixPeerIp() { + return Optional.ofNullable(this.equinixPeerIp); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(RoutingProtocolBgpIpv6 defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String customerPeerIp; + private @Nullable Boolean enabled; + private @Nullable String equinixPeerIp; + public Builder() {} + public Builder(RoutingProtocolBgpIpv6 defaults) { + Objects.requireNonNull(defaults); + this.customerPeerIp = defaults.customerPeerIp; + this.enabled = defaults.enabled; + this.equinixPeerIp = defaults.equinixPeerIp; + } + + @CustomType.Setter + public Builder customerPeerIp(String customerPeerIp) { + this.customerPeerIp = Objects.requireNonNull(customerPeerIp); + return this; + } + @CustomType.Setter + public Builder enabled(@Nullable Boolean enabled) { + this.enabled = enabled; + return this; + } + @CustomType.Setter + public Builder equinixPeerIp(@Nullable String equinixPeerIp) { + this.equinixPeerIp = equinixPeerIp; + return this; + } + public RoutingProtocolBgpIpv6 build() { + final var o = new RoutingProtocolBgpIpv6(); + o.customerPeerIp = customerPeerIp; + o.enabled = enabled; + o.equinixPeerIp = equinixPeerIp; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolChange.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolChange.java new file mode 100644 index 00000000..089f244e --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolChange.java @@ -0,0 +1,72 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class RoutingProtocolChange { + private @Nullable String href; + private @Nullable String type; + private @Nullable String uuid; + + private RoutingProtocolChange() {} + public Optional href() { + return Optional.ofNullable(this.href); + } + public Optional type() { + return Optional.ofNullable(this.type); + } + public Optional uuid() { + return Optional.ofNullable(this.uuid); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(RoutingProtocolChange defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String href; + private @Nullable String type; + private @Nullable String uuid; + public Builder() {} + public Builder(RoutingProtocolChange defaults) { + Objects.requireNonNull(defaults); + this.href = defaults.href; + this.type = defaults.type; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder href(@Nullable String href) { + this.href = href; + return this; + } + @CustomType.Setter + public Builder type(@Nullable String type) { + this.type = type; + return this; + } + @CustomType.Setter + public Builder uuid(@Nullable String uuid) { + this.uuid = uuid; + return this; + } + public RoutingProtocolChange build() { + final var o = new RoutingProtocolChange(); + o.href = href; + o.type = type; + o.uuid = uuid; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolChangeLog.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolChangeLog.java new file mode 100644 index 00000000..c90e6081 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolChangeLog.java @@ -0,0 +1,180 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class RoutingProtocolChangeLog { + private @Nullable String createdBy; + private @Nullable String createdByEmail; + private @Nullable String createdByFullName; + private @Nullable String createdDateTime; + private @Nullable String deletedBy; + private @Nullable String deletedByEmail; + private @Nullable String deletedByFullName; + private @Nullable String deletedDateTime; + private @Nullable String updatedBy; + private @Nullable String updatedByEmail; + private @Nullable String updatedByFullName; + private @Nullable String updatedDateTime; + + private RoutingProtocolChangeLog() {} + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + public Optional createdByEmail() { + return Optional.ofNullable(this.createdByEmail); + } + public Optional createdByFullName() { + return Optional.ofNullable(this.createdByFullName); + } + public Optional createdDateTime() { + return Optional.ofNullable(this.createdDateTime); + } + public Optional deletedBy() { + return Optional.ofNullable(this.deletedBy); + } + public Optional deletedByEmail() { + return Optional.ofNullable(this.deletedByEmail); + } + public Optional deletedByFullName() { + return Optional.ofNullable(this.deletedByFullName); + } + public Optional deletedDateTime() { + return Optional.ofNullable(this.deletedDateTime); + } + public Optional updatedBy() { + return Optional.ofNullable(this.updatedBy); + } + public Optional updatedByEmail() { + return Optional.ofNullable(this.updatedByEmail); + } + public Optional updatedByFullName() { + return Optional.ofNullable(this.updatedByFullName); + } + public Optional updatedDateTime() { + return Optional.ofNullable(this.updatedDateTime); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(RoutingProtocolChangeLog defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String createdBy; + private @Nullable String createdByEmail; + private @Nullable String createdByFullName; + private @Nullable String createdDateTime; + private @Nullable String deletedBy; + private @Nullable String deletedByEmail; + private @Nullable String deletedByFullName; + private @Nullable String deletedDateTime; + private @Nullable String updatedBy; + private @Nullable String updatedByEmail; + private @Nullable String updatedByFullName; + private @Nullable String updatedDateTime; + public Builder() {} + public Builder(RoutingProtocolChangeLog defaults) { + Objects.requireNonNull(defaults); + this.createdBy = defaults.createdBy; + this.createdByEmail = defaults.createdByEmail; + this.createdByFullName = defaults.createdByFullName; + this.createdDateTime = defaults.createdDateTime; + this.deletedBy = defaults.deletedBy; + this.deletedByEmail = defaults.deletedByEmail; + this.deletedByFullName = defaults.deletedByFullName; + this.deletedDateTime = defaults.deletedDateTime; + this.updatedBy = defaults.updatedBy; + this.updatedByEmail = defaults.updatedByEmail; + this.updatedByFullName = defaults.updatedByFullName; + this.updatedDateTime = defaults.updatedDateTime; + } + + @CustomType.Setter + public Builder createdBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + @CustomType.Setter + public Builder createdByEmail(@Nullable String createdByEmail) { + this.createdByEmail = createdByEmail; + return this; + } + @CustomType.Setter + public Builder createdByFullName(@Nullable String createdByFullName) { + this.createdByFullName = createdByFullName; + return this; + } + @CustomType.Setter + public Builder createdDateTime(@Nullable String createdDateTime) { + this.createdDateTime = createdDateTime; + return this; + } + @CustomType.Setter + public Builder deletedBy(@Nullable String deletedBy) { + this.deletedBy = deletedBy; + return this; + } + @CustomType.Setter + public Builder deletedByEmail(@Nullable String deletedByEmail) { + this.deletedByEmail = deletedByEmail; + return this; + } + @CustomType.Setter + public Builder deletedByFullName(@Nullable String deletedByFullName) { + this.deletedByFullName = deletedByFullName; + return this; + } + @CustomType.Setter + public Builder deletedDateTime(@Nullable String deletedDateTime) { + this.deletedDateTime = deletedDateTime; + return this; + } + @CustomType.Setter + public Builder updatedBy(@Nullable String updatedBy) { + this.updatedBy = updatedBy; + return this; + } + @CustomType.Setter + public Builder updatedByEmail(@Nullable String updatedByEmail) { + this.updatedByEmail = updatedByEmail; + return this; + } + @CustomType.Setter + public Builder updatedByFullName(@Nullable String updatedByFullName) { + this.updatedByFullName = updatedByFullName; + return this; + } + @CustomType.Setter + public Builder updatedDateTime(@Nullable String updatedDateTime) { + this.updatedDateTime = updatedDateTime; + return this; + } + public RoutingProtocolChangeLog build() { + final var o = new RoutingProtocolChangeLog(); + o.createdBy = createdBy; + o.createdByEmail = createdByEmail; + o.createdByFullName = createdByFullName; + o.createdDateTime = createdDateTime; + o.deletedBy = deletedBy; + o.deletedByEmail = deletedByEmail; + o.deletedByFullName = deletedByFullName; + o.deletedDateTime = deletedDateTime; + o.updatedBy = updatedBy; + o.updatedByEmail = updatedByEmail; + o.updatedByFullName = updatedByFullName; + o.updatedDateTime = updatedDateTime; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolDirectIpv4.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolDirectIpv4.java new file mode 100644 index 00000000..c806be09 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolDirectIpv4.java @@ -0,0 +1,54 @@ +// *** 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 java.lang.String; +import java.util.Objects; + +@CustomType +public final class RoutingProtocolDirectIpv4 { + /** + * @return Equinix side Interface IP address + * + */ + private String equinixIfaceIp; + + private RoutingProtocolDirectIpv4() {} + /** + * @return Equinix side Interface IP address + * + */ + public String equinixIfaceIp() { + return this.equinixIfaceIp; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(RoutingProtocolDirectIpv4 defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String equinixIfaceIp; + public Builder() {} + public Builder(RoutingProtocolDirectIpv4 defaults) { + Objects.requireNonNull(defaults); + this.equinixIfaceIp = defaults.equinixIfaceIp; + } + + @CustomType.Setter + public Builder equinixIfaceIp(String equinixIfaceIp) { + this.equinixIfaceIp = Objects.requireNonNull(equinixIfaceIp); + return this; + } + public RoutingProtocolDirectIpv4 build() { + final var o = new RoutingProtocolDirectIpv4(); + o.equinixIfaceIp = equinixIfaceIp; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolDirectIpv6.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolDirectIpv6.java new file mode 100644 index 00000000..55a89973 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolDirectIpv6.java @@ -0,0 +1,56 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class RoutingProtocolDirectIpv6 { + /** + * @return Equinix side Interface IP address + * + */ + private @Nullable String equinixIfaceIp; + + private RoutingProtocolDirectIpv6() {} + /** + * @return Equinix side Interface IP address + * + */ + public Optional equinixIfaceIp() { + return Optional.ofNullable(this.equinixIfaceIp); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(RoutingProtocolDirectIpv6 defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String equinixIfaceIp; + public Builder() {} + public Builder(RoutingProtocolDirectIpv6 defaults) { + Objects.requireNonNull(defaults); + this.equinixIfaceIp = defaults.equinixIfaceIp; + } + + @CustomType.Setter + public Builder equinixIfaceIp(@Nullable String equinixIfaceIp) { + this.equinixIfaceIp = equinixIfaceIp; + return this; + } + public RoutingProtocolDirectIpv6 build() { + final var o = new RoutingProtocolDirectIpv6(); + o.equinixIfaceIp = equinixIfaceIp; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolOperation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolOperation.java new file mode 100644 index 00000000..c977256e --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolOperation.java @@ -0,0 +1,51 @@ +// *** 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.RoutingProtocolOperationError; +import com.pulumi.core.annotations.CustomType; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class RoutingProtocolOperation { + private @Nullable List errors; + + private RoutingProtocolOperation() {} + public List errors() { + return this.errors == null ? List.of() : this.errors; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(RoutingProtocolOperation defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List errors; + public Builder() {} + public Builder(RoutingProtocolOperation defaults) { + Objects.requireNonNull(defaults); + this.errors = defaults.errors; + } + + @CustomType.Setter + public Builder errors(@Nullable List errors) { + this.errors = errors; + return this; + } + public Builder errors(RoutingProtocolOperationError... errors) { + return errors(List.of(errors)); + } + public RoutingProtocolOperation build() { + final var o = new RoutingProtocolOperation(); + o.errors = errors; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolOperationError.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolOperationError.java new file mode 100644 index 00000000..fd271754 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolOperationError.java @@ -0,0 +1,113 @@ +// *** 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.RoutingProtocolOperationErrorAdditionalInfo; +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class RoutingProtocolOperationError { + private @Nullable List additionalInfos; + private @Nullable String correlationId; + private @Nullable String details; + private @Nullable String errorCode; + private @Nullable String errorMessage; + private @Nullable String help; + + private RoutingProtocolOperationError() {} + public List additionalInfos() { + return this.additionalInfos == null ? List.of() : this.additionalInfos; + } + public Optional correlationId() { + return Optional.ofNullable(this.correlationId); + } + public Optional details() { + return Optional.ofNullable(this.details); + } + public Optional errorCode() { + return Optional.ofNullable(this.errorCode); + } + public Optional errorMessage() { + return Optional.ofNullable(this.errorMessage); + } + public Optional help() { + return Optional.ofNullable(this.help); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(RoutingProtocolOperationError defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List additionalInfos; + private @Nullable String correlationId; + private @Nullable String details; + private @Nullable String errorCode; + private @Nullable String errorMessage; + private @Nullable String help; + public Builder() {} + public Builder(RoutingProtocolOperationError defaults) { + Objects.requireNonNull(defaults); + this.additionalInfos = defaults.additionalInfos; + this.correlationId = defaults.correlationId; + this.details = defaults.details; + this.errorCode = defaults.errorCode; + this.errorMessage = defaults.errorMessage; + this.help = defaults.help; + } + + @CustomType.Setter + public Builder additionalInfos(@Nullable List additionalInfos) { + this.additionalInfos = additionalInfos; + return this; + } + public Builder additionalInfos(RoutingProtocolOperationErrorAdditionalInfo... additionalInfos) { + return additionalInfos(List.of(additionalInfos)); + } + @CustomType.Setter + public Builder correlationId(@Nullable String correlationId) { + this.correlationId = correlationId; + return this; + } + @CustomType.Setter + public Builder details(@Nullable String details) { + this.details = details; + return this; + } + @CustomType.Setter + public Builder errorCode(@Nullable String errorCode) { + this.errorCode = errorCode; + return this; + } + @CustomType.Setter + public Builder errorMessage(@Nullable String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + @CustomType.Setter + public Builder help(@Nullable String help) { + this.help = help; + return this; + } + public RoutingProtocolOperationError build() { + final var o = new RoutingProtocolOperationError(); + o.additionalInfos = additionalInfos; + o.correlationId = correlationId; + o.details = details; + o.errorCode = errorCode; + o.errorMessage = errorMessage; + o.help = help; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolOperationErrorAdditionalInfo.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolOperationErrorAdditionalInfo.java new file mode 100644 index 00000000..7bccb574 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/RoutingProtocolOperationErrorAdditionalInfo.java @@ -0,0 +1,60 @@ +// *** 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 java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class RoutingProtocolOperationErrorAdditionalInfo { + private @Nullable String property; + private @Nullable String reason; + + private RoutingProtocolOperationErrorAdditionalInfo() {} + public Optional property() { + return Optional.ofNullable(this.property); + } + public Optional reason() { + return Optional.ofNullable(this.reason); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(RoutingProtocolOperationErrorAdditionalInfo defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String property; + private @Nullable String reason; + public Builder() {} + public Builder(RoutingProtocolOperationErrorAdditionalInfo defaults) { + Objects.requireNonNull(defaults); + this.property = defaults.property; + this.reason = defaults.reason; + } + + @CustomType.Setter + public Builder property(@Nullable String property) { + this.property = property; + return this; + } + @CustomType.Setter + public Builder reason(@Nullable String reason) { + this.reason = reason; + return this; + } + public RoutingProtocolOperationErrorAdditionalInfo build() { + final var o = new RoutingProtocolOperationErrorAdditionalInfo(); + o.property = property; + o.reason = reason; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfigApiConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfigApiConfig.java index 4c8e529b..a1502532 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfigApiConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfigApiConfig.java @@ -13,33 +13,89 @@ @CustomType public final class ServiceProfileAccessPointTypeConfigApiConfig { + /** + * @return Setting showing that oversubscription support is available (true) or not (false). The default is false + * + */ private @Nullable Boolean allowOverSubscription; + /** + * @return Setting indicating whether the API is available (true) or not (false) + * + */ private @Nullable Boolean apiAvailable; + /** + * @return Bandwidth from api + * + */ private @Nullable Boolean bandwidthFromApi; + /** + * @return Setting indicating that the port is managed by Equinix (true) or not (false) + * + */ private @Nullable Boolean equinixManagedPort; + /** + * @return Setting indicating that the VLAN is managed by Equinix (true) or not (false) + * + */ private @Nullable Boolean equinixManagedVlan; + /** + * @return Integration id + * + */ private @Nullable String integrationId; + /** + * @return A cap on over subscription + * + */ private @Nullable Integer overSubscriptionLimit; private ServiceProfileAccessPointTypeConfigApiConfig() {} + /** + * @return Setting showing that oversubscription support is available (true) or not (false). The default is false + * + */ public Optional allowOverSubscription() { return Optional.ofNullable(this.allowOverSubscription); } + /** + * @return Setting indicating whether the API is available (true) or not (false) + * + */ public Optional apiAvailable() { return Optional.ofNullable(this.apiAvailable); } + /** + * @return Bandwidth from api + * + */ public Optional bandwidthFromApi() { return Optional.ofNullable(this.bandwidthFromApi); } + /** + * @return Setting indicating that the port is managed by Equinix (true) or not (false) + * + */ public Optional equinixManagedPort() { return Optional.ofNullable(this.equinixManagedPort); } + /** + * @return Setting indicating that the VLAN is managed by Equinix (true) or not (false) + * + */ public Optional equinixManagedVlan() { return Optional.ofNullable(this.equinixManagedVlan); } + /** + * @return Integration id + * + */ public Optional integrationId() { return Optional.ofNullable(this.integrationId); } + /** + * @return A cap on over subscription + * + */ public Optional overSubscriptionLimit() { return Optional.ofNullable(this.overSubscriptionLimit); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfigAuthenticationKey.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfigAuthenticationKey.java index 970875da..0b643767 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfigAuthenticationKey.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfigAuthenticationKey.java @@ -13,24 +13,40 @@ @CustomType public final class ServiceProfileAccessPointTypeConfigAuthenticationKey { /** - * @return User-provided service description + * @return Description * */ private @Nullable String description; + /** + * @return Label + * + */ private @Nullable String label; + /** + * @return Required + * + */ private @Nullable Boolean required; private ServiceProfileAccessPointTypeConfigAuthenticationKey() {} /** - * @return User-provided service description + * @return Description * */ public Optional description() { return Optional.ofNullable(this.description); } + /** + * @return Label + * + */ public Optional label() { return Optional.ofNullable(this.label); } + /** + * @return Required + * + */ public Optional required() { return Optional.ofNullable(this.required); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfig.java index 87816ff5..7b302577 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfigLinkProtocolConfig.java @@ -12,17 +12,41 @@ @CustomType public final class ServiceProfileAccessPointTypeConfigLinkProtocolConfig { + /** + * @return Port Encapsulation + * + */ private @Nullable String encapsulation; + /** + * @return Encapsulation strategy + * + */ private @Nullable String encapsulationStrategy; + /** + * @return Reuse vlan sTag + * + */ private @Nullable Boolean reuseVlanSTag; private ServiceProfileAccessPointTypeConfigLinkProtocolConfig() {} + /** + * @return Port Encapsulation + * + */ public Optional encapsulation() { return Optional.ofNullable(this.encapsulation); } + /** + * @return Encapsulation strategy + * + */ public Optional encapsulationStrategy() { return Optional.ofNullable(this.encapsulationStrategy); } + /** + * @return Reuse vlan sTag + * + */ public Optional reuseVlanSTag() { return Optional.ofNullable(this.reuseVlanSTag); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileMarketingInfoProcessStep.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileMarketingInfoProcessStep.java index 3abf50c9..bdbbfe96 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileMarketingInfoProcessStep.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileMarketingInfoProcessStep.java @@ -12,24 +12,40 @@ @CustomType public final class ServiceProfileMarketingInfoProcessStep { /** - * @return User-provided service description + * @return Description * */ private @Nullable String description; + /** + * @return Sub Title + * + */ private @Nullable String subTitle; + /** + * @return Title + * + */ private @Nullable String title; private ServiceProfileMarketingInfoProcessStep() {} /** - * @return User-provided service description + * @return Description * */ public Optional description() { return Optional.ofNullable(this.description); } + /** + * @return Sub Title + * + */ public Optional subTitle() { return Optional.ofNullable(this.subTitle); } + /** + * @return Title + * + */ public Optional title() { return Optional.ofNullable(this.title); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfilePortLocation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfilePortLocation.java index e8c36943..33ccfb60 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfilePortLocation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfilePortLocation.java @@ -11,21 +11,53 @@ @CustomType public final class ServiceProfilePortLocation { + /** + * @return IBX Code + * + */ private @Nullable String ibx; + /** + * @return Access point metro code + * + */ private @Nullable String metroCode; + /** + * @return Access point metro name + * + */ private @Nullable String metroName; + /** + * @return Access point region + * + */ private @Nullable String region; private ServiceProfilePortLocation() {} + /** + * @return IBX Code + * + */ public Optional ibx() { return Optional.ofNullable(this.ibx); } + /** + * @return Access point metro code + * + */ public Optional metroCode() { return Optional.ofNullable(this.metroCode); } + /** + * @return Access point metro name + * + */ public Optional metroName() { return Optional.ofNullable(this.metroName); } + /** + * @return Access point region + * + */ public Optional region() { return Optional.ofNullable(this.region); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileVirtualDeviceLocation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileVirtualDeviceLocation.java index 612efe69..7146a2ec 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileVirtualDeviceLocation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileVirtualDeviceLocation.java @@ -11,21 +11,53 @@ @CustomType public final class ServiceProfileVirtualDeviceLocation { + /** + * @return IBX Code + * + */ private @Nullable String ibx; + /** + * @return Access point metro code + * + */ private @Nullable String metroCode; + /** + * @return Access point metro name + * + */ private @Nullable String metroName; + /** + * @return Access point region + * + */ private @Nullable String region; private ServiceProfileVirtualDeviceLocation() {} + /** + * @return IBX Code + * + */ public Optional ibx() { return Optional.ofNullable(this.ibx); } + /** + * @return Access point metro code + * + */ public Optional metroCode() { return Optional.ofNullable(this.metroCode); } + /** + * @return Access point metro name + * + */ public Optional metroName() { return Optional.ofNullable(this.metroName); } + /** + * @return Access point region + * + */ public Optional region() { return Optional.ofNullable(this.region); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/Device.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/Device.java index 84c92de5..19fa1a21 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/Device.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/Device.java @@ -182,7 +182,7 @@ public Output> customData() { return Codegen.optional(this.customData); } /** - * The facility where the device is deployed + * (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -193,7 +193,7 @@ public Output> customData() { private Output deployedFacility; /** - * @return The facility where the device is deployed + * @return (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide * */ public Output deployedFacility() { @@ -230,10 +230,11 @@ public Output> description() { return Codegen.optional(this.description); } /** - * List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -244,10 +245,11 @@ public Output> description() { private Output> facilities; /** - * @return List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * @return List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * */ public Output>> facilities() { @@ -474,20 +476,14 @@ public Output projectId() { return this.projectId; } /** - * Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. * */ @Export(name="projectSshKeyIds", refs={List.class,String.class}, tree="[0,1]") private Output> projectSshKeyIds; /** - * @return Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * @return Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. * */ public Output>> projectSshKeyIds() { @@ -634,14 +630,14 @@ public Output> userData() { return Codegen.optional(this.userData); } /** - * Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. * */ @Export(name="userSshKeyIds", refs={List.class,String.class}, tree="[0,1]") private Output> userSshKeyIds; /** - * @return Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * @return Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. * */ public Output>> userSshKeyIds() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/DeviceArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/DeviceArgs.java index f5eaccea..cc3aa9ba 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/DeviceArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/DeviceArgs.java @@ -103,10 +103,11 @@ public Optional> description() { } /** - * List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -117,10 +118,11 @@ public Optional> description() { private @Nullable Output>> facilities; /** - * @return List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * @return List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -285,20 +287,14 @@ public Output projectId() { } /** - * Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. * */ @Import(name="projectSshKeyIds") private @Nullable Output> projectSshKeyIds; /** - * @return Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * @return Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. * */ public Optional>> projectSshKeyIds() { @@ -395,14 +391,14 @@ public Optional> userData() { } /** - * Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. * */ @Import(name="userSshKeyIds") private @Nullable Output> userSshKeyIds; /** - * @return Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * @return Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. * */ public Optional>> userSshKeyIds() { @@ -602,10 +598,11 @@ public Builder description(String description) { } /** - * @param facilities List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * @param facilities List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -620,10 +617,11 @@ public Builder facilities(@Nullable Output>> facili } /** - * @param facilities List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * @param facilities List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -637,10 +635,11 @@ public Builder facilities(List> facilities) { } /** - * @param facilities List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * @param facilities List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -920,10 +919,7 @@ public Builder projectId(String projectId) { } /** - * @param projectSshKeyIds Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * @param projectSshKeyIds Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. * * @return builder * @@ -934,10 +930,7 @@ public Builder projectSshKeyIds(@Nullable Output> projectSshKeyIds) } /** - * @param projectSshKeyIds Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * @param projectSshKeyIds Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. * * @return builder * @@ -947,10 +940,7 @@ public Builder projectSshKeyIds(List projectSshKeyIds) { } /** - * @param projectSshKeyIds Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * @param projectSshKeyIds Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. * * @return builder * @@ -1089,7 +1079,7 @@ public Builder userData(String userData) { } /** - * @param userSshKeyIds Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * @param userSshKeyIds Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. * * @return builder * @@ -1100,7 +1090,7 @@ public Builder userSshKeyIds(@Nullable Output> userSshKeyIds) { } /** - * @param userSshKeyIds Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * @param userSshKeyIds Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. * * @return builder * @@ -1110,7 +1100,7 @@ public Builder userSshKeyIds(List userSshKeyIds) { } /** - * @param userSshKeyIds Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * @param userSshKeyIds Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/Interconnection.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/Interconnection.java index 83f73960..ed2d4eee 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/Interconnection.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/Interconnection.java @@ -68,6 +68,20 @@ */ @ResourceType(type="equinix:metal/interconnection:Interconnection") public class Interconnection extends com.pulumi.resources.CustomResource { + /** + * The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + * + */ + @Export(name="contactEmail", refs={String.class}, tree="[0]") + private Output contactEmail; + + /** + * @return The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + * + */ + public Output contactEmail() { + return this.contactEmail; + } /** * Description for the connection resource. * @@ -83,7 +97,7 @@ public Output> description() { return Codegen.optional(this.description); } /** - * Facility where the connection will be created + * Facility where the connection will be created. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -94,7 +108,7 @@ public Output> description() { private Output facility; /** - * @return Facility where the connection will be created + * @return Facility where the connection will be created. Use metro instead; read the facility to metro migration guide * */ public Output facility() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/InterconnectionArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/InterconnectionArgs.java index b762fdbe..5535f945 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/InterconnectionArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/InterconnectionArgs.java @@ -17,6 +17,21 @@ public final class InterconnectionArgs extends com.pulumi.resources.ResourceArgs public static final InterconnectionArgs Empty = new InterconnectionArgs(); + /** + * The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + * + */ + @Import(name="contactEmail") + private @Nullable Output contactEmail; + + /** + * @return The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + * + */ + public Optional> contactEmail() { + return Optional.ofNullable(this.contactEmail); + } + /** * Description for the connection resource. * @@ -33,7 +48,7 @@ public Optional> description() { } /** - * Facility where the connection will be created + * Facility where the connection will be created. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -44,7 +59,7 @@ public Optional> description() { private @Nullable Output facility; /** - * @return Facility where the connection will be created + * @return Facility where the connection will be created. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -164,15 +179,15 @@ public Optional> serviceTokenType() { * Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps. * */ - @Import(name="speed", required=true) - private Output speed; + @Import(name="speed") + private @Nullable Output speed; /** * @return Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps. * */ - public Output speed() { - return this.speed; + public Optional> speed() { + return Optional.ofNullable(this.speed); } /** @@ -223,6 +238,7 @@ public Optional>> vlans() { private InterconnectionArgs() {} private InterconnectionArgs(InterconnectionArgs $) { + this.contactEmail = $.contactEmail; this.description = $.description; this.facility = $.facility; this.metro = $.metro; @@ -256,6 +272,27 @@ public Builder(InterconnectionArgs defaults) { $ = new InterconnectionArgs(Objects.requireNonNull(defaults)); } + /** + * @param contactEmail The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + * + * @return builder + * + */ + public Builder contactEmail(@Nullable Output contactEmail) { + $.contactEmail = contactEmail; + return this; + } + + /** + * @param contactEmail The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + * + * @return builder + * + */ + public Builder contactEmail(String contactEmail) { + return contactEmail(Output.of(contactEmail)); + } + /** * @param description Description for the connection resource. * @@ -278,7 +315,7 @@ public Builder description(String description) { } /** - * @param facility Facility where the connection will be created + * @param facility Facility where the connection will be created. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -293,7 +330,7 @@ public Builder facility(@Nullable Output facility) { } /** - * @param facility Facility where the connection will be created + * @param facility Facility where the connection will be created. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -459,7 +496,7 @@ public Builder serviceTokenType(String serviceTokenType) { * @return builder * */ - public Builder speed(Output speed) { + public Builder speed(@Nullable Output speed) { $.speed = speed; return this; } @@ -559,7 +596,6 @@ public Builder vlans(Integer... vlans) { public InterconnectionArgs build() { $.redundancy = Objects.requireNonNull($.redundancy, "expected parameter 'redundancy' to be non-null"); - $.speed = Objects.requireNonNull($.speed, "expected parameter 'speed' to be non-null"); $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); return $; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/MetalFunctions.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/MetalFunctions.java index 242f8553..c54ee1b2 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/MetalFunctions.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/MetalFunctions.java @@ -8,6 +8,8 @@ import com.equinix.pulumi.metal.inputs.GetDeviceBgpNeighborsArgs; import com.equinix.pulumi.metal.inputs.GetDeviceBgpNeighborsPlainArgs; import com.equinix.pulumi.metal.inputs.GetDevicePlainArgs; +import com.equinix.pulumi.metal.inputs.GetDevicesArgs; +import com.equinix.pulumi.metal.inputs.GetDevicesPlainArgs; import com.equinix.pulumi.metal.inputs.GetFacilityArgs; import com.equinix.pulumi.metal.inputs.GetFacilityPlainArgs; import com.equinix.pulumi.metal.inputs.GetGatewayArgs; @@ -48,6 +50,7 @@ import com.equinix.pulumi.metal.inputs.GetVrfPlainArgs; import com.equinix.pulumi.metal.outputs.GetDeviceBgpNeighborsResult; import com.equinix.pulumi.metal.outputs.GetDeviceResult; +import com.equinix.pulumi.metal.outputs.GetDevicesResult; import com.equinix.pulumi.metal.outputs.GetFacilityResult; import com.equinix.pulumi.metal.outputs.GetGatewayResult; import com.equinix.pulumi.metal.outputs.GetHardwareReservationResult; @@ -75,7 +78,9 @@ public final class MetalFunctions { /** - * Provides an Equinix Metal device datasource. + * The datasource can be used to fetch a single device. + * + * If you need to fetch a list of devices which meet filter criteria, you can use the equinix.metal.getDevices datasource. * * > **Note:** All arguments including the `root_password` and `user_data` will be stored in * the raw state as plain-text. @@ -147,7 +152,9 @@ public static Output getDevice() { return getDevice(GetDeviceArgs.Empty, InvokeOptions.Empty); } /** - * Provides an Equinix Metal device datasource. + * The datasource can be used to fetch a single device. + * + * If you need to fetch a list of devices which meet filter criteria, you can use the equinix.metal.getDevices datasource. * * > **Note:** All arguments including the `root_password` and `user_data` will be stored in * the raw state as plain-text. @@ -219,7 +226,9 @@ public static CompletableFuture getDevicePlain() { return getDevicePlain(GetDevicePlainArgs.Empty, InvokeOptions.Empty); } /** - * Provides an Equinix Metal device datasource. + * The datasource can be used to fetch a single device. + * + * If you need to fetch a list of devices which meet filter criteria, you can use the equinix.metal.getDevices datasource. * * > **Note:** All arguments including the `root_password` and `user_data` will be stored in * the raw state as plain-text. @@ -291,7 +300,9 @@ public static Output getDevice(GetDeviceArgs args) { return getDevice(args, InvokeOptions.Empty); } /** - * Provides an Equinix Metal device datasource. + * The datasource can be used to fetch a single device. + * + * If you need to fetch a list of devices which meet filter criteria, you can use the equinix.metal.getDevices datasource. * * > **Note:** All arguments including the `root_password` and `user_data` will be stored in * the raw state as plain-text. @@ -363,7 +374,9 @@ public static CompletableFuture getDevicePlain(GetDevicePlainAr return getDevicePlain(args, InvokeOptions.Empty); } /** - * Provides an Equinix Metal device datasource. + * The datasource can be used to fetch a single device. + * + * If you need to fetch a list of devices which meet filter criteria, you can use the equinix.metal.getDevices datasource. * * > **Note:** All arguments including the `root_password` and `user_data` will be stored in * the raw state as plain-text. @@ -435,7 +448,9 @@ public static Output getDevice(GetDeviceArgs args, InvokeOption return Deployment.getInstance().invoke("equinix:metal/getDevice:getDevice", TypeShape.of(GetDeviceResult.class), args, Utilities.withVersion(options)); } /** - * Provides an Equinix Metal device datasource. + * The datasource can be used to fetch a single device. + * + * If you need to fetch a list of devices which meet filter criteria, you can use the equinix.metal.getDevices datasource. * * > **Note:** All arguments including the `root_password` and `user_data` will be stored in * the raw state as plain-text. @@ -682,15 +697,537 @@ public static Output getDeviceBgpNeighbors(GetDevic public static CompletableFuture getDeviceBgpNeighborsPlain(GetDeviceBgpNeighborsPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("equinix:metal/getDeviceBgpNeighbors:getDeviceBgpNeighbors", TypeShape.of(GetDeviceBgpNeighborsResult.class), args, Utilities.withVersion(options)); } + /** + * The datasource can be used to find a list of devices which meet filter criteria. + * + * If you need to fetch a single device by ID or by project ID and hostname, use the equinix.metal.Device datasource. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.equinix.metal.MetalFunctions; + * import com.pulumi.equinix.metal.inputs.GetDevicesArgs; + * 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 example = MetalFunctions.getDevices(GetDevicesArgs.builder() + * .projectId(local.project_id()) + * .filters( + * GetDevicesFilterArgs.builder() + * .attribute("plan") + * .values("c3.small.x86") + * .build(), + * GetDevicesFilterArgs.builder() + * .attribute("metro") + * .values( + * "da", + * "sv") + * .build()) + * .build()); + * + * ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices())); + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.equinix.metal.MetalFunctions; + * import com.pulumi.equinix.metal.inputs.GetDevicesArgs; + * 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 example = MetalFunctions.getDevices(GetDevicesArgs.builder() + * .search("database") + * .build()); + * + * ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices())); + * } + * } + * ``` + * ## search vs filter + * + * The difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The "filter" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider. + * + */ + public static Output getDevices() { + return getDevices(GetDevicesArgs.Empty, InvokeOptions.Empty); + } + /** + * The datasource can be used to find a list of devices which meet filter criteria. + * + * If you need to fetch a single device by ID or by project ID and hostname, use the equinix.metal.Device datasource. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.equinix.metal.MetalFunctions; + * import com.pulumi.equinix.metal.inputs.GetDevicesArgs; + * 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 example = MetalFunctions.getDevices(GetDevicesArgs.builder() + * .projectId(local.project_id()) + * .filters( + * GetDevicesFilterArgs.builder() + * .attribute("plan") + * .values("c3.small.x86") + * .build(), + * GetDevicesFilterArgs.builder() + * .attribute("metro") + * .values( + * "da", + * "sv") + * .build()) + * .build()); + * + * ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices())); + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.equinix.metal.MetalFunctions; + * import com.pulumi.equinix.metal.inputs.GetDevicesArgs; + * 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 example = MetalFunctions.getDevices(GetDevicesArgs.builder() + * .search("database") + * .build()); + * + * ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices())); + * } + * } + * ``` + * ## search vs filter + * + * The difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The "filter" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider. + * + */ + public static CompletableFuture getDevicesPlain() { + return getDevicesPlain(GetDevicesPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * The datasource can be used to find a list of devices which meet filter criteria. + * + * If you need to fetch a single device by ID or by project ID and hostname, use the equinix.metal.Device datasource. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.equinix.metal.MetalFunctions; + * import com.pulumi.equinix.metal.inputs.GetDevicesArgs; + * 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 example = MetalFunctions.getDevices(GetDevicesArgs.builder() + * .projectId(local.project_id()) + * .filters( + * GetDevicesFilterArgs.builder() + * .attribute("plan") + * .values("c3.small.x86") + * .build(), + * GetDevicesFilterArgs.builder() + * .attribute("metro") + * .values( + * "da", + * "sv") + * .build()) + * .build()); + * + * ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices())); + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.equinix.metal.MetalFunctions; + * import com.pulumi.equinix.metal.inputs.GetDevicesArgs; + * 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 example = MetalFunctions.getDevices(GetDevicesArgs.builder() + * .search("database") + * .build()); + * + * ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices())); + * } + * } + * ``` + * ## search vs filter + * + * The difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The "filter" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider. + * + */ + public static Output getDevices(GetDevicesArgs args) { + return getDevices(args, InvokeOptions.Empty); + } + /** + * The datasource can be used to find a list of devices which meet filter criteria. + * + * If you need to fetch a single device by ID or by project ID and hostname, use the equinix.metal.Device datasource. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.equinix.metal.MetalFunctions; + * import com.pulumi.equinix.metal.inputs.GetDevicesArgs; + * 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 example = MetalFunctions.getDevices(GetDevicesArgs.builder() + * .projectId(local.project_id()) + * .filters( + * GetDevicesFilterArgs.builder() + * .attribute("plan") + * .values("c3.small.x86") + * .build(), + * GetDevicesFilterArgs.builder() + * .attribute("metro") + * .values( + * "da", + * "sv") + * .build()) + * .build()); + * + * ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices())); + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.equinix.metal.MetalFunctions; + * import com.pulumi.equinix.metal.inputs.GetDevicesArgs; + * 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 example = MetalFunctions.getDevices(GetDevicesArgs.builder() + * .search("database") + * .build()); + * + * ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices())); + * } + * } + * ``` + * ## search vs filter + * + * The difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The "filter" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider. + * + */ + public static CompletableFuture getDevicesPlain(GetDevicesPlainArgs args) { + return getDevicesPlain(args, InvokeOptions.Empty); + } + /** + * The datasource can be used to find a list of devices which meet filter criteria. + * + * If you need to fetch a single device by ID or by project ID and hostname, use the equinix.metal.Device datasource. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.equinix.metal.MetalFunctions; + * import com.pulumi.equinix.metal.inputs.GetDevicesArgs; + * 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 example = MetalFunctions.getDevices(GetDevicesArgs.builder() + * .projectId(local.project_id()) + * .filters( + * GetDevicesFilterArgs.builder() + * .attribute("plan") + * .values("c3.small.x86") + * .build(), + * GetDevicesFilterArgs.builder() + * .attribute("metro") + * .values( + * "da", + * "sv") + * .build()) + * .build()); + * + * ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices())); + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.equinix.metal.MetalFunctions; + * import com.pulumi.equinix.metal.inputs.GetDevicesArgs; + * 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 example = MetalFunctions.getDevices(GetDevicesArgs.builder() + * .search("database") + * .build()); + * + * ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices())); + * } + * } + * ``` + * ## search vs filter + * + * The difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The "filter" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider. + * + */ + public static Output getDevices(GetDevicesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("equinix:metal/getDevices:getDevices", TypeShape.of(GetDevicesResult.class), args, Utilities.withVersion(options)); + } + /** + * The datasource can be used to find a list of devices which meet filter criteria. + * + * If you need to fetch a single device by ID or by project ID and hostname, use the equinix.metal.Device datasource. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.equinix.metal.MetalFunctions; + * import com.pulumi.equinix.metal.inputs.GetDevicesArgs; + * 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 example = MetalFunctions.getDevices(GetDevicesArgs.builder() + * .projectId(local.project_id()) + * .filters( + * GetDevicesFilterArgs.builder() + * .attribute("plan") + * .values("c3.small.x86") + * .build(), + * GetDevicesFilterArgs.builder() + * .attribute("metro") + * .values( + * "da", + * "sv") + * .build()) + * .build()); + * + * ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices())); + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.equinix.metal.MetalFunctions; + * import com.pulumi.equinix.metal.inputs.GetDevicesArgs; + * 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 example = MetalFunctions.getDevices(GetDevicesArgs.builder() + * .search("database") + * .build()); + * + * ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices())); + * } + * } + * ``` + * ## search vs filter + * + * The difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The "filter" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider. + * + */ + public static CompletableFuture getDevicesPlain(GetDevicesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("equinix:metal/getDevices:getDevices", TypeShape.of(GetDevicesResult.class), args, Utilities.withVersion(options)); + } + /** + * > **Deprecated** Use `equinix.metal.getMetro` instead. For more information, refer to the facility to metro migration guide. + * + * Provides an Equinix Metal facility datasource. + * + */ public static Output getFacility(GetFacilityArgs args) { return getFacility(args, InvokeOptions.Empty); } + /** + * > **Deprecated** Use `equinix.metal.getMetro` instead. For more information, refer to the facility to metro migration guide. + * + * Provides an Equinix Metal facility datasource. + * + */ public static CompletableFuture getFacilityPlain(GetFacilityPlainArgs args) { return getFacilityPlain(args, InvokeOptions.Empty); } + /** + * > **Deprecated** Use `equinix.metal.getMetro` instead. For more information, refer to the facility to metro migration guide. + * + * Provides an Equinix Metal facility datasource. + * + */ public static Output getFacility(GetFacilityArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("equinix:metal/getFacility:getFacility", TypeShape.of(GetFacilityResult.class), args, Utilities.withVersion(options)); } + /** + * > **Deprecated** Use `equinix.metal.getMetro` instead. For more information, refer to the facility to metro migration guide. + * + * Provides an Equinix Metal facility datasource. + * + */ public static CompletableFuture getFacilityPlain(GetFacilityPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("equinix:metal/getFacility:getFacility", TypeShape.of(GetFacilityResult.class), args, Utilities.withVersion(options)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/Project.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/Project.java index b16652ab..de297f7e 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/Project.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/Project.java @@ -76,6 +76,9 @@ public Output> backendTransfer() { /** * Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). * + * > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + * the Equinix Metal API). It can be updated. + * */ @Export(name="bgpConfig", refs={ProjectBgpConfig.class}, tree="[0]") private Output bgpConfig; @@ -83,6 +86,9 @@ public Output> backendTransfer() { /** * @return Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). * + * > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + * the Equinix Metal API). It can be updated. + * */ public Output> bgpConfig() { return Codegen.optional(this.bgpConfig); @@ -102,14 +108,14 @@ public Output created() { return this.created; } /** - * The name of the project. + * The name of the project. The maximum length is 80 characters * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** - * @return The name of the project. + * @return The name of the project. The maximum length is 80 characters * */ public Output name() { @@ -117,7 +123,7 @@ public Output name() { } /** * The UUID of organization under which you want to create the project. If you - * leave it out, the project will be create under your the default organization of your account. + * leave it out, the project will be created under your the default organization of your account. * */ @Export(name="organizationId", refs={String.class}, tree="[0]") @@ -125,7 +131,7 @@ public Output name() { /** * @return The UUID of organization under which you want to create the project. If you - * leave it out, the project will be create under your the default organization of your account. + * leave it out, the project will be created under your the default organization of your account. * */ public Output organizationId() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/ProjectArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/ProjectArgs.java index cb5be901..f92a0ca4 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/ProjectArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/ProjectArgs.java @@ -35,6 +35,9 @@ public Optional> backendTransfer() { /** * Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). * + * > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + * the Equinix Metal API). It can be updated. + * */ @Import(name="bgpConfig") private @Nullable Output bgpConfig; @@ -42,20 +45,23 @@ public Optional> backendTransfer() { /** * @return Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). * + * > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + * the Equinix Metal API). It can be updated. + * */ public Optional> bgpConfig() { return Optional.ofNullable(this.bgpConfig); } /** - * The name of the project. + * The name of the project. The maximum length is 80 characters * */ @Import(name="name") private @Nullable Output name; /** - * @return The name of the project. + * @return The name of the project. The maximum length is 80 characters * */ public Optional> name() { @@ -64,7 +70,7 @@ public Optional> name() { /** * The UUID of organization under which you want to create the project. If you - * leave it out, the project will be create under your the default organization of your account. + * leave it out, the project will be created under your the default organization of your account. * */ @Import(name="organizationId") @@ -72,7 +78,7 @@ public Optional> name() { /** * @return The UUID of organization under which you want to create the project. If you - * leave it out, the project will be create under your the default organization of your account. + * leave it out, the project will be created under your the default organization of your account. * */ public Optional> organizationId() { @@ -148,6 +154,9 @@ public Builder backendTransfer(Boolean backendTransfer) { /** * @param bgpConfig Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). * + * > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + * the Equinix Metal API). It can be updated. + * * @return builder * */ @@ -159,6 +168,9 @@ public Builder bgpConfig(@Nullable Output bgpConfig) { /** * @param bgpConfig Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). * + * > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + * the Equinix Metal API). It can be updated. + * * @return builder * */ @@ -167,7 +179,7 @@ public Builder bgpConfig(ProjectBgpConfigArgs bgpConfig) { } /** - * @param name The name of the project. + * @param name The name of the project. The maximum length is 80 characters * * @return builder * @@ -178,7 +190,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The name of the project. + * @param name The name of the project. The maximum length is 80 characters * * @return builder * @@ -189,7 +201,7 @@ public Builder name(String name) { /** * @param organizationId The UUID of organization under which you want to create the project. If you - * leave it out, the project will be create under your the default organization of your account. + * leave it out, the project will be created under your the default organization of your account. * * @return builder * @@ -201,7 +213,7 @@ public Builder organizationId(@Nullable Output organizationId) { /** * @param organizationId The UUID of organization under which you want to create the project. If you - * leave it out, the project will be create under your the default organization of your account. + * leave it out, the project will be created under your the default organization of your account. * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/ReservedIpBlock.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/ReservedIpBlock.java index ca97730f..93708a6f 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/ReservedIpBlock.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/ReservedIpBlock.java @@ -152,16 +152,16 @@ public Output> description() { return Codegen.optional(this.description); } /** - * Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * */ @Export(name="facility", refs={String.class}, tree="[0]") private Output facility; /** - * @return Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * @return Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * */ public Output> facility() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/ReservedIpBlockArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/ReservedIpBlockArgs.java index 19cba6f0..25d694cd 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/ReservedIpBlockArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/ReservedIpBlockArgs.java @@ -68,16 +68,16 @@ public Optional> description() { } /** - * Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * */ @Import(name="facility") private @Nullable Output> facility; /** - * @return Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * @return Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * */ public Optional>> facility() { @@ -309,8 +309,8 @@ public Builder description(String description) { } /** - * @param facility Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * @param facility Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -321,8 +321,8 @@ public Builder facility(@Nullable Output> facility) { } /** - * @param facility Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * @param facility Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -332,8 +332,8 @@ public Builder facility(Either facility) { } /** - * @param facility Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * @param facility Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -343,8 +343,8 @@ public Builder facility(String facility) { } /** - * @param facility Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * @param facility Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/SpotMarketRequest.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/SpotMarketRequest.java index c391d6f0..bd2ff35a 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/SpotMarketRequest.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/SpotMarketRequest.java @@ -98,7 +98,7 @@ public Output devicesMin() { return this.devicesMin; } /** - * Facility IDs where devices should be created + * Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -109,7 +109,7 @@ public Output devicesMin() { private Output> facilities; /** - * @return Facility IDs where devices should be created + * @return Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * */ public Output> facilities() { @@ -118,7 +118,7 @@ public Output> facilities() { /** * Key/Value pairs of parameters for devices provisioned from * this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - * `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + * `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, * `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter * description in equinix.metal.Device docs. * @@ -129,7 +129,7 @@ public Output> facilities() { /** * @return Key/Value pairs of parameters for devices provisioned from * this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - * `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + * `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, * `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter * description in equinix.metal.Device docs. * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/SpotMarketRequestArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/SpotMarketRequestArgs.java index d06c29c0..8b3bb8c7 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/SpotMarketRequestArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/SpotMarketRequestArgs.java @@ -51,7 +51,7 @@ public Output devicesMin() { } /** - * Facility IDs where devices should be created + * Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -62,7 +62,7 @@ public Output devicesMin() { private @Nullable Output> facilities; /** - * @return Facility IDs where devices should be created + * @return Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -76,7 +76,7 @@ public Optional>> facilities() { /** * Key/Value pairs of parameters for devices provisioned from * this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - * `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + * `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, * `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter * description in equinix.metal.Device docs. * @@ -87,7 +87,7 @@ public Optional>> facilities() { /** * @return Key/Value pairs of parameters for devices provisioned from * this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - * `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + * `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, * `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter * description in equinix.metal.Device docs. * @@ -232,7 +232,7 @@ public Builder devicesMin(Integer devicesMin) { } /** - * @param facilities Facility IDs where devices should be created + * @param facilities Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -247,7 +247,7 @@ public Builder facilities(@Nullable Output> facilities) { } /** - * @param facilities Facility IDs where devices should be created + * @param facilities Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -261,7 +261,7 @@ public Builder facilities(List facilities) { } /** - * @param facilities Facility IDs where devices should be created + * @param facilities Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -277,7 +277,7 @@ public Builder facilities(String... facilities) { /** * @param instanceParameters Key/Value pairs of parameters for devices provisioned from * this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - * `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + * `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, * `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter * description in equinix.metal.Device docs. * @@ -292,7 +292,7 @@ public Builder instanceParameters(Output> description() { return Codegen.optional(this.description); } /** - * Facility where to create the VLAN + * Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -87,7 +87,7 @@ public Output> description() { private Output facility; /** - * @return Facility where to create the VLAN + * @return Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * */ public Output> facility() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/VlanArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/VlanArgs.java index c77e7fbd..683b130a 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/VlanArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/VlanArgs.java @@ -34,7 +34,7 @@ public Optional> description() { } /** - * Facility where to create the VLAN + * Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -45,7 +45,7 @@ public Optional> description() { private @Nullable Output> facility; /** - * @return Facility where to create the VLAN + * @return Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -151,7 +151,7 @@ public Builder description(String description) { } /** - * @param facility Facility where to create the VLAN + * @param facility Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -166,7 +166,7 @@ public Builder facility(@Nullable Output> facility) { } /** - * @param facility Facility where to create the VLAN + * @param facility Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -180,7 +180,7 @@ public Builder facility(Either facility) { } /** - * @param facility Facility where to create the VLAN + * @param facility Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -194,7 +194,7 @@ public Builder facility(String facility) { } /** - * @param facility Facility where to create the VLAN + * @param facility Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/DeviceIpAddressArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/DeviceIpAddressArgs.java index eb4d7275..25a45126 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/DeviceIpAddressArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/DeviceIpAddressArgs.java @@ -36,6 +36,12 @@ public Optional> cidr() { * List of UUIDs of IP block reservations * from which the public IPv4 address should be taken. * + * You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + * always pass a block for `private_ipv4`. + * + * To learn more about using the reserved IP addresses for new devices, see the examples in the + * equinix.metal.ReservedIpBlock documentation. + * */ @Import(name="reservationIds") private @Nullable Output> reservationIds; @@ -44,6 +50,12 @@ public Optional> cidr() { * @return List of UUIDs of IP block reservations * from which the public IPv4 address should be taken. * + * You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + * always pass a block for `private_ipv4`. + * + * To learn more about using the reserved IP addresses for new devices, see the examples in the + * equinix.metal.ReservedIpBlock documentation. + * */ public Optional>> reservationIds() { return Optional.ofNullable(this.reservationIds); @@ -115,6 +127,12 @@ public Builder cidr(Integer cidr) { * @param reservationIds List of UUIDs of IP block reservations * from which the public IPv4 address should be taken. * + * You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + * always pass a block for `private_ipv4`. + * + * To learn more about using the reserved IP addresses for new devices, see the examples in the + * equinix.metal.ReservedIpBlock documentation. + * * @return builder * */ @@ -127,6 +145,12 @@ public Builder reservationIds(@Nullable Output> reservationIds) { * @param reservationIds List of UUIDs of IP block reservations * from which the public IPv4 address should be taken. * + * You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + * always pass a block for `private_ipv4`. + * + * To learn more about using the reserved IP addresses for new devices, see the examples in the + * equinix.metal.ReservedIpBlock documentation. + * * @return builder * */ @@ -138,6 +162,12 @@ public Builder reservationIds(List reservationIds) { * @param reservationIds List of UUIDs of IP block reservations * from which the public IPv4 address should be taken. * + * You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + * always pass a block for `private_ipv4`. + * + * To learn more about using the reserved IP addresses for new devices, see the examples in the + * equinix.metal.ReservedIpBlock documentation. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/DeviceState.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/DeviceState.java index d605c976..d7d7b9f1 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/DeviceState.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/DeviceState.java @@ -151,7 +151,7 @@ public Optional> customData() { } /** - * The facility where the device is deployed + * (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -162,7 +162,7 @@ public Optional> customData() { private @Nullable Output deployedFacility; /** - * @return The facility where the device is deployed + * @return (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -206,10 +206,11 @@ public Optional> description() { } /** - * List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -220,10 +221,11 @@ public Optional> description() { private @Nullable Output>> facilities; /** - * @return List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * @return List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -472,20 +474,14 @@ public Optional> projectId() { } /** - * Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. * */ @Import(name="projectSshKeyIds") private @Nullable Output> projectSshKeyIds; /** - * @return Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * @return Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. * */ public Optional>> projectSshKeyIds() { @@ -642,14 +638,14 @@ public Optional> userData() { } /** - * Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. * */ @Import(name="userSshKeyIds") private @Nullable Output> userSshKeyIds; /** - * @return Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * @return Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. * */ public Optional>> userSshKeyIds() { @@ -926,7 +922,7 @@ public Builder customData(String customData) { } /** - * @param deployedFacility The facility where the device is deployed + * @param deployedFacility (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -941,7 +937,7 @@ public Builder deployedFacility(@Nullable Output deployedFacility) { } /** - * @param deployedFacility The facility where the device is deployed + * @param deployedFacility (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -999,10 +995,11 @@ public Builder description(String description) { } /** - * @param facilities List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * @param facilities List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -1017,10 +1014,11 @@ public Builder facilities(@Nullable Output>> facili } /** - * @param facilities List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * @param facilities List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -1034,10 +1032,11 @@ public Builder facilities(List> facilities) { } /** - * @param facilities List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * @param facilities List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -1487,10 +1486,7 @@ public Builder projectId(String projectId) { } /** - * @param projectSshKeyIds Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * @param projectSshKeyIds Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. * * @return builder * @@ -1501,10 +1497,7 @@ public Builder projectSshKeyIds(@Nullable Output> projectSshKeyIds) } /** - * @param projectSshKeyIds Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * @param projectSshKeyIds Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. * * @return builder * @@ -1514,10 +1507,7 @@ public Builder projectSshKeyIds(List projectSshKeyIds) { } /** - * @param projectSshKeyIds Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * @param projectSshKeyIds Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. * * @return builder * @@ -1750,7 +1740,7 @@ public Builder userData(String userData) { } /** - * @param userSshKeyIds Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * @param userSshKeyIds Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. * * @return builder * @@ -1761,7 +1751,7 @@ public Builder userSshKeyIds(@Nullable Output> userSshKeyIds) { } /** - * @param userSshKeyIds Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * @param userSshKeyIds Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. * * @return builder * @@ -1771,7 +1761,7 @@ public Builder userSshKeyIds(List userSshKeyIds) { } /** - * @param userSshKeyIds Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * @param userSshKeyIds Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDeviceArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDeviceArgs.java index 04194bf3..3d7ac574 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDeviceArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDeviceArgs.java @@ -18,6 +18,8 @@ public final class GetDeviceArgs extends com.pulumi.resources.InvokeArgs { /** * Device ID. * + * > **NOTE:** You should pass either `device_id`, or both `project_id` and `hostname`. + * */ @Import(name="deviceId") private @Nullable Output deviceId; @@ -25,6 +27,8 @@ public final class GetDeviceArgs extends com.pulumi.resources.InvokeArgs { /** * @return Device ID. * + * > **NOTE:** You should pass either `device_id`, or both `project_id` and `hostname`. + * */ public Optional> deviceId() { return Optional.ofNullable(this.deviceId); @@ -89,6 +93,8 @@ public Builder(GetDeviceArgs defaults) { /** * @param deviceId Device ID. * + * > **NOTE:** You should pass either `device_id`, or both `project_id` and `hostname`. + * * @return builder * */ @@ -100,6 +106,8 @@ public Builder deviceId(@Nullable Output deviceId) { /** * @param deviceId Device ID. * + * > **NOTE:** You should pass either `device_id`, or both `project_id` and `hostname`. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicePlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicePlainArgs.java index effbbdca..f8ebb9c1 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicePlainArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicePlainArgs.java @@ -17,6 +17,8 @@ public final class GetDevicePlainArgs extends com.pulumi.resources.InvokeArgs { /** * Device ID. * + * > **NOTE:** You should pass either `device_id`, or both `project_id` and `hostname`. + * */ @Import(name="deviceId") private @Nullable String deviceId; @@ -24,6 +26,8 @@ public final class GetDevicePlainArgs extends com.pulumi.resources.InvokeArgs { /** * @return Device ID. * + * > **NOTE:** You should pass either `device_id`, or both `project_id` and `hostname`. + * */ public Optional deviceId() { return Optional.ofNullable(this.deviceId); @@ -88,6 +92,8 @@ public Builder(GetDevicePlainArgs defaults) { /** * @param deviceId Device ID. * + * > **NOTE:** You should pass either `device_id`, or both `project_id` and `hostname`. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesArgs.java new file mode 100644 index 00000000..3507b21c --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesArgs.java @@ -0,0 +1,228 @@ +// *** 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.metal.inputs; + +import com.equinix.pulumi.metal.inputs.GetDevicesFilterArgs; +import com.equinix.pulumi.metal.inputs.GetDevicesSortArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDevicesArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDevicesArgs Empty = new GetDevicesArgs(); + + /** + * One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource. + * + */ + @Import(name="filters") + private @Nullable Output> filters; + + /** + * @return One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource. + * + */ + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * ID of organization containing the devices. + * + */ + @Import(name="organizationId") + private @Nullable Output organizationId; + + /** + * @return ID of organization containing the devices. + * + */ + public Optional> organizationId() { + return Optional.ofNullable(this.organizationId); + } + + /** + * ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + * + */ + @Import(name="projectId") + private @Nullable Output projectId; + + /** + * @return ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + * + */ + public Optional> projectId() { + return Optional.ofNullable(this.projectId); + } + + /** + * Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + * + */ + @Import(name="search") + private @Nullable Output search; + + /** + * @return Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + * + */ + public Optional> search() { + return Optional.ofNullable(this.search); + } + + @Import(name="sorts") + private @Nullable Output> sorts; + + public Optional>> sorts() { + return Optional.ofNullable(this.sorts); + } + + private GetDevicesArgs() {} + + private GetDevicesArgs(GetDevicesArgs $) { + this.filters = $.filters; + this.organizationId = $.organizationId; + this.projectId = $.projectId; + this.search = $.search; + this.sorts = $.sorts; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDevicesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDevicesArgs $; + + public Builder() { + $ = new GetDevicesArgs(); + } + + public Builder(GetDevicesArgs defaults) { + $ = new GetDevicesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param filters One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource. + * + * @return builder + * + */ + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + /** + * @param filters One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource. + * + * @return builder + * + */ + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + /** + * @param filters One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource. + * + * @return builder + * + */ + public Builder filters(GetDevicesFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param organizationId ID of organization containing the devices. + * + * @return builder + * + */ + public Builder organizationId(@Nullable Output organizationId) { + $.organizationId = organizationId; + return this; + } + + /** + * @param organizationId ID of organization containing the devices. + * + * @return builder + * + */ + public Builder organizationId(String organizationId) { + return organizationId(Output.of(organizationId)); + } + + /** + * @param projectId ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + * + * @return builder + * + */ + public Builder projectId(@Nullable Output projectId) { + $.projectId = projectId; + return this; + } + + /** + * @param projectId ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + * + * @return builder + * + */ + public Builder projectId(String projectId) { + return projectId(Output.of(projectId)); + } + + /** + * @param search Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + * + * @return builder + * + */ + public Builder search(@Nullable Output search) { + $.search = search; + return this; + } + + /** + * @param search Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + * + * @return builder + * + */ + public Builder search(String search) { + return search(Output.of(search)); + } + + public Builder sorts(@Nullable Output> sorts) { + $.sorts = sorts; + return this; + } + + public Builder sorts(List sorts) { + return sorts(Output.of(sorts)); + } + + public Builder sorts(GetDevicesSortArgs... sorts) { + return sorts(List.of(sorts)); + } + + public GetDevicesArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesFilter.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesFilter.java new file mode 100644 index 00000000..e34d1dc4 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesFilter.java @@ -0,0 +1,173 @@ +// *** 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.metal.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDevicesFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetDevicesFilter Empty = new GetDevicesFilter(); + + /** + * If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + * + */ + @Import(name="all") + private @Nullable Boolean all; + + /** + * @return If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + * + */ + public Optional all() { + return Optional.ofNullable(this.all); + } + + /** + * The attribute used to filter. Filter attributes are case-sensitive + * + */ + @Import(name="attribute", required=true) + private String attribute; + + /** + * @return The attribute used to filter. Filter attributes are case-sensitive + * + */ + public String attribute() { + return this.attribute; + } + + /** + * The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + * + */ + @Import(name="matchBy") + private @Nullable String matchBy; + + /** + * @return The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + * + */ + public Optional matchBy() { + return Optional.ofNullable(this.matchBy); + } + + /** + * The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + * + */ + @Import(name="values", required=true) + private List values; + + /** + * @return The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + * + */ + public List values() { + return this.values; + } + + private GetDevicesFilter() {} + + private GetDevicesFilter(GetDevicesFilter $) { + this.all = $.all; + this.attribute = $.attribute; + this.matchBy = $.matchBy; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDevicesFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDevicesFilter $; + + public Builder() { + $ = new GetDevicesFilter(); + } + + public Builder(GetDevicesFilter defaults) { + $ = new GetDevicesFilter(Objects.requireNonNull(defaults)); + } + + /** + * @param all If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + * + * @return builder + * + */ + public Builder all(@Nullable Boolean all) { + $.all = all; + return this; + } + + /** + * @param attribute The attribute used to filter. Filter attributes are case-sensitive + * + * @return builder + * + */ + public Builder attribute(String attribute) { + $.attribute = attribute; + return this; + } + + /** + * @param matchBy The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + * + * @return builder + * + */ + public Builder matchBy(@Nullable String matchBy) { + $.matchBy = matchBy; + return this; + } + + /** + * @param values The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + * + * @return builder + * + */ + public Builder values(List values) { + $.values = values; + return this; + } + + /** + * @param values The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + * + * @return builder + * + */ + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetDevicesFilter build() { + $.attribute = Objects.requireNonNull($.attribute, "expected parameter 'attribute' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesFilterArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesFilterArgs.java new file mode 100644 index 00000000..b37c78b7 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesFilterArgs.java @@ -0,0 +1,216 @@ +// *** 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.metal.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDevicesFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetDevicesFilterArgs Empty = new GetDevicesFilterArgs(); + + /** + * If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + * + */ + @Import(name="all") + private @Nullable Output all; + + /** + * @return If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + * + */ + public Optional> all() { + return Optional.ofNullable(this.all); + } + + /** + * The attribute used to filter. Filter attributes are case-sensitive + * + */ + @Import(name="attribute", required=true) + private Output attribute; + + /** + * @return The attribute used to filter. Filter attributes are case-sensitive + * + */ + public Output attribute() { + return this.attribute; + } + + /** + * The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + * + */ + @Import(name="matchBy") + private @Nullable Output matchBy; + + /** + * @return The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + * + */ + public Optional> matchBy() { + return Optional.ofNullable(this.matchBy); + } + + /** + * The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + * + */ + @Import(name="values", required=true) + private Output> values; + + /** + * @return The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + * + */ + public Output> values() { + return this.values; + } + + private GetDevicesFilterArgs() {} + + private GetDevicesFilterArgs(GetDevicesFilterArgs $) { + this.all = $.all; + this.attribute = $.attribute; + this.matchBy = $.matchBy; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDevicesFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDevicesFilterArgs $; + + public Builder() { + $ = new GetDevicesFilterArgs(); + } + + public Builder(GetDevicesFilterArgs defaults) { + $ = new GetDevicesFilterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param all If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + * + * @return builder + * + */ + public Builder all(@Nullable Output all) { + $.all = all; + return this; + } + + /** + * @param all If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + * + * @return builder + * + */ + public Builder all(Boolean all) { + return all(Output.of(all)); + } + + /** + * @param attribute The attribute used to filter. Filter attributes are case-sensitive + * + * @return builder + * + */ + public Builder attribute(Output attribute) { + $.attribute = attribute; + return this; + } + + /** + * @param attribute The attribute used to filter. Filter attributes are case-sensitive + * + * @return builder + * + */ + public Builder attribute(String attribute) { + return attribute(Output.of(attribute)); + } + + /** + * @param matchBy The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + * + * @return builder + * + */ + public Builder matchBy(@Nullable Output matchBy) { + $.matchBy = matchBy; + return this; + } + + /** + * @param matchBy The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + * + * @return builder + * + */ + public Builder matchBy(String matchBy) { + return matchBy(Output.of(matchBy)); + } + + /** + * @param values The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + * + * @return builder + * + */ + public Builder values(Output> values) { + $.values = values; + return this; + } + + /** + * @param values The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + * + * @return builder + * + */ + public Builder values(List values) { + return values(Output.of(values)); + } + + /** + * @param values The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + * + * @return builder + * + */ + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetDevicesFilterArgs build() { + $.attribute = Objects.requireNonNull($.attribute, "expected parameter 'attribute' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesPlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesPlainArgs.java new file mode 100644 index 00000000..4c7bf824 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesPlainArgs.java @@ -0,0 +1,183 @@ +// *** 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.metal.inputs; + +import com.equinix.pulumi.metal.inputs.GetDevicesFilter; +import com.equinix.pulumi.metal.inputs.GetDevicesSort; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDevicesPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDevicesPlainArgs Empty = new GetDevicesPlainArgs(); + + /** + * One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource. + * + */ + @Import(name="filters") + private @Nullable List filters; + + /** + * @return One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource. + * + */ + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * ID of organization containing the devices. + * + */ + @Import(name="organizationId") + private @Nullable String organizationId; + + /** + * @return ID of organization containing the devices. + * + */ + public Optional organizationId() { + return Optional.ofNullable(this.organizationId); + } + + /** + * ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + * + */ + @Import(name="projectId") + private @Nullable String projectId; + + /** + * @return ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + * + */ + public Optional projectId() { + return Optional.ofNullable(this.projectId); + } + + /** + * Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + * + */ + @Import(name="search") + private @Nullable String search; + + /** + * @return Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + * + */ + public Optional search() { + return Optional.ofNullable(this.search); + } + + @Import(name="sorts") + private @Nullable List sorts; + + public Optional> sorts() { + return Optional.ofNullable(this.sorts); + } + + private GetDevicesPlainArgs() {} + + private GetDevicesPlainArgs(GetDevicesPlainArgs $) { + this.filters = $.filters; + this.organizationId = $.organizationId; + this.projectId = $.projectId; + this.search = $.search; + this.sorts = $.sorts; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDevicesPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDevicesPlainArgs $; + + public Builder() { + $ = new GetDevicesPlainArgs(); + } + + public Builder(GetDevicesPlainArgs defaults) { + $ = new GetDevicesPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param filters One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource. + * + * @return builder + * + */ + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + /** + * @param filters One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource. + * + * @return builder + * + */ + public Builder filters(GetDevicesFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param organizationId ID of organization containing the devices. + * + * @return builder + * + */ + public Builder organizationId(@Nullable String organizationId) { + $.organizationId = organizationId; + return this; + } + + /** + * @param projectId ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + * + * @return builder + * + */ + public Builder projectId(@Nullable String projectId) { + $.projectId = projectId; + return this; + } + + /** + * @param search Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + * + * @return builder + * + */ + public Builder search(@Nullable String search) { + $.search = search; + return this; + } + + public Builder sorts(@Nullable List sorts) { + $.sorts = sorts; + return this; + } + + public Builder sorts(GetDevicesSort... sorts) { + return sorts(List.of(sorts)); + } + + public GetDevicesPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesSort.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesSort.java new file mode 100644 index 00000000..c75fe245 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesSort.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.metal.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDevicesSort extends com.pulumi.resources.InvokeArgs { + + public static final GetDevicesSort Empty = new GetDevicesSort(); + + /** + * The attribute used to filter. Filter attributes are case-sensitive + * + */ + @Import(name="attribute", required=true) + private String attribute; + + /** + * @return The attribute used to filter. Filter attributes are case-sensitive + * + */ + public String attribute() { + return this.attribute; + } + + @Import(name="direction") + private @Nullable String direction; + + public Optional direction() { + return Optional.ofNullable(this.direction); + } + + private GetDevicesSort() {} + + private GetDevicesSort(GetDevicesSort $) { + this.attribute = $.attribute; + this.direction = $.direction; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDevicesSort defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDevicesSort $; + + public Builder() { + $ = new GetDevicesSort(); + } + + public Builder(GetDevicesSort defaults) { + $ = new GetDevicesSort(Objects.requireNonNull(defaults)); + } + + /** + * @param attribute The attribute used to filter. Filter attributes are case-sensitive + * + * @return builder + * + */ + public Builder attribute(String attribute) { + $.attribute = attribute; + return this; + } + + public Builder direction(@Nullable String direction) { + $.direction = direction; + return this; + } + + public GetDevicesSort build() { + $.attribute = Objects.requireNonNull($.attribute, "expected parameter 'attribute' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesSortArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesSortArgs.java new file mode 100644 index 00000000..7a884df3 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetDevicesSortArgs.java @@ -0,0 +1,101 @@ +// *** 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.metal.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDevicesSortArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetDevicesSortArgs Empty = new GetDevicesSortArgs(); + + /** + * The attribute used to filter. Filter attributes are case-sensitive + * + */ + @Import(name="attribute", required=true) + private Output attribute; + + /** + * @return The attribute used to filter. Filter attributes are case-sensitive + * + */ + public Output attribute() { + return this.attribute; + } + + @Import(name="direction") + private @Nullable Output direction; + + public Optional> direction() { + return Optional.ofNullable(this.direction); + } + + private GetDevicesSortArgs() {} + + private GetDevicesSortArgs(GetDevicesSortArgs $) { + this.attribute = $.attribute; + this.direction = $.direction; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDevicesSortArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDevicesSortArgs $; + + public Builder() { + $ = new GetDevicesSortArgs(); + } + + public Builder(GetDevicesSortArgs defaults) { + $ = new GetDevicesSortArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param attribute The attribute used to filter. Filter attributes are case-sensitive + * + * @return builder + * + */ + public Builder attribute(Output attribute) { + $.attribute = attribute; + return this; + } + + /** + * @param attribute The attribute used to filter. Filter attributes are case-sensitive + * + * @return builder + * + */ + public Builder attribute(String attribute) { + return attribute(Output.of(attribute)); + } + + public Builder direction(@Nullable Output direction) { + $.direction = direction; + return this; + } + + public Builder direction(String direction) { + return direction(Output.of(direction)); + } + + public GetDevicesSortArgs build() { + $.attribute = Objects.requireNonNull($.attribute, "expected parameter 'attribute' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetIpBlockRangesArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetIpBlockRangesArgs.java index d4414337..77342bc9 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetIpBlockRangesArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetIpBlockRangesArgs.java @@ -16,6 +16,9 @@ public final class GetIpBlockRangesArgs extends com.pulumi.resources.InvokeArgs public static final GetIpBlockRangesArgs Empty = new GetIpBlockRangesArgs(); /** + * Facility code filtering the IP blocks. Global IPv4 blocks will be listed + * anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * @@ -25,6 +28,9 @@ public final class GetIpBlockRangesArgs extends com.pulumi.resources.InvokeArgs private @Nullable Output facility; /** + * @return Facility code filtering the IP blocks. Global IPv4 blocks will be listed + * anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * @@ -93,6 +99,9 @@ public Builder(GetIpBlockRangesArgs defaults) { } /** + * @param facility Facility code filtering the IP blocks. Global IPv4 blocks will be listed + * anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide + * * @return builder * * @deprecated @@ -106,6 +115,9 @@ public Builder facility(@Nullable Output facility) { } /** + * @param facility Facility code filtering the IP blocks. Global IPv4 blocks will be listed + * anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide + * * @return builder * * @deprecated diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetIpBlockRangesPlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetIpBlockRangesPlainArgs.java index 90b16f42..e4497dd7 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetIpBlockRangesPlainArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetIpBlockRangesPlainArgs.java @@ -15,6 +15,9 @@ public final class GetIpBlockRangesPlainArgs extends com.pulumi.resources.Invoke public static final GetIpBlockRangesPlainArgs Empty = new GetIpBlockRangesPlainArgs(); /** + * Facility code filtering the IP blocks. Global IPv4 blocks will be listed + * anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * @@ -24,6 +27,9 @@ public final class GetIpBlockRangesPlainArgs extends com.pulumi.resources.Invoke private @Nullable String facility; /** + * @return Facility code filtering the IP blocks. Global IPv4 blocks will be listed + * anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * @@ -92,6 +98,9 @@ public Builder(GetIpBlockRangesPlainArgs defaults) { } /** + * @param facility Facility code filtering the IP blocks. Global IPv4 blocks will be listed + * anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide + * * @return builder * * @deprecated diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetOrganizationArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetOrganizationArgs.java index e5920943..597907d4 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetOrganizationArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetOrganizationArgs.java @@ -33,6 +33,8 @@ public Optional> name() { /** * The UUID of the organization resource. * + * Exactly one of `name` or `organization_id` must be given. + * */ @Import(name="organizationId") private @Nullable Output organizationId; @@ -40,6 +42,8 @@ public Optional> name() { /** * @return The UUID of the organization resource. * + * Exactly one of `name` or `organization_id` must be given. + * */ public Optional> organizationId() { return Optional.ofNullable(this.organizationId); @@ -94,6 +98,8 @@ public Builder name(String name) { /** * @param organizationId The UUID of the organization resource. * + * Exactly one of `name` or `organization_id` must be given. + * * @return builder * */ @@ -105,6 +111,8 @@ public Builder organizationId(@Nullable Output organizationId) { /** * @param organizationId The UUID of the organization resource. * + * Exactly one of `name` or `organization_id` must be given. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetOrganizationPlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetOrganizationPlainArgs.java index ddd8823a..4d47ed34 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetOrganizationPlainArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetOrganizationPlainArgs.java @@ -32,6 +32,8 @@ public Optional name() { /** * The UUID of the organization resource. * + * Exactly one of `name` or `organization_id` must be given. + * */ @Import(name="organizationId") private @Nullable String organizationId; @@ -39,6 +41,8 @@ public Optional name() { /** * @return The UUID of the organization resource. * + * Exactly one of `name` or `organization_id` must be given. + * */ public Optional organizationId() { return Optional.ofNullable(this.organizationId); @@ -83,6 +87,8 @@ public Builder name(@Nullable String name) { /** * @param organizationId The UUID of the organization resource. * + * Exactly one of `name` or `organization_id` must be given. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPlansFilter.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPlansFilter.java index dd36eee4..0d41ea47 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPlansFilter.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPlansFilter.java @@ -19,6 +19,8 @@ public final class GetPlansFilter extends com.pulumi.resources.InvokeArgs { /** * If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. * + * All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. + * */ @Import(name="all") private @Nullable Boolean all; @@ -26,6 +28,8 @@ public final class GetPlansFilter extends com.pulumi.resources.InvokeArgs { /** * @return If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. * + * All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. + * */ public Optional all() { return Optional.ofNullable(this.all); @@ -106,6 +110,8 @@ public Builder(GetPlansFilter defaults) { /** * @param all If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. * + * All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPlansFilterArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPlansFilterArgs.java index 6e1d3480..e197527e 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPlansFilterArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPlansFilterArgs.java @@ -20,6 +20,8 @@ public final class GetPlansFilterArgs extends com.pulumi.resources.ResourceArgs /** * If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. * + * All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. + * */ @Import(name="all") private @Nullable Output all; @@ -27,6 +29,8 @@ public final class GetPlansFilterArgs extends com.pulumi.resources.ResourceArgs /** * @return If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. * + * All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. + * */ public Optional> all() { return Optional.ofNullable(this.all); @@ -107,6 +111,8 @@ public Builder(GetPlansFilterArgs defaults) { /** * @param all If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. * + * All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. + * * @return builder * */ @@ -118,6 +124,8 @@ public Builder all(@Nullable Output all) { /** * @param all If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. * + * All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPrecreatedIpBlockArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPrecreatedIpBlockArgs.java index fbb4c77d..4e798993 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPrecreatedIpBlockArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPrecreatedIpBlockArgs.java @@ -32,9 +32,17 @@ public Output addressFamily() { return this.addressFamily; } + /** + * Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide + * + */ @Import(name="facility") private @Nullable Output facility; + /** + * @return Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide + * + */ public Optional> facility() { return Optional.ofNullable(this.facility); } @@ -149,11 +157,23 @@ public Builder addressFamily(Integer addressFamily) { return addressFamily(Output.of(addressFamily)); } + /** + * @param facility Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide + * + * @return builder + * + */ public Builder facility(@Nullable Output facility) { $.facility = facility; return this; } + /** + * @param facility Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide + * + * @return builder + * + */ public Builder facility(String facility) { return facility(Output.of(facility)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPrecreatedIpBlockPlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPrecreatedIpBlockPlainArgs.java index 851a8cff..c91ff620 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPrecreatedIpBlockPlainArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetPrecreatedIpBlockPlainArgs.java @@ -31,9 +31,17 @@ public Integer addressFamily() { return this.addressFamily; } + /** + * Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide + * + */ @Import(name="facility") private @Nullable String facility; + /** + * @return Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide + * + */ public Optional facility() { return Optional.ofNullable(this.facility); } @@ -138,6 +146,12 @@ public Builder addressFamily(Integer addressFamily) { return this; } + /** + * @param facility Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide + * + * @return builder + * + */ public Builder facility(@Nullable String facility) { $.facility = facility; return this; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetProjectSshKeyArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetProjectSshKeyArgs.java index 4cf5b57a..20a21a88 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetProjectSshKeyArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetProjectSshKeyArgs.java @@ -33,6 +33,8 @@ public Optional> id() { /** * The Equinix Metal project id of the Equinix Metal SSH Key. * + * > **NOTE:** One of either `search` or `id` must be provided along with `project_id`. + * */ @Import(name="projectId", required=true) private Output projectId; @@ -40,6 +42,8 @@ public Optional> id() { /** * @return The Equinix Metal project id of the Equinix Metal SSH Key. * + * > **NOTE:** One of either `search` or `id` must be provided along with `project_id`. + * */ public Output projectId() { return this.projectId; @@ -112,6 +116,8 @@ public Builder id(String id) { /** * @param projectId The Equinix Metal project id of the Equinix Metal SSH Key. * + * > **NOTE:** One of either `search` or `id` must be provided along with `project_id`. + * * @return builder * */ @@ -123,6 +129,8 @@ public Builder projectId(Output projectId) { /** * @param projectId The Equinix Metal project id of the Equinix Metal SSH Key. * + * > **NOTE:** One of either `search` or `id` must be provided along with `project_id`. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetProjectSshKeyPlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetProjectSshKeyPlainArgs.java index 79e4b39d..f1a3d461 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetProjectSshKeyPlainArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetProjectSshKeyPlainArgs.java @@ -32,6 +32,8 @@ public Optional id() { /** * The Equinix Metal project id of the Equinix Metal SSH Key. * + * > **NOTE:** One of either `search` or `id` must be provided along with `project_id`. + * */ @Import(name="projectId", required=true) private String projectId; @@ -39,6 +41,8 @@ public Optional id() { /** * @return The Equinix Metal project id of the Equinix Metal SSH Key. * + * > **NOTE:** One of either `search` or `id` must be provided along with `project_id`. + * */ public String projectId() { return this.projectId; @@ -101,6 +105,8 @@ public Builder id(@Nullable String id) { /** * @param projectId The Equinix Metal project id of the Equinix Metal SSH Key. * + * > **NOTE:** One of either `search` or `id` must be provided along with `project_id`. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetReservedIpBlockArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetReservedIpBlockArgs.java index 41b3d406..7ad788e7 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetReservedIpBlockArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetReservedIpBlockArgs.java @@ -33,6 +33,8 @@ public Optional> id() { /** * Block containing this IP address will be returned. * + * > **NOTE:** You should pass either `id`, or both `project_id` and `ip_address`. + * */ @Import(name="ipAddress") private @Nullable Output ipAddress; @@ -40,6 +42,8 @@ public Optional> id() { /** * @return Block containing this IP address will be returned. * + * > **NOTE:** You should pass either `id`, or both `project_id` and `ip_address`. + * */ public Optional> ipAddress() { return Optional.ofNullable(this.ipAddress); @@ -110,6 +114,8 @@ public Builder id(String id) { /** * @param ipAddress Block containing this IP address will be returned. * + * > **NOTE:** You should pass either `id`, or both `project_id` and `ip_address`. + * * @return builder * */ @@ -121,6 +127,8 @@ public Builder ipAddress(@Nullable Output ipAddress) { /** * @param ipAddress Block containing this IP address will be returned. * + * > **NOTE:** You should pass either `id`, or both `project_id` and `ip_address`. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetReservedIpBlockPlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetReservedIpBlockPlainArgs.java index 1f328181..9130b8ad 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetReservedIpBlockPlainArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetReservedIpBlockPlainArgs.java @@ -32,6 +32,8 @@ public Optional id() { /** * Block containing this IP address will be returned. * + * > **NOTE:** You should pass either `id`, or both `project_id` and `ip_address`. + * */ @Import(name="ipAddress") private @Nullable String ipAddress; @@ -39,6 +41,8 @@ public Optional id() { /** * @return Block containing this IP address will be returned. * + * > **NOTE:** You should pass either `id`, or both `project_id` and `ip_address`. + * */ public Optional ipAddress() { return Optional.ofNullable(this.ipAddress); @@ -99,6 +103,8 @@ public Builder id(@Nullable String id) { /** * @param ipAddress Block containing this IP address will be returned. * + * > **NOTE:** You should pass either `id`, or both `project_id` and `ip_address`. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetSpotMarketPriceArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetSpotMarketPriceArgs.java index e7145b23..a8a96bbf 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetSpotMarketPriceArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetSpotMarketPriceArgs.java @@ -16,6 +16,8 @@ public final class GetSpotMarketPriceArgs extends com.pulumi.resources.InvokeArg public static final GetSpotMarketPriceArgs Empty = new GetSpotMarketPriceArgs(); /** + * Name of the facility. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * @@ -25,6 +27,8 @@ public final class GetSpotMarketPriceArgs extends com.pulumi.resources.InvokeArg private @Nullable Output facility; /** + * @return Name of the facility. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * @@ -91,6 +95,8 @@ public Builder(GetSpotMarketPriceArgs defaults) { } /** + * @param facility Name of the facility. Use metro instead; read the facility to metro migration guide + * * @return builder * * @deprecated @@ -104,6 +110,8 @@ public Builder facility(@Nullable Output facility) { } /** + * @param facility Name of the facility. Use metro instead; read the facility to metro migration guide + * * @return builder * * @deprecated diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetSpotMarketPricePlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetSpotMarketPricePlainArgs.java index b2149ed0..de36a353 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetSpotMarketPricePlainArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetSpotMarketPricePlainArgs.java @@ -15,6 +15,8 @@ public final class GetSpotMarketPricePlainArgs extends com.pulumi.resources.Invo public static final GetSpotMarketPricePlainArgs Empty = new GetSpotMarketPricePlainArgs(); /** + * Name of the facility. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * @@ -24,6 +26,8 @@ public final class GetSpotMarketPricePlainArgs extends com.pulumi.resources.Invo private @Nullable String facility; /** + * @return Name of the facility. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * @@ -90,6 +94,8 @@ public Builder(GetSpotMarketPricePlainArgs defaults) { } /** + * @param facility Name of the facility. Use metro instead; read the facility to metro migration guide + * * @return builder * * @deprecated diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetVlanArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetVlanArgs.java index f4126660..b17030fc 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetVlanArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetVlanArgs.java @@ -42,6 +42,8 @@ public Optional> facility() { /** * Metro where the VLAN is deployed. * + * > **NOTE:** You must set either `vlan_id` or a combination of `vxlan`, `project_id`, and, `metro` or `facility`. + * */ @Import(name="metro") private @Nullable Output metro; @@ -49,6 +51,8 @@ public Optional> facility() { /** * @return Metro where the VLAN is deployed. * + * > **NOTE:** You must set either `vlan_id` or a combination of `vxlan`, `project_id`, and, `metro` or `facility`. + * */ public Optional> metro() { return Optional.ofNullable(this.metro); @@ -159,6 +163,8 @@ public Builder facility(String facility) { /** * @param metro Metro where the VLAN is deployed. * + * > **NOTE:** You must set either `vlan_id` or a combination of `vxlan`, `project_id`, and, `metro` or `facility`. + * * @return builder * */ @@ -170,6 +176,8 @@ public Builder metro(@Nullable Output metro) { /** * @param metro Metro where the VLAN is deployed. * + * > **NOTE:** You must set either `vlan_id` or a combination of `vxlan`, `project_id`, and, `metro` or `facility`. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetVlanPlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetVlanPlainArgs.java index c3f22905..5e4dcd54 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetVlanPlainArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/GetVlanPlainArgs.java @@ -41,6 +41,8 @@ public Optional facility() { /** * Metro where the VLAN is deployed. * + * > **NOTE:** You must set either `vlan_id` or a combination of `vxlan`, `project_id`, and, `metro` or `facility`. + * */ @Import(name="metro") private @Nullable String metro; @@ -48,6 +50,8 @@ public Optional facility() { /** * @return Metro where the VLAN is deployed. * + * > **NOTE:** You must set either `vlan_id` or a combination of `vxlan`, `project_id`, and, `metro` or `facility`. + * */ public Optional metro() { return Optional.ofNullable(this.metro); @@ -144,6 +148,8 @@ public Builder facility(@Nullable String facility) { /** * @param metro Metro where the VLAN is deployed. * + * > **NOTE:** You must set either `vlan_id` or a combination of `vxlan`, `project_id`, and, `metro` or `facility`. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/InterconnectionState.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/InterconnectionState.java index bc6af833..c46e9eeb 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/InterconnectionState.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/InterconnectionState.java @@ -19,6 +19,21 @@ public final class InterconnectionState extends com.pulumi.resources.ResourceArg public static final InterconnectionState Empty = new InterconnectionState(); + /** + * The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + * + */ + @Import(name="contactEmail") + private @Nullable Output contactEmail; + + /** + * @return The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + * + */ + public Optional> contactEmail() { + return Optional.ofNullable(this.contactEmail); + } + /** * Description for the connection resource. * @@ -35,7 +50,7 @@ public Optional> description() { } /** - * Facility where the connection will be created + * Facility where the connection will be created. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -46,7 +61,7 @@ public Optional> description() { private @Nullable Output facility; /** - * @return Facility where the connection will be created + * @return Facility where the connection will be created. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -297,6 +312,7 @@ public Optional>> vlans() { private InterconnectionState() {} private InterconnectionState(InterconnectionState $) { + this.contactEmail = $.contactEmail; this.description = $.description; this.facility = $.facility; this.metro = $.metro; @@ -334,6 +350,27 @@ public Builder(InterconnectionState defaults) { $ = new InterconnectionState(Objects.requireNonNull(defaults)); } + /** + * @param contactEmail The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + * + * @return builder + * + */ + public Builder contactEmail(@Nullable Output contactEmail) { + $.contactEmail = contactEmail; + return this; + } + + /** + * @param contactEmail The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + * + * @return builder + * + */ + public Builder contactEmail(String contactEmail) { + return contactEmail(Output.of(contactEmail)); + } + /** * @param description Description for the connection resource. * @@ -356,7 +393,7 @@ public Builder description(String description) { } /** - * @param facility Facility where the connection will be created + * @param facility Facility where the connection will be created. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -371,7 +408,7 @@ public Builder facility(@Nullable Output facility) { } /** - * @param facility Facility where the connection will be created + * @param facility Facility where the connection will be created. Use metro instead; read the facility to metro migration guide * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/ProjectState.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/ProjectState.java index 027d7fd8..087a62f6 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/ProjectState.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/ProjectState.java @@ -35,6 +35,9 @@ public Optional> backendTransfer() { /** * Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). * + * > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + * the Equinix Metal API). It can be updated. + * */ @Import(name="bgpConfig") private @Nullable Output bgpConfig; @@ -42,6 +45,9 @@ public Optional> backendTransfer() { /** * @return Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). * + * > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + * the Equinix Metal API). It can be updated. + * */ public Optional> bgpConfig() { return Optional.ofNullable(this.bgpConfig); @@ -63,14 +69,14 @@ public Optional> created() { } /** - * The name of the project. + * The name of the project. The maximum length is 80 characters * */ @Import(name="name") private @Nullable Output name; /** - * @return The name of the project. + * @return The name of the project. The maximum length is 80 characters * */ public Optional> name() { @@ -79,7 +85,7 @@ public Optional> name() { /** * The UUID of organization under which you want to create the project. If you - * leave it out, the project will be create under your the default organization of your account. + * leave it out, the project will be created under your the default organization of your account. * */ @Import(name="organizationId") @@ -87,7 +93,7 @@ public Optional> name() { /** * @return The UUID of organization under which you want to create the project. If you - * leave it out, the project will be create under your the default organization of your account. + * leave it out, the project will be created under your the default organization of your account. * */ public Optional> organizationId() { @@ -180,6 +186,9 @@ public Builder backendTransfer(Boolean backendTransfer) { /** * @param bgpConfig Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). * + * > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + * the Equinix Metal API). It can be updated. + * * @return builder * */ @@ -191,6 +200,9 @@ public Builder bgpConfig(@Nullable Output bgpConfig) { /** * @param bgpConfig Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). * + * > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + * the Equinix Metal API). It can be updated. + * * @return builder * */ @@ -220,7 +232,7 @@ public Builder created(String created) { } /** - * @param name The name of the project. + * @param name The name of the project. The maximum length is 80 characters * * @return builder * @@ -231,7 +243,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name The name of the project. + * @param name The name of the project. The maximum length is 80 characters * * @return builder * @@ -242,7 +254,7 @@ public Builder name(String name) { /** * @param organizationId The UUID of organization under which you want to create the project. If you - * leave it out, the project will be create under your the default organization of your account. + * leave it out, the project will be created under your the default organization of your account. * * @return builder * @@ -254,7 +266,7 @@ public Builder organizationId(@Nullable Output organizationId) { /** * @param organizationId The UUID of organization under which you want to create the project. If you - * leave it out, the project will be create under your the default organization of your account. + * leave it out, the project will be created under your the default organization of your account. * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/ReservedIpBlockState.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/ReservedIpBlockState.java index ae40b667..53934034 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/ReservedIpBlockState.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/ReservedIpBlockState.java @@ -106,16 +106,16 @@ public Optional> description() { } /** - * Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * */ @Import(name="facility") private @Nullable Output> facility; /** - * @return Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * @return Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * */ public Optional>> facility() { @@ -475,8 +475,8 @@ public Builder description(String description) { } /** - * @param facility Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * @param facility Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -487,8 +487,8 @@ public Builder facility(@Nullable Output> facility) { } /** - * @param facility Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * @param facility Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -498,8 +498,8 @@ public Builder facility(Either facility) { } /** - * @param facility Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * @param facility Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -509,8 +509,8 @@ public Builder facility(String facility) { } /** - * @param facility Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * @param facility Facility where to allocate the public IP address block, makes sense only + * if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/SpotMarketRequestInstanceParametersArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/SpotMarketRequestInstanceParametersArgs.java index 0de52c8c..404f24e3 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/SpotMarketRequestInstanceParametersArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/SpotMarketRequestInstanceParametersArgs.java @@ -109,9 +109,28 @@ public Optional>> tags() { return Optional.ofNullable(this.tags); } + @Import(name="terminationTime") + private @Nullable Output terminationTime; + + public Optional> terminationTime() { + return Optional.ofNullable(this.terminationTime); + } + + /** + * @deprecated + * Use instance_parameters.termination_time instead + * + */ + @Deprecated /* Use instance_parameters.termination_time instead */ @Import(name="termintationTime") private @Nullable Output termintationTime; + /** + * @deprecated + * Use instance_parameters.termination_time instead + * + */ + @Deprecated /* Use instance_parameters.termination_time instead */ public Optional> termintationTime() { return Optional.ofNullable(this.termintationTime); } @@ -145,6 +164,7 @@ private SpotMarketRequestInstanceParametersArgs(SpotMarketRequestInstanceParamet this.plan = $.plan; this.projectSshKeys = $.projectSshKeys; this.tags = $.tags; + this.terminationTime = $.terminationTime; this.termintationTime = $.termintationTime; this.userSshKeys = $.userSshKeys; this.userdata = $.userdata; @@ -300,11 +320,36 @@ public Builder tags(String... tags) { return tags(List.of(tags)); } + public Builder terminationTime(@Nullable Output terminationTime) { + $.terminationTime = terminationTime; + return this; + } + + public Builder terminationTime(String terminationTime) { + return terminationTime(Output.of(terminationTime)); + } + + /** + * @return builder + * + * @deprecated + * Use instance_parameters.termination_time instead + * + */ + @Deprecated /* Use instance_parameters.termination_time instead */ public Builder termintationTime(@Nullable Output termintationTime) { $.termintationTime = termintationTime; return this; } + /** + * @return builder + * + * @deprecated + * Use instance_parameters.termination_time instead + * + */ + @Deprecated /* Use instance_parameters.termination_time instead */ public Builder termintationTime(String termintationTime) { return termintationTime(Output.of(termintationTime)); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/SpotMarketRequestState.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/SpotMarketRequestState.java index 46adfa67..82ae071b 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/SpotMarketRequestState.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/inputs/SpotMarketRequestState.java @@ -51,7 +51,7 @@ public Optional> devicesMin() { } /** - * Facility IDs where devices should be created + * Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -62,7 +62,7 @@ public Optional> devicesMin() { private @Nullable Output> facilities; /** - * @return Facility IDs where devices should be created + * @return Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -76,7 +76,7 @@ public Optional>> facilities() { /** * Key/Value pairs of parameters for devices provisioned from * this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - * `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + * `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, * `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter * description in equinix.metal.Device docs. * @@ -87,7 +87,7 @@ public Optional>> facilities() { /** * @return Key/Value pairs of parameters for devices provisioned from * this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - * `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + * `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, * `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter * description in equinix.metal.Device docs. * @@ -232,7 +232,7 @@ public Builder devicesMin(Integer devicesMin) { } /** - * @param facilities Facility IDs where devices should be created + * @param facilities Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -247,7 +247,7 @@ public Builder facilities(@Nullable Output> facilities) { } /** - * @param facilities Facility IDs where devices should be created + * @param facilities Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -261,7 +261,7 @@ public Builder facilities(List facilities) { } /** - * @param facilities Facility IDs where devices should be created + * @param facilities Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -277,7 +277,7 @@ public Builder facilities(String... facilities) { /** * @param instanceParameters Key/Value pairs of parameters for devices provisioned from * this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - * `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + * `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, * `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter * description in equinix.metal.Device docs. * @@ -292,7 +292,7 @@ public Builder instanceParameters(@Nullable Output> description() { } /** - * Facility where to create the VLAN + * Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -45,7 +45,7 @@ public Optional> description() { private @Nullable Output> facility; /** - * @return Facility where to create the VLAN + * @return Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices @@ -151,7 +151,7 @@ public Builder description(String description) { } /** - * @param facility Facility where to create the VLAN + * @param facility Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -166,7 +166,7 @@ public Builder facility(@Nullable Output> facility) { } /** - * @param facility Facility where to create the VLAN + * @param facility Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -180,7 +180,7 @@ public Builder facility(Either facility) { } /** - * @param facility Facility where to create the VLAN + * @param facility Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @return builder * @@ -194,7 +194,7 @@ public Builder facility(String facility) { } /** - * @param facility Facility where to create the VLAN + * @param facility Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceIpAddress.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceIpAddress.java index f7ee5b9d..44856b21 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceIpAddress.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceIpAddress.java @@ -22,6 +22,12 @@ public final class DeviceIpAddress { * @return List of UUIDs of IP block reservations * from which the public IPv4 address should be taken. * + * You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + * always pass a block for `private_ipv4`. + * + * To learn more about using the reserved IP addresses for new devices, see the examples in the + * equinix.metal.ReservedIpBlock documentation. + * */ private @Nullable List reservationIds; /** @@ -42,6 +48,12 @@ public Optional cidr() { * @return List of UUIDs of IP block reservations * from which the public IPv4 address should be taken. * + * You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + * always pass a block for `private_ipv4`. + * + * To learn more about using the reserved IP addresses for new devices, see the examples in the + * equinix.metal.ReservedIpBlock documentation. + * */ public List reservationIds() { return this.reservationIds == null ? List.of() : this.reservationIds; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceResult.java index ce5d12ec..0331b9d3 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceResult.java @@ -41,6 +41,8 @@ public final class GetDeviceResult { private String description; private String deviceId; /** + * @return (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * @@ -158,6 +160,8 @@ public String deviceId() { return this.deviceId; } /** + * @return (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDevice.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDevice.java new file mode 100644 index 00000000..b92bc0a1 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDevice.java @@ -0,0 +1,346 @@ +// *** 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.metal.outputs; + +import com.equinix.pulumi.metal.outputs.GetDevicesDeviceNetwork; +import com.equinix.pulumi.metal.outputs.GetDevicesDevicePort; +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDevicesDevice { + private String accessPrivateIpv4; + private String accessPublicIpv4; + private String accessPublicIpv6; + private Boolean alwaysPxe; + private String billingCycle; + private String description; + private String deviceId; + /** + * @deprecated + * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices + * + */ + @Deprecated /* Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ + private String facility; + private String hardwareReservationId; + private String hostname; + private String ipxeScriptUrl; + private String metro; + private String networkType; + private List networks; + private String operatingSystem; + private String plan; + private List ports; + /** + * @return ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + * + */ + private String projectId; + private String rootPassword; + private List sshKeyIds; + private String state; + private String storage; + private List tags; + + private GetDevicesDevice() {} + public String accessPrivateIpv4() { + return this.accessPrivateIpv4; + } + public String accessPublicIpv4() { + return this.accessPublicIpv4; + } + public String accessPublicIpv6() { + return this.accessPublicIpv6; + } + public Boolean alwaysPxe() { + return this.alwaysPxe; + } + public String billingCycle() { + return this.billingCycle; + } + public String description() { + return this.description; + } + public String deviceId() { + return this.deviceId; + } + /** + * @deprecated + * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices + * + */ + @Deprecated /* Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ + public String facility() { + return this.facility; + } + public String hardwareReservationId() { + return this.hardwareReservationId; + } + public String hostname() { + return this.hostname; + } + public String ipxeScriptUrl() { + return this.ipxeScriptUrl; + } + public String metro() { + return this.metro; + } + public String networkType() { + return this.networkType; + } + public List networks() { + return this.networks; + } + public String operatingSystem() { + return this.operatingSystem; + } + public String plan() { + return this.plan; + } + public List ports() { + return this.ports; + } + /** + * @return ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + * + */ + public String projectId() { + return this.projectId; + } + public String rootPassword() { + return this.rootPassword; + } + public List sshKeyIds() { + return this.sshKeyIds; + } + public String state() { + return this.state; + } + public String storage() { + return this.storage; + } + public List tags() { + return this.tags; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDevicesDevice defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String accessPrivateIpv4; + private String accessPublicIpv4; + private String accessPublicIpv6; + private Boolean alwaysPxe; + private String billingCycle; + private String description; + private String deviceId; + private String facility; + private String hardwareReservationId; + private String hostname; + private String ipxeScriptUrl; + private String metro; + private String networkType; + private List networks; + private String operatingSystem; + private String plan; + private List ports; + private String projectId; + private String rootPassword; + private List sshKeyIds; + private String state; + private String storage; + private List tags; + public Builder() {} + public Builder(GetDevicesDevice defaults) { + Objects.requireNonNull(defaults); + this.accessPrivateIpv4 = defaults.accessPrivateIpv4; + this.accessPublicIpv4 = defaults.accessPublicIpv4; + this.accessPublicIpv6 = defaults.accessPublicIpv6; + this.alwaysPxe = defaults.alwaysPxe; + this.billingCycle = defaults.billingCycle; + this.description = defaults.description; + this.deviceId = defaults.deviceId; + this.facility = defaults.facility; + this.hardwareReservationId = defaults.hardwareReservationId; + this.hostname = defaults.hostname; + this.ipxeScriptUrl = defaults.ipxeScriptUrl; + this.metro = defaults.metro; + this.networkType = defaults.networkType; + this.networks = defaults.networks; + this.operatingSystem = defaults.operatingSystem; + this.plan = defaults.plan; + this.ports = defaults.ports; + this.projectId = defaults.projectId; + this.rootPassword = defaults.rootPassword; + this.sshKeyIds = defaults.sshKeyIds; + this.state = defaults.state; + this.storage = defaults.storage; + this.tags = defaults.tags; + } + + @CustomType.Setter + public Builder accessPrivateIpv4(String accessPrivateIpv4) { + this.accessPrivateIpv4 = Objects.requireNonNull(accessPrivateIpv4); + return this; + } + @CustomType.Setter + public Builder accessPublicIpv4(String accessPublicIpv4) { + this.accessPublicIpv4 = Objects.requireNonNull(accessPublicIpv4); + return this; + } + @CustomType.Setter + public Builder accessPublicIpv6(String accessPublicIpv6) { + this.accessPublicIpv6 = Objects.requireNonNull(accessPublicIpv6); + return this; + } + @CustomType.Setter + public Builder alwaysPxe(Boolean alwaysPxe) { + this.alwaysPxe = Objects.requireNonNull(alwaysPxe); + return this; + } + @CustomType.Setter + public Builder billingCycle(String billingCycle) { + this.billingCycle = Objects.requireNonNull(billingCycle); + return this; + } + @CustomType.Setter + public Builder description(String description) { + this.description = Objects.requireNonNull(description); + return this; + } + @CustomType.Setter + public Builder deviceId(String deviceId) { + this.deviceId = Objects.requireNonNull(deviceId); + return this; + } + @CustomType.Setter + public Builder facility(String facility) { + this.facility = Objects.requireNonNull(facility); + return this; + } + @CustomType.Setter + public Builder hardwareReservationId(String hardwareReservationId) { + this.hardwareReservationId = Objects.requireNonNull(hardwareReservationId); + return this; + } + @CustomType.Setter + public Builder hostname(String hostname) { + this.hostname = Objects.requireNonNull(hostname); + return this; + } + @CustomType.Setter + public Builder ipxeScriptUrl(String ipxeScriptUrl) { + this.ipxeScriptUrl = Objects.requireNonNull(ipxeScriptUrl); + return this; + } + @CustomType.Setter + public Builder metro(String metro) { + this.metro = Objects.requireNonNull(metro); + return this; + } + @CustomType.Setter + public Builder networkType(String networkType) { + this.networkType = Objects.requireNonNull(networkType); + return this; + } + @CustomType.Setter + public Builder networks(List networks) { + this.networks = Objects.requireNonNull(networks); + return this; + } + public Builder networks(GetDevicesDeviceNetwork... networks) { + return networks(List.of(networks)); + } + @CustomType.Setter + public Builder operatingSystem(String operatingSystem) { + this.operatingSystem = Objects.requireNonNull(operatingSystem); + return this; + } + @CustomType.Setter + public Builder plan(String plan) { + this.plan = Objects.requireNonNull(plan); + return this; + } + @CustomType.Setter + public Builder ports(List ports) { + this.ports = Objects.requireNonNull(ports); + return this; + } + public Builder ports(GetDevicesDevicePort... ports) { + return ports(List.of(ports)); + } + @CustomType.Setter + public Builder projectId(String projectId) { + this.projectId = Objects.requireNonNull(projectId); + return this; + } + @CustomType.Setter + public Builder rootPassword(String rootPassword) { + this.rootPassword = Objects.requireNonNull(rootPassword); + return this; + } + @CustomType.Setter + public Builder sshKeyIds(List sshKeyIds) { + this.sshKeyIds = Objects.requireNonNull(sshKeyIds); + return this; + } + public Builder sshKeyIds(String... sshKeyIds) { + return sshKeyIds(List.of(sshKeyIds)); + } + @CustomType.Setter + public Builder state(String state) { + this.state = Objects.requireNonNull(state); + return this; + } + @CustomType.Setter + public Builder storage(String storage) { + this.storage = Objects.requireNonNull(storage); + return this; + } + @CustomType.Setter + public Builder tags(List tags) { + this.tags = Objects.requireNonNull(tags); + return this; + } + public Builder tags(String... tags) { + return tags(List.of(tags)); + } + public GetDevicesDevice build() { + final var o = new GetDevicesDevice(); + o.accessPrivateIpv4 = accessPrivateIpv4; + o.accessPublicIpv4 = accessPublicIpv4; + o.accessPublicIpv6 = accessPublicIpv6; + o.alwaysPxe = alwaysPxe; + o.billingCycle = billingCycle; + o.description = description; + o.deviceId = deviceId; + o.facility = facility; + o.hardwareReservationId = hardwareReservationId; + o.hostname = hostname; + o.ipxeScriptUrl = ipxeScriptUrl; + o.metro = metro; + o.networkType = networkType; + o.networks = networks; + o.operatingSystem = operatingSystem; + o.plan = plan; + o.ports = ports; + o.projectId = projectId; + o.rootPassword = rootPassword; + o.sshKeyIds = sshKeyIds; + o.state = state; + o.storage = storage; + o.tags = tags; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDeviceNetwork.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDeviceNetwork.java new file mode 100644 index 00000000..76f8b870 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDeviceNetwork.java @@ -0,0 +1,96 @@ +// *** 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.metal.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDevicesDeviceNetwork { + private String address; + private Integer cidr; + private Integer family; + private String gateway; + private Boolean public_; + + private GetDevicesDeviceNetwork() {} + public String address() { + return this.address; + } + public Integer cidr() { + return this.cidr; + } + public Integer family() { + return this.family; + } + public String gateway() { + return this.gateway; + } + public Boolean public_() { + return this.public_; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDevicesDeviceNetwork defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String address; + private Integer cidr; + private Integer family; + private String gateway; + private Boolean public_; + public Builder() {} + public Builder(GetDevicesDeviceNetwork defaults) { + Objects.requireNonNull(defaults); + this.address = defaults.address; + this.cidr = defaults.cidr; + this.family = defaults.family; + this.gateway = defaults.gateway; + this.public_ = defaults.public_; + } + + @CustomType.Setter + public Builder address(String address) { + this.address = Objects.requireNonNull(address); + return this; + } + @CustomType.Setter + public Builder cidr(Integer cidr) { + this.cidr = Objects.requireNonNull(cidr); + return this; + } + @CustomType.Setter + public Builder family(Integer family) { + this.family = Objects.requireNonNull(family); + return this; + } + @CustomType.Setter + public Builder gateway(String gateway) { + this.gateway = Objects.requireNonNull(gateway); + return this; + } + @CustomType.Setter("public") + public Builder public_(Boolean public_) { + this.public_ = Objects.requireNonNull(public_); + return this; + } + public GetDevicesDeviceNetwork build() { + final var o = new GetDevicesDeviceNetwork(); + o.address = address; + o.cidr = cidr; + o.family = family; + o.gateway = gateway; + o.public_ = public_; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortLag.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDevicePort.java similarity index 54% rename from sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortLag.java rename to sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDevicePort.java index f4e31f6d..189ca341 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortLag.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDevicePort.java @@ -1,7 +1,7 @@ // *** 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; +package com.equinix.pulumi.metal.outputs; import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; @@ -9,67 +9,57 @@ import java.util.Objects; @CustomType -public final class GetPortLag { - private Boolean enabled; - /** - * @return The ID of this resource. - * - */ +public final class GetDevicesDevicePort { + private Boolean bonded; private String id; - private String memberStatus; - /** - * @return Port name - * - */ + private String mac; private String name; + private String type; - private GetPortLag() {} - public Boolean enabled() { - return this.enabled; + private GetDevicesDevicePort() {} + public Boolean bonded() { + return this.bonded; } - /** - * @return The ID of this resource. - * - */ public String id() { return this.id; } - public String memberStatus() { - return this.memberStatus; + public String mac() { + return this.mac; } - /** - * @return Port name - * - */ public String name() { return this.name; } + public String type() { + return this.type; + } public static Builder builder() { return new Builder(); } - public static Builder builder(GetPortLag defaults) { + public static Builder builder(GetDevicesDevicePort defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private Boolean enabled; + private Boolean bonded; private String id; - private String memberStatus; + private String mac; private String name; + private String type; public Builder() {} - public Builder(GetPortLag defaults) { + public Builder(GetDevicesDevicePort defaults) { Objects.requireNonNull(defaults); - this.enabled = defaults.enabled; + this.bonded = defaults.bonded; this.id = defaults.id; - this.memberStatus = defaults.memberStatus; + this.mac = defaults.mac; this.name = defaults.name; + this.type = defaults.type; } @CustomType.Setter - public Builder enabled(Boolean enabled) { - this.enabled = Objects.requireNonNull(enabled); + public Builder bonded(Boolean bonded) { + this.bonded = Objects.requireNonNull(bonded); return this; } @CustomType.Setter @@ -78,8 +68,8 @@ public Builder id(String id) { return this; } @CustomType.Setter - public Builder memberStatus(String memberStatus) { - this.memberStatus = Objects.requireNonNull(memberStatus); + public Builder mac(String mac) { + this.mac = Objects.requireNonNull(mac); return this; } @CustomType.Setter @@ -87,12 +77,18 @@ public Builder name(String name) { this.name = Objects.requireNonNull(name); return this; } - public GetPortLag build() { - final var o = new GetPortLag(); - o.enabled = enabled; + @CustomType.Setter + public Builder type(String type) { + this.type = Objects.requireNonNull(type); + return this; + } + public GetDevicesDevicePort build() { + final var o = new GetDevicesDevicePort(); + o.bonded = bonded; o.id = id; - o.memberStatus = memberStatus; + o.mac = mac; o.name = name; + o.type = type; return o; } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesFilter.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesFilter.java new file mode 100644 index 00000000..dcec3609 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesFilter.java @@ -0,0 +1,125 @@ +// *** 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.metal.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDevicesFilter { + /** + * @return If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + * + */ + private @Nullable Boolean all; + /** + * @return The attribute used to filter. Filter attributes are case-sensitive + * + */ + private String attribute; + /** + * @return The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + * + */ + private @Nullable String matchBy; + /** + * @return The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + * + */ + private List values; + + private GetDevicesFilter() {} + /** + * @return If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + * + */ + public Optional all() { + return Optional.ofNullable(this.all); + } + /** + * @return The attribute used to filter. Filter attributes are case-sensitive + * + */ + public String attribute() { + return this.attribute; + } + /** + * @return The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + * + */ + public Optional matchBy() { + return Optional.ofNullable(this.matchBy); + } + /** + * @return The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + * + */ + public List values() { + return this.values; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDevicesFilter defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean all; + private String attribute; + private @Nullable String matchBy; + private List values; + public Builder() {} + public Builder(GetDevicesFilter defaults) { + Objects.requireNonNull(defaults); + this.all = defaults.all; + this.attribute = defaults.attribute; + this.matchBy = defaults.matchBy; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder all(@Nullable Boolean all) { + this.all = all; + return this; + } + @CustomType.Setter + public Builder attribute(String attribute) { + this.attribute = Objects.requireNonNull(attribute); + return this; + } + @CustomType.Setter + public Builder matchBy(@Nullable String matchBy) { + this.matchBy = matchBy; + return this; + } + @CustomType.Setter + public Builder values(List values) { + this.values = Objects.requireNonNull(values); + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetDevicesFilter build() { + final var o = new GetDevicesFilter(); + o.all = all; + o.attribute = attribute; + o.matchBy = matchBy; + o.values = values; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesResult.java new file mode 100644 index 00000000..ebf4c692 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesResult.java @@ -0,0 +1,149 @@ +// *** 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.metal.outputs; + +import com.equinix.pulumi.metal.outputs.GetDevicesDevice; +import com.equinix.pulumi.metal.outputs.GetDevicesFilter; +import com.equinix.pulumi.metal.outputs.GetDevicesSort; +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDevicesResult { + /** + * @return list of resources with attributes like in the equninix_metal_device datasources. + * + */ + private List devices; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private @Nullable String organizationId; + private @Nullable String projectId; + private @Nullable String search; + private @Nullable List sorts; + + private GetDevicesResult() {} + /** + * @return list of resources with attributes like in the equninix_metal_device datasources. + * + */ + public List devices() { + return this.devices; + } + public List filters() { + return this.filters == null ? List.of() : this.filters; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + public Optional organizationId() { + return Optional.ofNullable(this.organizationId); + } + public Optional projectId() { + return Optional.ofNullable(this.projectId); + } + public Optional search() { + return Optional.ofNullable(this.search); + } + public List sorts() { + return this.sorts == null ? List.of() : this.sorts; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDevicesResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List devices; + private @Nullable List filters; + private String id; + private @Nullable String organizationId; + private @Nullable String projectId; + private @Nullable String search; + private @Nullable List sorts; + public Builder() {} + public Builder(GetDevicesResult defaults) { + Objects.requireNonNull(defaults); + this.devices = defaults.devices; + this.filters = defaults.filters; + this.id = defaults.id; + this.organizationId = defaults.organizationId; + this.projectId = defaults.projectId; + this.search = defaults.search; + this.sorts = defaults.sorts; + } + + @CustomType.Setter + public Builder devices(List devices) { + this.devices = Objects.requireNonNull(devices); + return this; + } + public Builder devices(GetDevicesDevice... devices) { + return devices(List.of(devices)); + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + this.filters = filters; + return this; + } + public Builder filters(GetDevicesFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder organizationId(@Nullable String organizationId) { + this.organizationId = organizationId; + return this; + } + @CustomType.Setter + public Builder projectId(@Nullable String projectId) { + this.projectId = projectId; + return this; + } + @CustomType.Setter + public Builder search(@Nullable String search) { + this.search = search; + return this; + } + @CustomType.Setter + public Builder sorts(@Nullable List sorts) { + this.sorts = sorts; + return this; + } + public Builder sorts(GetDevicesSort... sorts) { + return sorts(List.of(sorts)); + } + public GetDevicesResult build() { + final var o = new GetDevicesResult(); + o.devices = devices; + o.filters = filters; + o.id = id; + o.organizationId = organizationId; + o.projectId = projectId; + o.search = search; + o.sorts = sorts; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesSort.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesSort.java new file mode 100644 index 00000000..241426e7 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesSort.java @@ -0,0 +1,68 @@ +// *** 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.metal.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDevicesSort { + /** + * @return The attribute used to filter. Filter attributes are case-sensitive + * + */ + private String attribute; + private @Nullable String direction; + + private GetDevicesSort() {} + /** + * @return The attribute used to filter. Filter attributes are case-sensitive + * + */ + public String attribute() { + return this.attribute; + } + public Optional direction() { + return Optional.ofNullable(this.direction); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDevicesSort defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String attribute; + private @Nullable String direction; + public Builder() {} + public Builder(GetDevicesSort defaults) { + Objects.requireNonNull(defaults); + this.attribute = defaults.attribute; + this.direction = defaults.direction; + } + + @CustomType.Setter + public Builder attribute(String attribute) { + this.attribute = Objects.requireNonNull(attribute); + return this; + } + @CustomType.Setter + public Builder direction(@Nullable String direction) { + this.direction = direction; + return this; + } + public GetDevicesSort build() { + final var o = new GetDevicesSort(); + o.attribute = attribute; + o.direction = direction; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetHardwareReservationResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetHardwareReservationResult.java index 7b1efd52..2a262256 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetHardwareReservationResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetHardwareReservationResult.java @@ -16,6 +16,8 @@ public final class GetHardwareReservationResult { */ private String deviceId; /** + * @return (**Deprecated**) Facility for the reservation. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * @@ -70,6 +72,8 @@ public String deviceId() { return this.deviceId; } /** + * @return (**Deprecated**) Facility for the reservation. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetInterconnectionResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetInterconnectionResult.java index 7def7f13..23017ca3 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetInterconnectionResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetInterconnectionResult.java @@ -14,12 +14,19 @@ @CustomType public final class GetInterconnectionResult { private String connectionId; + /** + * @return The preferred email used for communication and notifications about the Equinix Fabric interconnection. + * + */ + private String contactEmail; /** * @return Description of the connection resource. * */ private String description; /** + * @return (**Deprecated**) Slug of a facility to which the connection belongs. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * @@ -115,6 +122,13 @@ private GetInterconnectionResult() {} public String connectionId() { return this.connectionId; } + /** + * @return The preferred email used for communication and notifications about the Equinix Fabric interconnection. + * + */ + public String contactEmail() { + return this.contactEmail; + } /** * @return Description of the connection resource. * @@ -123,6 +137,8 @@ public String description() { return this.description; } /** + * @return (**Deprecated**) Slug of a facility to which the connection belongs. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * @@ -258,6 +274,7 @@ public static Builder builder(GetInterconnectionResult defaults) { @CustomType.Builder public static final class Builder { private String connectionId; + private String contactEmail; private String description; private String facility; private String id; @@ -280,6 +297,7 @@ public Builder() {} public Builder(GetInterconnectionResult defaults) { Objects.requireNonNull(defaults); this.connectionId = defaults.connectionId; + this.contactEmail = defaults.contactEmail; this.description = defaults.description; this.facility = defaults.facility; this.id = defaults.id; @@ -306,6 +324,11 @@ public Builder connectionId(String connectionId) { return this; } @CustomType.Setter + public Builder contactEmail(String contactEmail) { + this.contactEmail = Objects.requireNonNull(contactEmail); + return this; + } + @CustomType.Setter public Builder description(String description) { this.description = Objects.requireNonNull(description); return this; @@ -410,6 +433,7 @@ public Builder vlans(Integer... vlans) { public GetInterconnectionResult build() { final var o = new GetInterconnectionResult(); o.connectionId = connectionId; + o.contactEmail = contactEmail; o.description = description; o.facility = facility; o.id = id; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansFilter.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansFilter.java index a4355829..d958b7c3 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansFilter.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansFilter.java @@ -16,6 +16,8 @@ public final class GetPlansFilter { /** * @return If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. * + * All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. + * */ private @Nullable Boolean all; /** @@ -38,6 +40,8 @@ private GetPlansFilter() {} /** * @return If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. * + * All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. + * */ public Optional all() { return Optional.ofNullable(this.all); diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetSpotMarketRequestResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetSpotMarketRequestResult.java index 76f7a45b..c33c4d81 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetSpotMarketRequestResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetSpotMarketRequestResult.java @@ -33,6 +33,8 @@ public final class GetSpotMarketRequestResult { */ private String endAt; /** + * @return (**Deprecated**) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * @@ -96,6 +98,8 @@ public String endAt() { return this.endAt; } /** + * @return (**Deprecated**) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide + * * @deprecated * Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/SpotMarketRequestInstanceParameters.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/SpotMarketRequestInstanceParameters.java index ef434c74..300cfcd8 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/SpotMarketRequestInstanceParameters.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/SpotMarketRequestInstanceParameters.java @@ -29,6 +29,13 @@ public final class SpotMarketRequestInstanceParameters { private String plan; private @Nullable List projectSshKeys; private @Nullable List tags; + private @Nullable String terminationTime; + /** + * @deprecated + * Use instance_parameters.termination_time instead + * + */ + @Deprecated /* Use instance_parameters.termination_time instead */ private @Nullable String termintationTime; private @Nullable List userSshKeys; private @Nullable String userdata; @@ -74,6 +81,15 @@ public List projectSshKeys() { public List tags() { return this.tags == null ? List.of() : this.tags; } + public Optional terminationTime() { + return Optional.ofNullable(this.terminationTime); + } + /** + * @deprecated + * Use instance_parameters.termination_time instead + * + */ + @Deprecated /* Use instance_parameters.termination_time instead */ public Optional termintationTime() { return Optional.ofNullable(this.termintationTime); } @@ -105,6 +121,7 @@ public static final class Builder { private String plan; private @Nullable List projectSshKeys; private @Nullable List tags; + private @Nullable String terminationTime; private @Nullable String termintationTime; private @Nullable List userSshKeys; private @Nullable String userdata; @@ -123,6 +140,7 @@ public Builder(SpotMarketRequestInstanceParameters defaults) { this.plan = defaults.plan; this.projectSshKeys = defaults.projectSshKeys; this.tags = defaults.tags; + this.terminationTime = defaults.terminationTime; this.termintationTime = defaults.termintationTime; this.userSshKeys = defaults.userSshKeys; this.userdata = defaults.userdata; @@ -198,6 +216,11 @@ public Builder tags(String... tags) { return tags(List.of(tags)); } @CustomType.Setter + public Builder terminationTime(@Nullable String terminationTime) { + this.terminationTime = terminationTime; + return this; + } + @CustomType.Setter public Builder termintationTime(@Nullable String termintationTime) { this.termintationTime = termintationTime; return this; @@ -229,6 +252,7 @@ public SpotMarketRequestInstanceParameters build() { o.plan = plan; o.projectSshKeys = projectSshKeys; o.tags = tags; + o.terminationTime = terminationTime; o.termintationTime = termintationTime; o.userSshKeys = userSshKeys; o.userdata = userdata; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/AclTemplate.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/AclTemplate.java index 8e3ce66d..a036ab0d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/AclTemplate.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/AclTemplate.java @@ -145,6 +145,8 @@ public Output deviceId() { * One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. * + * The `inbound_rule` block has below fields: + * */ @Export(name="inboundRules", refs={List.class,AclTemplateInboundRule.class}, tree="[0,1]") private Output> inboundRules; @@ -153,6 +155,8 @@ public Output deviceId() { * @return One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. * + * The `inbound_rule` block has below fields: + * */ public Output> inboundRules() { return this.inboundRules; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/AclTemplateArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/AclTemplateArgs.java index 202e14b5..48187b35 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/AclTemplateArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/AclTemplateArgs.java @@ -36,6 +36,8 @@ public Optional> description() { * One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. * + * The `inbound_rule` block has below fields: + * */ @Import(name="inboundRules", required=true) private Output> inboundRules; @@ -44,6 +46,8 @@ public Optional> description() { * @return One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. * + * The `inbound_rule` block has below fields: + * */ public Output> inboundRules() { return this.inboundRules; @@ -139,6 +143,8 @@ public Builder description(String description) { * @param inboundRules One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. * + * The `inbound_rule` block has below fields: + * * @return builder * */ @@ -151,6 +157,8 @@ public Builder inboundRules(Output> inboundRule * @param inboundRules One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. * + * The `inbound_rule` block has below fields: + * * @return builder * */ @@ -162,6 +170,8 @@ public Builder inboundRules(List inboundRules) { * @param inboundRules One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. * + * The `inbound_rule` block has below fields: + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/Device.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/Device.java index 9247c2af..b38fa946 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/Device.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/Device.java @@ -224,6 +224,22 @@ public Output> cloudInitFileId() { public Output> clusterDetails() { return Codegen.optional(this.clusterDetails); } + /** + * Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + * If not specified, default will be INTERNET-ACCESS + * + */ + @Export(name="connectivity", refs={String.class}, tree="[0]") + private Output connectivity; + + /** + * @return Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + * If not specified, default will be INTERNET-ACCESS + * + */ + public Output> connectivity() { + return Codegen.optional(this.connectivity); + } /** * Number of CPU cores used by device. * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/DeviceArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/DeviceArgs.java index 2e9f4933..ce78b57f 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/DeviceArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/DeviceArgs.java @@ -120,6 +120,23 @@ public Optional> clusterDetails() { return Optional.ofNullable(this.clusterDetails); } + /** + * Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + * If not specified, default will be INTERNET-ACCESS + * + */ + @Import(name="connectivity") + private @Nullable Output connectivity; + + /** + * @return Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + * If not specified, default will be INTERNET-ACCESS + * + */ + public Optional> connectivity() { + return Optional.ofNullable(this.connectivity); + } + /** * Number of CPU cores used by device. * @@ -494,6 +511,7 @@ private DeviceArgs(DeviceArgs $) { this.byol = $.byol; this.cloudInitFileId = $.cloudInitFileId; this.clusterDetails = $.clusterDetails; + this.connectivity = $.connectivity; this.coreCount = $.coreCount; this.hostname = $.hostname; this.interfaceCount = $.interfaceCount; @@ -669,6 +687,29 @@ public Builder clusterDetails(DeviceClusterDetailsArgs clusterDetails) { return clusterDetails(Output.of(clusterDetails)); } + /** + * @param connectivity Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + * If not specified, default will be INTERNET-ACCESS + * + * @return builder + * + */ + public Builder connectivity(@Nullable Output connectivity) { + $.connectivity = connectivity; + return this; + } + + /** + * @param connectivity Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + * If not specified, default will be INTERNET-ACCESS + * + * @return builder + * + */ + public Builder connectivity(String connectivity) { + return connectivity(Output.of(connectivity)); + } + /** * @param coreCount Number of CPU cores used by device. * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/AclTemplateState.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/AclTemplateState.java index 4ff4be90..a78b1470 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/AclTemplateState.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/AclTemplateState.java @@ -92,6 +92,8 @@ public Optional> deviceId() { * One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. * + * The `inbound_rule` block has below fields: + * */ @Import(name="inboundRules") private @Nullable Output> inboundRules; @@ -100,6 +102,8 @@ public Optional> deviceId() { * @return One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. * + * The `inbound_rule` block has below fields: + * */ public Optional>> inboundRules() { return Optional.ofNullable(this.inboundRules); @@ -297,6 +301,8 @@ public Builder deviceId(String deviceId) { * @param inboundRules One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. * + * The `inbound_rule` block has below fields: + * * @return builder * */ @@ -309,6 +315,8 @@ public Builder inboundRules(@Nullable Output> i * @param inboundRules One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. * + * The `inbound_rule` block has below fields: + * * @return builder * */ @@ -320,6 +328,8 @@ public Builder inboundRules(List inboundRules) { * @param inboundRules One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. * + * The `inbound_rule` block has below fields: + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/DeviceState.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/DeviceState.java index d1ee14a3..ebaab36d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/DeviceState.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/DeviceState.java @@ -136,6 +136,23 @@ public Optional> clusterDetails() { return Optional.ofNullable(this.clusterDetails); } + /** + * Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + * If not specified, default will be INTERNET-ACCESS + * + */ + @Import(name="connectivity") + private @Nullable Output connectivity; + + /** + * @return Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + * If not specified, default will be INTERNET-ACCESS + * + */ + public Optional> connectivity() { + return Optional.ofNullable(this.connectivity); + } + /** * Number of CPU cores used by device. * @@ -682,6 +699,7 @@ private DeviceState(DeviceState $) { this.byol = $.byol; this.cloudInitFileId = $.cloudInitFileId; this.clusterDetails = $.clusterDetails; + this.connectivity = $.connectivity; this.coreCount = $.coreCount; this.hostname = $.hostname; this.ibx = $.ibx; @@ -889,6 +907,29 @@ public Builder clusterDetails(DeviceClusterDetailsArgs clusterDetails) { return clusterDetails(Output.of(clusterDetails)); } + /** + * @param connectivity Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + * If not specified, default will be INTERNET-ACCESS + * + * @return builder + * + */ + public Builder connectivity(@Nullable Output connectivity) { + $.connectivity = connectivity; + return this; + } + + /** + * @param connectivity Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + * If not specified, default will be INTERNET-ACCESS + * + * @return builder + * + */ + public Builder connectivity(String connectivity) { + return connectivity(Output.of(connectivity)); + } + /** * @param coreCount Number of CPU cores used by device. * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/GetDeviceArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/GetDeviceArgs.java index e2cf991c..1dad4662 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/GetDeviceArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/GetDeviceArgs.java @@ -48,6 +48,8 @@ public Optional> uuid() { /** * Device states to be considered valid when searching for a device by name * + * NOTE: Exactly one of either `uuid` or `name` must be specified. + * */ @Import(name="validStatusList") private @Nullable Output validStatusList; @@ -55,6 +57,8 @@ public Optional> uuid() { /** * @return Device states to be considered valid when searching for a device by name * + * NOTE: Exactly one of either `uuid` or `name` must be specified. + * */ public Optional> validStatusList() { return Optional.ofNullable(this.validStatusList); @@ -131,6 +135,8 @@ public Builder uuid(String uuid) { /** * @param validStatusList Device states to be considered valid when searching for a device by name * + * NOTE: Exactly one of either `uuid` or `name` must be specified. + * * @return builder * */ @@ -142,6 +148,8 @@ public Builder validStatusList(@Nullable Output validStatusList) { /** * @param validStatusList Device states to be considered valid when searching for a device by name * + * NOTE: Exactly one of either `uuid` or `name` must be specified. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/GetDevicePlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/GetDevicePlainArgs.java index 508b52b6..1f5f6780 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/GetDevicePlainArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/inputs/GetDevicePlainArgs.java @@ -47,6 +47,8 @@ public Optional uuid() { /** * Device states to be considered valid when searching for a device by name * + * NOTE: Exactly one of either `uuid` or `name` must be specified. + * */ @Import(name="validStatusList") private @Nullable String validStatusList; @@ -54,6 +56,8 @@ public Optional uuid() { /** * @return Device states to be considered valid when searching for a device by name * + * NOTE: Exactly one of either `uuid` or `name` must be specified. + * */ public Optional validStatusList() { return Optional.ofNullable(this.validStatusList); @@ -110,6 +114,8 @@ public Builder uuid(@Nullable String uuid) { /** * @param validStatusList Device states to be considered valid when searching for a device by name * + * NOTE: Exactly one of either `uuid` or `name` must be specified. + * * @return builder * */ diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceResult.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceResult.java index 6f0888c1..e64d9411 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceResult.java @@ -33,6 +33,11 @@ public final class GetDeviceResult { private Integer asn; private Boolean byol; private List clusterDetails; + /** + * @return Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT) + * + */ + private String connectivity; private Integer coreCount; private String hostname; /** @@ -72,6 +77,7 @@ public final class GetDeviceResult { * * APPLIED * * WAITING_FOR_CLUSTER_SETUP * * REGISTRATION_FAILED + * * NA * */ private String licenseStatus; @@ -177,6 +183,13 @@ public Boolean byol() { public List clusterDetails() { return this.clusterDetails; } + /** + * @return Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT) + * + */ + public String connectivity() { + return this.connectivity; + } public Integer coreCount() { return this.coreCount; } @@ -232,6 +245,7 @@ public String licenseFileId() { * * APPLIED * * WAITING_FOR_CLUSTER_SETUP * * REGISTRATION_FAILED + * * NA * */ public String licenseStatus() { @@ -381,6 +395,7 @@ public static final class Builder { private Integer asn; private Boolean byol; private List clusterDetails; + private String connectivity; private Integer coreCount; private String hostname; private String ibx; @@ -426,6 +441,7 @@ public Builder(GetDeviceResult defaults) { this.asn = defaults.asn; this.byol = defaults.byol; this.clusterDetails = defaults.clusterDetails; + this.connectivity = defaults.connectivity; this.coreCount = defaults.coreCount; this.hostname = defaults.hostname; this.ibx = defaults.ibx; @@ -498,6 +514,11 @@ public Builder clusterDetails(GetDeviceClusterDetail... clusterDetails) { return clusterDetails(List.of(clusterDetails)); } @CustomType.Setter + public Builder connectivity(String connectivity) { + this.connectivity = Objects.requireNonNull(connectivity); + return this; + } + @CustomType.Setter public Builder coreCount(Integer coreCount) { this.coreCount = Objects.requireNonNull(coreCount); return this; @@ -697,6 +718,7 @@ public GetDeviceResult build() { o.asn = asn; o.byol = byol; o.clusterDetails = clusterDetails; + o.connectivity = connectivity; o.coreCount = coreCount; o.hostname = hostname; o.ibx = ibx; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSecondaryDevice.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSecondaryDevice.java index 16b03937..d251e56d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSecondaryDevice.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSecondaryDevice.java @@ -26,6 +26,7 @@ public final class GetDeviceSecondaryDevice { * */ private Integer asn; + private String cloudInitFileId; private String hostname; /** * @return Device location Equinix Business Exchange name @@ -58,6 +59,7 @@ public final class GetDeviceSecondaryDevice { * * APPLIED * * WAITING_FOR_CLUSTER_SETUP * * REGISTRATION_FAILED + * * NA * */ private String licenseStatus; @@ -146,6 +148,9 @@ public Integer additionalBandwidth() { public Integer asn() { return this.asn; } + public String cloudInitFileId() { + return this.cloudInitFileId; + } public String hostname() { return this.hostname; } @@ -188,6 +193,7 @@ public String licenseFileId() { * * APPLIED * * WAITING_FOR_CLUSTER_SETUP * * REGISTRATION_FAILED + * * NA * */ public String licenseStatus() { @@ -302,6 +308,7 @@ public static final class Builder { private String aclTemplateId; private Integer additionalBandwidth; private Integer asn; + private String cloudInitFileId; private String hostname; private String ibx; private List interfaces; @@ -331,6 +338,7 @@ public Builder(GetDeviceSecondaryDevice defaults) { this.aclTemplateId = defaults.aclTemplateId; this.additionalBandwidth = defaults.additionalBandwidth; this.asn = defaults.asn; + this.cloudInitFileId = defaults.cloudInitFileId; this.hostname = defaults.hostname; this.ibx = defaults.ibx; this.interfaces = defaults.interfaces; @@ -376,6 +384,11 @@ public Builder asn(Integer asn) { return this; } @CustomType.Setter + public Builder cloudInitFileId(String cloudInitFileId) { + this.cloudInitFileId = Objects.requireNonNull(cloudInitFileId); + return this; + } + @CustomType.Setter public Builder hostname(String hostname) { this.hostname = Objects.requireNonNull(hostname); return this; @@ -500,6 +513,7 @@ public GetDeviceSecondaryDevice build() { o.aclTemplateId = aclTemplateId; o.additionalBandwidth = additionalBandwidth; o.asn = asn; + o.cloudInitFileId = cloudInitFileId; o.hostname = hostname; o.ibx = ibx; o.interfaces = interfaces; diff --git a/sdk/nodejs/fabric/cloudRouter.ts b/sdk/nodejs/fabric/cloudRouter.ts new file mode 100644 index 00000000..3f2e647b --- /dev/null +++ b/sdk/nodejs/fabric/cloudRouter.ts @@ -0,0 +1,278 @@ +// *** 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"; + +/** + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as equinix from "@equinix-labs/pulumi-equinix"; + * + * const config = new pulumi.Config(); + * const metro = config.get("metro") || "FR"; + * const accountNum = config.requireNumber("accountNum"); + * const router = new equinix.fabric.CloudRouter("router", { + * name: "My-Fabric-Cloud-Router", + * type: "XF_ROUTER", + * location: { + * metroCode: metro, + * }, + * "package": { + * code: "BASIC", + * }, + * notifications: [{ + * type: "ALL", + * emails: ["example@equinix.com"], + * }], + * account: { + * accountNumber: 272010, + * }, + * }); + * export const routerId = router.id; + * ``` + */ +export class CloudRouter extends pulumi.CustomResource { + /** + * Get an existing CloudRouter resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: CloudRouterState, opts?: pulumi.CustomResourceOptions): CloudRouter { + return new CloudRouter(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'equinix:fabric/cloudRouter:CloudRouter'; + + /** + * Returns true if the given object is an instance of CloudRouter. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is CloudRouter { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CloudRouter.__pulumiType; + } + + /** + * Customer account information that is associated with this Fabric Cloud Router + */ + public readonly account!: pulumi.Output; + /** + * Captures Fabric Cloud Router lifecycle change information + */ + public /*out*/ readonly changeLogs!: pulumi.Output; + /** + * Customer-provided Fabric Cloud Router description + */ + public readonly description!: pulumi.Output; + /** + * Equinix ASN + */ + public /*out*/ readonly equinixAsn!: pulumi.Output; + /** + * Unique Resource URL + */ + public /*out*/ readonly href!: pulumi.Output; + /** + * Fabric Cloud Router location + */ + public readonly location!: pulumi.Output; + /** + * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + */ + public readonly name!: pulumi.Output; + /** + * Preferences for notifications on Fabric Cloud Router configuration or status changes + */ + public readonly notifications!: pulumi.Output; + /** + * Order information related to this Fabric Cloud Router + */ + public readonly order!: pulumi.Output; + /** + * Fabric Cloud Router package + */ + public readonly package!: pulumi.Output; + /** + * Fabric Cloud Router project + */ + public readonly projects!: pulumi.Output; + /** + * Fabric Cloud Router overall state + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + */ + public readonly type!: pulumi.Output; + + /** + * Create a CloudRouter resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: CloudRouterArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: CloudRouterArgs | CloudRouterState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as CloudRouterState | undefined; + resourceInputs["account"] = state ? state.account : undefined; + resourceInputs["changeLogs"] = state ? state.changeLogs : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["equinixAsn"] = state ? state.equinixAsn : undefined; + resourceInputs["href"] = state ? state.href : undefined; + resourceInputs["location"] = state ? state.location : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["notifications"] = state ? state.notifications : undefined; + resourceInputs["order"] = state ? state.order : undefined; + resourceInputs["package"] = state ? state.package : undefined; + resourceInputs["projects"] = state ? state.projects : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["type"] = state ? state.type : undefined; + } else { + const args = argsOrState as CloudRouterArgs | undefined; + if ((!args || args.location === undefined) && !opts.urn) { + throw new Error("Missing required property 'location'"); + } + if ((!args || args.notifications === undefined) && !opts.urn) { + throw new Error("Missing required property 'notifications'"); + } + if ((!args || args.package === undefined) && !opts.urn) { + throw new Error("Missing required property 'package'"); + } + if ((!args || args.type === undefined) && !opts.urn) { + throw new Error("Missing required property 'type'"); + } + resourceInputs["account"] = args ? args.account : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["notifications"] = args ? args.notifications : undefined; + resourceInputs["order"] = args ? args.order : undefined; + resourceInputs["package"] = args ? args.package : undefined; + resourceInputs["projects"] = args ? args.projects : undefined; + resourceInputs["type"] = args ? args.type : undefined; + resourceInputs["changeLogs"] = undefined /*out*/; + resourceInputs["equinixAsn"] = undefined /*out*/; + resourceInputs["href"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(CloudRouter.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering CloudRouter resources. + */ +export interface CloudRouterState { + /** + * Customer account information that is associated with this Fabric Cloud Router + */ + account?: pulumi.Input; + /** + * Captures Fabric Cloud Router lifecycle change information + */ + changeLogs?: pulumi.Input[]>; + /** + * Customer-provided Fabric Cloud Router description + */ + description?: pulumi.Input; + /** + * Equinix ASN + */ + equinixAsn?: pulumi.Input; + /** + * Unique Resource URL + */ + href?: pulumi.Input; + /** + * Fabric Cloud Router location + */ + location?: pulumi.Input; + /** + * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + */ + name?: pulumi.Input; + /** + * Preferences for notifications on Fabric Cloud Router configuration or status changes + */ + notifications?: pulumi.Input[]>; + /** + * Order information related to this Fabric Cloud Router + */ + order?: pulumi.Input; + /** + * Fabric Cloud Router package + */ + package?: pulumi.Input; + /** + * Fabric Cloud Router project + */ + projects?: pulumi.Input[]>; + /** + * Fabric Cloud Router overall state + */ + state?: pulumi.Input; + /** + * Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + */ + type?: pulumi.Input; +} + +/** + * The set of arguments for constructing a CloudRouter resource. + */ +export interface CloudRouterArgs { + /** + * Customer account information that is associated with this Fabric Cloud Router + */ + account?: pulumi.Input; + /** + * Customer-provided Fabric Cloud Router description + */ + description?: pulumi.Input; + /** + * Fabric Cloud Router location + */ + location: pulumi.Input; + /** + * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + */ + name?: pulumi.Input; + /** + * Preferences for notifications on Fabric Cloud Router configuration or status changes + */ + notifications: pulumi.Input[]>; + /** + * Order information related to this Fabric Cloud Router + */ + order?: pulumi.Input; + /** + * Fabric Cloud Router package + */ + package: pulumi.Input; + /** + * Fabric Cloud Router project + */ + projects?: pulumi.Input[]>; + /** + * Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + */ + type: pulumi.Input; +} diff --git a/sdk/nodejs/fabric/connection.ts b/sdk/nodejs/fabric/connection.ts index ac2d7dcc..c0ba87bb 100644 --- a/sdk/nodejs/fabric/connection.ts +++ b/sdk/nodejs/fabric/connection.ts @@ -109,13 +109,13 @@ export class Connection extends pulumi.CustomResource { */ public readonly aSide!: pulumi.Output; /** - * Customer account information that is associated with this connection + * Account */ public /*out*/ readonly account!: pulumi.Output; /** - * Connection additional information + * Connection side additional information */ - public readonly additionalInfo!: pulumi.Output; + public readonly additionalInfo!: pulumi.Output<{[key: string]: any}[] | undefined>; /** * Connection bandwidth in Mbps */ @@ -129,7 +129,7 @@ export class Connection extends pulumi.CustomResource { */ public /*out*/ readonly direction!: pulumi.Output; /** - * Connection URI information + * Unique Resource Identifier */ public /*out*/ readonly href!: pulumi.Output; /** @@ -137,7 +137,7 @@ export class Connection extends pulumi.CustomResource { */ public /*out*/ readonly isRemote!: pulumi.Output; /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name */ public readonly name!: pulumi.Output; /** @@ -161,11 +161,11 @@ export class Connection extends pulumi.CustomResource { */ public readonly redundancy!: pulumi.Output; /** - * Connection overall state + * Routing protocol instance state */ public /*out*/ readonly state!: pulumi.Output; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ public readonly type!: pulumi.Output; /** @@ -252,13 +252,13 @@ export interface ConnectionState { */ aSide?: pulumi.Input; /** - * Customer account information that is associated with this connection + * Account */ account?: pulumi.Input; /** - * Connection additional information + * Connection side additional information */ - additionalInfo?: pulumi.Input[]>; + additionalInfo?: pulumi.Input[]>; /** * Connection bandwidth in Mbps */ @@ -272,7 +272,7 @@ export interface ConnectionState { */ direction?: pulumi.Input; /** - * Connection URI information + * Unique Resource Identifier */ href?: pulumi.Input; /** @@ -280,7 +280,7 @@ export interface ConnectionState { */ isRemote?: pulumi.Input; /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name */ name?: pulumi.Input; /** @@ -304,11 +304,11 @@ export interface ConnectionState { */ redundancy?: pulumi.Input; /** - * Connection overall state + * Routing protocol instance state */ state?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; /** @@ -326,15 +326,15 @@ export interface ConnectionArgs { */ aSide: pulumi.Input; /** - * Connection additional information + * Connection side additional information */ - additionalInfo?: pulumi.Input[]>; + additionalInfo?: pulumi.Input[]>; /** * Connection bandwidth in Mbps */ bandwidth: pulumi.Input; /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name */ name?: pulumi.Input; /** @@ -354,7 +354,7 @@ export interface ConnectionArgs { */ redundancy?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type: pulumi.Input; /** diff --git a/sdk/nodejs/fabric/getCloudRouter.ts b/sdk/nodejs/fabric/getCloudRouter.ts new file mode 100644 index 00000000..85514aa0 --- /dev/null +++ b/sdk/nodejs/fabric/getCloudRouter.ts @@ -0,0 +1,118 @@ +// *** 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"; + +export function getCloudRouter(args?: GetCloudRouterArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("equinix:fabric/getCloudRouter:getCloudRouter", { + "projects": args.projects, + "uuid": args.uuid, + }, opts); +} + +/** + * A collection of arguments for invoking getCloudRouter. + */ +export interface GetCloudRouterArgs { + /** + * Project information + */ + projects?: inputs.fabric.GetCloudRouterProject[]; + /** + * Equinix-assigned Fabric Cloud Router identifier + */ + uuid?: string; +} + +/** + * A collection of values returned by getCloudRouter. + */ +export interface GetCloudRouterResult { + /** + * Customer account information that is associated with this Fabric Cloud Router + */ + readonly accounts: outputs.fabric.GetCloudRouterAccount[]; + readonly bgpIpv4RoutesCount: number; + readonly bgpIpv6RoutesCount: number; + /** + * Captures Fabric Cloud Router lifecycle change information + */ + readonly changeLogs: outputs.fabric.GetCloudRouterChangeLog[]; + readonly connectionsCount: number; + /** + * Customer-provided Fabric Cloud Router description + */ + readonly description: string; + /** + * Equinix ASN + */ + readonly equinixAsn: number; + /** + * Fabric Cloud Router URI information + */ + readonly href: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Fabric Cloud Router location + */ + readonly locations: outputs.fabric.GetCloudRouterLocation[]; + /** + * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + */ + readonly name: string; + /** + * Preferences for notifications on Fabric Cloud Router configuration or status changes + */ + readonly notifications: outputs.fabric.GetCloudRouterNotification[]; + /** + * Order information related to this Fabric Cloud Router + */ + readonly orders: outputs.fabric.GetCloudRouterOrder[]; + /** + * Fabric Cloud Router package information + */ + readonly packages: outputs.fabric.GetCloudRouterPackage[]; + /** + * Project information + */ + readonly projects: outputs.fabric.GetCloudRouterProject[]; + /** + * Fabric Cloud Router overall state + */ + readonly state: string; + /** + * Defines the Fabric Cloud Router type like XF_GATEWAY + */ + readonly type: string; + /** + * Equinix-assigned Fabric Cloud Router identifier + */ + readonly uuid?: string; +} +export function getCloudRouterOutput(args?: GetCloudRouterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getCloudRouter(a, opts)) +} + +/** + * A collection of arguments for invoking getCloudRouter. + */ +export interface GetCloudRouterOutputArgs { + /** + * Project information + */ + projects?: pulumi.Input[]>; + /** + * Equinix-assigned Fabric Cloud Router identifier + */ + uuid?: pulumi.Input; +} diff --git a/sdk/nodejs/fabric/getConnection.ts b/sdk/nodejs/fabric/getConnection.ts index 2585f7f7..08a5bb78 100644 --- a/sdk/nodejs/fabric/getConnection.ts +++ b/sdk/nodejs/fabric/getConnection.ts @@ -25,9 +25,6 @@ export interface GetConnectionArgs { * Project information */ project?: inputs.fabric.GetConnectionProject; - /** - * Equinix-assigned connection identifier - */ uuid?: string; } @@ -104,7 +101,7 @@ export interface GetConnectionResult { */ readonly state: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, IP*VC, ACCESS*EPL_VC */ readonly type: string; /** @@ -128,8 +125,5 @@ export interface GetConnectionOutputArgs { * Project information */ project?: pulumi.Input; - /** - * Equinix-assigned connection identifier - */ uuid?: pulumi.Input; } diff --git a/sdk/nodejs/fabric/getPort.ts b/sdk/nodejs/fabric/getPort.ts index 238bf39e..4b210412 100644 --- a/sdk/nodejs/fabric/getPort.ts +++ b/sdk/nodejs/fabric/getPort.ts @@ -65,10 +65,7 @@ export interface GetPortResult { * The provider-assigned unique ID for this managed resource. */ readonly id: string; - /** - * Port Lag - */ - readonly lag: outputs.fabric.GetPortLag; + readonly lagEnabled: boolean; /** * Port location information */ diff --git a/sdk/nodejs/fabric/getRoutingProtocol.ts b/sdk/nodejs/fabric/getRoutingProtocol.ts new file mode 100644 index 00000000..b4b505fd --- /dev/null +++ b/sdk/nodejs/fabric/getRoutingProtocol.ts @@ -0,0 +1,208 @@ +// *** 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"; + +export function getRoutingProtocol(args: GetRoutingProtocolArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("equinix:fabric/getRoutingProtocol:getRoutingProtocol", { + "bfd": args.bfd, + "bgpAuthKey": args.bgpAuthKey, + "bgpIpv4": args.bgpIpv4, + "bgpIpv6": args.bgpIpv6, + "connectionUuid": args.connectionUuid, + "customerAsn": args.customerAsn, + "description": args.description, + "directIpv4": args.directIpv4, + "directIpv6": args.directIpv6, + "name": args.name, + "type": args.type, + "uuid": args.uuid, + }, opts); +} + +/** + * A collection of arguments for invoking getRoutingProtocol. + */ +export interface GetRoutingProtocolArgs { + /** + * Bidirectional Forwarding Detection + */ + bfd?: inputs.fabric.GetRoutingProtocolBfd; + /** + * BGP authorization key + */ + bgpAuthKey?: string; + /** + * Routing Protocol BGP IPv4 + */ + bgpIpv4?: inputs.fabric.GetRoutingProtocolBgpIpv4; + /** + * Routing Protocol BGP IPv6 + */ + bgpIpv6?: inputs.fabric.GetRoutingProtocolBgpIpv6; + /** + * Connection URI associated with Routing Protocol + */ + connectionUuid: string; + /** + * Customer-provided ASN + */ + customerAsn?: number; + /** + * Customer-provided Fabric Routing Protocol description + */ + description?: string; + /** + * Routing Protocol Direct IPv4 + */ + directIpv4?: inputs.fabric.GetRoutingProtocolDirectIpv4; + /** + * Routing Protocol Direct IPv6 + */ + directIpv6?: inputs.fabric.GetRoutingProtocolDirectIpv6; + /** + * Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + */ + name?: string; + type?: string; + uuid?: string; +} + +/** + * A collection of values returned by getRoutingProtocol. + */ +export interface GetRoutingProtocolResult { + /** + * Bidirectional Forwarding Detection + */ + readonly bfd?: outputs.fabric.GetRoutingProtocolBfd; + /** + * BGP authorization key + */ + readonly bgpAuthKey?: string; + /** + * Routing Protocol BGP IPv4 + */ + readonly bgpIpv4?: outputs.fabric.GetRoutingProtocolBgpIpv4; + /** + * Routing Protocol BGP IPv6 + */ + readonly bgpIpv6?: outputs.fabric.GetRoutingProtocolBgpIpv6; + /** + * Captures Routing Protocol lifecycle change information + */ + readonly changeLogs: outputs.fabric.GetRoutingProtocolChangeLog[]; + /** + * Routing Protocol configuration Changes + */ + readonly changes: outputs.fabric.GetRoutingProtocolChange[]; + /** + * Connection URI associated with Routing Protocol + */ + readonly connectionUuid: string; + /** + * Customer-provided ASN + */ + readonly customerAsn?: number; + /** + * Customer-provided Fabric Routing Protocol description + */ + readonly description?: string; + /** + * Routing Protocol Direct IPv4 + */ + readonly directIpv4?: outputs.fabric.GetRoutingProtocolDirectIpv4; + /** + * Routing Protocol Direct IPv6 + */ + readonly directIpv6?: outputs.fabric.GetRoutingProtocolDirectIpv6; + /** + * Equinix ASN + */ + readonly equinixAsn: number; + /** + * Routing Protocol URI information + */ + readonly href: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + */ + readonly name?: string; + /** + * Routing Protocol type-specific operational data + */ + readonly operations: outputs.fabric.GetRoutingProtocolOperation[]; + /** + * Routing Protocol overall state + */ + readonly state: string; + /** + * Defines the routing protocol type like BGP or DIRECT + */ + readonly type?: string; + /** + * Equinix-assigned routing protocol identifier + */ + readonly uuid: string; +} +export function getRoutingProtocolOutput(args: GetRoutingProtocolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getRoutingProtocol(a, opts)) +} + +/** + * A collection of arguments for invoking getRoutingProtocol. + */ +export interface GetRoutingProtocolOutputArgs { + /** + * Bidirectional Forwarding Detection + */ + bfd?: pulumi.Input; + /** + * BGP authorization key + */ + bgpAuthKey?: pulumi.Input; + /** + * Routing Protocol BGP IPv4 + */ + bgpIpv4?: pulumi.Input; + /** + * Routing Protocol BGP IPv6 + */ + bgpIpv6?: pulumi.Input; + /** + * Connection URI associated with Routing Protocol + */ + connectionUuid: pulumi.Input; + /** + * Customer-provided ASN + */ + customerAsn?: pulumi.Input; + /** + * Customer-provided Fabric Routing Protocol description + */ + description?: pulumi.Input; + /** + * Routing Protocol Direct IPv4 + */ + directIpv4?: pulumi.Input; + /** + * Routing Protocol Direct IPv6 + */ + directIpv6?: pulumi.Input; + /** + * Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + */ + name?: pulumi.Input; + type?: pulumi.Input; + uuid?: pulumi.Input; +} diff --git a/sdk/nodejs/fabric/getServiceProfile.ts b/sdk/nodejs/fabric/getServiceProfile.ts index 06aa2553..05707fb9 100644 --- a/sdk/nodejs/fabric/getServiceProfile.ts +++ b/sdk/nodejs/fabric/getServiceProfile.ts @@ -29,9 +29,6 @@ export interface GetServiceProfileArgs { * Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED */ state?: string; - /** - * Equinix assigned service profile identifier - */ uuid: string; } @@ -137,8 +134,5 @@ export interface GetServiceProfileOutputArgs { * Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED */ state?: pulumi.Input; - /** - * Equinix assigned service profile identifier - */ uuid: pulumi.Input; } diff --git a/sdk/nodejs/fabric/getServiceProfiles.ts b/sdk/nodejs/fabric/getServiceProfiles.ts index 8f749b6f..0f7a5213 100644 --- a/sdk/nodejs/fabric/getServiceProfiles.ts +++ b/sdk/nodejs/fabric/getServiceProfiles.ts @@ -14,6 +14,7 @@ export function getServiceProfiles(args?: GetServiceProfilesArgs, opts?: pulumi. return pulumi.runtime.invoke("equinix:fabric/getServiceProfiles:getServiceProfiles", { "filter": args.filter, "sort": args.sort, + "viewPoint": args.viewPoint, }, opts); } @@ -29,6 +30,10 @@ export interface GetServiceProfilesArgs { * Service Profile Sort criteria for Search Request response payload */ sort?: inputs.fabric.GetServiceProfilesSort[]; + /** + * Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + */ + viewPoint?: string; } /** @@ -51,6 +56,10 @@ export interface GetServiceProfilesResult { * Service Profile Sort criteria for Search Request response payload */ readonly sort?: outputs.fabric.GetServiceProfilesSort[]; + /** + * Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + */ + readonly viewPoint?: string; } export function getServiceProfilesOutput(args?: GetServiceProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getServiceProfiles(a, opts)) @@ -68,4 +77,8 @@ export interface GetServiceProfilesOutputArgs { * Service Profile Sort criteria for Search Request response payload */ sort?: pulumi.Input[]>; + /** + * Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + */ + viewPoint?: pulumi.Input; } diff --git a/sdk/nodejs/fabric/index.ts b/sdk/nodejs/fabric/index.ts index 29852f96..26424706 100644 --- a/sdk/nodejs/fabric/index.ts +++ b/sdk/nodejs/fabric/index.ts @@ -5,11 +5,21 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; // Export members: +export { CloudRouterArgs, CloudRouterState } from "./cloudRouter"; +export type CloudRouter = import("./cloudRouter").CloudRouter; +export const CloudRouter: typeof import("./cloudRouter").CloudRouter = null as any; +utilities.lazyLoad(exports, ["CloudRouter"], () => require("./cloudRouter")); + export { ConnectionArgs, ConnectionState } from "./connection"; export type Connection = import("./connection").Connection; export const Connection: typeof import("./connection").Connection = null as any; utilities.lazyLoad(exports, ["Connection"], () => require("./connection")); +export { GetCloudRouterArgs, GetCloudRouterResult, GetCloudRouterOutputArgs } from "./getCloudRouter"; +export const getCloudRouter: typeof import("./getCloudRouter").getCloudRouter = null as any; +export const getCloudRouterOutput: typeof import("./getCloudRouter").getCloudRouterOutput = null as any; +utilities.lazyLoad(exports, ["getCloudRouter","getCloudRouterOutput"], () => require("./getCloudRouter")); + export { GetConnectionArgs, GetConnectionResult, GetConnectionOutputArgs } from "./getConnection"; export const getConnection: typeof import("./getConnection").getConnection = null as any; export const getConnectionOutput: typeof import("./getConnection").getConnectionOutput = null as any; @@ -25,6 +35,11 @@ export const getPorts: typeof import("./getPorts").getPorts = null as any; export const getPortsOutput: typeof import("./getPorts").getPortsOutput = null as any; utilities.lazyLoad(exports, ["getPorts","getPortsOutput"], () => require("./getPorts")); +export { GetRoutingProtocolArgs, GetRoutingProtocolResult, GetRoutingProtocolOutputArgs } from "./getRoutingProtocol"; +export const getRoutingProtocol: typeof import("./getRoutingProtocol").getRoutingProtocol = null as any; +export const getRoutingProtocolOutput: typeof import("./getRoutingProtocol").getRoutingProtocolOutput = null as any; +utilities.lazyLoad(exports, ["getRoutingProtocol","getRoutingProtocolOutput"], () => require("./getRoutingProtocol")); + export { GetServiceProfileArgs, GetServiceProfileResult, GetServiceProfileOutputArgs } from "./getServiceProfile"; export const getServiceProfile: typeof import("./getServiceProfile").getServiceProfile = null as any; export const getServiceProfileOutput: typeof import("./getServiceProfile").getServiceProfileOutput = null as any; @@ -35,6 +50,11 @@ export const getServiceProfiles: typeof import("./getServiceProfiles").getServic export const getServiceProfilesOutput: typeof import("./getServiceProfiles").getServiceProfilesOutput = null as any; utilities.lazyLoad(exports, ["getServiceProfiles","getServiceProfilesOutput"], () => require("./getServiceProfiles")); +export { RoutingProtocolArgs, RoutingProtocolState } from "./routingProtocol"; +export type RoutingProtocol = import("./routingProtocol").RoutingProtocol; +export const RoutingProtocol: typeof import("./routingProtocol").RoutingProtocol = null as any; +utilities.lazyLoad(exports, ["RoutingProtocol"], () => require("./routingProtocol")); + export { ServiceProfileArgs, ServiceProfileState } from "./serviceProfile"; export type ServiceProfile = import("./serviceProfile").ServiceProfile; export const ServiceProfile: typeof import("./serviceProfile").ServiceProfile = null as any; @@ -48,8 +68,12 @@ const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { switch (type) { + case "equinix:fabric/cloudRouter:CloudRouter": + return new CloudRouter(name, undefined, { urn }) case "equinix:fabric/connection:Connection": return new Connection(name, undefined, { urn }) + case "equinix:fabric/routingProtocol:RoutingProtocol": + return new RoutingProtocol(name, undefined, { urn }) case "equinix:fabric/serviceProfile:ServiceProfile": return new ServiceProfile(name, undefined, { urn }) default: @@ -57,5 +81,7 @@ const _module = { } }, }; +pulumi.runtime.registerResourceModule("equinix", "fabric/cloudRouter", _module) pulumi.runtime.registerResourceModule("equinix", "fabric/connection", _module) +pulumi.runtime.registerResourceModule("equinix", "fabric/routingProtocol", _module) pulumi.runtime.registerResourceModule("equinix", "fabric/serviceProfile", _module) diff --git a/sdk/nodejs/fabric/routingProtocol.ts b/sdk/nodejs/fabric/routingProtocol.ts new file mode 100644 index 00000000..6302c91c --- /dev/null +++ b/sdk/nodejs/fabric/routingProtocol.ts @@ -0,0 +1,323 @@ +// *** 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"; + +/** + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as equinix from "@equinix-labs/pulumi-equinix"; + * + * const config = new pulumi.Config(); + * const connectionId = config.require("connectionId"); + * const routingProtocol = new equinix.fabric.RoutingProtocol("RoutingProtocol", { + * connectionUuid: connectionId, + * name: "My-Direct-route-1", + * type: "DIRECT", + * directIpv4: { + * equinixIfaceIp: "192.168.100.1/30", + * }, + * }); + * export const routingProtocolId = routingProtocol.id; + * export const routingProtocolState = routingProtocol.state; + * export const routingProtocolEquinixAsn = routingProtocol.equinixAsn; + * ``` + */ +export class RoutingProtocol extends pulumi.CustomResource { + /** + * Get an existing RoutingProtocol resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: RoutingProtocolState, opts?: pulumi.CustomResourceOptions): RoutingProtocol { + return new RoutingProtocol(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'equinix:fabric/routingProtocol:RoutingProtocol'; + + /** + * Returns true if the given object is an instance of RoutingProtocol. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is RoutingProtocol { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === RoutingProtocol.__pulumiType; + } + + /** + * Bidirectional Forwarding Detection + */ + public readonly bfd!: pulumi.Output; + /** + * BGP authorization key + */ + public readonly bgpAuthKey!: pulumi.Output; + /** + * Routing Protocol BGP IPv4 + */ + public readonly bgpIpv4!: pulumi.Output; + /** + * Routing Protocol BGP IPv6 + */ + public readonly bgpIpv6!: pulumi.Output; + /** + * Captures Routing Protocol lifecycle change information + */ + public /*out*/ readonly changeLogs!: pulumi.Output; + /** + * Routing Protocol configuration Changes + */ + public /*out*/ readonly changes!: pulumi.Output; + /** + * Connection URI associated with Routing Protocol + */ + public readonly connectionUuid!: pulumi.Output; + /** + * Customer-provided ASN + */ + public readonly customerAsn!: pulumi.Output; + /** + * Customer-provided Fabric Routing Protocol description + */ + public readonly description!: pulumi.Output; + /** + * Routing Protocol Direct IPv4 + */ + public readonly directIpv4!: pulumi.Output; + /** + * Routing Protocol Direct IPv6 + */ + public readonly directIpv6!: pulumi.Output; + /** + * Equinix ASN + */ + public /*out*/ readonly equinixAsn!: pulumi.Output; + /** + * Routing Protocol URI information + */ + public /*out*/ readonly href!: pulumi.Output; + /** + * Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + */ + public readonly name!: pulumi.Output; + /** + * Routing Protocol type-specific operational data + */ + public /*out*/ readonly operations!: pulumi.Output; + /** + * Routing Protocol overall state + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * Defines the routing protocol type like BGP or DIRECT + */ + public readonly type!: pulumi.Output; + /** + * Equinix-assigned routing protocol identifier + */ + public readonly uuid!: pulumi.Output; + + /** + * Create a RoutingProtocol resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: RoutingProtocolArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: RoutingProtocolArgs | RoutingProtocolState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as RoutingProtocolState | undefined; + resourceInputs["bfd"] = state ? state.bfd : undefined; + resourceInputs["bgpAuthKey"] = state ? state.bgpAuthKey : undefined; + resourceInputs["bgpIpv4"] = state ? state.bgpIpv4 : undefined; + resourceInputs["bgpIpv6"] = state ? state.bgpIpv6 : undefined; + resourceInputs["changeLogs"] = state ? state.changeLogs : undefined; + resourceInputs["changes"] = state ? state.changes : undefined; + resourceInputs["connectionUuid"] = state ? state.connectionUuid : undefined; + resourceInputs["customerAsn"] = state ? state.customerAsn : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["directIpv4"] = state ? state.directIpv4 : undefined; + resourceInputs["directIpv6"] = state ? state.directIpv6 : undefined; + resourceInputs["equinixAsn"] = state ? state.equinixAsn : undefined; + resourceInputs["href"] = state ? state.href : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["operations"] = state ? state.operations : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["type"] = state ? state.type : undefined; + resourceInputs["uuid"] = state ? state.uuid : undefined; + } else { + const args = argsOrState as RoutingProtocolArgs | undefined; + if ((!args || args.connectionUuid === undefined) && !opts.urn) { + throw new Error("Missing required property 'connectionUuid'"); + } + resourceInputs["bfd"] = args ? args.bfd : undefined; + resourceInputs["bgpAuthKey"] = args ? args.bgpAuthKey : undefined; + resourceInputs["bgpIpv4"] = args ? args.bgpIpv4 : undefined; + resourceInputs["bgpIpv6"] = args ? args.bgpIpv6 : undefined; + resourceInputs["connectionUuid"] = args ? args.connectionUuid : undefined; + resourceInputs["customerAsn"] = args ? args.customerAsn : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["directIpv4"] = args ? args.directIpv4 : undefined; + resourceInputs["directIpv6"] = args ? args.directIpv6 : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["type"] = args ? args.type : undefined; + resourceInputs["uuid"] = args ? args.uuid : undefined; + resourceInputs["changeLogs"] = undefined /*out*/; + resourceInputs["changes"] = undefined /*out*/; + resourceInputs["equinixAsn"] = undefined /*out*/; + resourceInputs["href"] = undefined /*out*/; + resourceInputs["operations"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(RoutingProtocol.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering RoutingProtocol resources. + */ +export interface RoutingProtocolState { + /** + * Bidirectional Forwarding Detection + */ + bfd?: pulumi.Input; + /** + * BGP authorization key + */ + bgpAuthKey?: pulumi.Input; + /** + * Routing Protocol BGP IPv4 + */ + bgpIpv4?: pulumi.Input; + /** + * Routing Protocol BGP IPv6 + */ + bgpIpv6?: pulumi.Input; + /** + * Captures Routing Protocol lifecycle change information + */ + changeLogs?: pulumi.Input[]>; + /** + * Routing Protocol configuration Changes + */ + changes?: pulumi.Input[]>; + /** + * Connection URI associated with Routing Protocol + */ + connectionUuid?: pulumi.Input; + /** + * Customer-provided ASN + */ + customerAsn?: pulumi.Input; + /** + * Customer-provided Fabric Routing Protocol description + */ + description?: pulumi.Input; + /** + * Routing Protocol Direct IPv4 + */ + directIpv4?: pulumi.Input; + /** + * Routing Protocol Direct IPv6 + */ + directIpv6?: pulumi.Input; + /** + * Equinix ASN + */ + equinixAsn?: pulumi.Input; + /** + * Routing Protocol URI information + */ + href?: pulumi.Input; + /** + * Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + */ + name?: pulumi.Input; + /** + * Routing Protocol type-specific operational data + */ + operations?: pulumi.Input[]>; + /** + * Routing Protocol overall state + */ + state?: pulumi.Input; + /** + * Defines the routing protocol type like BGP or DIRECT + */ + type?: pulumi.Input; + /** + * Equinix-assigned routing protocol identifier + */ + uuid?: pulumi.Input; +} + +/** + * The set of arguments for constructing a RoutingProtocol resource. + */ +export interface RoutingProtocolArgs { + /** + * Bidirectional Forwarding Detection + */ + bfd?: pulumi.Input; + /** + * BGP authorization key + */ + bgpAuthKey?: pulumi.Input; + /** + * Routing Protocol BGP IPv4 + */ + bgpIpv4?: pulumi.Input; + /** + * Routing Protocol BGP IPv6 + */ + bgpIpv6?: pulumi.Input; + /** + * Connection URI associated with Routing Protocol + */ + connectionUuid: pulumi.Input; + /** + * Customer-provided ASN + */ + customerAsn?: pulumi.Input; + /** + * Customer-provided Fabric Routing Protocol description + */ + description?: pulumi.Input; + /** + * Routing Protocol Direct IPv4 + */ + directIpv4?: pulumi.Input; + /** + * Routing Protocol Direct IPv6 + */ + directIpv6?: pulumi.Input; + /** + * Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + */ + name?: pulumi.Input; + /** + * Defines the routing protocol type like BGP or DIRECT + */ + type?: pulumi.Input; + /** + * Equinix-assigned routing protocol identifier + */ + uuid?: pulumi.Input; +} diff --git a/sdk/nodejs/fabric/serviceProfile.ts b/sdk/nodejs/fabric/serviceProfile.ts index afdad02e..bf68310b 100644 --- a/sdk/nodejs/fabric/serviceProfile.ts +++ b/sdk/nodejs/fabric/serviceProfile.ts @@ -109,11 +109,11 @@ export class ServiceProfile extends pulumi.CustomResource { */ public readonly customFields!: pulumi.Output; /** - * User-provided service description + * Description */ public readonly description!: pulumi.Output; /** - * Service Profile URI response attribute + * Unique Resource URL */ public /*out*/ readonly href!: pulumi.Output; /** @@ -125,7 +125,7 @@ export class ServiceProfile extends pulumi.CustomResource { */ public readonly metros!: pulumi.Output; /** - * Customer-assigned service profile name + * Metro Name */ public readonly name!: pulumi.Output; /** @@ -153,11 +153,11 @@ export class ServiceProfile extends pulumi.CustomResource { */ public readonly tags!: pulumi.Output; /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * Type of access point type config - VD, COLO */ public readonly type!: pulumi.Output; /** - * Equinix assigned service profile identifier + * Colo/Port Uuid */ public /*out*/ readonly uuid!: pulumi.Output; /** @@ -261,11 +261,11 @@ export interface ServiceProfileState { */ customFields?: pulumi.Input[]>; /** - * User-provided service description + * Description */ description?: pulumi.Input; /** - * Service Profile URI response attribute + * Unique Resource URL */ href?: pulumi.Input; /** @@ -277,7 +277,7 @@ export interface ServiceProfileState { */ metros?: pulumi.Input[]>; /** - * Customer-assigned service profile name + * Metro Name */ name?: pulumi.Input; /** @@ -305,11 +305,11 @@ export interface ServiceProfileState { */ tags?: pulumi.Input[]>; /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * Type of access point type config - VD, COLO */ type?: pulumi.Input; /** - * Equinix assigned service profile identifier + * Colo/Port Uuid */ uuid?: pulumi.Input; /** @@ -343,7 +343,7 @@ export interface ServiceProfileArgs { */ customFields?: pulumi.Input[]>; /** - * User-provided service description + * Description */ description: pulumi.Input; /** @@ -355,7 +355,7 @@ export interface ServiceProfileArgs { */ metros?: pulumi.Input[]>; /** - * Customer-assigned service profile name + * Metro Name */ name?: pulumi.Input; /** @@ -383,7 +383,7 @@ export interface ServiceProfileArgs { */ tags?: pulumi.Input[]>; /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * Type of access point type config - VD, COLO */ type: pulumi.Input; /** diff --git a/sdk/nodejs/metal/device.ts b/sdk/nodejs/metal/device.ts index 993a78df..c57da545 100644 --- a/sdk/nodejs/metal/device.ts +++ b/sdk/nodejs/metal/device.ts @@ -100,7 +100,7 @@ export class Device extends pulumi.CustomResource { */ public readonly customData!: pulumi.Output; /** - * The facility where the device is deployed + * (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ @@ -115,10 +115,11 @@ export class Device extends pulumi.CustomResource { */ public readonly description!: pulumi.Output; /** - * List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ @@ -195,10 +196,7 @@ export class Device extends pulumi.CustomResource { */ public readonly projectId!: pulumi.Output; /** - * Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. */ public readonly projectSshKeyIds!: pulumi.Output; /** @@ -245,7 +243,7 @@ export class Device extends pulumi.CustomResource { */ public readonly userData!: pulumi.Output; /** - * Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. */ public readonly userSshKeyIds!: pulumi.Output; /** @@ -399,7 +397,7 @@ export interface DeviceState { */ customData?: pulumi.Input; /** - * The facility where the device is deployed + * (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ @@ -414,10 +412,11 @@ export interface DeviceState { */ description?: pulumi.Input; /** - * List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ @@ -494,10 +493,7 @@ export interface DeviceState { */ projectId?: pulumi.Input; /** - * Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. */ projectSshKeyIds?: pulumi.Input[]>; /** @@ -544,7 +540,7 @@ export interface DeviceState { */ userData?: pulumi.Input; /** - * Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. */ userSshKeyIds?: pulumi.Input[]>; /** @@ -581,10 +577,11 @@ export interface DeviceArgs { */ description?: pulumi.Input; /** - * List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - * device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - * code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - * top of the page and see JSON from the API response. Conflicts with metro + * List of facility codes with deployment preferences. Equinix Metal API will go + * through the list and will deploy your device to first facility with free capacity. List items must + * be facility codes or `any` (a wildcard). To find the facility code, visit + * [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + * token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ @@ -635,10 +632,7 @@ export interface DeviceArgs { */ projectId: pulumi.Input; /** - * Array of IDs of the project SSH keys which should be added to the device. - * If you omit this, SSH keys of all the members of the parent project will be added to the device. If - * you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - * created with the equinix.metal.ProjectSshKey resource. + * Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the equinix.metal.ProjectSshKey resource. */ projectSshKeyIds?: pulumi.Input[]>; /** @@ -669,7 +663,7 @@ export interface DeviceArgs { */ userData?: pulumi.Input; /** - * Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the equinix.metal.SshKey resource + * Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both userSshKeysIds and projectSshKeyIds are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the equinix.metal.SshKey resource. */ userSshKeyIds?: pulumi.Input[]>; /** diff --git a/sdk/nodejs/metal/getDevice.ts b/sdk/nodejs/metal/getDevice.ts index cf352ee3..9e919548 100644 --- a/sdk/nodejs/metal/getDevice.ts +++ b/sdk/nodejs/metal/getDevice.ts @@ -8,7 +8,9 @@ import * as enums from "../types/enums"; import * as utilities from "../utilities"; /** - * Provides an Equinix Metal device datasource. + * The datasource can be used to fetch a single device. + * + * If you need to fetch a list of devices which meet filter criteria, you can use the equinix.metal.getDevices datasource. * * > **Note:** All arguments including the `rootPassword` and `userData` will be stored in * the raw state as plain-text. @@ -54,6 +56,8 @@ export function getDevice(args?: GetDeviceArgs, opts?: pulumi.InvokeOptions): Pr export interface GetDeviceArgs { /** * Device ID. + * + * > **NOTE:** You should pass either `deviceId`, or both `projectId` and `hostname`. */ deviceId?: string; /** @@ -93,6 +97,8 @@ export interface GetDeviceResult { readonly description: string; readonly deviceId: string; /** + * (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide + * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ readonly facility: string; @@ -153,7 +159,9 @@ export interface GetDeviceResult { readonly tags: string[]; } /** - * Provides an Equinix Metal device datasource. + * The datasource can be used to fetch a single device. + * + * If you need to fetch a list of devices which meet filter criteria, you can use the equinix.metal.getDevices datasource. * * > **Note:** All arguments including the `rootPassword` and `userData` will be stored in * the raw state as plain-text. @@ -192,6 +200,8 @@ export function getDeviceOutput(args?: GetDeviceOutputArgs, opts?: pulumi.Invoke export interface GetDeviceOutputArgs { /** * Device ID. + * + * > **NOTE:** You should pass either `deviceId`, or both `projectId` and `hostname`. */ deviceId?: pulumi.Input; /** diff --git a/sdk/nodejs/metal/getDevices.ts b/sdk/nodejs/metal/getDevices.ts new file mode 100644 index 00000000..fcc23c22 --- /dev/null +++ b/sdk/nodejs/metal/getDevices.ts @@ -0,0 +1,175 @@ +// *** 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"; + +/** + * The datasource can be used to find a list of devices which meet filter criteria. + * + * If you need to fetch a single device by ID or by project ID and hostname, use the equinix.metal.Device datasource. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as equinix from "@equinix-labs/pulumi-equinix"; + * + * const example = equinix.metal.getDevices({ + * projectId: local.project_id, + * filters: [ + * { + * attribute: "plan", + * values: ["c3.small.x86"], + * }, + * { + * attribute: "metro", + * values: [ + * "da", + * "sv", + * ], + * }, + * ], + * }); + * export const devices = example.then(example => example.devices); + * ``` + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as equinix from "@equinix-labs/pulumi-equinix"; + * + * const example = equinix.metal.getDevices({ + * search: "database", + * }); + * export const devices = example.then(example => example.devices); + * ``` + * ## search vs filter + * + * The difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The "filter" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider. + */ +export function getDevices(args?: GetDevicesArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("equinix:metal/getDevices:getDevices", { + "filters": args.filters, + "organizationId": args.organizationId, + "projectId": args.projectId, + "search": args.search, + "sorts": args.sorts, + }, opts); +} + +/** + * A collection of arguments for invoking getDevices. + */ +export interface GetDevicesArgs { + /** + * One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource. + */ + filters?: inputs.metal.GetDevicesFilter[]; + /** + * ID of organization containing the devices. + */ + organizationId?: string; + /** + * ID of project containing the devices. Exactly one of `projectId` and `organizationId` must be set. + */ + projectId?: string; + /** + * Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + */ + search?: string; + sorts?: inputs.metal.GetDevicesSort[]; +} + +/** + * A collection of values returned by getDevices. + */ +export interface GetDevicesResult { + /** + * list of resources with attributes like in the equninixMetalDevice datasources. + */ + readonly devices: outputs.metal.GetDevicesDevice[]; + readonly filters?: outputs.metal.GetDevicesFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly organizationId?: string; + readonly projectId?: string; + readonly search?: string; + readonly sorts?: outputs.metal.GetDevicesSort[]; +} +/** + * The datasource can be used to find a list of devices which meet filter criteria. + * + * If you need to fetch a single device by ID or by project ID and hostname, use the equinix.metal.Device datasource. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as equinix from "@equinix-labs/pulumi-equinix"; + * + * const example = equinix.metal.getDevices({ + * projectId: local.project_id, + * filters: [ + * { + * attribute: "plan", + * values: ["c3.small.x86"], + * }, + * { + * attribute: "metro", + * values: [ + * "da", + * "sv", + * ], + * }, + * ], + * }); + * export const devices = example.then(example => example.devices); + * ``` + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as equinix from "@equinix-labs/pulumi-equinix"; + * + * const example = equinix.metal.getDevices({ + * search: "database", + * }); + * export const devices = example.then(example => example.devices); + * ``` + * ## search vs filter + * + * The difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The "filter" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider. + */ +export function getDevicesOutput(args?: GetDevicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDevices(a, opts)) +} + +/** + * A collection of arguments for invoking getDevices. + */ +export interface GetDevicesOutputArgs { + /** + * One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `equinix.metal.Device` datasource. + */ + filters?: pulumi.Input[]>; + /** + * ID of organization containing the devices. + */ + organizationId?: pulumi.Input; + /** + * ID of project containing the devices. Exactly one of `projectId` and `organizationId` must be set. + */ + projectId?: pulumi.Input; + /** + * Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + */ + search?: pulumi.Input; + sorts?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/metal/getFacility.ts b/sdk/nodejs/metal/getFacility.ts index b87eef7c..75690144 100644 --- a/sdk/nodejs/metal/getFacility.ts +++ b/sdk/nodejs/metal/getFacility.ts @@ -7,6 +7,11 @@ import * as outputs from "../types/output"; import * as enums from "../types/enums"; import * as utilities from "../utilities"; +/** + * > **Deprecated** Use `equinix.metal.getMetro` instead. For more information, refer to the facility to metro migration guide. + * + * Provides an Equinix Metal facility datasource. + */ export function getFacility(args: GetFacilityArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -60,6 +65,11 @@ export interface GetFacilityResult { */ readonly name: string; } +/** + * > **Deprecated** Use `equinix.metal.getMetro` instead. For more information, refer to the facility to metro migration guide. + * + * Provides an Equinix Metal facility datasource. + */ export function getFacilityOutput(args: GetFacilityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getFacility(a, opts)) } diff --git a/sdk/nodejs/metal/getHardwareReservation.ts b/sdk/nodejs/metal/getHardwareReservation.ts index 28bd143b..186e8bf4 100644 --- a/sdk/nodejs/metal/getHardwareReservation.ts +++ b/sdk/nodejs/metal/getHardwareReservation.ts @@ -56,6 +56,8 @@ export interface GetHardwareReservationResult { */ readonly deviceId: string; /** + * (**Deprecated**) Facility for the reservation. Use metro instead; read the facility to metro migration guide + * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ readonly facility: string; diff --git a/sdk/nodejs/metal/getInterconnection.ts b/sdk/nodejs/metal/getInterconnection.ts index 36eacf4a..e88dd706 100644 --- a/sdk/nodejs/metal/getInterconnection.ts +++ b/sdk/nodejs/metal/getInterconnection.ts @@ -46,11 +46,17 @@ export interface GetInterconnectionArgs { */ export interface GetInterconnectionResult { readonly connectionId: string; + /** + * The preferred email used for communication and notifications about the Equinix Fabric interconnection. + */ + readonly contactEmail: string; /** * Description of the connection resource. */ readonly description: string; /** + * (**Deprecated**) Slug of a facility to which the connection belongs. Use metro instead; read the facility to metro migration guide + * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ readonly facility: string; diff --git a/sdk/nodejs/metal/getIpBlockRanges.ts b/sdk/nodejs/metal/getIpBlockRanges.ts index 49d8d9c8..6b1da69d 100644 --- a/sdk/nodejs/metal/getIpBlockRanges.ts +++ b/sdk/nodejs/metal/getIpBlockRanges.ts @@ -39,6 +39,9 @@ export function getIpBlockRanges(args: GetIpBlockRangesArgs, opts?: pulumi.Invok */ export interface GetIpBlockRangesArgs { /** + * Facility code filtering the IP blocks. Global IPv4 blocks will be listed + * anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide + * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ facility?: string; @@ -113,6 +116,9 @@ export function getIpBlockRangesOutput(args: GetIpBlockRangesOutputArgs, opts?: */ export interface GetIpBlockRangesOutputArgs { /** + * Facility code filtering the IP blocks. Global IPv4 blocks will be listed + * anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide + * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ facility?: pulumi.Input; diff --git a/sdk/nodejs/metal/getOperatingSystem.ts b/sdk/nodejs/metal/getOperatingSystem.ts index 236d56e6..c3afb5f4 100644 --- a/sdk/nodejs/metal/getOperatingSystem.ts +++ b/sdk/nodejs/metal/getOperatingSystem.ts @@ -22,7 +22,7 @@ import * as utilities from "../utilities"; * hostname: "tf.ubuntu", * plan: "c3.medium.x86", * metro: "ny", - * operatingSystem: example.then(example => example.id).apply((x) => @equinix-labs/pulumi-equinix.metal.operatingsystem.OperatingSystem[x]), + * operatingSystem: example.then(example => example.id).apply((x) => equinix.metal.operatingsystem.OperatingSystem[x]), * billingCycle: "hourly", * projectId: local.project_id, * }); @@ -97,7 +97,7 @@ export interface GetOperatingSystemResult { * hostname: "tf.ubuntu", * plan: "c3.medium.x86", * metro: "ny", - * operatingSystem: example.then(example => example.id).apply((x) => @equinix-labs/pulumi-equinix.metal.operatingsystem.OperatingSystem[x]), + * operatingSystem: example.then(example => example.id).apply((x) => equinix.metal.operatingsystem.OperatingSystem[x]), * billingCycle: "hourly", * projectId: local.project_id, * }); diff --git a/sdk/nodejs/metal/getOrganization.ts b/sdk/nodejs/metal/getOrganization.ts index 3c269193..f85e2b5c 100644 --- a/sdk/nodejs/metal/getOrganization.ts +++ b/sdk/nodejs/metal/getOrganization.ts @@ -42,6 +42,8 @@ export interface GetOrganizationArgs { name?: string; /** * The UUID of the organization resource. + * + * Exactly one of `name` or `organizationId` must be given. */ organizationId?: string; } @@ -110,6 +112,8 @@ export interface GetOrganizationOutputArgs { name?: pulumi.Input; /** * The UUID of the organization resource. + * + * Exactly one of `name` or `organizationId` must be given. */ organizationId?: pulumi.Input; } diff --git a/sdk/nodejs/metal/getPrecreatedIpBlock.ts b/sdk/nodejs/metal/getPrecreatedIpBlock.ts index 223b6583..60161012 100644 --- a/sdk/nodejs/metal/getPrecreatedIpBlock.ts +++ b/sdk/nodejs/metal/getPrecreatedIpBlock.ts @@ -35,6 +35,9 @@ export interface GetPrecreatedIpBlockArgs { * 4 or 6, depending on which block you are looking for. */ addressFamily: number; + /** + * Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide + */ facility?: string; /** * Whether to look for global block. Default is false for backward compatibility. @@ -105,6 +108,9 @@ export interface GetPrecreatedIpBlockOutputArgs { * 4 or 6, depending on which block you are looking for. */ addressFamily: pulumi.Input; + /** + * Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide + */ facility?: pulumi.Input; /** * Whether to look for global block. Default is false for backward compatibility. diff --git a/sdk/nodejs/metal/getProjectSshKey.ts b/sdk/nodejs/metal/getProjectSshKey.ts index 7a51ec3c..6b02198d 100644 --- a/sdk/nodejs/metal/getProjectSshKey.ts +++ b/sdk/nodejs/metal/getProjectSshKey.ts @@ -39,6 +39,8 @@ export interface GetProjectSshKeyArgs { id?: string; /** * The Equinix Metal project id of the Equinix Metal SSH Key. + * + * > **NOTE:** One of either `search` or `id` must be provided along with `projectId`. */ projectId: string; /** @@ -115,6 +117,8 @@ export interface GetProjectSshKeyOutputArgs { id?: pulumi.Input; /** * The Equinix Metal project id of the Equinix Metal SSH Key. + * + * > **NOTE:** One of either `search` or `id` must be provided along with `projectId`. */ projectId: pulumi.Input; /** diff --git a/sdk/nodejs/metal/getReservedIpBlock.ts b/sdk/nodejs/metal/getReservedIpBlock.ts index 39f5aa85..d520193b 100644 --- a/sdk/nodejs/metal/getReservedIpBlock.ts +++ b/sdk/nodejs/metal/getReservedIpBlock.ts @@ -33,6 +33,8 @@ export interface GetReservedIpBlockArgs { id?: string; /** * Block containing this IP address will be returned. + * + * > **NOTE:** You should pass either `id`, or both `projectId` and `ipAddress`. */ ipAddress?: string; /** @@ -93,6 +95,8 @@ export interface GetReservedIpBlockOutputArgs { id?: pulumi.Input; /** * Block containing this IP address will be returned. + * + * > **NOTE:** You should pass either `id`, or both `projectId` and `ipAddress`. */ ipAddress?: pulumi.Input; /** diff --git a/sdk/nodejs/metal/getSpotMarketPrice.ts b/sdk/nodejs/metal/getSpotMarketPrice.ts index 28dc51e6..2b44ffe9 100644 --- a/sdk/nodejs/metal/getSpotMarketPrice.ts +++ b/sdk/nodejs/metal/getSpotMarketPrice.ts @@ -36,6 +36,8 @@ export function getSpotMarketPrice(args: GetSpotMarketPriceArgs, opts?: pulumi.I */ export interface GetSpotMarketPriceArgs { /** + * Name of the facility. Use metro instead; read the facility to metro migration guide + * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ facility?: string; @@ -94,6 +96,8 @@ export function getSpotMarketPriceOutput(args: GetSpotMarketPriceOutputArgs, opt */ export interface GetSpotMarketPriceOutputArgs { /** + * Name of the facility. Use metro instead; read the facility to metro migration guide + * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ facility?: pulumi.Input; diff --git a/sdk/nodejs/metal/getSpotMarketRequest.ts b/sdk/nodejs/metal/getSpotMarketRequest.ts index fec45736..7dff44b5 100644 --- a/sdk/nodejs/metal/getSpotMarketRequest.ts +++ b/sdk/nodejs/metal/getSpotMarketRequest.ts @@ -43,6 +43,8 @@ export interface GetSpotMarketRequestResult { */ readonly endAt: string; /** + * (**Deprecated**) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide + * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ readonly facilities: string[]; diff --git a/sdk/nodejs/metal/getVlan.ts b/sdk/nodejs/metal/getVlan.ts index 32c603ae..58eb7d48 100644 --- a/sdk/nodejs/metal/getVlan.ts +++ b/sdk/nodejs/metal/getVlan.ts @@ -64,6 +64,8 @@ export interface GetVlanArgs { facility?: string; /** * Metro where the VLAN is deployed. + * + * > **NOTE:** You must set either `vlanId` or a combination of `vxlan`, `projectId`, and, `metro` or `facility`. */ metro?: string; /** @@ -156,6 +158,8 @@ export interface GetVlanOutputArgs { facility?: pulumi.Input; /** * Metro where the VLAN is deployed. + * + * > **NOTE:** You must set either `vlanId` or a combination of `vxlan`, `projectId`, and, `metro` or `facility`. */ metro?: pulumi.Input; /** diff --git a/sdk/nodejs/metal/index.ts b/sdk/nodejs/metal/index.ts index ce018f12..da4d3f6c 100644 --- a/sdk/nodejs/metal/index.ts +++ b/sdk/nodejs/metal/index.ts @@ -35,6 +35,11 @@ export const getDeviceBgpNeighbors: typeof import("./getDeviceBgpNeighbors").get export const getDeviceBgpNeighborsOutput: typeof import("./getDeviceBgpNeighbors").getDeviceBgpNeighborsOutput = null as any; utilities.lazyLoad(exports, ["getDeviceBgpNeighbors","getDeviceBgpNeighborsOutput"], () => require("./getDeviceBgpNeighbors")); +export { GetDevicesArgs, GetDevicesResult, GetDevicesOutputArgs } from "./getDevices"; +export const getDevices: typeof import("./getDevices").getDevices = null as any; +export const getDevicesOutput: typeof import("./getDevices").getDevicesOutput = null as any; +utilities.lazyLoad(exports, ["getDevices","getDevicesOutput"], () => require("./getDevices")); + export { GetFacilityArgs, GetFacilityResult, GetFacilityOutputArgs } from "./getFacility"; export const getFacility: typeof import("./getFacility").getFacility = null as any; export const getFacilityOutput: typeof import("./getFacility").getFacilityOutput = null as any; diff --git a/sdk/nodejs/metal/interconnection.ts b/sdk/nodejs/metal/interconnection.ts index b3d398bf..849a85f4 100644 --- a/sdk/nodejs/metal/interconnection.ts +++ b/sdk/nodejs/metal/interconnection.ts @@ -63,12 +63,16 @@ export class Interconnection extends pulumi.CustomResource { return obj['__pulumiType'] === Interconnection.__pulumiType; } + /** + * The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + */ + public readonly contactEmail!: pulumi.Output; /** * Description for the connection resource. */ public readonly description!: pulumi.Output; /** - * Facility where the connection will be created + * Facility where the connection will be created. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ @@ -151,6 +155,7 @@ export class Interconnection extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as InterconnectionState | undefined; + resourceInputs["contactEmail"] = state ? state.contactEmail : undefined; resourceInputs["description"] = state ? state.description : undefined; resourceInputs["facility"] = state ? state.facility : undefined; resourceInputs["metro"] = state ? state.metro : undefined; @@ -173,12 +178,10 @@ export class Interconnection extends pulumi.CustomResource { if ((!args || args.redundancy === undefined) && !opts.urn) { throw new Error("Missing required property 'redundancy'"); } - if ((!args || args.speed === undefined) && !opts.urn) { - throw new Error("Missing required property 'speed'"); - } if ((!args || args.type === undefined) && !opts.urn) { throw new Error("Missing required property 'type'"); } + resourceInputs["contactEmail"] = args ? args.contactEmail : undefined; resourceInputs["description"] = args ? args.description : undefined; resourceInputs["facility"] = args ? args.facility : undefined; resourceInputs["metro"] = args ? args.metro : undefined; @@ -206,12 +209,16 @@ export class Interconnection extends pulumi.CustomResource { * Input properties used for looking up and filtering Interconnection resources. */ export interface InterconnectionState { + /** + * The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + */ + contactEmail?: pulumi.Input; /** * Description for the connection resource. */ description?: pulumi.Input; /** - * Facility where the connection will be created + * Facility where the connection will be created. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ @@ -286,12 +293,16 @@ export interface InterconnectionState { * The set of arguments for constructing a Interconnection resource. */ export interface InterconnectionArgs { + /** + * The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + */ + contactEmail?: pulumi.Input; /** * Description for the connection resource. */ description?: pulumi.Input; /** - * Facility where the connection will be created + * Facility where the connection will be created. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ @@ -327,7 +338,7 @@ export interface InterconnectionArgs { /** * Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps. */ - speed: pulumi.Input; + speed?: pulumi.Input; /** * String list of tags. */ diff --git a/sdk/nodejs/metal/project.ts b/sdk/nodejs/metal/project.ts index d7537a96..5905dc8b 100644 --- a/sdk/nodejs/metal/project.ts +++ b/sdk/nodejs/metal/project.ts @@ -69,6 +69,9 @@ export class Project extends pulumi.CustomResource { public readonly backendTransfer!: pulumi.Output; /** * Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + * + * > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + * the Equinix Metal API). It can be updated. */ public readonly bgpConfig!: pulumi.Output; /** @@ -76,12 +79,12 @@ export class Project extends pulumi.CustomResource { */ public /*out*/ readonly created!: pulumi.Output; /** - * The name of the project. + * The name of the project. The maximum length is 80 characters */ public readonly name!: pulumi.Output; /** * The UUID of organization under which you want to create the project. If you - * leave it out, the project will be create under your the default organization of your account. + * leave it out, the project will be created under your the default organization of your account. */ public readonly organizationId!: pulumi.Output; /** @@ -139,6 +142,9 @@ export interface ProjectState { backendTransfer?: pulumi.Input; /** * Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + * + * > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + * the Equinix Metal API). It can be updated. */ bgpConfig?: pulumi.Input; /** @@ -146,12 +152,12 @@ export interface ProjectState { */ created?: pulumi.Input; /** - * The name of the project. + * The name of the project. The maximum length is 80 characters */ name?: pulumi.Input; /** * The UUID of organization under which you want to create the project. If you - * leave it out, the project will be create under your the default organization of your account. + * leave it out, the project will be created under your the default organization of your account. */ organizationId?: pulumi.Input; /** @@ -175,15 +181,18 @@ export interface ProjectArgs { backendTransfer?: pulumi.Input; /** * Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + * + * > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + * the Equinix Metal API). It can be updated. */ bgpConfig?: pulumi.Input; /** - * The name of the project. + * The name of the project. The maximum length is 80 characters */ name?: pulumi.Input; /** * The UUID of organization under which you want to create the project. If you - * leave it out, the project will be create under your the default organization of your account. + * leave it out, the project will be created under your the default organization of your account. */ organizationId?: pulumi.Input; /** diff --git a/sdk/nodejs/metal/reservedIpBlock.ts b/sdk/nodejs/metal/reservedIpBlock.ts index 02d31f81..df05ebf7 100644 --- a/sdk/nodejs/metal/reservedIpBlock.ts +++ b/sdk/nodejs/metal/reservedIpBlock.ts @@ -99,8 +99,8 @@ export class ReservedIpBlock extends pulumi.CustomResource { */ public readonly description!: pulumi.Output; /** - * Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * Facility where to allocate the public IP address block, makes sense only + * if type is `publicIpv4` and must be empty if type is `globalIpv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide */ public readonly facility!: pulumi.Output; public /*out*/ readonly gateway!: pulumi.Output; @@ -247,8 +247,8 @@ export interface ReservedIpBlockState { */ description?: pulumi.Input; /** - * Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * Facility where to allocate the public IP address block, makes sense only + * if type is `publicIpv4` and must be empty if type is `globalIpv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide */ facility?: pulumi.Input; gateway?: pulumi.Input; @@ -321,8 +321,8 @@ export interface ReservedIpBlockArgs { */ description?: pulumi.Input; /** - * Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - * type==global_ipv4, conflicts with metro + * Facility where to allocate the public IP address block, makes sense only + * if type is `publicIpv4` and must be empty if type is `globalIpv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide */ facility?: pulumi.Input; /** diff --git a/sdk/nodejs/metal/spotMarketRequest.ts b/sdk/nodejs/metal/spotMarketRequest.ts index 2aef252d..30b4e837 100644 --- a/sdk/nodejs/metal/spotMarketRequest.ts +++ b/sdk/nodejs/metal/spotMarketRequest.ts @@ -78,7 +78,7 @@ export class SpotMarketRequest extends pulumi.CustomResource { */ public readonly devicesMin!: pulumi.Output; /** - * Facility IDs where devices should be created + * Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ @@ -86,7 +86,7 @@ export class SpotMarketRequest extends pulumi.CustomResource { /** * Key/Value pairs of parameters for devices provisioned from * this request. Valid keys are: `billingCycle`, `plan`, `operatingSystem`, `hostname`, - * `termintationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, + * `terminationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, * `userSshKeys`, `userdata`, `customdata`, `ipxeScriptUrl`, `tags`. You can find each parameter * description in equinix.metal.Device docs. */ @@ -174,7 +174,7 @@ export interface SpotMarketRequestState { */ devicesMin?: pulumi.Input; /** - * Facility IDs where devices should be created + * Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ @@ -182,7 +182,7 @@ export interface SpotMarketRequestState { /** * Key/Value pairs of parameters for devices provisioned from * this request. Valid keys are: `billingCycle`, `plan`, `operatingSystem`, `hostname`, - * `termintationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, + * `terminationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, * `userSshKeys`, `userdata`, `customdata`, `ipxeScriptUrl`, `tags`. You can find each parameter * description in equinix.metal.Device docs. */ @@ -219,7 +219,7 @@ export interface SpotMarketRequestArgs { */ devicesMin: pulumi.Input; /** - * Facility IDs where devices should be created + * Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ @@ -227,7 +227,7 @@ export interface SpotMarketRequestArgs { /** * Key/Value pairs of parameters for devices provisioned from * this request. Valid keys are: `billingCycle`, `plan`, `operatingSystem`, `hostname`, - * `termintationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, + * `terminationTime`, `alwaysPxe`, `description`, `features`, `locked`, `projectSshKeys`, * `userSshKeys`, `userdata`, `customdata`, `ipxeScriptUrl`, `tags`. You can find each parameter * description in equinix.metal.Device docs. */ diff --git a/sdk/nodejs/metal/vlan.ts b/sdk/nodejs/metal/vlan.ts index 767b7d70..82c9ac16 100644 --- a/sdk/nodejs/metal/vlan.ts +++ b/sdk/nodejs/metal/vlan.ts @@ -71,7 +71,7 @@ export class Vlan extends pulumi.CustomResource { */ public readonly description!: pulumi.Output; /** - * Facility where to create the VLAN + * Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ @@ -132,7 +132,7 @@ export interface VlanState { */ description?: pulumi.Input; /** - * Facility where to create the VLAN + * Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ @@ -160,7 +160,7 @@ export interface VlanArgs { */ description?: pulumi.Input; /** - * Facility where to create the VLAN + * Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide * * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices */ diff --git a/sdk/nodejs/networkedge/aclTemplate.ts b/sdk/nodejs/networkedge/aclTemplate.ts index 9f8f5f14..9aa33553 100644 --- a/sdk/nodejs/networkedge/aclTemplate.ts +++ b/sdk/nodejs/networkedge/aclTemplate.ts @@ -97,6 +97,8 @@ export class AclTemplate extends pulumi.CustomResource { /** * One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. + * + * The `inboundRule` block has below fields: */ public readonly inboundRules!: pulumi.Output; /** @@ -180,6 +182,8 @@ export interface AclTemplateState { /** * One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. + * + * The `inboundRule` block has below fields: */ inboundRules?: pulumi.Input[]>; /** @@ -209,6 +213,8 @@ export interface AclTemplateArgs { /** * One or more rules to specify allowed inbound traffic. * Rules are ordered, matching traffic rule stops processing subsequent ones. + * + * The `inboundRule` block has below fields: */ inboundRules: pulumi.Input[]>; /** diff --git a/sdk/nodejs/networkedge/device.ts b/sdk/nodejs/networkedge/device.ts index df9ea8ba..aed284c3 100644 --- a/sdk/nodejs/networkedge/device.ts +++ b/sdk/nodejs/networkedge/device.ts @@ -138,6 +138,11 @@ export class Device extends pulumi.CustomResource { * Cluster Details below for more details. */ public readonly clusterDetails!: pulumi.Output; + /** + * Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + * If not specified, default will be INTERNET-ACCESS + */ + public readonly connectivity!: pulumi.Output; /** * Number of CPU cores used by device. */ @@ -308,6 +313,7 @@ export class Device extends pulumi.CustomResource { resourceInputs["byol"] = state ? state.byol : undefined; resourceInputs["cloudInitFileId"] = state ? state.cloudInitFileId : undefined; resourceInputs["clusterDetails"] = state ? state.clusterDetails : undefined; + resourceInputs["connectivity"] = state ? state.connectivity : undefined; resourceInputs["coreCount"] = state ? state.coreCount : undefined; resourceInputs["hostname"] = state ? state.hostname : undefined; resourceInputs["ibx"] = state ? state.ibx : undefined; @@ -374,6 +380,7 @@ export class Device extends pulumi.CustomResource { resourceInputs["byol"] = args ? args.byol : undefined; resourceInputs["cloudInitFileId"] = args ? args.cloudInitFileId : undefined; resourceInputs["clusterDetails"] = args ? args.clusterDetails : undefined; + resourceInputs["connectivity"] = args ? args.connectivity : undefined; resourceInputs["coreCount"] = args ? args.coreCount : undefined; resourceInputs["hostname"] = args ? args.hostname : undefined; resourceInputs["interfaceCount"] = args ? args.interfaceCount : undefined; @@ -450,6 +457,11 @@ export interface DeviceState { * Cluster Details below for more details. */ clusterDetails?: pulumi.Input; + /** + * Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + * If not specified, default will be INTERNET-ACCESS + */ + connectivity?: pulumi.Input; /** * Number of CPU cores used by device. */ @@ -632,6 +644,11 @@ export interface DeviceArgs { * Cluster Details below for more details. */ clusterDetails?: pulumi.Input; + /** + * Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + * If not specified, default will be INTERNET-ACCESS + */ + connectivity?: pulumi.Input; /** * Number of CPU cores used by device. */ diff --git a/sdk/nodejs/networkedge/getDevice.ts b/sdk/nodejs/networkedge/getDevice.ts index cfafb178..b83f3371 100644 --- a/sdk/nodejs/networkedge/getDevice.ts +++ b/sdk/nodejs/networkedge/getDevice.ts @@ -49,6 +49,8 @@ export interface GetDeviceArgs { uuid?: string; /** * Device states to be considered valid when searching for a device by name + * + * NOTE: Exactly one of either `uuid` or `name` must be specified. */ validStatusList?: string; } @@ -69,6 +71,10 @@ export interface GetDeviceResult { readonly asn: number; readonly byol: boolean; readonly clusterDetails: outputs.networkedge.GetDeviceClusterDetail[]; + /** + * Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT) + */ + readonly connectivity: string; readonly coreCount: number; readonly hostname: string; /** @@ -104,6 +110,7 @@ export interface GetDeviceResult { * * APPLIED * * WAITING_FOR_CLUSTER_SETUP * * REGISTRATION_FAILED + * * NA */ readonly licenseStatus: string; readonly licenseToken: string; @@ -207,6 +214,8 @@ export interface GetDeviceOutputArgs { uuid?: pulumi.Input; /** * Device states to be considered valid when searching for a device by name + * + * NOTE: Exactly one of either `uuid` or `name` must be specified. */ validStatusList?: pulumi.Input; } diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index 4436c2f4..8043abad 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -11,8 +11,7 @@ "repository": "https://github.com/equinix/pulumi-equinix", "license": "Apache-2.0", "scripts": { - "build": "tsc", - "install": "node scripts/install-pulumi-plugin.js resource equinix ${VERSION}" + "build": "tsc" }, "dependencies": { "@pulumi/pulumi": "^3.0.0" diff --git a/sdk/nodejs/provider.ts b/sdk/nodejs/provider.ts index ecd23286..ad8dda2b 100644 --- a/sdk/nodejs/provider.ts +++ b/sdk/nodejs/provider.ts @@ -22,7 +22,7 @@ export class Provider extends pulumi.ProviderResource { if (obj === undefined || obj === null) { return false; } - return obj['__pulumiType'] === Provider.__pulumiType; + return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType; } /** diff --git a/sdk/nodejs/scripts/install-pulumi-plugin.js b/sdk/nodejs/scripts/install-pulumi-plugin.js deleted file mode 100644 index 53beb076..00000000 --- a/sdk/nodejs/scripts/install-pulumi-plugin.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -var childProcess = require("child_process"); - -var args = process.argv.slice(2); - -if (args.indexOf("${VERSION}") !== -1) { - process.exit(0); -} - -var res = childProcess.spawnSync("pulumi", ["plugin", "install", "--server", "github://api.github.com/equinix"].concat(args), { - stdio: ["ignore", "inherit", "inherit"] -}); - -if (res.error && res.error.code === "ENOENT") { - console.error("\nThere was an error installing the resource provider plugin. " + - "It looks like `pulumi` is not installed on your system. " + - "Please visit https://pulumi.com/ to install the Pulumi CLI.\n" + - "You may try manually installing the plugin by running " + - "`pulumi plugin install " + args.join(" ") + "`"); -} else if (res.error || res.status !== 0) { - console.error("\nThere was an error installing the resource provider plugin. " + - "You may try to manually installing the plugin by running " + - "`pulumi plugin install " + args.join(" ") + "`"); -} - -process.exit(0); diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 246fcac2..2f8d4f25 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -15,13 +15,17 @@ "files": [ "config/index.ts", "config/vars.ts", + "fabric/cloudRouter.ts", "fabric/connection.ts", + "fabric/getCloudRouter.ts", "fabric/getConnection.ts", "fabric/getPort.ts", "fabric/getPorts.ts", + "fabric/getRoutingProtocol.ts", "fabric/getServiceProfile.ts", "fabric/getServiceProfiles.ts", "fabric/index.ts", + "fabric/routingProtocol.ts", "fabric/serviceProfile.ts", "index.ts", "metal/bgpSession.ts", @@ -30,6 +34,7 @@ "metal/gateway.ts", "metal/getDevice.ts", "metal/getDeviceBgpNeighbors.ts", + "metal/getDevices.ts", "metal/getFacility.ts", "metal/getGateway.ts", "metal/getHardwareReservation.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index b8334510..0f6d3253 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -7,6 +7,99 @@ import * as outputs from "../types/output"; import * as enums from "../types/enums"; export namespace fabric { + export interface CloudRouterAccount { + /** + * Account Number + */ + accountNumber?: pulumi.Input; + } + + export interface CloudRouterChangeLog { + createdBy?: pulumi.Input; + createdByEmail?: pulumi.Input; + createdByFullName?: pulumi.Input; + createdDateTime?: pulumi.Input; + deletedBy?: pulumi.Input; + deletedByEmail?: pulumi.Input; + deletedByFullName?: pulumi.Input; + deletedDateTime?: pulumi.Input; + updatedBy?: pulumi.Input; + updatedByEmail?: pulumi.Input; + updatedByFullName?: pulumi.Input; + updatedDateTime?: pulumi.Input; + } + + export interface CloudRouterLocation { + /** + * IBX Code + */ + ibx?: pulumi.Input; + /** + * Access point metro code + */ + metroCode?: pulumi.Input; + /** + * Access point metro name + */ + metroName?: pulumi.Input; + /** + * Access point region + */ + region?: pulumi.Input; + } + + export interface CloudRouterNotification { + /** + * Array of contact emails + */ + emails: pulumi.Input[]>; + /** + * Send interval + */ + sendInterval?: pulumi.Input; + /** + * Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + */ + type: pulumi.Input; + } + + export interface CloudRouterOrder { + /** + * Billing tier for connection bandwidth + */ + billingTier?: pulumi.Input; + /** + * Order Identification + */ + orderId?: pulumi.Input; + /** + * Order Reference Number + */ + orderNumber?: pulumi.Input; + /** + * Purchase order number + */ + purchaseOrderNumber?: pulumi.Input; + } + + export interface CloudRouterPackage { + /** + * Fabric Cloud Router package code + */ + code: pulumi.Input; + } + + export interface CloudRouterProject { + /** + * Unique Resource URL + */ + href?: pulumi.Input; + /** + * Project Id + */ + projectId?: pulumi.Input; + } + export interface ConnectionASide { /** * Point of access details @@ -24,24 +117,65 @@ export namespace fabric { export interface ConnectionASideAccessPoint { /** - * Customer account information that is associated with this connection + * Account */ account?: pulumi.Input; + /** + * Authentication key for provider based connections + */ authenticationKey?: pulumi.Input; + /** + * @deprecated use router attribute instead; gateway is no longer a part of the supported backend + */ gateway?: pulumi.Input; + /** + * Virtual device interface + */ interface?: pulumi.Input; + /** + * Connection link protocol + */ linkProtocol?: pulumi.Input; + /** + * Access point location + */ location?: pulumi.Input; + network?: pulumi.Input; + /** + * Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + */ peeringType?: pulumi.Input; + /** + * Port access point information + */ port?: pulumi.Input; + /** + * Service Profile + */ profile?: pulumi.Input; + /** + * Provider assigned Connection Id + */ providerConnectionId?: pulumi.Input; + /** + * Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + */ + router?: pulumi.Input; + /** + * Access point routing protocols configuration + */ routingProtocols?: pulumi.Input[]>; + /** + * Access point seller region + */ sellerRegion?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Virtual device + */ virtualDevice?: pulumi.Input; } @@ -57,54 +191,95 @@ export namespace fabric { export interface ConnectionASideAccessPointGateway { /** - * Connection URI information + * Unique Resource Identifier */ href?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } export interface ConnectionASideAccessPointInterface { /** - * The ID of this resource. + * id */ id?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } export interface ConnectionASideAccessPointLinkProtocol { /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Vlan Customer Tag information, vlanCTag value specified for QINQ connections + */ vlanCTag?: pulumi.Input; + /** + * Vlan Provider Tag information, vlanSTag value specified for QINQ connections + */ vlanSTag?: pulumi.Input; + /** + * Vlan Tag information, vlanTag value specified for DOT1Q connections + */ vlanTag?: pulumi.Input; } export interface ConnectionASideAccessPointLocation { + /** + * IBX Code + */ ibx?: pulumi.Input; + /** + * Access point metro code + */ metroCode?: pulumi.Input; + /** + * Access point metro name + */ metroName?: pulumi.Input; + /** + * Access point region + */ region?: pulumi.Input; } + export interface ConnectionASideAccessPointNetwork { + /** + * Unique Resource Identifier + */ + href?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ + uuid?: pulumi.Input; + } + export interface ConnectionASideAccessPointPort { /** - * Connection URI information + * Unique Resource Identifier */ href?: pulumi.Input; /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name */ name?: pulumi.Input; /** * Redundancy Information */ redundancies?: pulumi.Input[]>; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } @@ -116,52 +291,81 @@ export namespace fabric { } export interface ConnectionASideAccessPointProfile { + /** + * Access point config information + */ accessPointTypeConfigs?: pulumi.Input[]>; + /** + * User-provided service description + */ description?: pulumi.Input; /** - * Connection URI information + * Unique Resource Identifier */ href?: pulumi.Input; /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name */ name?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid: pulumi.Input; } export interface ConnectionASideAccessPointProfileAccessPointTypeConfig { /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ + uuid?: pulumi.Input; + } + + export interface ConnectionASideAccessPointRouter { + /** + * Unique Resource Identifier + */ + href?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } export interface ConnectionASideAccessPointRoutingProtocol { /** - * Connection overall state + * Routing protocol instance state */ state?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } export interface ConnectionASideAccessPointVirtualDevice { /** - * Connection URI information + * Unique Resource Identifier */ href?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } @@ -177,15 +381,21 @@ export namespace fabric { } export interface ConnectionASideServiceToken { + /** + * User-provided service description + */ description?: pulumi.Input; /** - * Connection URI information + * Unique Resource Identifier */ href?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } @@ -199,17 +409,6 @@ export namespace fabric { organizationName?: pulumi.Input; } - export interface ConnectionAdditionalInfo { - /** - * Additional information key - */ - key?: pulumi.Input; - /** - * Additional information value - */ - value?: pulumi.Input; - } - export interface ConnectionChangeLog { createdBy?: pulumi.Input; createdByEmail?: pulumi.Input; @@ -248,7 +447,7 @@ export namespace fabric { export interface ConnectionOperationError { /** - * Connection additional information + * Connection side additional information */ additionalInfo?: pulumi.Input[]>; correlationId?: pulumi.Input; @@ -321,24 +520,65 @@ export namespace fabric { export interface ConnectionZSideAccessPoint { /** - * Customer account information that is associated with this connection + * Account */ account?: pulumi.Input; + /** + * Authentication key for provider based connections + */ authenticationKey?: pulumi.Input; + /** + * @deprecated use router attribute instead; gateway is no longer a part of the supported backend + */ gateway?: pulumi.Input; + /** + * Virtual device interface + */ interface?: pulumi.Input; + /** + * Connection link protocol + */ linkProtocol?: pulumi.Input; + /** + * Access point location + */ location?: pulumi.Input; + network?: pulumi.Input; + /** + * Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + */ peeringType?: pulumi.Input; + /** + * Port access point information + */ port?: pulumi.Input; + /** + * Service Profile + */ profile?: pulumi.Input; + /** + * Provider assigned Connection Id + */ providerConnectionId?: pulumi.Input; + /** + * Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + */ + router?: pulumi.Input; + /** + * Access point routing protocols configuration + */ routingProtocols?: pulumi.Input[]>; + /** + * Access point seller region + */ sellerRegion?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Virtual device + */ virtualDevice?: pulumi.Input; } @@ -354,54 +594,95 @@ export namespace fabric { export interface ConnectionZSideAccessPointGateway { /** - * Connection URI information + * Unique Resource Identifier */ href?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } export interface ConnectionZSideAccessPointInterface { /** - * The ID of this resource. + * id */ id?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } export interface ConnectionZSideAccessPointLinkProtocol { /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Vlan Customer Tag information, vlanCTag value specified for QINQ connections + */ vlanCTag?: pulumi.Input; + /** + * Vlan Provider Tag information, vlanSTag value specified for QINQ connections + */ vlanSTag?: pulumi.Input; + /** + * Vlan Tag information, vlanTag value specified for DOT1Q connections + */ vlanTag?: pulumi.Input; } export interface ConnectionZSideAccessPointLocation { + /** + * IBX Code + */ ibx?: pulumi.Input; + /** + * Access point metro code + */ metroCode?: pulumi.Input; + /** + * Access point metro name + */ metroName?: pulumi.Input; + /** + * Access point region + */ region?: pulumi.Input; } + export interface ConnectionZSideAccessPointNetwork { + /** + * Unique Resource Identifier + */ + href?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ + uuid?: pulumi.Input; + } + export interface ConnectionZSideAccessPointPort { /** - * Connection URI information + * Unique Resource Identifier */ href?: pulumi.Input; /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name */ name?: pulumi.Input; /** * Redundancy Information */ redundancies?: pulumi.Input[]>; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } @@ -413,52 +694,81 @@ export namespace fabric { } export interface ConnectionZSideAccessPointProfile { + /** + * Access point config information + */ accessPointTypeConfigs?: pulumi.Input[]>; + /** + * User-provided service description + */ description?: pulumi.Input; /** - * Connection URI information + * Unique Resource Identifier */ href?: pulumi.Input; /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name */ name?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid: pulumi.Input; } export interface ConnectionZSideAccessPointProfileAccessPointTypeConfig { /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ + uuid?: pulumi.Input; + } + + export interface ConnectionZSideAccessPointRouter { + /** + * Unique Resource Identifier + */ + href?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } export interface ConnectionZSideAccessPointRoutingProtocol { /** - * Connection overall state + * Routing protocol instance state */ state?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } export interface ConnectionZSideAccessPointVirtualDevice { /** - * Connection URI information + * Unique Resource Identifier */ href?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } @@ -474,18 +784,46 @@ export namespace fabric { } export interface ConnectionZSideServiceToken { + /** + * User-provided service description + */ description?: pulumi.Input; /** - * Connection URI information + * Unique Resource Identifier */ href?: pulumi.Input; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: pulumi.Input; + /** + * Equinix-assigned interface identifier + */ uuid?: pulumi.Input; } + export interface GetCloudRouterProject { + /** + * Unique Resource URL + */ + href?: string; + /** + * Project Id + */ + projectId?: string; + } + + export interface GetCloudRouterProjectArgs { + /** + * Unique Resource URL + */ + href?: pulumi.Input; + /** + * Project Id + */ + projectId?: pulumi.Input; + } + export interface GetConnectionProject { /** * Unique Resource URL @@ -522,6 +860,116 @@ export namespace fabric { name?: pulumi.Input; } + export interface GetRoutingProtocolBfd { + /** + * Bidirectional Forwarding Detection enablement + */ + enabled: boolean; + /** + * Interval range between the received BFD control packets + */ + interval?: string; + } + + export interface GetRoutingProtocolBfdArgs { + /** + * Bidirectional Forwarding Detection enablement + */ + enabled: pulumi.Input; + /** + * Interval range between the received BFD control packets + */ + interval?: pulumi.Input; + } + + export interface GetRoutingProtocolBgpIpv4 { + /** + * Customer side peering ip + */ + customerPeerIp: string; + /** + * Admin status for the BGP session + */ + enabled?: boolean; + /** + * Equinix side peering ip + */ + equinixPeerIp?: string; + } + + export interface GetRoutingProtocolBgpIpv4Args { + /** + * Customer side peering ip + */ + customerPeerIp: pulumi.Input; + /** + * Admin status for the BGP session + */ + enabled?: pulumi.Input; + /** + * Equinix side peering ip + */ + equinixPeerIp?: pulumi.Input; + } + + export interface GetRoutingProtocolBgpIpv6 { + /** + * Customer side peering ip + */ + customerPeerIp: string; + /** + * Admin status for the BGP session + */ + enabled?: boolean; + /** + * Equinix side peering ip + */ + equinixPeerIp?: string; + } + + export interface GetRoutingProtocolBgpIpv6Args { + /** + * Customer side peering ip + */ + customerPeerIp: pulumi.Input; + /** + * Admin status for the BGP session + */ + enabled?: pulumi.Input; + /** + * Equinix side peering ip + */ + equinixPeerIp?: pulumi.Input; + } + + export interface GetRoutingProtocolDirectIpv4 { + /** + * Equinix side Interface IP address + */ + equinixIfaceIp: string; + } + + export interface GetRoutingProtocolDirectIpv4Args { + /** + * Equinix side Interface IP address + */ + equinixIfaceIp: pulumi.Input; + } + + export interface GetRoutingProtocolDirectIpv6 { + /** + * Equinix side Interface IP address + */ + equinixIfaceIp?: string; + } + + export interface GetRoutingProtocolDirectIpv6Args { + /** + * Equinix side Interface IP address + */ + equinixIfaceIp?: pulumi.Input; + } + export interface GetServiceProfilesFilter { /** * Possible operator to use on filters = - equal @@ -574,6 +1022,100 @@ export namespace fabric { property?: pulumi.Input; } + export interface RoutingProtocolBfd { + /** + * Bidirectional Forwarding Detection enablement + */ + enabled: pulumi.Input; + /** + * Interval range between the received BFD control packets + */ + interval?: pulumi.Input; + } + + export interface RoutingProtocolBgpIpv4 { + /** + * Customer side peering ip + */ + customerPeerIp: pulumi.Input; + /** + * Admin status for the BGP session + */ + enabled?: pulumi.Input; + /** + * Equinix side peering ip + */ + equinixPeerIp?: pulumi.Input; + } + + export interface RoutingProtocolBgpIpv6 { + /** + * Customer side peering ip + */ + customerPeerIp: pulumi.Input; + /** + * Admin status for the BGP session + */ + enabled?: pulumi.Input; + /** + * Equinix side peering ip + */ + equinixPeerIp?: pulumi.Input; + } + + export interface RoutingProtocolChange { + href?: pulumi.Input; + type?: pulumi.Input; + uuid?: pulumi.Input; + } + + export interface RoutingProtocolChangeLog { + createdBy?: pulumi.Input; + createdByEmail?: pulumi.Input; + createdByFullName?: pulumi.Input; + createdDateTime?: pulumi.Input; + deletedBy?: pulumi.Input; + deletedByEmail?: pulumi.Input; + deletedByFullName?: pulumi.Input; + deletedDateTime?: pulumi.Input; + updatedBy?: pulumi.Input; + updatedByEmail?: pulumi.Input; + updatedByFullName?: pulumi.Input; + updatedDateTime?: pulumi.Input; + } + + export interface RoutingProtocolDirectIpv4 { + /** + * Equinix side Interface IP address + */ + equinixIfaceIp: pulumi.Input; + } + + export interface RoutingProtocolDirectIpv6 { + /** + * Equinix side Interface IP address + */ + equinixIfaceIp?: pulumi.Input; + } + + export interface RoutingProtocolOperation { + errors?: pulumi.Input[]>; + } + + export interface RoutingProtocolOperationError { + additionalInfos?: pulumi.Input[]>; + correlationId?: pulumi.Input; + details?: pulumi.Input; + errorCode?: pulumi.Input; + errorMessage?: pulumi.Input; + help?: pulumi.Input; + } + + export interface RoutingProtocolOperationErrorAdditionalInfo { + property?: pulumi.Input; + reason?: pulumi.Input; + } + export interface ServiceProfileAccessPointTypeConfig { /** * Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller @@ -634,27 +1176,63 @@ export namespace fabric { } export interface ServiceProfileAccessPointTypeConfigApiConfig { + /** + * Setting showing that oversubscription support is available (true) or not (false). The default is false + */ allowOverSubscription?: pulumi.Input; + /** + * Setting indicating whether the API is available (true) or not (false) + */ apiAvailable?: pulumi.Input; + /** + * Bandwidth from api + */ bandwidthFromApi?: pulumi.Input; + /** + * Setting indicating that the port is managed by Equinix (true) or not (false) + */ equinixManagedPort?: pulumi.Input; + /** + * Setting indicating that the VLAN is managed by Equinix (true) or not (false) + */ equinixManagedVlan?: pulumi.Input; + /** + * Integration id + */ integrationId?: pulumi.Input; + /** + * A cap on over subscription + */ overSubscriptionLimit?: pulumi.Input; } export interface ServiceProfileAccessPointTypeConfigAuthenticationKey { /** - * User-provided service description + * Description */ description?: pulumi.Input; + /** + * Label + */ label?: pulumi.Input; + /** + * Required + */ required?: pulumi.Input; } export interface ServiceProfileAccessPointTypeConfigLinkProtocolConfig { + /** + * Port Encapsulation + */ encapsulation?: pulumi.Input; + /** + * Encapsulation strategy + */ encapsulationStrategy?: pulumi.Input; + /** + * Reuse vlan sTag + */ reuseVlanSTag?: pulumi.Input; } @@ -752,10 +1330,16 @@ export namespace fabric { export interface ServiceProfileMarketingInfoProcessStep { /** - * User-provided service description + * Description */ description?: pulumi.Input; + /** + * Sub Title + */ subTitle?: pulumi.Input; + /** + * Title + */ title?: pulumi.Input; } @@ -829,9 +1413,21 @@ export namespace fabric { } export interface ServiceProfilePortLocation { + /** + * IBX Code + */ ibx?: pulumi.Input; + /** + * Access point metro code + */ metroCode?: pulumi.Input; + /** + * Access point metro name + */ metroName?: pulumi.Input; + /** + * Access point region + */ region?: pulumi.Input; } @@ -866,9 +1462,21 @@ export namespace fabric { } export interface ServiceProfileVirtualDeviceLocation { + /** + * IBX Code + */ ibx?: pulumi.Input; + /** + * Access point metro code + */ metroCode?: pulumi.Input; + /** + * Access point metro name + */ metroName?: pulumi.Input; + /** + * Access point region + */ region?: pulumi.Input; } } @@ -889,6 +1497,12 @@ export namespace metal { /** * List of UUIDs of IP block reservations * from which the public IPv4 address should be taken. + * + * You can supply one `ipAddress` block per IP address type. If you use the `ipAddress` you must + * always pass a block for `privateIpv4`. + * + * To learn more about using the reserved IP addresses for new devices, see the examples in the + * equinix.metal.ReservedIpBlock documentation. */ reservationIds?: pulumi.Input[]>; /** @@ -961,6 +1575,64 @@ export namespace metal { preserveData?: pulumi.Input; } + export interface GetDevicesFilter { + /** + * If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + */ + all?: boolean; + /** + * The attribute used to filter. Filter attributes are case-sensitive + */ + attribute: string; + /** + * The type of comparison to apply. One of: `in` , `re`, `substring`, `lessThan`, `lessThanOrEqual`, `greaterThan`, `greaterThanOrEqual`. Default is `in`. + */ + matchBy?: string; + /** + * The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + */ + values: string[]; + } + + export interface GetDevicesFilterArgs { + /** + * If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + */ + all?: pulumi.Input; + /** + * The attribute used to filter. Filter attributes are case-sensitive + */ + attribute: pulumi.Input; + /** + * The type of comparison to apply. One of: `in` , `re`, `substring`, `lessThan`, `lessThanOrEqual`, `greaterThan`, `greaterThanOrEqual`. Default is `in`. + */ + matchBy?: pulumi.Input; + /** + * The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + */ + values: pulumi.Input[]>; + } + + export interface GetDevicesSort { + /** + * The attribute used to filter. Filter attributes are case-sensitive + */ + attribute: string; + direction?: string; + } + + export interface GetDevicesSortArgs { + /** + * The attribute used to filter. Filter attributes are case-sensitive + */ + attribute: pulumi.Input; + direction?: pulumi.Input; + } + export interface GetFacilityCapacity { /** * Device plan that must be available in selected location. @@ -1012,6 +1684,8 @@ export namespace metal { export interface GetPlansFilter { /** * If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. */ all?: boolean; /** @@ -1031,6 +1705,8 @@ export namespace metal { export interface GetPlansFilterArgs { /** * If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. */ all?: pulumi.Input; /** @@ -1163,6 +1839,10 @@ export namespace metal { plan: pulumi.Input; projectSshKeys?: pulumi.Input[]>; tags?: pulumi.Input[]>; + terminationTime?: pulumi.Input; + /** + * @deprecated Use instance_parameters.termination_time instead + */ termintationTime?: pulumi.Input; userSshKeys?: pulumi.Input[]>; userdata?: pulumi.Input; diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index da2e39b4..d5e24f72 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -7,6 +7,99 @@ import * as outputs from "../types/output"; import * as enums from "../types/enums"; export namespace fabric { + export interface CloudRouterAccount { + /** + * Account Number + */ + accountNumber: number; + } + + export interface CloudRouterChangeLog { + createdBy: string; + createdByEmail: string; + createdByFullName: string; + createdDateTime: string; + deletedBy: string; + deletedByEmail: string; + deletedByFullName: string; + deletedDateTime: string; + updatedBy: string; + updatedByEmail: string; + updatedByFullName: string; + updatedDateTime: string; + } + + export interface CloudRouterLocation { + /** + * IBX Code + */ + ibx: string; + /** + * Access point metro code + */ + metroCode: string; + /** + * Access point metro name + */ + metroName: string; + /** + * Access point region + */ + region: string; + } + + export interface CloudRouterNotification { + /** + * Array of contact emails + */ + emails: string[]; + /** + * Send interval + */ + sendInterval?: string; + /** + * Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + */ + type: string; + } + + export interface CloudRouterOrder { + /** + * Billing tier for connection bandwidth + */ + billingTier?: string; + /** + * Order Identification + */ + orderId: string; + /** + * Order Reference Number + */ + orderNumber: string; + /** + * Purchase order number + */ + purchaseOrderNumber?: string; + } + + export interface CloudRouterPackage { + /** + * Fabric Cloud Router package code + */ + code: string; + } + + export interface CloudRouterProject { + /** + * Unique Resource URL + */ + href: string; + /** + * Project Id + */ + projectId: string; + } + export interface ConnectionASide { /** * Point of access details @@ -24,24 +117,65 @@ export namespace fabric { export interface ConnectionASideAccessPoint { /** - * Customer account information that is associated with this connection + * Account */ account: outputs.fabric.ConnectionASideAccessPointAccount; + /** + * Authentication key for provider based connections + */ authenticationKey?: string; + /** + * @deprecated use router attribute instead; gateway is no longer a part of the supported backend + */ gateway?: outputs.fabric.ConnectionASideAccessPointGateway; + /** + * Virtual device interface + */ interface?: outputs.fabric.ConnectionASideAccessPointInterface; + /** + * Connection link protocol + */ linkProtocol?: outputs.fabric.ConnectionASideAccessPointLinkProtocol; + /** + * Access point location + */ location: outputs.fabric.ConnectionASideAccessPointLocation; + network?: outputs.fabric.ConnectionASideAccessPointNetwork; + /** + * Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + */ peeringType?: string; + /** + * Port access point information + */ port?: outputs.fabric.ConnectionASideAccessPointPort; + /** + * Service Profile + */ profile?: outputs.fabric.ConnectionASideAccessPointProfile; + /** + * Provider assigned Connection Id + */ providerConnectionId?: string; + /** + * Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + */ + router?: outputs.fabric.ConnectionASideAccessPointRouter; + /** + * Access point routing protocols configuration + */ routingProtocols?: outputs.fabric.ConnectionASideAccessPointRoutingProtocol[]; + /** + * Access point seller region + */ sellerRegion?: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: string; + /** + * Virtual device + */ virtualDevice?: outputs.fabric.ConnectionASideAccessPointVirtualDevice; } @@ -57,54 +191,95 @@ export namespace fabric { export interface ConnectionASideAccessPointGateway { /** - * Connection URI information + * Unique Resource Identifier */ href: string; + /** + * Equinix-assigned interface identifier + */ uuid?: string; } export interface ConnectionASideAccessPointInterface { /** - * The ID of this resource. + * id */ id: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: string; + /** + * Equinix-assigned interface identifier + */ uuid?: string; } export interface ConnectionASideAccessPointLinkProtocol { /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: string; + /** + * Vlan Customer Tag information, vlanCTag value specified for QINQ connections + */ vlanCTag: number; + /** + * Vlan Provider Tag information, vlanSTag value specified for QINQ connections + */ vlanSTag: number; + /** + * Vlan Tag information, vlanTag value specified for DOT1Q connections + */ vlanTag: number; } export interface ConnectionASideAccessPointLocation { + /** + * IBX Code + */ ibx: string; + /** + * Access point metro code + */ metroCode: string; + /** + * Access point metro name + */ metroName: string; + /** + * Access point region + */ region: string; } + export interface ConnectionASideAccessPointNetwork { + /** + * Unique Resource Identifier + */ + href: string; + /** + * Equinix-assigned interface identifier + */ + uuid?: string; + } + export interface ConnectionASideAccessPointPort { /** - * Connection URI information + * Unique Resource Identifier */ href: string; /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name */ name: string; /** * Redundancy Information */ redundancies: outputs.fabric.ConnectionASideAccessPointPortRedundancy[]; + /** + * Equinix-assigned interface identifier + */ uuid: string; } @@ -116,52 +291,81 @@ export namespace fabric { } export interface ConnectionASideAccessPointProfile { + /** + * Access point config information + */ accessPointTypeConfigs: outputs.fabric.ConnectionASideAccessPointProfileAccessPointTypeConfig[]; + /** + * User-provided service description + */ description: string; /** - * Connection URI information + * Unique Resource Identifier */ href: string; /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name */ name: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type: string; + /** + * Equinix-assigned interface identifier + */ uuid: string; } export interface ConnectionASideAccessPointProfileAccessPointTypeConfig { /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type: string; + /** + * Equinix-assigned interface identifier + */ uuid: string; } + export interface ConnectionASideAccessPointRouter { + /** + * Unique Resource Identifier + */ + href: string; + /** + * Equinix-assigned interface identifier + */ + uuid?: string; + } + export interface ConnectionASideAccessPointRoutingProtocol { /** - * Connection overall state + * Routing protocol instance state */ state?: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: string; + /** + * Equinix-assigned interface identifier + */ uuid?: string; } export interface ConnectionASideAccessPointVirtualDevice { /** - * Connection URI information + * Unique Resource Identifier */ href: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: string; + /** + * Equinix-assigned interface identifier + */ uuid?: string; } @@ -177,15 +381,21 @@ export namespace fabric { } export interface ConnectionASideServiceToken { + /** + * User-provided service description + */ description: string; /** - * Connection URI information + * Unique Resource Identifier */ href: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: string; + /** + * Equinix-assigned interface identifier + */ uuid?: string; } @@ -199,17 +409,6 @@ export namespace fabric { organizationName: string; } - export interface ConnectionAdditionalInfo { - /** - * Additional information key - */ - key?: string; - /** - * Additional information value - */ - value?: string; - } - export interface ConnectionChangeLog { createdBy: string; createdByEmail: string; @@ -248,7 +447,7 @@ export namespace fabric { export interface ConnectionOperationError { /** - * Connection additional information + * Connection side additional information */ additionalInfo: outputs.fabric.ConnectionOperationErrorAdditionalInfo[]; correlationId: string; @@ -321,24 +520,65 @@ export namespace fabric { export interface ConnectionZSideAccessPoint { /** - * Customer account information that is associated with this connection + * Account */ account: outputs.fabric.ConnectionZSideAccessPointAccount; + /** + * Authentication key for provider based connections + */ authenticationKey?: string; + /** + * @deprecated use router attribute instead; gateway is no longer a part of the supported backend + */ gateway?: outputs.fabric.ConnectionZSideAccessPointGateway; + /** + * Virtual device interface + */ interface?: outputs.fabric.ConnectionZSideAccessPointInterface; + /** + * Connection link protocol + */ linkProtocol?: outputs.fabric.ConnectionZSideAccessPointLinkProtocol; + /** + * Access point location + */ location: outputs.fabric.ConnectionZSideAccessPointLocation; + network?: outputs.fabric.ConnectionZSideAccessPointNetwork; + /** + * Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + */ peeringType?: string; + /** + * Port access point information + */ port?: outputs.fabric.ConnectionZSideAccessPointPort; + /** + * Service Profile + */ profile?: outputs.fabric.ConnectionZSideAccessPointProfile; + /** + * Provider assigned Connection Id + */ providerConnectionId?: string; + /** + * Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + */ + router?: outputs.fabric.ConnectionZSideAccessPointRouter; + /** + * Access point routing protocols configuration + */ routingProtocols?: outputs.fabric.ConnectionZSideAccessPointRoutingProtocol[]; + /** + * Access point seller region + */ sellerRegion?: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: string; + /** + * Virtual device + */ virtualDevice?: outputs.fabric.ConnectionZSideAccessPointVirtualDevice; } @@ -354,54 +594,95 @@ export namespace fabric { export interface ConnectionZSideAccessPointGateway { /** - * Connection URI information + * Unique Resource Identifier */ href: string; + /** + * Equinix-assigned interface identifier + */ uuid?: string; } export interface ConnectionZSideAccessPointInterface { /** - * The ID of this resource. + * id */ id: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: string; + /** + * Equinix-assigned interface identifier + */ uuid?: string; } export interface ConnectionZSideAccessPointLinkProtocol { /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: string; + /** + * Vlan Customer Tag information, vlanCTag value specified for QINQ connections + */ vlanCTag: number; + /** + * Vlan Provider Tag information, vlanSTag value specified for QINQ connections + */ vlanSTag: number; + /** + * Vlan Tag information, vlanTag value specified for DOT1Q connections + */ vlanTag: number; } export interface ConnectionZSideAccessPointLocation { + /** + * IBX Code + */ ibx: string; + /** + * Access point metro code + */ metroCode: string; + /** + * Access point metro name + */ metroName: string; + /** + * Access point region + */ region: string; } + export interface ConnectionZSideAccessPointNetwork { + /** + * Unique Resource Identifier + */ + href: string; + /** + * Equinix-assigned interface identifier + */ + uuid?: string; + } + export interface ConnectionZSideAccessPointPort { /** - * Connection URI information + * Unique Resource Identifier */ href: string; /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name */ name: string; /** * Redundancy Information */ redundancies: outputs.fabric.ConnectionZSideAccessPointPortRedundancy[]; + /** + * Equinix-assigned interface identifier + */ uuid: string; } @@ -413,52 +694,81 @@ export namespace fabric { } export interface ConnectionZSideAccessPointProfile { + /** + * Access point config information + */ accessPointTypeConfigs: outputs.fabric.ConnectionZSideAccessPointProfileAccessPointTypeConfig[]; + /** + * User-provided service description + */ description: string; /** - * Connection URI information + * Unique Resource Identifier */ href: string; /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + * Port name */ name: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type: string; + /** + * Equinix-assigned interface identifier + */ uuid: string; } export interface ConnectionZSideAccessPointProfileAccessPointTypeConfig { /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type: string; + /** + * Equinix-assigned interface identifier + */ uuid: string; } + export interface ConnectionZSideAccessPointRouter { + /** + * Unique Resource Identifier + */ + href: string; + /** + * Equinix-assigned interface identifier + */ + uuid?: string; + } + export interface ConnectionZSideAccessPointRoutingProtocol { /** - * Connection overall state + * Routing protocol instance state */ state?: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: string; + /** + * Equinix-assigned interface identifier + */ uuid?: string; } export interface ConnectionZSideAccessPointVirtualDevice { /** - * Connection URI information + * Unique Resource Identifier */ href: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: string; + /** + * Equinix-assigned interface identifier + */ uuid?: string; } @@ -474,29 +784,96 @@ export namespace fabric { } export interface ConnectionZSideServiceToken { + /** + * User-provided service description + */ description: string; /** - * Connection URI information + * Unique Resource Identifier */ href: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * Interface type */ type?: string; + /** + * Equinix-assigned interface identifier + */ uuid?: string; } + export interface GetCloudRouterAccount { + accountName: string; + accountNumber: number; + globalCustId: string; + globalOrgId: string; + globalOrganizationName: string; + orgId: number; + organizationName: string; + } + + export interface GetCloudRouterChangeLog { + createdBy: string; + createdByEmail: string; + createdByFullName: string; + createdDateTime: string; + deletedBy: string; + deletedByEmail: string; + deletedByFullName: string; + deletedDateTime: string; + updatedBy: string; + updatedByEmail: string; + updatedByFullName: string; + updatedDateTime: string; + } + + export interface GetCloudRouterLocation { + href: string; + ibx: string; + metroCode: string; + metroName: string; + region: string; + } + + export interface GetCloudRouterNotification { + emails: string[]; + sendInterval: string; + type: string; + } + + export interface GetCloudRouterOrder { + billingTier: string; + orderId: string; + orderNumber: string; + purchaseOrderNumber: string; + } + + export interface GetCloudRouterPackage { + code: string; + } + + export interface GetCloudRouterProject { + /** + * Unique Resource URL + */ + href: string; + /** + * Project Id + */ + projectId: string; + } + export interface GetConnectionASide { accessPoint: outputs.fabric.GetConnectionASideAccessPoint; serviceToken: outputs.fabric.GetConnectionASideServiceToken; } export interface GetConnectionASideAccessPoint { - /** - * Customer account information that is associated with this connection - */ accounts: outputs.fabric.GetConnectionASideAccessPointAccount[]; authenticationKey: string; + /** + * @deprecated router attribute will be returned instead + */ gateways: outputs.fabric.GetConnectionASideAccessPointGateway[]; interfaces: outputs.fabric.GetConnectionASideAccessPointInterface[]; linkProtocols: outputs.fabric.GetConnectionASideAccessPointLinkProtocol[]; @@ -505,10 +882,11 @@ export namespace fabric { ports: outputs.fabric.GetConnectionASideAccessPointPort[]; profiles: outputs.fabric.GetConnectionASideAccessPointProfile[]; providerConnectionId: string; - sellerRegion: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * CloudRouter; Replaces `gateway` attribute (Set of Object) */ + routers: outputs.fabric.GetConnectionASideAccessPointRouter[]; + sellerRegion: string; type: string; virtualDevices: outputs.fabric.GetConnectionASideAccessPointVirtualDevice[]; } @@ -524,39 +902,18 @@ export namespace fabric { } export interface GetConnectionASideAccessPointGateway { - /** - * Connection URI information - */ href: string; - /** - * Connection overall state - */ state: string; - /** - * Equinix-assigned connection identifier - */ uuid: string; } export interface GetConnectionASideAccessPointInterface { - /** - * The ID of this resource. - */ id: string; - /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - */ type: string; - /** - * Equinix-assigned connection identifier - */ uuid: string; } export interface GetConnectionASideAccessPointLinkProtocol { - /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - */ type: string; vlanCTag: number; vlanSTag: number; @@ -564,9 +921,6 @@ export namespace fabric { } export interface GetConnectionASideAccessPointLocation { - /** - * Connection URI information - */ href: string; ibx: string; metroCode: string; @@ -575,21 +929,9 @@ export namespace fabric { } export interface GetConnectionASideAccessPointPort { - /** - * Connection URI information - */ href: string; - /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - */ name: string; - /** - * Redundancy Information - */ redundancies: outputs.fabric.GetConnectionASideAccessPointPortRedundancy[]; - /** - * Equinix-assigned connection identifier - */ uuid: string; } @@ -599,25 +941,10 @@ export namespace fabric { export interface GetConnectionASideAccessPointProfile { accessPointTypeConfigs: outputs.fabric.GetConnectionASideAccessPointProfileAccessPointTypeConfig[]; - /** - * Customer-provided connection description - */ description: string; - /** - * Connection URI information - */ href: string; - /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - */ name: string; - /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - */ type: string; - /** - * Equinix-assigned connection identifier - */ uuid: string; } @@ -634,13 +961,7 @@ export namespace fabric { enableAutoGenerateServiceKey: boolean; linkProtocolConfigs: outputs.fabric.GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig[]; supportedBandwidths: number[]; - /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - */ type: string; - /** - * Equinix-assigned connection identifier - */ uuid: string; } @@ -655,9 +976,6 @@ export namespace fabric { } export interface GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey { - /** - * Customer-provided connection description - */ description: string; label: string; required: boolean; @@ -669,37 +987,22 @@ export namespace fabric { reuseVlanSTag: boolean; } + export interface GetConnectionASideAccessPointRouter { + href: string; + state: string; + uuid: string; + } + export interface GetConnectionASideAccessPointVirtualDevice { - /** - * Connection URI information - */ href: string; - /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - */ type: string; - /** - * Equinix-assigned connection identifier - */ uuid: string; } export interface GetConnectionASideServiceToken { - /** - * Customer-provided connection description - */ description: string; - /** - * Connection URI information - */ href: string; - /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - */ type: string; - /** - * Equinix-assigned connection identifier - */ uuid: string; } @@ -736,9 +1039,6 @@ export namespace fabric { export interface GetConnectionNotification { emails: string[]; sendInterval: string; - /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - */ type: string; } @@ -749,9 +1049,6 @@ export namespace fabric { } export interface GetConnectionOperationError { - /** - * Connection additional information - */ additionalInfos: outputs.fabric.GetConnectionOperationErrorAdditionalInfo[]; correlationId: string; details: string; @@ -794,11 +1091,11 @@ export namespace fabric { } export interface GetConnectionZSideAccessPoint { - /** - * Customer account information that is associated with this connection - */ accounts: outputs.fabric.GetConnectionZSideAccessPointAccount[]; authenticationKey: string; + /** + * @deprecated router attribute will be returned instead + */ gateways: outputs.fabric.GetConnectionZSideAccessPointGateway[]; interfaces: outputs.fabric.GetConnectionZSideAccessPointInterface[]; linkProtocols: outputs.fabric.GetConnectionZSideAccessPointLinkProtocol[]; @@ -807,10 +1104,11 @@ export namespace fabric { ports: outputs.fabric.GetConnectionZSideAccessPointPort[]; profiles: outputs.fabric.GetConnectionZSideAccessPointProfile[]; providerConnectionId: string; - sellerRegion: string; /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + * CloudRouter; Replaces `gateway` attribute (Set of Object) */ + routers: outputs.fabric.GetConnectionZSideAccessPointRouter[]; + sellerRegion: string; type: string; virtualDevices: outputs.fabric.GetConnectionZSideAccessPointVirtualDevice[]; } @@ -826,39 +1124,18 @@ export namespace fabric { } export interface GetConnectionZSideAccessPointGateway { - /** - * Connection URI information - */ href: string; - /** - * Connection overall state - */ state: string; - /** - * Equinix-assigned connection identifier - */ uuid: string; } export interface GetConnectionZSideAccessPointInterface { - /** - * The ID of this resource. - */ id: string; - /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - */ type: string; - /** - * Equinix-assigned connection identifier - */ uuid: string; } export interface GetConnectionZSideAccessPointLinkProtocol { - /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - */ type: string; vlanCTag: number; vlanSTag: number; @@ -866,9 +1143,6 @@ export namespace fabric { } export interface GetConnectionZSideAccessPointLocation { - /** - * Connection URI information - */ href: string; ibx: string; metroCode: string; @@ -877,21 +1151,9 @@ export namespace fabric { } export interface GetConnectionZSideAccessPointPort { - /** - * Connection URI information - */ href: string; - /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - */ name: string; - /** - * Redundancy Information - */ redundancies: outputs.fabric.GetConnectionZSideAccessPointPortRedundancy[]; - /** - * Equinix-assigned connection identifier - */ uuid: string; } @@ -901,25 +1163,10 @@ export namespace fabric { export interface GetConnectionZSideAccessPointProfile { accessPointTypeConfigs: outputs.fabric.GetConnectionZSideAccessPointProfileAccessPointTypeConfig[]; - /** - * Customer-provided connection description - */ description: string; - /** - * Connection URI information - */ href: string; - /** - * Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - */ name: string; - /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - */ type: string; - /** - * Equinix-assigned connection identifier - */ uuid: string; } @@ -936,13 +1183,7 @@ export namespace fabric { enableAutoGenerateServiceKey: boolean; linkProtocolConfigs: outputs.fabric.GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig[]; supportedBandwidths: number[]; - /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - */ type: string; - /** - * Equinix-assigned connection identifier - */ uuid: string; } @@ -957,9 +1198,6 @@ export namespace fabric { } export interface GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey { - /** - * Customer-provided connection description - */ description: string; label: string; required: boolean; @@ -971,37 +1209,22 @@ export namespace fabric { reuseVlanSTag: boolean; } + export interface GetConnectionZSideAccessPointRouter { + href: string; + state: string; + uuid: string; + } + export interface GetConnectionZSideAccessPointVirtualDevice { - /** - * Connection URI information - */ href: string; - /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - */ type: string; - /** - * Equinix-assigned connection identifier - */ uuid: string; } export interface GetConnectionZSideServiceToken { - /** - * Customer-provided connection description - */ description: string; - /** - * Connection URI information - */ href: string; - /** - * Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - */ type: string; - /** - * Equinix-assigned connection identifier - */ uuid: string; } @@ -1031,13 +1254,7 @@ export namespace fabric { } export interface GetPortDevice { - /** - * Port name - */ name: string; - /** - * Port redundancy information - */ redundancies: outputs.fabric.GetPortDeviceRedundancy[]; } @@ -1048,29 +1265,10 @@ export namespace fabric { export interface GetPortEncapsulation { tagProtocolId: string; - /** - * Port type - */ type: string; } - export interface GetPortLag { - enabled: boolean; - /** - * The ID of this resource. - */ - id: string; - memberStatus: string; - /** - * Port name - */ - name: string; - } - export interface GetPortLocation { - /** - * Port URI information - */ href: string; ibx: string; metroCode: string; @@ -1086,7 +1284,7 @@ export namespace fabric { export interface GetPortRedundancy { enabled: boolean; - group: number; + group: string; priority: string; } @@ -1099,7 +1297,7 @@ export namespace fabric { devices: outputs.fabric.GetPortsDatumDevice[]; encapsulations: outputs.fabric.GetPortsDatumEncapsulation[]; href: string; - lags: outputs.fabric.GetPortsDatumLag[]; + lagEnabled: boolean; locations: outputs.fabric.GetPortsDatumLocation[]; name: string; operations: outputs.fabric.GetPortsDatumOperation[]; @@ -1111,17 +1309,121 @@ export namespace fabric { uuid?: string; } - export interface GetPortsDatumAccount { - accountName: string; - accountNumber: number; - globalCustId: string; - globalOrgId: string; - globalOrganizationName: string; - orgId: number; - organizationName: string; + export interface GetPortsDatumAccount { + accountName: string; + accountNumber: number; + globalCustId: string; + globalOrgId: string; + globalOrganizationName: string; + orgId: number; + organizationName: string; + } + + export interface GetPortsDatumChangeLog { + createdBy: string; + createdByEmail: string; + createdByFullName: string; + createdDateTime: string; + deletedBy: string; + deletedByEmail: string; + deletedByFullName: string; + deletedDateTime: string; + updatedBy: string; + updatedByEmail: string; + updatedByFullName: string; + updatedDateTime: string; + } + + export interface GetPortsDatumDevice { + name: string; + redundancies: outputs.fabric.GetPortsDatumDeviceRedundancy[]; + } + + export interface GetPortsDatumDeviceRedundancy { + group: string; + priority: string; + } + + export interface GetPortsDatumEncapsulation { + tagProtocolId: string; + type: string; + } + + export interface GetPortsDatumLocation { + href: string; + ibx: string; + metroCode: string; + metroName: string; + region: string; + } + + export interface GetPortsDatumOperation { + connectionCount: number; + opStatusChangedAt: string; + operationalStatus: string; + } + + export interface GetPortsDatumRedundancy { + enabled: boolean; + group: string; + priority: string; + } + + export interface GetPortsFilter { + /** + * Query Parameter to Get Ports By Name + */ + name?: string; + } + + export interface GetRoutingProtocolBfd { + /** + * Bidirectional Forwarding Detection enablement + */ + enabled: boolean; + /** + * Interval range between the received BFD control packets + */ + interval?: string; + } + + export interface GetRoutingProtocolBgpIpv4 { + /** + * Customer side peering ip + */ + customerPeerIp: string; + /** + * Admin status for the BGP session + */ + enabled?: boolean; + /** + * Equinix side peering ip + */ + equinixPeerIp: string; + } + + export interface GetRoutingProtocolBgpIpv6 { + /** + * Customer side peering ip + */ + customerPeerIp: string; + /** + * Admin status for the BGP session + */ + enabled?: boolean; + /** + * Equinix side peering ip + */ + equinixPeerIp: string; + } + + export interface GetRoutingProtocolChange { + href: string; + type: string; + uuid: string; } - export interface GetPortsDatumChangeLog { + export interface GetRoutingProtocolChangeLog { createdBy: string; createdByEmail: string; createdByFullName: string; @@ -1136,56 +1438,36 @@ export namespace fabric { updatedDateTime: string; } - export interface GetPortsDatumDevice { - name: string; - redundancies: outputs.fabric.GetPortsDatumDeviceRedundancy[]; - } - - export interface GetPortsDatumDeviceRedundancy { - group: string; - priority: string; - } - - export interface GetPortsDatumEncapsulation { - tagProtocolId: string; - type: string; - } - - export interface GetPortsDatumLag { - enabled: boolean; + export interface GetRoutingProtocolDirectIpv4 { /** - * The ID of this resource. + * Equinix side Interface IP address */ - id: string; - memberStatus: string; - name: string; + equinixIfaceIp: string; } - export interface GetPortsDatumLocation { - href: string; - ibx: string; - metroCode: string; - metroName: string; - region: string; + export interface GetRoutingProtocolDirectIpv6 { + /** + * Equinix side Interface IP address + */ + equinixIfaceIp?: string; } - export interface GetPortsDatumOperation { - connectionCount: number; - opStatusChangedAt: string; - operationalStatus: string; + export interface GetRoutingProtocolOperation { + errors: outputs.fabric.GetRoutingProtocolOperationError[]; } - export interface GetPortsDatumRedundancy { - enabled: boolean; - group: number; - priority: string; + export interface GetRoutingProtocolOperationError { + additionalInfos: outputs.fabric.GetRoutingProtocolOperationErrorAdditionalInfo[]; + correlationId: string; + details: string; + errorCode: string; + errorMessage: string; + help: string; } - export interface GetPortsFilter { - /** - * Query Parameter to Get Ports By Name - */ - name?: string; + export interface GetRoutingProtocolOperationErrorAdditionalInfo { + property: string; + reason: string; } export interface GetServiceProfileAccessPointTypeConfig { @@ -1201,13 +1483,7 @@ export namespace fabric { enableAutoGenerateServiceKey: boolean; linkProtocolConfigs: outputs.fabric.GetServiceProfileAccessPointTypeConfigLinkProtocolConfig[]; supportedBandwidths: number[]; - /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - */ type: string; - /** - * Equinix assigned service profile identifier - */ uuid: string; } @@ -1222,9 +1498,6 @@ export namespace fabric { } export interface GetServiceProfileAccessPointTypeConfigAuthenticationKey { - /** - * User-provided service description - */ description: string; label: string; required: boolean; @@ -1265,9 +1538,6 @@ export namespace fabric { export interface GetServiceProfileCustomField { captureInEmail: boolean; dataType: string; - /** - * User-provided service description - */ description: string; label: string; options: string[]; @@ -1281,9 +1551,6 @@ export namespace fabric { } export interface GetServiceProfileMarketingInfoProcessStep { - /** - * User-provided service description - */ description: string; subTitle: string; title: string; @@ -1294,9 +1561,6 @@ export namespace fabric { displayName: string; ibxs: string[]; inTrail: boolean; - /** - * Customer-assigned service profile name - */ name: string; sellerRegions: {[key: string]: string}; } @@ -1304,9 +1568,6 @@ export namespace fabric { export interface GetServiceProfileNotification { emails: string[]; sendInterval: string; - /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - */ type: string; } @@ -1315,13 +1576,7 @@ export namespace fabric { locations: outputs.fabric.GetServiceProfilePortLocation[]; sellerRegion: string; sellerRegionDescription: string; - /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - */ type: string; - /** - * Equinix assigned service profile identifier - */ uuid: string; } @@ -1333,9 +1588,6 @@ export namespace fabric { } export interface GetServiceProfileProject { - /** - * Service Profile URI response attribute - */ href: string; projectId: string; } @@ -1510,6 +1762,100 @@ export namespace fabric { property?: string; } + export interface RoutingProtocolBfd { + /** + * Bidirectional Forwarding Detection enablement + */ + enabled: boolean; + /** + * Interval range between the received BFD control packets + */ + interval?: string; + } + + export interface RoutingProtocolBgpIpv4 { + /** + * Customer side peering ip + */ + customerPeerIp: string; + /** + * Admin status for the BGP session + */ + enabled?: boolean; + /** + * Equinix side peering ip + */ + equinixPeerIp: string; + } + + export interface RoutingProtocolBgpIpv6 { + /** + * Customer side peering ip + */ + customerPeerIp: string; + /** + * Admin status for the BGP session + */ + enabled?: boolean; + /** + * Equinix side peering ip + */ + equinixPeerIp: string; + } + + export interface RoutingProtocolChange { + href: string; + type: string; + uuid: string; + } + + export interface RoutingProtocolChangeLog { + createdBy: string; + createdByEmail: string; + createdByFullName: string; + createdDateTime: string; + deletedBy: string; + deletedByEmail: string; + deletedByFullName: string; + deletedDateTime: string; + updatedBy: string; + updatedByEmail: string; + updatedByFullName: string; + updatedDateTime: string; + } + + export interface RoutingProtocolDirectIpv4 { + /** + * Equinix side Interface IP address + */ + equinixIfaceIp: string; + } + + export interface RoutingProtocolDirectIpv6 { + /** + * Equinix side Interface IP address + */ + equinixIfaceIp?: string; + } + + export interface RoutingProtocolOperation { + errors: outputs.fabric.RoutingProtocolOperationError[]; + } + + export interface RoutingProtocolOperationError { + additionalInfos: outputs.fabric.RoutingProtocolOperationErrorAdditionalInfo[]; + correlationId: string; + details: string; + errorCode: string; + errorMessage: string; + help: string; + } + + export interface RoutingProtocolOperationErrorAdditionalInfo { + property: string; + reason: string; + } + export interface ServiceProfileAccessPointTypeConfig { /** * Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller @@ -1570,27 +1916,63 @@ export namespace fabric { } export interface ServiceProfileAccessPointTypeConfigApiConfig { + /** + * Setting showing that oversubscription support is available (true) or not (false). The default is false + */ allowOverSubscription?: boolean; + /** + * Setting indicating whether the API is available (true) or not (false) + */ apiAvailable?: boolean; + /** + * Bandwidth from api + */ bandwidthFromApi?: boolean; + /** + * Setting indicating that the port is managed by Equinix (true) or not (false) + */ equinixManagedPort?: boolean; + /** + * Setting indicating that the VLAN is managed by Equinix (true) or not (false) + */ equinixManagedVlan?: boolean; + /** + * Integration id + */ integrationId?: string; + /** + * A cap on over subscription + */ overSubscriptionLimit?: number; } export interface ServiceProfileAccessPointTypeConfigAuthenticationKey { /** - * User-provided service description + * Description */ description?: string; + /** + * Label + */ label?: string; + /** + * Required + */ required?: boolean; } export interface ServiceProfileAccessPointTypeConfigLinkProtocolConfig { + /** + * Port Encapsulation + */ encapsulation?: string; + /** + * Encapsulation strategy + */ encapsulationStrategy?: string; + /** + * Reuse vlan sTag + */ reuseVlanSTag?: boolean; } @@ -1688,10 +2070,16 @@ export namespace fabric { export interface ServiceProfileMarketingInfoProcessStep { /** - * User-provided service description + * Description */ description?: string; + /** + * Sub Title + */ subTitle?: string; + /** + * Title + */ title?: string; } @@ -1765,9 +2153,21 @@ export namespace fabric { } export interface ServiceProfilePortLocation { + /** + * IBX Code + */ ibx: string; + /** + * Access point metro code + */ metroCode: string; + /** + * Access point metro name + */ metroName: string; + /** + * Access point region + */ region: string; } @@ -1802,9 +2202,21 @@ export namespace fabric { } export interface ServiceProfileVirtualDeviceLocation { + /** + * IBX Code + */ ibx: string; + /** + * Access point metro code + */ metroCode: string; + /** + * Access point metro name + */ metroName: string; + /** + * Access point region + */ region: string; } @@ -1826,6 +2238,12 @@ export namespace metal { /** * List of UUIDs of IP block reservations * from which the public IPv4 address should be taken. + * + * You can supply one `ipAddress` block per IP address type. If you use the `ipAddress` you must + * always pass a block for `privateIpv4`. + * + * To learn more about using the reserved IP addresses for new devices, see the examples in the + * equinix.metal.ReservedIpBlock documentation. */ reservationIds?: string[]; /** @@ -2009,6 +2427,83 @@ export namespace metal { type: string; } + export interface GetDevicesDevice { + accessPrivateIpv4: string; + accessPublicIpv4: string; + accessPublicIpv6: string; + alwaysPxe: boolean; + billingCycle: string; + description: string; + deviceId: string; + /** + * @deprecated Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices + */ + facility: string; + hardwareReservationId: string; + hostname: string; + ipxeScriptUrl: string; + metro: string; + networkType: string; + networks: outputs.metal.GetDevicesDeviceNetwork[]; + operatingSystem: string; + plan: string; + ports: outputs.metal.GetDevicesDevicePort[]; + /** + * ID of project containing the devices. Exactly one of `projectId` and `organizationId` must be set. + */ + projectId: string; + rootPassword: string; + sshKeyIds: string[]; + state: string; + storage: string; + tags: string[]; + } + + export interface GetDevicesDeviceNetwork { + address: string; + cidr: number; + family: number; + gateway: string; + public: boolean; + } + + export interface GetDevicesDevicePort { + bonded: boolean; + id: string; + mac: string; + name: string; + type: string; + } + + export interface GetDevicesFilter { + /** + * If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + */ + all?: boolean; + /** + * The attribute used to filter. Filter attributes are case-sensitive + */ + attribute: string; + /** + * The type of comparison to apply. One of: `in` , `re`, `substring`, `lessThan`, `lessThanOrEqual`, `greaterThan`, `greaterThanOrEqual`. Default is `in`. + */ + matchBy?: string; + /** + * The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + */ + values: string[]; + } + + export interface GetDevicesSort { + /** + * The attribute used to filter. Filter attributes are case-sensitive + */ + attribute: string; + direction?: string; + } + export interface GetFacilityCapacity { /** * Device plan that must be available in selected location. @@ -2114,6 +2609,8 @@ export namespace metal { export interface GetPlansFilter { /** * If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + * + * All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. */ all?: boolean; /** @@ -2311,6 +2808,10 @@ export namespace metal { plan: string; projectSshKeys?: string[]; tags?: string[]; + terminationTime: string; + /** + * @deprecated Use instance_parameters.termination_time instead + */ termintationTime: string; userSshKeys?: string[]; userdata?: string; @@ -2876,6 +3377,7 @@ export namespace networkedge { * Autonomous system number */ asn: number; + cloudInitFileId: string; hostname: string; /** * Device location Equinix Business Exchange name @@ -2905,6 +3407,7 @@ export namespace networkedge { * * APPLIED * * WAITING_FOR_CLUSTER_SETUP * * REGISTRATION_FAILED + * * NA */ licenseStatus: string; licenseToken: string; diff --git a/sdk/python/pulumi_equinix/__init__.py b/sdk/python/pulumi_equinix/__init__.py index 74738830..46f98c9b 100644 --- a/sdk/python/pulumi_equinix/__init__.py +++ b/sdk/python/pulumi_equinix/__init__.py @@ -27,6 +27,14 @@ _utilities.register( resource_modules=""" [ + { + "pkg": "equinix", + "mod": "fabric/cloudRouter", + "fqn": "pulumi_equinix.fabric", + "classes": { + "equinix:fabric/cloudRouter:CloudRouter": "CloudRouter" + } + }, { "pkg": "equinix", "mod": "fabric/connection", @@ -35,6 +43,14 @@ "equinix:fabric/connection:Connection": "Connection" } }, + { + "pkg": "equinix", + "mod": "fabric/routingProtocol", + "fqn": "pulumi_equinix.fabric", + "classes": { + "equinix:fabric/routingProtocol:RoutingProtocol": "RoutingProtocol" + } + }, { "pkg": "equinix", "mod": "fabric/serviceProfile", diff --git a/sdk/python/pulumi_equinix/config/__init__.pyi b/sdk/python/pulumi_equinix/config/__init__.pyi index 9ad5aaed..9df94c90 100644 --- a/sdk/python/pulumi_equinix/config/__init__.pyi +++ b/sdk/python/pulumi_equinix/config/__init__.pyi @@ -6,7 +6,7 @@ import copy import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities authToken: Optional[str] diff --git a/sdk/python/pulumi_equinix/config/vars.py b/sdk/python/pulumi_equinix/config/vars.py index 7b6323fe..f55b28d5 100644 --- a/sdk/python/pulumi_equinix/config/vars.py +++ b/sdk/python/pulumi_equinix/config/vars.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities import types diff --git a/sdk/python/pulumi_equinix/fabric/__init__.py b/sdk/python/pulumi_equinix/fabric/__init__.py index 0e9a2f62..71836c7f 100644 --- a/sdk/python/pulumi_equinix/fabric/__init__.py +++ b/sdk/python/pulumi_equinix/fabric/__init__.py @@ -6,12 +6,16 @@ import typing # Export this package's modules as members: from ._enums import * +from .cloud_router import * from .connection import * +from .get_cloud_router import * from .get_connection import * from .get_port import * from .get_ports import * +from .get_routing_protocol import * from .get_service_profile import * from .get_service_profiles import * +from .routing_protocol import * from .service_profile import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_equinix/fabric/_inputs.py b/sdk/python/pulumi_equinix/fabric/_inputs.py index 3ff3a4f3..ad7e50ee 100644 --- a/sdk/python/pulumi_equinix/fabric/_inputs.py +++ b/sdk/python/pulumi_equinix/fabric/_inputs.py @@ -6,12 +6,19 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from .. import _enums as _root_enums from ._enums import * __all__ = [ + 'CloudRouterAccountArgs', + 'CloudRouterChangeLogArgs', + 'CloudRouterLocationArgs', + 'CloudRouterNotificationArgs', + 'CloudRouterOrderArgs', + 'CloudRouterPackageArgs', + 'CloudRouterProjectArgs', 'ConnectionASideArgs', 'ConnectionASideAccessPointArgs', 'ConnectionASideAccessPointAccountArgs', @@ -19,16 +26,17 @@ 'ConnectionASideAccessPointInterfaceArgs', 'ConnectionASideAccessPointLinkProtocolArgs', 'ConnectionASideAccessPointLocationArgs', + 'ConnectionASideAccessPointNetworkArgs', 'ConnectionASideAccessPointPortArgs', 'ConnectionASideAccessPointPortRedundancyArgs', 'ConnectionASideAccessPointProfileArgs', 'ConnectionASideAccessPointProfileAccessPointTypeConfigArgs', + 'ConnectionASideAccessPointRouterArgs', 'ConnectionASideAccessPointRoutingProtocolArgs', 'ConnectionASideAccessPointVirtualDeviceArgs', 'ConnectionASideAdditionalInfoArgs', 'ConnectionASideServiceTokenArgs', 'ConnectionAccountArgs', - 'ConnectionAdditionalInfoArgs', 'ConnectionChangeLogArgs', 'ConnectionNotificationArgs', 'ConnectionOperationArgs', @@ -44,14 +52,26 @@ 'ConnectionZSideAccessPointInterfaceArgs', 'ConnectionZSideAccessPointLinkProtocolArgs', 'ConnectionZSideAccessPointLocationArgs', + 'ConnectionZSideAccessPointNetworkArgs', 'ConnectionZSideAccessPointPortArgs', 'ConnectionZSideAccessPointPortRedundancyArgs', 'ConnectionZSideAccessPointProfileArgs', 'ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs', + 'ConnectionZSideAccessPointRouterArgs', 'ConnectionZSideAccessPointRoutingProtocolArgs', 'ConnectionZSideAccessPointVirtualDeviceArgs', 'ConnectionZSideAdditionalInfoArgs', 'ConnectionZSideServiceTokenArgs', + 'RoutingProtocolBfdArgs', + 'RoutingProtocolBgpIpv4Args', + 'RoutingProtocolBgpIpv6Args', + 'RoutingProtocolChangeArgs', + 'RoutingProtocolChangeLogArgs', + 'RoutingProtocolDirectIpv4Args', + 'RoutingProtocolDirectIpv6Args', + 'RoutingProtocolOperationArgs', + 'RoutingProtocolOperationErrorArgs', + 'RoutingProtocolOperationErrorAdditionalInfoArgs', 'ServiceProfileAccessPointTypeConfigArgs', 'ServiceProfileAccessPointTypeConfigApiConfigArgs', 'ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs', @@ -68,12 +88,605 @@ 'ServiceProfileProjectArgs', 'ServiceProfileVirtualDeviceArgs', 'ServiceProfileVirtualDeviceLocationArgs', + 'GetCloudRouterProjectArgs', 'GetConnectionProjectArgs', 'GetPortsFilterArgs', + 'GetRoutingProtocolBfdArgs', + 'GetRoutingProtocolBgpIpv4Args', + 'GetRoutingProtocolBgpIpv6Args', + 'GetRoutingProtocolDirectIpv4Args', + 'GetRoutingProtocolDirectIpv6Args', 'GetServiceProfilesFilterArgs', 'GetServiceProfilesSortArgs', ] +@pulumi.input_type +class CloudRouterAccountArgs: + def __init__(__self__, *, + account_number: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[int] account_number: Account Number + """ + CloudRouterAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_number=account_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_number: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + + if account_number is not None: + _setter("account_number", account_number) + + @property + @pulumi.getter(name="accountNumber") + def account_number(self) -> Optional[pulumi.Input[int]]: + """ + Account Number + """ + return pulumi.get(self, "account_number") + + @account_number.setter + def account_number(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "account_number", value) + + +@pulumi.input_type +class CloudRouterChangeLogArgs: + def __init__(__self__, *, + created_by: Optional[pulumi.Input[str]] = None, + created_by_email: Optional[pulumi.Input[str]] = None, + created_by_full_name: Optional[pulumi.Input[str]] = None, + created_date_time: Optional[pulumi.Input[str]] = None, + deleted_by: Optional[pulumi.Input[str]] = None, + deleted_by_email: Optional[pulumi.Input[str]] = None, + deleted_by_full_name: Optional[pulumi.Input[str]] = None, + deleted_date_time: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + updated_by_email: Optional[pulumi.Input[str]] = None, + updated_by_full_name: Optional[pulumi.Input[str]] = None, + updated_date_time: Optional[pulumi.Input[str]] = None): + CloudRouterChangeLogArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: Optional[pulumi.Input[str]] = None, + created_by_email: Optional[pulumi.Input[str]] = None, + created_by_full_name: Optional[pulumi.Input[str]] = None, + created_date_time: Optional[pulumi.Input[str]] = None, + deleted_by: Optional[pulumi.Input[str]] = None, + deleted_by_email: Optional[pulumi.Input[str]] = None, + deleted_by_full_name: Optional[pulumi.Input[str]] = None, + deleted_date_time: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + updated_by_email: Optional[pulumi.Input[str]] = None, + updated_by_full_name: Optional[pulumi.Input[str]] = None, + updated_date_time: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + + if created_by is not None: + _setter("created_by", created_by) + if created_by_email is not None: + _setter("created_by_email", created_by_email) + if created_by_full_name is not None: + _setter("created_by_full_name", created_by_full_name) + if created_date_time is not None: + _setter("created_date_time", created_date_time) + if deleted_by is not None: + _setter("deleted_by", deleted_by) + if deleted_by_email is not None: + _setter("deleted_by_email", deleted_by_email) + if deleted_by_full_name is not None: + _setter("deleted_by_full_name", deleted_by_full_name) + if deleted_date_time is not None: + _setter("deleted_date_time", deleted_date_time) + if updated_by is not None: + _setter("updated_by", updated_by) + if updated_by_email is not None: + _setter("updated_by_email", updated_by_email) + if updated_by_full_name is not None: + _setter("updated_by_full_name", updated_by_full_name) + if updated_date_time is not None: + _setter("updated_date_time", updated_date_time) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter(name="createdByEmail") + def created_by_email(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "created_by_email") + + @created_by_email.setter + def created_by_email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_by_email", value) + + @property + @pulumi.getter(name="createdByFullName") + def created_by_full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "created_by_full_name") + + @created_by_full_name.setter + def created_by_full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_by_full_name", value) + + @property + @pulumi.getter(name="createdDateTime") + def created_date_time(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "created_date_time") + + @created_date_time.setter + def created_date_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_date_time", value) + + @property + @pulumi.getter(name="deletedBy") + def deleted_by(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "deleted_by") + + @deleted_by.setter + def deleted_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "deleted_by", value) + + @property + @pulumi.getter(name="deletedByEmail") + def deleted_by_email(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "deleted_by_email") + + @deleted_by_email.setter + def deleted_by_email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "deleted_by_email", value) + + @property + @pulumi.getter(name="deletedByFullName") + def deleted_by_full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "deleted_by_full_name") + + @deleted_by_full_name.setter + def deleted_by_full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "deleted_by_full_name", value) + + @property + @pulumi.getter(name="deletedDateTime") + def deleted_date_time(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "deleted_date_time") + + @deleted_date_time.setter + def deleted_date_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "deleted_date_time", value) + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "updated_by") + + @updated_by.setter + def updated_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_by", value) + + @property + @pulumi.getter(name="updatedByEmail") + def updated_by_email(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "updated_by_email") + + @updated_by_email.setter + def updated_by_email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_by_email", value) + + @property + @pulumi.getter(name="updatedByFullName") + def updated_by_full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "updated_by_full_name") + + @updated_by_full_name.setter + def updated_by_full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_by_full_name", value) + + @property + @pulumi.getter(name="updatedDateTime") + def updated_date_time(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "updated_date_time") + + @updated_date_time.setter + def updated_date_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_date_time", value) + + +@pulumi.input_type +class CloudRouterLocationArgs: + def __init__(__self__, *, + ibx: Optional[pulumi.Input[str]] = None, + metro_code: Optional[pulumi.Input[str]] = None, + metro_name: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] ibx: IBX Code + :param pulumi.Input[str] metro_code: Access point metro code + :param pulumi.Input[str] metro_name: Access point metro name + :param pulumi.Input[str] region: Access point region + """ + CloudRouterLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ibx: Optional[pulumi.Input[str]] = None, + metro_code: Optional[pulumi.Input[str]] = None, + metro_name: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + + if ibx is not None: + _setter("ibx", ibx) + if metro_code is not None: + _setter("metro_code", metro_code) + if metro_name is not None: + _setter("metro_name", metro_name) + if region is not None: + _setter("region", region) + + @property + @pulumi.getter + def ibx(self) -> Optional[pulumi.Input[str]]: + """ + IBX Code + """ + return pulumi.get(self, "ibx") + + @ibx.setter + def ibx(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ibx", value) + + @property + @pulumi.getter(name="metroCode") + def metro_code(self) -> Optional[pulumi.Input[str]]: + """ + Access point metro code + """ + return pulumi.get(self, "metro_code") + + @metro_code.setter + def metro_code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metro_code", value) + + @property + @pulumi.getter(name="metroName") + def metro_name(self) -> Optional[pulumi.Input[str]]: + """ + Access point metro name + """ + return pulumi.get(self, "metro_name") + + @metro_name.setter + def metro_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "metro_name", value) + + @property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: + """ + Access point region + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) + + +@pulumi.input_type +class CloudRouterNotificationArgs: + def __init__(__self__, *, + emails: pulumi.Input[Sequence[pulumi.Input[str]]], + type: pulumi.Input[str], + send_interval: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] emails: Array of contact emails + :param pulumi.Input[str] type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + :param pulumi.Input[str] send_interval: Send interval + """ + CloudRouterNotificationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + emails=emails, + type=type, + send_interval=send_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + emails: pulumi.Input[Sequence[pulumi.Input[str]]], + type: pulumi.Input[str], + send_interval: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sendInterval' in kwargs: + send_interval = kwargs['sendInterval'] + + _setter("emails", emails) + _setter("type", type) + if send_interval is not None: + _setter("send_interval", send_interval) + + @property + @pulumi.getter + def emails(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + Array of contact emails + """ + return pulumi.get(self, "emails") + + @emails.setter + def emails(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "emails", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="sendInterval") + def send_interval(self) -> Optional[pulumi.Input[str]]: + """ + Send interval + """ + return pulumi.get(self, "send_interval") + + @send_interval.setter + def send_interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "send_interval", value) + + +@pulumi.input_type +class CloudRouterOrderArgs: + def __init__(__self__, *, + billing_tier: Optional[pulumi.Input[str]] = None, + order_id: Optional[pulumi.Input[str]] = None, + order_number: Optional[pulumi.Input[str]] = None, + purchase_order_number: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] billing_tier: Billing tier for connection bandwidth + :param pulumi.Input[str] order_id: Order Identification + :param pulumi.Input[str] order_number: Order Reference Number + :param pulumi.Input[str] purchase_order_number: Purchase order number + """ + CloudRouterOrderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_tier=billing_tier, + order_id=order_id, + order_number=order_number, + purchase_order_number=purchase_order_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_tier: Optional[pulumi.Input[str]] = None, + order_id: Optional[pulumi.Input[str]] = None, + order_number: Optional[pulumi.Input[str]] = None, + purchase_order_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'billingTier' in kwargs: + billing_tier = kwargs['billingTier'] + if 'orderId' in kwargs: + order_id = kwargs['orderId'] + if 'orderNumber' in kwargs: + order_number = kwargs['orderNumber'] + if 'purchaseOrderNumber' in kwargs: + purchase_order_number = kwargs['purchaseOrderNumber'] + + if billing_tier is not None: + _setter("billing_tier", billing_tier) + if order_id is not None: + _setter("order_id", order_id) + if order_number is not None: + _setter("order_number", order_number) + if purchase_order_number is not None: + _setter("purchase_order_number", purchase_order_number) + + @property + @pulumi.getter(name="billingTier") + def billing_tier(self) -> Optional[pulumi.Input[str]]: + """ + Billing tier for connection bandwidth + """ + return pulumi.get(self, "billing_tier") + + @billing_tier.setter + def billing_tier(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "billing_tier", value) + + @property + @pulumi.getter(name="orderId") + def order_id(self) -> Optional[pulumi.Input[str]]: + """ + Order Identification + """ + return pulumi.get(self, "order_id") + + @order_id.setter + def order_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "order_id", value) + + @property + @pulumi.getter(name="orderNumber") + def order_number(self) -> Optional[pulumi.Input[str]]: + """ + Order Reference Number + """ + return pulumi.get(self, "order_number") + + @order_number.setter + def order_number(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "order_number", value) + + @property + @pulumi.getter(name="purchaseOrderNumber") + def purchase_order_number(self) -> Optional[pulumi.Input[str]]: + """ + Purchase order number + """ + return pulumi.get(self, "purchase_order_number") + + @purchase_order_number.setter + def purchase_order_number(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "purchase_order_number", value) + + +@pulumi.input_type +class CloudRouterPackageArgs: + def __init__(__self__, *, + code: pulumi.Input[str]): + """ + :param pulumi.Input[str] code: Fabric Cloud Router package code + """ + CloudRouterPackageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("code", code) + + @property + @pulumi.getter + def code(self) -> pulumi.Input[str]: + """ + Fabric Cloud Router package code + """ + return pulumi.get(self, "code") + + @code.setter + def code(self, value: pulumi.Input[str]): + pulumi.set(self, "code", value) + + +@pulumi.input_type +class CloudRouterProjectArgs: + def __init__(__self__, *, + href: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] href: Unique Resource URL + :param pulumi.Input[str] project_id: Project Id + """ + CloudRouterProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + + if href is not None: + _setter("href", href) + if project_id is not None: + _setter("project_id", project_id) + + @property + @pulumi.getter + def href(self) -> Optional[pulumi.Input[str]]: + """ + Unique Resource URL + """ + return pulumi.get(self, "href") + + @href.setter + def href(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "href", value) + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> Optional[pulumi.Input[str]]: + """ + Project Id + """ + return pulumi.get(self, "project_id") + + @project_id.setter + def project_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "project_id", value) + + @pulumi.input_type class ConnectionASideArgs: def __init__(__self__, *, @@ -85,12 +698,33 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ConnectionASideAdditionalInfoArgs']]] additional_info: Connection side additional information :param pulumi.Input['ConnectionASideServiceTokenArgs'] service_token: For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets """ + ConnectionASideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_point=access_point, + additional_info=additional_info, + service_token=service_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_point: Optional[pulumi.Input['ConnectionASideAccessPointArgs']] = None, + additional_info: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionASideAdditionalInfoArgs']]]] = None, + service_token: Optional[pulumi.Input['ConnectionASideServiceTokenArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPoint' in kwargs: + access_point = kwargs['accessPoint'] + if 'additionalInfo' in kwargs: + additional_info = kwargs['additionalInfo'] + if 'serviceToken' in kwargs: + service_token = kwargs['serviceToken'] + if access_point is not None: - pulumi.set(__self__, "access_point", access_point) + _setter("access_point", access_point) if additional_info is not None: - pulumi.set(__self__, "additional_info", additional_info) + _setter("additional_info", additional_info) if service_token is not None: - pulumi.set(__self__, "service_token", service_token) + _setter("service_token", service_token) @property @pulumi.getter(name="accessPoint") @@ -138,52 +772,128 @@ def __init__(__self__, *, interface: Optional[pulumi.Input['ConnectionASideAccessPointInterfaceArgs']] = None, link_protocol: Optional[pulumi.Input['ConnectionASideAccessPointLinkProtocolArgs']] = None, location: Optional[pulumi.Input['ConnectionASideAccessPointLocationArgs']] = None, + network: Optional[pulumi.Input['ConnectionASideAccessPointNetworkArgs']] = None, peering_type: Optional[pulumi.Input[Union[str, 'AccessPointPeeringType']]] = None, port: Optional[pulumi.Input['ConnectionASideAccessPointPortArgs']] = None, profile: Optional[pulumi.Input['ConnectionASideAccessPointProfileArgs']] = None, provider_connection_id: Optional[pulumi.Input[str]] = None, + router: Optional[pulumi.Input['ConnectionASideAccessPointRouterArgs']] = None, routing_protocols: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointRoutingProtocolArgs']]]] = None, seller_region: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[Union[str, 'AccessPointType']]] = None, virtual_device: Optional[pulumi.Input['ConnectionASideAccessPointVirtualDeviceArgs']] = None): """ - :param pulumi.Input['ConnectionASideAccessPointAccountArgs'] account: Customer account information that is associated with this connection - :param pulumi.Input[Union[str, 'AccessPointType']] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ + :param pulumi.Input['ConnectionASideAccessPointAccountArgs'] account: Account + :param pulumi.Input[str] authentication_key: Authentication key for provider based connections + :param pulumi.Input['ConnectionASideAccessPointInterfaceArgs'] interface: Virtual device interface + :param pulumi.Input['ConnectionASideAccessPointLinkProtocolArgs'] link_protocol: Connection link protocol + :param pulumi.Input['ConnectionASideAccessPointLocationArgs'] location: Access point location + :param pulumi.Input[Union[str, 'AccessPointPeeringType']] peering_type: Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + :param pulumi.Input['ConnectionASideAccessPointPortArgs'] port: Port access point information + :param pulumi.Input['ConnectionASideAccessPointProfileArgs'] profile: Service Profile + :param pulumi.Input[str] provider_connection_id: Provider assigned Connection Id + :param pulumi.Input['ConnectionASideAccessPointRouterArgs'] router: Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + :param pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointRoutingProtocolArgs']]] routing_protocols: Access point routing protocols configuration + :param pulumi.Input[str] seller_region: Access point seller region + :param pulumi.Input[Union[str, 'AccessPointType']] type: Interface type + :param pulumi.Input['ConnectionASideAccessPointVirtualDeviceArgs'] virtual_device: Virtual device + """ + ConnectionASideAccessPointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account=account, + authentication_key=authentication_key, + gateway=gateway, + interface=interface, + link_protocol=link_protocol, + location=location, + network=network, + peering_type=peering_type, + port=port, + profile=profile, + provider_connection_id=provider_connection_id, + router=router, + routing_protocols=routing_protocols, + seller_region=seller_region, + type=type, + virtual_device=virtual_device, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account: Optional[pulumi.Input['ConnectionASideAccessPointAccountArgs']] = None, + authentication_key: Optional[pulumi.Input[str]] = None, + gateway: Optional[pulumi.Input['ConnectionASideAccessPointGatewayArgs']] = None, + interface: Optional[pulumi.Input['ConnectionASideAccessPointInterfaceArgs']] = None, + link_protocol: Optional[pulumi.Input['ConnectionASideAccessPointLinkProtocolArgs']] = None, + location: Optional[pulumi.Input['ConnectionASideAccessPointLocationArgs']] = None, + network: Optional[pulumi.Input['ConnectionASideAccessPointNetworkArgs']] = None, + peering_type: Optional[pulumi.Input[Union[str, 'AccessPointPeeringType']]] = None, + port: Optional[pulumi.Input['ConnectionASideAccessPointPortArgs']] = None, + profile: Optional[pulumi.Input['ConnectionASideAccessPointProfileArgs']] = None, + provider_connection_id: Optional[pulumi.Input[str]] = None, + router: Optional[pulumi.Input['ConnectionASideAccessPointRouterArgs']] = None, + routing_protocols: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointRoutingProtocolArgs']]]] = None, + seller_region: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[Union[str, 'AccessPointType']]] = None, + virtual_device: Optional[pulumi.Input['ConnectionASideAccessPointVirtualDeviceArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authenticationKey' in kwargs: + authentication_key = kwargs['authenticationKey'] + if 'linkProtocol' in kwargs: + link_protocol = kwargs['linkProtocol'] + if 'peeringType' in kwargs: + peering_type = kwargs['peeringType'] + if 'providerConnectionId' in kwargs: + provider_connection_id = kwargs['providerConnectionId'] + if 'routingProtocols' in kwargs: + routing_protocols = kwargs['routingProtocols'] + if 'sellerRegion' in kwargs: + seller_region = kwargs['sellerRegion'] + if 'virtualDevice' in kwargs: + virtual_device = kwargs['virtualDevice'] + if account is not None: - pulumi.set(__self__, "account", account) + _setter("account", account) if authentication_key is not None: - pulumi.set(__self__, "authentication_key", authentication_key) + _setter("authentication_key", authentication_key) if gateway is not None: - pulumi.set(__self__, "gateway", gateway) + warnings.warn("""use router attribute instead; gateway is no longer a part of the supported backend""", DeprecationWarning) + pulumi.log.warn("""gateway is deprecated: use router attribute instead; gateway is no longer a part of the supported backend""") + if gateway is not None: + _setter("gateway", gateway) if interface is not None: - pulumi.set(__self__, "interface", interface) + _setter("interface", interface) if link_protocol is not None: - pulumi.set(__self__, "link_protocol", link_protocol) + _setter("link_protocol", link_protocol) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) + if network is not None: + _setter("network", network) if peering_type is not None: - pulumi.set(__self__, "peering_type", peering_type) + _setter("peering_type", peering_type) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if profile is not None: - pulumi.set(__self__, "profile", profile) + _setter("profile", profile) if provider_connection_id is not None: - pulumi.set(__self__, "provider_connection_id", provider_connection_id) + _setter("provider_connection_id", provider_connection_id) + if router is not None: + _setter("router", router) if routing_protocols is not None: - pulumi.set(__self__, "routing_protocols", routing_protocols) + _setter("routing_protocols", routing_protocols) if seller_region is not None: - pulumi.set(__self__, "seller_region", seller_region) + _setter("seller_region", seller_region) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if virtual_device is not None: - pulumi.set(__self__, "virtual_device", virtual_device) + _setter("virtual_device", virtual_device) @property @pulumi.getter def account(self) -> Optional[pulumi.Input['ConnectionASideAccessPointAccountArgs']]: """ - Customer account information that is associated with this connection + Account """ return pulumi.get(self, "account") @@ -194,6 +904,9 @@ def account(self, value: Optional[pulumi.Input['ConnectionASideAccessPointAccoun @property @pulumi.getter(name="authenticationKey") def authentication_key(self) -> Optional[pulumi.Input[str]]: + """ + Authentication key for provider based connections + """ return pulumi.get(self, "authentication_key") @authentication_key.setter @@ -203,6 +916,9 @@ def authentication_key(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def gateway(self) -> Optional[pulumi.Input['ConnectionASideAccessPointGatewayArgs']]: + warnings.warn("""use router attribute instead; gateway is no longer a part of the supported backend""", DeprecationWarning) + pulumi.log.warn("""gateway is deprecated: use router attribute instead; gateway is no longer a part of the supported backend""") + return pulumi.get(self, "gateway") @gateway.setter @@ -212,6 +928,9 @@ def gateway(self, value: Optional[pulumi.Input['ConnectionASideAccessPointGatewa @property @pulumi.getter def interface(self) -> Optional[pulumi.Input['ConnectionASideAccessPointInterfaceArgs']]: + """ + Virtual device interface + """ return pulumi.get(self, "interface") @interface.setter @@ -221,6 +940,9 @@ def interface(self, value: Optional[pulumi.Input['ConnectionASideAccessPointInte @property @pulumi.getter(name="linkProtocol") def link_protocol(self) -> Optional[pulumi.Input['ConnectionASideAccessPointLinkProtocolArgs']]: + """ + Connection link protocol + """ return pulumi.get(self, "link_protocol") @link_protocol.setter @@ -230,15 +952,30 @@ def link_protocol(self, value: Optional[pulumi.Input['ConnectionASideAccessPoint @property @pulumi.getter def location(self) -> Optional[pulumi.Input['ConnectionASideAccessPointLocationArgs']]: + """ + Access point location + """ return pulumi.get(self, "location") @location.setter def location(self, value: Optional[pulumi.Input['ConnectionASideAccessPointLocationArgs']]): pulumi.set(self, "location", value) + @property + @pulumi.getter + def network(self) -> Optional[pulumi.Input['ConnectionASideAccessPointNetworkArgs']]: + return pulumi.get(self, "network") + + @network.setter + def network(self, value: Optional[pulumi.Input['ConnectionASideAccessPointNetworkArgs']]): + pulumi.set(self, "network", value) + @property @pulumi.getter(name="peeringType") def peering_type(self) -> Optional[pulumi.Input[Union[str, 'AccessPointPeeringType']]]: + """ + Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + """ return pulumi.get(self, "peering_type") @peering_type.setter @@ -248,6 +985,9 @@ def peering_type(self, value: Optional[pulumi.Input[Union[str, 'AccessPointPeeri @property @pulumi.getter def port(self) -> Optional[pulumi.Input['ConnectionASideAccessPointPortArgs']]: + """ + Port access point information + """ return pulumi.get(self, "port") @port.setter @@ -257,6 +997,9 @@ def port(self, value: Optional[pulumi.Input['ConnectionASideAccessPointPortArgs' @property @pulumi.getter def profile(self) -> Optional[pulumi.Input['ConnectionASideAccessPointProfileArgs']]: + """ + Service Profile + """ return pulumi.get(self, "profile") @profile.setter @@ -266,15 +1009,33 @@ def profile(self, value: Optional[pulumi.Input['ConnectionASideAccessPointProfil @property @pulumi.getter(name="providerConnectionId") def provider_connection_id(self) -> Optional[pulumi.Input[str]]: + """ + Provider assigned Connection Id + """ return pulumi.get(self, "provider_connection_id") @provider_connection_id.setter def provider_connection_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "provider_connection_id", value) + @property + @pulumi.getter + def router(self) -> Optional[pulumi.Input['ConnectionASideAccessPointRouterArgs']]: + """ + Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + """ + return pulumi.get(self, "router") + + @router.setter + def router(self, value: Optional[pulumi.Input['ConnectionASideAccessPointRouterArgs']]): + pulumi.set(self, "router", value) + @property @pulumi.getter(name="routingProtocols") def routing_protocols(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointRoutingProtocolArgs']]]]: + """ + Access point routing protocols configuration + """ return pulumi.get(self, "routing_protocols") @routing_protocols.setter @@ -284,6 +1045,9 @@ def routing_protocols(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' @property @pulumi.getter(name="sellerRegion") def seller_region(self) -> Optional[pulumi.Input[str]]: + """ + Access point seller region + """ return pulumi.get(self, "seller_region") @seller_region.setter @@ -294,7 +1058,7 @@ def seller_region(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def type(self) -> Optional[pulumi.Input[Union[str, 'AccessPointType']]]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -305,6 +1069,9 @@ def type(self, value: Optional[pulumi.Input[Union[str, 'AccessPointType']]]): @property @pulumi.getter(name="virtualDevice") def virtual_device(self) -> Optional[pulumi.Input['ConnectionASideAccessPointVirtualDeviceArgs']]: + """ + Virtual device + """ return pulumi.get(self, "virtual_device") @virtual_device.setter @@ -322,20 +1089,57 @@ def __init__(__self__, *, global_organization_name: Optional[pulumi.Input[str]] = None, org_id: Optional[pulumi.Input[int]] = None, organization_name: Optional[pulumi.Input[str]] = None): + ConnectionASideAccessPointAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: Optional[pulumi.Input[str]] = None, + account_number: Optional[pulumi.Input[int]] = None, + global_cust_id: Optional[pulumi.Input[str]] = None, + global_org_id: Optional[pulumi.Input[str]] = None, + global_organization_name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[int]] = None, + organization_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + if account_name is not None: - pulumi.set(__self__, "account_name", account_name) + _setter("account_name", account_name) if account_number is not None: - pulumi.set(__self__, "account_number", account_number) + _setter("account_number", account_number) if global_cust_id is not None: - pulumi.set(__self__, "global_cust_id", global_cust_id) + _setter("global_cust_id", global_cust_id) if global_org_id is not None: - pulumi.set(__self__, "global_org_id", global_org_id) + _setter("global_org_id", global_org_id) if global_organization_name is not None: - pulumi.set(__self__, "global_organization_name", global_organization_name) + _setter("global_organization_name", global_organization_name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if organization_name is not None: - pulumi.set(__self__, "organization_name", organization_name) + _setter("organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -407,18 +1211,32 @@ def __init__(__self__, *, href: Optional[pulumi.Input[str]] = None, uuid: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] href: Connection URI information - """ + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionASideAccessPointGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if href is not None: - pulumi.set(__self__, "href", href) + _setter("href", href) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter def href(self) -> Optional[pulumi.Input[str]]: """ - Connection URI information + Unique Resource Identifier """ return pulumi.get(self, "href") @@ -429,6 +1247,9 @@ def href(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ return pulumi.get(self, "uuid") @uuid.setter @@ -443,21 +1264,37 @@ def __init__(__self__, *, type: Optional[pulumi.Input[str]] = None, uuid: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] id: The ID of this resource. - :param pulumi.Input[str] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ + :param pulumi.Input[str] id: id + :param pulumi.Input[str] type: Interface type + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionASideAccessPointInterfaceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter def id(self) -> Optional[pulumi.Input[str]]: """ - The ID of this resource. + id """ return pulumi.get(self, "id") @@ -469,7 +1306,7 @@ def id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -480,6 +1317,9 @@ def type(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ return pulumi.get(self, "uuid") @uuid.setter @@ -495,22 +1335,48 @@ def __init__(__self__, *, vlan_s_tag: Optional[pulumi.Input[int]] = None, vlan_tag: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Union[str, 'AccessPointLinkProtocolType']] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ + :param pulumi.Input[Union[str, 'AccessPointLinkProtocolType']] type: Interface type + :param pulumi.Input[int] vlan_c_tag: Vlan Customer Tag information, vlanCTag value specified for QINQ connections + :param pulumi.Input[int] vlan_s_tag: Vlan Provider Tag information, vlanSTag value specified for QINQ connections + :param pulumi.Input[int] vlan_tag: Vlan Tag information, vlanTag value specified for DOT1Q connections + """ + ConnectionASideAccessPointLinkProtocolArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + vlan_c_tag=vlan_c_tag, + vlan_s_tag=vlan_s_tag, + vlan_tag=vlan_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[pulumi.Input[Union[str, 'AccessPointLinkProtocolType']]] = None, + vlan_c_tag: Optional[pulumi.Input[int]] = None, + vlan_s_tag: Optional[pulumi.Input[int]] = None, + vlan_tag: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'vlanCTag' in kwargs: + vlan_c_tag = kwargs['vlanCTag'] + if 'vlanSTag' in kwargs: + vlan_s_tag = kwargs['vlanSTag'] + if 'vlanTag' in kwargs: + vlan_tag = kwargs['vlanTag'] + if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vlan_c_tag is not None: - pulumi.set(__self__, "vlan_c_tag", vlan_c_tag) + _setter("vlan_c_tag", vlan_c_tag) if vlan_s_tag is not None: - pulumi.set(__self__, "vlan_s_tag", vlan_s_tag) + _setter("vlan_s_tag", vlan_s_tag) if vlan_tag is not None: - pulumi.set(__self__, "vlan_tag", vlan_tag) + _setter("vlan_tag", vlan_tag) @property @pulumi.getter def type(self) -> Optional[pulumi.Input[Union[str, 'AccessPointLinkProtocolType']]]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -521,6 +1387,9 @@ def type(self, value: Optional[pulumi.Input[Union[str, 'AccessPointLinkProtocolT @property @pulumi.getter(name="vlanCTag") def vlan_c_tag(self) -> Optional[pulumi.Input[int]]: + """ + Vlan Customer Tag information, vlanCTag value specified for QINQ connections + """ return pulumi.get(self, "vlan_c_tag") @vlan_c_tag.setter @@ -530,6 +1399,9 @@ def vlan_c_tag(self, value: Optional[pulumi.Input[int]]): @property @pulumi.getter(name="vlanSTag") def vlan_s_tag(self) -> Optional[pulumi.Input[int]]: + """ + Vlan Provider Tag information, vlanSTag value specified for QINQ connections + """ return pulumi.get(self, "vlan_s_tag") @vlan_s_tag.setter @@ -539,6 +1411,9 @@ def vlan_s_tag(self, value: Optional[pulumi.Input[int]]): @property @pulumi.getter(name="vlanTag") def vlan_tag(self) -> Optional[pulumi.Input[int]]: + """ + Vlan Tag information, vlanTag value specified for DOT1Q connections + """ return pulumi.get(self, "vlan_tag") @vlan_tag.setter @@ -553,18 +1428,48 @@ def __init__(__self__, *, metro_code: Optional[pulumi.Input[Union[str, '_root_enums.Metro']]] = None, metro_name: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] ibx: IBX Code + :param pulumi.Input[Union[str, '_root_enums.Metro']] metro_code: Access point metro code + :param pulumi.Input[str] metro_name: Access point metro name + :param pulumi.Input[str] region: Access point region + """ + ConnectionASideAccessPointLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ibx: Optional[pulumi.Input[str]] = None, + metro_code: Optional[pulumi.Input[Union[str, '_root_enums.Metro']]] = None, + metro_name: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + if ibx is not None: - pulumi.set(__self__, "ibx", ibx) + _setter("ibx", ibx) if metro_code is not None: - pulumi.set(__self__, "metro_code", metro_code) + _setter("metro_code", metro_code) if metro_name is not None: - pulumi.set(__self__, "metro_name", metro_name) + _setter("metro_name", metro_name) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) @property @pulumi.getter def ibx(self) -> Optional[pulumi.Input[str]]: + """ + IBX Code + """ return pulumi.get(self, "ibx") @ibx.setter @@ -574,6 +1479,9 @@ def ibx(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="metroCode") def metro_code(self) -> Optional[pulumi.Input[Union[str, '_root_enums.Metro']]]: + """ + Access point metro code + """ return pulumi.get(self, "metro_code") @metro_code.setter @@ -583,6 +1491,9 @@ def metro_code(self, value: Optional[pulumi.Input[Union[str, '_root_enums.Metro' @property @pulumi.getter(name="metroName") def metro_name(self) -> Optional[pulumi.Input[str]]: + """ + Access point metro name + """ return pulumi.get(self, "metro_name") @metro_name.setter @@ -592,6 +1503,9 @@ def metro_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: + """ + Access point region + """ return pulumi.get(self, "region") @region.setter @@ -599,6 +1513,58 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +@pulumi.input_type +class ConnectionASideAccessPointNetworkArgs: + def __init__(__self__, *, + href: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionASideAccessPointNetworkArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if href is not None: + _setter("href", href) + if uuid is not None: + _setter("uuid", uuid) + + @property + @pulumi.getter + def href(self) -> Optional[pulumi.Input[str]]: + """ + Unique Resource Identifier + """ + return pulumi.get(self, "href") + + @href.setter + def href(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "href", value) + + @property + @pulumi.getter + def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") + + @uuid.setter + def uuid(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uuid", value) + + @pulumi.input_type class ConnectionASideAccessPointPortArgs: def __init__(__self__, *, @@ -607,24 +1573,42 @@ def __init__(__self__, *, redundancies: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointPortRedundancyArgs']]]] = None, uuid: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] href: Connection URI information - :param pulumi.Input[str] name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[str] name: Port name :param pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointPortRedundancyArgs']]] redundancies: Redundancy Information - """ + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionASideAccessPointPortArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + name=name, + redundancies=redundancies, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + redundancies: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointPortRedundancyArgs']]]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if href is not None: - pulumi.set(__self__, "href", href) + _setter("href", href) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if redundancies is not None: - pulumi.set(__self__, "redundancies", redundancies) + _setter("redundancies", redundancies) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter def href(self) -> Optional[pulumi.Input[str]]: """ - Connection URI information + Unique Resource Identifier """ return pulumi.get(self, "href") @@ -636,7 +1620,7 @@ def href(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Port name """ return pulumi.get(self, "name") @@ -659,6 +1643,9 @@ def redundancies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Conne @property @pulumi.getter def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ return pulumi.get(self, "uuid") @uuid.setter @@ -673,8 +1660,19 @@ def __init__(__self__, *, """ :param pulumi.Input[str] priority: Priority type- PRIMARY, SECONDARY """ + ConnectionASideAccessPointPortRedundancyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + priority: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) @property @pulumi.getter @@ -699,26 +1697,52 @@ def __init__(__self__, *, href: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Union[str, 'ProfileType']] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param pulumi.Input[str] href: Connection URI information - :param pulumi.Input[str] name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + :param pulumi.Input[Union[str, 'ProfileType']] type: Interface type + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + :param pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointProfileAccessPointTypeConfigArgs']]] access_point_type_configs: Access point config information + :param pulumi.Input[str] description: User-provided service description + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[str] name: Port name + """ + ConnectionASideAccessPointProfileArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uuid=uuid, + access_point_type_configs=access_point_type_configs, + description=description, + href=href, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[Union[str, 'ProfileType']], + uuid: pulumi.Input[str], + access_point_type_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointProfileAccessPointTypeConfigArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + href: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPointTypeConfigs' in kwargs: + access_point_type_configs = kwargs['accessPointTypeConfigs'] + + _setter("type", type) + _setter("uuid", uuid) if access_point_type_configs is not None: - pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) + _setter("access_point_type_configs", access_point_type_configs) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if href is not None: - pulumi.set(__self__, "href", href) + _setter("href", href) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter def type(self) -> pulumi.Input[Union[str, 'ProfileType']]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -729,6 +1753,9 @@ def type(self, value: pulumi.Input[Union[str, 'ProfileType']]): @property @pulumi.getter def uuid(self) -> pulumi.Input[str]: + """ + Equinix-assigned interface identifier + """ return pulumi.get(self, "uuid") @uuid.setter @@ -738,6 +1765,9 @@ def uuid(self, value: pulumi.Input[str]): @property @pulumi.getter(name="accessPointTypeConfigs") def access_point_type_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointProfileAccessPointTypeConfigArgs']]]]: + """ + Access point config information + """ return pulumi.get(self, "access_point_type_configs") @access_point_type_configs.setter @@ -747,6 +1777,9 @@ def access_point_type_configs(self, value: Optional[pulumi.Input[Sequence[pulumi @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: + """ + User-provided service description + """ return pulumi.get(self, "description") @description.setter @@ -757,7 +1790,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def href(self) -> Optional[pulumi.Input[str]]: """ - Connection URI information + Unique Resource Identifier """ return pulumi.get(self, "href") @@ -769,7 +1802,7 @@ def href(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Port name """ return pulumi.get(self, "name") @@ -784,18 +1817,32 @@ def __init__(__self__, *, type: Optional[pulumi.Input[str]] = None, uuid: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ + :param pulumi.Input[str] type: Interface type + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionASideAccessPointProfileAccessPointTypeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -806,6 +1853,61 @@ def type(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") + + @uuid.setter + def uuid(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uuid", value) + + +@pulumi.input_type +class ConnectionASideAccessPointRouterArgs: + def __init__(__self__, *, + href: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionASideAccessPointRouterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if href is not None: + _setter("href", href) + if uuid is not None: + _setter("uuid", uuid) + + @property + @pulumi.getter + def href(self) -> Optional[pulumi.Input[str]]: + """ + Unique Resource Identifier + """ + return pulumi.get(self, "href") + + @href.setter + def href(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "href", value) + + @property + @pulumi.getter + def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ return pulumi.get(self, "uuid") @uuid.setter @@ -820,21 +1922,37 @@ def __init__(__self__, *, type: Optional[pulumi.Input[str]] = None, uuid: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] state: Connection overall state - :param pulumi.Input[str] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ + :param pulumi.Input[str] state: Routing protocol instance state + :param pulumi.Input[str] type: Interface type + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionASideAccessPointRoutingProtocolArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + state=state, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + state: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: """ - Connection overall state + Routing protocol instance state """ return pulumi.get(self, "state") @@ -846,7 +1964,7 @@ def state(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -857,6 +1975,9 @@ def type(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ return pulumi.get(self, "uuid") @uuid.setter @@ -871,21 +1992,37 @@ def __init__(__self__, *, type: Optional[pulumi.Input[str]] = None, uuid: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] href: Connection URI information - :param pulumi.Input[str] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[str] type: Interface type + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionASideAccessPointVirtualDeviceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if href is not None: - pulumi.set(__self__, "href", href) + _setter("href", href) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter def href(self) -> Optional[pulumi.Input[str]]: """ - Connection URI information + Unique Resource Identifier """ return pulumi.get(self, "href") @@ -897,7 +2034,7 @@ def href(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -908,6 +2045,9 @@ def type(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ return pulumi.get(self, "uuid") @uuid.setter @@ -924,10 +2064,23 @@ def __init__(__self__, *, :param pulumi.Input[str] key: Additional information key :param pulumi.Input[str] value: Additional information value """ + ConnectionASideAdditionalInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -962,21 +2115,43 @@ def __init__(__self__, *, type: Optional[pulumi.Input[Union[str, 'ServiceTokenType']]] = None, uuid: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] href: Connection URI information - :param pulumi.Input[Union[str, 'ServiceTokenType']] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ + :param pulumi.Input[str] description: User-provided service description + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[Union[str, 'ServiceTokenType']] type: Interface type + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionASideServiceTokenArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + href: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[Union[str, 'ServiceTokenType']]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if href is not None: - pulumi.set(__self__, "href", href) + _setter("href", href) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: + """ + User-provided service description + """ return pulumi.get(self, "description") @description.setter @@ -987,7 +2162,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def href(self) -> Optional[pulumi.Input[str]]: """ - Connection URI information + Unique Resource Identifier """ return pulumi.get(self, "href") @@ -999,7 +2174,7 @@ def href(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def type(self) -> Optional[pulumi.Input[Union[str, 'ServiceTokenType']]]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -1010,6 +2185,9 @@ def type(self, value: Optional[pulumi.Input[Union[str, 'ServiceTokenType']]]): @property @pulumi.getter def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ return pulumi.get(self, "uuid") @uuid.setter @@ -1027,20 +2205,57 @@ def __init__(__self__, *, global_organization_name: Optional[pulumi.Input[str]] = None, org_id: Optional[pulumi.Input[int]] = None, organization_name: Optional[pulumi.Input[str]] = None): + ConnectionAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: Optional[pulumi.Input[str]] = None, + account_number: Optional[pulumi.Input[int]] = None, + global_cust_id: Optional[pulumi.Input[str]] = None, + global_org_id: Optional[pulumi.Input[str]] = None, + global_organization_name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[int]] = None, + organization_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + if account_name is not None: - pulumi.set(__self__, "account_name", account_name) + _setter("account_name", account_name) if account_number is not None: - pulumi.set(__self__, "account_number", account_number) + _setter("account_number", account_number) if global_cust_id is not None: - pulumi.set(__self__, "global_cust_id", global_cust_id) + _setter("global_cust_id", global_cust_id) if global_org_id is not None: - pulumi.set(__self__, "global_org_id", global_org_id) + _setter("global_org_id", global_org_id) if global_organization_name is not None: - pulumi.set(__self__, "global_organization_name", global_organization_name) + _setter("global_organization_name", global_organization_name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if organization_name is not None: - pulumi.set(__self__, "organization_name", organization_name) + _setter("organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -1106,45 +2321,6 @@ def organization_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "organization_name", value) -@pulumi.input_type -class ConnectionAdditionalInfoArgs: - def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: Additional information key - :param pulumi.Input[str] value: Additional information value - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: - """ - Additional information key - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - """ - Additional information value - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) - - @pulumi.input_type class ConnectionChangeLogArgs: def __init__(__self__, *, @@ -1160,30 +2336,87 @@ def __init__(__self__, *, updated_by_email: Optional[pulumi.Input[str]] = None, updated_by_full_name: Optional[pulumi.Input[str]] = None, updated_date_time: Optional[pulumi.Input[str]] = None): + ConnectionChangeLogArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: Optional[pulumi.Input[str]] = None, + created_by_email: Optional[pulumi.Input[str]] = None, + created_by_full_name: Optional[pulumi.Input[str]] = None, + created_date_time: Optional[pulumi.Input[str]] = None, + deleted_by: Optional[pulumi.Input[str]] = None, + deleted_by_email: Optional[pulumi.Input[str]] = None, + deleted_by_full_name: Optional[pulumi.Input[str]] = None, + deleted_date_time: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + updated_by_email: Optional[pulumi.Input[str]] = None, + updated_by_full_name: Optional[pulumi.Input[str]] = None, + updated_date_time: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if created_by_email is not None: - pulumi.set(__self__, "created_by_email", created_by_email) + _setter("created_by_email", created_by_email) if created_by_full_name is not None: - pulumi.set(__self__, "created_by_full_name", created_by_full_name) + _setter("created_by_full_name", created_by_full_name) if created_date_time is not None: - pulumi.set(__self__, "created_date_time", created_date_time) + _setter("created_date_time", created_date_time) if deleted_by is not None: - pulumi.set(__self__, "deleted_by", deleted_by) + _setter("deleted_by", deleted_by) if deleted_by_email is not None: - pulumi.set(__self__, "deleted_by_email", deleted_by_email) + _setter("deleted_by_email", deleted_by_email) if deleted_by_full_name is not None: - pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) + _setter("deleted_by_full_name", deleted_by_full_name) if deleted_date_time is not None: - pulumi.set(__self__, "deleted_date_time", deleted_date_time) + _setter("deleted_date_time", deleted_date_time) if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + _setter("updated_by", updated_by) if updated_by_email is not None: - pulumi.set(__self__, "updated_by_email", updated_by_email) + _setter("updated_by_email", updated_by_email) if updated_by_full_name is not None: - pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) + _setter("updated_by_full_name", updated_by_full_name) if updated_date_time is not None: - pulumi.set(__self__, "updated_date_time", updated_date_time) + _setter("updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -1305,10 +2538,27 @@ def __init__(__self__, *, :param pulumi.Input[Union[str, 'NotificationsType']] type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS :param pulumi.Input[str] send_interval: Send interval """ - pulumi.set(__self__, "emails", emails) - pulumi.set(__self__, "type", type) + ConnectionNotificationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + emails=emails, + type=type, + send_interval=send_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + emails: pulumi.Input[Sequence[pulumi.Input[str]]], + type: pulumi.Input[Union[str, 'NotificationsType']], + send_interval: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sendInterval' in kwargs: + send_interval = kwargs['sendInterval'] + + _setter("emails", emails) + _setter("type", type) if send_interval is not None: - pulumi.set(__self__, "send_interval", send_interval) + _setter("send_interval", send_interval) @property @pulumi.getter @@ -1353,12 +2603,31 @@ def __init__(__self__, *, equinix_status: Optional[pulumi.Input[str]] = None, errors: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionOperationErrorArgs']]]] = None, provider_status: Optional[pulumi.Input[str]] = None): + ConnectionOperationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + equinix_status=equinix_status, + errors=errors, + provider_status=provider_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + equinix_status: Optional[pulumi.Input[str]] = None, + errors: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionOperationErrorArgs']]]] = None, + provider_status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'equinixStatus' in kwargs: + equinix_status = kwargs['equinixStatus'] + if 'providerStatus' in kwargs: + provider_status = kwargs['providerStatus'] + if equinix_status is not None: - pulumi.set(__self__, "equinix_status", equinix_status) + _setter("equinix_status", equinix_status) if errors is not None: - pulumi.set(__self__, "errors", errors) + _setter("errors", errors) if provider_status is not None: - pulumi.set(__self__, "provider_status", provider_status) + _setter("provider_status", provider_status) @property @pulumi.getter(name="equinixStatus") @@ -1398,26 +2667,55 @@ def __init__(__self__, *, error_message: Optional[pulumi.Input[str]] = None, help: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['ConnectionOperationErrorAdditionalInfoArgs']]] additional_info: Connection additional information - """ + :param pulumi.Input[Sequence[pulumi.Input['ConnectionOperationErrorAdditionalInfoArgs']]] additional_info: Connection side additional information + """ + ConnectionOperationErrorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_info=additional_info, + correlation_id=correlation_id, + details=details, + error_code=error_code, + error_message=error_message, + help=help, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_info: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionOperationErrorAdditionalInfoArgs']]]] = None, + correlation_id: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[str]] = None, + error_code: Optional[pulumi.Input[str]] = None, + error_message: Optional[pulumi.Input[str]] = None, + help: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'additionalInfo' in kwargs: + additional_info = kwargs['additionalInfo'] + if 'correlationId' in kwargs: + correlation_id = kwargs['correlationId'] + if 'errorCode' in kwargs: + error_code = kwargs['errorCode'] + if 'errorMessage' in kwargs: + error_message = kwargs['errorMessage'] + if additional_info is not None: - pulumi.set(__self__, "additional_info", additional_info) + _setter("additional_info", additional_info) if correlation_id is not None: - pulumi.set(__self__, "correlation_id", correlation_id) + _setter("correlation_id", correlation_id) if details is not None: - pulumi.set(__self__, "details", details) + _setter("details", details) if error_code is not None: - pulumi.set(__self__, "error_code", error_code) + _setter("error_code", error_code) if error_message is not None: - pulumi.set(__self__, "error_message", error_message) + _setter("error_message", error_message) if help is not None: - pulumi.set(__self__, "help", help) + _setter("help", help) @property @pulumi.getter(name="additionalInfo") def additional_info(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionOperationErrorAdditionalInfoArgs']]]]: """ - Connection additional information + Connection side additional information """ return pulumi.get(self, "additional_info") @@ -1476,10 +2774,23 @@ class ConnectionOperationErrorAdditionalInfoArgs: def __init__(__self__, *, property: Optional[pulumi.Input[str]] = None, reason: Optional[pulumi.Input[str]] = None): + ConnectionOperationErrorAdditionalInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + property=property, + reason=reason, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + property: Optional[pulumi.Input[str]] = None, + reason: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if property is not None: - pulumi.set(__self__, "property", property) + _setter("property", property) if reason is not None: - pulumi.set(__self__, "reason", reason) + _setter("reason", reason) @property @pulumi.getter @@ -1513,14 +2824,39 @@ def __init__(__self__, *, :param pulumi.Input[str] order_number: Order Reference Number :param pulumi.Input[str] purchase_order_number: Purchase order number """ + ConnectionOrderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_tier=billing_tier, + order_id=order_id, + order_number=order_number, + purchase_order_number=purchase_order_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_tier: Optional[pulumi.Input[str]] = None, + order_id: Optional[pulumi.Input[str]] = None, + order_number: Optional[pulumi.Input[str]] = None, + purchase_order_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'billingTier' in kwargs: + billing_tier = kwargs['billingTier'] + if 'orderId' in kwargs: + order_id = kwargs['orderId'] + if 'orderNumber' in kwargs: + order_number = kwargs['orderNumber'] + if 'purchaseOrderNumber' in kwargs: + purchase_order_number = kwargs['purchaseOrderNumber'] + if billing_tier is not None: - pulumi.set(__self__, "billing_tier", billing_tier) + _setter("billing_tier", billing_tier) if order_id is not None: - pulumi.set(__self__, "order_id", order_id) + _setter("order_id", order_id) if order_number is not None: - pulumi.set(__self__, "order_number", order_number) + _setter("order_number", order_number) if purchase_order_number is not None: - pulumi.set(__self__, "purchase_order_number", purchase_order_number) + _setter("purchase_order_number", purchase_order_number) @property @pulumi.getter(name="billingTier") @@ -1580,10 +2916,25 @@ def __init__(__self__, *, :param pulumi.Input[str] href: Unique Resource URL :param pulumi.Input[str] project_id: Project Id """ + ConnectionProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if href is not None: - pulumi.set(__self__, "href", href) + _setter("href", href) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) @property @pulumi.getter @@ -1619,10 +2970,23 @@ def __init__(__self__, *, :param pulumi.Input[str] group: Redundancy group identifier :param pulumi.Input[str] priority: Priority type- PRIMARY, SECONDARY """ + ConnectionRedundancyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + group=group, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + group: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if group is not None: - pulumi.set(__self__, "group", group) + _setter("group", group) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) @property @pulumi.getter @@ -1660,12 +3024,33 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAdditionalInfoArgs']]] additional_info: Connection side additional information :param pulumi.Input['ConnectionZSideServiceTokenArgs'] service_token: For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets """ + ConnectionZSideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_point=access_point, + additional_info=additional_info, + service_token=service_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_point: Optional[pulumi.Input['ConnectionZSideAccessPointArgs']] = None, + additional_info: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAdditionalInfoArgs']]]] = None, + service_token: Optional[pulumi.Input['ConnectionZSideServiceTokenArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPoint' in kwargs: + access_point = kwargs['accessPoint'] + if 'additionalInfo' in kwargs: + additional_info = kwargs['additionalInfo'] + if 'serviceToken' in kwargs: + service_token = kwargs['serviceToken'] + if access_point is not None: - pulumi.set(__self__, "access_point", access_point) + _setter("access_point", access_point) if additional_info is not None: - pulumi.set(__self__, "additional_info", additional_info) + _setter("additional_info", additional_info) if service_token is not None: - pulumi.set(__self__, "service_token", service_token) + _setter("service_token", service_token) @property @pulumi.getter(name="accessPoint") @@ -1713,52 +3098,128 @@ def __init__(__self__, *, interface: Optional[pulumi.Input['ConnectionZSideAccessPointInterfaceArgs']] = None, link_protocol: Optional[pulumi.Input['ConnectionZSideAccessPointLinkProtocolArgs']] = None, location: Optional[pulumi.Input['ConnectionZSideAccessPointLocationArgs']] = None, + network: Optional[pulumi.Input['ConnectionZSideAccessPointNetworkArgs']] = None, peering_type: Optional[pulumi.Input[Union[str, 'AccessPointPeeringType']]] = None, port: Optional[pulumi.Input['ConnectionZSideAccessPointPortArgs']] = None, profile: Optional[pulumi.Input['ConnectionZSideAccessPointProfileArgs']] = None, provider_connection_id: Optional[pulumi.Input[str]] = None, + router: Optional[pulumi.Input['ConnectionZSideAccessPointRouterArgs']] = None, routing_protocols: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAccessPointRoutingProtocolArgs']]]] = None, seller_region: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[Union[str, 'AccessPointType']]] = None, virtual_device: Optional[pulumi.Input['ConnectionZSideAccessPointVirtualDeviceArgs']] = None): """ - :param pulumi.Input['ConnectionZSideAccessPointAccountArgs'] account: Customer account information that is associated with this connection - :param pulumi.Input[Union[str, 'AccessPointType']] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ + :param pulumi.Input['ConnectionZSideAccessPointAccountArgs'] account: Account + :param pulumi.Input[str] authentication_key: Authentication key for provider based connections + :param pulumi.Input['ConnectionZSideAccessPointInterfaceArgs'] interface: Virtual device interface + :param pulumi.Input['ConnectionZSideAccessPointLinkProtocolArgs'] link_protocol: Connection link protocol + :param pulumi.Input['ConnectionZSideAccessPointLocationArgs'] location: Access point location + :param pulumi.Input[Union[str, 'AccessPointPeeringType']] peering_type: Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + :param pulumi.Input['ConnectionZSideAccessPointPortArgs'] port: Port access point information + :param pulumi.Input['ConnectionZSideAccessPointProfileArgs'] profile: Service Profile + :param pulumi.Input[str] provider_connection_id: Provider assigned Connection Id + :param pulumi.Input['ConnectionZSideAccessPointRouterArgs'] router: Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + :param pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAccessPointRoutingProtocolArgs']]] routing_protocols: Access point routing protocols configuration + :param pulumi.Input[str] seller_region: Access point seller region + :param pulumi.Input[Union[str, 'AccessPointType']] type: Interface type + :param pulumi.Input['ConnectionZSideAccessPointVirtualDeviceArgs'] virtual_device: Virtual device + """ + ConnectionZSideAccessPointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account=account, + authentication_key=authentication_key, + gateway=gateway, + interface=interface, + link_protocol=link_protocol, + location=location, + network=network, + peering_type=peering_type, + port=port, + profile=profile, + provider_connection_id=provider_connection_id, + router=router, + routing_protocols=routing_protocols, + seller_region=seller_region, + type=type, + virtual_device=virtual_device, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account: Optional[pulumi.Input['ConnectionZSideAccessPointAccountArgs']] = None, + authentication_key: Optional[pulumi.Input[str]] = None, + gateway: Optional[pulumi.Input['ConnectionZSideAccessPointGatewayArgs']] = None, + interface: Optional[pulumi.Input['ConnectionZSideAccessPointInterfaceArgs']] = None, + link_protocol: Optional[pulumi.Input['ConnectionZSideAccessPointLinkProtocolArgs']] = None, + location: Optional[pulumi.Input['ConnectionZSideAccessPointLocationArgs']] = None, + network: Optional[pulumi.Input['ConnectionZSideAccessPointNetworkArgs']] = None, + peering_type: Optional[pulumi.Input[Union[str, 'AccessPointPeeringType']]] = None, + port: Optional[pulumi.Input['ConnectionZSideAccessPointPortArgs']] = None, + profile: Optional[pulumi.Input['ConnectionZSideAccessPointProfileArgs']] = None, + provider_connection_id: Optional[pulumi.Input[str]] = None, + router: Optional[pulumi.Input['ConnectionZSideAccessPointRouterArgs']] = None, + routing_protocols: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAccessPointRoutingProtocolArgs']]]] = None, + seller_region: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[Union[str, 'AccessPointType']]] = None, + virtual_device: Optional[pulumi.Input['ConnectionZSideAccessPointVirtualDeviceArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authenticationKey' in kwargs: + authentication_key = kwargs['authenticationKey'] + if 'linkProtocol' in kwargs: + link_protocol = kwargs['linkProtocol'] + if 'peeringType' in kwargs: + peering_type = kwargs['peeringType'] + if 'providerConnectionId' in kwargs: + provider_connection_id = kwargs['providerConnectionId'] + if 'routingProtocols' in kwargs: + routing_protocols = kwargs['routingProtocols'] + if 'sellerRegion' in kwargs: + seller_region = kwargs['sellerRegion'] + if 'virtualDevice' in kwargs: + virtual_device = kwargs['virtualDevice'] + if account is not None: - pulumi.set(__self__, "account", account) + _setter("account", account) if authentication_key is not None: - pulumi.set(__self__, "authentication_key", authentication_key) + _setter("authentication_key", authentication_key) + if gateway is not None: + warnings.warn("""use router attribute instead; gateway is no longer a part of the supported backend""", DeprecationWarning) + pulumi.log.warn("""gateway is deprecated: use router attribute instead; gateway is no longer a part of the supported backend""") if gateway is not None: - pulumi.set(__self__, "gateway", gateway) + _setter("gateway", gateway) if interface is not None: - pulumi.set(__self__, "interface", interface) + _setter("interface", interface) if link_protocol is not None: - pulumi.set(__self__, "link_protocol", link_protocol) + _setter("link_protocol", link_protocol) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) + if network is not None: + _setter("network", network) if peering_type is not None: - pulumi.set(__self__, "peering_type", peering_type) + _setter("peering_type", peering_type) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if profile is not None: - pulumi.set(__self__, "profile", profile) + _setter("profile", profile) if provider_connection_id is not None: - pulumi.set(__self__, "provider_connection_id", provider_connection_id) + _setter("provider_connection_id", provider_connection_id) + if router is not None: + _setter("router", router) if routing_protocols is not None: - pulumi.set(__self__, "routing_protocols", routing_protocols) + _setter("routing_protocols", routing_protocols) if seller_region is not None: - pulumi.set(__self__, "seller_region", seller_region) + _setter("seller_region", seller_region) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if virtual_device is not None: - pulumi.set(__self__, "virtual_device", virtual_device) + _setter("virtual_device", virtual_device) @property @pulumi.getter def account(self) -> Optional[pulumi.Input['ConnectionZSideAccessPointAccountArgs']]: """ - Customer account information that is associated with this connection + Account """ return pulumi.get(self, "account") @@ -1769,6 +3230,9 @@ def account(self, value: Optional[pulumi.Input['ConnectionZSideAccessPointAccoun @property @pulumi.getter(name="authenticationKey") def authentication_key(self) -> Optional[pulumi.Input[str]]: + """ + Authentication key for provider based connections + """ return pulumi.get(self, "authentication_key") @authentication_key.setter @@ -1778,6 +3242,9 @@ def authentication_key(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def gateway(self) -> Optional[pulumi.Input['ConnectionZSideAccessPointGatewayArgs']]: + warnings.warn("""use router attribute instead; gateway is no longer a part of the supported backend""", DeprecationWarning) + pulumi.log.warn("""gateway is deprecated: use router attribute instead; gateway is no longer a part of the supported backend""") + return pulumi.get(self, "gateway") @gateway.setter @@ -1787,6 +3254,9 @@ def gateway(self, value: Optional[pulumi.Input['ConnectionZSideAccessPointGatewa @property @pulumi.getter def interface(self) -> Optional[pulumi.Input['ConnectionZSideAccessPointInterfaceArgs']]: + """ + Virtual device interface + """ return pulumi.get(self, "interface") @interface.setter @@ -1796,6 +3266,9 @@ def interface(self, value: Optional[pulumi.Input['ConnectionZSideAccessPointInte @property @pulumi.getter(name="linkProtocol") def link_protocol(self) -> Optional[pulumi.Input['ConnectionZSideAccessPointLinkProtocolArgs']]: + """ + Connection link protocol + """ return pulumi.get(self, "link_protocol") @link_protocol.setter @@ -1805,15 +3278,30 @@ def link_protocol(self, value: Optional[pulumi.Input['ConnectionZSideAccessPoint @property @pulumi.getter def location(self) -> Optional[pulumi.Input['ConnectionZSideAccessPointLocationArgs']]: + """ + Access point location + """ return pulumi.get(self, "location") @location.setter def location(self, value: Optional[pulumi.Input['ConnectionZSideAccessPointLocationArgs']]): pulumi.set(self, "location", value) + @property + @pulumi.getter + def network(self) -> Optional[pulumi.Input['ConnectionZSideAccessPointNetworkArgs']]: + return pulumi.get(self, "network") + + @network.setter + def network(self, value: Optional[pulumi.Input['ConnectionZSideAccessPointNetworkArgs']]): + pulumi.set(self, "network", value) + @property @pulumi.getter(name="peeringType") def peering_type(self) -> Optional[pulumi.Input[Union[str, 'AccessPointPeeringType']]]: + """ + Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + """ return pulumi.get(self, "peering_type") @peering_type.setter @@ -1823,6 +3311,9 @@ def peering_type(self, value: Optional[pulumi.Input[Union[str, 'AccessPointPeeri @property @pulumi.getter def port(self) -> Optional[pulumi.Input['ConnectionZSideAccessPointPortArgs']]: + """ + Port access point information + """ return pulumi.get(self, "port") @port.setter @@ -1832,6 +3323,9 @@ def port(self, value: Optional[pulumi.Input['ConnectionZSideAccessPointPortArgs' @property @pulumi.getter def profile(self) -> Optional[pulumi.Input['ConnectionZSideAccessPointProfileArgs']]: + """ + Service Profile + """ return pulumi.get(self, "profile") @profile.setter @@ -1841,15 +3335,33 @@ def profile(self, value: Optional[pulumi.Input['ConnectionZSideAccessPointProfil @property @pulumi.getter(name="providerConnectionId") def provider_connection_id(self) -> Optional[pulumi.Input[str]]: + """ + Provider assigned Connection Id + """ return pulumi.get(self, "provider_connection_id") @provider_connection_id.setter def provider_connection_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "provider_connection_id", value) + @property + @pulumi.getter + def router(self) -> Optional[pulumi.Input['ConnectionZSideAccessPointRouterArgs']]: + """ + Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + """ + return pulumi.get(self, "router") + + @router.setter + def router(self, value: Optional[pulumi.Input['ConnectionZSideAccessPointRouterArgs']]): + pulumi.set(self, "router", value) + @property @pulumi.getter(name="routingProtocols") def routing_protocols(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAccessPointRoutingProtocolArgs']]]]: + """ + Access point routing protocols configuration + """ return pulumi.get(self, "routing_protocols") @routing_protocols.setter @@ -1859,6 +3371,9 @@ def routing_protocols(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' @property @pulumi.getter(name="sellerRegion") def seller_region(self) -> Optional[pulumi.Input[str]]: + """ + Access point seller region + """ return pulumi.get(self, "seller_region") @seller_region.setter @@ -1869,7 +3384,7 @@ def seller_region(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def type(self) -> Optional[pulumi.Input[Union[str, 'AccessPointType']]]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -1880,6 +3395,9 @@ def type(self, value: Optional[pulumi.Input[Union[str, 'AccessPointType']]]): @property @pulumi.getter(name="virtualDevice") def virtual_device(self) -> Optional[pulumi.Input['ConnectionZSideAccessPointVirtualDeviceArgs']]: + """ + Virtual device + """ return pulumi.get(self, "virtual_device") @virtual_device.setter @@ -1897,20 +3415,57 @@ def __init__(__self__, *, global_organization_name: Optional[pulumi.Input[str]] = None, org_id: Optional[pulumi.Input[int]] = None, organization_name: Optional[pulumi.Input[str]] = None): + ConnectionZSideAccessPointAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: Optional[pulumi.Input[str]] = None, + account_number: Optional[pulumi.Input[int]] = None, + global_cust_id: Optional[pulumi.Input[str]] = None, + global_org_id: Optional[pulumi.Input[str]] = None, + global_organization_name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[int]] = None, + organization_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + if account_name is not None: - pulumi.set(__self__, "account_name", account_name) + _setter("account_name", account_name) if account_number is not None: - pulumi.set(__self__, "account_number", account_number) + _setter("account_number", account_number) if global_cust_id is not None: - pulumi.set(__self__, "global_cust_id", global_cust_id) + _setter("global_cust_id", global_cust_id) if global_org_id is not None: - pulumi.set(__self__, "global_org_id", global_org_id) + _setter("global_org_id", global_org_id) if global_organization_name is not None: - pulumi.set(__self__, "global_organization_name", global_organization_name) + _setter("global_organization_name", global_organization_name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if organization_name is not None: - pulumi.set(__self__, "organization_name", organization_name) + _setter("organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -1982,18 +3537,32 @@ def __init__(__self__, *, href: Optional[pulumi.Input[str]] = None, uuid: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] href: Connection URI information - """ + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionZSideAccessPointGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if href is not None: - pulumi.set(__self__, "href", href) + _setter("href", href) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter def href(self) -> Optional[pulumi.Input[str]]: """ - Connection URI information + Unique Resource Identifier """ return pulumi.get(self, "href") @@ -2004,6 +3573,9 @@ def href(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ return pulumi.get(self, "uuid") @uuid.setter @@ -2018,21 +3590,37 @@ def __init__(__self__, *, type: Optional[pulumi.Input[str]] = None, uuid: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] id: The ID of this resource. - :param pulumi.Input[str] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ + :param pulumi.Input[str] id: id + :param pulumi.Input[str] type: Interface type + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionZSideAccessPointInterfaceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter def id(self) -> Optional[pulumi.Input[str]]: """ - The ID of this resource. + id """ return pulumi.get(self, "id") @@ -2044,7 +3632,7 @@ def id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -2055,6 +3643,9 @@ def type(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ return pulumi.get(self, "uuid") @uuid.setter @@ -2070,22 +3661,48 @@ def __init__(__self__, *, vlan_s_tag: Optional[pulumi.Input[int]] = None, vlan_tag: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[Union[str, 'AccessPointLinkProtocolType']] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ + :param pulumi.Input[Union[str, 'AccessPointLinkProtocolType']] type: Interface type + :param pulumi.Input[int] vlan_c_tag: Vlan Customer Tag information, vlanCTag value specified for QINQ connections + :param pulumi.Input[int] vlan_s_tag: Vlan Provider Tag information, vlanSTag value specified for QINQ connections + :param pulumi.Input[int] vlan_tag: Vlan Tag information, vlanTag value specified for DOT1Q connections + """ + ConnectionZSideAccessPointLinkProtocolArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + vlan_c_tag=vlan_c_tag, + vlan_s_tag=vlan_s_tag, + vlan_tag=vlan_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[pulumi.Input[Union[str, 'AccessPointLinkProtocolType']]] = None, + vlan_c_tag: Optional[pulumi.Input[int]] = None, + vlan_s_tag: Optional[pulumi.Input[int]] = None, + vlan_tag: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'vlanCTag' in kwargs: + vlan_c_tag = kwargs['vlanCTag'] + if 'vlanSTag' in kwargs: + vlan_s_tag = kwargs['vlanSTag'] + if 'vlanTag' in kwargs: + vlan_tag = kwargs['vlanTag'] + if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vlan_c_tag is not None: - pulumi.set(__self__, "vlan_c_tag", vlan_c_tag) + _setter("vlan_c_tag", vlan_c_tag) if vlan_s_tag is not None: - pulumi.set(__self__, "vlan_s_tag", vlan_s_tag) + _setter("vlan_s_tag", vlan_s_tag) if vlan_tag is not None: - pulumi.set(__self__, "vlan_tag", vlan_tag) + _setter("vlan_tag", vlan_tag) @property @pulumi.getter def type(self) -> Optional[pulumi.Input[Union[str, 'AccessPointLinkProtocolType']]]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -2096,6 +3713,9 @@ def type(self, value: Optional[pulumi.Input[Union[str, 'AccessPointLinkProtocolT @property @pulumi.getter(name="vlanCTag") def vlan_c_tag(self) -> Optional[pulumi.Input[int]]: + """ + Vlan Customer Tag information, vlanCTag value specified for QINQ connections + """ return pulumi.get(self, "vlan_c_tag") @vlan_c_tag.setter @@ -2105,6 +3725,9 @@ def vlan_c_tag(self, value: Optional[pulumi.Input[int]]): @property @pulumi.getter(name="vlanSTag") def vlan_s_tag(self) -> Optional[pulumi.Input[int]]: + """ + Vlan Provider Tag information, vlanSTag value specified for QINQ connections + """ return pulumi.get(self, "vlan_s_tag") @vlan_s_tag.setter @@ -2114,6 +3737,9 @@ def vlan_s_tag(self, value: Optional[pulumi.Input[int]]): @property @pulumi.getter(name="vlanTag") def vlan_tag(self) -> Optional[pulumi.Input[int]]: + """ + Vlan Tag information, vlanTag value specified for DOT1Q connections + """ return pulumi.get(self, "vlan_tag") @vlan_tag.setter @@ -2128,18 +3754,48 @@ def __init__(__self__, *, metro_code: Optional[pulumi.Input[Union[str, '_root_enums.Metro']]] = None, metro_name: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] ibx: IBX Code + :param pulumi.Input[Union[str, '_root_enums.Metro']] metro_code: Access point metro code + :param pulumi.Input[str] metro_name: Access point metro name + :param pulumi.Input[str] region: Access point region + """ + ConnectionZSideAccessPointLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ibx: Optional[pulumi.Input[str]] = None, + metro_code: Optional[pulumi.Input[Union[str, '_root_enums.Metro']]] = None, + metro_name: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + if ibx is not None: - pulumi.set(__self__, "ibx", ibx) + _setter("ibx", ibx) if metro_code is not None: - pulumi.set(__self__, "metro_code", metro_code) + _setter("metro_code", metro_code) if metro_name is not None: - pulumi.set(__self__, "metro_name", metro_name) + _setter("metro_name", metro_name) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) @property @pulumi.getter def ibx(self) -> Optional[pulumi.Input[str]]: + """ + IBX Code + """ return pulumi.get(self, "ibx") @ibx.setter @@ -2149,6 +3805,9 @@ def ibx(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="metroCode") def metro_code(self) -> Optional[pulumi.Input[Union[str, '_root_enums.Metro']]]: + """ + Access point metro code + """ return pulumi.get(self, "metro_code") @metro_code.setter @@ -2158,6 +3817,9 @@ def metro_code(self, value: Optional[pulumi.Input[Union[str, '_root_enums.Metro' @property @pulumi.getter(name="metroName") def metro_name(self) -> Optional[pulumi.Input[str]]: + """ + Access point metro name + """ return pulumi.get(self, "metro_name") @metro_name.setter @@ -2167,6 +3829,9 @@ def metro_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: + """ + Access point region + """ return pulumi.get(self, "region") @region.setter @@ -2174,6 +3839,58 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +@pulumi.input_type +class ConnectionZSideAccessPointNetworkArgs: + def __init__(__self__, *, + href: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionZSideAccessPointNetworkArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if href is not None: + _setter("href", href) + if uuid is not None: + _setter("uuid", uuid) + + @property + @pulumi.getter + def href(self) -> Optional[pulumi.Input[str]]: + """ + Unique Resource Identifier + """ + return pulumi.get(self, "href") + + @href.setter + def href(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "href", value) + + @property + @pulumi.getter + def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") + + @uuid.setter + def uuid(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uuid", value) + + @pulumi.input_type class ConnectionZSideAccessPointPortArgs: def __init__(__self__, *, @@ -2182,24 +3899,42 @@ def __init__(__self__, *, redundancies: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAccessPointPortRedundancyArgs']]]] = None, uuid: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] href: Connection URI information - :param pulumi.Input[str] name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[str] name: Port name :param pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAccessPointPortRedundancyArgs']]] redundancies: Redundancy Information - """ + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionZSideAccessPointPortArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + name=name, + redundancies=redundancies, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + redundancies: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAccessPointPortRedundancyArgs']]]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if href is not None: - pulumi.set(__self__, "href", href) + _setter("href", href) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if redundancies is not None: - pulumi.set(__self__, "redundancies", redundancies) + _setter("redundancies", redundancies) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter def href(self) -> Optional[pulumi.Input[str]]: """ - Connection URI information + Unique Resource Identifier """ return pulumi.get(self, "href") @@ -2211,7 +3946,7 @@ def href(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Port name """ return pulumi.get(self, "name") @@ -2234,6 +3969,9 @@ def redundancies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Conne @property @pulumi.getter def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ return pulumi.get(self, "uuid") @uuid.setter @@ -2248,8 +3986,19 @@ def __init__(__self__, *, """ :param pulumi.Input[str] priority: Priority type- PRIMARY, SECONDARY """ + ConnectionZSideAccessPointPortRedundancyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + priority: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) @property @pulumi.getter @@ -2274,26 +4023,52 @@ def __init__(__self__, *, href: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Union[str, 'ProfileType']] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param pulumi.Input[str] href: Connection URI information - :param pulumi.Input[str] name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + :param pulumi.Input[Union[str, 'ProfileType']] type: Interface type + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + :param pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs']]] access_point_type_configs: Access point config information + :param pulumi.Input[str] description: User-provided service description + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[str] name: Port name + """ + ConnectionZSideAccessPointProfileArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uuid=uuid, + access_point_type_configs=access_point_type_configs, + description=description, + href=href, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[Union[str, 'ProfileType']], + uuid: pulumi.Input[str], + access_point_type_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + href: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPointTypeConfigs' in kwargs: + access_point_type_configs = kwargs['accessPointTypeConfigs'] + + _setter("type", type) + _setter("uuid", uuid) if access_point_type_configs is not None: - pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) + _setter("access_point_type_configs", access_point_type_configs) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if href is not None: - pulumi.set(__self__, "href", href) + _setter("href", href) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter def type(self) -> pulumi.Input[Union[str, 'ProfileType']]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -2304,6 +4079,9 @@ def type(self, value: pulumi.Input[Union[str, 'ProfileType']]): @property @pulumi.getter def uuid(self) -> pulumi.Input[str]: + """ + Equinix-assigned interface identifier + """ return pulumi.get(self, "uuid") @uuid.setter @@ -2313,6 +4091,9 @@ def uuid(self, value: pulumi.Input[str]): @property @pulumi.getter(name="accessPointTypeConfigs") def access_point_type_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs']]]]: + """ + Access point config information + """ return pulumi.get(self, "access_point_type_configs") @access_point_type_configs.setter @@ -2322,6 +4103,9 @@ def access_point_type_configs(self, value: Optional[pulumi.Input[Sequence[pulumi @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: + """ + User-provided service description + """ return pulumi.get(self, "description") @description.setter @@ -2332,7 +4116,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def href(self) -> Optional[pulumi.Input[str]]: """ - Connection URI information + Unique Resource Identifier """ return pulumi.get(self, "href") @@ -2344,7 +4128,7 @@ def href(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Port name """ return pulumi.get(self, "name") @@ -2359,18 +4143,32 @@ def __init__(__self__, *, type: Optional[pulumi.Input[str]] = None, uuid: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ + :param pulumi.Input[str] type: Interface type + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -2381,6 +4179,61 @@ def type(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") + + @uuid.setter + def uuid(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uuid", value) + + +@pulumi.input_type +class ConnectionZSideAccessPointRouterArgs: + def __init__(__self__, *, + href: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionZSideAccessPointRouterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if href is not None: + _setter("href", href) + if uuid is not None: + _setter("uuid", uuid) + + @property + @pulumi.getter + def href(self) -> Optional[pulumi.Input[str]]: + """ + Unique Resource Identifier + """ + return pulumi.get(self, "href") + + @href.setter + def href(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "href", value) + + @property + @pulumi.getter + def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ return pulumi.get(self, "uuid") @uuid.setter @@ -2395,73 +4248,507 @@ def __init__(__self__, *, type: Optional[pulumi.Input[str]] = None, uuid: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] state: Connection overall state - :param pulumi.Input[str] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ + :param pulumi.Input[str] state: Routing protocol instance state + :param pulumi.Input[str] type: Interface type + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionZSideAccessPointRoutingProtocolArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + state=state, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + state: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + Routing protocol instance state + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + Interface type + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") + + @uuid.setter + def uuid(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uuid", value) + + +@pulumi.input_type +class ConnectionZSideAccessPointVirtualDeviceArgs: + def __init__(__self__, *, + href: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[str] type: Interface type + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionZSideAccessPointVirtualDeviceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if href is not None: + _setter("href", href) + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) + + @property + @pulumi.getter + def href(self) -> Optional[pulumi.Input[str]]: + """ + Unique Resource Identifier + """ + return pulumi.get(self, "href") + + @href.setter + def href(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "href", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + Interface type + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") + + @uuid.setter + def uuid(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uuid", value) + + +@pulumi.input_type +class ConnectionZSideAdditionalInfoArgs: + def __init__(__self__, *, + key: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] key: Additional information key + :param pulumi.Input[str] value: Additional information value + """ + ConnectionZSideAdditionalInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if key is not None: + _setter("key", key) + if value is not None: + _setter("value", value) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + """ + Additional information key + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + Additional information value + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class ConnectionZSideServiceTokenArgs: + def __init__(__self__, *, + description: Optional[pulumi.Input[str]] = None, + href: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[Union[str, 'ServiceTokenType']]] = None, + uuid: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] description: User-provided service description + :param pulumi.Input[str] href: Unique Resource Identifier + :param pulumi.Input[Union[str, 'ServiceTokenType']] type: Interface type + :param pulumi.Input[str] uuid: Equinix-assigned interface identifier + """ + ConnectionZSideServiceTokenArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + href: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[Union[str, 'ServiceTokenType']]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if description is not None: + _setter("description", description) + if href is not None: + _setter("href", href) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + User-provided service description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def href(self) -> Optional[pulumi.Input[str]]: + """ + Unique Resource Identifier + """ + return pulumi.get(self, "href") + + @href.setter + def href(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "href", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[Union[str, 'ServiceTokenType']]]: + """ + Interface type + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[Union[str, 'ServiceTokenType']]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") + + @uuid.setter + def uuid(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uuid", value) + + +@pulumi.input_type +class RoutingProtocolBfdArgs: + def __init__(__self__, *, + enabled: pulumi.Input[bool], + interval: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[bool] enabled: Bidirectional Forwarding Detection enablement + :param pulumi.Input[str] interval: Interval range between the received BFD control packets + """ + RoutingProtocolBfdArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + interval=interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: pulumi.Input[bool], + interval: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("enabled", enabled) + if interval is not None: + _setter("interval", interval) + + @property + @pulumi.getter + def enabled(self) -> pulumi.Input[bool]: + """ + Bidirectional Forwarding Detection enablement + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def interval(self) -> Optional[pulumi.Input[str]]: + """ + Interval range between the received BFD control packets + """ + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "interval", value) + + +@pulumi.input_type +class RoutingProtocolBgpIpv4Args: + def __init__(__self__, *, + customer_peer_ip: pulumi.Input[str], + enabled: Optional[pulumi.Input[bool]] = None, + equinix_peer_ip: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] customer_peer_ip: Customer side peering ip + :param pulumi.Input[bool] enabled: Admin status for the BGP session + :param pulumi.Input[str] equinix_peer_ip: Equinix side peering ip + """ + RoutingProtocolBgpIpv4Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_peer_ip=customer_peer_ip, + enabled=enabled, + equinix_peer_ip=equinix_peer_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_peer_ip: pulumi.Input[str], + enabled: Optional[pulumi.Input[bool]] = None, + equinix_peer_ip: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customerPeerIp' in kwargs: + customer_peer_ip = kwargs['customerPeerIp'] + if 'equinixPeerIp' in kwargs: + equinix_peer_ip = kwargs['equinixPeerIp'] + + _setter("customer_peer_ip", customer_peer_ip) + if enabled is not None: + _setter("enabled", enabled) + if equinix_peer_ip is not None: + _setter("equinix_peer_ip", equinix_peer_ip) + + @property + @pulumi.getter(name="customerPeerIp") + def customer_peer_ip(self) -> pulumi.Input[str]: + """ + Customer side peering ip + """ + return pulumi.get(self, "customer_peer_ip") + + @customer_peer_ip.setter + def customer_peer_ip(self, value: pulumi.Input[str]): + pulumi.set(self, "customer_peer_ip", value) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Admin status for the BGP session + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="equinixPeerIp") + def equinix_peer_ip(self) -> Optional[pulumi.Input[str]]: """ - Connection overall state + Equinix side peering ip """ - return pulumi.get(self, "state") + return pulumi.get(self, "equinix_peer_ip") - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) + @equinix_peer_ip.setter + def equinix_peer_ip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "equinix_peer_ip", value) + + +@pulumi.input_type +class RoutingProtocolBgpIpv6Args: + def __init__(__self__, *, + customer_peer_ip: pulumi.Input[str], + enabled: Optional[pulumi.Input[bool]] = None, + equinix_peer_ip: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] customer_peer_ip: Customer side peering ip + :param pulumi.Input[bool] enabled: Admin status for the BGP session + :param pulumi.Input[str] equinix_peer_ip: Equinix side peering ip + """ + RoutingProtocolBgpIpv6Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_peer_ip=customer_peer_ip, + enabled=enabled, + equinix_peer_ip=equinix_peer_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_peer_ip: pulumi.Input[str], + enabled: Optional[pulumi.Input[bool]] = None, + equinix_peer_ip: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customerPeerIp' in kwargs: + customer_peer_ip = kwargs['customerPeerIp'] + if 'equinixPeerIp' in kwargs: + equinix_peer_ip = kwargs['equinixPeerIp'] + + _setter("customer_peer_ip", customer_peer_ip) + if enabled is not None: + _setter("enabled", enabled) + if equinix_peer_ip is not None: + _setter("equinix_peer_ip", equinix_peer_ip) + + @property + @pulumi.getter(name="customerPeerIp") + def customer_peer_ip(self) -> pulumi.Input[str]: + """ + Customer side peering ip + """ + return pulumi.get(self, "customer_peer_ip") + + @customer_peer_ip.setter + def customer_peer_ip(self, value: pulumi.Input[str]): + pulumi.set(self, "customer_peer_ip", value) @property @pulumi.getter - def type(self) -> Optional[pulumi.Input[str]]: + def enabled(self) -> Optional[pulumi.Input[bool]]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Admin status for the BGP session """ - return pulumi.get(self, "type") + return pulumi.get(self, "enabled") - @type.setter - def type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type", value) + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) @property - @pulumi.getter - def uuid(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "uuid") + @pulumi.getter(name="equinixPeerIp") + def equinix_peer_ip(self) -> Optional[pulumi.Input[str]]: + """ + Equinix side peering ip + """ + return pulumi.get(self, "equinix_peer_ip") - @uuid.setter - def uuid(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "uuid", value) + @equinix_peer_ip.setter + def equinix_peer_ip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "equinix_peer_ip", value) @pulumi.input_type -class ConnectionZSideAccessPointVirtualDeviceArgs: +class RoutingProtocolChangeArgs: def __init__(__self__, *, href: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, uuid: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] href: Connection URI information - :param pulumi.Input[str] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ + RoutingProtocolChangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if href is not None: - pulumi.set(__self__, "href", href) + _setter("href", href) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter def href(self) -> Optional[pulumi.Input[str]]: - """ - Connection URI information - """ return pulumi.get(self, "href") @href.setter @@ -2471,9 +4758,6 @@ def href(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ return pulumi.get(self, "type") @type.setter @@ -2491,105 +4775,456 @@ def uuid(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type -class ConnectionZSideAdditionalInfoArgs: +class RoutingProtocolChangeLogArgs: def __init__(__self__, *, - key: Optional[pulumi.Input[str]] = None, - value: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] key: Additional information key - :param pulumi.Input[str] value: Additional information value - """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) + created_by: Optional[pulumi.Input[str]] = None, + created_by_email: Optional[pulumi.Input[str]] = None, + created_by_full_name: Optional[pulumi.Input[str]] = None, + created_date_time: Optional[pulumi.Input[str]] = None, + deleted_by: Optional[pulumi.Input[str]] = None, + deleted_by_email: Optional[pulumi.Input[str]] = None, + deleted_by_full_name: Optional[pulumi.Input[str]] = None, + deleted_date_time: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + updated_by_email: Optional[pulumi.Input[str]] = None, + updated_by_full_name: Optional[pulumi.Input[str]] = None, + updated_date_time: Optional[pulumi.Input[str]] = None): + RoutingProtocolChangeLogArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: Optional[pulumi.Input[str]] = None, + created_by_email: Optional[pulumi.Input[str]] = None, + created_by_full_name: Optional[pulumi.Input[str]] = None, + created_date_time: Optional[pulumi.Input[str]] = None, + deleted_by: Optional[pulumi.Input[str]] = None, + deleted_by_email: Optional[pulumi.Input[str]] = None, + deleted_by_full_name: Optional[pulumi.Input[str]] = None, + deleted_date_time: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + updated_by_email: Optional[pulumi.Input[str]] = None, + updated_by_full_name: Optional[pulumi.Input[str]] = None, + updated_date_time: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + + if created_by is not None: + _setter("created_by", created_by) + if created_by_email is not None: + _setter("created_by_email", created_by_email) + if created_by_full_name is not None: + _setter("created_by_full_name", created_by_full_name) + if created_date_time is not None: + _setter("created_date_time", created_date_time) + if deleted_by is not None: + _setter("deleted_by", deleted_by) + if deleted_by_email is not None: + _setter("deleted_by_email", deleted_by_email) + if deleted_by_full_name is not None: + _setter("deleted_by_full_name", deleted_by_full_name) + if deleted_date_time is not None: + _setter("deleted_date_time", deleted_date_time) + if updated_by is not None: + _setter("updated_by", updated_by) + if updated_by_email is not None: + _setter("updated_by_email", updated_by_email) + if updated_by_full_name is not None: + _setter("updated_by_full_name", updated_by_full_name) + if updated_date_time is not None: + _setter("updated_date_time", updated_date_time) @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter(name="createdByEmail") + def created_by_email(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "created_by_email") + + @created_by_email.setter + def created_by_email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_by_email", value) + + @property + @pulumi.getter(name="createdByFullName") + def created_by_full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "created_by_full_name") + + @created_by_full_name.setter + def created_by_full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_by_full_name", value) + + @property + @pulumi.getter(name="createdDateTime") + def created_date_time(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "created_date_time") + + @created_date_time.setter + def created_date_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_date_time", value) + + @property + @pulumi.getter(name="deletedBy") + def deleted_by(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "deleted_by") + + @deleted_by.setter + def deleted_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "deleted_by", value) + + @property + @pulumi.getter(name="deletedByEmail") + def deleted_by_email(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "deleted_by_email") + + @deleted_by_email.setter + def deleted_by_email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "deleted_by_email", value) + + @property + @pulumi.getter(name="deletedByFullName") + def deleted_by_full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "deleted_by_full_name") + + @deleted_by_full_name.setter + def deleted_by_full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "deleted_by_full_name", value) + + @property + @pulumi.getter(name="deletedDateTime") + def deleted_date_time(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "deleted_date_time") + + @deleted_date_time.setter + def deleted_date_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "deleted_date_time", value) + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "updated_by") + + @updated_by.setter + def updated_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_by", value) + + @property + @pulumi.getter(name="updatedByEmail") + def updated_by_email(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "updated_by_email") + + @updated_by_email.setter + def updated_by_email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_by_email", value) + + @property + @pulumi.getter(name="updatedByFullName") + def updated_by_full_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "updated_by_full_name") + + @updated_by_full_name.setter + def updated_by_full_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_by_full_name", value) + + @property + @pulumi.getter(name="updatedDateTime") + def updated_date_time(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "updated_date_time") + + @updated_date_time.setter + def updated_date_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "updated_date_time", value) + + +@pulumi.input_type +class RoutingProtocolDirectIpv4Args: + def __init__(__self__, *, + equinix_iface_ip: pulumi.Input[str]): """ - Additional information key + :param pulumi.Input[str] equinix_iface_ip: Equinix side Interface IP address """ - return pulumi.get(self, "key") + RoutingProtocolDirectIpv4Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + equinix_iface_ip=equinix_iface_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + equinix_iface_ip: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'equinixIfaceIp' in kwargs: + equinix_iface_ip = kwargs['equinixIfaceIp'] - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) + _setter("equinix_iface_ip", equinix_iface_ip) @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="equinixIfaceIp") + def equinix_iface_ip(self) -> pulumi.Input[str]: """ - Additional information value + Equinix side Interface IP address """ - return pulumi.get(self, "value") + return pulumi.get(self, "equinix_iface_ip") - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) + @equinix_iface_ip.setter + def equinix_iface_ip(self, value: pulumi.Input[str]): + pulumi.set(self, "equinix_iface_ip", value) @pulumi.input_type -class ConnectionZSideServiceTokenArgs: +class RoutingProtocolDirectIpv6Args: def __init__(__self__, *, - description: Optional[pulumi.Input[str]] = None, - href: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[Union[str, 'ServiceTokenType']]] = None, - uuid: Optional[pulumi.Input[str]] = None): + equinix_iface_ip: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] href: Connection URI information - :param pulumi.Input[Union[str, 'ServiceTokenType']] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + :param pulumi.Input[str] equinix_iface_ip: Equinix side Interface IP address """ - if description is not None: - pulumi.set(__self__, "description", description) - if href is not None: - pulumi.set(__self__, "href", href) - if type is not None: - pulumi.set(__self__, "type", type) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + RoutingProtocolDirectIpv6Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + equinix_iface_ip=equinix_iface_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + equinix_iface_ip: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'equinixIfaceIp' in kwargs: + equinix_iface_ip = kwargs['equinixIfaceIp'] + + if equinix_iface_ip is not None: + _setter("equinix_iface_ip", equinix_iface_ip) + + @property + @pulumi.getter(name="equinixIfaceIp") + def equinix_iface_ip(self) -> Optional[pulumi.Input[str]]: + """ + Equinix side Interface IP address + """ + return pulumi.get(self, "equinix_iface_ip") + + @equinix_iface_ip.setter + def equinix_iface_ip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "equinix_iface_ip", value) + + +@pulumi.input_type +class RoutingProtocolOperationArgs: + def __init__(__self__, *, + errors: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationErrorArgs']]]] = None): + RoutingProtocolOperationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + errors=errors, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + errors: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationErrorArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if errors is not None: + _setter("errors", errors) + + @property + @pulumi.getter + def errors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationErrorArgs']]]]: + return pulumi.get(self, "errors") + + @errors.setter + def errors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationErrorArgs']]]]): + pulumi.set(self, "errors", value) + + +@pulumi.input_type +class RoutingProtocolOperationErrorArgs: + def __init__(__self__, *, + additional_infos: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationErrorAdditionalInfoArgs']]]] = None, + correlation_id: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[str]] = None, + error_code: Optional[pulumi.Input[str]] = None, + error_message: Optional[pulumi.Input[str]] = None, + help: Optional[pulumi.Input[str]] = None): + RoutingProtocolOperationErrorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_infos=additional_infos, + correlation_id=correlation_id, + details=details, + error_code=error_code, + error_message=error_message, + help=help, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_infos: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationErrorAdditionalInfoArgs']]]] = None, + correlation_id: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[str]] = None, + error_code: Optional[pulumi.Input[str]] = None, + error_message: Optional[pulumi.Input[str]] = None, + help: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'additionalInfos' in kwargs: + additional_infos = kwargs['additionalInfos'] + if 'correlationId' in kwargs: + correlation_id = kwargs['correlationId'] + if 'errorCode' in kwargs: + error_code = kwargs['errorCode'] + if 'errorMessage' in kwargs: + error_message = kwargs['errorMessage'] + + if additional_infos is not None: + _setter("additional_infos", additional_infos) + if correlation_id is not None: + _setter("correlation_id", correlation_id) + if details is not None: + _setter("details", details) + if error_code is not None: + _setter("error_code", error_code) + if error_message is not None: + _setter("error_message", error_message) + if help is not None: + _setter("help", help) + + @property + @pulumi.getter(name="additionalInfos") + def additional_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationErrorAdditionalInfoArgs']]]]: + return pulumi.get(self, "additional_infos") + + @additional_infos.setter + def additional_infos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationErrorAdditionalInfoArgs']]]]): + pulumi.set(self, "additional_infos", value) + + @property + @pulumi.getter(name="correlationId") + def correlation_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "correlation_id") + + @correlation_id.setter + def correlation_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "correlation_id", value) + + @property + @pulumi.getter + def details(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "details") + + @details.setter + def details(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "details", value) + + @property + @pulumi.getter(name="errorCode") + def error_code(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "error_code") + + @error_code.setter + def error_code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "error_code", value) @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "description") + @pulumi.getter(name="errorMessage") + def error_message(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "error_message") - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) + @error_message.setter + def error_message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "error_message", value) @property @pulumi.getter - def href(self) -> Optional[pulumi.Input[str]]: - """ - Connection URI information - """ - return pulumi.get(self, "href") + def help(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "help") + + @help.setter + def help(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "help", value) - @href.setter - def href(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "href", value) + +@pulumi.input_type +class RoutingProtocolOperationErrorAdditionalInfoArgs: + def __init__(__self__, *, + property: Optional[pulumi.Input[str]] = None, + reason: Optional[pulumi.Input[str]] = None): + RoutingProtocolOperationErrorAdditionalInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + property=property, + reason=reason, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + property: Optional[pulumi.Input[str]] = None, + reason: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if property is not None: + _setter("property", property) + if reason is not None: + _setter("reason", reason) @property @pulumi.getter - def type(self) -> Optional[pulumi.Input[Union[str, 'ServiceTokenType']]]: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - return pulumi.get(self, "type") + def reason(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "reason") - @type.setter - def type(self, value: Optional[pulumi.Input[Union[str, 'ServiceTokenType']]]): - pulumi.set(self, "type", value) + @reason.setter + def reason(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "reason", value) @property @pulumi.getter - def uuid(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "uuid") + def property(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "property") - @uuid.setter - def uuid(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "uuid", value) + @property.setter + def property(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "property", value) @pulumi.input_type @@ -2625,33 +5260,94 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[int]]] supported_bandwidths: Supported bandwidths :param pulumi.Input[str] uuid: Colo/Port Uuid """ - pulumi.set(__self__, "type", type) + ServiceProfileAccessPointTypeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + allow_bandwidth_auto_approval=allow_bandwidth_auto_approval, + allow_bandwidth_upgrade=allow_bandwidth_upgrade, + allow_custom_bandwidth=allow_custom_bandwidth, + allow_remote_connections=allow_remote_connections, + api_config=api_config, + authentication_key=authentication_key, + bandwidth_alert_threshold=bandwidth_alert_threshold, + connection_label=connection_label, + connection_redundancy_required=connection_redundancy_required, + enable_auto_generate_service_key=enable_auto_generate_service_key, + link_protocol_config=link_protocol_config, + supported_bandwidths=supported_bandwidths, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[Union[str, 'ProfileAccessPointType']], + allow_bandwidth_auto_approval: Optional[pulumi.Input[bool]] = None, + allow_bandwidth_upgrade: Optional[pulumi.Input[bool]] = None, + allow_custom_bandwidth: Optional[pulumi.Input[bool]] = None, + allow_remote_connections: Optional[pulumi.Input[bool]] = None, + api_config: Optional[pulumi.Input['ServiceProfileAccessPointTypeConfigApiConfigArgs']] = None, + authentication_key: Optional[pulumi.Input['ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs']] = None, + bandwidth_alert_threshold: Optional[pulumi.Input[float]] = None, + connection_label: Optional[pulumi.Input[str]] = None, + connection_redundancy_required: Optional[pulumi.Input[bool]] = None, + enable_auto_generate_service_key: Optional[pulumi.Input[bool]] = None, + link_protocol_config: Optional[pulumi.Input['ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs']] = None, + supported_bandwidths: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowBandwidthAutoApproval' in kwargs: + allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] + if 'allowBandwidthUpgrade' in kwargs: + allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] + if 'allowCustomBandwidth' in kwargs: + allow_custom_bandwidth = kwargs['allowCustomBandwidth'] + if 'allowRemoteConnections' in kwargs: + allow_remote_connections = kwargs['allowRemoteConnections'] + if 'apiConfig' in kwargs: + api_config = kwargs['apiConfig'] + if 'authenticationKey' in kwargs: + authentication_key = kwargs['authenticationKey'] + if 'bandwidthAlertThreshold' in kwargs: + bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] + if 'connectionLabel' in kwargs: + connection_label = kwargs['connectionLabel'] + if 'connectionRedundancyRequired' in kwargs: + connection_redundancy_required = kwargs['connectionRedundancyRequired'] + if 'enableAutoGenerateServiceKey' in kwargs: + enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] + if 'linkProtocolConfig' in kwargs: + link_protocol_config = kwargs['linkProtocolConfig'] + if 'supportedBandwidths' in kwargs: + supported_bandwidths = kwargs['supportedBandwidths'] + + _setter("type", type) if allow_bandwidth_auto_approval is not None: - pulumi.set(__self__, "allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) + _setter("allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) if allow_bandwidth_upgrade is not None: - pulumi.set(__self__, "allow_bandwidth_upgrade", allow_bandwidth_upgrade) + _setter("allow_bandwidth_upgrade", allow_bandwidth_upgrade) if allow_custom_bandwidth is not None: - pulumi.set(__self__, "allow_custom_bandwidth", allow_custom_bandwidth) + _setter("allow_custom_bandwidth", allow_custom_bandwidth) if allow_remote_connections is not None: - pulumi.set(__self__, "allow_remote_connections", allow_remote_connections) + _setter("allow_remote_connections", allow_remote_connections) if api_config is not None: - pulumi.set(__self__, "api_config", api_config) + _setter("api_config", api_config) if authentication_key is not None: - pulumi.set(__self__, "authentication_key", authentication_key) + _setter("authentication_key", authentication_key) if bandwidth_alert_threshold is not None: - pulumi.set(__self__, "bandwidth_alert_threshold", bandwidth_alert_threshold) + _setter("bandwidth_alert_threshold", bandwidth_alert_threshold) if connection_label is not None: - pulumi.set(__self__, "connection_label", connection_label) + _setter("connection_label", connection_label) if connection_redundancy_required is not None: - pulumi.set(__self__, "connection_redundancy_required", connection_redundancy_required) + _setter("connection_redundancy_required", connection_redundancy_required) if enable_auto_generate_service_key is not None: - pulumi.set(__self__, "enable_auto_generate_service_key", enable_auto_generate_service_key) + _setter("enable_auto_generate_service_key", enable_auto_generate_service_key) if link_protocol_config is not None: - pulumi.set(__self__, "link_protocol_config", link_protocol_config) + _setter("link_protocol_config", link_protocol_config) if supported_bandwidths is not None: - pulumi.set(__self__, "supported_bandwidths", supported_bandwidths) + _setter("supported_bandwidths", supported_bandwidths) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter @@ -2832,24 +5528,73 @@ def __init__(__self__, *, equinix_managed_vlan: Optional[pulumi.Input[bool]] = None, integration_id: Optional[pulumi.Input[str]] = None, over_subscription_limit: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[bool] allow_over_subscription: Setting showing that oversubscription support is available (true) or not (false). The default is false + :param pulumi.Input[bool] api_available: Setting indicating whether the API is available (true) or not (false) + :param pulumi.Input[bool] bandwidth_from_api: Bandwidth from api + :param pulumi.Input[bool] equinix_managed_port: Setting indicating that the port is managed by Equinix (true) or not (false) + :param pulumi.Input[bool] equinix_managed_vlan: Setting indicating that the VLAN is managed by Equinix (true) or not (false) + :param pulumi.Input[str] integration_id: Integration id + :param pulumi.Input[int] over_subscription_limit: A cap on over subscription + """ + ServiceProfileAccessPointTypeConfigApiConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_over_subscription=allow_over_subscription, + api_available=api_available, + bandwidth_from_api=bandwidth_from_api, + equinix_managed_port=equinix_managed_port, + equinix_managed_vlan=equinix_managed_vlan, + integration_id=integration_id, + over_subscription_limit=over_subscription_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_over_subscription: Optional[pulumi.Input[bool]] = None, + api_available: Optional[pulumi.Input[bool]] = None, + bandwidth_from_api: Optional[pulumi.Input[bool]] = None, + equinix_managed_port: Optional[pulumi.Input[bool]] = None, + equinix_managed_vlan: Optional[pulumi.Input[bool]] = None, + integration_id: Optional[pulumi.Input[str]] = None, + over_subscription_limit: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowOverSubscription' in kwargs: + allow_over_subscription = kwargs['allowOverSubscription'] + if 'apiAvailable' in kwargs: + api_available = kwargs['apiAvailable'] + if 'bandwidthFromApi' in kwargs: + bandwidth_from_api = kwargs['bandwidthFromApi'] + if 'equinixManagedPort' in kwargs: + equinix_managed_port = kwargs['equinixManagedPort'] + if 'equinixManagedVlan' in kwargs: + equinix_managed_vlan = kwargs['equinixManagedVlan'] + if 'integrationId' in kwargs: + integration_id = kwargs['integrationId'] + if 'overSubscriptionLimit' in kwargs: + over_subscription_limit = kwargs['overSubscriptionLimit'] + if allow_over_subscription is not None: - pulumi.set(__self__, "allow_over_subscription", allow_over_subscription) + _setter("allow_over_subscription", allow_over_subscription) if api_available is not None: - pulumi.set(__self__, "api_available", api_available) + _setter("api_available", api_available) if bandwidth_from_api is not None: - pulumi.set(__self__, "bandwidth_from_api", bandwidth_from_api) + _setter("bandwidth_from_api", bandwidth_from_api) if equinix_managed_port is not None: - pulumi.set(__self__, "equinix_managed_port", equinix_managed_port) + _setter("equinix_managed_port", equinix_managed_port) if equinix_managed_vlan is not None: - pulumi.set(__self__, "equinix_managed_vlan", equinix_managed_vlan) + _setter("equinix_managed_vlan", equinix_managed_vlan) if integration_id is not None: - pulumi.set(__self__, "integration_id", integration_id) + _setter("integration_id", integration_id) if over_subscription_limit is not None: - pulumi.set(__self__, "over_subscription_limit", over_subscription_limit) + _setter("over_subscription_limit", over_subscription_limit) @property @pulumi.getter(name="allowOverSubscription") def allow_over_subscription(self) -> Optional[pulumi.Input[bool]]: + """ + Setting showing that oversubscription support is available (true) or not (false). The default is false + """ return pulumi.get(self, "allow_over_subscription") @allow_over_subscription.setter @@ -2859,6 +5604,9 @@ def allow_over_subscription(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter(name="apiAvailable") def api_available(self) -> Optional[pulumi.Input[bool]]: + """ + Setting indicating whether the API is available (true) or not (false) + """ return pulumi.get(self, "api_available") @api_available.setter @@ -2868,6 +5616,9 @@ def api_available(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter(name="bandwidthFromApi") def bandwidth_from_api(self) -> Optional[pulumi.Input[bool]]: + """ + Bandwidth from api + """ return pulumi.get(self, "bandwidth_from_api") @bandwidth_from_api.setter @@ -2877,6 +5628,9 @@ def bandwidth_from_api(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter(name="equinixManagedPort") def equinix_managed_port(self) -> Optional[pulumi.Input[bool]]: + """ + Setting indicating that the port is managed by Equinix (true) or not (false) + """ return pulumi.get(self, "equinix_managed_port") @equinix_managed_port.setter @@ -2886,6 +5640,9 @@ def equinix_managed_port(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter(name="equinixManagedVlan") def equinix_managed_vlan(self) -> Optional[pulumi.Input[bool]]: + """ + Setting indicating that the VLAN is managed by Equinix (true) or not (false) + """ return pulumi.get(self, "equinix_managed_vlan") @equinix_managed_vlan.setter @@ -2895,6 +5652,9 @@ def equinix_managed_vlan(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter(name="integrationId") def integration_id(self) -> Optional[pulumi.Input[str]]: + """ + Integration id + """ return pulumi.get(self, "integration_id") @integration_id.setter @@ -2904,6 +5664,9 @@ def integration_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="overSubscriptionLimit") def over_subscription_limit(self) -> Optional[pulumi.Input[int]]: + """ + A cap on over subscription + """ return pulumi.get(self, "over_subscription_limit") @over_subscription_limit.setter @@ -2918,20 +5681,37 @@ def __init__(__self__, *, label: Optional[pulumi.Input[str]] = None, required: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input[str] description: User-provided service description - """ + :param pulumi.Input[str] description: Description + :param pulumi.Input[str] label: Label + :param pulumi.Input[bool] required: Required + """ + ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + label=label, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + required: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if required is not None: - pulumi.set(__self__, "required", required) + _setter("required", required) @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: """ - User-provided service description + Description """ return pulumi.get(self, "description") @@ -2942,6 +5722,9 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def label(self) -> Optional[pulumi.Input[str]]: + """ + Label + """ return pulumi.get(self, "label") @label.setter @@ -2951,6 +5734,9 @@ def label(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def required(self) -> Optional[pulumi.Input[bool]]: + """ + Required + """ return pulumi.get(self, "required") @required.setter @@ -2964,16 +5750,43 @@ def __init__(__self__, *, encapsulation: Optional[pulumi.Input[str]] = None, encapsulation_strategy: Optional[pulumi.Input[str]] = None, reuse_vlan_s_tag: Optional[pulumi.Input[bool]] = None): + """ + :param pulumi.Input[str] encapsulation: Port Encapsulation + :param pulumi.Input[str] encapsulation_strategy: Encapsulation strategy + :param pulumi.Input[bool] reuse_vlan_s_tag: Reuse vlan sTag + """ + ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + encapsulation=encapsulation, + encapsulation_strategy=encapsulation_strategy, + reuse_vlan_s_tag=reuse_vlan_s_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + encapsulation: Optional[pulumi.Input[str]] = None, + encapsulation_strategy: Optional[pulumi.Input[str]] = None, + reuse_vlan_s_tag: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'encapsulationStrategy' in kwargs: + encapsulation_strategy = kwargs['encapsulationStrategy'] + if 'reuseVlanSTag' in kwargs: + reuse_vlan_s_tag = kwargs['reuseVlanSTag'] + if encapsulation is not None: - pulumi.set(__self__, "encapsulation", encapsulation) + _setter("encapsulation", encapsulation) if encapsulation_strategy is not None: - pulumi.set(__self__, "encapsulation_strategy", encapsulation_strategy) + _setter("encapsulation_strategy", encapsulation_strategy) if reuse_vlan_s_tag is not None: - pulumi.set(__self__, "reuse_vlan_s_tag", reuse_vlan_s_tag) + _setter("reuse_vlan_s_tag", reuse_vlan_s_tag) @property @pulumi.getter def encapsulation(self) -> Optional[pulumi.Input[str]]: + """ + Port Encapsulation + """ return pulumi.get(self, "encapsulation") @encapsulation.setter @@ -2983,6 +5796,9 @@ def encapsulation(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="encapsulationStrategy") def encapsulation_strategy(self) -> Optional[pulumi.Input[str]]: + """ + Encapsulation strategy + """ return pulumi.get(self, "encapsulation_strategy") @encapsulation_strategy.setter @@ -2992,6 +5808,9 @@ def encapsulation_strategy(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="reuseVlanSTag") def reuse_vlan_s_tag(self) -> Optional[pulumi.Input[bool]]: + """ + Reuse vlan sTag + """ return pulumi.get(self, "reuse_vlan_s_tag") @reuse_vlan_s_tag.setter @@ -3020,22 +5839,63 @@ def __init__(__self__, *, :param pulumi.Input[str] organization_name: Customer organization name :param pulumi.Input[str] ucm_id: Enterprise datastore id """ + ServiceProfileAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ucm_id=ucm_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: Optional[pulumi.Input[str]] = None, + account_number: Optional[pulumi.Input[int]] = None, + global_cust_id: Optional[pulumi.Input[str]] = None, + global_org_id: Optional[pulumi.Input[str]] = None, + global_organization_name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[int]] = None, + organization_name: Optional[pulumi.Input[str]] = None, + ucm_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + if 'ucmId' in kwargs: + ucm_id = kwargs['ucmId'] + if account_name is not None: - pulumi.set(__self__, "account_name", account_name) + _setter("account_name", account_name) if account_number is not None: - pulumi.set(__self__, "account_number", account_number) + _setter("account_number", account_number) if global_cust_id is not None: - pulumi.set(__self__, "global_cust_id", global_cust_id) + _setter("global_cust_id", global_cust_id) if global_org_id is not None: - pulumi.set(__self__, "global_org_id", global_org_id) + _setter("global_org_id", global_org_id) if global_organization_name is not None: - pulumi.set(__self__, "global_organization_name", global_organization_name) + _setter("global_organization_name", global_organization_name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if organization_name is not None: - pulumi.set(__self__, "organization_name", organization_name) + _setter("organization_name", organization_name) if ucm_id is not None: - pulumi.set(__self__, "ucm_id", ucm_id) + _setter("ucm_id", ucm_id) @property @pulumi.getter(name="accountName") @@ -3149,30 +6009,87 @@ def __init__(__self__, *, updated_by_email: Optional[pulumi.Input[str]] = None, updated_by_full_name: Optional[pulumi.Input[str]] = None, updated_date_time: Optional[pulumi.Input[str]] = None): + ServiceProfileChangeLogArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: Optional[pulumi.Input[str]] = None, + created_by_email: Optional[pulumi.Input[str]] = None, + created_by_full_name: Optional[pulumi.Input[str]] = None, + created_date_time: Optional[pulumi.Input[str]] = None, + deleted_by: Optional[pulumi.Input[str]] = None, + deleted_by_email: Optional[pulumi.Input[str]] = None, + deleted_by_full_name: Optional[pulumi.Input[str]] = None, + deleted_date_time: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + updated_by_email: Optional[pulumi.Input[str]] = None, + updated_by_full_name: Optional[pulumi.Input[str]] = None, + updated_date_time: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if created_by_email is not None: - pulumi.set(__self__, "created_by_email", created_by_email) + _setter("created_by_email", created_by_email) if created_by_full_name is not None: - pulumi.set(__self__, "created_by_full_name", created_by_full_name) + _setter("created_by_full_name", created_by_full_name) if created_date_time is not None: - pulumi.set(__self__, "created_date_time", created_date_time) + _setter("created_date_time", created_date_time) if deleted_by is not None: - pulumi.set(__self__, "deleted_by", deleted_by) + _setter("deleted_by", deleted_by) if deleted_by_email is not None: - pulumi.set(__self__, "deleted_by_email", deleted_by_email) + _setter("deleted_by_email", deleted_by_email) if deleted_by_full_name is not None: - pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) + _setter("deleted_by_full_name", deleted_by_full_name) if deleted_date_time is not None: - pulumi.set(__self__, "deleted_date_time", deleted_date_time) + _setter("deleted_date_time", deleted_date_time) if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + _setter("updated_by", updated_by) if updated_by_email is not None: - pulumi.set(__self__, "updated_by_email", updated_by_email) + _setter("updated_by_email", updated_by_email) if updated_by_full_name is not None: - pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) + _setter("updated_by_full_name", updated_by_full_name) if updated_date_time is not None: - pulumi.set(__self__, "updated_date_time", updated_date_time) + _setter("updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -3300,15 +6217,40 @@ def __init__(__self__, *, :param pulumi.Input[str] description: Description :param pulumi.Input[Sequence[pulumi.Input[str]]] options: Options """ - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "required", required) + ServiceProfileCustomFieldArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_type=data_type, + label=label, + required=required, + capture_in_email=capture_in_email, + description=description, + options=options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_type: pulumi.Input[str], + label: pulumi.Input[str], + required: pulumi.Input[bool], + capture_in_email: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dataType' in kwargs: + data_type = kwargs['dataType'] + if 'captureInEmail' in kwargs: + capture_in_email = kwargs['captureInEmail'] + + _setter("data_type", data_type) + _setter("label", label) + _setter("required", required) if capture_in_email is not None: - pulumi.set(__self__, "capture_in_email", capture_in_email) + _setter("capture_in_email", capture_in_email) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if options is not None: - pulumi.set(__self__, "options", options) + _setter("options", options) @property @pulumi.getter(name="dataType") @@ -3394,12 +6336,29 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ServiceProfileMarketingInfoProcessStepArgs']]] process_steps: Process Step :param pulumi.Input[bool] promotion: Promotion """ + ServiceProfileMarketingInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + logo=logo, + process_steps=process_steps, + promotion=promotion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + logo: Optional[pulumi.Input[str]] = None, + process_steps: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfileMarketingInfoProcessStepArgs']]]] = None, + promotion: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'processSteps' in kwargs: + process_steps = kwargs['processSteps'] + if logo is not None: - pulumi.set(__self__, "logo", logo) + _setter("logo", logo) if process_steps is not None: - pulumi.set(__self__, "process_steps", process_steps) + _setter("process_steps", process_steps) if promotion is not None: - pulumi.set(__self__, "promotion", promotion) + _setter("promotion", promotion) @property @pulumi.getter @@ -3445,20 +6404,39 @@ def __init__(__self__, *, sub_title: Optional[pulumi.Input[str]] = None, title: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] description: User-provided service description - """ + :param pulumi.Input[str] description: Description + :param pulumi.Input[str] sub_title: Sub Title + :param pulumi.Input[str] title: Title + """ + ServiceProfileMarketingInfoProcessStepArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + sub_title=sub_title, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + sub_title: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'subTitle' in kwargs: + sub_title = kwargs['subTitle'] + if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if sub_title is not None: - pulumi.set(__self__, "sub_title", sub_title) + _setter("sub_title", sub_title) if title is not None: - pulumi.set(__self__, "title", title) + _setter("title", title) @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: """ - User-provided service description + Description """ return pulumi.get(self, "description") @@ -3469,6 +6447,9 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="subTitle") def sub_title(self) -> Optional[pulumi.Input[str]]: + """ + Sub Title + """ return pulumi.get(self, "sub_title") @sub_title.setter @@ -3478,6 +6459,9 @@ def sub_title(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def title(self) -> Optional[pulumi.Input[str]]: + """ + Title + """ return pulumi.get(self, "title") @title.setter @@ -3502,18 +6486,45 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Metro Name :param pulumi.Input[Mapping[str, pulumi.Input[str]]] seller_regions: Seller Regions """ + ServiceProfileMetroArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + display_name=display_name, + ibxs=ibxs, + in_trail=in_trail, + name=name, + seller_regions=seller_regions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + ibxs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + in_trail: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + seller_regions: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'inTrail' in kwargs: + in_trail = kwargs['inTrail'] + if 'sellerRegions' in kwargs: + seller_regions = kwargs['sellerRegions'] + if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if ibxs is not None: - pulumi.set(__self__, "ibxs", ibxs) + _setter("ibxs", ibxs) if in_trail is not None: - pulumi.set(__self__, "in_trail", in_trail) + _setter("in_trail", in_trail) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if seller_regions is not None: - pulumi.set(__self__, "seller_regions", seller_regions) + _setter("seller_regions", seller_regions) @property @pulumi.getter @@ -3599,10 +6610,27 @@ def __init__(__self__, *, :param pulumi.Input[Union[str, 'NotificationsType']] type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS :param pulumi.Input[str] send_interval: Send interval """ - pulumi.set(__self__, "emails", emails) - pulumi.set(__self__, "type", type) + ServiceProfileNotificationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + emails=emails, + type=type, + send_interval=send_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + emails: pulumi.Input[Sequence[pulumi.Input[str]]], + type: pulumi.Input[Union[str, 'NotificationsType']], + send_interval: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sendInterval' in kwargs: + send_interval = kwargs['sendInterval'] + + _setter("emails", emails) + _setter("type", type) if send_interval is not None: - pulumi.set(__self__, "send_interval", send_interval) + _setter("send_interval", send_interval) @property @pulumi.getter @@ -3658,16 +6686,43 @@ def __init__(__self__, *, :param pulumi.Input[str] seller_region: Seller Region :param pulumi.Input[str] seller_region_description: Seller Region details """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + ServiceProfilePortArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uuid=uuid, + cross_connect_id=cross_connect_id, + location=location, + seller_region=seller_region, + seller_region_description=seller_region_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + uuid: pulumi.Input[str], + cross_connect_id: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input['ServiceProfilePortLocationArgs']] = None, + seller_region: Optional[pulumi.Input[str]] = None, + seller_region_description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'crossConnectId' in kwargs: + cross_connect_id = kwargs['crossConnectId'] + if 'sellerRegion' in kwargs: + seller_region = kwargs['sellerRegion'] + if 'sellerRegionDescription' in kwargs: + seller_region_description = kwargs['sellerRegionDescription'] + + _setter("type", type) + _setter("uuid", uuid) if cross_connect_id is not None: - pulumi.set(__self__, "cross_connect_id", cross_connect_id) + _setter("cross_connect_id", cross_connect_id) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if seller_region is not None: - pulumi.set(__self__, "seller_region", seller_region) + _setter("seller_region", seller_region) if seller_region_description is not None: - pulumi.set(__self__, "seller_region_description", seller_region_description) + _setter("seller_region_description", seller_region_description) @property @pulumi.getter @@ -3749,18 +6804,48 @@ def __init__(__self__, *, metro_code: Optional[pulumi.Input[str]] = None, metro_name: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] ibx: IBX Code + :param pulumi.Input[str] metro_code: Access point metro code + :param pulumi.Input[str] metro_name: Access point metro name + :param pulumi.Input[str] region: Access point region + """ + ServiceProfilePortLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ibx: Optional[pulumi.Input[str]] = None, + metro_code: Optional[pulumi.Input[str]] = None, + metro_name: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + if ibx is not None: - pulumi.set(__self__, "ibx", ibx) + _setter("ibx", ibx) if metro_code is not None: - pulumi.set(__self__, "metro_code", metro_code) + _setter("metro_code", metro_code) if metro_name is not None: - pulumi.set(__self__, "metro_name", metro_name) + _setter("metro_name", metro_name) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) @property @pulumi.getter def ibx(self) -> Optional[pulumi.Input[str]]: + """ + IBX Code + """ return pulumi.get(self, "ibx") @ibx.setter @@ -3770,6 +6855,9 @@ def ibx(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="metroCode") def metro_code(self) -> Optional[pulumi.Input[str]]: + """ + Access point metro code + """ return pulumi.get(self, "metro_code") @metro_code.setter @@ -3779,6 +6867,9 @@ def metro_code(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="metroName") def metro_name(self) -> Optional[pulumi.Input[str]]: + """ + Access point metro name + """ return pulumi.get(self, "metro_name") @metro_name.setter @@ -3788,6 +6879,9 @@ def metro_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: + """ + Access point region + """ return pulumi.get(self, "region") @region.setter @@ -3804,10 +6898,25 @@ def __init__(__self__, *, :param pulumi.Input[str] href: Unique Resource URL :param pulumi.Input[str] project_id: Project Id """ + ServiceProfileProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if href is not None: - pulumi.set(__self__, "href", href) + _setter("href", href) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) @property @pulumi.getter @@ -3847,12 +6956,31 @@ def __init__(__self__, *, :param pulumi.Input[str] interface_uuid: Device Interface Uuid :param pulumi.Input['ServiceProfileVirtualDeviceLocationArgs'] location: Device Location """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + ServiceProfileVirtualDeviceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uuid=uuid, + interface_uuid=interface_uuid, + location=location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + uuid: pulumi.Input[str], + interface_uuid: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input['ServiceProfileVirtualDeviceLocationArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'interfaceUuid' in kwargs: + interface_uuid = kwargs['interfaceUuid'] + + _setter("type", type) + _setter("uuid", uuid) if interface_uuid is not None: - pulumi.set(__self__, "interface_uuid", interface_uuid) + _setter("interface_uuid", interface_uuid) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) @property @pulumi.getter @@ -3910,18 +7038,48 @@ def __init__(__self__, *, metro_code: Optional[pulumi.Input[str]] = None, metro_name: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] ibx: IBX Code + :param pulumi.Input[str] metro_code: Access point metro code + :param pulumi.Input[str] metro_name: Access point metro name + :param pulumi.Input[str] region: Access point region + """ + ServiceProfileVirtualDeviceLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ibx: Optional[pulumi.Input[str]] = None, + metro_code: Optional[pulumi.Input[str]] = None, + metro_name: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + if ibx is not None: - pulumi.set(__self__, "ibx", ibx) + _setter("ibx", ibx) if metro_code is not None: - pulumi.set(__self__, "metro_code", metro_code) + _setter("metro_code", metro_code) if metro_name is not None: - pulumi.set(__self__, "metro_name", metro_name) + _setter("metro_name", metro_name) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) @property @pulumi.getter def ibx(self) -> Optional[pulumi.Input[str]]: + """ + IBX Code + """ return pulumi.get(self, "ibx") @ibx.setter @@ -3931,6 +7089,9 @@ def ibx(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="metroCode") def metro_code(self) -> Optional[pulumi.Input[str]]: + """ + Access point metro code + """ return pulumi.get(self, "metro_code") @metro_code.setter @@ -3940,6 +7101,9 @@ def metro_code(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="metroName") def metro_name(self) -> Optional[pulumi.Input[str]]: + """ + Access point metro name + """ return pulumi.get(self, "metro_name") @metro_name.setter @@ -3949,6 +7113,9 @@ def metro_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: + """ + Access point region + """ return pulumi.get(self, "region") @region.setter @@ -3956,6 +7123,58 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +@pulumi.input_type +class GetCloudRouterProjectArgs: + def __init__(__self__, *, + href: str, + project_id: str): + """ + :param str href: Unique Resource URL + :param str project_id: Project Id + """ + GetCloudRouterProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + project_id: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + + _setter("href", href) + _setter("project_id", project_id) + + @property + @pulumi.getter + def href(self) -> str: + """ + Unique Resource URL + """ + return pulumi.get(self, "href") + + @href.setter + def href(self, value: str): + pulumi.set(self, "href", value) + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> str: + """ + Project Id + """ + return pulumi.get(self, "project_id") + + @project_id.setter + def project_id(self, value: str): + pulumi.set(self, "project_id", value) + + @pulumi.input_type class GetConnectionProjectArgs: def __init__(__self__, *, @@ -3965,8 +7184,23 @@ def __init__(__self__, *, :param str href: Unique Resource URL :param str project_id: Project Id """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "project_id", project_id) + GetConnectionProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + project_id: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + + _setter("href", href) + _setter("project_id", project_id) @property @pulumi.getter @@ -4000,8 +7234,19 @@ def __init__(__self__, *, """ :param str name: Query Parameter to Get Ports By Name """ + GetPortsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -4016,6 +7261,272 @@ def name(self, value: Optional[str]): pulumi.set(self, "name", value) +@pulumi.input_type +class GetRoutingProtocolBfdArgs: + def __init__(__self__, *, + enabled: bool, + interval: Optional[str] = None): + """ + :param bool enabled: Bidirectional Forwarding Detection enablement + :param str interval: Interval range between the received BFD control packets + """ + GetRoutingProtocolBfdArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + interval=interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: bool, + interval: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("enabled", enabled) + if interval is not None: + _setter("interval", interval) + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Bidirectional Forwarding Detection enablement + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: bool): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def interval(self) -> Optional[str]: + """ + Interval range between the received BFD control packets + """ + return pulumi.get(self, "interval") + + @interval.setter + def interval(self, value: Optional[str]): + pulumi.set(self, "interval", value) + + +@pulumi.input_type +class GetRoutingProtocolBgpIpv4Args: + def __init__(__self__, *, + customer_peer_ip: str, + equinix_peer_ip: str, + enabled: Optional[bool] = None): + """ + :param str customer_peer_ip: Customer side peering ip + :param str equinix_peer_ip: Equinix side peering ip + :param bool enabled: Admin status for the BGP session + """ + GetRoutingProtocolBgpIpv4Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_peer_ip=customer_peer_ip, + equinix_peer_ip=equinix_peer_ip, + enabled=enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_peer_ip: str, + equinix_peer_ip: str, + enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customerPeerIp' in kwargs: + customer_peer_ip = kwargs['customerPeerIp'] + if 'equinixPeerIp' in kwargs: + equinix_peer_ip = kwargs['equinixPeerIp'] + + _setter("customer_peer_ip", customer_peer_ip) + _setter("equinix_peer_ip", equinix_peer_ip) + if enabled is not None: + _setter("enabled", enabled) + + @property + @pulumi.getter(name="customerPeerIp") + def customer_peer_ip(self) -> str: + """ + Customer side peering ip + """ + return pulumi.get(self, "customer_peer_ip") + + @customer_peer_ip.setter + def customer_peer_ip(self, value: str): + pulumi.set(self, "customer_peer_ip", value) + + @property + @pulumi.getter(name="equinixPeerIp") + def equinix_peer_ip(self) -> str: + """ + Equinix side peering ip + """ + return pulumi.get(self, "equinix_peer_ip") + + @equinix_peer_ip.setter + def equinix_peer_ip(self, value: str): + pulumi.set(self, "equinix_peer_ip", value) + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Admin status for the BGP session + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[bool]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class GetRoutingProtocolBgpIpv6Args: + def __init__(__self__, *, + customer_peer_ip: str, + equinix_peer_ip: str, + enabled: Optional[bool] = None): + """ + :param str customer_peer_ip: Customer side peering ip + :param str equinix_peer_ip: Equinix side peering ip + :param bool enabled: Admin status for the BGP session + """ + GetRoutingProtocolBgpIpv6Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_peer_ip=customer_peer_ip, + equinix_peer_ip=equinix_peer_ip, + enabled=enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_peer_ip: str, + equinix_peer_ip: str, + enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customerPeerIp' in kwargs: + customer_peer_ip = kwargs['customerPeerIp'] + if 'equinixPeerIp' in kwargs: + equinix_peer_ip = kwargs['equinixPeerIp'] + + _setter("customer_peer_ip", customer_peer_ip) + _setter("equinix_peer_ip", equinix_peer_ip) + if enabled is not None: + _setter("enabled", enabled) + + @property + @pulumi.getter(name="customerPeerIp") + def customer_peer_ip(self) -> str: + """ + Customer side peering ip + """ + return pulumi.get(self, "customer_peer_ip") + + @customer_peer_ip.setter + def customer_peer_ip(self, value: str): + pulumi.set(self, "customer_peer_ip", value) + + @property + @pulumi.getter(name="equinixPeerIp") + def equinix_peer_ip(self) -> str: + """ + Equinix side peering ip + """ + return pulumi.get(self, "equinix_peer_ip") + + @equinix_peer_ip.setter + def equinix_peer_ip(self, value: str): + pulumi.set(self, "equinix_peer_ip", value) + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + """ + Admin status for the BGP session + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[bool]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class GetRoutingProtocolDirectIpv4Args: + def __init__(__self__, *, + equinix_iface_ip: str): + """ + :param str equinix_iface_ip: Equinix side Interface IP address + """ + GetRoutingProtocolDirectIpv4Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + equinix_iface_ip=equinix_iface_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + equinix_iface_ip: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'equinixIfaceIp' in kwargs: + equinix_iface_ip = kwargs['equinixIfaceIp'] + + _setter("equinix_iface_ip", equinix_iface_ip) + + @property + @pulumi.getter(name="equinixIfaceIp") + def equinix_iface_ip(self) -> str: + """ + Equinix side Interface IP address + """ + return pulumi.get(self, "equinix_iface_ip") + + @equinix_iface_ip.setter + def equinix_iface_ip(self, value: str): + pulumi.set(self, "equinix_iface_ip", value) + + +@pulumi.input_type +class GetRoutingProtocolDirectIpv6Args: + def __init__(__self__, *, + equinix_iface_ip: Optional[str] = None): + """ + :param str equinix_iface_ip: Equinix side Interface IP address + """ + GetRoutingProtocolDirectIpv6Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + equinix_iface_ip=equinix_iface_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + equinix_iface_ip: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'equinixIfaceIp' in kwargs: + equinix_iface_ip = kwargs['equinixIfaceIp'] + + if equinix_iface_ip is not None: + _setter("equinix_iface_ip", equinix_iface_ip) + + @property + @pulumi.getter(name="equinixIfaceIp") + def equinix_iface_ip(self) -> Optional[str]: + """ + Equinix side Interface IP address + """ + return pulumi.get(self, "equinix_iface_ip") + + @equinix_iface_ip.setter + def equinix_iface_ip(self, value: Optional[str]): + pulumi.set(self, "equinix_iface_ip", value) + + @pulumi.input_type class GetServiceProfilesFilterArgs: def __init__(__self__, *, @@ -4027,12 +7538,27 @@ def __init__(__self__, *, :param str property: Search Criteria for Service Profile - /name, /uuid, /state, /metros/code, /visibility, /type :param Sequence[str] values: Values """ + GetServiceProfilesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + operator=operator, + property=property, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operator: Optional[str] = None, + property: Optional[str] = None, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if property is not None: - pulumi.set(__self__, "property", property) + _setter("property", property) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -4080,10 +7606,23 @@ def __init__(__self__, *, :param str direction: Priority type- DESC, ASC :param str property: Search operation sort criteria /name /state /changeLog/createdDateTime /changeLog/updatedDateTime """ + GetServiceProfilesSortArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + direction=direction, + property=property, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + direction: Optional[str] = None, + property: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if direction is not None: - pulumi.set(__self__, "direction", direction) + _setter("direction", direction) if property is not None: - pulumi.set(__self__, "property", property) + _setter("property", property) @property @pulumi.getter diff --git a/sdk/python/pulumi_equinix/fabric/cloud_router.py b/sdk/python/pulumi_equinix/fabric/cloud_router.py new file mode 100644 index 00000000..ad11aa9d --- /dev/null +++ b/sdk/python/pulumi_equinix/fabric/cloud_router.py @@ -0,0 +1,783 @@ +# 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, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['CloudRouterArgs', 'CloudRouter'] + +@pulumi.input_type +class CloudRouterArgs: + def __init__(__self__, *, + location: pulumi.Input['CloudRouterLocationArgs'], + notifications: pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]], + package: pulumi.Input['CloudRouterPackageArgs'], + type: pulumi.Input[str], + account: Optional[pulumi.Input['CloudRouterAccountArgs']] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input['CloudRouterOrderArgs']] = None, + projects: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterProjectArgs']]]] = None): + """ + The set of arguments for constructing a CloudRouter resource. + :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 + :param pulumi.Input[str] type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + :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] 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[Sequence[pulumi.Input['CloudRouterProjectArgs']]] projects: Fabric Cloud Router project + """ + CloudRouterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + location=location, + notifications=notifications, + package=package, + type=type, + account=account, + description=description, + name=name, + order=order, + projects=projects, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + location: pulumi.Input['CloudRouterLocationArgs'], + notifications: pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]], + package: pulumi.Input['CloudRouterPackageArgs'], + type: pulumi.Input[str], + account: Optional[pulumi.Input['CloudRouterAccountArgs']] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input['CloudRouterOrderArgs']] = None, + projects: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterProjectArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("location", location) + _setter("notifications", notifications) + _setter("package", package) + _setter("type", type) + if account is not None: + _setter("account", account) + if description is not None: + _setter("description", description) + if name is not None: + _setter("name", name) + if order is not None: + _setter("order", order) + if projects is not None: + _setter("projects", projects) + + @property + @pulumi.getter + def location(self) -> pulumi.Input['CloudRouterLocationArgs']: + """ + Fabric Cloud Router location + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: pulumi.Input['CloudRouterLocationArgs']): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def notifications(self) -> pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]]: + """ + Preferences for notifications on Fabric Cloud Router configuration or status changes + """ + return pulumi.get(self, "notifications") + + @notifications.setter + def notifications(self, value: pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]]): + pulumi.set(self, "notifications", value) + + @property + @pulumi.getter + def package(self) -> pulumi.Input['CloudRouterPackageArgs']: + """ + Fabric Cloud Router package + """ + return pulumi.get(self, "package") + + @package.setter + def package(self, value: pulumi.Input['CloudRouterPackageArgs']): + pulumi.set(self, "package", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + return pulumi.get(self, "type") + + @type.setter + 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]]: + """ + Customer-provided Fabric Cloud Router description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def order(self) -> Optional[pulumi.Input['CloudRouterOrderArgs']]: + """ + Order information related to this Fabric Cloud Router + """ + return pulumi.get(self, "order") + + @order.setter + def order(self, value: Optional[pulumi.Input['CloudRouterOrderArgs']]): + pulumi.set(self, "order", value) + + @property + @pulumi.getter + def projects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterProjectArgs']]]]: + """ + Fabric Cloud Router project + """ + return pulumi.get(self, "projects") + + @projects.setter + def projects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterProjectArgs']]]]): + pulumi.set(self, "projects", value) + + +@pulumi.input_type +class _CloudRouterState: + def __init__(__self__, *, + account: Optional[pulumi.Input['CloudRouterAccountArgs']] = None, + change_logs: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterChangeLogArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + equinix_asn: Optional[pulumi.Input[int]] = None, + href: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input['CloudRouterLocationArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]]] = None, + order: Optional[pulumi.Input['CloudRouterOrderArgs']] = None, + package: Optional[pulumi.Input['CloudRouterPackageArgs']] = None, + projects: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterProjectArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering CloudRouter resources. + :param pulumi.Input['CloudRouterAccountArgs'] account: Customer account information that is associated with this Fabric Cloud Router + :param pulumi.Input[Sequence[pulumi.Input['CloudRouterChangeLogArgs']]] change_logs: Captures Fabric Cloud Router lifecycle change information + :param pulumi.Input[str] description: Customer-provided Fabric Cloud Router description + :param pulumi.Input[int] equinix_asn: Equinix ASN + :param pulumi.Input[str] href: Unique Resource URL + :param pulumi.Input['CloudRouterLocationArgs'] location: Fabric Cloud Router location + :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 + :param pulumi.Input['CloudRouterPackageArgs'] package: Fabric Cloud Router package + :param pulumi.Input[Sequence[pulumi.Input['CloudRouterProjectArgs']]] projects: Fabric Cloud Router project + :param pulumi.Input[str] state: Fabric Cloud Router overall state + :param pulumi.Input[str] type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + _CloudRouterState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account=account, + change_logs=change_logs, + description=description, + equinix_asn=equinix_asn, + href=href, + location=location, + name=name, + notifications=notifications, + order=order, + package=package, + projects=projects, + state=state, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account: Optional[pulumi.Input['CloudRouterAccountArgs']] = None, + change_logs: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterChangeLogArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + equinix_asn: Optional[pulumi.Input[int]] = None, + href: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input['CloudRouterLocationArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]]] = None, + order: Optional[pulumi.Input['CloudRouterOrderArgs']] = None, + package: Optional[pulumi.Input['CloudRouterPackageArgs']] = None, + projects: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterProjectArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'changeLogs' in kwargs: + change_logs = kwargs['changeLogs'] + if 'equinixAsn' in kwargs: + equinix_asn = kwargs['equinixAsn'] + + if account is not None: + _setter("account", account) + if change_logs is not None: + _setter("change_logs", change_logs) + if description is not None: + _setter("description", description) + if equinix_asn is not None: + _setter("equinix_asn", equinix_asn) + if href is not None: + _setter("href", href) + if location is not None: + _setter("location", location) + if name is not None: + _setter("name", name) + if notifications is not None: + _setter("notifications", notifications) + if order is not None: + _setter("order", order) + if package is not None: + _setter("package", package) + if projects is not None: + _setter("projects", projects) + if state is not None: + _setter("state", state) + if type is not None: + _setter("type", type) + + @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(name="changeLogs") + def change_logs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterChangeLogArgs']]]]: + """ + Captures Fabric Cloud Router lifecycle change information + """ + return pulumi.get(self, "change_logs") + + @change_logs.setter + def change_logs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterChangeLogArgs']]]]): + pulumi.set(self, "change_logs", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Customer-provided Fabric Cloud Router description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="equinixAsn") + def equinix_asn(self) -> Optional[pulumi.Input[int]]: + """ + Equinix ASN + """ + return pulumi.get(self, "equinix_asn") + + @equinix_asn.setter + def equinix_asn(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "equinix_asn", value) + + @property + @pulumi.getter + def href(self) -> Optional[pulumi.Input[str]]: + """ + Unique Resource URL + """ + return pulumi.get(self, "href") + + @href.setter + def href(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "href", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input['CloudRouterLocationArgs']]: + """ + Fabric Cloud Router location + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input['CloudRouterLocationArgs']]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def notifications(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]]]: + """ + Preferences for notifications on Fabric Cloud Router configuration or status changes + """ + return pulumi.get(self, "notifications") + + @notifications.setter + def notifications(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]]]): + pulumi.set(self, "notifications", value) + + @property + @pulumi.getter + def order(self) -> Optional[pulumi.Input['CloudRouterOrderArgs']]: + """ + Order information related to this Fabric Cloud Router + """ + return pulumi.get(self, "order") + + @order.setter + def order(self, value: Optional[pulumi.Input['CloudRouterOrderArgs']]): + pulumi.set(self, "order", value) + + @property + @pulumi.getter + def package(self) -> Optional[pulumi.Input['CloudRouterPackageArgs']]: + """ + Fabric Cloud Router package + """ + return pulumi.get(self, "package") + + @package.setter + def package(self, value: Optional[pulumi.Input['CloudRouterPackageArgs']]): + pulumi.set(self, "package", value) + + @property + @pulumi.getter + def projects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterProjectArgs']]]]: + """ + Fabric Cloud Router project + """ + return pulumi.get(self, "projects") + + @projects.setter + def projects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterProjectArgs']]]]): + pulumi.set(self, "projects", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + Fabric Cloud Router overall state + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + +class CloudRouter(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account: Optional[pulumi.Input[pulumi.InputType['CloudRouterAccountArgs']]] = None, + description: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[pulumi.InputType['CloudRouterLocationArgs']]] = None, + name: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CloudRouterNotificationArgs']]]]] = None, + order: Optional[pulumi.Input[pulumi.InputType['CloudRouterOrderArgs']]] = None, + package: Optional[pulumi.Input[pulumi.InputType['CloudRouterPackageArgs']]] = None, + projects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CloudRouterProjectArgs']]]]] = None, + type: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + ## Example Usage + ```python + import pulumi + import pulumi_equinix as equinix + + config = pulumi.Config() + metro = config.get("metro") + if metro is None: + metro = "FR" + account_num = config.require_int("accountNum") + router = equinix.fabric.CloudRouter("router", + name="My-Fabric-Cloud-Router", + type="XF_ROUTER", + location=equinix.fabric.CloudRouterLocationArgs( + metro_code=metro, + ), + package=equinix.fabric.CloudRouterPackageArgs( + code="BASIC", + ), + notifications=[equinix.fabric.CloudRouterNotificationArgs( + type="ALL", + emails=["example@equinix.com"], + )], + account=equinix.fabric.CloudRouterAccountArgs( + account_number=272010, + )) + pulumi.export("routerId", router.id) + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['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[pulumi.InputType['CloudRouterLocationArgs']] location: Fabric Cloud Router location + :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[pulumi.InputType['CloudRouterNotificationArgs']]]] notifications: Preferences for notifications on Fabric Cloud Router configuration or status changes + :param pulumi.Input[pulumi.InputType['CloudRouterOrderArgs']] order: Order information related to this Fabric Cloud Router + :param pulumi.Input[pulumi.InputType['CloudRouterPackageArgs']] package: Fabric Cloud Router package + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CloudRouterProjectArgs']]]] projects: Fabric Cloud Router project + :param pulumi.Input[str] type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CloudRouterArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + ## Example Usage + ```python + import pulumi + import pulumi_equinix as equinix + + config = pulumi.Config() + metro = config.get("metro") + if metro is None: + metro = "FR" + account_num = config.require_int("accountNum") + router = equinix.fabric.CloudRouter("router", + name="My-Fabric-Cloud-Router", + type="XF_ROUTER", + location=equinix.fabric.CloudRouterLocationArgs( + metro_code=metro, + ), + package=equinix.fabric.CloudRouterPackageArgs( + code="BASIC", + ), + notifications=[equinix.fabric.CloudRouterNotificationArgs( + type="ALL", + emails=["example@equinix.com"], + )], + account=equinix.fabric.CloudRouterAccountArgs( + account_number=272010, + )) + pulumi.export("routerId", router.id) + ``` + + :param str resource_name: The name of the resource. + :param CloudRouterArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(CloudRouterArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CloudRouterArgs._configure(_setter, **kwargs) + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + account: Optional[pulumi.Input[pulumi.InputType['CloudRouterAccountArgs']]] = None, + description: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[pulumi.InputType['CloudRouterLocationArgs']]] = None, + name: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CloudRouterNotificationArgs']]]]] = None, + order: Optional[pulumi.Input[pulumi.InputType['CloudRouterOrderArgs']]] = None, + package: Optional[pulumi.Input[pulumi.InputType['CloudRouterPackageArgs']]] = None, + projects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CloudRouterProjectArgs']]]]] = None, + type: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + 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 not None and not isinstance(account, CloudRouterAccountArgs): + account = account or {} + def _setter(key, value): + account[key] = value + CloudRouterAccountArgs._configure(_setter, **account) + __props__.__dict__["account"] = account + __props__.__dict__["description"] = description + if location is not None and not isinstance(location, CloudRouterLocationArgs): + location = location or {} + def _setter(key, value): + location[key] = value + CloudRouterLocationArgs._configure(_setter, **location) + if location is None and not opts.urn: + raise TypeError("Missing required property 'location'") + __props__.__dict__["location"] = location + __props__.__dict__["name"] = name + if notifications is None and not opts.urn: + raise TypeError("Missing required property 'notifications'") + __props__.__dict__["notifications"] = notifications + if order is not None and not isinstance(order, CloudRouterOrderArgs): + order = order or {} + def _setter(key, value): + order[key] = value + CloudRouterOrderArgs._configure(_setter, **order) + __props__.__dict__["order"] = order + if package is not None and not isinstance(package, CloudRouterPackageArgs): + package = package or {} + def _setter(key, value): + package[key] = value + CloudRouterPackageArgs._configure(_setter, **package) + if package is None and not opts.urn: + raise TypeError("Missing required property 'package'") + __props__.__dict__["package"] = package + __props__.__dict__["projects"] = projects + if type is None and not opts.urn: + raise TypeError("Missing required property 'type'") + __props__.__dict__["type"] = type + __props__.__dict__["change_logs"] = None + __props__.__dict__["equinix_asn"] = None + __props__.__dict__["href"] = None + __props__.__dict__["state"] = None + super(CloudRouter, __self__).__init__( + 'equinix:fabric/cloudRouter:CloudRouter', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + account: Optional[pulumi.Input[pulumi.InputType['CloudRouterAccountArgs']]] = None, + change_logs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CloudRouterChangeLogArgs']]]]] = None, + description: Optional[pulumi.Input[str]] = None, + equinix_asn: Optional[pulumi.Input[int]] = None, + href: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[pulumi.InputType['CloudRouterLocationArgs']]] = None, + name: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CloudRouterNotificationArgs']]]]] = None, + order: Optional[pulumi.Input[pulumi.InputType['CloudRouterOrderArgs']]] = None, + package: Optional[pulumi.Input[pulumi.InputType['CloudRouterPackageArgs']]] = None, + projects: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CloudRouterProjectArgs']]]]] = None, + state: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None) -> 'CloudRouter': + """ + Get an existing CloudRouter resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['CloudRouterAccountArgs']] account: Customer account information that is associated with this Fabric Cloud Router + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CloudRouterChangeLogArgs']]]] change_logs: Captures Fabric Cloud Router lifecycle change information + :param pulumi.Input[str] description: Customer-provided Fabric Cloud Router description + :param pulumi.Input[int] equinix_asn: Equinix ASN + :param pulumi.Input[str] href: Unique Resource URL + :param pulumi.Input[pulumi.InputType['CloudRouterLocationArgs']] location: Fabric Cloud Router location + :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[pulumi.InputType['CloudRouterNotificationArgs']]]] notifications: Preferences for notifications on Fabric Cloud Router configuration or status changes + :param pulumi.Input[pulumi.InputType['CloudRouterOrderArgs']] order: Order information related to this Fabric Cloud Router + :param pulumi.Input[pulumi.InputType['CloudRouterPackageArgs']] package: Fabric Cloud Router package + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CloudRouterProjectArgs']]]] projects: Fabric Cloud Router project + :param pulumi.Input[str] state: Fabric Cloud Router overall state + :param pulumi.Input[str] type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _CloudRouterState.__new__(_CloudRouterState) + + __props__.__dict__["account"] = account + __props__.__dict__["change_logs"] = change_logs + __props__.__dict__["description"] = description + __props__.__dict__["equinix_asn"] = equinix_asn + __props__.__dict__["href"] = href + __props__.__dict__["location"] = location + __props__.__dict__["name"] = name + __props__.__dict__["notifications"] = notifications + __props__.__dict__["order"] = order + __props__.__dict__["package"] = package + __props__.__dict__["projects"] = projects + __props__.__dict__["state"] = state + __props__.__dict__["type"] = type + return CloudRouter(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def account(self) -> pulumi.Output[Optional['outputs.CloudRouterAccount']]: + """ + Customer account information that is associated with this Fabric Cloud Router + """ + return pulumi.get(self, "account") + + @property + @pulumi.getter(name="changeLogs") + def change_logs(self) -> pulumi.Output[Sequence['outputs.CloudRouterChangeLog']]: + """ + Captures Fabric Cloud Router lifecycle change information + """ + return pulumi.get(self, "change_logs") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + Customer-provided Fabric Cloud Router description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="equinixAsn") + def equinix_asn(self) -> pulumi.Output[int]: + """ + Equinix ASN + """ + return pulumi.get(self, "equinix_asn") + + @property + @pulumi.getter + def href(self) -> pulumi.Output[str]: + """ + Unique Resource URL + """ + return pulumi.get(self, "href") + + @property + @pulumi.getter + def location(self) -> pulumi.Output['outputs.CloudRouterLocation']: + """ + Fabric Cloud Router location + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def notifications(self) -> pulumi.Output[Sequence['outputs.CloudRouterNotification']]: + """ + Preferences for notifications on Fabric Cloud Router configuration or status changes + """ + return pulumi.get(self, "notifications") + + @property + @pulumi.getter + def order(self) -> pulumi.Output[Optional['outputs.CloudRouterOrder']]: + """ + Order information related to this Fabric Cloud Router + """ + return pulumi.get(self, "order") + + @property + @pulumi.getter + def package(self) -> pulumi.Output['outputs.CloudRouterPackage']: + """ + Fabric Cloud Router package + """ + return pulumi.get(self, "package") + + @property + @pulumi.getter + def projects(self) -> pulumi.Output[Optional[Sequence['outputs.CloudRouterProject']]]: + """ + Fabric Cloud Router project + """ + return pulumi.get(self, "projects") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + Fabric Cloud Router overall state + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_equinix/fabric/connection.py b/sdk/python/pulumi_equinix/fabric/connection.py index f321e9e5..f4c05c6d 100644 --- a/sdk/python/pulumi_equinix/fabric/connection.py +++ b/sdk/python/pulumi_equinix/fabric/connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from .. import _enums as _root_enums @@ -23,7 +23,7 @@ def __init__(__self__, *, notifications: pulumi.Input[Sequence[pulumi.Input['ConnectionNotificationArgs']]], type: pulumi.Input[Union[str, 'ConnectionType']], z_side: pulumi.Input['ConnectionZSideArgs'], - additional_info: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionAdditionalInfoArgs']]]] = None, + additional_info: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]] = None, name: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input['ConnectionOrderArgs']] = None, project: Optional[pulumi.Input['ConnectionProjectArgs']] = None, @@ -33,29 +33,64 @@ def __init__(__self__, *, :param pulumi.Input['ConnectionASideArgs'] a_side: Requester or Customer side connection configuration object of the multi-segment connection :param pulumi.Input[int] bandwidth: Connection bandwidth in Mbps :param pulumi.Input[Sequence[pulumi.Input['ConnectionNotificationArgs']]] notifications: Preferences for notifications on connection configuration or status changes - :param pulumi.Input[Union[str, 'ConnectionType']] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + :param pulumi.Input[Union[str, 'ConnectionType']] type: Interface type :param pulumi.Input['ConnectionZSideArgs'] z_side: Destination or Provider side connection configuration object of the multi-segment connection - :param pulumi.Input[Sequence[pulumi.Input['ConnectionAdditionalInfoArgs']]] additional_info: Connection additional information - :param pulumi.Input[str] name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + :param pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]] additional_info: Connection side additional information + :param pulumi.Input[str] name: Port name :param pulumi.Input['ConnectionOrderArgs'] order: Order related to this connection information :param pulumi.Input['ConnectionProjectArgs'] project: Project information :param pulumi.Input['ConnectionRedundancyArgs'] redundancy: Redundancy Information """ - pulumi.set(__self__, "a_side", a_side) - pulumi.set(__self__, "bandwidth", bandwidth) - pulumi.set(__self__, "notifications", notifications) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "z_side", z_side) + ConnectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + a_side=a_side, + bandwidth=bandwidth, + notifications=notifications, + type=type, + z_side=z_side, + additional_info=additional_info, + name=name, + order=order, + project=project, + redundancy=redundancy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + a_side: pulumi.Input['ConnectionASideArgs'], + bandwidth: pulumi.Input[int], + notifications: pulumi.Input[Sequence[pulumi.Input['ConnectionNotificationArgs']]], + type: pulumi.Input[Union[str, 'ConnectionType']], + z_side: pulumi.Input['ConnectionZSideArgs'], + additional_info: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]] = None, + name: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input['ConnectionOrderArgs']] = None, + project: Optional[pulumi.Input['ConnectionProjectArgs']] = None, + redundancy: Optional[pulumi.Input['ConnectionRedundancyArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aSide' in kwargs: + a_side = kwargs['aSide'] + if 'zSide' in kwargs: + z_side = kwargs['zSide'] + if 'additionalInfo' in kwargs: + additional_info = kwargs['additionalInfo'] + + _setter("a_side", a_side) + _setter("bandwidth", bandwidth) + _setter("notifications", notifications) + _setter("type", type) + _setter("z_side", z_side) if additional_info is not None: - pulumi.set(__self__, "additional_info", additional_info) + _setter("additional_info", additional_info) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if order is not None: - pulumi.set(__self__, "order", order) + _setter("order", order) if project is not None: - pulumi.set(__self__, "project", project) + _setter("project", project) if redundancy is not None: - pulumi.set(__self__, "redundancy", redundancy) + _setter("redundancy", redundancy) @property @pulumi.getter(name="aSide") @@ -97,7 +132,7 @@ def notifications(self, value: pulumi.Input[Sequence[pulumi.Input['ConnectionNot @pulumi.getter def type(self) -> pulumi.Input[Union[str, 'ConnectionType']]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -119,21 +154,21 @@ def z_side(self, value: pulumi.Input['ConnectionZSideArgs']): @property @pulumi.getter(name="additionalInfo") - def additional_info(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionAdditionalInfoArgs']]]]: + def additional_info(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]]: """ - Connection additional information + Connection side additional information """ return pulumi.get(self, "additional_info") @additional_info.setter - def additional_info(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionAdditionalInfoArgs']]]]): + def additional_info(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]]): pulumi.set(self, "additional_info", value) @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Port name """ return pulumi.get(self, "name") @@ -183,7 +218,7 @@ class _ConnectionState: def __init__(__self__, *, a_side: Optional[pulumi.Input['ConnectionASideArgs']] = None, account: Optional[pulumi.Input['ConnectionAccountArgs']] = None, - additional_info: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionAdditionalInfoArgs']]]] = None, + additional_info: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]] = None, bandwidth: Optional[pulumi.Input[int]] = None, change_log: Optional[pulumi.Input['ConnectionChangeLogArgs']] = None, direction: Optional[pulumi.Input[str]] = None, @@ -201,57 +236,110 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering Connection resources. :param pulumi.Input['ConnectionASideArgs'] a_side: Requester or Customer side connection configuration object of the multi-segment connection - :param pulumi.Input['ConnectionAccountArgs'] account: Customer account information that is associated with this connection - :param pulumi.Input[Sequence[pulumi.Input['ConnectionAdditionalInfoArgs']]] additional_info: Connection additional information + :param pulumi.Input['ConnectionAccountArgs'] account: Account + :param pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]] additional_info: Connection side additional information :param pulumi.Input[int] bandwidth: Connection bandwidth in Mbps :param pulumi.Input['ConnectionChangeLogArgs'] change_log: Captures connection lifecycle change information :param pulumi.Input[str] direction: Connection directionality from the requester point of view - :param pulumi.Input[str] href: Connection URI information + :param pulumi.Input[str] href: Unique Resource Identifier :param pulumi.Input[bool] is_remote: Connection property derived from access point locations - :param pulumi.Input[str] name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + :param pulumi.Input[str] name: Port name :param pulumi.Input[Sequence[pulumi.Input['ConnectionNotificationArgs']]] notifications: Preferences for notifications on connection configuration or status changes :param pulumi.Input['ConnectionOperationArgs'] operation: Connection type-specific operational data :param pulumi.Input['ConnectionOrderArgs'] order: Order related to this connection information :param pulumi.Input['ConnectionProjectArgs'] project: Project information :param pulumi.Input['ConnectionRedundancyArgs'] redundancy: Redundancy Information - :param pulumi.Input[str] state: Connection overall state - :param pulumi.Input[Union[str, 'ConnectionType']] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + :param pulumi.Input[str] state: Routing protocol instance state + :param pulumi.Input[Union[str, 'ConnectionType']] type: Interface type :param pulumi.Input['ConnectionZSideArgs'] z_side: Destination or Provider side connection configuration object of the multi-segment connection """ + _ConnectionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + a_side=a_side, + account=account, + additional_info=additional_info, + bandwidth=bandwidth, + change_log=change_log, + direction=direction, + href=href, + is_remote=is_remote, + name=name, + notifications=notifications, + operation=operation, + order=order, + project=project, + redundancy=redundancy, + state=state, + type=type, + z_side=z_side, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + a_side: Optional[pulumi.Input['ConnectionASideArgs']] = None, + account: Optional[pulumi.Input['ConnectionAccountArgs']] = None, + additional_info: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]] = None, + bandwidth: Optional[pulumi.Input[int]] = None, + change_log: Optional[pulumi.Input['ConnectionChangeLogArgs']] = None, + direction: Optional[pulumi.Input[str]] = None, + href: Optional[pulumi.Input[str]] = None, + is_remote: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionNotificationArgs']]]] = None, + operation: Optional[pulumi.Input['ConnectionOperationArgs']] = None, + order: Optional[pulumi.Input['ConnectionOrderArgs']] = None, + project: Optional[pulumi.Input['ConnectionProjectArgs']] = None, + redundancy: Optional[pulumi.Input['ConnectionRedundancyArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[Union[str, 'ConnectionType']]] = None, + z_side: Optional[pulumi.Input['ConnectionZSideArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aSide' in kwargs: + a_side = kwargs['aSide'] + if 'additionalInfo' in kwargs: + additional_info = kwargs['additionalInfo'] + if 'changeLog' in kwargs: + change_log = kwargs['changeLog'] + if 'isRemote' in kwargs: + is_remote = kwargs['isRemote'] + if 'zSide' in kwargs: + z_side = kwargs['zSide'] + if a_side is not None: - pulumi.set(__self__, "a_side", a_side) + _setter("a_side", a_side) if account is not None: - pulumi.set(__self__, "account", account) + _setter("account", account) if additional_info is not None: - pulumi.set(__self__, "additional_info", additional_info) + _setter("additional_info", additional_info) if bandwidth is not None: - pulumi.set(__self__, "bandwidth", bandwidth) + _setter("bandwidth", bandwidth) if change_log is not None: - pulumi.set(__self__, "change_log", change_log) + _setter("change_log", change_log) if direction is not None: - pulumi.set(__self__, "direction", direction) + _setter("direction", direction) if href is not None: - pulumi.set(__self__, "href", href) + _setter("href", href) if is_remote is not None: - pulumi.set(__self__, "is_remote", is_remote) + _setter("is_remote", is_remote) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if notifications is not None: - pulumi.set(__self__, "notifications", notifications) + _setter("notifications", notifications) if operation is not None: - pulumi.set(__self__, "operation", operation) + _setter("operation", operation) if order is not None: - pulumi.set(__self__, "order", order) + _setter("order", order) if project is not None: - pulumi.set(__self__, "project", project) + _setter("project", project) if redundancy is not None: - pulumi.set(__self__, "redundancy", redundancy) + _setter("redundancy", redundancy) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if z_side is not None: - pulumi.set(__self__, "z_side", z_side) + _setter("z_side", z_side) @property @pulumi.getter(name="aSide") @@ -269,7 +357,7 @@ def a_side(self, value: Optional[pulumi.Input['ConnectionASideArgs']]): @pulumi.getter def account(self) -> Optional[pulumi.Input['ConnectionAccountArgs']]: """ - Customer account information that is associated with this connection + Account """ return pulumi.get(self, "account") @@ -279,14 +367,14 @@ def account(self, value: Optional[pulumi.Input['ConnectionAccountArgs']]): @property @pulumi.getter(name="additionalInfo") - def additional_info(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionAdditionalInfoArgs']]]]: + def additional_info(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]]: """ - Connection additional information + Connection side additional information """ return pulumi.get(self, "additional_info") @additional_info.setter - def additional_info(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionAdditionalInfoArgs']]]]): + def additional_info(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]]): pulumi.set(self, "additional_info", value) @property @@ -329,7 +417,7 @@ def direction(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def href(self) -> Optional[pulumi.Input[str]]: """ - Connection URI information + Unique Resource Identifier """ return pulumi.get(self, "href") @@ -353,7 +441,7 @@ def is_remote(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Port name """ return pulumi.get(self, "name") @@ -425,7 +513,7 @@ def redundancy(self, value: Optional[pulumi.Input['ConnectionRedundancyArgs']]): @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: """ - Connection overall state + Routing protocol instance state """ return pulumi.get(self, "state") @@ -437,7 +525,7 @@ def state(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def type(self) -> Optional[pulumi.Input[Union[str, 'ConnectionType']]]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @@ -464,7 +552,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, a_side: Optional[pulumi.Input[pulumi.InputType['ConnectionASideArgs']]] = None, - additional_info: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionAdditionalInfoArgs']]]]] = None, + additional_info: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]] = None, bandwidth: Optional[pulumi.Input[int]] = None, name: Optional[pulumi.Input[str]] = None, notifications: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionNotificationArgs']]]]] = None, @@ -546,14 +634,14 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[pulumi.InputType['ConnectionASideArgs']] a_side: Requester or Customer side connection configuration object of the multi-segment connection - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionAdditionalInfoArgs']]]] additional_info: Connection additional information + :param pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]] additional_info: Connection side additional information :param pulumi.Input[int] bandwidth: Connection bandwidth in Mbps - :param pulumi.Input[str] name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + :param pulumi.Input[str] name: Port name :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionNotificationArgs']]]] notifications: Preferences for notifications on connection configuration or status changes :param pulumi.Input[pulumi.InputType['ConnectionOrderArgs']] order: Order related to this connection information :param pulumi.Input[pulumi.InputType['ConnectionProjectArgs']] project: Project information :param pulumi.Input[pulumi.InputType['ConnectionRedundancyArgs']] redundancy: Redundancy Information - :param pulumi.Input[Union[str, 'ConnectionType']] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + :param pulumi.Input[Union[str, 'ConnectionType']] type: Interface type :param pulumi.Input[pulumi.InputType['ConnectionZSideArgs']] z_side: Destination or Provider side connection configuration object of the multi-segment connection """ ... @@ -641,13 +729,17 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConnectionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, a_side: Optional[pulumi.Input[pulumi.InputType['ConnectionASideArgs']]] = None, - additional_info: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionAdditionalInfoArgs']]]]] = None, + additional_info: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]] = None, bandwidth: Optional[pulumi.Input[int]] = None, name: Optional[pulumi.Input[str]] = None, notifications: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionNotificationArgs']]]]] = None, @@ -665,6 +757,11 @@ 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__ = ConnectionArgs.__new__(ConnectionArgs) + if a_side is not None and not isinstance(a_side, ConnectionASideArgs): + a_side = a_side or {} + def _setter(key, value): + a_side[key] = value + ConnectionASideArgs._configure(_setter, **a_side) if a_side is None and not opts.urn: raise TypeError("Missing required property 'a_side'") __props__.__dict__["a_side"] = a_side @@ -676,12 +773,32 @@ def _internal_init(__self__, if notifications is None and not opts.urn: raise TypeError("Missing required property 'notifications'") __props__.__dict__["notifications"] = notifications + if order is not None and not isinstance(order, ConnectionOrderArgs): + order = order or {} + def _setter(key, value): + order[key] = value + ConnectionOrderArgs._configure(_setter, **order) __props__.__dict__["order"] = order + if project is not None and not isinstance(project, ConnectionProjectArgs): + project = project or {} + def _setter(key, value): + project[key] = value + ConnectionProjectArgs._configure(_setter, **project) __props__.__dict__["project"] = project + if redundancy is not None and not isinstance(redundancy, ConnectionRedundancyArgs): + redundancy = redundancy or {} + def _setter(key, value): + redundancy[key] = value + ConnectionRedundancyArgs._configure(_setter, **redundancy) __props__.__dict__["redundancy"] = redundancy if type is None and not opts.urn: raise TypeError("Missing required property 'type'") __props__.__dict__["type"] = type + if z_side is not None and not isinstance(z_side, ConnectionZSideArgs): + z_side = z_side or {} + def _setter(key, value): + z_side[key] = value + ConnectionZSideArgs._configure(_setter, **z_side) if z_side is None and not opts.urn: raise TypeError("Missing required property 'z_side'") __props__.__dict__["z_side"] = z_side @@ -704,7 +821,7 @@ def get(resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, a_side: Optional[pulumi.Input[pulumi.InputType['ConnectionASideArgs']]] = None, account: Optional[pulumi.Input[pulumi.InputType['ConnectionAccountArgs']]] = None, - additional_info: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionAdditionalInfoArgs']]]]] = None, + additional_info: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]] = None, bandwidth: Optional[pulumi.Input[int]] = None, change_log: Optional[pulumi.Input[pulumi.InputType['ConnectionChangeLogArgs']]] = None, direction: Optional[pulumi.Input[str]] = None, @@ -727,21 +844,21 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[pulumi.InputType['ConnectionASideArgs']] a_side: Requester or Customer side connection configuration object of the multi-segment connection - :param pulumi.Input[pulumi.InputType['ConnectionAccountArgs']] account: Customer account information that is associated with this connection - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionAdditionalInfoArgs']]]] additional_info: Connection additional information + :param pulumi.Input[pulumi.InputType['ConnectionAccountArgs']] account: Account + :param pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]] additional_info: Connection side additional information :param pulumi.Input[int] bandwidth: Connection bandwidth in Mbps :param pulumi.Input[pulumi.InputType['ConnectionChangeLogArgs']] change_log: Captures connection lifecycle change information :param pulumi.Input[str] direction: Connection directionality from the requester point of view - :param pulumi.Input[str] href: Connection URI information + :param pulumi.Input[str] href: Unique Resource Identifier :param pulumi.Input[bool] is_remote: Connection property derived from access point locations - :param pulumi.Input[str] name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + :param pulumi.Input[str] name: Port name :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConnectionNotificationArgs']]]] notifications: Preferences for notifications on connection configuration or status changes :param pulumi.Input[pulumi.InputType['ConnectionOperationArgs']] operation: Connection type-specific operational data :param pulumi.Input[pulumi.InputType['ConnectionOrderArgs']] order: Order related to this connection information :param pulumi.Input[pulumi.InputType['ConnectionProjectArgs']] project: Project information :param pulumi.Input[pulumi.InputType['ConnectionRedundancyArgs']] redundancy: Redundancy Information - :param pulumi.Input[str] state: Connection overall state - :param pulumi.Input[Union[str, 'ConnectionType']] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + :param pulumi.Input[str] state: Routing protocol instance state + :param pulumi.Input[Union[str, 'ConnectionType']] type: Interface type :param pulumi.Input[pulumi.InputType['ConnectionZSideArgs']] z_side: Destination or Provider side connection configuration object of the multi-segment connection """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -779,15 +896,15 @@ def a_side(self) -> pulumi.Output['outputs.ConnectionASide']: @pulumi.getter def account(self) -> pulumi.Output['outputs.ConnectionAccount']: """ - Customer account information that is associated with this connection + Account """ return pulumi.get(self, "account") @property @pulumi.getter(name="additionalInfo") - def additional_info(self) -> pulumi.Output[Optional[Sequence['outputs.ConnectionAdditionalInfo']]]: + def additional_info(self) -> pulumi.Output[Optional[Sequence[Mapping[str, Any]]]]: """ - Connection additional information + Connection side additional information """ return pulumi.get(self, "additional_info") @@ -819,7 +936,7 @@ def direction(self) -> pulumi.Output[str]: @pulumi.getter def href(self) -> pulumi.Output[str]: """ - Connection URI information + Unique Resource Identifier """ return pulumi.get(self, "href") @@ -835,7 +952,7 @@ def is_remote(self) -> pulumi.Output[bool]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Port name """ return pulumi.get(self, "name") @@ -883,7 +1000,7 @@ def redundancy(self) -> pulumi.Output[Optional['outputs.ConnectionRedundancy']]: @pulumi.getter def state(self) -> pulumi.Output[str]: """ - Connection overall state + Routing protocol instance state """ return pulumi.get(self, "state") @@ -891,7 +1008,7 @@ def state(self) -> pulumi.Output[str]: @pulumi.getter def type(self) -> pulumi.Output[str]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") diff --git a/sdk/python/pulumi_equinix/fabric/get_cloud_router.py b/sdk/python/pulumi_equinix/fabric/get_cloud_router.py new file mode 100644 index 00000000..0e36ba60 --- /dev/null +++ b/sdk/python/pulumi_equinix/fabric/get_cloud_router.py @@ -0,0 +1,290 @@ +# 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, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetCloudRouterResult', + 'AwaitableGetCloudRouterResult', + 'get_cloud_router', + 'get_cloud_router_output', +] + +@pulumi.output_type +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, 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): + if accounts and not isinstance(accounts, list): + raise TypeError("Expected argument 'accounts' to be a list") + pulumi.set(__self__, "accounts", accounts) + if bgp_ipv4_routes_count and not isinstance(bgp_ipv4_routes_count, int): + raise TypeError("Expected argument 'bgp_ipv4_routes_count' to be a int") + pulumi.set(__self__, "bgp_ipv4_routes_count", bgp_ipv4_routes_count) + if bgp_ipv6_routes_count and not isinstance(bgp_ipv6_routes_count, int): + raise TypeError("Expected argument 'bgp_ipv6_routes_count' to be a int") + pulumi.set(__self__, "bgp_ipv6_routes_count", bgp_ipv6_routes_count) + if change_logs and not isinstance(change_logs, list): + raise TypeError("Expected argument 'change_logs' to be a list") + pulumi.set(__self__, "change_logs", change_logs) + if connections_count and not isinstance(connections_count, int): + raise TypeError("Expected argument 'connections_count' to be a int") + pulumi.set(__self__, "connections_count", connections_count) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if equinix_asn and not isinstance(equinix_asn, int): + raise TypeError("Expected argument 'equinix_asn' to be a int") + pulumi.set(__self__, "equinix_asn", equinix_asn) + 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 locations and not isinstance(locations, list): + raise TypeError("Expected argument 'locations' to be a list") + pulumi.set(__self__, "locations", locations) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if notifications and not isinstance(notifications, list): + raise TypeError("Expected argument 'notifications' to be a list") + pulumi.set(__self__, "notifications", notifications) + if orders and not isinstance(orders, list): + raise TypeError("Expected argument 'orders' to be a list") + pulumi.set(__self__, "orders", orders) + if packages and not isinstance(packages, list): + raise TypeError("Expected argument 'packages' to be a list") + pulumi.set(__self__, "packages", packages) + if projects and not isinstance(projects, list): + raise TypeError("Expected argument 'projects' to be a list") + pulumi.set(__self__, "projects", projects) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + 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 accounts(self) -> Sequence['outputs.GetCloudRouterAccountResult']: + """ + Customer account information that is associated with this Fabric Cloud Router + """ + return pulumi.get(self, "accounts") + + @property + @pulumi.getter(name="bgpIpv4RoutesCount") + def bgp_ipv4_routes_count(self) -> int: + return pulumi.get(self, "bgp_ipv4_routes_count") + + @property + @pulumi.getter(name="bgpIpv6RoutesCount") + def bgp_ipv6_routes_count(self) -> int: + return pulumi.get(self, "bgp_ipv6_routes_count") + + @property + @pulumi.getter(name="changeLogs") + def change_logs(self) -> Sequence['outputs.GetCloudRouterChangeLogResult']: + """ + Captures Fabric Cloud Router lifecycle change information + """ + return pulumi.get(self, "change_logs") + + @property + @pulumi.getter(name="connectionsCount") + def connections_count(self) -> int: + return pulumi.get(self, "connections_count") + + @property + @pulumi.getter + def description(self) -> str: + """ + Customer-provided Fabric Cloud Router description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="equinixAsn") + def equinix_asn(self) -> int: + """ + Equinix ASN + """ + return pulumi.get(self, "equinix_asn") + + @property + @pulumi.getter + def href(self) -> str: + """ + Fabric Cloud Router 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 + def locations(self) -> Sequence['outputs.GetCloudRouterLocationResult']: + """ + Fabric Cloud Router location + """ + return pulumi.get(self, "locations") + + @property + @pulumi.getter + def name(self) -> str: + """ + Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def notifications(self) -> Sequence['outputs.GetCloudRouterNotificationResult']: + """ + Preferences for notifications on Fabric Cloud Router configuration or status changes + """ + return pulumi.get(self, "notifications") + + @property + @pulumi.getter + def orders(self) -> Sequence['outputs.GetCloudRouterOrderResult']: + """ + Order information related to this Fabric Cloud Router + """ + return pulumi.get(self, "orders") + + @property + @pulumi.getter + def packages(self) -> Sequence['outputs.GetCloudRouterPackageResult']: + """ + Fabric Cloud Router package information + """ + return pulumi.get(self, "packages") + + @property + @pulumi.getter + def projects(self) -> Sequence['outputs.GetCloudRouterProjectResult']: + """ + Project information + """ + return pulumi.get(self, "projects") + + @property + @pulumi.getter + def state(self) -> str: + """ + Fabric Cloud Router overall state + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def type(self) -> str: + """ + Defines the Fabric Cloud Router type like XF_GATEWAY + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> Optional[str]: + """ + Equinix-assigned Fabric Cloud Router identifier + """ + return pulumi.get(self, "uuid") + + +class AwaitableGetCloudRouterResult(GetCloudRouterResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetCloudRouterResult( + accounts=self.accounts, + bgp_ipv4_routes_count=self.bgp_ipv4_routes_count, + bgp_ipv6_routes_count=self.bgp_ipv6_routes_count, + change_logs=self.change_logs, + connections_count=self.connections_count, + description=self.description, + equinix_asn=self.equinix_asn, + href=self.href, + id=self.id, + locations=self.locations, + name=self.name, + notifications=self.notifications, + orders=self.orders, + packages=self.packages, + projects=self.projects, + state=self.state, + type=self.type, + uuid=self.uuid) + + +def get_cloud_router(projects: Optional[Sequence[pulumi.InputType['GetCloudRouterProjectArgs']]] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCloudRouterResult: + """ + Use this data source to access information about an existing resource. + + :param Sequence[pulumi.InputType['GetCloudRouterProjectArgs']] projects: Project information + :param str uuid: Equinix-assigned Fabric Cloud Router identifier + """ + __args__ = dict() + __args__['projects'] = projects + __args__['uuid'] = uuid + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('equinix:fabric/getCloudRouter:getCloudRouter', __args__, opts=opts, typ=GetCloudRouterResult).value + + return AwaitableGetCloudRouterResult( + accounts=pulumi.get(__ret__, 'accounts'), + bgp_ipv4_routes_count=pulumi.get(__ret__, 'bgp_ipv4_routes_count'), + bgp_ipv6_routes_count=pulumi.get(__ret__, 'bgp_ipv6_routes_count'), + change_logs=pulumi.get(__ret__, 'change_logs'), + connections_count=pulumi.get(__ret__, 'connections_count'), + description=pulumi.get(__ret__, 'description'), + equinix_asn=pulumi.get(__ret__, 'equinix_asn'), + href=pulumi.get(__ret__, 'href'), + id=pulumi.get(__ret__, 'id'), + locations=pulumi.get(__ret__, 'locations'), + name=pulumi.get(__ret__, 'name'), + notifications=pulumi.get(__ret__, 'notifications'), + orders=pulumi.get(__ret__, 'orders'), + packages=pulumi.get(__ret__, 'packages'), + projects=pulumi.get(__ret__, 'projects'), + state=pulumi.get(__ret__, 'state'), + type=pulumi.get(__ret__, 'type'), + uuid=pulumi.get(__ret__, 'uuid')) + + +@_utilities.lift_output_func(get_cloud_router) +def get_cloud_router_output(projects: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetCloudRouterProjectArgs']]]]] = None, + uuid: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCloudRouterResult]: + """ + Use this data source to access information about an existing resource. + + :param Sequence[pulumi.InputType['GetCloudRouterProjectArgs']] projects: Project information + :param str uuid: Equinix-assigned Fabric Cloud Router identifier + """ + ... diff --git a/sdk/python/pulumi_equinix/fabric/get_connection.py b/sdk/python/pulumi_equinix/fabric/get_connection.py index 466ab103..71f0dd4c 100644 --- a/sdk/python/pulumi_equinix/fabric/get_connection.py +++ b/sdk/python/pulumi_equinix/fabric/get_connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -225,7 +225,7 @@ def state(self) -> str: @pulumi.getter def type(self) -> str: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, IP*VC, ACCESS*EPL_VC """ return pulumi.get(self, "type") @@ -281,7 +281,6 @@ def get_connection(project: Optional[pulumi.InputType['GetConnectionProjectArgs' Use this data source to access information about an existing resource. :param pulumi.InputType['GetConnectionProjectArgs'] project: Project information - :param str uuid: Equinix-assigned connection identifier """ __args__ = dict() __args__['project'] = project @@ -290,26 +289,26 @@ def get_connection(project: Optional[pulumi.InputType['GetConnectionProjectArgs' __ret__ = pulumi.runtime.invoke('equinix:fabric/getConnection:getConnection', __args__, opts=opts, typ=GetConnectionResult).value return AwaitableGetConnectionResult( - a_side=__ret__.a_side, - account=__ret__.account, - additional_info=__ret__.additional_info, - bandwidth=__ret__.bandwidth, - change_log=__ret__.change_log, - description=__ret__.description, - direction=__ret__.direction, - href=__ret__.href, - id=__ret__.id, - is_remote=__ret__.is_remote, - name=__ret__.name, - notifications=__ret__.notifications, - operation=__ret__.operation, - order=__ret__.order, - project=__ret__.project, - redundancy=__ret__.redundancy, - state=__ret__.state, - type=__ret__.type, - uuid=__ret__.uuid, - z_side=__ret__.z_side) + a_side=pulumi.get(__ret__, 'a_side'), + account=pulumi.get(__ret__, 'account'), + additional_info=pulumi.get(__ret__, 'additional_info'), + bandwidth=pulumi.get(__ret__, 'bandwidth'), + change_log=pulumi.get(__ret__, 'change_log'), + description=pulumi.get(__ret__, 'description'), + direction=pulumi.get(__ret__, 'direction'), + href=pulumi.get(__ret__, 'href'), + id=pulumi.get(__ret__, 'id'), + is_remote=pulumi.get(__ret__, 'is_remote'), + name=pulumi.get(__ret__, 'name'), + notifications=pulumi.get(__ret__, 'notifications'), + operation=pulumi.get(__ret__, 'operation'), + order=pulumi.get(__ret__, 'order'), + project=pulumi.get(__ret__, 'project'), + redundancy=pulumi.get(__ret__, 'redundancy'), + state=pulumi.get(__ret__, 'state'), + type=pulumi.get(__ret__, 'type'), + uuid=pulumi.get(__ret__, 'uuid'), + z_side=pulumi.get(__ret__, 'z_side')) @_utilities.lift_output_func(get_connection) @@ -320,6 +319,5 @@ def get_connection_output(project: Optional[pulumi.Input[Optional[pulumi.InputTy Use this data source to access information about an existing resource. :param pulumi.InputType['GetConnectionProjectArgs'] project: Project information - :param str uuid: Equinix-assigned connection identifier """ ... diff --git a/sdk/python/pulumi_equinix/fabric/get_port.py b/sdk/python/pulumi_equinix/fabric/get_port.py index 3afb51f8..ea3e8167 100644 --- a/sdk/python/pulumi_equinix/fabric/get_port.py +++ b/sdk/python/pulumi_equinix/fabric/get_port.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -22,7 +22,7 @@ class GetPortResult: """ A collection of values returned by getPort. """ - def __init__(__self__, account=None, available_bandwidth=None, bandwidth=None, change_log=None, description=None, device=None, encapsulation=None, href=None, id=None, lag=None, location=None, name=None, operation=None, redundancy=None, service_type=None, state=None, type=None, used_bandwidth=None, uuid=None): + def __init__(__self__, account=None, available_bandwidth=None, bandwidth=None, change_log=None, description=None, device=None, encapsulation=None, href=None, id=None, lag_enabled=None, location=None, name=None, operation=None, redundancy=None, service_type=None, state=None, type=None, used_bandwidth=None, uuid=None): if account and not isinstance(account, dict): raise TypeError("Expected argument 'account' to be a dict") pulumi.set(__self__, "account", account) @@ -50,9 +50,9 @@ def __init__(__self__, account=None, available_bandwidth=None, bandwidth=None, c if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) - if lag and not isinstance(lag, dict): - raise TypeError("Expected argument 'lag' to be a dict") - pulumi.set(__self__, "lag", lag) + if lag_enabled and not isinstance(lag_enabled, bool): + raise TypeError("Expected argument 'lag_enabled' to be a bool") + pulumi.set(__self__, "lag_enabled", lag_enabled) if location and not isinstance(location, dict): raise TypeError("Expected argument 'location' to be a dict") pulumi.set(__self__, "location", location) @@ -154,12 +154,9 @@ def id(self) -> str: return pulumi.get(self, "id") @property - @pulumi.getter - def lag(self) -> 'outputs.GetPortLagResult': - """ - Port Lag - """ - return pulumi.get(self, "lag") + @pulumi.getter(name="lagEnabled") + def lag_enabled(self) -> bool: + return pulumi.get(self, "lag_enabled") @property @pulumi.getter @@ -249,7 +246,7 @@ def __await__(self): encapsulation=self.encapsulation, href=self.href, id=self.id, - lag=self.lag, + lag_enabled=self.lag_enabled, location=self.location, name=self.name, operation=self.operation, @@ -274,25 +271,25 @@ def get_port(uuid: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:fabric/getPort:getPort', __args__, opts=opts, typ=GetPortResult).value return AwaitableGetPortResult( - account=__ret__.account, - available_bandwidth=__ret__.available_bandwidth, - bandwidth=__ret__.bandwidth, - change_log=__ret__.change_log, - description=__ret__.description, - device=__ret__.device, - encapsulation=__ret__.encapsulation, - href=__ret__.href, - id=__ret__.id, - lag=__ret__.lag, - location=__ret__.location, - name=__ret__.name, - operation=__ret__.operation, - redundancy=__ret__.redundancy, - service_type=__ret__.service_type, - state=__ret__.state, - type=__ret__.type, - used_bandwidth=__ret__.used_bandwidth, - uuid=__ret__.uuid) + account=pulumi.get(__ret__, 'account'), + available_bandwidth=pulumi.get(__ret__, 'available_bandwidth'), + bandwidth=pulumi.get(__ret__, 'bandwidth'), + change_log=pulumi.get(__ret__, 'change_log'), + description=pulumi.get(__ret__, 'description'), + device=pulumi.get(__ret__, 'device'), + encapsulation=pulumi.get(__ret__, 'encapsulation'), + href=pulumi.get(__ret__, 'href'), + id=pulumi.get(__ret__, 'id'), + lag_enabled=pulumi.get(__ret__, 'lag_enabled'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + operation=pulumi.get(__ret__, 'operation'), + redundancy=pulumi.get(__ret__, 'redundancy'), + service_type=pulumi.get(__ret__, 'service_type'), + state=pulumi.get(__ret__, 'state'), + type=pulumi.get(__ret__, 'type'), + used_bandwidth=pulumi.get(__ret__, 'used_bandwidth'), + uuid=pulumi.get(__ret__, 'uuid')) @_utilities.lift_output_func(get_port) diff --git a/sdk/python/pulumi_equinix/fabric/get_ports.py b/sdk/python/pulumi_equinix/fabric/get_ports.py index a89e9a1d..8a84d151 100644 --- a/sdk/python/pulumi_equinix/fabric/get_ports.py +++ b/sdk/python/pulumi_equinix/fabric/get_ports.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -83,9 +83,9 @@ def get_ports(filter: Optional[pulumi.InputType['GetPortsFilterArgs']] = None, __ret__ = pulumi.runtime.invoke('equinix:fabric/getPorts:getPorts', __args__, opts=opts, typ=GetPortsResult).value return AwaitableGetPortsResult( - data=__ret__.data, - filter=__ret__.filter, - id=__ret__.id) + data=pulumi.get(__ret__, 'data'), + filter=pulumi.get(__ret__, 'filter'), + id=pulumi.get(__ret__, 'id')) @_utilities.lift_output_func(get_ports) diff --git a/sdk/python/pulumi_equinix/fabric/get_routing_protocol.py b/sdk/python/pulumi_equinix/fabric/get_routing_protocol.py new file mode 100644 index 00000000..1a1a67b9 --- /dev/null +++ b/sdk/python/pulumi_equinix/fabric/get_routing_protocol.py @@ -0,0 +1,358 @@ +# 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, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetRoutingProtocolResult', + 'AwaitableGetRoutingProtocolResult', + 'get_routing_protocol', + 'get_routing_protocol_output', +] + +@pulumi.output_type +class GetRoutingProtocolResult: + """ + A collection of values returned by getRoutingProtocol. + """ + def __init__(__self__, bfd=None, bgp_auth_key=None, bgp_ipv4=None, bgp_ipv6=None, change_logs=None, changes=None, connection_uuid=None, customer_asn=None, description=None, direct_ipv4=None, direct_ipv6=None, equinix_asn=None, href=None, id=None, name=None, operations=None, state=None, type=None, uuid=None): + if bfd and not isinstance(bfd, dict): + raise TypeError("Expected argument 'bfd' to be a dict") + pulumi.set(__self__, "bfd", bfd) + if bgp_auth_key and not isinstance(bgp_auth_key, str): + raise TypeError("Expected argument 'bgp_auth_key' to be a str") + pulumi.set(__self__, "bgp_auth_key", bgp_auth_key) + if bgp_ipv4 and not isinstance(bgp_ipv4, dict): + raise TypeError("Expected argument 'bgp_ipv4' to be a dict") + pulumi.set(__self__, "bgp_ipv4", bgp_ipv4) + if bgp_ipv6 and not isinstance(bgp_ipv6, dict): + raise TypeError("Expected argument 'bgp_ipv6' to be a dict") + pulumi.set(__self__, "bgp_ipv6", bgp_ipv6) + if change_logs and not isinstance(change_logs, list): + raise TypeError("Expected argument 'change_logs' to be a list") + pulumi.set(__self__, "change_logs", change_logs) + if changes and not isinstance(changes, list): + raise TypeError("Expected argument 'changes' to be a list") + pulumi.set(__self__, "changes", changes) + if connection_uuid and not isinstance(connection_uuid, str): + raise TypeError("Expected argument 'connection_uuid' to be a str") + pulumi.set(__self__, "connection_uuid", connection_uuid) + if customer_asn and not isinstance(customer_asn, int): + raise TypeError("Expected argument 'customer_asn' to be a int") + pulumi.set(__self__, "customer_asn", customer_asn) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if direct_ipv4 and not isinstance(direct_ipv4, dict): + raise TypeError("Expected argument 'direct_ipv4' to be a dict") + pulumi.set(__self__, "direct_ipv4", direct_ipv4) + if direct_ipv6 and not isinstance(direct_ipv6, dict): + raise TypeError("Expected argument 'direct_ipv6' to be a dict") + pulumi.set(__self__, "direct_ipv6", direct_ipv6) + if equinix_asn and not isinstance(equinix_asn, int): + raise TypeError("Expected argument 'equinix_asn' to be a int") + pulumi.set(__self__, "equinix_asn", equinix_asn) + 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 name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if operations and not isinstance(operations, list): + raise TypeError("Expected argument 'operations' to be a list") + pulumi.set(__self__, "operations", operations) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + 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 bfd(self) -> Optional['outputs.GetRoutingProtocolBfdResult']: + """ + Bidirectional Forwarding Detection + """ + return pulumi.get(self, "bfd") + + @property + @pulumi.getter(name="bgpAuthKey") + def bgp_auth_key(self) -> Optional[str]: + """ + BGP authorization key + """ + return pulumi.get(self, "bgp_auth_key") + + @property + @pulumi.getter(name="bgpIpv4") + def bgp_ipv4(self) -> Optional['outputs.GetRoutingProtocolBgpIpv4Result']: + """ + Routing Protocol BGP IPv4 + """ + return pulumi.get(self, "bgp_ipv4") + + @property + @pulumi.getter(name="bgpIpv6") + def bgp_ipv6(self) -> Optional['outputs.GetRoutingProtocolBgpIpv6Result']: + """ + Routing Protocol BGP IPv6 + """ + return pulumi.get(self, "bgp_ipv6") + + @property + @pulumi.getter(name="changeLogs") + def change_logs(self) -> Sequence['outputs.GetRoutingProtocolChangeLogResult']: + """ + Captures Routing Protocol lifecycle change information + """ + return pulumi.get(self, "change_logs") + + @property + @pulumi.getter + def changes(self) -> Sequence['outputs.GetRoutingProtocolChangeResult']: + """ + Routing Protocol configuration Changes + """ + return pulumi.get(self, "changes") + + @property + @pulumi.getter(name="connectionUuid") + def connection_uuid(self) -> str: + """ + Connection URI associated with Routing Protocol + """ + return pulumi.get(self, "connection_uuid") + + @property + @pulumi.getter(name="customerAsn") + def customer_asn(self) -> Optional[int]: + """ + Customer-provided ASN + """ + return pulumi.get(self, "customer_asn") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Customer-provided Fabric Routing Protocol description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="directIpv4") + def direct_ipv4(self) -> Optional['outputs.GetRoutingProtocolDirectIpv4Result']: + """ + Routing Protocol Direct IPv4 + """ + return pulumi.get(self, "direct_ipv4") + + @property + @pulumi.getter(name="directIpv6") + def direct_ipv6(self) -> Optional['outputs.GetRoutingProtocolDirectIpv6Result']: + """ + Routing Protocol Direct IPv6 + """ + return pulumi.get(self, "direct_ipv6") + + @property + @pulumi.getter(name="equinixAsn") + def equinix_asn(self) -> int: + """ + Equinix ASN + """ + return pulumi.get(self, "equinix_asn") + + @property + @pulumi.getter + def href(self) -> str: + """ + Routing Protocol 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 + def name(self) -> Optional[str]: + """ + Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def operations(self) -> Sequence['outputs.GetRoutingProtocolOperationResult']: + """ + Routing Protocol type-specific operational data + """ + return pulumi.get(self, "operations") + + @property + @pulumi.getter + def state(self) -> str: + """ + Routing Protocol overall state + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + Defines the routing protocol type like BGP or DIRECT + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Equinix-assigned routing protocol identifier + """ + return pulumi.get(self, "uuid") + + +class AwaitableGetRoutingProtocolResult(GetRoutingProtocolResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetRoutingProtocolResult( + bfd=self.bfd, + bgp_auth_key=self.bgp_auth_key, + bgp_ipv4=self.bgp_ipv4, + bgp_ipv6=self.bgp_ipv6, + change_logs=self.change_logs, + changes=self.changes, + connection_uuid=self.connection_uuid, + customer_asn=self.customer_asn, + description=self.description, + direct_ipv4=self.direct_ipv4, + direct_ipv6=self.direct_ipv6, + equinix_asn=self.equinix_asn, + href=self.href, + id=self.id, + name=self.name, + operations=self.operations, + state=self.state, + type=self.type, + uuid=self.uuid) + + +def get_routing_protocol(bfd: Optional[pulumi.InputType['GetRoutingProtocolBfdArgs']] = None, + bgp_auth_key: Optional[str] = None, + bgp_ipv4: Optional[pulumi.InputType['GetRoutingProtocolBgpIpv4Args']] = None, + bgp_ipv6: Optional[pulumi.InputType['GetRoutingProtocolBgpIpv6Args']] = None, + connection_uuid: Optional[str] = None, + customer_asn: Optional[int] = None, + description: Optional[str] = None, + direct_ipv4: Optional[pulumi.InputType['GetRoutingProtocolDirectIpv4Args']] = None, + direct_ipv6: Optional[pulumi.InputType['GetRoutingProtocolDirectIpv6Args']] = None, + name: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRoutingProtocolResult: + """ + Use this data source to access information about an existing resource. + + :param pulumi.InputType['GetRoutingProtocolBfdArgs'] bfd: Bidirectional Forwarding Detection + :param str bgp_auth_key: BGP authorization key + :param pulumi.InputType['GetRoutingProtocolBgpIpv4Args'] bgp_ipv4: Routing Protocol BGP IPv4 + :param pulumi.InputType['GetRoutingProtocolBgpIpv6Args'] bgp_ipv6: Routing Protocol BGP IPv6 + :param str connection_uuid: Connection URI associated with Routing Protocol + :param int customer_asn: Customer-provided ASN + :param str description: Customer-provided Fabric Routing Protocol description + :param pulumi.InputType['GetRoutingProtocolDirectIpv4Args'] direct_ipv4: Routing Protocol Direct IPv4 + :param pulumi.InputType['GetRoutingProtocolDirectIpv6Args'] direct_ipv6: Routing Protocol Direct IPv6 + :param str name: Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + """ + __args__ = dict() + __args__['bfd'] = bfd + __args__['bgpAuthKey'] = bgp_auth_key + __args__['bgpIpv4'] = bgp_ipv4 + __args__['bgpIpv6'] = bgp_ipv6 + __args__['connectionUuid'] = connection_uuid + __args__['customerAsn'] = customer_asn + __args__['description'] = description + __args__['directIpv4'] = direct_ipv4 + __args__['directIpv6'] = direct_ipv6 + __args__['name'] = name + __args__['type'] = type + __args__['uuid'] = uuid + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('equinix:fabric/getRoutingProtocol:getRoutingProtocol', __args__, opts=opts, typ=GetRoutingProtocolResult).value + + return AwaitableGetRoutingProtocolResult( + bfd=pulumi.get(__ret__, 'bfd'), + bgp_auth_key=pulumi.get(__ret__, 'bgp_auth_key'), + bgp_ipv4=pulumi.get(__ret__, 'bgp_ipv4'), + bgp_ipv6=pulumi.get(__ret__, 'bgp_ipv6'), + change_logs=pulumi.get(__ret__, 'change_logs'), + changes=pulumi.get(__ret__, 'changes'), + connection_uuid=pulumi.get(__ret__, 'connection_uuid'), + customer_asn=pulumi.get(__ret__, 'customer_asn'), + description=pulumi.get(__ret__, 'description'), + direct_ipv4=pulumi.get(__ret__, 'direct_ipv4'), + direct_ipv6=pulumi.get(__ret__, 'direct_ipv6'), + equinix_asn=pulumi.get(__ret__, 'equinix_asn'), + href=pulumi.get(__ret__, 'href'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + operations=pulumi.get(__ret__, 'operations'), + state=pulumi.get(__ret__, 'state'), + type=pulumi.get(__ret__, 'type'), + uuid=pulumi.get(__ret__, 'uuid')) + + +@_utilities.lift_output_func(get_routing_protocol) +def get_routing_protocol_output(bfd: Optional[pulumi.Input[Optional[pulumi.InputType['GetRoutingProtocolBfdArgs']]]] = None, + bgp_auth_key: Optional[pulumi.Input[Optional[str]]] = None, + bgp_ipv4: Optional[pulumi.Input[Optional[pulumi.InputType['GetRoutingProtocolBgpIpv4Args']]]] = None, + bgp_ipv6: Optional[pulumi.Input[Optional[pulumi.InputType['GetRoutingProtocolBgpIpv6Args']]]] = None, + connection_uuid: Optional[pulumi.Input[str]] = None, + customer_asn: Optional[pulumi.Input[Optional[int]]] = None, + description: Optional[pulumi.Input[Optional[str]]] = None, + direct_ipv4: Optional[pulumi.Input[Optional[pulumi.InputType['GetRoutingProtocolDirectIpv4Args']]]] = None, + direct_ipv6: Optional[pulumi.Input[Optional[pulumi.InputType['GetRoutingProtocolDirectIpv6Args']]]] = None, + name: Optional[pulumi.Input[Optional[str]]] = None, + type: Optional[pulumi.Input[Optional[str]]] = None, + uuid: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoutingProtocolResult]: + """ + Use this data source to access information about an existing resource. + + :param pulumi.InputType['GetRoutingProtocolBfdArgs'] bfd: Bidirectional Forwarding Detection + :param str bgp_auth_key: BGP authorization key + :param pulumi.InputType['GetRoutingProtocolBgpIpv4Args'] bgp_ipv4: Routing Protocol BGP IPv4 + :param pulumi.InputType['GetRoutingProtocolBgpIpv6Args'] bgp_ipv6: Routing Protocol BGP IPv6 + :param str connection_uuid: Connection URI associated with Routing Protocol + :param int customer_asn: Customer-provided ASN + :param str description: Customer-provided Fabric Routing Protocol description + :param pulumi.InputType['GetRoutingProtocolDirectIpv4Args'] direct_ipv4: Routing Protocol Direct IPv4 + :param pulumi.InputType['GetRoutingProtocolDirectIpv6Args'] direct_ipv6: Routing Protocol Direct IPv6 + :param str name: Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + """ + ... diff --git a/sdk/python/pulumi_equinix/fabric/get_service_profile.py b/sdk/python/pulumi_equinix/fabric/get_service_profile.py index d2ef0c14..038aece9 100644 --- a/sdk/python/pulumi_equinix/fabric/get_service_profile.py +++ b/sdk/python/pulumi_equinix/fabric/get_service_profile.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -283,7 +283,6 @@ def get_service_profile(state: Optional[str] = None, :param str state: Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED - :param str uuid: Equinix assigned service profile identifier """ __args__ = dict() __args__['state'] = state @@ -292,26 +291,26 @@ def get_service_profile(state: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:fabric/getServiceProfile:getServiceProfile', __args__, opts=opts, typ=GetServiceProfileResult).value return AwaitableGetServiceProfileResult( - access_point_type_configs=__ret__.access_point_type_configs, - account=__ret__.account, - allowed_emails=__ret__.allowed_emails, - change_log=__ret__.change_log, - custom_fields=__ret__.custom_fields, - description=__ret__.description, - href=__ret__.href, - id=__ret__.id, - marketing_info=__ret__.marketing_info, - metros=__ret__.metros, - name=__ret__.name, - notifications=__ret__.notifications, - ports=__ret__.ports, - project=__ret__.project, - self_profile=__ret__.self_profile, - state=__ret__.state, - tags=__ret__.tags, - type=__ret__.type, - uuid=__ret__.uuid, - visibility=__ret__.visibility) + access_point_type_configs=pulumi.get(__ret__, 'access_point_type_configs'), + account=pulumi.get(__ret__, 'account'), + allowed_emails=pulumi.get(__ret__, 'allowed_emails'), + change_log=pulumi.get(__ret__, 'change_log'), + custom_fields=pulumi.get(__ret__, 'custom_fields'), + description=pulumi.get(__ret__, 'description'), + href=pulumi.get(__ret__, 'href'), + id=pulumi.get(__ret__, 'id'), + marketing_info=pulumi.get(__ret__, 'marketing_info'), + metros=pulumi.get(__ret__, 'metros'), + name=pulumi.get(__ret__, 'name'), + notifications=pulumi.get(__ret__, 'notifications'), + ports=pulumi.get(__ret__, 'ports'), + project=pulumi.get(__ret__, 'project'), + self_profile=pulumi.get(__ret__, 'self_profile'), + state=pulumi.get(__ret__, 'state'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + uuid=pulumi.get(__ret__, 'uuid'), + visibility=pulumi.get(__ret__, 'visibility')) @_utilities.lift_output_func(get_service_profile) @@ -325,6 +324,5 @@ def get_service_profile_output(state: Optional[pulumi.Input[Optional[str]]] = No :param str state: Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED - :param str uuid: Equinix assigned service profile identifier """ ... diff --git a/sdk/python/pulumi_equinix/fabric/get_service_profiles.py b/sdk/python/pulumi_equinix/fabric/get_service_profiles.py index 5d882dab..06ef7d36 100644 --- a/sdk/python/pulumi_equinix/fabric/get_service_profiles.py +++ b/sdk/python/pulumi_equinix/fabric/get_service_profiles.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -23,7 +23,7 @@ class GetServiceProfilesResult: """ A collection of values returned by getServiceProfiles. """ - def __init__(__self__, data=None, filter=None, id=None, sort=None): + def __init__(__self__, data=None, filter=None, id=None, sort=None, view_point=None): if data and not isinstance(data, list): raise TypeError("Expected argument 'data' to be a list") pulumi.set(__self__, "data", data) @@ -36,6 +36,9 @@ def __init__(__self__, data=None, filter=None, id=None, sort=None): if sort and not isinstance(sort, list): raise TypeError("Expected argument 'sort' to be a list") pulumi.set(__self__, "sort", sort) + if view_point and not isinstance(view_point, str): + raise TypeError("Expected argument 'view_point' to be a str") + pulumi.set(__self__, "view_point", view_point) @property @pulumi.getter @@ -69,6 +72,14 @@ def sort(self) -> Optional[Sequence['outputs.GetServiceProfilesSortResult']]: """ return pulumi.get(self, "sort") + @property + @pulumi.getter(name="viewPoint") + def view_point(self) -> Optional[str]: + """ + Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. + """ + return pulumi.get(self, "view_point") + class AwaitableGetServiceProfilesResult(GetServiceProfilesResult): # pylint: disable=using-constant-test @@ -79,39 +90,46 @@ def __await__(self): data=self.data, filter=self.filter, id=self.id, - sort=self.sort) + sort=self.sort, + view_point=self.view_point) def get_service_profiles(filter: Optional[pulumi.InputType['GetServiceProfilesFilterArgs']] = None, sort: Optional[Sequence[pulumi.InputType['GetServiceProfilesSortArgs']]] = None, + view_point: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceProfilesResult: """ Use this data source to access information about an existing resource. :param pulumi.InputType['GetServiceProfilesFilterArgs'] filter: Service Profile Search Filter :param Sequence[pulumi.InputType['GetServiceProfilesSortArgs']] sort: Service Profile Sort criteria for Search Request response payload + :param str view_point: Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. """ __args__ = dict() __args__['filter'] = filter __args__['sort'] = sort + __args__['viewPoint'] = view_point opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('equinix:fabric/getServiceProfiles:getServiceProfiles', __args__, opts=opts, typ=GetServiceProfilesResult).value return AwaitableGetServiceProfilesResult( - data=__ret__.data, - filter=__ret__.filter, - id=__ret__.id, - sort=__ret__.sort) + data=pulumi.get(__ret__, 'data'), + filter=pulumi.get(__ret__, 'filter'), + id=pulumi.get(__ret__, 'id'), + sort=pulumi.get(__ret__, 'sort'), + view_point=pulumi.get(__ret__, 'view_point')) @_utilities.lift_output_func(get_service_profiles) def get_service_profiles_output(filter: Optional[pulumi.Input[Optional[pulumi.InputType['GetServiceProfilesFilterArgs']]]] = None, sort: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetServiceProfilesSortArgs']]]]] = None, + view_point: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceProfilesResult]: """ Use this data source to access information about an existing resource. :param pulumi.InputType['GetServiceProfilesFilterArgs'] filter: Service Profile Search Filter :param Sequence[pulumi.InputType['GetServiceProfilesSortArgs']] sort: Service Profile Sort criteria for Search Request response payload + :param str view_point: Service Profile Search Buyer/Seller Representation. Possible values are aSide and zSide. """ ... diff --git a/sdk/python/pulumi_equinix/fabric/outputs.py b/sdk/python/pulumi_equinix/fabric/outputs.py index 9c7bf52c..fa997f97 100644 --- a/sdk/python/pulumi_equinix/fabric/outputs.py +++ b/sdk/python/pulumi_equinix/fabric/outputs.py @@ -6,13 +6,20 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from .. import _enums as _root_enums from ._enums import * __all__ = [ + 'CloudRouterAccount', + 'CloudRouterChangeLog', + 'CloudRouterLocation', + 'CloudRouterNotification', + 'CloudRouterOrder', + 'CloudRouterPackage', + 'CloudRouterProject', 'ConnectionASide', 'ConnectionASideAccessPoint', 'ConnectionASideAccessPointAccount', @@ -20,16 +27,17 @@ 'ConnectionASideAccessPointInterface', 'ConnectionASideAccessPointLinkProtocol', 'ConnectionASideAccessPointLocation', + 'ConnectionASideAccessPointNetwork', 'ConnectionASideAccessPointPort', 'ConnectionASideAccessPointPortRedundancy', 'ConnectionASideAccessPointProfile', 'ConnectionASideAccessPointProfileAccessPointTypeConfig', + 'ConnectionASideAccessPointRouter', 'ConnectionASideAccessPointRoutingProtocol', 'ConnectionASideAccessPointVirtualDevice', 'ConnectionASideAdditionalInfo', 'ConnectionASideServiceToken', 'ConnectionAccount', - 'ConnectionAdditionalInfo', 'ConnectionChangeLog', 'ConnectionNotification', 'ConnectionOperation', @@ -45,14 +53,26 @@ 'ConnectionZSideAccessPointInterface', 'ConnectionZSideAccessPointLinkProtocol', 'ConnectionZSideAccessPointLocation', + 'ConnectionZSideAccessPointNetwork', 'ConnectionZSideAccessPointPort', 'ConnectionZSideAccessPointPortRedundancy', 'ConnectionZSideAccessPointProfile', 'ConnectionZSideAccessPointProfileAccessPointTypeConfig', + 'ConnectionZSideAccessPointRouter', 'ConnectionZSideAccessPointRoutingProtocol', 'ConnectionZSideAccessPointVirtualDevice', 'ConnectionZSideAdditionalInfo', 'ConnectionZSideServiceToken', + 'RoutingProtocolBfd', + 'RoutingProtocolBgpIpv4', + 'RoutingProtocolBgpIpv6', + 'RoutingProtocolChange', + 'RoutingProtocolChangeLog', + 'RoutingProtocolDirectIpv4', + 'RoutingProtocolDirectIpv6', + 'RoutingProtocolOperation', + 'RoutingProtocolOperationError', + 'RoutingProtocolOperationErrorAdditionalInfo', 'ServiceProfileAccessPointTypeConfig', 'ServiceProfileAccessPointTypeConfigApiConfig', 'ServiceProfileAccessPointTypeConfigAuthenticationKey', @@ -69,6 +89,13 @@ 'ServiceProfileProject', 'ServiceProfileVirtualDevice', 'ServiceProfileVirtualDeviceLocation', + 'GetCloudRouterAccountResult', + 'GetCloudRouterChangeLogResult', + 'GetCloudRouterLocationResult', + 'GetCloudRouterNotificationResult', + 'GetCloudRouterOrderResult', + 'GetCloudRouterPackageResult', + 'GetCloudRouterProjectResult', 'GetConnectionASideResult', 'GetConnectionASideAccessPointResult', 'GetConnectionASideAccessPointAccountResult', @@ -83,6 +110,7 @@ 'GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigResult', 'GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult', 'GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult', + 'GetConnectionASideAccessPointRouterResult', 'GetConnectionASideAccessPointVirtualDeviceResult', 'GetConnectionASideServiceTokenResult', 'GetConnectionAccountResult', @@ -109,6 +137,7 @@ 'GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigResult', 'GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult', 'GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult', + 'GetConnectionZSideAccessPointRouterResult', 'GetConnectionZSideAccessPointVirtualDeviceResult', 'GetConnectionZSideServiceTokenResult', 'GetPortAccountResult', @@ -116,7 +145,6 @@ 'GetPortDeviceResult', 'GetPortDeviceRedundancyResult', 'GetPortEncapsulationResult', - 'GetPortLagResult', 'GetPortLocationResult', 'GetPortOperationResult', 'GetPortRedundancyResult', @@ -126,11 +154,20 @@ 'GetPortsDatumDeviceResult', 'GetPortsDatumDeviceRedundancyResult', 'GetPortsDatumEncapsulationResult', - 'GetPortsDatumLagResult', 'GetPortsDatumLocationResult', 'GetPortsDatumOperationResult', 'GetPortsDatumRedundancyResult', 'GetPortsFilterResult', + 'GetRoutingProtocolBfdResult', + 'GetRoutingProtocolBgpIpv4Result', + 'GetRoutingProtocolBgpIpv6Result', + 'GetRoutingProtocolChangeResult', + 'GetRoutingProtocolChangeLogResult', + 'GetRoutingProtocolDirectIpv4Result', + 'GetRoutingProtocolDirectIpv6Result', + 'GetRoutingProtocolOperationResult', + 'GetRoutingProtocolOperationErrorResult', + 'GetRoutingProtocolOperationErrorAdditionalInfoResult', 'GetServiceProfileAccessPointTypeConfigResult', 'GetServiceProfileAccessPointTypeConfigApiConfigResult', 'GetServiceProfileAccessPointTypeConfigAuthenticationKeyResult', @@ -165,838 +202,981 @@ ] @pulumi.output_type -class ConnectionASide(dict): +class CloudRouterAccount(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "accessPoint": - suggest = "access_point" - elif key == "additionalInfo": - suggest = "additional_info" - elif key == "serviceToken": - suggest = "service_token" + if key == "accountNumber": + suggest = "account_number" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionASide. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in CloudRouterAccount. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionASide.__key_warning(key) + CloudRouterAccount.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionASide.__key_warning(key) + CloudRouterAccount.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - access_point: Optional['outputs.ConnectionASideAccessPoint'] = None, - additional_info: Optional[Sequence['outputs.ConnectionASideAdditionalInfo']] = None, - service_token: Optional['outputs.ConnectionASideServiceToken'] = None): - """ - :param 'ConnectionASideAccessPointArgs' access_point: Point of access details - :param Sequence['ConnectionASideAdditionalInfoArgs'] additional_info: Connection side additional information - :param 'ConnectionASideServiceTokenArgs' service_token: For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets - """ - if access_point is not None: - pulumi.set(__self__, "access_point", access_point) - if additional_info is not None: - pulumi.set(__self__, "additional_info", additional_info) - if service_token is not None: - pulumi.set(__self__, "service_token", service_token) - - @property - @pulumi.getter(name="accessPoint") - def access_point(self) -> Optional['outputs.ConnectionASideAccessPoint']: + account_number: Optional[int] = None): """ - Point of access details + :param int account_number: Account Number """ - return pulumi.get(self, "access_point") + CloudRouterAccount._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_number=account_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_number: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] - @property - @pulumi.getter(name="additionalInfo") - def additional_info(self) -> Optional[Sequence['outputs.ConnectionASideAdditionalInfo']]: - """ - Connection side additional information - """ - return pulumi.get(self, "additional_info") + if account_number is not None: + _setter("account_number", account_number) @property - @pulumi.getter(name="serviceToken") - def service_token(self) -> Optional['outputs.ConnectionASideServiceToken']: + @pulumi.getter(name="accountNumber") + def account_number(self) -> Optional[int]: """ - For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets + Account Number """ - return pulumi.get(self, "service_token") + return pulumi.get(self, "account_number") @pulumi.output_type -class ConnectionASideAccessPoint(dict): +class CloudRouterChangeLog(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "authenticationKey": - suggest = "authentication_key" - elif key == "linkProtocol": - suggest = "link_protocol" - elif key == "peeringType": - suggest = "peering_type" - elif key == "providerConnectionId": - suggest = "provider_connection_id" - elif key == "routingProtocols": - suggest = "routing_protocols" - elif key == "sellerRegion": - suggest = "seller_region" - elif key == "virtualDevice": - suggest = "virtual_device" + if key == "createdBy": + suggest = "created_by" + elif key == "createdByEmail": + suggest = "created_by_email" + elif key == "createdByFullName": + suggest = "created_by_full_name" + elif key == "createdDateTime": + suggest = "created_date_time" + elif key == "deletedBy": + suggest = "deleted_by" + elif key == "deletedByEmail": + suggest = "deleted_by_email" + elif key == "deletedByFullName": + suggest = "deleted_by_full_name" + elif key == "deletedDateTime": + suggest = "deleted_date_time" + elif key == "updatedBy": + suggest = "updated_by" + elif key == "updatedByEmail": + suggest = "updated_by_email" + elif key == "updatedByFullName": + suggest = "updated_by_full_name" + elif key == "updatedDateTime": + suggest = "updated_date_time" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionASideAccessPoint. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in CloudRouterChangeLog. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionASideAccessPoint.__key_warning(key) + CloudRouterChangeLog.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionASideAccessPoint.__key_warning(key) + CloudRouterChangeLog.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - account: Optional['outputs.ConnectionASideAccessPointAccount'] = None, - authentication_key: Optional[str] = None, - gateway: Optional['outputs.ConnectionASideAccessPointGateway'] = None, - interface: Optional['outputs.ConnectionASideAccessPointInterface'] = None, - link_protocol: Optional['outputs.ConnectionASideAccessPointLinkProtocol'] = None, - location: Optional['outputs.ConnectionASideAccessPointLocation'] = None, - peering_type: Optional[str] = None, - port: Optional['outputs.ConnectionASideAccessPointPort'] = None, - profile: Optional['outputs.ConnectionASideAccessPointProfile'] = None, - provider_connection_id: Optional[str] = None, - routing_protocols: Optional[Sequence['outputs.ConnectionASideAccessPointRoutingProtocol']] = None, - seller_region: Optional[str] = None, - type: Optional[str] = None, - virtual_device: Optional['outputs.ConnectionASideAccessPointVirtualDevice'] = None): - """ - :param 'ConnectionASideAccessPointAccountArgs' account: Customer account information that is associated with this connection - :param Union[str, 'AccessPointType'] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - if account is not None: - pulumi.set(__self__, "account", account) - if authentication_key is not None: - pulumi.set(__self__, "authentication_key", authentication_key) - if gateway is not None: - pulumi.set(__self__, "gateway", gateway) - if interface is not None: - pulumi.set(__self__, "interface", interface) - if link_protocol is not None: - pulumi.set(__self__, "link_protocol", link_protocol) - if location is not None: - pulumi.set(__self__, "location", location) - if peering_type is not None: - pulumi.set(__self__, "peering_type", peering_type) - if port is not None: - pulumi.set(__self__, "port", port) - if profile is not None: - pulumi.set(__self__, "profile", profile) - if provider_connection_id is not None: - pulumi.set(__self__, "provider_connection_id", provider_connection_id) - if routing_protocols is not None: - pulumi.set(__self__, "routing_protocols", routing_protocols) - if seller_region is not None: - pulumi.set(__self__, "seller_region", seller_region) - if type is not None: - pulumi.set(__self__, "type", type) - if virtual_device is not None: - pulumi.set(__self__, "virtual_device", virtual_device) - - @property - @pulumi.getter - def account(self) -> Optional['outputs.ConnectionASideAccessPointAccount']: - """ - Customer account information that is associated with this connection - """ - return pulumi.get(self, "account") + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None): + CloudRouterChangeLog._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] - @property - @pulumi.getter(name="authenticationKey") - def authentication_key(self) -> Optional[str]: - return pulumi.get(self, "authentication_key") + if created_by is not None: + _setter("created_by", created_by) + if created_by_email is not None: + _setter("created_by_email", created_by_email) + if created_by_full_name is not None: + _setter("created_by_full_name", created_by_full_name) + if created_date_time is not None: + _setter("created_date_time", created_date_time) + if deleted_by is not None: + _setter("deleted_by", deleted_by) + if deleted_by_email is not None: + _setter("deleted_by_email", deleted_by_email) + if deleted_by_full_name is not None: + _setter("deleted_by_full_name", deleted_by_full_name) + if deleted_date_time is not None: + _setter("deleted_date_time", deleted_date_time) + if updated_by is not None: + _setter("updated_by", updated_by) + if updated_by_email is not None: + _setter("updated_by_email", updated_by_email) + if updated_by_full_name is not None: + _setter("updated_by_full_name", updated_by_full_name) + if updated_date_time is not None: + _setter("updated_date_time", updated_date_time) @property - @pulumi.getter - def gateway(self) -> Optional['outputs.ConnectionASideAccessPointGateway']: - return pulumi.get(self, "gateway") + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + return pulumi.get(self, "created_by") @property - @pulumi.getter - def interface(self) -> Optional['outputs.ConnectionASideAccessPointInterface']: - return pulumi.get(self, "interface") + @pulumi.getter(name="createdByEmail") + def created_by_email(self) -> Optional[str]: + return pulumi.get(self, "created_by_email") @property - @pulumi.getter(name="linkProtocol") - def link_protocol(self) -> Optional['outputs.ConnectionASideAccessPointLinkProtocol']: - return pulumi.get(self, "link_protocol") + @pulumi.getter(name="createdByFullName") + def created_by_full_name(self) -> Optional[str]: + return pulumi.get(self, "created_by_full_name") @property - @pulumi.getter - def location(self) -> Optional['outputs.ConnectionASideAccessPointLocation']: - return pulumi.get(self, "location") + @pulumi.getter(name="createdDateTime") + def created_date_time(self) -> Optional[str]: + return pulumi.get(self, "created_date_time") @property - @pulumi.getter(name="peeringType") - def peering_type(self) -> Optional[str]: - return pulumi.get(self, "peering_type") + @pulumi.getter(name="deletedBy") + def deleted_by(self) -> Optional[str]: + return pulumi.get(self, "deleted_by") @property - @pulumi.getter - def port(self) -> Optional['outputs.ConnectionASideAccessPointPort']: - return pulumi.get(self, "port") + @pulumi.getter(name="deletedByEmail") + def deleted_by_email(self) -> Optional[str]: + return pulumi.get(self, "deleted_by_email") @property - @pulumi.getter - def profile(self) -> Optional['outputs.ConnectionASideAccessPointProfile']: - return pulumi.get(self, "profile") + @pulumi.getter(name="deletedByFullName") + def deleted_by_full_name(self) -> Optional[str]: + return pulumi.get(self, "deleted_by_full_name") @property - @pulumi.getter(name="providerConnectionId") - def provider_connection_id(self) -> Optional[str]: - return pulumi.get(self, "provider_connection_id") + @pulumi.getter(name="deletedDateTime") + def deleted_date_time(self) -> Optional[str]: + return pulumi.get(self, "deleted_date_time") @property - @pulumi.getter(name="routingProtocols") - def routing_protocols(self) -> Optional[Sequence['outputs.ConnectionASideAccessPointRoutingProtocol']]: - return pulumi.get(self, "routing_protocols") + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + return pulumi.get(self, "updated_by") @property - @pulumi.getter(name="sellerRegion") - def seller_region(self) -> Optional[str]: - return pulumi.get(self, "seller_region") + @pulumi.getter(name="updatedByEmail") + def updated_by_email(self) -> Optional[str]: + return pulumi.get(self, "updated_by_email") @property - @pulumi.getter - def type(self) -> Optional[str]: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - return pulumi.get(self, "type") + @pulumi.getter(name="updatedByFullName") + def updated_by_full_name(self) -> Optional[str]: + return pulumi.get(self, "updated_by_full_name") @property - @pulumi.getter(name="virtualDevice") - def virtual_device(self) -> Optional['outputs.ConnectionASideAccessPointVirtualDevice']: - return pulumi.get(self, "virtual_device") + @pulumi.getter(name="updatedDateTime") + def updated_date_time(self) -> Optional[str]: + return pulumi.get(self, "updated_date_time") @pulumi.output_type -class ConnectionASideAccessPointAccount(dict): +class CloudRouterLocation(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "accountName": - suggest = "account_name" - elif key == "accountNumber": - suggest = "account_number" - elif key == "globalCustId": - suggest = "global_cust_id" - elif key == "globalOrgId": - suggest = "global_org_id" - elif key == "globalOrganizationName": - suggest = "global_organization_name" - elif key == "orgId": - suggest = "org_id" - elif key == "organizationName": - suggest = "organization_name" + if key == "metroCode": + suggest = "metro_code" + elif key == "metroName": + suggest = "metro_name" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionASideAccessPointAccount. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in CloudRouterLocation. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionASideAccessPointAccount.__key_warning(key) + CloudRouterLocation.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionASideAccessPointAccount.__key_warning(key) + CloudRouterLocation.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - account_name: Optional[str] = None, - account_number: Optional[int] = None, - global_cust_id: Optional[str] = None, - global_org_id: Optional[str] = None, - global_organization_name: Optional[str] = None, - org_id: Optional[int] = None, - organization_name: Optional[str] = None): - if account_name is not None: - pulumi.set(__self__, "account_name", account_name) - if account_number is not None: - pulumi.set(__self__, "account_number", account_number) - if global_cust_id is not None: - pulumi.set(__self__, "global_cust_id", global_cust_id) - if global_org_id is not None: - pulumi.set(__self__, "global_org_id", global_org_id) - if global_organization_name is not None: - pulumi.set(__self__, "global_organization_name", global_organization_name) - if org_id is not None: - pulumi.set(__self__, "org_id", org_id) - if organization_name is not None: - pulumi.set(__self__, "organization_name", organization_name) - - @property - @pulumi.getter(name="accountName") - def account_name(self) -> Optional[str]: - return pulumi.get(self, "account_name") - - @property - @pulumi.getter(name="accountNumber") - def account_number(self) -> Optional[int]: - return pulumi.get(self, "account_number") - - @property - @pulumi.getter(name="globalCustId") - def global_cust_id(self) -> Optional[str]: - return pulumi.get(self, "global_cust_id") - - @property - @pulumi.getter(name="globalOrgId") - def global_org_id(self) -> Optional[str]: - return pulumi.get(self, "global_org_id") - - @property - @pulumi.getter(name="globalOrganizationName") - def global_organization_name(self) -> Optional[str]: - return pulumi.get(self, "global_organization_name") - - @property - @pulumi.getter(name="orgId") - def org_id(self) -> Optional[int]: - return pulumi.get(self, "org_id") - - @property - @pulumi.getter(name="organizationName") - def organization_name(self) -> Optional[str]: - return pulumi.get(self, "organization_name") - - -@pulumi.output_type -class ConnectionASideAccessPointGateway(dict): - def __init__(__self__, *, - href: Optional[str] = None, - uuid: Optional[str] = None): - """ - :param str href: Connection URI information + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None): """ - if href is not None: - pulumi.set(__self__, "href", href) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + :param str ibx: IBX Code + :param str metro_code: Access point metro code + :param str metro_name: Access point metro name + :param str region: Access point region + """ + CloudRouterLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + + if ibx is not None: + _setter("ibx", ibx) + if metro_code is not None: + _setter("metro_code", metro_code) + if metro_name is not None: + _setter("metro_name", metro_name) + if region is not None: + _setter("region", region) @property @pulumi.getter - def href(self) -> Optional[str]: + def ibx(self) -> Optional[str]: """ - Connection URI information + IBX Code """ - return pulumi.get(self, "href") + return pulumi.get(self, "ibx") @property - @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") - - -@pulumi.output_type -class ConnectionASideAccessPointInterface(dict): - def __init__(__self__, *, - id: Optional[str] = None, - type: Optional[str] = None, - uuid: Optional[str] = None): + @pulumi.getter(name="metroCode") + def metro_code(self) -> Optional[str]: """ - :param str id: The ID of this resource. - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Access point metro code """ - if id is not None: - pulumi.set(__self__, "id", id) - if type is not None: - pulumi.set(__self__, "type", type) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + return pulumi.get(self, "metro_code") @property - @pulumi.getter - def id(self) -> Optional[str]: + @pulumi.getter(name="metroName") + def metro_name(self) -> Optional[str]: """ - The ID of this resource. + Access point metro name """ - return pulumi.get(self, "id") + return pulumi.get(self, "metro_name") @property @pulumi.getter - def type(self) -> Optional[str]: + def region(self) -> Optional[str]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Access point region """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") + return pulumi.get(self, "region") @pulumi.output_type -class ConnectionASideAccessPointLinkProtocol(dict): +class CloudRouterNotification(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "vlanCTag": - suggest = "vlan_c_tag" - elif key == "vlanSTag": - suggest = "vlan_s_tag" - elif key == "vlanTag": - suggest = "vlan_tag" + if key == "sendInterval": + suggest = "send_interval" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionASideAccessPointLinkProtocol. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in CloudRouterNotification. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionASideAccessPointLinkProtocol.__key_warning(key) + CloudRouterNotification.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionASideAccessPointLinkProtocol.__key_warning(key) + CloudRouterNotification.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - type: Optional[str] = None, - vlan_c_tag: Optional[int] = None, - vlan_s_tag: Optional[int] = None, - vlan_tag: Optional[int] = None): + emails: Sequence[str], + type: str, + send_interval: Optional[str] = None): """ - :param Union[str, 'AccessPointLinkProtocolType'] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + :param Sequence[str] emails: Array of contact emails + :param str type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + :param str send_interval: Send interval """ - if type is not None: - pulumi.set(__self__, "type", type) - if vlan_c_tag is not None: - pulumi.set(__self__, "vlan_c_tag", vlan_c_tag) - if vlan_s_tag is not None: - pulumi.set(__self__, "vlan_s_tag", vlan_s_tag) - if vlan_tag is not None: - pulumi.set(__self__, "vlan_tag", vlan_tag) + CloudRouterNotification._configure( + lambda key, value: pulumi.set(__self__, key, value), + emails=emails, + type=type, + send_interval=send_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + emails: Sequence[str], + type: str, + send_interval: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sendInterval' in kwargs: + send_interval = kwargs['sendInterval'] + + _setter("emails", emails) + _setter("type", type) + if send_interval is not None: + _setter("send_interval", send_interval) @property @pulumi.getter - def type(self) -> Optional[str]: + def emails(self) -> Sequence[str]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Array of contact emails """ - return pulumi.get(self, "type") - - @property - @pulumi.getter(name="vlanCTag") - def vlan_c_tag(self) -> Optional[int]: - return pulumi.get(self, "vlan_c_tag") + return pulumi.get(self, "emails") @property - @pulumi.getter(name="vlanSTag") - def vlan_s_tag(self) -> Optional[int]: - return pulumi.get(self, "vlan_s_tag") + @pulumi.getter + def type(self) -> str: + """ + Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + return pulumi.get(self, "type") @property - @pulumi.getter(name="vlanTag") - def vlan_tag(self) -> Optional[int]: - return pulumi.get(self, "vlan_tag") + @pulumi.getter(name="sendInterval") + def send_interval(self) -> Optional[str]: + """ + Send interval + """ + return pulumi.get(self, "send_interval") @pulumi.output_type -class ConnectionASideAccessPointLocation(dict): +class CloudRouterOrder(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "metroCode": - suggest = "metro_code" - elif key == "metroName": - suggest = "metro_name" + if key == "billingTier": + suggest = "billing_tier" + elif key == "orderId": + suggest = "order_id" + elif key == "orderNumber": + suggest = "order_number" + elif key == "purchaseOrderNumber": + suggest = "purchase_order_number" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionASideAccessPointLocation. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in CloudRouterOrder. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionASideAccessPointLocation.__key_warning(key) + CloudRouterOrder.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionASideAccessPointLocation.__key_warning(key) + CloudRouterOrder.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - ibx: Optional[str] = None, - metro_code: Optional[str] = None, - metro_name: Optional[str] = None, - region: Optional[str] = None): - if ibx is not None: - pulumi.set(__self__, "ibx", ibx) - if metro_code is not None: - pulumi.set(__self__, "metro_code", metro_code) - if metro_name is not None: - pulumi.set(__self__, "metro_name", metro_name) - if region is not None: - pulumi.set(__self__, "region", region) - - @property - @pulumi.getter - def ibx(self) -> Optional[str]: - return pulumi.get(self, "ibx") - - @property - @pulumi.getter(name="metroCode") - def metro_code(self) -> Optional[str]: - return pulumi.get(self, "metro_code") + billing_tier: Optional[str] = None, + order_id: Optional[str] = None, + order_number: Optional[str] = None, + purchase_order_number: Optional[str] = None): + """ + :param str billing_tier: Billing tier for connection bandwidth + :param str order_id: Order Identification + :param str order_number: Order Reference Number + :param str purchase_order_number: Purchase order number + """ + CloudRouterOrder._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_tier=billing_tier, + order_id=order_id, + order_number=order_number, + purchase_order_number=purchase_order_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_tier: Optional[str] = None, + order_id: Optional[str] = None, + order_number: Optional[str] = None, + purchase_order_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'billingTier' in kwargs: + billing_tier = kwargs['billingTier'] + if 'orderId' in kwargs: + order_id = kwargs['orderId'] + if 'orderNumber' in kwargs: + order_number = kwargs['orderNumber'] + if 'purchaseOrderNumber' in kwargs: + purchase_order_number = kwargs['purchaseOrderNumber'] - @property - @pulumi.getter(name="metroName") - def metro_name(self) -> Optional[str]: - return pulumi.get(self, "metro_name") + if billing_tier is not None: + _setter("billing_tier", billing_tier) + if order_id is not None: + _setter("order_id", order_id) + if order_number is not None: + _setter("order_number", order_number) + if purchase_order_number is not None: + _setter("purchase_order_number", purchase_order_number) @property - @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") - - -@pulumi.output_type -class ConnectionASideAccessPointPort(dict): - def __init__(__self__, *, - href: Optional[str] = None, - name: Optional[str] = None, - redundancies: Optional[Sequence['outputs.ConnectionASideAccessPointPortRedundancy']] = None, - uuid: Optional[str] = None): + @pulumi.getter(name="billingTier") + def billing_tier(self) -> Optional[str]: """ - :param str href: Connection URI information - :param str name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - :param Sequence['ConnectionASideAccessPointPortRedundancyArgs'] redundancies: Redundancy Information + Billing tier for connection bandwidth """ - if href is not None: - pulumi.set(__self__, "href", href) - if name is not None: - pulumi.set(__self__, "name", name) - if redundancies is not None: - pulumi.set(__self__, "redundancies", redundancies) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + return pulumi.get(self, "billing_tier") @property - @pulumi.getter - def href(self) -> Optional[str]: + @pulumi.getter(name="orderId") + def order_id(self) -> Optional[str]: """ - Connection URI information + Order Identification """ - return pulumi.get(self, "href") + return pulumi.get(self, "order_id") @property - @pulumi.getter - def name(self) -> Optional[str]: + @pulumi.getter(name="orderNumber") + def order_number(self) -> Optional[str]: """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + Order Reference Number """ - return pulumi.get(self, "name") + return pulumi.get(self, "order_number") @property - @pulumi.getter - def redundancies(self) -> Optional[Sequence['outputs.ConnectionASideAccessPointPortRedundancy']]: + @pulumi.getter(name="purchaseOrderNumber") + def purchase_order_number(self) -> Optional[str]: """ - Redundancy Information + Purchase order number """ - return pulumi.get(self, "redundancies") - - @property - @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") + return pulumi.get(self, "purchase_order_number") @pulumi.output_type -class ConnectionASideAccessPointPortRedundancy(dict): +class CloudRouterPackage(dict): def __init__(__self__, *, - priority: Optional[str] = None): + code: str): """ - :param str priority: Priority type- PRIMARY, SECONDARY + :param str code: Fabric Cloud Router package code """ - if priority is not None: - pulumi.set(__self__, "priority", priority) + CloudRouterPackage._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("code", code) @property @pulumi.getter - def priority(self) -> Optional[str]: + def code(self) -> str: """ - Priority type- PRIMARY, SECONDARY + Fabric Cloud Router package code """ - return pulumi.get(self, "priority") + return pulumi.get(self, "code") @pulumi.output_type -class ConnectionASideAccessPointProfile(dict): +class CloudRouterProject(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "accessPointTypeConfigs": - suggest = "access_point_type_configs" + if key == "projectId": + suggest = "project_id" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionASideAccessPointProfile. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in CloudRouterProject. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionASideAccessPointProfile.__key_warning(key) + CloudRouterProject.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionASideAccessPointProfile.__key_warning(key) + CloudRouterProject.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - type: str, - uuid: str, - access_point_type_configs: Optional[Sequence['outputs.ConnectionASideAccessPointProfileAccessPointTypeConfig']] = None, - description: Optional[str] = None, href: Optional[str] = None, - name: Optional[str] = None): + project_id: Optional[str] = None): """ - :param Union[str, 'ProfileType'] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param str href: Connection URI information - :param str name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + :param str href: Unique Resource URL + :param str project_id: Project Id """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) - if access_point_type_configs is not None: - pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) - if description is not None: - pulumi.set(__self__, "description", description) + CloudRouterProject._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + project_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if href is not None: - pulumi.set(__self__, "href", href) - if name is not None: - pulumi.set(__self__, "name", name) + _setter("href", href) + if project_id is not None: + _setter("project_id", project_id) @property @pulumi.getter - def type(self) -> str: + def href(self) -> Optional[str]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Unique Resource URL """ - return pulumi.get(self, "type") + return pulumi.get(self, "href") @property - @pulumi.getter - def uuid(self) -> str: - return pulumi.get(self, "uuid") + @pulumi.getter(name="projectId") + def project_id(self) -> Optional[str]: + """ + Project Id + """ + return pulumi.get(self, "project_id") - @property - @pulumi.getter(name="accessPointTypeConfigs") - def access_point_type_configs(self) -> Optional[Sequence['outputs.ConnectionASideAccessPointProfileAccessPointTypeConfig']]: - return pulumi.get(self, "access_point_type_configs") + +@pulumi.output_type +class ConnectionASide(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "accessPoint": + suggest = "access_point" + elif key == "additionalInfo": + suggest = "additional_info" + elif key == "serviceToken": + suggest = "service_token" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConnectionASide. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConnectionASide.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConnectionASide.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + access_point: Optional['outputs.ConnectionASideAccessPoint'] = None, + additional_info: Optional[Sequence['outputs.ConnectionASideAdditionalInfo']] = None, + service_token: Optional['outputs.ConnectionASideServiceToken'] = None): + """ + :param 'ConnectionASideAccessPointArgs' access_point: Point of access details + :param Sequence['ConnectionASideAdditionalInfoArgs'] additional_info: Connection side additional information + :param 'ConnectionASideServiceTokenArgs' service_token: For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets + """ + ConnectionASide._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_point=access_point, + additional_info=additional_info, + service_token=service_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_point: Optional['outputs.ConnectionASideAccessPoint'] = None, + additional_info: Optional[Sequence['outputs.ConnectionASideAdditionalInfo']] = None, + service_token: Optional['outputs.ConnectionASideServiceToken'] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPoint' in kwargs: + access_point = kwargs['accessPoint'] + if 'additionalInfo' in kwargs: + additional_info = kwargs['additionalInfo'] + if 'serviceToken' in kwargs: + service_token = kwargs['serviceToken'] + + if access_point is not None: + _setter("access_point", access_point) + if additional_info is not None: + _setter("additional_info", additional_info) + if service_token is not None: + _setter("service_token", service_token) @property - @pulumi.getter - def description(self) -> Optional[str]: - return pulumi.get(self, "description") + @pulumi.getter(name="accessPoint") + def access_point(self) -> Optional['outputs.ConnectionASideAccessPoint']: + """ + Point of access details + """ + return pulumi.get(self, "access_point") @property - @pulumi.getter - def href(self) -> Optional[str]: + @pulumi.getter(name="additionalInfo") + def additional_info(self) -> Optional[Sequence['outputs.ConnectionASideAdditionalInfo']]: """ - Connection URI information + Connection side additional information """ - return pulumi.get(self, "href") + return pulumi.get(self, "additional_info") @property - @pulumi.getter - def name(self) -> Optional[str]: + @pulumi.getter(name="serviceToken") + def service_token(self) -> Optional['outputs.ConnectionASideServiceToken']: """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets """ - return pulumi.get(self, "name") + return pulumi.get(self, "service_token") @pulumi.output_type -class ConnectionASideAccessPointProfileAccessPointTypeConfig(dict): +class ConnectionASideAccessPoint(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "authenticationKey": + suggest = "authentication_key" + elif key == "linkProtocol": + suggest = "link_protocol" + elif key == "peeringType": + suggest = "peering_type" + elif key == "providerConnectionId": + suggest = "provider_connection_id" + elif key == "routingProtocols": + suggest = "routing_protocols" + elif key == "sellerRegion": + suggest = "seller_region" + elif key == "virtualDevice": + suggest = "virtual_device" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConnectionASideAccessPoint. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConnectionASideAccessPoint.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConnectionASideAccessPoint.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, + account: Optional['outputs.ConnectionASideAccessPointAccount'] = None, + authentication_key: Optional[str] = None, + gateway: Optional['outputs.ConnectionASideAccessPointGateway'] = None, + interface: Optional['outputs.ConnectionASideAccessPointInterface'] = None, + link_protocol: Optional['outputs.ConnectionASideAccessPointLinkProtocol'] = None, + location: Optional['outputs.ConnectionASideAccessPointLocation'] = None, + network: Optional['outputs.ConnectionASideAccessPointNetwork'] = None, + peering_type: Optional[str] = None, + port: Optional['outputs.ConnectionASideAccessPointPort'] = None, + profile: Optional['outputs.ConnectionASideAccessPointProfile'] = None, + provider_connection_id: Optional[str] = None, + router: Optional['outputs.ConnectionASideAccessPointRouter'] = None, + routing_protocols: Optional[Sequence['outputs.ConnectionASideAccessPointRoutingProtocol']] = None, + seller_region: Optional[str] = None, type: Optional[str] = None, - uuid: Optional[str] = None): - """ - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + virtual_device: Optional['outputs.ConnectionASideAccessPointVirtualDevice'] = None): """ + :param 'ConnectionASideAccessPointAccountArgs' account: Account + :param str authentication_key: Authentication key for provider based connections + :param 'ConnectionASideAccessPointInterfaceArgs' interface: Virtual device interface + :param 'ConnectionASideAccessPointLinkProtocolArgs' link_protocol: Connection link protocol + :param 'ConnectionASideAccessPointLocationArgs' location: Access point location + :param Union[str, 'AccessPointPeeringType'] peering_type: Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + :param 'ConnectionASideAccessPointPortArgs' port: Port access point information + :param 'ConnectionASideAccessPointProfileArgs' profile: Service Profile + :param str provider_connection_id: Provider assigned Connection Id + :param 'ConnectionASideAccessPointRouterArgs' router: Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + :param Sequence['ConnectionASideAccessPointRoutingProtocolArgs'] routing_protocols: Access point routing protocols configuration + :param str seller_region: Access point seller region + :param Union[str, 'AccessPointType'] type: Interface type + :param 'ConnectionASideAccessPointVirtualDeviceArgs' virtual_device: Virtual device + """ + ConnectionASideAccessPoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + account=account, + authentication_key=authentication_key, + gateway=gateway, + interface=interface, + link_protocol=link_protocol, + location=location, + network=network, + peering_type=peering_type, + port=port, + profile=profile, + provider_connection_id=provider_connection_id, + router=router, + routing_protocols=routing_protocols, + seller_region=seller_region, + type=type, + virtual_device=virtual_device, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account: Optional['outputs.ConnectionASideAccessPointAccount'] = None, + authentication_key: Optional[str] = None, + gateway: Optional['outputs.ConnectionASideAccessPointGateway'] = None, + interface: Optional['outputs.ConnectionASideAccessPointInterface'] = None, + link_protocol: Optional['outputs.ConnectionASideAccessPointLinkProtocol'] = None, + location: Optional['outputs.ConnectionASideAccessPointLocation'] = None, + network: Optional['outputs.ConnectionASideAccessPointNetwork'] = None, + peering_type: Optional[str] = None, + port: Optional['outputs.ConnectionASideAccessPointPort'] = None, + profile: Optional['outputs.ConnectionASideAccessPointProfile'] = None, + provider_connection_id: Optional[str] = None, + router: Optional['outputs.ConnectionASideAccessPointRouter'] = None, + routing_protocols: Optional[Sequence['outputs.ConnectionASideAccessPointRoutingProtocol']] = None, + seller_region: Optional[str] = None, + type: Optional[str] = None, + virtual_device: Optional['outputs.ConnectionASideAccessPointVirtualDevice'] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authenticationKey' in kwargs: + authentication_key = kwargs['authenticationKey'] + if 'linkProtocol' in kwargs: + link_protocol = kwargs['linkProtocol'] + if 'peeringType' in kwargs: + peering_type = kwargs['peeringType'] + if 'providerConnectionId' in kwargs: + provider_connection_id = kwargs['providerConnectionId'] + if 'routingProtocols' in kwargs: + routing_protocols = kwargs['routingProtocols'] + if 'sellerRegion' in kwargs: + seller_region = kwargs['sellerRegion'] + if 'virtualDevice' in kwargs: + virtual_device = kwargs['virtualDevice'] + + if account is not None: + _setter("account", account) + if authentication_key is not None: + _setter("authentication_key", authentication_key) + if gateway is not None: + _setter("gateway", gateway) + if interface is not None: + _setter("interface", interface) + if link_protocol is not None: + _setter("link_protocol", link_protocol) + if location is not None: + _setter("location", location) + if network is not None: + _setter("network", network) + if peering_type is not None: + _setter("peering_type", peering_type) + if port is not None: + _setter("port", port) + if profile is not None: + _setter("profile", profile) + if provider_connection_id is not None: + _setter("provider_connection_id", provider_connection_id) + if router is not None: + _setter("router", router) + if routing_protocols is not None: + _setter("routing_protocols", routing_protocols) + if seller_region is not None: + _setter("seller_region", seller_region) if type is not None: - pulumi.set(__self__, "type", type) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("type", type) + if virtual_device is not None: + _setter("virtual_device", virtual_device) @property @pulumi.getter - def type(self) -> Optional[str]: + def account(self) -> Optional['outputs.ConnectionASideAccessPointAccount']: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Account """ - return pulumi.get(self, "type") + return pulumi.get(self, "account") + + @property + @pulumi.getter(name="authenticationKey") + def authentication_key(self) -> Optional[str]: + """ + Authentication key for provider based connections + """ + return pulumi.get(self, "authentication_key") @property @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") + def gateway(self) -> Optional['outputs.ConnectionASideAccessPointGateway']: + warnings.warn("""use router attribute instead; gateway is no longer a part of the supported backend""", DeprecationWarning) + pulumi.log.warn("""gateway is deprecated: use router attribute instead; gateway is no longer a part of the supported backend""") + return pulumi.get(self, "gateway") -@pulumi.output_type -class ConnectionASideAccessPointRoutingProtocol(dict): - def __init__(__self__, *, - state: Optional[str] = None, - type: Optional[str] = None, - uuid: Optional[str] = None): + @property + @pulumi.getter + def interface(self) -> Optional['outputs.ConnectionASideAccessPointInterface']: """ - :param str state: Connection overall state - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Virtual device interface """ - if state is not None: - pulumi.set(__self__, "state", state) - if type is not None: - pulumi.set(__self__, "type", type) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + return pulumi.get(self, "interface") @property - @pulumi.getter - def state(self) -> Optional[str]: + @pulumi.getter(name="linkProtocol") + def link_protocol(self) -> Optional['outputs.ConnectionASideAccessPointLinkProtocol']: """ - Connection overall state + Connection link protocol """ - return pulumi.get(self, "state") + return pulumi.get(self, "link_protocol") @property @pulumi.getter - def type(self) -> Optional[str]: + def location(self) -> Optional['outputs.ConnectionASideAccessPointLocation']: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Access point location """ - return pulumi.get(self, "type") + return pulumi.get(self, "location") @property @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") - + def network(self) -> Optional['outputs.ConnectionASideAccessPointNetwork']: + return pulumi.get(self, "network") -@pulumi.output_type -class ConnectionASideAccessPointVirtualDevice(dict): - def __init__(__self__, *, - href: Optional[str] = None, - type: Optional[str] = None, - uuid: Optional[str] = None): + @property + @pulumi.getter(name="peeringType") + def peering_type(self) -> Optional[str]: """ - :param str href: Connection URI information - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL """ - if href is not None: - pulumi.set(__self__, "href", href) - if type is not None: - pulumi.set(__self__, "type", type) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + return pulumi.get(self, "peering_type") @property @pulumi.getter - def href(self) -> Optional[str]: + def port(self) -> Optional['outputs.ConnectionASideAccessPointPort']: """ - Connection URI information + Port access point information """ - return pulumi.get(self, "href") + return pulumi.get(self, "port") @property @pulumi.getter - def type(self) -> Optional[str]: + def profile(self) -> Optional['outputs.ConnectionASideAccessPointProfile']: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Service Profile """ - return pulumi.get(self, "type") + return pulumi.get(self, "profile") @property - @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") - - -@pulumi.output_type -class ConnectionASideAdditionalInfo(dict): - def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): + @pulumi.getter(name="providerConnectionId") + def provider_connection_id(self) -> Optional[str]: """ - :param str key: Additional information key - :param str value: Additional information value + Provider assigned Connection Id """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) + return pulumi.get(self, "provider_connection_id") @property @pulumi.getter - def key(self) -> Optional[str]: + def router(self) -> Optional['outputs.ConnectionASideAccessPointRouter']: """ - Additional information key + Cloud Router access point information that replaces `gateway` (refers to below for nested schema) """ - return pulumi.get(self, "key") + return pulumi.get(self, "router") @property - @pulumi.getter - def value(self) -> Optional[str]: - """ - Additional information value - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class ConnectionASideServiceToken(dict): - def __init__(__self__, *, - description: Optional[str] = None, - href: Optional[str] = None, - type: Optional[str] = None, - uuid: Optional[str] = None): + @pulumi.getter(name="routingProtocols") + def routing_protocols(self) -> Optional[Sequence['outputs.ConnectionASideAccessPointRoutingProtocol']]: """ - :param str href: Connection URI information - :param Union[str, 'ServiceTokenType'] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Access point routing protocols configuration """ - if description is not None: - pulumi.set(__self__, "description", description) - if href is not None: - pulumi.set(__self__, "href", href) - if type is not None: - pulumi.set(__self__, "type", type) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) - - @property - @pulumi.getter - def description(self) -> Optional[str]: - return pulumi.get(self, "description") + return pulumi.get(self, "routing_protocols") @property - @pulumi.getter - def href(self) -> Optional[str]: + @pulumi.getter(name="sellerRegion") + def seller_region(self) -> Optional[str]: """ - Connection URI information + Access point seller region """ - return pulumi.get(self, "href") + return pulumi.get(self, "seller_region") @property @pulumi.getter def type(self) -> Optional[str]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @property - @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") + @pulumi.getter(name="virtualDevice") + def virtual_device(self) -> Optional['outputs.ConnectionASideAccessPointVirtualDevice']: + """ + Virtual device + """ + return pulumi.get(self, "virtual_device") @pulumi.output_type -class ConnectionAccount(dict): +class ConnectionASideAccessPointAccount(dict): @staticmethod def __key_warning(key: str): suggest = None @@ -1016,14 +1196,14 @@ def __key_warning(key: str): suggest = "organization_name" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionAccount. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ConnectionASideAccessPointAccount. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionAccount.__key_warning(key) + ConnectionASideAccessPointAccount.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionAccount.__key_warning(key) + ConnectionASideAccessPointAccount.__key_warning(key) return super().get(key, default) def __init__(__self__, *, @@ -1034,20 +1214,57 @@ def __init__(__self__, *, global_organization_name: Optional[str] = None, org_id: Optional[int] = None, organization_name: Optional[str] = None): + ConnectionASideAccessPointAccount._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + if account_name is not None: - pulumi.set(__self__, "account_name", account_name) + _setter("account_name", account_name) if account_number is not None: - pulumi.set(__self__, "account_number", account_number) + _setter("account_number", account_number) if global_cust_id is not None: - pulumi.set(__self__, "global_cust_id", global_cust_id) + _setter("global_cust_id", global_cust_id) if global_org_id is not None: - pulumi.set(__self__, "global_org_id", global_org_id) + _setter("global_org_id", global_org_id) if global_organization_name is not None: - pulumi.set(__self__, "global_organization_name", global_organization_name) + _setter("global_organization_name", global_organization_name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if organization_name is not None: - pulumi.set(__self__, "organization_name", organization_name) + _setter("organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -1086,764 +1303,886 @@ def organization_name(self) -> Optional[str]: @pulumi.output_type -class ConnectionAdditionalInfo(dict): +class ConnectionASideAccessPointGateway(dict): def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): + href: Optional[str] = None, + uuid: Optional[str] = None): """ - :param str key: Additional information key - :param str value: Additional information value + :param str href: Unique Resource Identifier + :param str uuid: Equinix-assigned interface identifier """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) + ConnectionASideAccessPointGateway._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if href is not None: + _setter("href", href) + if uuid is not None: + _setter("uuid", uuid) @property @pulumi.getter - def key(self) -> Optional[str]: + def href(self) -> Optional[str]: """ - Additional information key + Unique Resource Identifier """ - return pulumi.get(self, "key") + return pulumi.get(self, "href") @property @pulumi.getter - def value(self) -> Optional[str]: + def uuid(self) -> Optional[str]: """ - Additional information value + Equinix-assigned interface identifier """ - return pulumi.get(self, "value") + return pulumi.get(self, "uuid") @pulumi.output_type -class ConnectionChangeLog(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "createdBy": - suggest = "created_by" - elif key == "createdByEmail": - suggest = "created_by_email" - elif key == "createdByFullName": - suggest = "created_by_full_name" - elif key == "createdDateTime": - suggest = "created_date_time" - elif key == "deletedBy": - suggest = "deleted_by" - elif key == "deletedByEmail": - suggest = "deleted_by_email" - elif key == "deletedByFullName": - suggest = "deleted_by_full_name" - elif key == "deletedDateTime": - suggest = "deleted_date_time" - elif key == "updatedBy": - suggest = "updated_by" - elif key == "updatedByEmail": - suggest = "updated_by_email" - elif key == "updatedByFullName": - suggest = "updated_by_full_name" - elif key == "updatedDateTime": - suggest = "updated_date_time" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionChangeLog. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ConnectionChangeLog.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ConnectionChangeLog.__key_warning(key) - return super().get(key, default) - +class ConnectionASideAccessPointInterface(dict): def __init__(__self__, *, - created_by: Optional[str] = None, - created_by_email: Optional[str] = None, - created_by_full_name: Optional[str] = None, - created_date_time: Optional[str] = None, - deleted_by: Optional[str] = None, - deleted_by_email: Optional[str] = None, - deleted_by_full_name: Optional[str] = None, - deleted_date_time: Optional[str] = None, - updated_by: Optional[str] = None, - updated_by_email: Optional[str] = None, - updated_by_full_name: Optional[str] = None, - updated_date_time: Optional[str] = None): - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if created_by_email is not None: - pulumi.set(__self__, "created_by_email", created_by_email) - if created_by_full_name is not None: - pulumi.set(__self__, "created_by_full_name", created_by_full_name) - if created_date_time is not None: - pulumi.set(__self__, "created_date_time", created_date_time) - if deleted_by is not None: - pulumi.set(__self__, "deleted_by", deleted_by) - if deleted_by_email is not None: - pulumi.set(__self__, "deleted_by_email", deleted_by_email) - if deleted_by_full_name is not None: - pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) - if deleted_date_time is not None: - pulumi.set(__self__, "deleted_date_time", deleted_date_time) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) - if updated_by_email is not None: - pulumi.set(__self__, "updated_by_email", updated_by_email) - if updated_by_full_name is not None: - pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) - if updated_date_time is not None: - pulumi.set(__self__, "updated_date_time", updated_date_time) - - @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - return pulumi.get(self, "created_by") - - @property - @pulumi.getter(name="createdByEmail") - def created_by_email(self) -> Optional[str]: - return pulumi.get(self, "created_by_email") - - @property - @pulumi.getter(name="createdByFullName") - def created_by_full_name(self) -> Optional[str]: - return pulumi.get(self, "created_by_full_name") - - @property - @pulumi.getter(name="createdDateTime") - def created_date_time(self) -> Optional[str]: - return pulumi.get(self, "created_date_time") - - @property - @pulumi.getter(name="deletedBy") - def deleted_by(self) -> Optional[str]: - return pulumi.get(self, "deleted_by") - - @property - @pulumi.getter(name="deletedByEmail") - def deleted_by_email(self) -> Optional[str]: - return pulumi.get(self, "deleted_by_email") - - @property - @pulumi.getter(name="deletedByFullName") - def deleted_by_full_name(self) -> Optional[str]: - return pulumi.get(self, "deleted_by_full_name") - - @property - @pulumi.getter(name="deletedDateTime") - def deleted_date_time(self) -> Optional[str]: - return pulumi.get(self, "deleted_date_time") + id: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None): + """ + :param str id: id + :param str type: Interface type + :param str uuid: Equinix-assigned interface identifier + """ + ConnectionASideAccessPointInterface._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - return pulumi.get(self, "updated_by") + if id is not None: + _setter("id", id) + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) @property - @pulumi.getter(name="updatedByEmail") - def updated_by_email(self) -> Optional[str]: - return pulumi.get(self, "updated_by_email") + @pulumi.getter + def id(self) -> Optional[str]: + """ + id + """ + return pulumi.get(self, "id") @property - @pulumi.getter(name="updatedByFullName") - def updated_by_full_name(self) -> Optional[str]: - return pulumi.get(self, "updated_by_full_name") + @pulumi.getter + def type(self) -> Optional[str]: + """ + Interface type + """ + return pulumi.get(self, "type") @property - @pulumi.getter(name="updatedDateTime") - def updated_date_time(self) -> Optional[str]: - return pulumi.get(self, "updated_date_time") + @pulumi.getter + def uuid(self) -> Optional[str]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") @pulumi.output_type -class ConnectionNotification(dict): +class ConnectionASideAccessPointLinkProtocol(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "sendInterval": - suggest = "send_interval" + if key == "vlanCTag": + suggest = "vlan_c_tag" + elif key == "vlanSTag": + suggest = "vlan_s_tag" + elif key == "vlanTag": + suggest = "vlan_tag" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionNotification. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ConnectionASideAccessPointLinkProtocol. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionNotification.__key_warning(key) + ConnectionASideAccessPointLinkProtocol.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionNotification.__key_warning(key) + ConnectionASideAccessPointLinkProtocol.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - emails: Sequence[str], - type: str, - send_interval: Optional[str] = None): - """ - :param Sequence[str] emails: Array of contact emails - :param Union[str, 'NotificationsType'] type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS - :param str send_interval: Send interval + type: Optional[str] = None, + vlan_c_tag: Optional[int] = None, + vlan_s_tag: Optional[int] = None, + vlan_tag: Optional[int] = None): """ - pulumi.set(__self__, "emails", emails) - pulumi.set(__self__, "type", type) - if send_interval is not None: - pulumi.set(__self__, "send_interval", send_interval) + :param Union[str, 'AccessPointLinkProtocolType'] type: Interface type + :param int vlan_c_tag: Vlan Customer Tag information, vlanCTag value specified for QINQ connections + :param int vlan_s_tag: Vlan Provider Tag information, vlanSTag value specified for QINQ connections + :param int vlan_tag: Vlan Tag information, vlanTag value specified for DOT1Q connections + """ + ConnectionASideAccessPointLinkProtocol._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + vlan_c_tag=vlan_c_tag, + vlan_s_tag=vlan_s_tag, + vlan_tag=vlan_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[str] = None, + vlan_c_tag: Optional[int] = None, + vlan_s_tag: Optional[int] = None, + vlan_tag: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'vlanCTag' in kwargs: + vlan_c_tag = kwargs['vlanCTag'] + if 'vlanSTag' in kwargs: + vlan_s_tag = kwargs['vlanSTag'] + if 'vlanTag' in kwargs: + vlan_tag = kwargs['vlanTag'] + + if type is not None: + _setter("type", type) + if vlan_c_tag is not None: + _setter("vlan_c_tag", vlan_c_tag) + if vlan_s_tag is not None: + _setter("vlan_s_tag", vlan_s_tag) + if vlan_tag is not None: + _setter("vlan_tag", vlan_tag) @property @pulumi.getter - def emails(self) -> Sequence[str]: + def type(self) -> Optional[str]: """ - Array of contact emails + Interface type """ - return pulumi.get(self, "emails") + return pulumi.get(self, "type") @property - @pulumi.getter - def type(self) -> str: + @pulumi.getter(name="vlanCTag") + def vlan_c_tag(self) -> Optional[int]: """ - Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + Vlan Customer Tag information, vlanCTag value specified for QINQ connections """ - return pulumi.get(self, "type") + return pulumi.get(self, "vlan_c_tag") @property - @pulumi.getter(name="sendInterval") - def send_interval(self) -> Optional[str]: + @pulumi.getter(name="vlanSTag") + def vlan_s_tag(self) -> Optional[int]: """ - Send interval + Vlan Provider Tag information, vlanSTag value specified for QINQ connections """ - return pulumi.get(self, "send_interval") + return pulumi.get(self, "vlan_s_tag") + + @property + @pulumi.getter(name="vlanTag") + def vlan_tag(self) -> Optional[int]: + """ + Vlan Tag information, vlanTag value specified for DOT1Q connections + """ + return pulumi.get(self, "vlan_tag") @pulumi.output_type -class ConnectionOperation(dict): +class ConnectionASideAccessPointLocation(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "equinixStatus": - suggest = "equinix_status" - elif key == "providerStatus": - suggest = "provider_status" + if key == "metroCode": + suggest = "metro_code" + elif key == "metroName": + suggest = "metro_name" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionOperation. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ConnectionASideAccessPointLocation. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionOperation.__key_warning(key) + ConnectionASideAccessPointLocation.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionOperation.__key_warning(key) + ConnectionASideAccessPointLocation.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - equinix_status: Optional[str] = None, - errors: Optional[Sequence['outputs.ConnectionOperationError']] = None, - provider_status: Optional[str] = None): - if equinix_status is not None: - pulumi.set(__self__, "equinix_status", equinix_status) - if errors is not None: - pulumi.set(__self__, "errors", errors) - if provider_status is not None: - pulumi.set(__self__, "provider_status", provider_status) + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None): + """ + :param str ibx: IBX Code + :param Union[str, '_root_enums.Metro'] metro_code: Access point metro code + :param str metro_name: Access point metro name + :param str region: Access point region + """ + ConnectionASideAccessPointLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] - @property - @pulumi.getter(name="equinixStatus") - def equinix_status(self) -> Optional[str]: - return pulumi.get(self, "equinix_status") + if ibx is not None: + _setter("ibx", ibx) + if metro_code is not None: + _setter("metro_code", metro_code) + if metro_name is not None: + _setter("metro_name", metro_name) + if region is not None: + _setter("region", region) @property @pulumi.getter - def errors(self) -> Optional[Sequence['outputs.ConnectionOperationError']]: - return pulumi.get(self, "errors") + def ibx(self) -> Optional[str]: + """ + IBX Code + """ + return pulumi.get(self, "ibx") @property - @pulumi.getter(name="providerStatus") - def provider_status(self) -> Optional[str]: - return pulumi.get(self, "provider_status") - - -@pulumi.output_type -class ConnectionOperationError(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "additionalInfo": - suggest = "additional_info" - elif key == "correlationId": - suggest = "correlation_id" - elif key == "errorCode": - suggest = "error_code" - elif key == "errorMessage": - suggest = "error_message" + @pulumi.getter(name="metroCode") + def metro_code(self) -> Optional[str]: + """ + Access point metro code + """ + return pulumi.get(self, "metro_code") - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionOperationError. Access the value via the '{suggest}' property getter instead.") + @property + @pulumi.getter(name="metroName") + def metro_name(self) -> Optional[str]: + """ + Access point metro name + """ + return pulumi.get(self, "metro_name") - def __getitem__(self, key: str) -> Any: - ConnectionOperationError.__key_warning(key) - return super().__getitem__(key) + @property + @pulumi.getter + def region(self) -> Optional[str]: + """ + Access point region + """ + return pulumi.get(self, "region") - def get(self, key: str, default = None) -> Any: - ConnectionOperationError.__key_warning(key) - return super().get(key, default) +@pulumi.output_type +class ConnectionASideAccessPointNetwork(dict): def __init__(__self__, *, - additional_info: Optional[Sequence['outputs.ConnectionOperationErrorAdditionalInfo']] = None, - correlation_id: Optional[str] = None, - details: Optional[str] = None, - error_code: Optional[str] = None, - error_message: Optional[str] = None, - help: Optional[str] = None): + href: Optional[str] = None, + uuid: Optional[str] = None): """ - :param Sequence['ConnectionOperationErrorAdditionalInfoArgs'] additional_info: Connection additional information + :param str href: Unique Resource Identifier + :param str uuid: Equinix-assigned interface identifier """ - if additional_info is not None: - pulumi.set(__self__, "additional_info", additional_info) - if correlation_id is not None: - pulumi.set(__self__, "correlation_id", correlation_id) - if details is not None: - pulumi.set(__self__, "details", details) - if error_code is not None: - pulumi.set(__self__, "error_code", error_code) - if error_message is not None: - pulumi.set(__self__, "error_message", error_message) - if help is not None: - pulumi.set(__self__, "help", help) + ConnectionASideAccessPointNetwork._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if href is not None: + _setter("href", href) + if uuid is not None: + _setter("uuid", uuid) @property - @pulumi.getter(name="additionalInfo") - def additional_info(self) -> Optional[Sequence['outputs.ConnectionOperationErrorAdditionalInfo']]: + @pulumi.getter + def href(self) -> Optional[str]: """ - Connection additional information + Unique Resource Identifier """ - return pulumi.get(self, "additional_info") + return pulumi.get(self, "href") @property - @pulumi.getter(name="correlationId") - def correlation_id(self) -> Optional[str]: - return pulumi.get(self, "correlation_id") + @pulumi.getter + def uuid(self) -> Optional[str]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") + + +@pulumi.output_type +class ConnectionASideAccessPointPort(dict): + def __init__(__self__, *, + href: Optional[str] = None, + name: Optional[str] = None, + redundancies: Optional[Sequence['outputs.ConnectionASideAccessPointPortRedundancy']] = None, + uuid: Optional[str] = None): + """ + :param str href: Unique Resource Identifier + :param str name: Port name + :param Sequence['ConnectionASideAccessPointPortRedundancyArgs'] redundancies: Redundancy Information + :param str uuid: Equinix-assigned interface identifier + """ + ConnectionASideAccessPointPort._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + name=name, + redundancies=redundancies, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + name: Optional[str] = None, + redundancies: Optional[Sequence['outputs.ConnectionASideAccessPointPortRedundancy']] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if href is not None: + _setter("href", href) + if name is not None: + _setter("name", name) + if redundancies is not None: + _setter("redundancies", redundancies) + if uuid is not None: + _setter("uuid", uuid) @property @pulumi.getter - def details(self) -> Optional[str]: - return pulumi.get(self, "details") + def href(self) -> Optional[str]: + """ + Unique Resource Identifier + """ + return pulumi.get(self, "href") @property - @pulumi.getter(name="errorCode") - def error_code(self) -> Optional[str]: - return pulumi.get(self, "error_code") + @pulumi.getter + def name(self) -> Optional[str]: + """ + Port name + """ + return pulumi.get(self, "name") @property - @pulumi.getter(name="errorMessage") - def error_message(self) -> Optional[str]: - return pulumi.get(self, "error_message") + @pulumi.getter + def redundancies(self) -> Optional[Sequence['outputs.ConnectionASideAccessPointPortRedundancy']]: + """ + Redundancy Information + """ + return pulumi.get(self, "redundancies") @property @pulumi.getter - def help(self) -> Optional[str]: - return pulumi.get(self, "help") + def uuid(self) -> Optional[str]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") @pulumi.output_type -class ConnectionOperationErrorAdditionalInfo(dict): +class ConnectionASideAccessPointPortRedundancy(dict): def __init__(__self__, *, - property: Optional[str] = None, - reason: Optional[str] = None): - if property is not None: - pulumi.set(__self__, "property", property) - if reason is not None: - pulumi.set(__self__, "reason", reason) + priority: Optional[str] = None): + """ + :param str priority: Priority type- PRIMARY, SECONDARY + """ + ConnectionASideAccessPointPortRedundancy._configure( + lambda key, value: pulumi.set(__self__, key, value), + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + priority: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter - def reason(self) -> Optional[str]: - return pulumi.get(self, "reason") + if priority is not None: + _setter("priority", priority) @property @pulumi.getter - def property(self) -> Optional[str]: - return pulumi.get(self, "property") + def priority(self) -> Optional[str]: + """ + Priority type- PRIMARY, SECONDARY + """ + return pulumi.get(self, "priority") @pulumi.output_type -class ConnectionOrder(dict): +class ConnectionASideAccessPointProfile(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "billingTier": - suggest = "billing_tier" - elif key == "orderId": - suggest = "order_id" - elif key == "orderNumber": - suggest = "order_number" - elif key == "purchaseOrderNumber": - suggest = "purchase_order_number" + if key == "accessPointTypeConfigs": + suggest = "access_point_type_configs" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionOrder. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ConnectionASideAccessPointProfile. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionOrder.__key_warning(key) + ConnectionASideAccessPointProfile.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionOrder.__key_warning(key) + ConnectionASideAccessPointProfile.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - billing_tier: Optional[str] = None, - order_id: Optional[str] = None, - order_number: Optional[str] = None, - purchase_order_number: Optional[str] = None): + type: str, + uuid: str, + access_point_type_configs: Optional[Sequence['outputs.ConnectionASideAccessPointProfileAccessPointTypeConfig']] = None, + description: Optional[str] = None, + href: Optional[str] = None, + name: Optional[str] = None): """ - :param str billing_tier: Billing tier for connection bandwidth - :param str order_id: Order Identification - :param str order_number: Order Reference Number - :param str purchase_order_number: Purchase order number + :param Union[str, 'ProfileType'] type: Interface type + :param str uuid: Equinix-assigned interface identifier + :param Sequence['ConnectionASideAccessPointProfileAccessPointTypeConfigArgs'] access_point_type_configs: Access point config information + :param str description: User-provided service description + :param str href: Unique Resource Identifier + :param str name: Port name """ - if billing_tier is not None: - pulumi.set(__self__, "billing_tier", billing_tier) - if order_id is not None: - pulumi.set(__self__, "order_id", order_id) - if order_number is not None: - pulumi.set(__self__, "order_number", order_number) - if purchase_order_number is not None: - pulumi.set(__self__, "purchase_order_number", purchase_order_number) + ConnectionASideAccessPointProfile._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uuid=uuid, + access_point_type_configs=access_point_type_configs, + description=description, + href=href, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uuid: str, + access_point_type_configs: Optional[Sequence['outputs.ConnectionASideAccessPointProfileAccessPointTypeConfig']] = None, + description: Optional[str] = None, + href: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPointTypeConfigs' in kwargs: + access_point_type_configs = kwargs['accessPointTypeConfigs'] + + _setter("type", type) + _setter("uuid", uuid) + if access_point_type_configs is not None: + _setter("access_point_type_configs", access_point_type_configs) + if description is not None: + _setter("description", description) + if href is not None: + _setter("href", href) + if name is not None: + _setter("name", name) @property - @pulumi.getter(name="billingTier") - def billing_tier(self) -> Optional[str]: + @pulumi.getter + def type(self) -> str: """ - Billing tier for connection bandwidth + Interface type """ - return pulumi.get(self, "billing_tier") + return pulumi.get(self, "type") @property - @pulumi.getter(name="orderId") - def order_id(self) -> Optional[str]: + @pulumi.getter + def uuid(self) -> str: """ - Order Identification + Equinix-assigned interface identifier """ - return pulumi.get(self, "order_id") + return pulumi.get(self, "uuid") @property - @pulumi.getter(name="orderNumber") - def order_number(self) -> Optional[str]: + @pulumi.getter(name="accessPointTypeConfigs") + def access_point_type_configs(self) -> Optional[Sequence['outputs.ConnectionASideAccessPointProfileAccessPointTypeConfig']]: """ - Order Reference Number + Access point config information """ - return pulumi.get(self, "order_number") + return pulumi.get(self, "access_point_type_configs") @property - @pulumi.getter(name="purchaseOrderNumber") - def purchase_order_number(self) -> Optional[str]: - """ - Purchase order number - """ - return pulumi.get(self, "purchase_order_number") - - -@pulumi.output_type -class ConnectionProject(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "projectId": - suggest = "project_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionProject. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ConnectionProject.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ConnectionProject.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - href: Optional[str] = None, - project_id: Optional[str] = None): + @pulumi.getter + def description(self) -> Optional[str]: """ - :param str href: Unique Resource URL - :param str project_id: Project Id + User-provided service description """ - if href is not None: - pulumi.set(__self__, "href", href) - if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + return pulumi.get(self, "description") @property @pulumi.getter def href(self) -> Optional[str]: """ - Unique Resource URL + Unique Resource Identifier """ return pulumi.get(self, "href") @property - @pulumi.getter(name="projectId") - def project_id(self) -> Optional[str]: + @pulumi.getter + def name(self) -> Optional[str]: """ - Project Id + Port name """ - return pulumi.get(self, "project_id") + return pulumi.get(self, "name") @pulumi.output_type -class ConnectionRedundancy(dict): +class ConnectionASideAccessPointProfileAccessPointTypeConfig(dict): def __init__(__self__, *, - group: Optional[str] = None, - priority: Optional[str] = None): + type: Optional[str] = None, + uuid: Optional[str] = None): """ - :param str group: Redundancy group identifier - :param str priority: Priority type- PRIMARY, SECONDARY + :param str type: Interface type + :param str uuid: Equinix-assigned interface identifier """ - if group is not None: - pulumi.set(__self__, "group", group) - if priority is not None: - pulumi.set(__self__, "priority", priority) + ConnectionASideAccessPointProfileAccessPointTypeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) @property @pulumi.getter - def group(self) -> Optional[str]: + def type(self) -> Optional[str]: """ - Redundancy group identifier + Interface type """ - return pulumi.get(self, "group") + return pulumi.get(self, "type") @property @pulumi.getter - def priority(self) -> Optional[str]: + def uuid(self) -> Optional[str]: """ - Priority type- PRIMARY, SECONDARY + Equinix-assigned interface identifier """ - return pulumi.get(self, "priority") + return pulumi.get(self, "uuid") @pulumi.output_type -class ConnectionZSide(dict): +class ConnectionASideAccessPointRouter(dict): + def __init__(__self__, *, + href: Optional[str] = None, + uuid: Optional[str] = None): + """ + :param str href: Unique Resource Identifier + :param str uuid: Equinix-assigned interface identifier + """ + ConnectionASideAccessPointRouter._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + uuid=uuid, + ) @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accessPoint": - suggest = "access_point" - elif key == "additionalInfo": - suggest = "additional_info" - elif key == "serviceToken": - suggest = "service_token" + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionZSide. Access the value via the '{suggest}' property getter instead.") + if href is not None: + _setter("href", href) + if uuid is not None: + _setter("uuid", uuid) - def __getitem__(self, key: str) -> Any: - ConnectionZSide.__key_warning(key) - return super().__getitem__(key) + @property + @pulumi.getter + def href(self) -> Optional[str]: + """ + Unique Resource Identifier + """ + return pulumi.get(self, "href") + + @property + @pulumi.getter + def uuid(self) -> Optional[str]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") - def get(self, key: str, default = None) -> Any: - ConnectionZSide.__key_warning(key) - return super().get(key, default) +@pulumi.output_type +class ConnectionASideAccessPointRoutingProtocol(dict): def __init__(__self__, *, - access_point: Optional['outputs.ConnectionZSideAccessPoint'] = None, - additional_info: Optional[Sequence['outputs.ConnectionZSideAdditionalInfo']] = None, - service_token: Optional['outputs.ConnectionZSideServiceToken'] = None): + state: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None): """ - :param 'ConnectionZSideAccessPointArgs' access_point: Point of access details - :param Sequence['ConnectionZSideAdditionalInfoArgs'] additional_info: Connection side additional information - :param 'ConnectionZSideServiceTokenArgs' service_token: For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets + :param str state: Routing protocol instance state + :param str type: Interface type + :param str uuid: Equinix-assigned interface identifier """ - if access_point is not None: - pulumi.set(__self__, "access_point", access_point) - if additional_info is not None: - pulumi.set(__self__, "additional_info", additional_info) - if service_token is not None: - pulumi.set(__self__, "service_token", service_token) + ConnectionASideAccessPointRoutingProtocol._configure( + lambda key, value: pulumi.set(__self__, key, value), + state=state, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + state: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if state is not None: + _setter("state", state) + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) @property - @pulumi.getter(name="accessPoint") - def access_point(self) -> Optional['outputs.ConnectionZSideAccessPoint']: + @pulumi.getter + def state(self) -> Optional[str]: """ - Point of access details + Routing protocol instance state """ - return pulumi.get(self, "access_point") + return pulumi.get(self, "state") @property - @pulumi.getter(name="additionalInfo") - def additional_info(self) -> Optional[Sequence['outputs.ConnectionZSideAdditionalInfo']]: + @pulumi.getter + def type(self) -> Optional[str]: """ - Connection side additional information + Interface type """ - return pulumi.get(self, "additional_info") + return pulumi.get(self, "type") @property - @pulumi.getter(name="serviceToken") - def service_token(self) -> Optional['outputs.ConnectionZSideServiceToken']: + @pulumi.getter + def uuid(self) -> Optional[str]: """ - For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets + Equinix-assigned interface identifier """ - return pulumi.get(self, "service_token") + return pulumi.get(self, "uuid") @pulumi.output_type -class ConnectionZSideAccessPoint(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "authenticationKey": - suggest = "authentication_key" - elif key == "linkProtocol": - suggest = "link_protocol" - elif key == "peeringType": - suggest = "peering_type" - elif key == "providerConnectionId": - suggest = "provider_connection_id" - elif key == "routingProtocols": - suggest = "routing_protocols" - elif key == "sellerRegion": - suggest = "seller_region" - elif key == "virtualDevice": - suggest = "virtual_device" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionZSideAccessPoint. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ConnectionZSideAccessPoint.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ConnectionZSideAccessPoint.__key_warning(key) - return super().get(key, default) - +class ConnectionASideAccessPointVirtualDevice(dict): def __init__(__self__, *, - account: Optional['outputs.ConnectionZSideAccessPointAccount'] = None, - authentication_key: Optional[str] = None, - gateway: Optional['outputs.ConnectionZSideAccessPointGateway'] = None, - interface: Optional['outputs.ConnectionZSideAccessPointInterface'] = None, - link_protocol: Optional['outputs.ConnectionZSideAccessPointLinkProtocol'] = None, - location: Optional['outputs.ConnectionZSideAccessPointLocation'] = None, - peering_type: Optional[str] = None, - port: Optional['outputs.ConnectionZSideAccessPointPort'] = None, - profile: Optional['outputs.ConnectionZSideAccessPointProfile'] = None, - provider_connection_id: Optional[str] = None, - routing_protocols: Optional[Sequence['outputs.ConnectionZSideAccessPointRoutingProtocol']] = None, - seller_region: Optional[str] = None, + href: Optional[str] = None, type: Optional[str] = None, - virtual_device: Optional['outputs.ConnectionZSideAccessPointVirtualDevice'] = None): + uuid: Optional[str] = None): """ - :param 'ConnectionZSideAccessPointAccountArgs' account: Customer account information that is associated with this connection - :param Union[str, 'AccessPointType'] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + :param str href: Unique Resource Identifier + :param str type: Interface type + :param str uuid: Equinix-assigned interface identifier """ - if account is not None: - pulumi.set(__self__, "account", account) - if authentication_key is not None: - pulumi.set(__self__, "authentication_key", authentication_key) - if gateway is not None: - pulumi.set(__self__, "gateway", gateway) - if interface is not None: - pulumi.set(__self__, "interface", interface) - if link_protocol is not None: - pulumi.set(__self__, "link_protocol", link_protocol) - if location is not None: - pulumi.set(__self__, "location", location) - if peering_type is not None: - pulumi.set(__self__, "peering_type", peering_type) - if port is not None: - pulumi.set(__self__, "port", port) - if profile is not None: - pulumi.set(__self__, "profile", profile) - if provider_connection_id is not None: - pulumi.set(__self__, "provider_connection_id", provider_connection_id) - if routing_protocols is not None: - pulumi.set(__self__, "routing_protocols", routing_protocols) - if seller_region is not None: - pulumi.set(__self__, "seller_region", seller_region) + ConnectionASideAccessPointVirtualDevice._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if href is not None: + _setter("href", href) if type is not None: - pulumi.set(__self__, "type", type) - if virtual_device is not None: - pulumi.set(__self__, "virtual_device", virtual_device) + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) @property @pulumi.getter - def account(self) -> Optional['outputs.ConnectionZSideAccessPointAccount']: + def href(self) -> Optional[str]: """ - Customer account information that is associated with this connection + Unique Resource Identifier """ - return pulumi.get(self, "account") - - @property - @pulumi.getter(name="authenticationKey") - def authentication_key(self) -> Optional[str]: - return pulumi.get(self, "authentication_key") + return pulumi.get(self, "href") @property @pulumi.getter - def gateway(self) -> Optional['outputs.ConnectionZSideAccessPointGateway']: - return pulumi.get(self, "gateway") + def type(self) -> Optional[str]: + """ + Interface type + """ + return pulumi.get(self, "type") @property @pulumi.getter - def interface(self) -> Optional['outputs.ConnectionZSideAccessPointInterface']: - return pulumi.get(self, "interface") + def uuid(self) -> Optional[str]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") - @property - @pulumi.getter(name="linkProtocol") - def link_protocol(self) -> Optional['outputs.ConnectionZSideAccessPointLinkProtocol']: - return pulumi.get(self, "link_protocol") - @property - @pulumi.getter - def location(self) -> Optional['outputs.ConnectionZSideAccessPointLocation']: - return pulumi.get(self, "location") +@pulumi.output_type +class ConnectionASideAdditionalInfo(dict): + def __init__(__self__, *, + key: Optional[str] = None, + value: Optional[str] = None): + """ + :param str key: Additional information key + :param str value: Additional information value + """ + ConnectionASideAdditionalInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter(name="peeringType") - def peering_type(self) -> Optional[str]: - return pulumi.get(self, "peering_type") + if key is not None: + _setter("key", key) + if value is not None: + _setter("value", value) @property @pulumi.getter - def port(self) -> Optional['outputs.ConnectionZSideAccessPointPort']: - return pulumi.get(self, "port") + def key(self) -> Optional[str]: + """ + Additional information key + """ + return pulumi.get(self, "key") @property @pulumi.getter - def profile(self) -> Optional['outputs.ConnectionZSideAccessPointProfile']: - return pulumi.get(self, "profile") + def value(self) -> Optional[str]: + """ + Additional information value + """ + return pulumi.get(self, "value") - @property - @pulumi.getter(name="providerConnectionId") - def provider_connection_id(self) -> Optional[str]: - return pulumi.get(self, "provider_connection_id") + +@pulumi.output_type +class ConnectionASideServiceToken(dict): + def __init__(__self__, *, + description: Optional[str] = None, + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None): + """ + :param str description: User-provided service description + :param str href: Unique Resource Identifier + :param Union[str, 'ServiceTokenType'] type: Interface type + :param str uuid: Equinix-assigned interface identifier + """ + ConnectionASideServiceToken._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[str] = None, + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if description is not None: + _setter("description", description) + if href is not None: + _setter("href", href) + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) @property - @pulumi.getter(name="routingProtocols") - def routing_protocols(self) -> Optional[Sequence['outputs.ConnectionZSideAccessPointRoutingProtocol']]: - return pulumi.get(self, "routing_protocols") + @pulumi.getter + def description(self) -> Optional[str]: + """ + User-provided service description + """ + return pulumi.get(self, "description") @property - @pulumi.getter(name="sellerRegion") - def seller_region(self) -> Optional[str]: - return pulumi.get(self, "seller_region") + @pulumi.getter + def href(self) -> Optional[str]: + """ + Unique Resource Identifier + """ + return pulumi.get(self, "href") @property @pulumi.getter def type(self) -> Optional[str]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Interface type """ return pulumi.get(self, "type") @property - @pulumi.getter(name="virtualDevice") - def virtual_device(self) -> Optional['outputs.ConnectionZSideAccessPointVirtualDevice']: - return pulumi.get(self, "virtual_device") + @pulumi.getter + def uuid(self) -> Optional[str]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") @pulumi.output_type -class ConnectionZSideAccessPointAccount(dict): +class ConnectionAccount(dict): @staticmethod def __key_warning(key: str): suggest = None @@ -1863,14 +2202,14 @@ def __key_warning(key: str): suggest = "organization_name" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionZSideAccessPointAccount. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ConnectionAccount. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionZSideAccessPointAccount.__key_warning(key) + ConnectionAccount.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionZSideAccessPointAccount.__key_warning(key) + ConnectionAccount.__key_warning(key) return super().get(key, default) def __init__(__self__, *, @@ -1881,20 +2220,57 @@ def __init__(__self__, *, global_organization_name: Optional[str] = None, org_id: Optional[int] = None, organization_name: Optional[str] = None): + ConnectionAccount._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + if account_name is not None: - pulumi.set(__self__, "account_name", account_name) + _setter("account_name", account_name) if account_number is not None: - pulumi.set(__self__, "account_number", account_number) + _setter("account_number", account_number) if global_cust_id is not None: - pulumi.set(__self__, "global_cust_id", global_cust_id) + _setter("global_cust_id", global_cust_id) if global_org_id is not None: - pulumi.set(__self__, "global_org_id", global_org_id) + _setter("global_org_id", global_org_id) if global_organization_name is not None: - pulumi.set(__self__, "global_organization_name", global_organization_name) + _setter("global_organization_name", global_organization_name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if organization_name is not None: - pulumi.set(__self__, "organization_name", organization_name) + _setter("organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -1933,1842 +2309,4581 @@ def organization_name(self) -> Optional[str]: @pulumi.output_type -class ConnectionZSideAccessPointGateway(dict): +class ConnectionChangeLog(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdBy": + suggest = "created_by" + elif key == "createdByEmail": + suggest = "created_by_email" + elif key == "createdByFullName": + suggest = "created_by_full_name" + elif key == "createdDateTime": + suggest = "created_date_time" + elif key == "deletedBy": + suggest = "deleted_by" + elif key == "deletedByEmail": + suggest = "deleted_by_email" + elif key == "deletedByFullName": + suggest = "deleted_by_full_name" + elif key == "deletedDateTime": + suggest = "deleted_date_time" + elif key == "updatedBy": + suggest = "updated_by" + elif key == "updatedByEmail": + suggest = "updated_by_email" + elif key == "updatedByFullName": + suggest = "updated_by_full_name" + elif key == "updatedDateTime": + suggest = "updated_date_time" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConnectionChangeLog. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConnectionChangeLog.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConnectionChangeLog.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, - href: Optional[str] = None, - uuid: Optional[str] = None): - """ - :param str href: Connection URI information - """ - if href is not None: - pulumi.set(__self__, "href", href) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None): + ConnectionChangeLog._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + + if created_by is not None: + _setter("created_by", created_by) + if created_by_email is not None: + _setter("created_by_email", created_by_email) + if created_by_full_name is not None: + _setter("created_by_full_name", created_by_full_name) + if created_date_time is not None: + _setter("created_date_time", created_date_time) + if deleted_by is not None: + _setter("deleted_by", deleted_by) + if deleted_by_email is not None: + _setter("deleted_by_email", deleted_by_email) + if deleted_by_full_name is not None: + _setter("deleted_by_full_name", deleted_by_full_name) + if deleted_date_time is not None: + _setter("deleted_date_time", deleted_date_time) + if updated_by is not None: + _setter("updated_by", updated_by) + if updated_by_email is not None: + _setter("updated_by_email", updated_by_email) + if updated_by_full_name is not None: + _setter("updated_by_full_name", updated_by_full_name) + if updated_date_time is not None: + _setter("updated_date_time", updated_date_time) @property - @pulumi.getter - def href(self) -> Optional[str]: - """ - Connection URI information - """ - return pulumi.get(self, "href") + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + return pulumi.get(self, "created_by") @property - @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") + @pulumi.getter(name="createdByEmail") + def created_by_email(self) -> Optional[str]: + return pulumi.get(self, "created_by_email") + @property + @pulumi.getter(name="createdByFullName") + def created_by_full_name(self) -> Optional[str]: + return pulumi.get(self, "created_by_full_name") -@pulumi.output_type -class ConnectionZSideAccessPointInterface(dict): - def __init__(__self__, *, - id: Optional[str] = None, - type: Optional[str] = None, - uuid: Optional[str] = None): - """ - :param str id: The ID of this resource. - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - if id is not None: - pulumi.set(__self__, "id", id) - if type is not None: - pulumi.set(__self__, "type", type) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + @property + @pulumi.getter(name="createdDateTime") + def created_date_time(self) -> Optional[str]: + return pulumi.get(self, "created_date_time") @property - @pulumi.getter - def id(self) -> Optional[str]: - """ - The ID of this resource. - """ - return pulumi.get(self, "id") + @pulumi.getter(name="deletedBy") + def deleted_by(self) -> Optional[str]: + return pulumi.get(self, "deleted_by") @property - @pulumi.getter - def type(self) -> Optional[str]: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - return pulumi.get(self, "type") + @pulumi.getter(name="deletedByEmail") + def deleted_by_email(self) -> Optional[str]: + return pulumi.get(self, "deleted_by_email") @property - @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") + @pulumi.getter(name="deletedByFullName") + def deleted_by_full_name(self) -> Optional[str]: + return pulumi.get(self, "deleted_by_full_name") + + @property + @pulumi.getter(name="deletedDateTime") + def deleted_date_time(self) -> Optional[str]: + return pulumi.get(self, "deleted_date_time") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + return pulumi.get(self, "updated_by") + + @property + @pulumi.getter(name="updatedByEmail") + def updated_by_email(self) -> Optional[str]: + return pulumi.get(self, "updated_by_email") + + @property + @pulumi.getter(name="updatedByFullName") + def updated_by_full_name(self) -> Optional[str]: + return pulumi.get(self, "updated_by_full_name") + + @property + @pulumi.getter(name="updatedDateTime") + def updated_date_time(self) -> Optional[str]: + return pulumi.get(self, "updated_date_time") @pulumi.output_type -class ConnectionZSideAccessPointLinkProtocol(dict): +class ConnectionNotification(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "vlanCTag": - suggest = "vlan_c_tag" - elif key == "vlanSTag": - suggest = "vlan_s_tag" - elif key == "vlanTag": - suggest = "vlan_tag" + if key == "sendInterval": + suggest = "send_interval" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionZSideAccessPointLinkProtocol. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ConnectionNotification. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionZSideAccessPointLinkProtocol.__key_warning(key) + ConnectionNotification.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionZSideAccessPointLinkProtocol.__key_warning(key) + ConnectionNotification.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - type: Optional[str] = None, - vlan_c_tag: Optional[int] = None, - vlan_s_tag: Optional[int] = None, - vlan_tag: Optional[int] = None): + emails: Sequence[str], + type: str, + send_interval: Optional[str] = None): """ - :param Union[str, 'AccessPointLinkProtocolType'] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + :param Sequence[str] emails: Array of contact emails + :param Union[str, 'NotificationsType'] type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + :param str send_interval: Send interval """ - if type is not None: - pulumi.set(__self__, "type", type) - if vlan_c_tag is not None: - pulumi.set(__self__, "vlan_c_tag", vlan_c_tag) - if vlan_s_tag is not None: - pulumi.set(__self__, "vlan_s_tag", vlan_s_tag) - if vlan_tag is not None: - pulumi.set(__self__, "vlan_tag", vlan_tag) + ConnectionNotification._configure( + lambda key, value: pulumi.set(__self__, key, value), + emails=emails, + type=type, + send_interval=send_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + emails: Sequence[str], + type: str, + send_interval: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sendInterval' in kwargs: + send_interval = kwargs['sendInterval'] + + _setter("emails", emails) + _setter("type", type) + if send_interval is not None: + _setter("send_interval", send_interval) @property @pulumi.getter - def type(self) -> Optional[str]: + def emails(self) -> Sequence[str]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Array of contact emails """ - return pulumi.get(self, "type") - - @property - @pulumi.getter(name="vlanCTag") - def vlan_c_tag(self) -> Optional[int]: - return pulumi.get(self, "vlan_c_tag") + return pulumi.get(self, "emails") @property - @pulumi.getter(name="vlanSTag") - def vlan_s_tag(self) -> Optional[int]: - return pulumi.get(self, "vlan_s_tag") + @pulumi.getter + def type(self) -> str: + """ + Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + return pulumi.get(self, "type") @property - @pulumi.getter(name="vlanTag") - def vlan_tag(self) -> Optional[int]: - return pulumi.get(self, "vlan_tag") + @pulumi.getter(name="sendInterval") + def send_interval(self) -> Optional[str]: + """ + Send interval + """ + return pulumi.get(self, "send_interval") @pulumi.output_type -class ConnectionZSideAccessPointLocation(dict): +class ConnectionOperation(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "metroCode": - suggest = "metro_code" - elif key == "metroName": - suggest = "metro_name" + if key == "equinixStatus": + suggest = "equinix_status" + elif key == "providerStatus": + suggest = "provider_status" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionZSideAccessPointLocation. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ConnectionOperation. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionZSideAccessPointLocation.__key_warning(key) + ConnectionOperation.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionZSideAccessPointLocation.__key_warning(key) + ConnectionOperation.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - ibx: Optional[str] = None, - metro_code: Optional[str] = None, - metro_name: Optional[str] = None, - region: Optional[str] = None): - if ibx is not None: - pulumi.set(__self__, "ibx", ibx) - if metro_code is not None: - pulumi.set(__self__, "metro_code", metro_code) - if metro_name is not None: - pulumi.set(__self__, "metro_name", metro_name) - if region is not None: - pulumi.set(__self__, "region", region) + equinix_status: Optional[str] = None, + errors: Optional[Sequence['outputs.ConnectionOperationError']] = None, + provider_status: Optional[str] = None): + ConnectionOperation._configure( + lambda key, value: pulumi.set(__self__, key, value), + equinix_status=equinix_status, + errors=errors, + provider_status=provider_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + equinix_status: Optional[str] = None, + errors: Optional[Sequence['outputs.ConnectionOperationError']] = None, + provider_status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'equinixStatus' in kwargs: + equinix_status = kwargs['equinixStatus'] + if 'providerStatus' in kwargs: + provider_status = kwargs['providerStatus'] - @property - @pulumi.getter - def ibx(self) -> Optional[str]: - return pulumi.get(self, "ibx") + if equinix_status is not None: + _setter("equinix_status", equinix_status) + if errors is not None: + _setter("errors", errors) + if provider_status is not None: + _setter("provider_status", provider_status) @property - @pulumi.getter(name="metroCode") - def metro_code(self) -> Optional[str]: - return pulumi.get(self, "metro_code") + @pulumi.getter(name="equinixStatus") + def equinix_status(self) -> Optional[str]: + return pulumi.get(self, "equinix_status") @property - @pulumi.getter(name="metroName") - def metro_name(self) -> Optional[str]: - return pulumi.get(self, "metro_name") + @pulumi.getter + def errors(self) -> Optional[Sequence['outputs.ConnectionOperationError']]: + return pulumi.get(self, "errors") @property - @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") + @pulumi.getter(name="providerStatus") + def provider_status(self) -> Optional[str]: + return pulumi.get(self, "provider_status") @pulumi.output_type -class ConnectionZSideAccessPointPort(dict): +class ConnectionOperationError(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "additionalInfo": + suggest = "additional_info" + elif key == "correlationId": + suggest = "correlation_id" + elif key == "errorCode": + suggest = "error_code" + elif key == "errorMessage": + suggest = "error_message" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConnectionOperationError. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConnectionOperationError.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConnectionOperationError.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, - href: Optional[str] = None, - name: Optional[str] = None, - redundancies: Optional[Sequence['outputs.ConnectionZSideAccessPointPortRedundancy']] = None, - uuid: Optional[str] = None): - """ - :param str href: Connection URI information - :param str name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - :param Sequence['ConnectionZSideAccessPointPortRedundancyArgs'] redundancies: Redundancy Information + additional_info: Optional[Sequence['outputs.ConnectionOperationErrorAdditionalInfo']] = None, + correlation_id: Optional[str] = None, + details: Optional[str] = None, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + help: Optional[str] = None): """ - if href is not None: - pulumi.set(__self__, "href", href) - if name is not None: - pulumi.set(__self__, "name", name) - if redundancies is not None: - pulumi.set(__self__, "redundancies", redundancies) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + :param Sequence['ConnectionOperationErrorAdditionalInfoArgs'] additional_info: Connection side additional information + """ + ConnectionOperationError._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_info=additional_info, + correlation_id=correlation_id, + details=details, + error_code=error_code, + error_message=error_message, + help=help, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_info: Optional[Sequence['outputs.ConnectionOperationErrorAdditionalInfo']] = None, + correlation_id: Optional[str] = None, + details: Optional[str] = None, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + help: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'additionalInfo' in kwargs: + additional_info = kwargs['additionalInfo'] + if 'correlationId' in kwargs: + correlation_id = kwargs['correlationId'] + if 'errorCode' in kwargs: + error_code = kwargs['errorCode'] + if 'errorMessage' in kwargs: + error_message = kwargs['errorMessage'] + + if additional_info is not None: + _setter("additional_info", additional_info) + if correlation_id is not None: + _setter("correlation_id", correlation_id) + if details is not None: + _setter("details", details) + if error_code is not None: + _setter("error_code", error_code) + if error_message is not None: + _setter("error_message", error_message) + if help is not None: + _setter("help", help) @property - @pulumi.getter - def href(self) -> Optional[str]: + @pulumi.getter(name="additionalInfo") + def additional_info(self) -> Optional[Sequence['outputs.ConnectionOperationErrorAdditionalInfo']]: """ - Connection URI information + Connection side additional information """ - return pulumi.get(self, "href") + return pulumi.get(self, "additional_info") @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - """ - return pulumi.get(self, "name") + @pulumi.getter(name="correlationId") + def correlation_id(self) -> Optional[str]: + return pulumi.get(self, "correlation_id") @property @pulumi.getter - def redundancies(self) -> Optional[Sequence['outputs.ConnectionZSideAccessPointPortRedundancy']]: - """ - Redundancy Information - """ - return pulumi.get(self, "redundancies") + def details(self) -> Optional[str]: + return pulumi.get(self, "details") + + @property + @pulumi.getter(name="errorCode") + def error_code(self) -> Optional[str]: + return pulumi.get(self, "error_code") + + @property + @pulumi.getter(name="errorMessage") + def error_message(self) -> Optional[str]: + return pulumi.get(self, "error_message") @property @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") + def help(self) -> Optional[str]: + return pulumi.get(self, "help") @pulumi.output_type -class ConnectionZSideAccessPointPortRedundancy(dict): +class ConnectionOperationErrorAdditionalInfo(dict): def __init__(__self__, *, - priority: Optional[str] = None): - """ - :param str priority: Priority type- PRIMARY, SECONDARY - """ - if priority is not None: - pulumi.set(__self__, "priority", priority) + property: Optional[str] = None, + reason: Optional[str] = None): + ConnectionOperationErrorAdditionalInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + property=property, + reason=reason, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + property: Optional[str] = None, + reason: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if property is not None: + _setter("property", property) + if reason is not None: + _setter("reason", reason) @property @pulumi.getter - def priority(self) -> Optional[str]: - """ - Priority type- PRIMARY, SECONDARY - """ - return pulumi.get(self, "priority") + def reason(self) -> Optional[str]: + return pulumi.get(self, "reason") + + @property + @pulumi.getter + def property(self) -> Optional[str]: + return pulumi.get(self, "property") @pulumi.output_type -class ConnectionZSideAccessPointProfile(dict): +class ConnectionOrder(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "accessPointTypeConfigs": - suggest = "access_point_type_configs" + if key == "billingTier": + suggest = "billing_tier" + elif key == "orderId": + suggest = "order_id" + elif key == "orderNumber": + suggest = "order_number" + elif key == "purchaseOrderNumber": + suggest = "purchase_order_number" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ConnectionZSideAccessPointProfile. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ConnectionOrder. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ConnectionZSideAccessPointProfile.__key_warning(key) + ConnectionOrder.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ConnectionZSideAccessPointProfile.__key_warning(key) + ConnectionOrder.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - type: str, - uuid: str, - access_point_type_configs: Optional[Sequence['outputs.ConnectionZSideAccessPointProfileAccessPointTypeConfig']] = None, - description: Optional[str] = None, - href: Optional[str] = None, - name: Optional[str] = None): + billing_tier: Optional[str] = None, + order_id: Optional[str] = None, + order_number: Optional[str] = None, + purchase_order_number: Optional[str] = None): """ - :param Union[str, 'ProfileType'] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param str href: Connection URI information - :param str name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores + :param str billing_tier: Billing tier for connection bandwidth + :param str order_id: Order Identification + :param str order_number: Order Reference Number + :param str purchase_order_number: Purchase order number """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) - if access_point_type_configs is not None: - pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) - if description is not None: - pulumi.set(__self__, "description", description) - if href is not None: - pulumi.set(__self__, "href", href) - if name is not None: - pulumi.set(__self__, "name", name) + ConnectionOrder._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_tier=billing_tier, + order_id=order_id, + order_number=order_number, + purchase_order_number=purchase_order_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_tier: Optional[str] = None, + order_id: Optional[str] = None, + order_number: Optional[str] = None, + purchase_order_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'billingTier' in kwargs: + billing_tier = kwargs['billingTier'] + if 'orderId' in kwargs: + order_id = kwargs['orderId'] + if 'orderNumber' in kwargs: + order_number = kwargs['orderNumber'] + if 'purchaseOrderNumber' in kwargs: + purchase_order_number = kwargs['purchaseOrderNumber'] + + if billing_tier is not None: + _setter("billing_tier", billing_tier) + if order_id is not None: + _setter("order_id", order_id) + if order_number is not None: + _setter("order_number", order_number) + if purchase_order_number is not None: + _setter("purchase_order_number", purchase_order_number) @property - @pulumi.getter - def type(self) -> str: + @pulumi.getter(name="billingTier") + def billing_tier(self) -> Optional[str]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Billing tier for connection bandwidth """ - return pulumi.get(self, "type") + return pulumi.get(self, "billing_tier") @property - @pulumi.getter - def uuid(self) -> str: - return pulumi.get(self, "uuid") - - @property - @pulumi.getter(name="accessPointTypeConfigs") - def access_point_type_configs(self) -> Optional[Sequence['outputs.ConnectionZSideAccessPointProfileAccessPointTypeConfig']]: - return pulumi.get(self, "access_point_type_configs") - - @property - @pulumi.getter - def description(self) -> Optional[str]: - return pulumi.get(self, "description") - - @property - @pulumi.getter - def href(self) -> Optional[str]: + @pulumi.getter(name="orderId") + def order_id(self) -> Optional[str]: """ - Connection URI information + Order Identification """ - return pulumi.get(self, "href") + return pulumi.get(self, "order_id") @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - """ - return pulumi.get(self, "name") - - -@pulumi.output_type -class ConnectionZSideAccessPointProfileAccessPointTypeConfig(dict): - def __init__(__self__, *, - type: Optional[str] = None, - uuid: Optional[str] = None): + @pulumi.getter(name="orderNumber") + def order_number(self) -> Optional[str]: """ - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Order Reference Number """ - if type is not None: - pulumi.set(__self__, "type", type) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + return pulumi.get(self, "order_number") @property - @pulumi.getter - def type(self) -> Optional[str]: + @pulumi.getter(name="purchaseOrderNumber") + def purchase_order_number(self) -> Optional[str]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Purchase order number """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") + return pulumi.get(self, "purchase_order_number") @pulumi.output_type -class ConnectionZSideAccessPointRoutingProtocol(dict): - def __init__(__self__, *, - state: Optional[str] = None, - type: Optional[str] = None, - uuid: Optional[str] = None): - """ - :param str state: Connection overall state - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - if state is not None: - pulumi.set(__self__, "state", state) - if type is not None: - pulumi.set(__self__, "type", type) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - Connection overall state - """ - return pulumi.get(self, "state") +class ConnectionProject(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "projectId": + suggest = "project_id" - @property - @pulumi.getter - def type(self) -> Optional[str]: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - return pulumi.get(self, "type") + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConnectionProject. Access the value via the '{suggest}' property getter instead.") - @property - @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") + def __getitem__(self, key: str) -> Any: + ConnectionProject.__key_warning(key) + return super().__getitem__(key) + def get(self, key: str, default = None) -> Any: + ConnectionProject.__key_warning(key) + return super().get(key, default) -@pulumi.output_type -class ConnectionZSideAccessPointVirtualDevice(dict): def __init__(__self__, *, href: Optional[str] = None, - type: Optional[str] = None, - uuid: Optional[str] = None): + project_id: Optional[str] = None): """ - :param str href: Connection URI information - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + :param str href: Unique Resource URL + :param str project_id: Project Id """ + ConnectionProject._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + project_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if href is not None: - pulumi.set(__self__, "href", href) - if type is not None: - pulumi.set(__self__, "type", type) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("href", href) + if project_id is not None: + _setter("project_id", project_id) @property @pulumi.getter def href(self) -> Optional[str]: """ - Connection URI information + Unique Resource URL """ return pulumi.get(self, "href") @property - @pulumi.getter - def type(self) -> Optional[str]: + @pulumi.getter(name="projectId") + def project_id(self) -> Optional[str]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Project Id """ - return pulumi.get(self, "type") - - @property - @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") + return pulumi.get(self, "project_id") @pulumi.output_type -class ConnectionZSideAdditionalInfo(dict): +class ConnectionRedundancy(dict): def __init__(__self__, *, - key: Optional[str] = None, - value: Optional[str] = None): + group: Optional[str] = None, + priority: Optional[str] = None): """ - :param str key: Additional information key - :param str value: Additional information value + :param str group: Redundancy group identifier + :param str priority: Priority type- PRIMARY, SECONDARY """ - if key is not None: - pulumi.set(__self__, "key", key) - if value is not None: - pulumi.set(__self__, "value", value) + ConnectionRedundancy._configure( + lambda key, value: pulumi.set(__self__, key, value), + group=group, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + group: Optional[str] = None, + priority: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if group is not None: + _setter("group", group) + if priority is not None: + _setter("priority", priority) @property @pulumi.getter - def key(self) -> Optional[str]: + def group(self) -> Optional[str]: """ - Additional information key + Redundancy group identifier """ - return pulumi.get(self, "key") + return pulumi.get(self, "group") @property @pulumi.getter - def value(self) -> Optional[str]: + def priority(self) -> Optional[str]: """ - Additional information value + Priority type- PRIMARY, SECONDARY """ - return pulumi.get(self, "value") + return pulumi.get(self, "priority") @pulumi.output_type -class ConnectionZSideServiceToken(dict): +class ConnectionZSide(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "accessPoint": + suggest = "access_point" + elif key == "additionalInfo": + suggest = "additional_info" + elif key == "serviceToken": + suggest = "service_token" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ConnectionZSide. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ConnectionZSide.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ConnectionZSide.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, - description: Optional[str] = None, - href: Optional[str] = None, - type: Optional[str] = None, - uuid: Optional[str] = None): + access_point: Optional['outputs.ConnectionZSideAccessPoint'] = None, + additional_info: Optional[Sequence['outputs.ConnectionZSideAdditionalInfo']] = None, + service_token: Optional['outputs.ConnectionZSideServiceToken'] = None): """ - :param str href: Connection URI information - :param Union[str, 'ServiceTokenType'] type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + :param 'ConnectionZSideAccessPointArgs' access_point: Point of access details + :param Sequence['ConnectionZSideAdditionalInfoArgs'] additional_info: Connection side additional information + :param 'ConnectionZSideServiceTokenArgs' service_token: For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets """ - if description is not None: - pulumi.set(__self__, "description", description) - if href is not None: - pulumi.set(__self__, "href", href) - if type is not None: - pulumi.set(__self__, "type", type) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + ConnectionZSide._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_point=access_point, + additional_info=additional_info, + service_token=service_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_point: Optional['outputs.ConnectionZSideAccessPoint'] = None, + additional_info: Optional[Sequence['outputs.ConnectionZSideAdditionalInfo']] = None, + service_token: Optional['outputs.ConnectionZSideServiceToken'] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPoint' in kwargs: + access_point = kwargs['accessPoint'] + if 'additionalInfo' in kwargs: + additional_info = kwargs['additionalInfo'] + if 'serviceToken' in kwargs: + service_token = kwargs['serviceToken'] - @property - @pulumi.getter - def description(self) -> Optional[str]: - return pulumi.get(self, "description") + if access_point is not None: + _setter("access_point", access_point) + if additional_info is not None: + _setter("additional_info", additional_info) + if service_token is not None: + _setter("service_token", service_token) @property - @pulumi.getter - def href(self) -> Optional[str]: + @pulumi.getter(name="accessPoint") + def access_point(self) -> Optional['outputs.ConnectionZSideAccessPoint']: """ - Connection URI information + Point of access details """ - return pulumi.get(self, "href") + return pulumi.get(self, "access_point") @property - @pulumi.getter - def type(self) -> Optional[str]: + @pulumi.getter(name="additionalInfo") + def additional_info(self) -> Optional[Sequence['outputs.ConnectionZSideAdditionalInfo']]: """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC + Connection side additional information """ - return pulumi.get(self, "type") + return pulumi.get(self, "additional_info") @property - @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") + @pulumi.getter(name="serviceToken") + def service_token(self) -> Optional['outputs.ConnectionZSideServiceToken']: + """ + For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets + """ + return pulumi.get(self, "service_token") @pulumi.output_type -class ServiceProfileAccessPointTypeConfig(dict): +class ConnectionZSideAccessPoint(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "allowBandwidthAutoApproval": - suggest = "allow_bandwidth_auto_approval" - elif key == "allowBandwidthUpgrade": - suggest = "allow_bandwidth_upgrade" - elif key == "allowCustomBandwidth": - suggest = "allow_custom_bandwidth" - elif key == "allowRemoteConnections": - suggest = "allow_remote_connections" - elif key == "apiConfig": - suggest = "api_config" - elif key == "authenticationKey": + if key == "authenticationKey": suggest = "authentication_key" - elif key == "bandwidthAlertThreshold": - suggest = "bandwidth_alert_threshold" - elif key == "connectionLabel": - suggest = "connection_label" - elif key == "connectionRedundancyRequired": - suggest = "connection_redundancy_required" - elif key == "enableAutoGenerateServiceKey": - suggest = "enable_auto_generate_service_key" - elif key == "linkProtocolConfig": - suggest = "link_protocol_config" - elif key == "supportedBandwidths": - suggest = "supported_bandwidths" + elif key == "linkProtocol": + suggest = "link_protocol" + elif key == "peeringType": + suggest = "peering_type" + elif key == "providerConnectionId": + suggest = "provider_connection_id" + elif key == "routingProtocols": + suggest = "routing_protocols" + elif key == "sellerRegion": + suggest = "seller_region" + elif key == "virtualDevice": + suggest = "virtual_device" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfileAccessPointTypeConfig. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ConnectionZSideAccessPoint. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ServiceProfileAccessPointTypeConfig.__key_warning(key) + ConnectionZSideAccessPoint.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ServiceProfileAccessPointTypeConfig.__key_warning(key) + ConnectionZSideAccessPoint.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - type: str, - allow_bandwidth_auto_approval: Optional[bool] = None, - allow_bandwidth_upgrade: Optional[bool] = None, - allow_custom_bandwidth: Optional[bool] = None, - allow_remote_connections: Optional[bool] = None, - api_config: Optional['outputs.ServiceProfileAccessPointTypeConfigApiConfig'] = None, - authentication_key: Optional['outputs.ServiceProfileAccessPointTypeConfigAuthenticationKey'] = None, - bandwidth_alert_threshold: Optional[float] = None, - connection_label: Optional[str] = None, - connection_redundancy_required: Optional[bool] = None, - enable_auto_generate_service_key: Optional[bool] = None, - link_protocol_config: Optional['outputs.ServiceProfileAccessPointTypeConfigLinkProtocolConfig'] = None, - supported_bandwidths: Optional[Sequence[int]] = None, - uuid: Optional[str] = None): - """ - :param Union[str, 'ProfileAccessPointType'] type: Type of access point type config - VD, COLO - :param bool allow_bandwidth_auto_approval: Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller - :param bool allow_bandwidth_upgrade: Availability of a bandwidth upgrade. The default is false - :param bool allow_custom_bandwidth: Setting to enable or disable the ability of the buyer to customize the bandwidth - :param bool allow_remote_connections: Setting to allow or prohibit remote connections to the service profile - :param 'ServiceProfileAccessPointTypeConfigApiConfigArgs' api_config: Api configuration details - :param 'ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs' authentication_key: Authentication key details - :param float bandwidth_alert_threshold: Percentage of port bandwidth at which an allocation alert is generated - :param str connection_label: Custom name for Connection - :param bool connection_redundancy_required: Mandate redundant connections - :param bool enable_auto_generate_service_key: Enable auto generate service key - :param 'ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs' link_protocol_config: Link protocol configuration details - :param Sequence[int] supported_bandwidths: Supported bandwidths - :param str uuid: Colo/Port Uuid + account: Optional['outputs.ConnectionZSideAccessPointAccount'] = None, + authentication_key: Optional[str] = None, + gateway: Optional['outputs.ConnectionZSideAccessPointGateway'] = None, + interface: Optional['outputs.ConnectionZSideAccessPointInterface'] = None, + link_protocol: Optional['outputs.ConnectionZSideAccessPointLinkProtocol'] = None, + location: Optional['outputs.ConnectionZSideAccessPointLocation'] = None, + network: Optional['outputs.ConnectionZSideAccessPointNetwork'] = None, + peering_type: Optional[str] = None, + port: Optional['outputs.ConnectionZSideAccessPointPort'] = None, + profile: Optional['outputs.ConnectionZSideAccessPointProfile'] = None, + provider_connection_id: Optional[str] = None, + router: Optional['outputs.ConnectionZSideAccessPointRouter'] = None, + routing_protocols: Optional[Sequence['outputs.ConnectionZSideAccessPointRoutingProtocol']] = None, + seller_region: Optional[str] = None, + type: Optional[str] = None, + virtual_device: Optional['outputs.ConnectionZSideAccessPointVirtualDevice'] = None): """ - pulumi.set(__self__, "type", type) - if allow_bandwidth_auto_approval is not None: - pulumi.set(__self__, "allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) - if allow_bandwidth_upgrade is not None: - pulumi.set(__self__, "allow_bandwidth_upgrade", allow_bandwidth_upgrade) - if allow_custom_bandwidth is not None: - pulumi.set(__self__, "allow_custom_bandwidth", allow_custom_bandwidth) - if allow_remote_connections is not None: - pulumi.set(__self__, "allow_remote_connections", allow_remote_connections) - if api_config is not None: - pulumi.set(__self__, "api_config", api_config) + :param 'ConnectionZSideAccessPointAccountArgs' account: Account + :param str authentication_key: Authentication key for provider based connections + :param 'ConnectionZSideAccessPointInterfaceArgs' interface: Virtual device interface + :param 'ConnectionZSideAccessPointLinkProtocolArgs' link_protocol: Connection link protocol + :param 'ConnectionZSideAccessPointLocationArgs' location: Access point location + :param Union[str, 'AccessPointPeeringType'] peering_type: Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + :param 'ConnectionZSideAccessPointPortArgs' port: Port access point information + :param 'ConnectionZSideAccessPointProfileArgs' profile: Service Profile + :param str provider_connection_id: Provider assigned Connection Id + :param 'ConnectionZSideAccessPointRouterArgs' router: Cloud Router access point information that replaces `gateway` (refers to below for nested schema) + :param Sequence['ConnectionZSideAccessPointRoutingProtocolArgs'] routing_protocols: Access point routing protocols configuration + :param str seller_region: Access point seller region + :param Union[str, 'AccessPointType'] type: Interface type + :param 'ConnectionZSideAccessPointVirtualDeviceArgs' virtual_device: Virtual device + """ + ConnectionZSideAccessPoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + account=account, + authentication_key=authentication_key, + gateway=gateway, + interface=interface, + link_protocol=link_protocol, + location=location, + network=network, + peering_type=peering_type, + port=port, + profile=profile, + provider_connection_id=provider_connection_id, + router=router, + routing_protocols=routing_protocols, + seller_region=seller_region, + type=type, + virtual_device=virtual_device, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account: Optional['outputs.ConnectionZSideAccessPointAccount'] = None, + authentication_key: Optional[str] = None, + gateway: Optional['outputs.ConnectionZSideAccessPointGateway'] = None, + interface: Optional['outputs.ConnectionZSideAccessPointInterface'] = None, + link_protocol: Optional['outputs.ConnectionZSideAccessPointLinkProtocol'] = None, + location: Optional['outputs.ConnectionZSideAccessPointLocation'] = None, + network: Optional['outputs.ConnectionZSideAccessPointNetwork'] = None, + peering_type: Optional[str] = None, + port: Optional['outputs.ConnectionZSideAccessPointPort'] = None, + profile: Optional['outputs.ConnectionZSideAccessPointProfile'] = None, + provider_connection_id: Optional[str] = None, + router: Optional['outputs.ConnectionZSideAccessPointRouter'] = None, + routing_protocols: Optional[Sequence['outputs.ConnectionZSideAccessPointRoutingProtocol']] = None, + seller_region: Optional[str] = None, + type: Optional[str] = None, + virtual_device: Optional['outputs.ConnectionZSideAccessPointVirtualDevice'] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authenticationKey' in kwargs: + authentication_key = kwargs['authenticationKey'] + if 'linkProtocol' in kwargs: + link_protocol = kwargs['linkProtocol'] + if 'peeringType' in kwargs: + peering_type = kwargs['peeringType'] + if 'providerConnectionId' in kwargs: + provider_connection_id = kwargs['providerConnectionId'] + if 'routingProtocols' in kwargs: + routing_protocols = kwargs['routingProtocols'] + if 'sellerRegion' in kwargs: + seller_region = kwargs['sellerRegion'] + if 'virtualDevice' in kwargs: + virtual_device = kwargs['virtualDevice'] + + if account is not None: + _setter("account", account) if authentication_key is not None: - pulumi.set(__self__, "authentication_key", authentication_key) - if bandwidth_alert_threshold is not None: - pulumi.set(__self__, "bandwidth_alert_threshold", bandwidth_alert_threshold) - if connection_label is not None: - pulumi.set(__self__, "connection_label", connection_label) - if connection_redundancy_required is not None: - pulumi.set(__self__, "connection_redundancy_required", connection_redundancy_required) - if enable_auto_generate_service_key is not None: - pulumi.set(__self__, "enable_auto_generate_service_key", enable_auto_generate_service_key) - if link_protocol_config is not None: - pulumi.set(__self__, "link_protocol_config", link_protocol_config) - if supported_bandwidths is not None: - pulumi.set(__self__, "supported_bandwidths", supported_bandwidths) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("authentication_key", authentication_key) + if gateway is not None: + _setter("gateway", gateway) + if interface is not None: + _setter("interface", interface) + if link_protocol is not None: + _setter("link_protocol", link_protocol) + if location is not None: + _setter("location", location) + if network is not None: + _setter("network", network) + if peering_type is not None: + _setter("peering_type", peering_type) + if port is not None: + _setter("port", port) + if profile is not None: + _setter("profile", profile) + if provider_connection_id is not None: + _setter("provider_connection_id", provider_connection_id) + if router is not None: + _setter("router", router) + if routing_protocols is not None: + _setter("routing_protocols", routing_protocols) + if seller_region is not None: + _setter("seller_region", seller_region) + if type is not None: + _setter("type", type) + if virtual_device is not None: + _setter("virtual_device", virtual_device) @property @pulumi.getter - def type(self) -> str: + def account(self) -> Optional['outputs.ConnectionZSideAccessPointAccount']: """ - Type of access point type config - VD, COLO + Account """ - return pulumi.get(self, "type") + return pulumi.get(self, "account") @property - @pulumi.getter(name="allowBandwidthAutoApproval") - def allow_bandwidth_auto_approval(self) -> Optional[bool]: + @pulumi.getter(name="authenticationKey") + def authentication_key(self) -> Optional[str]: """ - Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller + Authentication key for provider based connections """ - return pulumi.get(self, "allow_bandwidth_auto_approval") + return pulumi.get(self, "authentication_key") @property - @pulumi.getter(name="allowBandwidthUpgrade") - def allow_bandwidth_upgrade(self) -> Optional[bool]: + @pulumi.getter + def gateway(self) -> Optional['outputs.ConnectionZSideAccessPointGateway']: + warnings.warn("""use router attribute instead; gateway is no longer a part of the supported backend""", DeprecationWarning) + pulumi.log.warn("""gateway is deprecated: use router attribute instead; gateway is no longer a part of the supported backend""") + + return pulumi.get(self, "gateway") + + @property + @pulumi.getter + def interface(self) -> Optional['outputs.ConnectionZSideAccessPointInterface']: """ - Availability of a bandwidth upgrade. The default is false + Virtual device interface """ - return pulumi.get(self, "allow_bandwidth_upgrade") + return pulumi.get(self, "interface") @property - @pulumi.getter(name="allowCustomBandwidth") - def allow_custom_bandwidth(self) -> Optional[bool]: + @pulumi.getter(name="linkProtocol") + def link_protocol(self) -> Optional['outputs.ConnectionZSideAccessPointLinkProtocol']: """ - Setting to enable or disable the ability of the buyer to customize the bandwidth + Connection link protocol """ - return pulumi.get(self, "allow_custom_bandwidth") + return pulumi.get(self, "link_protocol") @property - @pulumi.getter(name="allowRemoteConnections") - def allow_remote_connections(self) -> Optional[bool]: + @pulumi.getter + def location(self) -> Optional['outputs.ConnectionZSideAccessPointLocation']: """ - Setting to allow or prohibit remote connections to the service profile + Access point location """ - return pulumi.get(self, "allow_remote_connections") + return pulumi.get(self, "location") @property - @pulumi.getter(name="apiConfig") - def api_config(self) -> Optional['outputs.ServiceProfileAccessPointTypeConfigApiConfig']: + @pulumi.getter + def network(self) -> Optional['outputs.ConnectionZSideAccessPointNetwork']: + return pulumi.get(self, "network") + + @property + @pulumi.getter(name="peeringType") + def peering_type(self) -> Optional[str]: """ - Api configuration details + Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL """ - return pulumi.get(self, "api_config") + return pulumi.get(self, "peering_type") @property - @pulumi.getter(name="authenticationKey") - def authentication_key(self) -> Optional['outputs.ServiceProfileAccessPointTypeConfigAuthenticationKey']: + @pulumi.getter + def port(self) -> Optional['outputs.ConnectionZSideAccessPointPort']: """ - Authentication key details + Port access point information """ - return pulumi.get(self, "authentication_key") + return pulumi.get(self, "port") @property - @pulumi.getter(name="bandwidthAlertThreshold") - def bandwidth_alert_threshold(self) -> Optional[float]: + @pulumi.getter + def profile(self) -> Optional['outputs.ConnectionZSideAccessPointProfile']: """ - Percentage of port bandwidth at which an allocation alert is generated + Service Profile """ - return pulumi.get(self, "bandwidth_alert_threshold") + return pulumi.get(self, "profile") @property - @pulumi.getter(name="connectionLabel") - def connection_label(self) -> Optional[str]: + @pulumi.getter(name="providerConnectionId") + def provider_connection_id(self) -> Optional[str]: """ - Custom name for Connection + Provider assigned Connection Id """ - return pulumi.get(self, "connection_label") + return pulumi.get(self, "provider_connection_id") @property - @pulumi.getter(name="connectionRedundancyRequired") - def connection_redundancy_required(self) -> Optional[bool]: + @pulumi.getter + def router(self) -> Optional['outputs.ConnectionZSideAccessPointRouter']: """ - Mandate redundant connections + Cloud Router access point information that replaces `gateway` (refers to below for nested schema) """ - return pulumi.get(self, "connection_redundancy_required") + return pulumi.get(self, "router") @property - @pulumi.getter(name="enableAutoGenerateServiceKey") - def enable_auto_generate_service_key(self) -> Optional[bool]: + @pulumi.getter(name="routingProtocols") + def routing_protocols(self) -> Optional[Sequence['outputs.ConnectionZSideAccessPointRoutingProtocol']]: """ - Enable auto generate service key + Access point routing protocols configuration """ - return pulumi.get(self, "enable_auto_generate_service_key") + return pulumi.get(self, "routing_protocols") @property - @pulumi.getter(name="linkProtocolConfig") - def link_protocol_config(self) -> Optional['outputs.ServiceProfileAccessPointTypeConfigLinkProtocolConfig']: + @pulumi.getter(name="sellerRegion") + def seller_region(self) -> Optional[str]: """ - Link protocol configuration details + Access point seller region """ - return pulumi.get(self, "link_protocol_config") + return pulumi.get(self, "seller_region") @property - @pulumi.getter(name="supportedBandwidths") - def supported_bandwidths(self) -> Optional[Sequence[int]]: + @pulumi.getter + def type(self) -> Optional[str]: """ - Supported bandwidths + Interface type """ - return pulumi.get(self, "supported_bandwidths") + return pulumi.get(self, "type") @property - @pulumi.getter - def uuid(self) -> Optional[str]: + @pulumi.getter(name="virtualDevice") + def virtual_device(self) -> Optional['outputs.ConnectionZSideAccessPointVirtualDevice']: """ - Colo/Port Uuid + Virtual device """ - return pulumi.get(self, "uuid") + return pulumi.get(self, "virtual_device") @pulumi.output_type -class ServiceProfileAccessPointTypeConfigApiConfig(dict): +class ConnectionZSideAccessPointAccount(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "allowOverSubscription": - suggest = "allow_over_subscription" - elif key == "apiAvailable": - suggest = "api_available" - elif key == "bandwidthFromApi": - suggest = "bandwidth_from_api" - elif key == "equinixManagedPort": - suggest = "equinix_managed_port" - elif key == "equinixManagedVlan": - suggest = "equinix_managed_vlan" - elif key == "integrationId": - suggest = "integration_id" - elif key == "overSubscriptionLimit": - suggest = "over_subscription_limit" + if key == "accountName": + suggest = "account_name" + elif key == "accountNumber": + suggest = "account_number" + elif key == "globalCustId": + suggest = "global_cust_id" + elif key == "globalOrgId": + suggest = "global_org_id" + elif key == "globalOrganizationName": + suggest = "global_organization_name" + elif key == "orgId": + suggest = "org_id" + elif key == "organizationName": + suggest = "organization_name" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfileAccessPointTypeConfigApiConfig. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ConnectionZSideAccessPointAccount. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ServiceProfileAccessPointTypeConfigApiConfig.__key_warning(key) + ConnectionZSideAccessPointAccount.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ServiceProfileAccessPointTypeConfigApiConfig.__key_warning(key) + ConnectionZSideAccessPointAccount.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - allow_over_subscription: Optional[bool] = None, - api_available: Optional[bool] = None, - bandwidth_from_api: Optional[bool] = None, - equinix_managed_port: Optional[bool] = None, - equinix_managed_vlan: Optional[bool] = None, - integration_id: Optional[str] = None, - over_subscription_limit: Optional[int] = None): - if allow_over_subscription is not None: - pulumi.set(__self__, "allow_over_subscription", allow_over_subscription) - if api_available is not None: - pulumi.set(__self__, "api_available", api_available) - if bandwidth_from_api is not None: - pulumi.set(__self__, "bandwidth_from_api", bandwidth_from_api) - if equinix_managed_port is not None: - pulumi.set(__self__, "equinix_managed_port", equinix_managed_port) - if equinix_managed_vlan is not None: - pulumi.set(__self__, "equinix_managed_vlan", equinix_managed_vlan) - if integration_id is not None: - pulumi.set(__self__, "integration_id", integration_id) - if over_subscription_limit is not None: - pulumi.set(__self__, "over_subscription_limit", over_subscription_limit) + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None): + ConnectionZSideAccessPointAccount._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] - @property - @pulumi.getter(name="allowOverSubscription") - def allow_over_subscription(self) -> Optional[bool]: - return pulumi.get(self, "allow_over_subscription") + if account_name is not None: + _setter("account_name", account_name) + if account_number is not None: + _setter("account_number", account_number) + if global_cust_id is not None: + _setter("global_cust_id", global_cust_id) + if global_org_id is not None: + _setter("global_org_id", global_org_id) + if global_organization_name is not None: + _setter("global_organization_name", global_organization_name) + if org_id is not None: + _setter("org_id", org_id) + if organization_name is not None: + _setter("organization_name", organization_name) @property - @pulumi.getter(name="apiAvailable") - def api_available(self) -> Optional[bool]: - return pulumi.get(self, "api_available") + @pulumi.getter(name="accountName") + def account_name(self) -> Optional[str]: + return pulumi.get(self, "account_name") @property - @pulumi.getter(name="bandwidthFromApi") - def bandwidth_from_api(self) -> Optional[bool]: - return pulumi.get(self, "bandwidth_from_api") + @pulumi.getter(name="accountNumber") + def account_number(self) -> Optional[int]: + return pulumi.get(self, "account_number") @property - @pulumi.getter(name="equinixManagedPort") - def equinix_managed_port(self) -> Optional[bool]: - return pulumi.get(self, "equinix_managed_port") + @pulumi.getter(name="globalCustId") + def global_cust_id(self) -> Optional[str]: + return pulumi.get(self, "global_cust_id") @property - @pulumi.getter(name="equinixManagedVlan") - def equinix_managed_vlan(self) -> Optional[bool]: - return pulumi.get(self, "equinix_managed_vlan") + @pulumi.getter(name="globalOrgId") + def global_org_id(self) -> Optional[str]: + return pulumi.get(self, "global_org_id") @property - @pulumi.getter(name="integrationId") - def integration_id(self) -> Optional[str]: - return pulumi.get(self, "integration_id") + @pulumi.getter(name="globalOrganizationName") + def global_organization_name(self) -> Optional[str]: + return pulumi.get(self, "global_organization_name") @property - @pulumi.getter(name="overSubscriptionLimit") - def over_subscription_limit(self) -> Optional[int]: - return pulumi.get(self, "over_subscription_limit") + @pulumi.getter(name="orgId") + def org_id(self) -> Optional[int]: + return pulumi.get(self, "org_id") + + @property + @pulumi.getter(name="organizationName") + def organization_name(self) -> Optional[str]: + return pulumi.get(self, "organization_name") @pulumi.output_type -class ServiceProfileAccessPointTypeConfigAuthenticationKey(dict): +class ConnectionZSideAccessPointGateway(dict): def __init__(__self__, *, - description: Optional[str] = None, - label: Optional[str] = None, - required: Optional[bool] = None): + href: Optional[str] = None, + uuid: Optional[str] = None): """ - :param str description: User-provided service description + :param str href: Unique Resource Identifier + :param str uuid: Equinix-assigned interface identifier """ - if description is not None: - pulumi.set(__self__, "description", description) - if label is not None: - pulumi.set(__self__, "label", label) - if required is not None: - pulumi.set(__self__, "required", required) + ConnectionZSideAccessPointGateway._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if href is not None: + _setter("href", href) + if uuid is not None: + _setter("uuid", uuid) @property @pulumi.getter - def description(self) -> Optional[str]: + def href(self) -> Optional[str]: """ - User-provided service description + Unique Resource Identifier """ - return pulumi.get(self, "description") + return pulumi.get(self, "href") @property @pulumi.getter - def label(self) -> Optional[str]: - return pulumi.get(self, "label") + def uuid(self) -> Optional[str]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") + + +@pulumi.output_type +class ConnectionZSideAccessPointInterface(dict): + def __init__(__self__, *, + id: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None): + """ + :param str id: id + :param str type: Interface type + :param str uuid: Equinix-assigned interface identifier + """ + ConnectionZSideAccessPointInterface._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if id is not None: + _setter("id", id) + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) @property @pulumi.getter - def required(self) -> Optional[bool]: - return pulumi.get(self, "required") + def id(self) -> Optional[str]: + """ + id + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + Interface type + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> Optional[str]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") @pulumi.output_type -class ServiceProfileAccessPointTypeConfigLinkProtocolConfig(dict): +class ConnectionZSideAccessPointLinkProtocol(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "encapsulationStrategy": - suggest = "encapsulation_strategy" - elif key == "reuseVlanSTag": - suggest = "reuse_vlan_s_tag" + if key == "vlanCTag": + suggest = "vlan_c_tag" + elif key == "vlanSTag": + suggest = "vlan_s_tag" + elif key == "vlanTag": + suggest = "vlan_tag" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfileAccessPointTypeConfigLinkProtocolConfig. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ConnectionZSideAccessPointLinkProtocol. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ServiceProfileAccessPointTypeConfigLinkProtocolConfig.__key_warning(key) + ConnectionZSideAccessPointLinkProtocol.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ServiceProfileAccessPointTypeConfigLinkProtocolConfig.__key_warning(key) + ConnectionZSideAccessPointLinkProtocol.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - encapsulation: Optional[str] = None, - encapsulation_strategy: Optional[str] = None, - reuse_vlan_s_tag: Optional[bool] = None): - if encapsulation is not None: - pulumi.set(__self__, "encapsulation", encapsulation) - if encapsulation_strategy is not None: - pulumi.set(__self__, "encapsulation_strategy", encapsulation_strategy) - if reuse_vlan_s_tag is not None: - pulumi.set(__self__, "reuse_vlan_s_tag", reuse_vlan_s_tag) + type: Optional[str] = None, + vlan_c_tag: Optional[int] = None, + vlan_s_tag: Optional[int] = None, + vlan_tag: Optional[int] = None): + """ + :param Union[str, 'AccessPointLinkProtocolType'] type: Interface type + :param int vlan_c_tag: Vlan Customer Tag information, vlanCTag value specified for QINQ connections + :param int vlan_s_tag: Vlan Provider Tag information, vlanSTag value specified for QINQ connections + :param int vlan_tag: Vlan Tag information, vlanTag value specified for DOT1Q connections + """ + ConnectionZSideAccessPointLinkProtocol._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + vlan_c_tag=vlan_c_tag, + vlan_s_tag=vlan_s_tag, + vlan_tag=vlan_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[str] = None, + vlan_c_tag: Optional[int] = None, + vlan_s_tag: Optional[int] = None, + vlan_tag: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'vlanCTag' in kwargs: + vlan_c_tag = kwargs['vlanCTag'] + if 'vlanSTag' in kwargs: + vlan_s_tag = kwargs['vlanSTag'] + if 'vlanTag' in kwargs: + vlan_tag = kwargs['vlanTag'] + + if type is not None: + _setter("type", type) + if vlan_c_tag is not None: + _setter("vlan_c_tag", vlan_c_tag) + if vlan_s_tag is not None: + _setter("vlan_s_tag", vlan_s_tag) + if vlan_tag is not None: + _setter("vlan_tag", vlan_tag) @property @pulumi.getter - def encapsulation(self) -> Optional[str]: - return pulumi.get(self, "encapsulation") + def type(self) -> Optional[str]: + """ + Interface type + """ + return pulumi.get(self, "type") @property - @pulumi.getter(name="encapsulationStrategy") - def encapsulation_strategy(self) -> Optional[str]: - return pulumi.get(self, "encapsulation_strategy") + @pulumi.getter(name="vlanCTag") + def vlan_c_tag(self) -> Optional[int]: + """ + Vlan Customer Tag information, vlanCTag value specified for QINQ connections + """ + return pulumi.get(self, "vlan_c_tag") @property - @pulumi.getter(name="reuseVlanSTag") - def reuse_vlan_s_tag(self) -> Optional[bool]: - return pulumi.get(self, "reuse_vlan_s_tag") + @pulumi.getter(name="vlanSTag") + def vlan_s_tag(self) -> Optional[int]: + """ + Vlan Provider Tag information, vlanSTag value specified for QINQ connections + """ + return pulumi.get(self, "vlan_s_tag") + + @property + @pulumi.getter(name="vlanTag") + def vlan_tag(self) -> Optional[int]: + """ + Vlan Tag information, vlanTag value specified for DOT1Q connections + """ + return pulumi.get(self, "vlan_tag") @pulumi.output_type -class ServiceProfileAccount(dict): +class ConnectionZSideAccessPointLocation(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "accountName": - suggest = "account_name" - elif key == "accountNumber": - suggest = "account_number" - elif key == "globalCustId": - suggest = "global_cust_id" - elif key == "globalOrgId": - suggest = "global_org_id" - elif key == "globalOrganizationName": - suggest = "global_organization_name" - elif key == "orgId": - suggest = "org_id" - elif key == "organizationName": - suggest = "organization_name" - elif key == "ucmId": - suggest = "ucm_id" + if key == "metroCode": + suggest = "metro_code" + elif key == "metroName": + suggest = "metro_name" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfileAccount. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ConnectionZSideAccessPointLocation. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ServiceProfileAccount.__key_warning(key) + ConnectionZSideAccessPointLocation.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ServiceProfileAccount.__key_warning(key) + ConnectionZSideAccessPointLocation.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - account_name: Optional[str] = None, - account_number: Optional[int] = None, - global_cust_id: Optional[str] = None, - global_org_id: Optional[str] = None, - global_organization_name: Optional[str] = None, - org_id: Optional[int] = None, - organization_name: Optional[str] = None, - ucm_id: Optional[str] = None): - """ - :param str account_name: Account Name - :param int account_number: Account Number - :param str global_cust_id: Global Customer organization identifier - :param str global_org_id: Global organization identifier - :param str global_organization_name: Global organization name - :param int org_id: Customer organization identifier - :param str organization_name: Customer organization name - :param str ucm_id: Enterprise datastore id + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None): """ - if account_name is not None: - pulumi.set(__self__, "account_name", account_name) - if account_number is not None: - pulumi.set(__self__, "account_number", account_number) - if global_cust_id is not None: - pulumi.set(__self__, "global_cust_id", global_cust_id) - if global_org_id is not None: - pulumi.set(__self__, "global_org_id", global_org_id) - if global_organization_name is not None: - pulumi.set(__self__, "global_organization_name", global_organization_name) - if org_id is not None: - pulumi.set(__self__, "org_id", org_id) - if organization_name is not None: - pulumi.set(__self__, "organization_name", organization_name) - if ucm_id is not None: - pulumi.set(__self__, "ucm_id", ucm_id) + :param str ibx: IBX Code + :param Union[str, '_root_enums.Metro'] metro_code: Access point metro code + :param str metro_name: Access point metro name + :param str region: Access point region + """ + ConnectionZSideAccessPointLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + + if ibx is not None: + _setter("ibx", ibx) + if metro_code is not None: + _setter("metro_code", metro_code) + if metro_name is not None: + _setter("metro_name", metro_name) + if region is not None: + _setter("region", region) @property - @pulumi.getter(name="accountName") - def account_name(self) -> Optional[str]: + @pulumi.getter + def ibx(self) -> Optional[str]: """ - Account Name + IBX Code """ - return pulumi.get(self, "account_name") + return pulumi.get(self, "ibx") @property - @pulumi.getter(name="accountNumber") - def account_number(self) -> Optional[int]: + @pulumi.getter(name="metroCode") + def metro_code(self) -> Optional[str]: """ - Account Number + Access point metro code """ - return pulumi.get(self, "account_number") + return pulumi.get(self, "metro_code") @property - @pulumi.getter(name="globalCustId") - def global_cust_id(self) -> Optional[str]: + @pulumi.getter(name="metroName") + def metro_name(self) -> Optional[str]: """ - Global Customer organization identifier + Access point metro name """ - return pulumi.get(self, "global_cust_id") + return pulumi.get(self, "metro_name") @property - @pulumi.getter(name="globalOrgId") - def global_org_id(self) -> Optional[str]: + @pulumi.getter + def region(self) -> Optional[str]: """ - Global organization identifier + Access point region """ - return pulumi.get(self, "global_org_id") + return pulumi.get(self, "region") - @property - @pulumi.getter(name="globalOrganizationName") - def global_organization_name(self) -> Optional[str]: + +@pulumi.output_type +class ConnectionZSideAccessPointNetwork(dict): + def __init__(__self__, *, + href: Optional[str] = None, + uuid: Optional[str] = None): """ - Global organization name + :param str href: Unique Resource Identifier + :param str uuid: Equinix-assigned interface identifier """ - return pulumi.get(self, "global_organization_name") + ConnectionZSideAccessPointNetwork._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter(name="orgId") - def org_id(self) -> Optional[int]: - """ - Customer organization identifier - """ - return pulumi.get(self, "org_id") + if href is not None: + _setter("href", href) + if uuid is not None: + _setter("uuid", uuid) @property - @pulumi.getter(name="organizationName") - def organization_name(self) -> Optional[str]: + @pulumi.getter + def href(self) -> Optional[str]: """ - Customer organization name + Unique Resource Identifier """ - return pulumi.get(self, "organization_name") + return pulumi.get(self, "href") @property - @pulumi.getter(name="ucmId") - def ucm_id(self) -> Optional[str]: + @pulumi.getter + def uuid(self) -> Optional[str]: """ - Enterprise datastore id + Equinix-assigned interface identifier """ - return pulumi.get(self, "ucm_id") + return pulumi.get(self, "uuid") @pulumi.output_type -class ServiceProfileChangeLog(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "createdBy": - suggest = "created_by" - elif key == "createdByEmail": - suggest = "created_by_email" - elif key == "createdByFullName": - suggest = "created_by_full_name" - elif key == "createdDateTime": - suggest = "created_date_time" - elif key == "deletedBy": - suggest = "deleted_by" - elif key == "deletedByEmail": - suggest = "deleted_by_email" - elif key == "deletedByFullName": - suggest = "deleted_by_full_name" - elif key == "deletedDateTime": - suggest = "deleted_date_time" - elif key == "updatedBy": - suggest = "updated_by" - elif key == "updatedByEmail": - suggest = "updated_by_email" - elif key == "updatedByFullName": - suggest = "updated_by_full_name" - elif key == "updatedDateTime": - suggest = "updated_date_time" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfileChangeLog. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ServiceProfileChangeLog.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ServiceProfileChangeLog.__key_warning(key) - return super().get(key, default) - +class ConnectionZSideAccessPointPort(dict): def __init__(__self__, *, - created_by: Optional[str] = None, - created_by_email: Optional[str] = None, - created_by_full_name: Optional[str] = None, - created_date_time: Optional[str] = None, - deleted_by: Optional[str] = None, - deleted_by_email: Optional[str] = None, - deleted_by_full_name: Optional[str] = None, - deleted_date_time: Optional[str] = None, - updated_by: Optional[str] = None, - updated_by_email: Optional[str] = None, - updated_by_full_name: Optional[str] = None, - updated_date_time: Optional[str] = None): - if created_by is not None: - pulumi.set(__self__, "created_by", created_by) - if created_by_email is not None: - pulumi.set(__self__, "created_by_email", created_by_email) - if created_by_full_name is not None: - pulumi.set(__self__, "created_by_full_name", created_by_full_name) - if created_date_time is not None: - pulumi.set(__self__, "created_date_time", created_date_time) - if deleted_by is not None: - pulumi.set(__self__, "deleted_by", deleted_by) - if deleted_by_email is not None: - pulumi.set(__self__, "deleted_by_email", deleted_by_email) - if deleted_by_full_name is not None: - pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) - if deleted_date_time is not None: - pulumi.set(__self__, "deleted_date_time", deleted_date_time) - if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) - if updated_by_email is not None: - pulumi.set(__self__, "updated_by_email", updated_by_email) - if updated_by_full_name is not None: - pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) - if updated_date_time is not None: - pulumi.set(__self__, "updated_date_time", updated_date_time) - - @property - @pulumi.getter(name="createdBy") - def created_by(self) -> Optional[str]: - return pulumi.get(self, "created_by") - - @property - @pulumi.getter(name="createdByEmail") - def created_by_email(self) -> Optional[str]: - return pulumi.get(self, "created_by_email") - - @property - @pulumi.getter(name="createdByFullName") - def created_by_full_name(self) -> Optional[str]: - return pulumi.get(self, "created_by_full_name") + href: Optional[str] = None, + name: Optional[str] = None, + redundancies: Optional[Sequence['outputs.ConnectionZSideAccessPointPortRedundancy']] = None, + uuid: Optional[str] = None): + """ + :param str href: Unique Resource Identifier + :param str name: Port name + :param Sequence['ConnectionZSideAccessPointPortRedundancyArgs'] redundancies: Redundancy Information + :param str uuid: Equinix-assigned interface identifier + """ + ConnectionZSideAccessPointPort._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + name=name, + redundancies=redundancies, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + name: Optional[str] = None, + redundancies: Optional[Sequence['outputs.ConnectionZSideAccessPointPortRedundancy']] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter(name="createdDateTime") - def created_date_time(self) -> Optional[str]: - return pulumi.get(self, "created_date_time") + if href is not None: + _setter("href", href) + if name is not None: + _setter("name", name) + if redundancies is not None: + _setter("redundancies", redundancies) + if uuid is not None: + _setter("uuid", uuid) @property - @pulumi.getter(name="deletedBy") - def deleted_by(self) -> Optional[str]: - return pulumi.get(self, "deleted_by") + @pulumi.getter + def href(self) -> Optional[str]: + """ + Unique Resource Identifier + """ + return pulumi.get(self, "href") @property - @pulumi.getter(name="deletedByEmail") - def deleted_by_email(self) -> Optional[str]: - return pulumi.get(self, "deleted_by_email") + @pulumi.getter + def name(self) -> Optional[str]: + """ + Port name + """ + return pulumi.get(self, "name") @property - @pulumi.getter(name="deletedByFullName") - def deleted_by_full_name(self) -> Optional[str]: - return pulumi.get(self, "deleted_by_full_name") + @pulumi.getter + def redundancies(self) -> Optional[Sequence['outputs.ConnectionZSideAccessPointPortRedundancy']]: + """ + Redundancy Information + """ + return pulumi.get(self, "redundancies") @property - @pulumi.getter(name="deletedDateTime") - def deleted_date_time(self) -> Optional[str]: - return pulumi.get(self, "deleted_date_time") + @pulumi.getter + def uuid(self) -> Optional[str]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") - @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> Optional[str]: - return pulumi.get(self, "updated_by") - @property - @pulumi.getter(name="updatedByEmail") - def updated_by_email(self) -> Optional[str]: - return pulumi.get(self, "updated_by_email") +@pulumi.output_type +class ConnectionZSideAccessPointPortRedundancy(dict): + def __init__(__self__, *, + priority: Optional[str] = None): + """ + :param str priority: Priority type- PRIMARY, SECONDARY + """ + ConnectionZSideAccessPointPortRedundancy._configure( + lambda key, value: pulumi.set(__self__, key, value), + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + priority: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter(name="updatedByFullName") - def updated_by_full_name(self) -> Optional[str]: - return pulumi.get(self, "updated_by_full_name") + if priority is not None: + _setter("priority", priority) @property - @pulumi.getter(name="updatedDateTime") - def updated_date_time(self) -> Optional[str]: - return pulumi.get(self, "updated_date_time") + @pulumi.getter + def priority(self) -> Optional[str]: + """ + Priority type- PRIMARY, SECONDARY + """ + return pulumi.get(self, "priority") @pulumi.output_type -class ServiceProfileCustomField(dict): +class ConnectionZSideAccessPointProfile(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "dataType": - suggest = "data_type" - elif key == "captureInEmail": - suggest = "capture_in_email" + if key == "accessPointTypeConfigs": + suggest = "access_point_type_configs" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfileCustomField. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ConnectionZSideAccessPointProfile. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ServiceProfileCustomField.__key_warning(key) + ConnectionZSideAccessPointProfile.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ServiceProfileCustomField.__key_warning(key) + ConnectionZSideAccessPointProfile.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - data_type: str, - label: str, - required: bool, - capture_in_email: Optional[bool] = None, + type: str, + uuid: str, + access_point_type_configs: Optional[Sequence['outputs.ConnectionZSideAccessPointProfileAccessPointTypeConfig']] = None, description: Optional[str] = None, - options: Optional[Sequence[str]] = None): + href: Optional[str] = None, + name: Optional[str] = None): """ - :param str data_type: Data type - :param str label: Label - :param bool required: Required field - :param bool capture_in_email: Required field - :param str description: Description - :param Sequence[str] options: Options + :param Union[str, 'ProfileType'] type: Interface type + :param str uuid: Equinix-assigned interface identifier + :param Sequence['ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs'] access_point_type_configs: Access point config information + :param str description: User-provided service description + :param str href: Unique Resource Identifier + :param str name: Port name """ - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "required", required) - if capture_in_email is not None: - pulumi.set(__self__, "capture_in_email", capture_in_email) + ConnectionZSideAccessPointProfile._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uuid=uuid, + access_point_type_configs=access_point_type_configs, + description=description, + href=href, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uuid: str, + access_point_type_configs: Optional[Sequence['outputs.ConnectionZSideAccessPointProfileAccessPointTypeConfig']] = None, + description: Optional[str] = None, + href: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPointTypeConfigs' in kwargs: + access_point_type_configs = kwargs['accessPointTypeConfigs'] + + _setter("type", type) + _setter("uuid", uuid) + if access_point_type_configs is not None: + _setter("access_point_type_configs", access_point_type_configs) if description is not None: - pulumi.set(__self__, "description", description) - if options is not None: - pulumi.set(__self__, "options", options) - - @property - @pulumi.getter(name="dataType") - def data_type(self) -> str: - """ - Data type - """ - return pulumi.get(self, "data_type") + _setter("description", description) + if href is not None: + _setter("href", href) + if name is not None: + _setter("name", name) @property @pulumi.getter - def label(self) -> str: + def type(self) -> str: """ - Label + Interface type """ - return pulumi.get(self, "label") + return pulumi.get(self, "type") @property @pulumi.getter - def required(self) -> bool: + def uuid(self) -> str: """ - Required field + Equinix-assigned interface identifier """ - return pulumi.get(self, "required") + return pulumi.get(self, "uuid") @property - @pulumi.getter(name="captureInEmail") - def capture_in_email(self) -> Optional[bool]: + @pulumi.getter(name="accessPointTypeConfigs") + def access_point_type_configs(self) -> Optional[Sequence['outputs.ConnectionZSideAccessPointProfileAccessPointTypeConfig']]: """ - Required field + Access point config information """ - return pulumi.get(self, "capture_in_email") + return pulumi.get(self, "access_point_type_configs") @property @pulumi.getter def description(self) -> Optional[str]: """ - Description + User-provided service description """ return pulumi.get(self, "description") @property @pulumi.getter - def options(self) -> Optional[Sequence[str]]: + def href(self) -> Optional[str]: """ - Options + Unique Resource Identifier """ - return pulumi.get(self, "options") - + return pulumi.get(self, "href") -@pulumi.output_type -class ServiceProfileMarketingInfo(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "processSteps": - suggest = "process_steps" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfileMarketingInfo. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ServiceProfileMarketingInfo.__key_warning(key) - return super().__getitem__(key) + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Port name + """ + return pulumi.get(self, "name") - def get(self, key: str, default = None) -> Any: - ServiceProfileMarketingInfo.__key_warning(key) - return super().get(key, default) +@pulumi.output_type +class ConnectionZSideAccessPointProfileAccessPointTypeConfig(dict): def __init__(__self__, *, - logo: Optional[str] = None, - process_steps: Optional[Sequence['outputs.ServiceProfileMarketingInfoProcessStep']] = None, - promotion: Optional[bool] = None): + type: Optional[str] = None, + uuid: Optional[str] = None): """ - :param str logo: Logo - :param Sequence['ServiceProfileMarketingInfoProcessStepArgs'] process_steps: Process Step - :param bool promotion: Promotion + :param str type: Interface type + :param str uuid: Equinix-assigned interface identifier """ - if logo is not None: - pulumi.set(__self__, "logo", logo) - if process_steps is not None: - pulumi.set(__self__, "process_steps", process_steps) - if promotion is not None: - pulumi.set(__self__, "promotion", promotion) + ConnectionZSideAccessPointProfileAccessPointTypeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter - def logo(self) -> Optional[str]: - """ - Logo - """ - return pulumi.get(self, "logo") + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) @property - @pulumi.getter(name="processSteps") - def process_steps(self) -> Optional[Sequence['outputs.ServiceProfileMarketingInfoProcessStep']]: + @pulumi.getter + def type(self) -> Optional[str]: """ - Process Step + Interface type """ - return pulumi.get(self, "process_steps") + return pulumi.get(self, "type") @property @pulumi.getter - def promotion(self) -> Optional[bool]: + def uuid(self) -> Optional[str]: """ - Promotion + Equinix-assigned interface identifier """ - return pulumi.get(self, "promotion") + return pulumi.get(self, "uuid") @pulumi.output_type -class ServiceProfileMarketingInfoProcessStep(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "subTitle": - suggest = "sub_title" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfileMarketingInfoProcessStep. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ServiceProfileMarketingInfoProcessStep.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ServiceProfileMarketingInfoProcessStep.__key_warning(key) - return super().get(key, default) - +class ConnectionZSideAccessPointRouter(dict): def __init__(__self__, *, - description: Optional[str] = None, - sub_title: Optional[str] = None, - title: Optional[str] = None): + href: Optional[str] = None, + uuid: Optional[str] = None): """ - :param str description: User-provided service description + :param str href: Unique Resource Identifier + :param str uuid: Equinix-assigned interface identifier """ - if description is not None: - pulumi.set(__self__, "description", description) - if sub_title is not None: - pulumi.set(__self__, "sub_title", sub_title) - if title is not None: - pulumi.set(__self__, "title", title) + ConnectionZSideAccessPointRouter._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if href is not None: + _setter("href", href) + if uuid is not None: + _setter("uuid", uuid) @property @pulumi.getter - def description(self) -> Optional[str]: + def href(self) -> Optional[str]: """ - User-provided service description + Unique Resource Identifier """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="subTitle") - def sub_title(self) -> Optional[str]: - return pulumi.get(self, "sub_title") + return pulumi.get(self, "href") @property @pulumi.getter - def title(self) -> Optional[str]: - return pulumi.get(self, "title") + def uuid(self) -> Optional[str]: + """ + Equinix-assigned interface identifier + """ + return pulumi.get(self, "uuid") @pulumi.output_type -class ServiceProfileMetro(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "displayName": - suggest = "display_name" - elif key == "inTrail": - suggest = "in_trail" - elif key == "sellerRegions": - suggest = "seller_regions" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfileMetro. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ServiceProfileMetro.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ServiceProfileMetro.__key_warning(key) - return super().get(key, default) - +class ConnectionZSideAccessPointRoutingProtocol(dict): def __init__(__self__, *, - code: Optional[str] = None, - display_name: Optional[str] = None, - ibxs: Optional[Sequence[str]] = None, - in_trail: Optional[bool] = None, - name: Optional[str] = None, - seller_regions: Optional[Mapping[str, str]] = None): + state: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None): """ - :param str code: Metro Code - Example SV - :param str display_name: Display Name - :param Sequence[str] ibxs: IBX- Equinix International Business Exchange list - :param bool in_trail: In Trail - :param str name: Metro Name - :param Mapping[str, str] seller_regions: Seller Regions + :param str state: Routing protocol instance state + :param str type: Interface type + :param str uuid: Equinix-assigned interface identifier """ - if code is not None: - pulumi.set(__self__, "code", code) - if display_name is not None: - pulumi.set(__self__, "display_name", display_name) - if ibxs is not None: - pulumi.set(__self__, "ibxs", ibxs) - if in_trail is not None: - pulumi.set(__self__, "in_trail", in_trail) - if name is not None: - pulumi.set(__self__, "name", name) - if seller_regions is not None: - pulumi.set(__self__, "seller_regions", seller_regions) + ConnectionZSideAccessPointRoutingProtocol._configure( + lambda key, value: pulumi.set(__self__, key, value), + state=state, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + state: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if state is not None: + _setter("state", state) + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) @property @pulumi.getter - def code(self) -> Optional[str]: + def state(self) -> Optional[str]: """ - Metro Code - Example SV + Routing protocol instance state """ - return pulumi.get(self, "code") + return pulumi.get(self, "state") @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[str]: + @pulumi.getter + def type(self) -> Optional[str]: """ - Display Name + Interface type """ - return pulumi.get(self, "display_name") + return pulumi.get(self, "type") @property @pulumi.getter - def ibxs(self) -> Optional[Sequence[str]]: + def uuid(self) -> Optional[str]: """ - IBX- Equinix International Business Exchange list + Equinix-assigned interface identifier """ - return pulumi.get(self, "ibxs") + return pulumi.get(self, "uuid") + + +@pulumi.output_type +class ConnectionZSideAccessPointVirtualDevice(dict): + def __init__(__self__, *, + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None): + """ + :param str href: Unique Resource Identifier + :param str type: Interface type + :param str uuid: Equinix-assigned interface identifier + """ + ConnectionZSideAccessPointVirtualDevice._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if href is not None: + _setter("href", href) + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) @property - @pulumi.getter(name="inTrail") - def in_trail(self) -> Optional[bool]: + @pulumi.getter + def href(self) -> Optional[str]: """ - In Trail + Unique Resource Identifier """ - return pulumi.get(self, "in_trail") + return pulumi.get(self, "href") @property @pulumi.getter - def name(self) -> Optional[str]: + def type(self) -> Optional[str]: """ - Metro Name + Interface type """ - return pulumi.get(self, "name") + return pulumi.get(self, "type") @property - @pulumi.getter(name="sellerRegions") - def seller_regions(self) -> Optional[Mapping[str, str]]: + @pulumi.getter + def uuid(self) -> Optional[str]: """ - Seller Regions + Equinix-assigned interface identifier """ - return pulumi.get(self, "seller_regions") + return pulumi.get(self, "uuid") @pulumi.output_type -class ServiceProfileNotification(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "sendInterval": - suggest = "send_interval" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfileNotification. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ServiceProfileNotification.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ServiceProfileNotification.__key_warning(key) - return super().get(key, default) - +class ConnectionZSideAdditionalInfo(dict): def __init__(__self__, *, - emails: Sequence[str], - type: str, - send_interval: Optional[str] = None): + key: Optional[str] = None, + value: Optional[str] = None): """ - :param Sequence[str] emails: Array of contact emails - :param Union[str, 'NotificationsType'] type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS - :param str send_interval: Send interval + :param str key: Additional information key + :param str value: Additional information value """ - pulumi.set(__self__, "emails", emails) - pulumi.set(__self__, "type", type) - if send_interval is not None: - pulumi.set(__self__, "send_interval", send_interval) + ConnectionZSideAdditionalInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter - def emails(self) -> Sequence[str]: - """ - Array of contact emails - """ - return pulumi.get(self, "emails") + if key is not None: + _setter("key", key) + if value is not None: + _setter("value", value) @property @pulumi.getter - def type(self) -> str: + def key(self) -> Optional[str]: """ - Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + Additional information key """ - return pulumi.get(self, "type") + return pulumi.get(self, "key") @property - @pulumi.getter(name="sendInterval") - def send_interval(self) -> Optional[str]: + @pulumi.getter + def value(self) -> Optional[str]: """ - Send interval + Additional information value """ - return pulumi.get(self, "send_interval") + return pulumi.get(self, "value") @pulumi.output_type -class ServiceProfilePort(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "crossConnectId": - suggest = "cross_connect_id" - elif key == "sellerRegion": - suggest = "seller_region" - elif key == "sellerRegionDescription": - suggest = "seller_region_description" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfilePort. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ServiceProfilePort.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ServiceProfilePort.__key_warning(key) - return super().get(key, default) - +class ConnectionZSideServiceToken(dict): def __init__(__self__, *, - type: str, - uuid: str, - cross_connect_id: Optional[str] = None, - location: Optional['outputs.ServiceProfilePortLocation'] = None, - seller_region: Optional[str] = None, - seller_region_description: Optional[str] = None): - """ - :param str type: Colo/Port Type - :param str uuid: Colo/Port Uuid - :param str cross_connect_id: Cross Connect Id - :param 'ServiceProfilePortLocationArgs' location: Colo/Port Location - :param str seller_region: Seller Region - :param str seller_region_description: Seller Region details + description: Optional[str] = None, + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None): """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) - if cross_connect_id is not None: - pulumi.set(__self__, "cross_connect_id", cross_connect_id) - if location is not None: - pulumi.set(__self__, "location", location) - if seller_region is not None: - pulumi.set(__self__, "seller_region", seller_region) - if seller_region_description is not None: - pulumi.set(__self__, "seller_region_description", seller_region_description) + :param str description: User-provided service description + :param str href: Unique Resource Identifier + :param Union[str, 'ServiceTokenType'] type: Interface type + :param str uuid: Equinix-assigned interface identifier + """ + ConnectionZSideServiceToken._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[str] = None, + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if description is not None: + _setter("description", description) + if href is not None: + _setter("href", href) + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) @property @pulumi.getter - def type(self) -> str: + def description(self) -> Optional[str]: """ - Colo/Port Type + User-provided service description """ - return pulumi.get(self, "type") + return pulumi.get(self, "description") @property @pulumi.getter - def uuid(self) -> str: + def href(self) -> Optional[str]: """ - Colo/Port Uuid + Unique Resource Identifier """ - return pulumi.get(self, "uuid") + return pulumi.get(self, "href") @property - @pulumi.getter(name="crossConnectId") - def cross_connect_id(self) -> Optional[str]: + @pulumi.getter + def type(self) -> Optional[str]: """ - Cross Connect Id + Interface type """ - return pulumi.get(self, "cross_connect_id") + return pulumi.get(self, "type") @property @pulumi.getter - def location(self) -> Optional['outputs.ServiceProfilePortLocation']: + def uuid(self) -> Optional[str]: """ - Colo/Port Location + Equinix-assigned interface identifier """ - return pulumi.get(self, "location") + return pulumi.get(self, "uuid") - @property - @pulumi.getter(name="sellerRegion") - def seller_region(self) -> Optional[str]: - """ - Seller Region - """ - return pulumi.get(self, "seller_region") - @property - @pulumi.getter(name="sellerRegionDescription") - def seller_region_description(self) -> Optional[str]: +@pulumi.output_type +class RoutingProtocolBfd(dict): + def __init__(__self__, *, + enabled: bool, + interval: Optional[str] = None): """ - Seller Region details + :param bool enabled: Bidirectional Forwarding Detection enablement + :param str interval: Interval range between the received BFD control packets """ - return pulumi.get(self, "seller_region_description") - - -@pulumi.output_type -class ServiceProfilePortLocation(dict): + RoutingProtocolBfd._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + interval=interval, + ) @staticmethod - def __key_warning(key: str): - suggest = None - if key == "metroCode": - suggest = "metro_code" - elif key == "metroName": - suggest = "metro_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfilePortLocation. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ServiceProfilePortLocation.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ServiceProfilePortLocation.__key_warning(key) - return super().get(key, default) + def _configure( + _setter: Callable[[Any, Any], None], + enabled: bool, + interval: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - def __init__(__self__, *, - ibx: Optional[str] = None, - metro_code: Optional[str] = None, - metro_name: Optional[str] = None, - region: Optional[str] = None): - if ibx is not None: - pulumi.set(__self__, "ibx", ibx) - if metro_code is not None: - pulumi.set(__self__, "metro_code", metro_code) - if metro_name is not None: - pulumi.set(__self__, "metro_name", metro_name) - if region is not None: - pulumi.set(__self__, "region", region) + _setter("enabled", enabled) + if interval is not None: + _setter("interval", interval) @property @pulumi.getter - def ibx(self) -> Optional[str]: - return pulumi.get(self, "ibx") - - @property - @pulumi.getter(name="metroCode") - def metro_code(self) -> Optional[str]: - return pulumi.get(self, "metro_code") - - @property - @pulumi.getter(name="metroName") - def metro_name(self) -> Optional[str]: - return pulumi.get(self, "metro_name") + def enabled(self) -> bool: + """ + Bidirectional Forwarding Detection enablement + """ + return pulumi.get(self, "enabled") @property @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") + def interval(self) -> Optional[str]: + """ + Interval range between the received BFD control packets + """ + return pulumi.get(self, "interval") @pulumi.output_type -class ServiceProfileProject(dict): +class RoutingProtocolBgpIpv4(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "projectId": - suggest = "project_id" + if key == "customerPeerIp": + suggest = "customer_peer_ip" + elif key == "equinixPeerIp": + suggest = "equinix_peer_ip" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfileProject. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in RoutingProtocolBgpIpv4. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ServiceProfileProject.__key_warning(key) + RoutingProtocolBgpIpv4.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ServiceProfileProject.__key_warning(key) + RoutingProtocolBgpIpv4.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - href: Optional[str] = None, - project_id: Optional[str] = None): + customer_peer_ip: str, + enabled: Optional[bool] = None, + equinix_peer_ip: Optional[str] = None): """ - :param str href: Unique Resource URL - :param str project_id: Project Id + :param str customer_peer_ip: Customer side peering ip + :param bool enabled: Admin status for the BGP session + :param str equinix_peer_ip: Equinix side peering ip """ - if href is not None: - pulumi.set(__self__, "href", href) - if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + RoutingProtocolBgpIpv4._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_peer_ip=customer_peer_ip, + enabled=enabled, + equinix_peer_ip=equinix_peer_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_peer_ip: str, + enabled: Optional[bool] = None, + equinix_peer_ip: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customerPeerIp' in kwargs: + customer_peer_ip = kwargs['customerPeerIp'] + if 'equinixPeerIp' in kwargs: + equinix_peer_ip = kwargs['equinixPeerIp'] + + _setter("customer_peer_ip", customer_peer_ip) + if enabled is not None: + _setter("enabled", enabled) + if equinix_peer_ip is not None: + _setter("equinix_peer_ip", equinix_peer_ip) + + @property + @pulumi.getter(name="customerPeerIp") + def customer_peer_ip(self) -> str: + """ + Customer side peering ip + """ + return pulumi.get(self, "customer_peer_ip") @property @pulumi.getter - def href(self) -> Optional[str]: + def enabled(self) -> Optional[bool]: """ - Unique Resource URL + Admin status for the BGP session """ - return pulumi.get(self, "href") + return pulumi.get(self, "enabled") @property - @pulumi.getter(name="projectId") - def project_id(self) -> Optional[str]: + @pulumi.getter(name="equinixPeerIp") + def equinix_peer_ip(self) -> Optional[str]: """ - Project Id + Equinix side peering ip """ - return pulumi.get(self, "project_id") + return pulumi.get(self, "equinix_peer_ip") @pulumi.output_type -class ServiceProfileVirtualDevice(dict): +class RoutingProtocolBgpIpv6(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "interfaceUuid": - suggest = "interface_uuid" + if key == "customerPeerIp": + suggest = "customer_peer_ip" + elif key == "equinixPeerIp": + suggest = "equinix_peer_ip" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfileVirtualDevice. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in RoutingProtocolBgpIpv6. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ServiceProfileVirtualDevice.__key_warning(key) + RoutingProtocolBgpIpv6.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ServiceProfileVirtualDevice.__key_warning(key) + RoutingProtocolBgpIpv6.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - type: str, - uuid: str, - interface_uuid: Optional[str] = None, - location: Optional['outputs.ServiceProfileVirtualDeviceLocation'] = None): + customer_peer_ip: str, + enabled: Optional[bool] = None, + equinix_peer_ip: Optional[str] = None): """ - :param str type: Virtual Device Type - :param str uuid: Virtual Device Uuid - :param str interface_uuid: Device Interface Uuid - :param 'ServiceProfileVirtualDeviceLocationArgs' location: Device Location + :param str customer_peer_ip: Customer side peering ip + :param bool enabled: Admin status for the BGP session + :param str equinix_peer_ip: Equinix side peering ip """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) - if interface_uuid is not None: - pulumi.set(__self__, "interface_uuid", interface_uuid) - if location is not None: - pulumi.set(__self__, "location", location) + RoutingProtocolBgpIpv6._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_peer_ip=customer_peer_ip, + enabled=enabled, + equinix_peer_ip=equinix_peer_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_peer_ip: str, + enabled: Optional[bool] = None, + equinix_peer_ip: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customerPeerIp' in kwargs: + customer_peer_ip = kwargs['customerPeerIp'] + if 'equinixPeerIp' in kwargs: + equinix_peer_ip = kwargs['equinixPeerIp'] + + _setter("customer_peer_ip", customer_peer_ip) + if enabled is not None: + _setter("enabled", enabled) + if equinix_peer_ip is not None: + _setter("equinix_peer_ip", equinix_peer_ip) @property - @pulumi.getter - def type(self) -> str: + @pulumi.getter(name="customerPeerIp") + def customer_peer_ip(self) -> str: """ - Virtual Device Type + Customer side peering ip """ - return pulumi.get(self, "type") + return pulumi.get(self, "customer_peer_ip") @property @pulumi.getter - def uuid(self) -> str: + def enabled(self) -> Optional[bool]: """ - Virtual Device Uuid + Admin status for the BGP session """ - return pulumi.get(self, "uuid") + return pulumi.get(self, "enabled") @property - @pulumi.getter(name="interfaceUuid") - def interface_uuid(self) -> Optional[str]: + @pulumi.getter(name="equinixPeerIp") + def equinix_peer_ip(self) -> Optional[str]: """ - Device Interface Uuid + Equinix side peering ip """ - return pulumi.get(self, "interface_uuid") + return pulumi.get(self, "equinix_peer_ip") + + +@pulumi.output_type +class RoutingProtocolChange(dict): + def __init__(__self__, *, + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None): + RoutingProtocolChange._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if href is not None: + _setter("href", href) + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) @property @pulumi.getter - def location(self) -> Optional['outputs.ServiceProfileVirtualDeviceLocation']: - """ - Device Location - """ - return pulumi.get(self, "location") + def href(self) -> Optional[str]: + return pulumi.get(self, "href") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> Optional[str]: + return pulumi.get(self, "uuid") @pulumi.output_type -class ServiceProfileVirtualDeviceLocation(dict): +class RoutingProtocolChangeLog(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "metroCode": - suggest = "metro_code" - elif key == "metroName": - suggest = "metro_name" + if key == "createdBy": + suggest = "created_by" + elif key == "createdByEmail": + suggest = "created_by_email" + elif key == "createdByFullName": + suggest = "created_by_full_name" + elif key == "createdDateTime": + suggest = "created_date_time" + elif key == "deletedBy": + suggest = "deleted_by" + elif key == "deletedByEmail": + suggest = "deleted_by_email" + elif key == "deletedByFullName": + suggest = "deleted_by_full_name" + elif key == "deletedDateTime": + suggest = "deleted_date_time" + elif key == "updatedBy": + suggest = "updated_by" + elif key == "updatedByEmail": + suggest = "updated_by_email" + elif key == "updatedByFullName": + suggest = "updated_by_full_name" + elif key == "updatedDateTime": + suggest = "updated_date_time" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ServiceProfileVirtualDeviceLocation. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in RoutingProtocolChangeLog. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ServiceProfileVirtualDeviceLocation.__key_warning(key) + RoutingProtocolChangeLog.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ServiceProfileVirtualDeviceLocation.__key_warning(key) + RoutingProtocolChangeLog.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None): + RoutingProtocolChangeLog._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + + if created_by is not None: + _setter("created_by", created_by) + if created_by_email is not None: + _setter("created_by_email", created_by_email) + if created_by_full_name is not None: + _setter("created_by_full_name", created_by_full_name) + if created_date_time is not None: + _setter("created_date_time", created_date_time) + if deleted_by is not None: + _setter("deleted_by", deleted_by) + if deleted_by_email is not None: + _setter("deleted_by_email", deleted_by_email) + if deleted_by_full_name is not None: + _setter("deleted_by_full_name", deleted_by_full_name) + if deleted_date_time is not None: + _setter("deleted_date_time", deleted_date_time) + if updated_by is not None: + _setter("updated_by", updated_by) + if updated_by_email is not None: + _setter("updated_by_email", updated_by_email) + if updated_by_full_name is not None: + _setter("updated_by_full_name", updated_by_full_name) + if updated_date_time is not None: + _setter("updated_date_time", updated_date_time) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByEmail") + def created_by_email(self) -> Optional[str]: + return pulumi.get(self, "created_by_email") + + @property + @pulumi.getter(name="createdByFullName") + def created_by_full_name(self) -> Optional[str]: + return pulumi.get(self, "created_by_full_name") + + @property + @pulumi.getter(name="createdDateTime") + def created_date_time(self) -> Optional[str]: + return pulumi.get(self, "created_date_time") + + @property + @pulumi.getter(name="deletedBy") + def deleted_by(self) -> Optional[str]: + return pulumi.get(self, "deleted_by") + + @property + @pulumi.getter(name="deletedByEmail") + def deleted_by_email(self) -> Optional[str]: + return pulumi.get(self, "deleted_by_email") + + @property + @pulumi.getter(name="deletedByFullName") + def deleted_by_full_name(self) -> Optional[str]: + return pulumi.get(self, "deleted_by_full_name") + + @property + @pulumi.getter(name="deletedDateTime") + def deleted_date_time(self) -> Optional[str]: + return pulumi.get(self, "deleted_date_time") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + return pulumi.get(self, "updated_by") + + @property + @pulumi.getter(name="updatedByEmail") + def updated_by_email(self) -> Optional[str]: + return pulumi.get(self, "updated_by_email") + + @property + @pulumi.getter(name="updatedByFullName") + def updated_by_full_name(self) -> Optional[str]: + return pulumi.get(self, "updated_by_full_name") + + @property + @pulumi.getter(name="updatedDateTime") + def updated_date_time(self) -> Optional[str]: + return pulumi.get(self, "updated_date_time") + + +@pulumi.output_type +class RoutingProtocolDirectIpv4(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "equinixIfaceIp": + suggest = "equinix_iface_ip" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RoutingProtocolDirectIpv4. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RoutingProtocolDirectIpv4.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RoutingProtocolDirectIpv4.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + equinix_iface_ip: str): + """ + :param str equinix_iface_ip: Equinix side Interface IP address + """ + RoutingProtocolDirectIpv4._configure( + lambda key, value: pulumi.set(__self__, key, value), + equinix_iface_ip=equinix_iface_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + equinix_iface_ip: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'equinixIfaceIp' in kwargs: + equinix_iface_ip = kwargs['equinixIfaceIp'] + + _setter("equinix_iface_ip", equinix_iface_ip) + + @property + @pulumi.getter(name="equinixIfaceIp") + def equinix_iface_ip(self) -> str: + """ + Equinix side Interface IP address + """ + return pulumi.get(self, "equinix_iface_ip") + + +@pulumi.output_type +class RoutingProtocolDirectIpv6(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "equinixIfaceIp": + suggest = "equinix_iface_ip" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RoutingProtocolDirectIpv6. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RoutingProtocolDirectIpv6.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RoutingProtocolDirectIpv6.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + equinix_iface_ip: Optional[str] = None): + """ + :param str equinix_iface_ip: Equinix side Interface IP address + """ + RoutingProtocolDirectIpv6._configure( + lambda key, value: pulumi.set(__self__, key, value), + equinix_iface_ip=equinix_iface_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + equinix_iface_ip: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'equinixIfaceIp' in kwargs: + equinix_iface_ip = kwargs['equinixIfaceIp'] + + if equinix_iface_ip is not None: + _setter("equinix_iface_ip", equinix_iface_ip) + + @property + @pulumi.getter(name="equinixIfaceIp") + def equinix_iface_ip(self) -> Optional[str]: + """ + Equinix side Interface IP address + """ + return pulumi.get(self, "equinix_iface_ip") + + +@pulumi.output_type +class RoutingProtocolOperation(dict): + def __init__(__self__, *, + errors: Optional[Sequence['outputs.RoutingProtocolOperationError']] = None): + RoutingProtocolOperation._configure( + lambda key, value: pulumi.set(__self__, key, value), + errors=errors, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + errors: Optional[Sequence['outputs.RoutingProtocolOperationError']] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if errors is not None: + _setter("errors", errors) + + @property + @pulumi.getter + def errors(self) -> Optional[Sequence['outputs.RoutingProtocolOperationError']]: + return pulumi.get(self, "errors") + + +@pulumi.output_type +class RoutingProtocolOperationError(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "additionalInfos": + suggest = "additional_infos" + elif key == "correlationId": + suggest = "correlation_id" + elif key == "errorCode": + suggest = "error_code" + elif key == "errorMessage": + suggest = "error_message" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RoutingProtocolOperationError. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RoutingProtocolOperationError.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RoutingProtocolOperationError.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + additional_infos: Optional[Sequence['outputs.RoutingProtocolOperationErrorAdditionalInfo']] = None, + correlation_id: Optional[str] = None, + details: Optional[str] = None, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + help: Optional[str] = None): + RoutingProtocolOperationError._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_infos=additional_infos, + correlation_id=correlation_id, + details=details, + error_code=error_code, + error_message=error_message, + help=help, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_infos: Optional[Sequence['outputs.RoutingProtocolOperationErrorAdditionalInfo']] = None, + correlation_id: Optional[str] = None, + details: Optional[str] = None, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + help: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'additionalInfos' in kwargs: + additional_infos = kwargs['additionalInfos'] + if 'correlationId' in kwargs: + correlation_id = kwargs['correlationId'] + if 'errorCode' in kwargs: + error_code = kwargs['errorCode'] + if 'errorMessage' in kwargs: + error_message = kwargs['errorMessage'] + + if additional_infos is not None: + _setter("additional_infos", additional_infos) + if correlation_id is not None: + _setter("correlation_id", correlation_id) + if details is not None: + _setter("details", details) + if error_code is not None: + _setter("error_code", error_code) + if error_message is not None: + _setter("error_message", error_message) + if help is not None: + _setter("help", help) + + @property + @pulumi.getter(name="additionalInfos") + def additional_infos(self) -> Optional[Sequence['outputs.RoutingProtocolOperationErrorAdditionalInfo']]: + return pulumi.get(self, "additional_infos") + + @property + @pulumi.getter(name="correlationId") + def correlation_id(self) -> Optional[str]: + return pulumi.get(self, "correlation_id") + + @property + @pulumi.getter + def details(self) -> Optional[str]: + return pulumi.get(self, "details") + + @property + @pulumi.getter(name="errorCode") + def error_code(self) -> Optional[str]: + return pulumi.get(self, "error_code") + + @property + @pulumi.getter(name="errorMessage") + def error_message(self) -> Optional[str]: + return pulumi.get(self, "error_message") + + @property + @pulumi.getter + def help(self) -> Optional[str]: + return pulumi.get(self, "help") + + +@pulumi.output_type +class RoutingProtocolOperationErrorAdditionalInfo(dict): + def __init__(__self__, *, + property: Optional[str] = None, + reason: Optional[str] = None): + RoutingProtocolOperationErrorAdditionalInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + property=property, + reason=reason, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + property: Optional[str] = None, + reason: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if property is not None: + _setter("property", property) + if reason is not None: + _setter("reason", reason) + + @property + @pulumi.getter + def reason(self) -> Optional[str]: + return pulumi.get(self, "reason") + + @property + @pulumi.getter + def property(self) -> Optional[str]: + return pulumi.get(self, "property") + + +@pulumi.output_type +class ServiceProfileAccessPointTypeConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allowBandwidthAutoApproval": + suggest = "allow_bandwidth_auto_approval" + elif key == "allowBandwidthUpgrade": + suggest = "allow_bandwidth_upgrade" + elif key == "allowCustomBandwidth": + suggest = "allow_custom_bandwidth" + elif key == "allowRemoteConnections": + suggest = "allow_remote_connections" + elif key == "apiConfig": + suggest = "api_config" + elif key == "authenticationKey": + suggest = "authentication_key" + elif key == "bandwidthAlertThreshold": + suggest = "bandwidth_alert_threshold" + elif key == "connectionLabel": + suggest = "connection_label" + elif key == "connectionRedundancyRequired": + suggest = "connection_redundancy_required" + elif key == "enableAutoGenerateServiceKey": + suggest = "enable_auto_generate_service_key" + elif key == "linkProtocolConfig": + suggest = "link_protocol_config" + elif key == "supportedBandwidths": + suggest = "supported_bandwidths" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfileAccessPointTypeConfig. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfileAccessPointTypeConfig.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfileAccessPointTypeConfig.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + allow_bandwidth_auto_approval: Optional[bool] = None, + allow_bandwidth_upgrade: Optional[bool] = None, + allow_custom_bandwidth: Optional[bool] = None, + allow_remote_connections: Optional[bool] = None, + api_config: Optional['outputs.ServiceProfileAccessPointTypeConfigApiConfig'] = None, + authentication_key: Optional['outputs.ServiceProfileAccessPointTypeConfigAuthenticationKey'] = None, + bandwidth_alert_threshold: Optional[float] = None, + connection_label: Optional[str] = None, + connection_redundancy_required: Optional[bool] = None, + enable_auto_generate_service_key: Optional[bool] = None, + link_protocol_config: Optional['outputs.ServiceProfileAccessPointTypeConfigLinkProtocolConfig'] = None, + supported_bandwidths: Optional[Sequence[int]] = None, + uuid: Optional[str] = None): + """ + :param Union[str, 'ProfileAccessPointType'] type: Type of access point type config - VD, COLO + :param bool allow_bandwidth_auto_approval: Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller + :param bool allow_bandwidth_upgrade: Availability of a bandwidth upgrade. The default is false + :param bool allow_custom_bandwidth: Setting to enable or disable the ability of the buyer to customize the bandwidth + :param bool allow_remote_connections: Setting to allow or prohibit remote connections to the service profile + :param 'ServiceProfileAccessPointTypeConfigApiConfigArgs' api_config: Api configuration details + :param 'ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs' authentication_key: Authentication key details + :param float bandwidth_alert_threshold: Percentage of port bandwidth at which an allocation alert is generated + :param str connection_label: Custom name for Connection + :param bool connection_redundancy_required: Mandate redundant connections + :param bool enable_auto_generate_service_key: Enable auto generate service key + :param 'ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs' link_protocol_config: Link protocol configuration details + :param Sequence[int] supported_bandwidths: Supported bandwidths + :param str uuid: Colo/Port Uuid + """ + ServiceProfileAccessPointTypeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + allow_bandwidth_auto_approval=allow_bandwidth_auto_approval, + allow_bandwidth_upgrade=allow_bandwidth_upgrade, + allow_custom_bandwidth=allow_custom_bandwidth, + allow_remote_connections=allow_remote_connections, + api_config=api_config, + authentication_key=authentication_key, + bandwidth_alert_threshold=bandwidth_alert_threshold, + connection_label=connection_label, + connection_redundancy_required=connection_redundancy_required, + enable_auto_generate_service_key=enable_auto_generate_service_key, + link_protocol_config=link_protocol_config, + supported_bandwidths=supported_bandwidths, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + allow_bandwidth_auto_approval: Optional[bool] = None, + allow_bandwidth_upgrade: Optional[bool] = None, + allow_custom_bandwidth: Optional[bool] = None, + allow_remote_connections: Optional[bool] = None, + api_config: Optional['outputs.ServiceProfileAccessPointTypeConfigApiConfig'] = None, + authentication_key: Optional['outputs.ServiceProfileAccessPointTypeConfigAuthenticationKey'] = None, + bandwidth_alert_threshold: Optional[float] = None, + connection_label: Optional[str] = None, + connection_redundancy_required: Optional[bool] = None, + enable_auto_generate_service_key: Optional[bool] = None, + link_protocol_config: Optional['outputs.ServiceProfileAccessPointTypeConfigLinkProtocolConfig'] = None, + supported_bandwidths: Optional[Sequence[int]] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowBandwidthAutoApproval' in kwargs: + allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] + if 'allowBandwidthUpgrade' in kwargs: + allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] + if 'allowCustomBandwidth' in kwargs: + allow_custom_bandwidth = kwargs['allowCustomBandwidth'] + if 'allowRemoteConnections' in kwargs: + allow_remote_connections = kwargs['allowRemoteConnections'] + if 'apiConfig' in kwargs: + api_config = kwargs['apiConfig'] + if 'authenticationKey' in kwargs: + authentication_key = kwargs['authenticationKey'] + if 'bandwidthAlertThreshold' in kwargs: + bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] + if 'connectionLabel' in kwargs: + connection_label = kwargs['connectionLabel'] + if 'connectionRedundancyRequired' in kwargs: + connection_redundancy_required = kwargs['connectionRedundancyRequired'] + if 'enableAutoGenerateServiceKey' in kwargs: + enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] + if 'linkProtocolConfig' in kwargs: + link_protocol_config = kwargs['linkProtocolConfig'] + if 'supportedBandwidths' in kwargs: + supported_bandwidths = kwargs['supportedBandwidths'] + + _setter("type", type) + if allow_bandwidth_auto_approval is not None: + _setter("allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) + if allow_bandwidth_upgrade is not None: + _setter("allow_bandwidth_upgrade", allow_bandwidth_upgrade) + if allow_custom_bandwidth is not None: + _setter("allow_custom_bandwidth", allow_custom_bandwidth) + if allow_remote_connections is not None: + _setter("allow_remote_connections", allow_remote_connections) + if api_config is not None: + _setter("api_config", api_config) + if authentication_key is not None: + _setter("authentication_key", authentication_key) + if bandwidth_alert_threshold is not None: + _setter("bandwidth_alert_threshold", bandwidth_alert_threshold) + if connection_label is not None: + _setter("connection_label", connection_label) + if connection_redundancy_required is not None: + _setter("connection_redundancy_required", connection_redundancy_required) + if enable_auto_generate_service_key is not None: + _setter("enable_auto_generate_service_key", enable_auto_generate_service_key) + if link_protocol_config is not None: + _setter("link_protocol_config", link_protocol_config) + if supported_bandwidths is not None: + _setter("supported_bandwidths", supported_bandwidths) + if uuid is not None: + _setter("uuid", uuid) + + @property + @pulumi.getter + def type(self) -> str: + """ + Type of access point type config - VD, COLO + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="allowBandwidthAutoApproval") + def allow_bandwidth_auto_approval(self) -> Optional[bool]: + """ + Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller + """ + return pulumi.get(self, "allow_bandwidth_auto_approval") + + @property + @pulumi.getter(name="allowBandwidthUpgrade") + def allow_bandwidth_upgrade(self) -> Optional[bool]: + """ + Availability of a bandwidth upgrade. The default is false + """ + return pulumi.get(self, "allow_bandwidth_upgrade") + + @property + @pulumi.getter(name="allowCustomBandwidth") + def allow_custom_bandwidth(self) -> Optional[bool]: + """ + Setting to enable or disable the ability of the buyer to customize the bandwidth + """ + return pulumi.get(self, "allow_custom_bandwidth") + + @property + @pulumi.getter(name="allowRemoteConnections") + def allow_remote_connections(self) -> Optional[bool]: + """ + Setting to allow or prohibit remote connections to the service profile + """ + return pulumi.get(self, "allow_remote_connections") + + @property + @pulumi.getter(name="apiConfig") + def api_config(self) -> Optional['outputs.ServiceProfileAccessPointTypeConfigApiConfig']: + """ + Api configuration details + """ + return pulumi.get(self, "api_config") + + @property + @pulumi.getter(name="authenticationKey") + def authentication_key(self) -> Optional['outputs.ServiceProfileAccessPointTypeConfigAuthenticationKey']: + """ + Authentication key details + """ + return pulumi.get(self, "authentication_key") + + @property + @pulumi.getter(name="bandwidthAlertThreshold") + def bandwidth_alert_threshold(self) -> Optional[float]: + """ + Percentage of port bandwidth at which an allocation alert is generated + """ + return pulumi.get(self, "bandwidth_alert_threshold") + + @property + @pulumi.getter(name="connectionLabel") + def connection_label(self) -> Optional[str]: + """ + Custom name for Connection + """ + return pulumi.get(self, "connection_label") + + @property + @pulumi.getter(name="connectionRedundancyRequired") + def connection_redundancy_required(self) -> Optional[bool]: + """ + Mandate redundant connections + """ + return pulumi.get(self, "connection_redundancy_required") + + @property + @pulumi.getter(name="enableAutoGenerateServiceKey") + def enable_auto_generate_service_key(self) -> Optional[bool]: + """ + Enable auto generate service key + """ + return pulumi.get(self, "enable_auto_generate_service_key") + + @property + @pulumi.getter(name="linkProtocolConfig") + def link_protocol_config(self) -> Optional['outputs.ServiceProfileAccessPointTypeConfigLinkProtocolConfig']: + """ + Link protocol configuration details + """ + return pulumi.get(self, "link_protocol_config") + + @property + @pulumi.getter(name="supportedBandwidths") + def supported_bandwidths(self) -> Optional[Sequence[int]]: + """ + Supported bandwidths + """ + return pulumi.get(self, "supported_bandwidths") + + @property + @pulumi.getter + def uuid(self) -> Optional[str]: + """ + Colo/Port Uuid + """ + return pulumi.get(self, "uuid") + + +@pulumi.output_type +class ServiceProfileAccessPointTypeConfigApiConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "allowOverSubscription": + suggest = "allow_over_subscription" + elif key == "apiAvailable": + suggest = "api_available" + elif key == "bandwidthFromApi": + suggest = "bandwidth_from_api" + elif key == "equinixManagedPort": + suggest = "equinix_managed_port" + elif key == "equinixManagedVlan": + suggest = "equinix_managed_vlan" + elif key == "integrationId": + suggest = "integration_id" + elif key == "overSubscriptionLimit": + suggest = "over_subscription_limit" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfileAccessPointTypeConfigApiConfig. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfileAccessPointTypeConfigApiConfig.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfileAccessPointTypeConfigApiConfig.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allow_over_subscription: Optional[bool] = None, + api_available: Optional[bool] = None, + bandwidth_from_api: Optional[bool] = None, + equinix_managed_port: Optional[bool] = None, + equinix_managed_vlan: Optional[bool] = None, + integration_id: Optional[str] = None, + over_subscription_limit: Optional[int] = None): + """ + :param bool allow_over_subscription: Setting showing that oversubscription support is available (true) or not (false). The default is false + :param bool api_available: Setting indicating whether the API is available (true) or not (false) + :param bool bandwidth_from_api: Bandwidth from api + :param bool equinix_managed_port: Setting indicating that the port is managed by Equinix (true) or not (false) + :param bool equinix_managed_vlan: Setting indicating that the VLAN is managed by Equinix (true) or not (false) + :param str integration_id: Integration id + :param int over_subscription_limit: A cap on over subscription + """ + ServiceProfileAccessPointTypeConfigApiConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_over_subscription=allow_over_subscription, + api_available=api_available, + bandwidth_from_api=bandwidth_from_api, + equinix_managed_port=equinix_managed_port, + equinix_managed_vlan=equinix_managed_vlan, + integration_id=integration_id, + over_subscription_limit=over_subscription_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_over_subscription: Optional[bool] = None, + api_available: Optional[bool] = None, + bandwidth_from_api: Optional[bool] = None, + equinix_managed_port: Optional[bool] = None, + equinix_managed_vlan: Optional[bool] = None, + integration_id: Optional[str] = None, + over_subscription_limit: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowOverSubscription' in kwargs: + allow_over_subscription = kwargs['allowOverSubscription'] + if 'apiAvailable' in kwargs: + api_available = kwargs['apiAvailable'] + if 'bandwidthFromApi' in kwargs: + bandwidth_from_api = kwargs['bandwidthFromApi'] + if 'equinixManagedPort' in kwargs: + equinix_managed_port = kwargs['equinixManagedPort'] + if 'equinixManagedVlan' in kwargs: + equinix_managed_vlan = kwargs['equinixManagedVlan'] + if 'integrationId' in kwargs: + integration_id = kwargs['integrationId'] + if 'overSubscriptionLimit' in kwargs: + over_subscription_limit = kwargs['overSubscriptionLimit'] + + if allow_over_subscription is not None: + _setter("allow_over_subscription", allow_over_subscription) + if api_available is not None: + _setter("api_available", api_available) + if bandwidth_from_api is not None: + _setter("bandwidth_from_api", bandwidth_from_api) + if equinix_managed_port is not None: + _setter("equinix_managed_port", equinix_managed_port) + if equinix_managed_vlan is not None: + _setter("equinix_managed_vlan", equinix_managed_vlan) + if integration_id is not None: + _setter("integration_id", integration_id) + if over_subscription_limit is not None: + _setter("over_subscription_limit", over_subscription_limit) + + @property + @pulumi.getter(name="allowOverSubscription") + def allow_over_subscription(self) -> Optional[bool]: + """ + Setting showing that oversubscription support is available (true) or not (false). The default is false + """ + return pulumi.get(self, "allow_over_subscription") + + @property + @pulumi.getter(name="apiAvailable") + def api_available(self) -> Optional[bool]: + """ + Setting indicating whether the API is available (true) or not (false) + """ + return pulumi.get(self, "api_available") + + @property + @pulumi.getter(name="bandwidthFromApi") + def bandwidth_from_api(self) -> Optional[bool]: + """ + Bandwidth from api + """ + return pulumi.get(self, "bandwidth_from_api") + + @property + @pulumi.getter(name="equinixManagedPort") + def equinix_managed_port(self) -> Optional[bool]: + """ + Setting indicating that the port is managed by Equinix (true) or not (false) + """ + return pulumi.get(self, "equinix_managed_port") + + @property + @pulumi.getter(name="equinixManagedVlan") + def equinix_managed_vlan(self) -> Optional[bool]: + """ + Setting indicating that the VLAN is managed by Equinix (true) or not (false) + """ + return pulumi.get(self, "equinix_managed_vlan") + + @property + @pulumi.getter(name="integrationId") + def integration_id(self) -> Optional[str]: + """ + Integration id + """ + return pulumi.get(self, "integration_id") + + @property + @pulumi.getter(name="overSubscriptionLimit") + def over_subscription_limit(self) -> Optional[int]: + """ + A cap on over subscription + """ + return pulumi.get(self, "over_subscription_limit") + + +@pulumi.output_type +class ServiceProfileAccessPointTypeConfigAuthenticationKey(dict): + def __init__(__self__, *, + description: Optional[str] = None, + label: Optional[str] = None, + required: Optional[bool] = None): + """ + :param str description: Description + :param str label: Label + :param bool required: Required + """ + ServiceProfileAccessPointTypeConfigAuthenticationKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + label=label, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[str] = None, + label: Optional[str] = None, + required: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if description is not None: + _setter("description", description) + if label is not None: + _setter("label", label) + if required is not None: + _setter("required", required) + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def label(self) -> Optional[str]: + """ + Label + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def required(self) -> Optional[bool]: + """ + Required + """ + return pulumi.get(self, "required") + + +@pulumi.output_type +class ServiceProfileAccessPointTypeConfigLinkProtocolConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "encapsulationStrategy": + suggest = "encapsulation_strategy" + elif key == "reuseVlanSTag": + suggest = "reuse_vlan_s_tag" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfileAccessPointTypeConfigLinkProtocolConfig. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfileAccessPointTypeConfigLinkProtocolConfig.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfileAccessPointTypeConfigLinkProtocolConfig.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + encapsulation: Optional[str] = None, + encapsulation_strategy: Optional[str] = None, + reuse_vlan_s_tag: Optional[bool] = None): + """ + :param str encapsulation: Port Encapsulation + :param str encapsulation_strategy: Encapsulation strategy + :param bool reuse_vlan_s_tag: Reuse vlan sTag + """ + ServiceProfileAccessPointTypeConfigLinkProtocolConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + encapsulation=encapsulation, + encapsulation_strategy=encapsulation_strategy, + reuse_vlan_s_tag=reuse_vlan_s_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + encapsulation: Optional[str] = None, + encapsulation_strategy: Optional[str] = None, + reuse_vlan_s_tag: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'encapsulationStrategy' in kwargs: + encapsulation_strategy = kwargs['encapsulationStrategy'] + if 'reuseVlanSTag' in kwargs: + reuse_vlan_s_tag = kwargs['reuseVlanSTag'] + + if encapsulation is not None: + _setter("encapsulation", encapsulation) + if encapsulation_strategy is not None: + _setter("encapsulation_strategy", encapsulation_strategy) + if reuse_vlan_s_tag is not None: + _setter("reuse_vlan_s_tag", reuse_vlan_s_tag) + + @property + @pulumi.getter + def encapsulation(self) -> Optional[str]: + """ + Port Encapsulation + """ + return pulumi.get(self, "encapsulation") + + @property + @pulumi.getter(name="encapsulationStrategy") + def encapsulation_strategy(self) -> Optional[str]: + """ + Encapsulation strategy + """ + return pulumi.get(self, "encapsulation_strategy") + + @property + @pulumi.getter(name="reuseVlanSTag") + def reuse_vlan_s_tag(self) -> Optional[bool]: + """ + Reuse vlan sTag + """ + return pulumi.get(self, "reuse_vlan_s_tag") + + +@pulumi.output_type +class ServiceProfileAccount(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "accountName": + suggest = "account_name" + elif key == "accountNumber": + suggest = "account_number" + elif key == "globalCustId": + suggest = "global_cust_id" + elif key == "globalOrgId": + suggest = "global_org_id" + elif key == "globalOrganizationName": + suggest = "global_organization_name" + elif key == "orgId": + suggest = "org_id" + elif key == "organizationName": + suggest = "organization_name" + elif key == "ucmId": + suggest = "ucm_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfileAccount. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfileAccount.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfileAccount.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None, + ucm_id: Optional[str] = None): + """ + :param str account_name: Account Name + :param int account_number: Account Number + :param str global_cust_id: Global Customer organization identifier + :param str global_org_id: Global organization identifier + :param str global_organization_name: Global organization name + :param int org_id: Customer organization identifier + :param str organization_name: Customer organization name + :param str ucm_id: Enterprise datastore id + """ + ServiceProfileAccount._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ucm_id=ucm_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None, + ucm_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + if 'ucmId' in kwargs: + ucm_id = kwargs['ucmId'] + + if account_name is not None: + _setter("account_name", account_name) + if account_number is not None: + _setter("account_number", account_number) + if global_cust_id is not None: + _setter("global_cust_id", global_cust_id) + if global_org_id is not None: + _setter("global_org_id", global_org_id) + if global_organization_name is not None: + _setter("global_organization_name", global_organization_name) + if org_id is not None: + _setter("org_id", org_id) + if organization_name is not None: + _setter("organization_name", organization_name) + if ucm_id is not None: + _setter("ucm_id", ucm_id) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> Optional[str]: + """ + Account Name + """ + return pulumi.get(self, "account_name") + + @property + @pulumi.getter(name="accountNumber") + def account_number(self) -> Optional[int]: + """ + Account Number + """ + return pulumi.get(self, "account_number") + + @property + @pulumi.getter(name="globalCustId") + def global_cust_id(self) -> Optional[str]: + """ + Global Customer organization identifier + """ + return pulumi.get(self, "global_cust_id") + + @property + @pulumi.getter(name="globalOrgId") + def global_org_id(self) -> Optional[str]: + """ + Global organization identifier + """ + return pulumi.get(self, "global_org_id") + + @property + @pulumi.getter(name="globalOrganizationName") + def global_organization_name(self) -> Optional[str]: + """ + Global organization name + """ + return pulumi.get(self, "global_organization_name") + + @property + @pulumi.getter(name="orgId") + def org_id(self) -> Optional[int]: + """ + Customer organization identifier + """ + return pulumi.get(self, "org_id") + + @property + @pulumi.getter(name="organizationName") + def organization_name(self) -> Optional[str]: + """ + Customer organization name + """ + return pulumi.get(self, "organization_name") + + @property + @pulumi.getter(name="ucmId") + def ucm_id(self) -> Optional[str]: + """ + Enterprise datastore id + """ + return pulumi.get(self, "ucm_id") + + +@pulumi.output_type +class ServiceProfileChangeLog(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdBy": + suggest = "created_by" + elif key == "createdByEmail": + suggest = "created_by_email" + elif key == "createdByFullName": + suggest = "created_by_full_name" + elif key == "createdDateTime": + suggest = "created_date_time" + elif key == "deletedBy": + suggest = "deleted_by" + elif key == "deletedByEmail": + suggest = "deleted_by_email" + elif key == "deletedByFullName": + suggest = "deleted_by_full_name" + elif key == "deletedDateTime": + suggest = "deleted_date_time" + elif key == "updatedBy": + suggest = "updated_by" + elif key == "updatedByEmail": + suggest = "updated_by_email" + elif key == "updatedByFullName": + suggest = "updated_by_full_name" + elif key == "updatedDateTime": + suggest = "updated_date_time" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfileChangeLog. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfileChangeLog.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfileChangeLog.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None): + ServiceProfileChangeLog._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + + if created_by is not None: + _setter("created_by", created_by) + if created_by_email is not None: + _setter("created_by_email", created_by_email) + if created_by_full_name is not None: + _setter("created_by_full_name", created_by_full_name) + if created_date_time is not None: + _setter("created_date_time", created_date_time) + if deleted_by is not None: + _setter("deleted_by", deleted_by) + if deleted_by_email is not None: + _setter("deleted_by_email", deleted_by_email) + if deleted_by_full_name is not None: + _setter("deleted_by_full_name", deleted_by_full_name) + if deleted_date_time is not None: + _setter("deleted_date_time", deleted_date_time) + if updated_by is not None: + _setter("updated_by", updated_by) + if updated_by_email is not None: + _setter("updated_by_email", updated_by_email) + if updated_by_full_name is not None: + _setter("updated_by_full_name", updated_by_full_name) + if updated_date_time is not None: + _setter("updated_date_time", updated_date_time) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByEmail") + def created_by_email(self) -> Optional[str]: + return pulumi.get(self, "created_by_email") + + @property + @pulumi.getter(name="createdByFullName") + def created_by_full_name(self) -> Optional[str]: + return pulumi.get(self, "created_by_full_name") + + @property + @pulumi.getter(name="createdDateTime") + def created_date_time(self) -> Optional[str]: + return pulumi.get(self, "created_date_time") + + @property + @pulumi.getter(name="deletedBy") + def deleted_by(self) -> Optional[str]: + return pulumi.get(self, "deleted_by") + + @property + @pulumi.getter(name="deletedByEmail") + def deleted_by_email(self) -> Optional[str]: + return pulumi.get(self, "deleted_by_email") + + @property + @pulumi.getter(name="deletedByFullName") + def deleted_by_full_name(self) -> Optional[str]: + return pulumi.get(self, "deleted_by_full_name") + + @property + @pulumi.getter(name="deletedDateTime") + def deleted_date_time(self) -> Optional[str]: + return pulumi.get(self, "deleted_date_time") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> Optional[str]: + return pulumi.get(self, "updated_by") + + @property + @pulumi.getter(name="updatedByEmail") + def updated_by_email(self) -> Optional[str]: + return pulumi.get(self, "updated_by_email") + + @property + @pulumi.getter(name="updatedByFullName") + def updated_by_full_name(self) -> Optional[str]: + return pulumi.get(self, "updated_by_full_name") + + @property + @pulumi.getter(name="updatedDateTime") + def updated_date_time(self) -> Optional[str]: + return pulumi.get(self, "updated_date_time") + + +@pulumi.output_type +class ServiceProfileCustomField(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataType": + suggest = "data_type" + elif key == "captureInEmail": + suggest = "capture_in_email" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfileCustomField. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfileCustomField.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfileCustomField.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + data_type: str, + label: str, + required: bool, + capture_in_email: Optional[bool] = None, + description: Optional[str] = None, + options: Optional[Sequence[str]] = None): + """ + :param str data_type: Data type + :param str label: Label + :param bool required: Required field + :param bool capture_in_email: Required field + :param str description: Description + :param Sequence[str] options: Options + """ + ServiceProfileCustomField._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_type=data_type, + label=label, + required=required, + capture_in_email=capture_in_email, + description=description, + options=options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_type: str, + label: str, + required: bool, + capture_in_email: Optional[bool] = None, + description: Optional[str] = None, + options: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dataType' in kwargs: + data_type = kwargs['dataType'] + if 'captureInEmail' in kwargs: + capture_in_email = kwargs['captureInEmail'] + + _setter("data_type", data_type) + _setter("label", label) + _setter("required", required) + if capture_in_email is not None: + _setter("capture_in_email", capture_in_email) + if description is not None: + _setter("description", description) + if options is not None: + _setter("options", options) + + @property + @pulumi.getter(name="dataType") + def data_type(self) -> str: + """ + Data type + """ + return pulumi.get(self, "data_type") + + @property + @pulumi.getter + def label(self) -> str: + """ + Label + """ + return pulumi.get(self, "label") + + @property + @pulumi.getter + def required(self) -> bool: + """ + Required field + """ + return pulumi.get(self, "required") + + @property + @pulumi.getter(name="captureInEmail") + def capture_in_email(self) -> Optional[bool]: + """ + Required field + """ + return pulumi.get(self, "capture_in_email") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def options(self) -> Optional[Sequence[str]]: + """ + Options + """ + return pulumi.get(self, "options") + + +@pulumi.output_type +class ServiceProfileMarketingInfo(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "processSteps": + suggest = "process_steps" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfileMarketingInfo. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfileMarketingInfo.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfileMarketingInfo.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + logo: Optional[str] = None, + process_steps: Optional[Sequence['outputs.ServiceProfileMarketingInfoProcessStep']] = None, + promotion: Optional[bool] = None): + """ + :param str logo: Logo + :param Sequence['ServiceProfileMarketingInfoProcessStepArgs'] process_steps: Process Step + :param bool promotion: Promotion + """ + ServiceProfileMarketingInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + logo=logo, + process_steps=process_steps, + promotion=promotion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + logo: Optional[str] = None, + process_steps: Optional[Sequence['outputs.ServiceProfileMarketingInfoProcessStep']] = None, + promotion: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'processSteps' in kwargs: + process_steps = kwargs['processSteps'] + + if logo is not None: + _setter("logo", logo) + if process_steps is not None: + _setter("process_steps", process_steps) + if promotion is not None: + _setter("promotion", promotion) + + @property + @pulumi.getter + def logo(self) -> Optional[str]: + """ + Logo + """ + return pulumi.get(self, "logo") + + @property + @pulumi.getter(name="processSteps") + def process_steps(self) -> Optional[Sequence['outputs.ServiceProfileMarketingInfoProcessStep']]: + """ + Process Step + """ + return pulumi.get(self, "process_steps") + + @property + @pulumi.getter + def promotion(self) -> Optional[bool]: + """ + Promotion + """ + return pulumi.get(self, "promotion") + + +@pulumi.output_type +class ServiceProfileMarketingInfoProcessStep(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "subTitle": + suggest = "sub_title" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfileMarketingInfoProcessStep. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfileMarketingInfoProcessStep.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfileMarketingInfoProcessStep.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + description: Optional[str] = None, + sub_title: Optional[str] = None, + title: Optional[str] = None): + """ + :param str description: Description + :param str sub_title: Sub Title + :param str title: Title + """ + ServiceProfileMarketingInfoProcessStep._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + sub_title=sub_title, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[str] = None, + sub_title: Optional[str] = None, + title: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'subTitle' in kwargs: + sub_title = kwargs['subTitle'] + + if description is not None: + _setter("description", description) + if sub_title is not None: + _setter("sub_title", sub_title) + if title is not None: + _setter("title", title) + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + Description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="subTitle") + def sub_title(self) -> Optional[str]: + """ + Sub Title + """ + return pulumi.get(self, "sub_title") + + @property + @pulumi.getter + def title(self) -> Optional[str]: + """ + Title + """ + return pulumi.get(self, "title") + + +@pulumi.output_type +class ServiceProfileMetro(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "displayName": + suggest = "display_name" + elif key == "inTrail": + suggest = "in_trail" + elif key == "sellerRegions": + suggest = "seller_regions" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfileMetro. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfileMetro.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfileMetro.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + code: Optional[str] = None, + display_name: Optional[str] = None, + ibxs: Optional[Sequence[str]] = None, + in_trail: Optional[bool] = None, + name: Optional[str] = None, + seller_regions: Optional[Mapping[str, str]] = None): + """ + :param str code: Metro Code - Example SV + :param str display_name: Display Name + :param Sequence[str] ibxs: IBX- Equinix International Business Exchange list + :param bool in_trail: In Trail + :param str name: Metro Name + :param Mapping[str, str] seller_regions: Seller Regions + """ + ServiceProfileMetro._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + display_name=display_name, + ibxs=ibxs, + in_trail=in_trail, + name=name, + seller_regions=seller_regions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: Optional[str] = None, + display_name: Optional[str] = None, + ibxs: Optional[Sequence[str]] = None, + in_trail: Optional[bool] = None, + name: Optional[str] = None, + seller_regions: Optional[Mapping[str, str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'inTrail' in kwargs: + in_trail = kwargs['inTrail'] + if 'sellerRegions' in kwargs: + seller_regions = kwargs['sellerRegions'] + + if code is not None: + _setter("code", code) + if display_name is not None: + _setter("display_name", display_name) + if ibxs is not None: + _setter("ibxs", ibxs) + if in_trail is not None: + _setter("in_trail", in_trail) + if name is not None: + _setter("name", name) + if seller_regions is not None: + _setter("seller_regions", seller_regions) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + Metro Code - Example SV + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + Display Name + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def ibxs(self) -> Optional[Sequence[str]]: + """ + IBX- Equinix International Business Exchange list + """ + return pulumi.get(self, "ibxs") + + @property + @pulumi.getter(name="inTrail") + def in_trail(self) -> Optional[bool]: + """ + In Trail + """ + return pulumi.get(self, "in_trail") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Metro Name + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="sellerRegions") + def seller_regions(self) -> Optional[Mapping[str, str]]: + """ + Seller Regions + """ + return pulumi.get(self, "seller_regions") + + +@pulumi.output_type +class ServiceProfileNotification(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sendInterval": + suggest = "send_interval" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfileNotification. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfileNotification.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfileNotification.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + emails: Sequence[str], + type: str, + send_interval: Optional[str] = None): + """ + :param Sequence[str] emails: Array of contact emails + :param Union[str, 'NotificationsType'] type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + :param str send_interval: Send interval + """ + ServiceProfileNotification._configure( + lambda key, value: pulumi.set(__self__, key, value), + emails=emails, + type=type, + send_interval=send_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + emails: Sequence[str], + type: str, + send_interval: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sendInterval' in kwargs: + send_interval = kwargs['sendInterval'] + + _setter("emails", emails) + _setter("type", type) + if send_interval is not None: + _setter("send_interval", send_interval) + + @property + @pulumi.getter + def emails(self) -> Sequence[str]: + """ + Array of contact emails + """ + return pulumi.get(self, "emails") + + @property + @pulumi.getter + def type(self) -> str: + """ + Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="sendInterval") + def send_interval(self) -> Optional[str]: + """ + Send interval + """ + return pulumi.get(self, "send_interval") + + +@pulumi.output_type +class ServiceProfilePort(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "crossConnectId": + suggest = "cross_connect_id" + elif key == "sellerRegion": + suggest = "seller_region" + elif key == "sellerRegionDescription": + suggest = "seller_region_description" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfilePort. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfilePort.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfilePort.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + uuid: str, + cross_connect_id: Optional[str] = None, + location: Optional['outputs.ServiceProfilePortLocation'] = None, + seller_region: Optional[str] = None, + seller_region_description: Optional[str] = None): + """ + :param str type: Colo/Port Type + :param str uuid: Colo/Port Uuid + :param str cross_connect_id: Cross Connect Id + :param 'ServiceProfilePortLocationArgs' location: Colo/Port Location + :param str seller_region: Seller Region + :param str seller_region_description: Seller Region details + """ + ServiceProfilePort._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uuid=uuid, + cross_connect_id=cross_connect_id, + location=location, + seller_region=seller_region, + seller_region_description=seller_region_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uuid: str, + cross_connect_id: Optional[str] = None, + location: Optional['outputs.ServiceProfilePortLocation'] = None, + seller_region: Optional[str] = None, + seller_region_description: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'crossConnectId' in kwargs: + cross_connect_id = kwargs['crossConnectId'] + if 'sellerRegion' in kwargs: + seller_region = kwargs['sellerRegion'] + if 'sellerRegionDescription' in kwargs: + seller_region_description = kwargs['sellerRegionDescription'] + + _setter("type", type) + _setter("uuid", uuid) + if cross_connect_id is not None: + _setter("cross_connect_id", cross_connect_id) + if location is not None: + _setter("location", location) + if seller_region is not None: + _setter("seller_region", seller_region) + if seller_region_description is not None: + _setter("seller_region_description", seller_region_description) + + @property + @pulumi.getter + def type(self) -> str: + """ + Colo/Port Type + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Colo/Port Uuid + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="crossConnectId") + def cross_connect_id(self) -> Optional[str]: + """ + Cross Connect Id + """ + return pulumi.get(self, "cross_connect_id") + + @property + @pulumi.getter + def location(self) -> Optional['outputs.ServiceProfilePortLocation']: + """ + Colo/Port Location + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="sellerRegion") + def seller_region(self) -> Optional[str]: + """ + Seller Region + """ + return pulumi.get(self, "seller_region") + + @property + @pulumi.getter(name="sellerRegionDescription") + def seller_region_description(self) -> Optional[str]: + """ + Seller Region details + """ + return pulumi.get(self, "seller_region_description") + + +@pulumi.output_type +class ServiceProfilePortLocation(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "metroCode": + suggest = "metro_code" + elif key == "metroName": + suggest = "metro_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfilePortLocation. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfilePortLocation.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfilePortLocation.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None): + """ + :param str ibx: IBX Code + :param str metro_code: Access point metro code + :param str metro_name: Access point metro name + :param str region: Access point region + """ + ServiceProfilePortLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + + if ibx is not None: + _setter("ibx", ibx) + if metro_code is not None: + _setter("metro_code", metro_code) + if metro_name is not None: + _setter("metro_name", metro_name) + if region is not None: + _setter("region", region) + + @property + @pulumi.getter + def ibx(self) -> Optional[str]: + """ + IBX Code + """ + return pulumi.get(self, "ibx") + + @property + @pulumi.getter(name="metroCode") + def metro_code(self) -> Optional[str]: + """ + Access point metro code + """ + return pulumi.get(self, "metro_code") + + @property + @pulumi.getter(name="metroName") + def metro_name(self) -> Optional[str]: + """ + Access point metro name + """ + return pulumi.get(self, "metro_name") + + @property + @pulumi.getter + def region(self) -> Optional[str]: + """ + Access point region + """ + return pulumi.get(self, "region") + + +@pulumi.output_type +class ServiceProfileProject(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "projectId": + suggest = "project_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfileProject. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfileProject.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfileProject.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + href: Optional[str] = None, + project_id: Optional[str] = None): + """ + :param str href: Unique Resource URL + :param str project_id: Project Id + """ + ServiceProfileProject._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: Optional[str] = None, + project_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + + if href is not None: + _setter("href", href) + if project_id is not None: + _setter("project_id", project_id) + + @property + @pulumi.getter + def href(self) -> Optional[str]: + """ + Unique Resource URL + """ + return pulumi.get(self, "href") + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> Optional[str]: + """ + Project Id + """ + return pulumi.get(self, "project_id") + + +@pulumi.output_type +class ServiceProfileVirtualDevice(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "interfaceUuid": + suggest = "interface_uuid" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfileVirtualDevice. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfileVirtualDevice.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfileVirtualDevice.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + uuid: str, + interface_uuid: Optional[str] = None, + location: Optional['outputs.ServiceProfileVirtualDeviceLocation'] = None): + """ + :param str type: Virtual Device Type + :param str uuid: Virtual Device Uuid + :param str interface_uuid: Device Interface Uuid + :param 'ServiceProfileVirtualDeviceLocationArgs' location: Device Location + """ + ServiceProfileVirtualDevice._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uuid=uuid, + interface_uuid=interface_uuid, + location=location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uuid: str, + interface_uuid: Optional[str] = None, + location: Optional['outputs.ServiceProfileVirtualDeviceLocation'] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'interfaceUuid' in kwargs: + interface_uuid = kwargs['interfaceUuid'] + + _setter("type", type) + _setter("uuid", uuid) + if interface_uuid is not None: + _setter("interface_uuid", interface_uuid) + if location is not None: + _setter("location", location) + + @property + @pulumi.getter + def type(self) -> str: + """ + Virtual Device Type + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Virtual Device Uuid + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter(name="interfaceUuid") + def interface_uuid(self) -> Optional[str]: + """ + Device Interface Uuid + """ + return pulumi.get(self, "interface_uuid") + + @property + @pulumi.getter + def location(self) -> Optional['outputs.ServiceProfileVirtualDeviceLocation']: + """ + Device Location + """ + return pulumi.get(self, "location") + + +@pulumi.output_type +class ServiceProfileVirtualDeviceLocation(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "metroCode": + suggest = "metro_code" + elif key == "metroName": + suggest = "metro_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ServiceProfileVirtualDeviceLocation. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ServiceProfileVirtualDeviceLocation.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ServiceProfileVirtualDeviceLocation.__key_warning(key) return super().get(key, default) def __init__(__self__, *, @@ -3776,163 +6891,1650 @@ def __init__(__self__, *, metro_code: Optional[str] = None, metro_name: Optional[str] = None, region: Optional[str] = None): + """ + :param str ibx: IBX Code + :param str metro_code: Access point metro code + :param str metro_name: Access point metro name + :param str region: Access point region + """ + ServiceProfileVirtualDeviceLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + if ibx is not None: - pulumi.set(__self__, "ibx", ibx) + _setter("ibx", ibx) if metro_code is not None: - pulumi.set(__self__, "metro_code", metro_code) + _setter("metro_code", metro_code) if metro_name is not None: - pulumi.set(__self__, "metro_name", metro_name) + _setter("metro_name", metro_name) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) + + @property + @pulumi.getter + def ibx(self) -> Optional[str]: + """ + IBX Code + """ + return pulumi.get(self, "ibx") + + @property + @pulumi.getter(name="metroCode") + def metro_code(self) -> Optional[str]: + """ + Access point metro code + """ + return pulumi.get(self, "metro_code") + + @property + @pulumi.getter(name="metroName") + def metro_name(self) -> Optional[str]: + """ + Access point metro name + """ + return pulumi.get(self, "metro_name") + + @property + @pulumi.getter + def region(self) -> Optional[str]: + """ + Access point region + """ + return pulumi.get(self, "region") + + +@pulumi.output_type +class GetCloudRouterAccountResult(dict): + def __init__(__self__, *, + account_name: str, + account_number: int, + global_cust_id: str, + global_org_id: str, + global_organization_name: str, + org_id: int, + organization_name: str): + GetCloudRouterAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: str, + account_number: int, + global_cust_id: str, + global_org_id: str, + global_organization_name: str, + org_id: int, + organization_name: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + + _setter("account_name", account_name) + _setter("account_number", account_number) + _setter("global_cust_id", global_cust_id) + _setter("global_org_id", global_org_id) + _setter("global_organization_name", global_organization_name) + _setter("org_id", org_id) + _setter("organization_name", organization_name) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> str: + return pulumi.get(self, "account_name") + + @property + @pulumi.getter(name="accountNumber") + def account_number(self) -> int: + return pulumi.get(self, "account_number") + + @property + @pulumi.getter(name="globalCustId") + def global_cust_id(self) -> str: + return pulumi.get(self, "global_cust_id") + + @property + @pulumi.getter(name="globalOrgId") + def global_org_id(self) -> str: + return pulumi.get(self, "global_org_id") + + @property + @pulumi.getter(name="globalOrganizationName") + def global_organization_name(self) -> str: + return pulumi.get(self, "global_organization_name") + + @property + @pulumi.getter(name="orgId") + def org_id(self) -> int: + return pulumi.get(self, "org_id") + + @property + @pulumi.getter(name="organizationName") + def organization_name(self) -> str: + return pulumi.get(self, "organization_name") + + +@pulumi.output_type +class GetCloudRouterChangeLogResult(dict): + def __init__(__self__, *, + created_by: str, + created_by_email: str, + created_by_full_name: str, + created_date_time: str, + deleted_by: str, + deleted_by_email: str, + deleted_by_full_name: str, + deleted_date_time: str, + updated_by: str, + updated_by_email: str, + updated_by_full_name: str, + updated_date_time: str): + GetCloudRouterChangeLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: str, + created_by_email: str, + created_by_full_name: str, + created_date_time: str, + deleted_by: str, + deleted_by_email: str, + deleted_by_full_name: str, + deleted_date_time: str, + updated_by: str, + updated_by_email: str, + updated_by_full_name: str, + updated_date_time: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + + _setter("created_by", created_by) + _setter("created_by_email", created_by_email) + _setter("created_by_full_name", created_by_full_name) + _setter("created_date_time", created_date_time) + _setter("deleted_by", deleted_by) + _setter("deleted_by_email", deleted_by_email) + _setter("deleted_by_full_name", deleted_by_full_name) + _setter("deleted_date_time", deleted_date_time) + _setter("updated_by", updated_by) + _setter("updated_by_email", updated_by_email) + _setter("updated_by_full_name", updated_by_full_name) + _setter("updated_date_time", updated_date_time) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> str: + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByEmail") + def created_by_email(self) -> str: + return pulumi.get(self, "created_by_email") + + @property + @pulumi.getter(name="createdByFullName") + def created_by_full_name(self) -> str: + return pulumi.get(self, "created_by_full_name") + + @property + @pulumi.getter(name="createdDateTime") + def created_date_time(self) -> str: + return pulumi.get(self, "created_date_time") + + @property + @pulumi.getter(name="deletedBy") + def deleted_by(self) -> str: + return pulumi.get(self, "deleted_by") + + @property + @pulumi.getter(name="deletedByEmail") + def deleted_by_email(self) -> str: + return pulumi.get(self, "deleted_by_email") + + @property + @pulumi.getter(name="deletedByFullName") + def deleted_by_full_name(self) -> str: + return pulumi.get(self, "deleted_by_full_name") + + @property + @pulumi.getter(name="deletedDateTime") + def deleted_date_time(self) -> str: + return pulumi.get(self, "deleted_date_time") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> str: + return pulumi.get(self, "updated_by") + + @property + @pulumi.getter(name="updatedByEmail") + def updated_by_email(self) -> str: + return pulumi.get(self, "updated_by_email") + + @property + @pulumi.getter(name="updatedByFullName") + def updated_by_full_name(self) -> str: + return pulumi.get(self, "updated_by_full_name") + + @property + @pulumi.getter(name="updatedDateTime") + def updated_date_time(self) -> str: + return pulumi.get(self, "updated_date_time") + + +@pulumi.output_type +class GetCloudRouterLocationResult(dict): + def __init__(__self__, *, + href: str, + ibx: str, + metro_code: str, + metro_name: str, + region: str): + GetCloudRouterLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + ibx: str, + metro_code: str, + metro_name: str, + region: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + + _setter("href", href) + _setter("ibx", ibx) + _setter("metro_code", metro_code) + _setter("metro_name", metro_name) + _setter("region", region) + + @property + @pulumi.getter + def href(self) -> str: + return pulumi.get(self, "href") + + @property + @pulumi.getter + def ibx(self) -> str: + return pulumi.get(self, "ibx") + + @property + @pulumi.getter(name="metroCode") + def metro_code(self) -> str: + return pulumi.get(self, "metro_code") + + @property + @pulumi.getter(name="metroName") + def metro_name(self) -> str: + return pulumi.get(self, "metro_name") + + @property + @pulumi.getter + def region(self) -> str: + return pulumi.get(self, "region") + + +@pulumi.output_type +class GetCloudRouterNotificationResult(dict): + def __init__(__self__, *, + emails: Sequence[str], + send_interval: str, + type: str): + GetCloudRouterNotificationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + emails=emails, + send_interval=send_interval, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + emails: Sequence[str], + send_interval: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sendInterval' in kwargs: + send_interval = kwargs['sendInterval'] + + _setter("emails", emails) + _setter("send_interval", send_interval) + _setter("type", type) + + @property + @pulumi.getter + def emails(self) -> Sequence[str]: + return pulumi.get(self, "emails") + + @property + @pulumi.getter(name="sendInterval") + def send_interval(self) -> str: + return pulumi.get(self, "send_interval") + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetCloudRouterOrderResult(dict): + def __init__(__self__, *, + billing_tier: str, + order_id: str, + order_number: str, + purchase_order_number: str): + GetCloudRouterOrderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_tier=billing_tier, + order_id=order_id, + order_number=order_number, + purchase_order_number=purchase_order_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_tier: str, + order_id: str, + order_number: str, + purchase_order_number: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'billingTier' in kwargs: + billing_tier = kwargs['billingTier'] + if 'orderId' in kwargs: + order_id = kwargs['orderId'] + if 'orderNumber' in kwargs: + order_number = kwargs['orderNumber'] + if 'purchaseOrderNumber' in kwargs: + purchase_order_number = kwargs['purchaseOrderNumber'] + + _setter("billing_tier", billing_tier) + _setter("order_id", order_id) + _setter("order_number", order_number) + _setter("purchase_order_number", purchase_order_number) + + @property + @pulumi.getter(name="billingTier") + def billing_tier(self) -> str: + return pulumi.get(self, "billing_tier") + + @property + @pulumi.getter(name="orderId") + def order_id(self) -> str: + return pulumi.get(self, "order_id") + + @property + @pulumi.getter(name="orderNumber") + def order_number(self) -> str: + return pulumi.get(self, "order_number") + + @property + @pulumi.getter(name="purchaseOrderNumber") + def purchase_order_number(self) -> str: + return pulumi.get(self, "purchase_order_number") + + +@pulumi.output_type +class GetCloudRouterPackageResult(dict): + def __init__(__self__, *, + code: str): + GetCloudRouterPackageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("code", code) + + @property + @pulumi.getter + def code(self) -> str: + return pulumi.get(self, "code") + + +@pulumi.output_type +class GetCloudRouterProjectResult(dict): + def __init__(__self__, *, + href: str, + project_id: str): + """ + :param str href: Unique Resource URL + :param str project_id: Project Id + """ + GetCloudRouterProjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + project_id: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + + _setter("href", href) + _setter("project_id", project_id) + + @property + @pulumi.getter + def href(self) -> str: + """ + Unique Resource URL + """ + return pulumi.get(self, "href") + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> str: + """ + Project Id + """ + return pulumi.get(self, "project_id") + + +@pulumi.output_type +class GetConnectionASideResult(dict): + def __init__(__self__, *, + access_point: 'outputs.GetConnectionASideAccessPointResult', + service_token: 'outputs.GetConnectionASideServiceTokenResult'): + GetConnectionASideResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_point=access_point, + service_token=service_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_point: 'outputs.GetConnectionASideAccessPointResult', + service_token: 'outputs.GetConnectionASideServiceTokenResult', + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPoint' in kwargs: + access_point = kwargs['accessPoint'] + if 'serviceToken' in kwargs: + service_token = kwargs['serviceToken'] + + _setter("access_point", access_point) + _setter("service_token", service_token) + + @property + @pulumi.getter(name="accessPoint") + def access_point(self) -> 'outputs.GetConnectionASideAccessPointResult': + return pulumi.get(self, "access_point") + + @property + @pulumi.getter(name="serviceToken") + def service_token(self) -> 'outputs.GetConnectionASideServiceTokenResult': + return pulumi.get(self, "service_token") + + +@pulumi.output_type +class GetConnectionASideAccessPointResult(dict): + def __init__(__self__, *, + accounts: Sequence['outputs.GetConnectionASideAccessPointAccountResult'], + authentication_key: str, + gateways: Sequence['outputs.GetConnectionASideAccessPointGatewayResult'], + interfaces: Sequence['outputs.GetConnectionASideAccessPointInterfaceResult'], + link_protocols: Sequence['outputs.GetConnectionASideAccessPointLinkProtocolResult'], + locations: Sequence['outputs.GetConnectionASideAccessPointLocationResult'], + peering_type: str, + ports: Sequence['outputs.GetConnectionASideAccessPointPortResult'], + profiles: Sequence['outputs.GetConnectionASideAccessPointProfileResult'], + provider_connection_id: str, + routers: Sequence['outputs.GetConnectionASideAccessPointRouterResult'], + seller_region: str, + type: str, + virtual_devices: Sequence['outputs.GetConnectionASideAccessPointVirtualDeviceResult']): + """ + :param Sequence['GetConnectionASideAccessPointRouterArgs'] routers: CloudRouter; Replaces `gateway` attribute (Set of Object) + """ + GetConnectionASideAccessPointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accounts=accounts, + authentication_key=authentication_key, + gateways=gateways, + interfaces=interfaces, + link_protocols=link_protocols, + locations=locations, + peering_type=peering_type, + ports=ports, + profiles=profiles, + provider_connection_id=provider_connection_id, + routers=routers, + seller_region=seller_region, + type=type, + virtual_devices=virtual_devices, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accounts: Sequence['outputs.GetConnectionASideAccessPointAccountResult'], + authentication_key: str, + gateways: Sequence['outputs.GetConnectionASideAccessPointGatewayResult'], + interfaces: Sequence['outputs.GetConnectionASideAccessPointInterfaceResult'], + link_protocols: Sequence['outputs.GetConnectionASideAccessPointLinkProtocolResult'], + locations: Sequence['outputs.GetConnectionASideAccessPointLocationResult'], + peering_type: str, + ports: Sequence['outputs.GetConnectionASideAccessPointPortResult'], + profiles: Sequence['outputs.GetConnectionASideAccessPointProfileResult'], + provider_connection_id: str, + routers: Sequence['outputs.GetConnectionASideAccessPointRouterResult'], + seller_region: str, + type: str, + virtual_devices: Sequence['outputs.GetConnectionASideAccessPointVirtualDeviceResult'], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authenticationKey' in kwargs: + authentication_key = kwargs['authenticationKey'] + if 'linkProtocols' in kwargs: + link_protocols = kwargs['linkProtocols'] + if 'peeringType' in kwargs: + peering_type = kwargs['peeringType'] + if 'providerConnectionId' in kwargs: + provider_connection_id = kwargs['providerConnectionId'] + if 'sellerRegion' in kwargs: + seller_region = kwargs['sellerRegion'] + if 'virtualDevices' in kwargs: + virtual_devices = kwargs['virtualDevices'] + + _setter("accounts", accounts) + _setter("authentication_key", authentication_key) + _setter("gateways", gateways) + _setter("interfaces", interfaces) + _setter("link_protocols", link_protocols) + _setter("locations", locations) + _setter("peering_type", peering_type) + _setter("ports", ports) + _setter("profiles", profiles) + _setter("provider_connection_id", provider_connection_id) + _setter("routers", routers) + _setter("seller_region", seller_region) + _setter("type", type) + _setter("virtual_devices", virtual_devices) + + @property + @pulumi.getter + def accounts(self) -> Sequence['outputs.GetConnectionASideAccessPointAccountResult']: + return pulumi.get(self, "accounts") + + @property + @pulumi.getter(name="authenticationKey") + def authentication_key(self) -> str: + return pulumi.get(self, "authentication_key") + + @property + @pulumi.getter + def gateways(self) -> Sequence['outputs.GetConnectionASideAccessPointGatewayResult']: + warnings.warn("""router attribute will be returned instead""", DeprecationWarning) + pulumi.log.warn("""gateways is deprecated: router attribute will be returned instead""") + + return pulumi.get(self, "gateways") + + @property + @pulumi.getter + def interfaces(self) -> Sequence['outputs.GetConnectionASideAccessPointInterfaceResult']: + return pulumi.get(self, "interfaces") + + @property + @pulumi.getter(name="linkProtocols") + def link_protocols(self) -> Sequence['outputs.GetConnectionASideAccessPointLinkProtocolResult']: + return pulumi.get(self, "link_protocols") + + @property + @pulumi.getter + def locations(self) -> Sequence['outputs.GetConnectionASideAccessPointLocationResult']: + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="peeringType") + def peering_type(self) -> str: + return pulumi.get(self, "peering_type") + + @property + @pulumi.getter + def ports(self) -> Sequence['outputs.GetConnectionASideAccessPointPortResult']: + return pulumi.get(self, "ports") + + @property + @pulumi.getter + def profiles(self) -> Sequence['outputs.GetConnectionASideAccessPointProfileResult']: + return pulumi.get(self, "profiles") + + @property + @pulumi.getter(name="providerConnectionId") + def provider_connection_id(self) -> str: + return pulumi.get(self, "provider_connection_id") + + @property + @pulumi.getter + def routers(self) -> Sequence['outputs.GetConnectionASideAccessPointRouterResult']: + """ + CloudRouter; Replaces `gateway` attribute (Set of Object) + """ + return pulumi.get(self, "routers") + + @property + @pulumi.getter(name="sellerRegion") + def seller_region(self) -> str: + return pulumi.get(self, "seller_region") + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="virtualDevices") + def virtual_devices(self) -> Sequence['outputs.GetConnectionASideAccessPointVirtualDeviceResult']: + return pulumi.get(self, "virtual_devices") + + +@pulumi.output_type +class GetConnectionASideAccessPointAccountResult(dict): + def __init__(__self__, *, + account_name: str, + account_number: int, + global_cust_id: str, + global_org_id: str, + global_organization_name: str, + org_id: int, + organization_name: str): + GetConnectionASideAccessPointAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: str, + account_number: int, + global_cust_id: str, + global_org_id: str, + global_organization_name: str, + org_id: int, + organization_name: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + + _setter("account_name", account_name) + _setter("account_number", account_number) + _setter("global_cust_id", global_cust_id) + _setter("global_org_id", global_org_id) + _setter("global_organization_name", global_organization_name) + _setter("org_id", org_id) + _setter("organization_name", organization_name) + + @property + @pulumi.getter(name="accountName") + def account_name(self) -> str: + return pulumi.get(self, "account_name") + + @property + @pulumi.getter(name="accountNumber") + def account_number(self) -> int: + return pulumi.get(self, "account_number") + + @property + @pulumi.getter(name="globalCustId") + def global_cust_id(self) -> str: + return pulumi.get(self, "global_cust_id") + + @property + @pulumi.getter(name="globalOrgId") + def global_org_id(self) -> str: + return pulumi.get(self, "global_org_id") + + @property + @pulumi.getter(name="globalOrganizationName") + def global_organization_name(self) -> str: + return pulumi.get(self, "global_organization_name") + + @property + @pulumi.getter(name="orgId") + def org_id(self) -> int: + return pulumi.get(self, "org_id") + + @property + @pulumi.getter(name="organizationName") + def organization_name(self) -> str: + return pulumi.get(self, "organization_name") + + +@pulumi.output_type +class GetConnectionASideAccessPointGatewayResult(dict): + def __init__(__self__, *, + href: str, + state: str, + uuid: str): + GetConnectionASideAccessPointGatewayResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + state=state, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + state: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("href", href) + _setter("state", state) + _setter("uuid", uuid) + + @property + @pulumi.getter + def href(self) -> str: + return pulumi.get(self, "href") + + @property + @pulumi.getter + def state(self) -> str: + return pulumi.get(self, "state") + + @property + @pulumi.getter + def uuid(self) -> str: + return pulumi.get(self, "uuid") + + +@pulumi.output_type +class GetConnectionASideAccessPointInterfaceResult(dict): + def __init__(__self__, *, + id: str, + type: str, + uuid: str): + GetConnectionASideAccessPointInterfaceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("id", id) + _setter("type", type) + _setter("uuid", uuid) + + @property + @pulumi.getter + def id(self) -> str: + return pulumi.get(self, "id") + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + return pulumi.get(self, "uuid") + + +@pulumi.output_type +class GetConnectionASideAccessPointLinkProtocolResult(dict): + def __init__(__self__, *, + type: str, + vlan_c_tag: int, + vlan_s_tag: int, + vlan_tag: int): + GetConnectionASideAccessPointLinkProtocolResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + vlan_c_tag=vlan_c_tag, + vlan_s_tag=vlan_s_tag, + vlan_tag=vlan_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + vlan_c_tag: int, + vlan_s_tag: int, + vlan_tag: int, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'vlanCTag' in kwargs: + vlan_c_tag = kwargs['vlanCTag'] + if 'vlanSTag' in kwargs: + vlan_s_tag = kwargs['vlanSTag'] + if 'vlanTag' in kwargs: + vlan_tag = kwargs['vlanTag'] + + _setter("type", type) + _setter("vlan_c_tag", vlan_c_tag) + _setter("vlan_s_tag", vlan_s_tag) + _setter("vlan_tag", vlan_tag) + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="vlanCTag") + def vlan_c_tag(self) -> int: + return pulumi.get(self, "vlan_c_tag") + + @property + @pulumi.getter(name="vlanSTag") + def vlan_s_tag(self) -> int: + return pulumi.get(self, "vlan_s_tag") + + @property + @pulumi.getter(name="vlanTag") + def vlan_tag(self) -> int: + return pulumi.get(self, "vlan_tag") + + +@pulumi.output_type +class GetConnectionASideAccessPointLocationResult(dict): + def __init__(__self__, *, + href: str, + ibx: str, + metro_code: str, + metro_name: str, + region: str): + GetConnectionASideAccessPointLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + ibx: str, + metro_code: str, + metro_name: str, + region: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + + _setter("href", href) + _setter("ibx", ibx) + _setter("metro_code", metro_code) + _setter("metro_name", metro_name) + _setter("region", region) + + @property + @pulumi.getter + def href(self) -> str: + return pulumi.get(self, "href") + + @property + @pulumi.getter + def ibx(self) -> str: + return pulumi.get(self, "ibx") + + @property + @pulumi.getter(name="metroCode") + def metro_code(self) -> str: + return pulumi.get(self, "metro_code") + + @property + @pulumi.getter(name="metroName") + def metro_name(self) -> str: + return pulumi.get(self, "metro_name") + + @property + @pulumi.getter + def region(self) -> str: + return pulumi.get(self, "region") + + +@pulumi.output_type +class GetConnectionASideAccessPointPortResult(dict): + def __init__(__self__, *, + href: str, + name: str, + redundancies: Sequence['outputs.GetConnectionASideAccessPointPortRedundancyResult'], + uuid: str): + GetConnectionASideAccessPointPortResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + name=name, + redundancies=redundancies, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + name: str, + redundancies: Sequence['outputs.GetConnectionASideAccessPointPortRedundancyResult'], + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("href", href) + _setter("name", name) + _setter("redundancies", redundancies) + _setter("uuid", uuid) + + @property + @pulumi.getter + def href(self) -> str: + return pulumi.get(self, "href") + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def redundancies(self) -> Sequence['outputs.GetConnectionASideAccessPointPortRedundancyResult']: + return pulumi.get(self, "redundancies") @property @pulumi.getter - def ibx(self) -> Optional[str]: - return pulumi.get(self, "ibx") + def uuid(self) -> str: + return pulumi.get(self, "uuid") + + +@pulumi.output_type +class GetConnectionASideAccessPointPortRedundancyResult(dict): + def __init__(__self__, *, + priority: str): + GetConnectionASideAccessPointPortRedundancyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + priority: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("priority", priority) @property - @pulumi.getter(name="metroCode") - def metro_code(self) -> Optional[str]: - return pulumi.get(self, "metro_code") + @pulumi.getter + def priority(self) -> str: + return pulumi.get(self, "priority") + + +@pulumi.output_type +class GetConnectionASideAccessPointProfileResult(dict): + def __init__(__self__, *, + access_point_type_configs: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigResult'], + description: str, + href: str, + name: str, + type: str, + uuid: str): + GetConnectionASideAccessPointProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_point_type_configs=access_point_type_configs, + description=description, + href=href, + name=name, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_point_type_configs: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigResult'], + description: str, + href: str, + name: str, + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPointTypeConfigs' in kwargs: + access_point_type_configs = kwargs['accessPointTypeConfigs'] + + _setter("access_point_type_configs", access_point_type_configs) + _setter("description", description) + _setter("href", href) + _setter("name", name) + _setter("type", type) + _setter("uuid", uuid) @property - @pulumi.getter(name="metroName") - def metro_name(self) -> Optional[str]: - return pulumi.get(self, "metro_name") + @pulumi.getter(name="accessPointTypeConfigs") + def access_point_type_configs(self) -> Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigResult']: + return pulumi.get(self, "access_point_type_configs") @property @pulumi.getter - def region(self) -> Optional[str]: - return pulumi.get(self, "region") + def description(self) -> str: + return pulumi.get(self, "description") + + @property + @pulumi.getter + def href(self) -> str: + return pulumi.get(self, "href") + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + return pulumi.get(self, "uuid") @pulumi.output_type -class GetConnectionASideResult(dict): +class GetConnectionASideAccessPointProfileAccessPointTypeConfigResult(dict): def __init__(__self__, *, - access_point: 'outputs.GetConnectionASideAccessPointResult', - service_token: 'outputs.GetConnectionASideServiceTokenResult'): - pulumi.set(__self__, "access_point", access_point) - pulumi.set(__self__, "service_token", service_token) + allow_bandwidth_auto_approval: bool, + allow_bandwidth_upgrade: bool, + allow_custom_bandwidth: bool, + allow_remote_connections: bool, + api_configs: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigResult'], + authentication_keys: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult'], + bandwidth_alert_threshold: float, + connection_label: str, + connection_redundancy_required: bool, + enable_auto_generate_service_key: bool, + link_protocol_configs: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult'], + supported_bandwidths: Sequence[int], + type: str, + uuid: str): + GetConnectionASideAccessPointProfileAccessPointTypeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_bandwidth_auto_approval=allow_bandwidth_auto_approval, + allow_bandwidth_upgrade=allow_bandwidth_upgrade, + allow_custom_bandwidth=allow_custom_bandwidth, + allow_remote_connections=allow_remote_connections, + api_configs=api_configs, + authentication_keys=authentication_keys, + bandwidth_alert_threshold=bandwidth_alert_threshold, + connection_label=connection_label, + connection_redundancy_required=connection_redundancy_required, + enable_auto_generate_service_key=enable_auto_generate_service_key, + link_protocol_configs=link_protocol_configs, + supported_bandwidths=supported_bandwidths, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_bandwidth_auto_approval: bool, + allow_bandwidth_upgrade: bool, + allow_custom_bandwidth: bool, + allow_remote_connections: bool, + api_configs: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigResult'], + authentication_keys: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult'], + bandwidth_alert_threshold: float, + connection_label: str, + connection_redundancy_required: bool, + enable_auto_generate_service_key: bool, + link_protocol_configs: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult'], + supported_bandwidths: Sequence[int], + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowBandwidthAutoApproval' in kwargs: + allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] + if 'allowBandwidthUpgrade' in kwargs: + allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] + if 'allowCustomBandwidth' in kwargs: + allow_custom_bandwidth = kwargs['allowCustomBandwidth'] + if 'allowRemoteConnections' in kwargs: + allow_remote_connections = kwargs['allowRemoteConnections'] + if 'apiConfigs' in kwargs: + api_configs = kwargs['apiConfigs'] + if 'authenticationKeys' in kwargs: + authentication_keys = kwargs['authenticationKeys'] + if 'bandwidthAlertThreshold' in kwargs: + bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] + if 'connectionLabel' in kwargs: + connection_label = kwargs['connectionLabel'] + if 'connectionRedundancyRequired' in kwargs: + connection_redundancy_required = kwargs['connectionRedundancyRequired'] + if 'enableAutoGenerateServiceKey' in kwargs: + enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] + if 'linkProtocolConfigs' in kwargs: + link_protocol_configs = kwargs['linkProtocolConfigs'] + if 'supportedBandwidths' in kwargs: + supported_bandwidths = kwargs['supportedBandwidths'] + + _setter("allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) + _setter("allow_bandwidth_upgrade", allow_bandwidth_upgrade) + _setter("allow_custom_bandwidth", allow_custom_bandwidth) + _setter("allow_remote_connections", allow_remote_connections) + _setter("api_configs", api_configs) + _setter("authentication_keys", authentication_keys) + _setter("bandwidth_alert_threshold", bandwidth_alert_threshold) + _setter("connection_label", connection_label) + _setter("connection_redundancy_required", connection_redundancy_required) + _setter("enable_auto_generate_service_key", enable_auto_generate_service_key) + _setter("link_protocol_configs", link_protocol_configs) + _setter("supported_bandwidths", supported_bandwidths) + _setter("type", type) + _setter("uuid", uuid) @property - @pulumi.getter(name="accessPoint") - def access_point(self) -> 'outputs.GetConnectionASideAccessPointResult': - return pulumi.get(self, "access_point") + @pulumi.getter(name="allowBandwidthAutoApproval") + def allow_bandwidth_auto_approval(self) -> bool: + return pulumi.get(self, "allow_bandwidth_auto_approval") @property - @pulumi.getter(name="serviceToken") - def service_token(self) -> 'outputs.GetConnectionASideServiceTokenResult': - return pulumi.get(self, "service_token") + @pulumi.getter(name="allowBandwidthUpgrade") + def allow_bandwidth_upgrade(self) -> bool: + return pulumi.get(self, "allow_bandwidth_upgrade") + + @property + @pulumi.getter(name="allowCustomBandwidth") + def allow_custom_bandwidth(self) -> bool: + return pulumi.get(self, "allow_custom_bandwidth") + + @property + @pulumi.getter(name="allowRemoteConnections") + def allow_remote_connections(self) -> bool: + return pulumi.get(self, "allow_remote_connections") + + @property + @pulumi.getter(name="apiConfigs") + def api_configs(self) -> Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigResult']: + return pulumi.get(self, "api_configs") + + @property + @pulumi.getter(name="authenticationKeys") + def authentication_keys(self) -> Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult']: + return pulumi.get(self, "authentication_keys") + + @property + @pulumi.getter(name="bandwidthAlertThreshold") + def bandwidth_alert_threshold(self) -> float: + return pulumi.get(self, "bandwidth_alert_threshold") + + @property + @pulumi.getter(name="connectionLabel") + def connection_label(self) -> str: + return pulumi.get(self, "connection_label") + + @property + @pulumi.getter(name="connectionRedundancyRequired") + def connection_redundancy_required(self) -> bool: + return pulumi.get(self, "connection_redundancy_required") + + @property + @pulumi.getter(name="enableAutoGenerateServiceKey") + def enable_auto_generate_service_key(self) -> bool: + return pulumi.get(self, "enable_auto_generate_service_key") + + @property + @pulumi.getter(name="linkProtocolConfigs") + def link_protocol_configs(self) -> Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult']: + return pulumi.get(self, "link_protocol_configs") + + @property + @pulumi.getter(name="supportedBandwidths") + def supported_bandwidths(self) -> Sequence[int]: + return pulumi.get(self, "supported_bandwidths") + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + return pulumi.get(self, "uuid") @pulumi.output_type -class GetConnectionASideAccessPointResult(dict): +class GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigResult(dict): def __init__(__self__, *, - accounts: Sequence['outputs.GetConnectionASideAccessPointAccountResult'], - authentication_key: str, - gateways: Sequence['outputs.GetConnectionASideAccessPointGatewayResult'], - interfaces: Sequence['outputs.GetConnectionASideAccessPointInterfaceResult'], - link_protocols: Sequence['outputs.GetConnectionASideAccessPointLinkProtocolResult'], - locations: Sequence['outputs.GetConnectionASideAccessPointLocationResult'], - peering_type: str, - ports: Sequence['outputs.GetConnectionASideAccessPointPortResult'], - profiles: Sequence['outputs.GetConnectionASideAccessPointProfileResult'], - provider_connection_id: str, - seller_region: str, - type: str, - virtual_devices: Sequence['outputs.GetConnectionASideAccessPointVirtualDeviceResult']): - """ - :param Sequence['GetConnectionASideAccessPointAccountArgs'] accounts: Customer account information that is associated with this connection - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - pulumi.set(__self__, "accounts", accounts) - pulumi.set(__self__, "authentication_key", authentication_key) - pulumi.set(__self__, "gateways", gateways) - pulumi.set(__self__, "interfaces", interfaces) - pulumi.set(__self__, "link_protocols", link_protocols) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "peering_type", peering_type) - pulumi.set(__self__, "ports", ports) - pulumi.set(__self__, "profiles", profiles) - pulumi.set(__self__, "provider_connection_id", provider_connection_id) - pulumi.set(__self__, "seller_region", seller_region) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "virtual_devices", virtual_devices) + allow_over_subscription: bool, + api_available: bool, + bandwidth_from_api: bool, + equinix_managed_port: bool, + equinix_managed_vlan: bool, + integration_id: str, + over_subscription_limit: int): + GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_over_subscription=allow_over_subscription, + api_available=api_available, + bandwidth_from_api=bandwidth_from_api, + equinix_managed_port=equinix_managed_port, + equinix_managed_vlan=equinix_managed_vlan, + integration_id=integration_id, + over_subscription_limit=over_subscription_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_over_subscription: bool, + api_available: bool, + bandwidth_from_api: bool, + equinix_managed_port: bool, + equinix_managed_vlan: bool, + integration_id: str, + over_subscription_limit: int, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowOverSubscription' in kwargs: + allow_over_subscription = kwargs['allowOverSubscription'] + if 'apiAvailable' in kwargs: + api_available = kwargs['apiAvailable'] + if 'bandwidthFromApi' in kwargs: + bandwidth_from_api = kwargs['bandwidthFromApi'] + if 'equinixManagedPort' in kwargs: + equinix_managed_port = kwargs['equinixManagedPort'] + if 'equinixManagedVlan' in kwargs: + equinix_managed_vlan = kwargs['equinixManagedVlan'] + if 'integrationId' in kwargs: + integration_id = kwargs['integrationId'] + if 'overSubscriptionLimit' in kwargs: + over_subscription_limit = kwargs['overSubscriptionLimit'] + + _setter("allow_over_subscription", allow_over_subscription) + _setter("api_available", api_available) + _setter("bandwidth_from_api", bandwidth_from_api) + _setter("equinix_managed_port", equinix_managed_port) + _setter("equinix_managed_vlan", equinix_managed_vlan) + _setter("integration_id", integration_id) + _setter("over_subscription_limit", over_subscription_limit) + + @property + @pulumi.getter(name="allowOverSubscription") + def allow_over_subscription(self) -> bool: + return pulumi.get(self, "allow_over_subscription") + + @property + @pulumi.getter(name="apiAvailable") + def api_available(self) -> bool: + return pulumi.get(self, "api_available") + + @property + @pulumi.getter(name="bandwidthFromApi") + def bandwidth_from_api(self) -> bool: + return pulumi.get(self, "bandwidth_from_api") + + @property + @pulumi.getter(name="equinixManagedPort") + def equinix_managed_port(self) -> bool: + return pulumi.get(self, "equinix_managed_port") + + @property + @pulumi.getter(name="equinixManagedVlan") + def equinix_managed_vlan(self) -> bool: + return pulumi.get(self, "equinix_managed_vlan") + + @property + @pulumi.getter(name="integrationId") + def integration_id(self) -> str: + return pulumi.get(self, "integration_id") + + @property + @pulumi.getter(name="overSubscriptionLimit") + def over_subscription_limit(self) -> int: + return pulumi.get(self, "over_subscription_limit") + + +@pulumi.output_type +class GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult(dict): + def __init__(__self__, *, + description: str, + label: str, + required: bool): + GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + label=label, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + label: str, + required: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("description", description) + _setter("label", label) + _setter("required", required) @property @pulumi.getter - def accounts(self) -> Sequence['outputs.GetConnectionASideAccessPointAccountResult']: - """ - Customer account information that is associated with this connection - """ - return pulumi.get(self, "accounts") + def description(self) -> str: + return pulumi.get(self, "description") + + @property + @pulumi.getter + def label(self) -> str: + return pulumi.get(self, "label") + + @property + @pulumi.getter + def required(self) -> bool: + return pulumi.get(self, "required") + + +@pulumi.output_type +class GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult(dict): + def __init__(__self__, *, + encapsulation: str, + encapsulation_strategy: str, + reuse_vlan_s_tag: bool): + GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + encapsulation=encapsulation, + encapsulation_strategy=encapsulation_strategy, + reuse_vlan_s_tag=reuse_vlan_s_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + encapsulation: str, + encapsulation_strategy: str, + reuse_vlan_s_tag: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'encapsulationStrategy' in kwargs: + encapsulation_strategy = kwargs['encapsulationStrategy'] + if 'reuseVlanSTag' in kwargs: + reuse_vlan_s_tag = kwargs['reuseVlanSTag'] + + _setter("encapsulation", encapsulation) + _setter("encapsulation_strategy", encapsulation_strategy) + _setter("reuse_vlan_s_tag", reuse_vlan_s_tag) + + @property + @pulumi.getter + def encapsulation(self) -> str: + return pulumi.get(self, "encapsulation") @property - @pulumi.getter(name="authenticationKey") - def authentication_key(self) -> str: - return pulumi.get(self, "authentication_key") + @pulumi.getter(name="encapsulationStrategy") + def encapsulation_strategy(self) -> str: + return pulumi.get(self, "encapsulation_strategy") @property - @pulumi.getter - def gateways(self) -> Sequence['outputs.GetConnectionASideAccessPointGatewayResult']: - return pulumi.get(self, "gateways") + @pulumi.getter(name="reuseVlanSTag") + def reuse_vlan_s_tag(self) -> bool: + return pulumi.get(self, "reuse_vlan_s_tag") + + +@pulumi.output_type +class GetConnectionASideAccessPointRouterResult(dict): + def __init__(__self__, *, + href: str, + state: str, + uuid: str): + GetConnectionASideAccessPointRouterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + state=state, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + state: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("href", href) + _setter("state", state) + _setter("uuid", uuid) @property @pulumi.getter - def interfaces(self) -> Sequence['outputs.GetConnectionASideAccessPointInterfaceResult']: - return pulumi.get(self, "interfaces") + def href(self) -> str: + return pulumi.get(self, "href") @property - @pulumi.getter(name="linkProtocols") - def link_protocols(self) -> Sequence['outputs.GetConnectionASideAccessPointLinkProtocolResult']: - return pulumi.get(self, "link_protocols") + @pulumi.getter + def state(self) -> str: + return pulumi.get(self, "state") @property @pulumi.getter - def locations(self) -> Sequence['outputs.GetConnectionASideAccessPointLocationResult']: - return pulumi.get(self, "locations") + def uuid(self) -> str: + return pulumi.get(self, "uuid") + + +@pulumi.output_type +class GetConnectionASideAccessPointVirtualDeviceResult(dict): + def __init__(__self__, *, + href: str, + type: str, + uuid: str): + GetConnectionASideAccessPointVirtualDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("href", href) + _setter("type", type) + _setter("uuid", uuid) @property - @pulumi.getter(name="peeringType") - def peering_type(self) -> str: - return pulumi.get(self, "peering_type") + @pulumi.getter + def href(self) -> str: + return pulumi.get(self, "href") @property @pulumi.getter - def ports(self) -> Sequence['outputs.GetConnectionASideAccessPointPortResult']: - return pulumi.get(self, "ports") + def type(self) -> str: + return pulumi.get(self, "type") @property @pulumi.getter - def profiles(self) -> Sequence['outputs.GetConnectionASideAccessPointProfileResult']: - return pulumi.get(self, "profiles") + def uuid(self) -> str: + return pulumi.get(self, "uuid") + + +@pulumi.output_type +class GetConnectionASideServiceTokenResult(dict): + def __init__(__self__, *, + description: str, + href: str, + type: str, + uuid: str): + GetConnectionASideServiceTokenResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + href: str, + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("description", description) + _setter("href", href) + _setter("type", type) + _setter("uuid", uuid) @property - @pulumi.getter(name="providerConnectionId") - def provider_connection_id(self) -> str: - return pulumi.get(self, "provider_connection_id") + @pulumi.getter + def description(self) -> str: + return pulumi.get(self, "description") @property - @pulumi.getter(name="sellerRegion") - def seller_region(self) -> str: - return pulumi.get(self, "seller_region") + @pulumi.getter + def href(self) -> str: + return pulumi.get(self, "href") @property @pulumi.getter def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ return pulumi.get(self, "type") @property - @pulumi.getter(name="virtualDevices") - def virtual_devices(self) -> Sequence['outputs.GetConnectionASideAccessPointVirtualDeviceResult']: - return pulumi.get(self, "virtual_devices") + @pulumi.getter + def uuid(self) -> str: + return pulumi.get(self, "uuid") @pulumi.output_type -class GetConnectionASideAccessPointAccountResult(dict): +class GetConnectionAccountResult(dict): def __init__(__self__, *, account_name: str, account_number: int, @@ -3941,13 +8543,50 @@ def __init__(__self__, *, global_organization_name: str, org_id: int, organization_name: str): - pulumi.set(__self__, "account_name", account_name) - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "global_cust_id", global_cust_id) - pulumi.set(__self__, "global_org_id", global_org_id) - pulumi.set(__self__, "global_organization_name", global_organization_name) - pulumi.set(__self__, "org_id", org_id) - pulumi.set(__self__, "organization_name", organization_name) + GetConnectionAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: str, + account_number: int, + global_cust_id: str, + global_org_id: str, + global_organization_name: str, + org_id: int, + organization_name: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + + _setter("account_name", account_name) + _setter("account_number", account_number) + _setter("global_cust_id", global_cust_id) + _setter("global_org_id", global_org_id) + _setter("global_organization_name", global_organization_name) + _setter("org_id", org_id) + _setter("organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -3986,620 +8625,712 @@ def organization_name(self) -> str: @pulumi.output_type -class GetConnectionASideAccessPointGatewayResult(dict): - def __init__(__self__, *, - href: str, - state: str, - uuid: str): - """ - :param str href: Connection URI information - :param str state: Connection overall state - :param str uuid: Equinix-assigned connection identifier - """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "uuid", uuid) - - @property - @pulumi.getter - def href(self) -> str: - """ - Connection URI information - """ - return pulumi.get(self, "href") - - @property - @pulumi.getter - def state(self) -> str: - """ - Connection overall state - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ - return pulumi.get(self, "uuid") - - -@pulumi.output_type -class GetConnectionASideAccessPointInterfaceResult(dict): +class GetConnectionAdditionalInfoResult(dict): def __init__(__self__, *, - id: str, - type: str, - uuid: str): - """ - :param str id: The ID of this resource. - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param str uuid: Equinix-assigned connection identifier - """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) - - @property - @pulumi.getter - def id(self) -> str: - """ - The ID of this resource. - """ - return pulumi.get(self, "id") + key: str, + value: str): + GetConnectionAdditionalInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter - def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - return pulumi.get(self, "type") + _setter("key", key) + _setter("value", value) @property @pulumi.getter - def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ - return pulumi.get(self, "uuid") - - -@pulumi.output_type -class GetConnectionASideAccessPointLinkProtocolResult(dict): - def __init__(__self__, *, - type: str, - vlan_c_tag: int, - vlan_s_tag: int, - vlan_tag: int): - """ - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vlan_c_tag", vlan_c_tag) - pulumi.set(__self__, "vlan_s_tag", vlan_s_tag) - pulumi.set(__self__, "vlan_tag", vlan_tag) + def key(self) -> str: + return pulumi.get(self, "key") @property @pulumi.getter - def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - return pulumi.get(self, "type") - - @property - @pulumi.getter(name="vlanCTag") - def vlan_c_tag(self) -> int: - return pulumi.get(self, "vlan_c_tag") - - @property - @pulumi.getter(name="vlanSTag") - def vlan_s_tag(self) -> int: - return pulumi.get(self, "vlan_s_tag") - - @property - @pulumi.getter(name="vlanTag") - def vlan_tag(self) -> int: - return pulumi.get(self, "vlan_tag") + def value(self) -> str: + return pulumi.get(self, "value") @pulumi.output_type -class GetConnectionASideAccessPointLocationResult(dict): +class GetConnectionChangeLogResult(dict): def __init__(__self__, *, - href: str, - ibx: str, - metro_code: str, - metro_name: str, - region: str): - """ - :param str href: Connection URI information - """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "ibx", ibx) - pulumi.set(__self__, "metro_code", metro_code) - pulumi.set(__self__, "metro_name", metro_name) - pulumi.set(__self__, "region", region) + created_by: str, + created_by_email: str, + created_by_full_name: str, + created_date_time: str, + deleted_by: str, + deleted_by_email: str, + deleted_by_full_name: str, + deleted_date_time: str, + updated_by: str, + updated_by_email: str, + updated_by_full_name: str, + updated_date_time: str): + GetConnectionChangeLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: str, + created_by_email: str, + created_by_full_name: str, + created_date_time: str, + deleted_by: str, + deleted_by_email: str, + deleted_by_full_name: str, + deleted_date_time: str, + updated_by: str, + updated_by_email: str, + updated_by_full_name: str, + updated_date_time: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + + _setter("created_by", created_by) + _setter("created_by_email", created_by_email) + _setter("created_by_full_name", created_by_full_name) + _setter("created_date_time", created_date_time) + _setter("deleted_by", deleted_by) + _setter("deleted_by_email", deleted_by_email) + _setter("deleted_by_full_name", deleted_by_full_name) + _setter("deleted_date_time", deleted_date_time) + _setter("updated_by", updated_by) + _setter("updated_by_email", updated_by_email) + _setter("updated_by_full_name", updated_by_full_name) + _setter("updated_date_time", updated_date_time) @property - @pulumi.getter - def href(self) -> str: - """ - Connection URI information - """ - return pulumi.get(self, "href") + @pulumi.getter(name="createdBy") + def created_by(self) -> str: + return pulumi.get(self, "created_by") @property - @pulumi.getter - def ibx(self) -> str: - return pulumi.get(self, "ibx") + @pulumi.getter(name="createdByEmail") + def created_by_email(self) -> str: + return pulumi.get(self, "created_by_email") @property - @pulumi.getter(name="metroCode") - def metro_code(self) -> str: - return pulumi.get(self, "metro_code") + @pulumi.getter(name="createdByFullName") + def created_by_full_name(self) -> str: + return pulumi.get(self, "created_by_full_name") @property - @pulumi.getter(name="metroName") - def metro_name(self) -> str: - return pulumi.get(self, "metro_name") + @pulumi.getter(name="createdDateTime") + def created_date_time(self) -> str: + return pulumi.get(self, "created_date_time") @property - @pulumi.getter - def region(self) -> str: - return pulumi.get(self, "region") - - -@pulumi.output_type -class GetConnectionASideAccessPointPortResult(dict): - def __init__(__self__, *, - href: str, - name: str, - redundancies: Sequence['outputs.GetConnectionASideAccessPointPortRedundancyResult'], - uuid: str): - """ - :param str href: Connection URI information - :param str name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - :param Sequence['GetConnectionASideAccessPointPortRedundancyArgs'] redundancies: Redundancy Information - :param str uuid: Equinix-assigned connection identifier - """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "redundancies", redundancies) - pulumi.set(__self__, "uuid", uuid) + @pulumi.getter(name="deletedBy") + def deleted_by(self) -> str: + return pulumi.get(self, "deleted_by") @property - @pulumi.getter - def href(self) -> str: - """ - Connection URI information - """ - return pulumi.get(self, "href") + @pulumi.getter(name="deletedByEmail") + def deleted_by_email(self) -> str: + return pulumi.get(self, "deleted_by_email") @property - @pulumi.getter - def name(self) -> str: - """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - """ - return pulumi.get(self, "name") + @pulumi.getter(name="deletedByFullName") + def deleted_by_full_name(self) -> str: + return pulumi.get(self, "deleted_by_full_name") @property - @pulumi.getter - def redundancies(self) -> Sequence['outputs.GetConnectionASideAccessPointPortRedundancyResult']: - """ - Redundancy Information - """ - return pulumi.get(self, "redundancies") + @pulumi.getter(name="deletedDateTime") + def deleted_date_time(self) -> str: + return pulumi.get(self, "deleted_date_time") @property - @pulumi.getter - def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ - return pulumi.get(self, "uuid") + @pulumi.getter(name="updatedBy") + def updated_by(self) -> str: + return pulumi.get(self, "updated_by") + @property + @pulumi.getter(name="updatedByEmail") + def updated_by_email(self) -> str: + return pulumi.get(self, "updated_by_email") -@pulumi.output_type -class GetConnectionASideAccessPointPortRedundancyResult(dict): - def __init__(__self__, *, - priority: str): - pulumi.set(__self__, "priority", priority) + @property + @pulumi.getter(name="updatedByFullName") + def updated_by_full_name(self) -> str: + return pulumi.get(self, "updated_by_full_name") @property - @pulumi.getter - def priority(self) -> str: - return pulumi.get(self, "priority") + @pulumi.getter(name="updatedDateTime") + def updated_date_time(self) -> str: + return pulumi.get(self, "updated_date_time") @pulumi.output_type -class GetConnectionASideAccessPointProfileResult(dict): +class GetConnectionNotificationResult(dict): def __init__(__self__, *, - access_point_type_configs: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigResult'], - description: str, - href: str, - name: str, - type: str, - uuid: str): - """ - :param str description: Customer-provided connection description - :param str href: Connection URI information - :param str name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param str uuid: Equinix-assigned connection identifier - """ - pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) - - @property - @pulumi.getter(name="accessPointTypeConfigs") - def access_point_type_configs(self) -> Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigResult']: - return pulumi.get(self, "access_point_type_configs") + emails: Sequence[str], + send_interval: str, + type: str): + GetConnectionNotificationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + emails=emails, + send_interval=send_interval, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + emails: Sequence[str], + send_interval: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sendInterval' in kwargs: + send_interval = kwargs['sendInterval'] - @property - @pulumi.getter - def description(self) -> str: - """ - Customer-provided connection description - """ - return pulumi.get(self, "description") + _setter("emails", emails) + _setter("send_interval", send_interval) + _setter("type", type) @property @pulumi.getter - def href(self) -> str: - """ - Connection URI information - """ - return pulumi.get(self, "href") + def emails(self) -> Sequence[str]: + return pulumi.get(self, "emails") @property - @pulumi.getter - def name(self) -> str: - """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - """ - return pulumi.get(self, "name") + @pulumi.getter(name="sendInterval") + def send_interval(self) -> str: + return pulumi.get(self, "send_interval") @property @pulumi.getter def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ return pulumi.get(self, "type") - @property - @pulumi.getter - def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ - return pulumi.get(self, "uuid") - @pulumi.output_type -class GetConnectionASideAccessPointProfileAccessPointTypeConfigResult(dict): +class GetConnectionOperationResult(dict): def __init__(__self__, *, - allow_bandwidth_auto_approval: bool, - allow_bandwidth_upgrade: bool, - allow_custom_bandwidth: bool, - allow_remote_connections: bool, - api_configs: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigResult'], - authentication_keys: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult'], - bandwidth_alert_threshold: float, - connection_label: str, - connection_redundancy_required: bool, - enable_auto_generate_service_key: bool, - link_protocol_configs: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult'], - supported_bandwidths: Sequence[int], - type: str, - uuid: str): - """ - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param str uuid: Equinix-assigned connection identifier - """ - pulumi.set(__self__, "allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) - pulumi.set(__self__, "allow_bandwidth_upgrade", allow_bandwidth_upgrade) - pulumi.set(__self__, "allow_custom_bandwidth", allow_custom_bandwidth) - pulumi.set(__self__, "allow_remote_connections", allow_remote_connections) - pulumi.set(__self__, "api_configs", api_configs) - pulumi.set(__self__, "authentication_keys", authentication_keys) - pulumi.set(__self__, "bandwidth_alert_threshold", bandwidth_alert_threshold) - pulumi.set(__self__, "connection_label", connection_label) - pulumi.set(__self__, "connection_redundancy_required", connection_redundancy_required) - pulumi.set(__self__, "enable_auto_generate_service_key", enable_auto_generate_service_key) - pulumi.set(__self__, "link_protocol_configs", link_protocol_configs) - pulumi.set(__self__, "supported_bandwidths", supported_bandwidths) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) - - @property - @pulumi.getter(name="allowBandwidthAutoApproval") - def allow_bandwidth_auto_approval(self) -> bool: - return pulumi.get(self, "allow_bandwidth_auto_approval") - - @property - @pulumi.getter(name="allowBandwidthUpgrade") - def allow_bandwidth_upgrade(self) -> bool: - return pulumi.get(self, "allow_bandwidth_upgrade") - - @property - @pulumi.getter(name="allowCustomBandwidth") - def allow_custom_bandwidth(self) -> bool: - return pulumi.get(self, "allow_custom_bandwidth") + equinix_status: str, + errors: Sequence['outputs.GetConnectionOperationErrorResult'], + provider_status: str): + GetConnectionOperationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + equinix_status=equinix_status, + errors=errors, + provider_status=provider_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + equinix_status: str, + errors: Sequence['outputs.GetConnectionOperationErrorResult'], + provider_status: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'equinixStatus' in kwargs: + equinix_status = kwargs['equinixStatus'] + if 'providerStatus' in kwargs: + provider_status = kwargs['providerStatus'] + + _setter("equinix_status", equinix_status) + _setter("errors", errors) + _setter("provider_status", provider_status) @property - @pulumi.getter(name="allowRemoteConnections") - def allow_remote_connections(self) -> bool: - return pulumi.get(self, "allow_remote_connections") + @pulumi.getter(name="equinixStatus") + def equinix_status(self) -> str: + return pulumi.get(self, "equinix_status") @property - @pulumi.getter(name="apiConfigs") - def api_configs(self) -> Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigResult']: - return pulumi.get(self, "api_configs") + @pulumi.getter + def errors(self) -> Sequence['outputs.GetConnectionOperationErrorResult']: + return pulumi.get(self, "errors") @property - @pulumi.getter(name="authenticationKeys") - def authentication_keys(self) -> Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult']: - return pulumi.get(self, "authentication_keys") + @pulumi.getter(name="providerStatus") + def provider_status(self) -> str: + return pulumi.get(self, "provider_status") - @property - @pulumi.getter(name="bandwidthAlertThreshold") - def bandwidth_alert_threshold(self) -> float: - return pulumi.get(self, "bandwidth_alert_threshold") - @property - @pulumi.getter(name="connectionLabel") - def connection_label(self) -> str: - return pulumi.get(self, "connection_label") +@pulumi.output_type +class GetConnectionOperationErrorResult(dict): + def __init__(__self__, *, + additional_infos: Sequence['outputs.GetConnectionOperationErrorAdditionalInfoResult'], + correlation_id: str, + details: str, + error_code: str, + error_message: str, + help: str): + GetConnectionOperationErrorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_infos=additional_infos, + correlation_id=correlation_id, + details=details, + error_code=error_code, + error_message=error_message, + help=help, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_infos: Sequence['outputs.GetConnectionOperationErrorAdditionalInfoResult'], + correlation_id: str, + details: str, + error_code: str, + error_message: str, + help: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'additionalInfos' in kwargs: + additional_infos = kwargs['additionalInfos'] + if 'correlationId' in kwargs: + correlation_id = kwargs['correlationId'] + if 'errorCode' in kwargs: + error_code = kwargs['errorCode'] + if 'errorMessage' in kwargs: + error_message = kwargs['errorMessage'] + + _setter("additional_infos", additional_infos) + _setter("correlation_id", correlation_id) + _setter("details", details) + _setter("error_code", error_code) + _setter("error_message", error_message) + _setter("help", help) @property - @pulumi.getter(name="connectionRedundancyRequired") - def connection_redundancy_required(self) -> bool: - return pulumi.get(self, "connection_redundancy_required") + @pulumi.getter(name="additionalInfos") + def additional_infos(self) -> Sequence['outputs.GetConnectionOperationErrorAdditionalInfoResult']: + return pulumi.get(self, "additional_infos") @property - @pulumi.getter(name="enableAutoGenerateServiceKey") - def enable_auto_generate_service_key(self) -> bool: - return pulumi.get(self, "enable_auto_generate_service_key") + @pulumi.getter(name="correlationId") + def correlation_id(self) -> str: + return pulumi.get(self, "correlation_id") @property - @pulumi.getter(name="linkProtocolConfigs") - def link_protocol_configs(self) -> Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult']: - return pulumi.get(self, "link_protocol_configs") + @pulumi.getter + def details(self) -> str: + return pulumi.get(self, "details") @property - @pulumi.getter(name="supportedBandwidths") - def supported_bandwidths(self) -> Sequence[int]: - return pulumi.get(self, "supported_bandwidths") + @pulumi.getter(name="errorCode") + def error_code(self) -> str: + return pulumi.get(self, "error_code") @property - @pulumi.getter - def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - return pulumi.get(self, "type") + @pulumi.getter(name="errorMessage") + def error_message(self) -> str: + return pulumi.get(self, "error_message") @property @pulumi.getter - def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ - return pulumi.get(self, "uuid") + def help(self) -> str: + return pulumi.get(self, "help") @pulumi.output_type -class GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigResult(dict): +class GetConnectionOperationErrorAdditionalInfoResult(dict): def __init__(__self__, *, - allow_over_subscription: bool, - api_available: bool, - bandwidth_from_api: bool, - equinix_managed_port: bool, - equinix_managed_vlan: bool, - integration_id: str, - over_subscription_limit: int): - pulumi.set(__self__, "allow_over_subscription", allow_over_subscription) - pulumi.set(__self__, "api_available", api_available) - pulumi.set(__self__, "bandwidth_from_api", bandwidth_from_api) - pulumi.set(__self__, "equinix_managed_port", equinix_managed_port) - pulumi.set(__self__, "equinix_managed_vlan", equinix_managed_vlan) - pulumi.set(__self__, "integration_id", integration_id) - pulumi.set(__self__, "over_subscription_limit", over_subscription_limit) + property: str, + reason: str): + GetConnectionOperationErrorAdditionalInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + property=property, + reason=reason, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + property: str, + reason: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter(name="allowOverSubscription") - def allow_over_subscription(self) -> bool: - return pulumi.get(self, "allow_over_subscription") + _setter("property", property) + _setter("reason", reason) @property - @pulumi.getter(name="apiAvailable") - def api_available(self) -> bool: - return pulumi.get(self, "api_available") + @pulumi.getter + def reason(self) -> str: + return pulumi.get(self, "reason") @property - @pulumi.getter(name="bandwidthFromApi") - def bandwidth_from_api(self) -> bool: - return pulumi.get(self, "bandwidth_from_api") + @pulumi.getter + def property(self) -> str: + return pulumi.get(self, "property") - @property - @pulumi.getter(name="equinixManagedPort") - def equinix_managed_port(self) -> bool: - return pulumi.get(self, "equinix_managed_port") + +@pulumi.output_type +class GetConnectionOrderResult(dict): + def __init__(__self__, *, + billing_tier: str, + order_id: str, + order_number: str, + purchase_order_number: str): + GetConnectionOrderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_tier=billing_tier, + order_id=order_id, + order_number=order_number, + purchase_order_number=purchase_order_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_tier: str, + order_id: str, + order_number: str, + purchase_order_number: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'billingTier' in kwargs: + billing_tier = kwargs['billingTier'] + if 'orderId' in kwargs: + order_id = kwargs['orderId'] + if 'orderNumber' in kwargs: + order_number = kwargs['orderNumber'] + if 'purchaseOrderNumber' in kwargs: + purchase_order_number = kwargs['purchaseOrderNumber'] + + _setter("billing_tier", billing_tier) + _setter("order_id", order_id) + _setter("order_number", order_number) + _setter("purchase_order_number", purchase_order_number) @property - @pulumi.getter(name="equinixManagedVlan") - def equinix_managed_vlan(self) -> bool: - return pulumi.get(self, "equinix_managed_vlan") + @pulumi.getter(name="billingTier") + def billing_tier(self) -> str: + return pulumi.get(self, "billing_tier") @property - @pulumi.getter(name="integrationId") - def integration_id(self) -> str: - return pulumi.get(self, "integration_id") + @pulumi.getter(name="orderId") + def order_id(self) -> str: + return pulumi.get(self, "order_id") @property - @pulumi.getter(name="overSubscriptionLimit") - def over_subscription_limit(self) -> int: - return pulumi.get(self, "over_subscription_limit") + @pulumi.getter(name="orderNumber") + def order_number(self) -> str: + return pulumi.get(self, "order_number") + + @property + @pulumi.getter(name="purchaseOrderNumber") + def purchase_order_number(self) -> str: + return pulumi.get(self, "purchase_order_number") @pulumi.output_type -class GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult(dict): +class GetConnectionProjectResult(dict): def __init__(__self__, *, - description: str, - label: str, - required: bool): + href: str, + project_id: str): """ - :param str description: Customer-provided connection description + :param str href: Unique Resource URL + :param str project_id: Project Id """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "required", required) + GetConnectionProjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + project_id: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + + _setter("href", href) + _setter("project_id", project_id) @property @pulumi.getter - def description(self) -> str: + def href(self) -> str: """ - Customer-provided connection description + Unique Resource URL """ - return pulumi.get(self, "description") + return pulumi.get(self, "href") + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> str: + """ + Project Id + """ + return pulumi.get(self, "project_id") + + +@pulumi.output_type +class GetConnectionRedundancyResult(dict): + def __init__(__self__, *, + group: str, + priority: str): + GetConnectionRedundancyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + group=group, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + group: str, + priority: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("group", group) + _setter("priority", priority) @property @pulumi.getter - def label(self) -> str: - return pulumi.get(self, "label") + def group(self) -> str: + return pulumi.get(self, "group") @property @pulumi.getter - def required(self) -> bool: - return pulumi.get(self, "required") + def priority(self) -> str: + return pulumi.get(self, "priority") @pulumi.output_type -class GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult(dict): +class GetConnectionZSideResult(dict): def __init__(__self__, *, - encapsulation: str, - encapsulation_strategy: str, - reuse_vlan_s_tag: bool): - pulumi.set(__self__, "encapsulation", encapsulation) - pulumi.set(__self__, "encapsulation_strategy", encapsulation_strategy) - pulumi.set(__self__, "reuse_vlan_s_tag", reuse_vlan_s_tag) + access_point: 'outputs.GetConnectionZSideAccessPointResult', + service_token: 'outputs.GetConnectionZSideServiceTokenResult'): + GetConnectionZSideResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_point=access_point, + service_token=service_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_point: 'outputs.GetConnectionZSideAccessPointResult', + service_token: 'outputs.GetConnectionZSideServiceTokenResult', + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPoint' in kwargs: + access_point = kwargs['accessPoint'] + if 'serviceToken' in kwargs: + service_token = kwargs['serviceToken'] - @property - @pulumi.getter - def encapsulation(self) -> str: - return pulumi.get(self, "encapsulation") + _setter("access_point", access_point) + _setter("service_token", service_token) @property - @pulumi.getter(name="encapsulationStrategy") - def encapsulation_strategy(self) -> str: - return pulumi.get(self, "encapsulation_strategy") + @pulumi.getter(name="accessPoint") + def access_point(self) -> 'outputs.GetConnectionZSideAccessPointResult': + return pulumi.get(self, "access_point") @property - @pulumi.getter(name="reuseVlanSTag") - def reuse_vlan_s_tag(self) -> bool: - return pulumi.get(self, "reuse_vlan_s_tag") + @pulumi.getter(name="serviceToken") + def service_token(self) -> 'outputs.GetConnectionZSideServiceTokenResult': + return pulumi.get(self, "service_token") @pulumi.output_type -class GetConnectionASideAccessPointVirtualDeviceResult(dict): +class GetConnectionZSideAccessPointResult(dict): def __init__(__self__, *, - href: str, + accounts: Sequence['outputs.GetConnectionZSideAccessPointAccountResult'], + authentication_key: str, + gateways: Sequence['outputs.GetConnectionZSideAccessPointGatewayResult'], + interfaces: Sequence['outputs.GetConnectionZSideAccessPointInterfaceResult'], + link_protocols: Sequence['outputs.GetConnectionZSideAccessPointLinkProtocolResult'], + locations: Sequence['outputs.GetConnectionZSideAccessPointLocationResult'], + peering_type: str, + ports: Sequence['outputs.GetConnectionZSideAccessPointPortResult'], + profiles: Sequence['outputs.GetConnectionZSideAccessPointProfileResult'], + provider_connection_id: str, + routers: Sequence['outputs.GetConnectionZSideAccessPointRouterResult'], + seller_region: str, type: str, - uuid: str): - """ - :param str href: Connection URI information - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param str uuid: Equinix-assigned connection identifier + virtual_devices: Sequence['outputs.GetConnectionZSideAccessPointVirtualDeviceResult']): """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + :param Sequence['GetConnectionZSideAccessPointRouterArgs'] routers: CloudRouter; Replaces `gateway` attribute (Set of Object) + """ + GetConnectionZSideAccessPointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accounts=accounts, + authentication_key=authentication_key, + gateways=gateways, + interfaces=interfaces, + link_protocols=link_protocols, + locations=locations, + peering_type=peering_type, + ports=ports, + profiles=profiles, + provider_connection_id=provider_connection_id, + routers=routers, + seller_region=seller_region, + type=type, + virtual_devices=virtual_devices, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accounts: Sequence['outputs.GetConnectionZSideAccessPointAccountResult'], + authentication_key: str, + gateways: Sequence['outputs.GetConnectionZSideAccessPointGatewayResult'], + interfaces: Sequence['outputs.GetConnectionZSideAccessPointInterfaceResult'], + link_protocols: Sequence['outputs.GetConnectionZSideAccessPointLinkProtocolResult'], + locations: Sequence['outputs.GetConnectionZSideAccessPointLocationResult'], + peering_type: str, + ports: Sequence['outputs.GetConnectionZSideAccessPointPortResult'], + profiles: Sequence['outputs.GetConnectionZSideAccessPointProfileResult'], + provider_connection_id: str, + routers: Sequence['outputs.GetConnectionZSideAccessPointRouterResult'], + seller_region: str, + type: str, + virtual_devices: Sequence['outputs.GetConnectionZSideAccessPointVirtualDeviceResult'], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authenticationKey' in kwargs: + authentication_key = kwargs['authenticationKey'] + if 'linkProtocols' in kwargs: + link_protocols = kwargs['linkProtocols'] + if 'peeringType' in kwargs: + peering_type = kwargs['peeringType'] + if 'providerConnectionId' in kwargs: + provider_connection_id = kwargs['providerConnectionId'] + if 'sellerRegion' in kwargs: + seller_region = kwargs['sellerRegion'] + if 'virtualDevices' in kwargs: + virtual_devices = kwargs['virtualDevices'] + + _setter("accounts", accounts) + _setter("authentication_key", authentication_key) + _setter("gateways", gateways) + _setter("interfaces", interfaces) + _setter("link_protocols", link_protocols) + _setter("locations", locations) + _setter("peering_type", peering_type) + _setter("ports", ports) + _setter("profiles", profiles) + _setter("provider_connection_id", provider_connection_id) + _setter("routers", routers) + _setter("seller_region", seller_region) + _setter("type", type) + _setter("virtual_devices", virtual_devices) @property @pulumi.getter - def href(self) -> str: - """ - Connection URI information - """ - return pulumi.get(self, "href") + def accounts(self) -> Sequence['outputs.GetConnectionZSideAccessPointAccountResult']: + return pulumi.get(self, "accounts") + + @property + @pulumi.getter(name="authenticationKey") + def authentication_key(self) -> str: + return pulumi.get(self, "authentication_key") @property @pulumi.getter - def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - return pulumi.get(self, "type") + def gateways(self) -> Sequence['outputs.GetConnectionZSideAccessPointGatewayResult']: + warnings.warn("""router attribute will be returned instead""", DeprecationWarning) + pulumi.log.warn("""gateways is deprecated: router attribute will be returned instead""") + + return pulumi.get(self, "gateways") @property @pulumi.getter - def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ - return pulumi.get(self, "uuid") + def interfaces(self) -> Sequence['outputs.GetConnectionZSideAccessPointInterfaceResult']: + return pulumi.get(self, "interfaces") + @property + @pulumi.getter(name="linkProtocols") + def link_protocols(self) -> Sequence['outputs.GetConnectionZSideAccessPointLinkProtocolResult']: + return pulumi.get(self, "link_protocols") -@pulumi.output_type -class GetConnectionASideServiceTokenResult(dict): - def __init__(__self__, *, - description: str, - href: str, - type: str, - uuid: str): - """ - :param str description: Customer-provided connection description - :param str href: Connection URI information - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param str uuid: Equinix-assigned connection identifier - """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + @property + @pulumi.getter + def locations(self) -> Sequence['outputs.GetConnectionZSideAccessPointLocationResult']: + return pulumi.get(self, "locations") + + @property + @pulumi.getter(name="peeringType") + def peering_type(self) -> str: + return pulumi.get(self, "peering_type") @property @pulumi.getter - def description(self) -> str: - """ - Customer-provided connection description - """ - return pulumi.get(self, "description") + def ports(self) -> Sequence['outputs.GetConnectionZSideAccessPointPortResult']: + return pulumi.get(self, "ports") @property @pulumi.getter - def href(self) -> str: + def profiles(self) -> Sequence['outputs.GetConnectionZSideAccessPointProfileResult']: + return pulumi.get(self, "profiles") + + @property + @pulumi.getter(name="providerConnectionId") + def provider_connection_id(self) -> str: + return pulumi.get(self, "provider_connection_id") + + @property + @pulumi.getter + def routers(self) -> Sequence['outputs.GetConnectionZSideAccessPointRouterResult']: """ - Connection URI information + CloudRouter; Replaces `gateway` attribute (Set of Object) """ - return pulumi.get(self, "href") + return pulumi.get(self, "routers") + + @property + @pulumi.getter(name="sellerRegion") + def seller_region(self) -> str: + return pulumi.get(self, "seller_region") @property @pulumi.getter def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ return pulumi.get(self, "type") @property - @pulumi.getter - def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ - return pulumi.get(self, "uuid") + @pulumi.getter(name="virtualDevices") + def virtual_devices(self) -> Sequence['outputs.GetConnectionZSideAccessPointVirtualDeviceResult']: + return pulumi.get(self, "virtual_devices") @pulumi.output_type -class GetConnectionAccountResult(dict): +class GetConnectionZSideAccessPointAccountResult(dict): def __init__(__self__, *, account_name: str, account_number: int, @@ -4608,13 +9339,50 @@ def __init__(__self__, *, global_organization_name: str, org_id: int, organization_name: str): - pulumi.set(__self__, "account_name", account_name) - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "global_cust_id", global_cust_id) - pulumi.set(__self__, "global_org_id", global_org_id) - pulumi.set(__self__, "global_organization_name", global_organization_name) - pulumi.set(__self__, "org_id", org_id) - pulumi.set(__self__, "organization_name", organization_name) + GetConnectionZSideAccessPointAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: str, + account_number: int, + global_cust_id: str, + global_org_id: str, + global_organization_name: str, + org_id: int, + organization_name: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + + _setter("account_name", account_name) + _setter("account_number", account_number) + _setter("global_cust_id", global_cust_id) + _setter("global_org_id", global_org_id) + _setter("global_organization_name", global_organization_name) + _setter("org_id", org_id) + _setter("organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -4653,1118 +9421,1497 @@ def organization_name(self) -> str: @pulumi.output_type -class GetConnectionAdditionalInfoResult(dict): - def __init__(__self__, *, - key: str, - value: str): - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetConnectionChangeLogResult(dict): +class GetConnectionZSideAccessPointGatewayResult(dict): def __init__(__self__, *, - created_by: str, - created_by_email: str, - created_by_full_name: str, - created_date_time: str, - deleted_by: str, - deleted_by_email: str, - deleted_by_full_name: str, - deleted_date_time: str, - updated_by: str, - updated_by_email: str, - updated_by_full_name: str, - updated_date_time: str): - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "created_by_email", created_by_email) - pulumi.set(__self__, "created_by_full_name", created_by_full_name) - pulumi.set(__self__, "created_date_time", created_date_time) - pulumi.set(__self__, "deleted_by", deleted_by) - pulumi.set(__self__, "deleted_by_email", deleted_by_email) - pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) - pulumi.set(__self__, "deleted_date_time", deleted_date_time) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "updated_by_email", updated_by_email) - pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) - pulumi.set(__self__, "updated_date_time", updated_date_time) - - @property - @pulumi.getter(name="createdBy") - def created_by(self) -> str: - return pulumi.get(self, "created_by") - - @property - @pulumi.getter(name="createdByEmail") - def created_by_email(self) -> str: - return pulumi.get(self, "created_by_email") - - @property - @pulumi.getter(name="createdByFullName") - def created_by_full_name(self) -> str: - return pulumi.get(self, "created_by_full_name") - - @property - @pulumi.getter(name="createdDateTime") - def created_date_time(self) -> str: - return pulumi.get(self, "created_date_time") - - @property - @pulumi.getter(name="deletedBy") - def deleted_by(self) -> str: - return pulumi.get(self, "deleted_by") - - @property - @pulumi.getter(name="deletedByEmail") - def deleted_by_email(self) -> str: - return pulumi.get(self, "deleted_by_email") - - @property - @pulumi.getter(name="deletedByFullName") - def deleted_by_full_name(self) -> str: - return pulumi.get(self, "deleted_by_full_name") - - @property - @pulumi.getter(name="deletedDateTime") - def deleted_date_time(self) -> str: - return pulumi.get(self, "deleted_date_time") - - @property - @pulumi.getter(name="updatedBy") - def updated_by(self) -> str: - return pulumi.get(self, "updated_by") + href: str, + state: str, + uuid: str): + GetConnectionZSideAccessPointGatewayResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + state=state, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + state: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("href", href) + _setter("state", state) + _setter("uuid", uuid) @property - @pulumi.getter(name="updatedByEmail") - def updated_by_email(self) -> str: - return pulumi.get(self, "updated_by_email") + @pulumi.getter + def href(self) -> str: + return pulumi.get(self, "href") @property - @pulumi.getter(name="updatedByFullName") - def updated_by_full_name(self) -> str: - return pulumi.get(self, "updated_by_full_name") + @pulumi.getter + def state(self) -> str: + return pulumi.get(self, "state") @property - @pulumi.getter(name="updatedDateTime") - def updated_date_time(self) -> str: - return pulumi.get(self, "updated_date_time") + @pulumi.getter + def uuid(self) -> str: + return pulumi.get(self, "uuid") @pulumi.output_type -class GetConnectionNotificationResult(dict): +class GetConnectionZSideAccessPointInterfaceResult(dict): def __init__(__self__, *, - emails: Sequence[str], - send_interval: str, - type: str): - """ - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - pulumi.set(__self__, "emails", emails) - pulumi.set(__self__, "send_interval", send_interval) - pulumi.set(__self__, "type", type) + id: str, + type: str, + uuid: str): + GetConnectionZSideAccessPointInterfaceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter - def emails(self) -> Sequence[str]: - return pulumi.get(self, "emails") + _setter("id", id) + _setter("type", type) + _setter("uuid", uuid) @property - @pulumi.getter(name="sendInterval") - def send_interval(self) -> str: - return pulumi.get(self, "send_interval") + @pulumi.getter + def id(self) -> str: + return pulumi.get(self, "id") @property @pulumi.getter def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ return pulumi.get(self, "type") + @property + @pulumi.getter + def uuid(self) -> str: + return pulumi.get(self, "uuid") + @pulumi.output_type -class GetConnectionOperationResult(dict): +class GetConnectionZSideAccessPointLinkProtocolResult(dict): def __init__(__self__, *, - equinix_status: str, - errors: Sequence['outputs.GetConnectionOperationErrorResult'], - provider_status: str): - pulumi.set(__self__, "equinix_status", equinix_status) - pulumi.set(__self__, "errors", errors) - pulumi.set(__self__, "provider_status", provider_status) + type: str, + vlan_c_tag: int, + vlan_s_tag: int, + vlan_tag: int): + GetConnectionZSideAccessPointLinkProtocolResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + vlan_c_tag=vlan_c_tag, + vlan_s_tag=vlan_s_tag, + vlan_tag=vlan_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + vlan_c_tag: int, + vlan_s_tag: int, + vlan_tag: int, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'vlanCTag' in kwargs: + vlan_c_tag = kwargs['vlanCTag'] + if 'vlanSTag' in kwargs: + vlan_s_tag = kwargs['vlanSTag'] + if 'vlanTag' in kwargs: + vlan_tag = kwargs['vlanTag'] + + _setter("type", type) + _setter("vlan_c_tag", vlan_c_tag) + _setter("vlan_s_tag", vlan_s_tag) + _setter("vlan_tag", vlan_tag) @property - @pulumi.getter(name="equinixStatus") - def equinix_status(self) -> str: - return pulumi.get(self, "equinix_status") + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") @property - @pulumi.getter - def errors(self) -> Sequence['outputs.GetConnectionOperationErrorResult']: - return pulumi.get(self, "errors") + @pulumi.getter(name="vlanCTag") + def vlan_c_tag(self) -> int: + return pulumi.get(self, "vlan_c_tag") @property - @pulumi.getter(name="providerStatus") - def provider_status(self) -> str: - return pulumi.get(self, "provider_status") + @pulumi.getter(name="vlanSTag") + def vlan_s_tag(self) -> int: + return pulumi.get(self, "vlan_s_tag") + + @property + @pulumi.getter(name="vlanTag") + def vlan_tag(self) -> int: + return pulumi.get(self, "vlan_tag") @pulumi.output_type -class GetConnectionOperationErrorResult(dict): +class GetConnectionZSideAccessPointLocationResult(dict): def __init__(__self__, *, - additional_infos: Sequence['outputs.GetConnectionOperationErrorAdditionalInfoResult'], - correlation_id: str, - details: str, - error_code: str, - error_message: str, - help: str): - """ - :param Sequence['GetConnectionOperationErrorAdditionalInfoArgs'] additional_infos: Connection additional information - """ - pulumi.set(__self__, "additional_infos", additional_infos) - pulumi.set(__self__, "correlation_id", correlation_id) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "error_code", error_code) - pulumi.set(__self__, "error_message", error_message) - pulumi.set(__self__, "help", help) - - @property - @pulumi.getter(name="additionalInfos") - def additional_infos(self) -> Sequence['outputs.GetConnectionOperationErrorAdditionalInfoResult']: - """ - Connection additional information - """ - return pulumi.get(self, "additional_infos") + href: str, + ibx: str, + metro_code: str, + metro_name: str, + region: str): + GetConnectionZSideAccessPointLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + ibx: str, + metro_code: str, + metro_name: str, + region: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + + _setter("href", href) + _setter("ibx", ibx) + _setter("metro_code", metro_code) + _setter("metro_name", metro_name) + _setter("region", region) @property - @pulumi.getter(name="correlationId") - def correlation_id(self) -> str: - return pulumi.get(self, "correlation_id") + @pulumi.getter + def href(self) -> str: + return pulumi.get(self, "href") @property @pulumi.getter - def details(self) -> str: - return pulumi.get(self, "details") + def ibx(self) -> str: + return pulumi.get(self, "ibx") @property - @pulumi.getter(name="errorCode") - def error_code(self) -> str: - return pulumi.get(self, "error_code") + @pulumi.getter(name="metroCode") + def metro_code(self) -> str: + return pulumi.get(self, "metro_code") @property - @pulumi.getter(name="errorMessage") - def error_message(self) -> str: - return pulumi.get(self, "error_message") + @pulumi.getter(name="metroName") + def metro_name(self) -> str: + return pulumi.get(self, "metro_name") @property @pulumi.getter - def help(self) -> str: - return pulumi.get(self, "help") + def region(self) -> str: + return pulumi.get(self, "region") @pulumi.output_type -class GetConnectionOperationErrorAdditionalInfoResult(dict): +class GetConnectionZSideAccessPointPortResult(dict): def __init__(__self__, *, - property: str, - reason: str): - pulumi.set(__self__, "property", property) - pulumi.set(__self__, "reason", reason) + href: str, + name: str, + redundancies: Sequence['outputs.GetConnectionZSideAccessPointPortRedundancyResult'], + uuid: str): + GetConnectionZSideAccessPointPortResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + name=name, + redundancies=redundancies, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + name: str, + redundancies: Sequence['outputs.GetConnectionZSideAccessPointPortRedundancyResult'], + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("href", href) + _setter("name", name) + _setter("redundancies", redundancies) + _setter("uuid", uuid) @property @pulumi.getter - def reason(self) -> str: - return pulumi.get(self, "reason") + def href(self) -> str: + return pulumi.get(self, "href") @property @pulumi.getter - def property(self) -> str: - return pulumi.get(self, "property") - - -@pulumi.output_type -class GetConnectionOrderResult(dict): - def __init__(__self__, *, - billing_tier: str, - order_id: str, - order_number: str, - purchase_order_number: str): - pulumi.set(__self__, "billing_tier", billing_tier) - pulumi.set(__self__, "order_id", order_id) - pulumi.set(__self__, "order_number", order_number) - pulumi.set(__self__, "purchase_order_number", purchase_order_number) + def name(self) -> str: + return pulumi.get(self, "name") @property - @pulumi.getter(name="billingTier") - def billing_tier(self) -> str: - return pulumi.get(self, "billing_tier") + @pulumi.getter + def redundancies(self) -> Sequence['outputs.GetConnectionZSideAccessPointPortRedundancyResult']: + return pulumi.get(self, "redundancies") @property - @pulumi.getter(name="orderId") - def order_id(self) -> str: - return pulumi.get(self, "order_id") + @pulumi.getter + def uuid(self) -> str: + return pulumi.get(self, "uuid") - @property - @pulumi.getter(name="orderNumber") - def order_number(self) -> str: - return pulumi.get(self, "order_number") + +@pulumi.output_type +class GetConnectionZSideAccessPointPortRedundancyResult(dict): + def __init__(__self__, *, + priority: str): + GetConnectionZSideAccessPointPortRedundancyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + priority: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("priority", priority) @property - @pulumi.getter(name="purchaseOrderNumber") - def purchase_order_number(self) -> str: - return pulumi.get(self, "purchase_order_number") + @pulumi.getter + def priority(self) -> str: + return pulumi.get(self, "priority") @pulumi.output_type -class GetConnectionProjectResult(dict): +class GetConnectionZSideAccessPointProfileResult(dict): def __init__(__self__, *, + access_point_type_configs: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult'], + description: str, href: str, - project_id: str): - """ - :param str href: Unique Resource URL - :param str project_id: Project Id - """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "project_id", project_id) + name: str, + type: str, + uuid: str): + GetConnectionZSideAccessPointProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_point_type_configs=access_point_type_configs, + description=description, + href=href, + name=name, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_point_type_configs: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult'], + description: str, + href: str, + name: str, + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPointTypeConfigs' in kwargs: + access_point_type_configs = kwargs['accessPointTypeConfigs'] + + _setter("access_point_type_configs", access_point_type_configs) + _setter("description", description) + _setter("href", href) + _setter("name", name) + _setter("type", type) + _setter("uuid", uuid) + + @property + @pulumi.getter(name="accessPointTypeConfigs") + def access_point_type_configs(self) -> Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult']: + return pulumi.get(self, "access_point_type_configs") + + @property + @pulumi.getter + def description(self) -> str: + return pulumi.get(self, "description") @property @pulumi.getter def href(self) -> str: - """ - Unique Resource URL - """ return pulumi.get(self, "href") @property - @pulumi.getter(name="projectId") - def project_id(self) -> str: - """ - Project Id - """ - return pulumi.get(self, "project_id") - - -@pulumi.output_type -class GetConnectionRedundancyResult(dict): - def __init__(__self__, *, - group: str, - priority: str): - pulumi.set(__self__, "group", group) - pulumi.set(__self__, "priority", priority) + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") @property @pulumi.getter - def group(self) -> str: - return pulumi.get(self, "group") + def type(self) -> str: + return pulumi.get(self, "type") @property @pulumi.getter - def priority(self) -> str: - return pulumi.get(self, "priority") + def uuid(self) -> str: + return pulumi.get(self, "uuid") @pulumi.output_type -class GetConnectionZSideResult(dict): +class GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult(dict): def __init__(__self__, *, - access_point: 'outputs.GetConnectionZSideAccessPointResult', - service_token: 'outputs.GetConnectionZSideServiceTokenResult'): - pulumi.set(__self__, "access_point", access_point) - pulumi.set(__self__, "service_token", service_token) - - @property - @pulumi.getter(name="accessPoint") - def access_point(self) -> 'outputs.GetConnectionZSideAccessPointResult': - return pulumi.get(self, "access_point") + allow_bandwidth_auto_approval: bool, + allow_bandwidth_upgrade: bool, + allow_custom_bandwidth: bool, + allow_remote_connections: bool, + api_configs: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigResult'], + authentication_keys: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult'], + bandwidth_alert_threshold: float, + connection_label: str, + connection_redundancy_required: bool, + enable_auto_generate_service_key: bool, + link_protocol_configs: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult'], + supported_bandwidths: Sequence[int], + type: str, + uuid: str): + GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_bandwidth_auto_approval=allow_bandwidth_auto_approval, + allow_bandwidth_upgrade=allow_bandwidth_upgrade, + allow_custom_bandwidth=allow_custom_bandwidth, + allow_remote_connections=allow_remote_connections, + api_configs=api_configs, + authentication_keys=authentication_keys, + bandwidth_alert_threshold=bandwidth_alert_threshold, + connection_label=connection_label, + connection_redundancy_required=connection_redundancy_required, + enable_auto_generate_service_key=enable_auto_generate_service_key, + link_protocol_configs=link_protocol_configs, + supported_bandwidths=supported_bandwidths, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_bandwidth_auto_approval: bool, + allow_bandwidth_upgrade: bool, + allow_custom_bandwidth: bool, + allow_remote_connections: bool, + api_configs: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigResult'], + authentication_keys: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult'], + bandwidth_alert_threshold: float, + connection_label: str, + connection_redundancy_required: bool, + enable_auto_generate_service_key: bool, + link_protocol_configs: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult'], + supported_bandwidths: Sequence[int], + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowBandwidthAutoApproval' in kwargs: + allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] + if 'allowBandwidthUpgrade' in kwargs: + allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] + if 'allowCustomBandwidth' in kwargs: + allow_custom_bandwidth = kwargs['allowCustomBandwidth'] + if 'allowRemoteConnections' in kwargs: + allow_remote_connections = kwargs['allowRemoteConnections'] + if 'apiConfigs' in kwargs: + api_configs = kwargs['apiConfigs'] + if 'authenticationKeys' in kwargs: + authentication_keys = kwargs['authenticationKeys'] + if 'bandwidthAlertThreshold' in kwargs: + bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] + if 'connectionLabel' in kwargs: + connection_label = kwargs['connectionLabel'] + if 'connectionRedundancyRequired' in kwargs: + connection_redundancy_required = kwargs['connectionRedundancyRequired'] + if 'enableAutoGenerateServiceKey' in kwargs: + enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] + if 'linkProtocolConfigs' in kwargs: + link_protocol_configs = kwargs['linkProtocolConfigs'] + if 'supportedBandwidths' in kwargs: + supported_bandwidths = kwargs['supportedBandwidths'] + + _setter("allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) + _setter("allow_bandwidth_upgrade", allow_bandwidth_upgrade) + _setter("allow_custom_bandwidth", allow_custom_bandwidth) + _setter("allow_remote_connections", allow_remote_connections) + _setter("api_configs", api_configs) + _setter("authentication_keys", authentication_keys) + _setter("bandwidth_alert_threshold", bandwidth_alert_threshold) + _setter("connection_label", connection_label) + _setter("connection_redundancy_required", connection_redundancy_required) + _setter("enable_auto_generate_service_key", enable_auto_generate_service_key) + _setter("link_protocol_configs", link_protocol_configs) + _setter("supported_bandwidths", supported_bandwidths) + _setter("type", type) + _setter("uuid", uuid) @property - @pulumi.getter(name="serviceToken") - def service_token(self) -> 'outputs.GetConnectionZSideServiceTokenResult': - return pulumi.get(self, "service_token") - - -@pulumi.output_type -class GetConnectionZSideAccessPointResult(dict): - def __init__(__self__, *, - accounts: Sequence['outputs.GetConnectionZSideAccessPointAccountResult'], - authentication_key: str, - gateways: Sequence['outputs.GetConnectionZSideAccessPointGatewayResult'], - interfaces: Sequence['outputs.GetConnectionZSideAccessPointInterfaceResult'], - link_protocols: Sequence['outputs.GetConnectionZSideAccessPointLinkProtocolResult'], - locations: Sequence['outputs.GetConnectionZSideAccessPointLocationResult'], - peering_type: str, - ports: Sequence['outputs.GetConnectionZSideAccessPointPortResult'], - profiles: Sequence['outputs.GetConnectionZSideAccessPointProfileResult'], - provider_connection_id: str, - seller_region: str, - type: str, - virtual_devices: Sequence['outputs.GetConnectionZSideAccessPointVirtualDeviceResult']): - """ - :param Sequence['GetConnectionZSideAccessPointAccountArgs'] accounts: Customer account information that is associated with this connection - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - pulumi.set(__self__, "accounts", accounts) - pulumi.set(__self__, "authentication_key", authentication_key) - pulumi.set(__self__, "gateways", gateways) - pulumi.set(__self__, "interfaces", interfaces) - pulumi.set(__self__, "link_protocols", link_protocols) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "peering_type", peering_type) - pulumi.set(__self__, "ports", ports) - pulumi.set(__self__, "profiles", profiles) - pulumi.set(__self__, "provider_connection_id", provider_connection_id) - pulumi.set(__self__, "seller_region", seller_region) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "virtual_devices", virtual_devices) + @pulumi.getter(name="allowBandwidthAutoApproval") + def allow_bandwidth_auto_approval(self) -> bool: + return pulumi.get(self, "allow_bandwidth_auto_approval") @property - @pulumi.getter - def accounts(self) -> Sequence['outputs.GetConnectionZSideAccessPointAccountResult']: - """ - Customer account information that is associated with this connection - """ - return pulumi.get(self, "accounts") + @pulumi.getter(name="allowBandwidthUpgrade") + def allow_bandwidth_upgrade(self) -> bool: + return pulumi.get(self, "allow_bandwidth_upgrade") @property - @pulumi.getter(name="authenticationKey") - def authentication_key(self) -> str: - return pulumi.get(self, "authentication_key") + @pulumi.getter(name="allowCustomBandwidth") + def allow_custom_bandwidth(self) -> bool: + return pulumi.get(self, "allow_custom_bandwidth") @property - @pulumi.getter - def gateways(self) -> Sequence['outputs.GetConnectionZSideAccessPointGatewayResult']: - return pulumi.get(self, "gateways") + @pulumi.getter(name="allowRemoteConnections") + def allow_remote_connections(self) -> bool: + return pulumi.get(self, "allow_remote_connections") @property - @pulumi.getter - def interfaces(self) -> Sequence['outputs.GetConnectionZSideAccessPointInterfaceResult']: - return pulumi.get(self, "interfaces") + @pulumi.getter(name="apiConfigs") + def api_configs(self) -> Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigResult']: + return pulumi.get(self, "api_configs") @property - @pulumi.getter(name="linkProtocols") - def link_protocols(self) -> Sequence['outputs.GetConnectionZSideAccessPointLinkProtocolResult']: - return pulumi.get(self, "link_protocols") + @pulumi.getter(name="authenticationKeys") + def authentication_keys(self) -> Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult']: + return pulumi.get(self, "authentication_keys") @property - @pulumi.getter - def locations(self) -> Sequence['outputs.GetConnectionZSideAccessPointLocationResult']: - return pulumi.get(self, "locations") + @pulumi.getter(name="bandwidthAlertThreshold") + def bandwidth_alert_threshold(self) -> float: + return pulumi.get(self, "bandwidth_alert_threshold") @property - @pulumi.getter(name="peeringType") - def peering_type(self) -> str: - return pulumi.get(self, "peering_type") + @pulumi.getter(name="connectionLabel") + def connection_label(self) -> str: + return pulumi.get(self, "connection_label") @property - @pulumi.getter - def ports(self) -> Sequence['outputs.GetConnectionZSideAccessPointPortResult']: - return pulumi.get(self, "ports") + @pulumi.getter(name="connectionRedundancyRequired") + def connection_redundancy_required(self) -> bool: + return pulumi.get(self, "connection_redundancy_required") @property - @pulumi.getter - def profiles(self) -> Sequence['outputs.GetConnectionZSideAccessPointProfileResult']: - return pulumi.get(self, "profiles") + @pulumi.getter(name="enableAutoGenerateServiceKey") + def enable_auto_generate_service_key(self) -> bool: + return pulumi.get(self, "enable_auto_generate_service_key") @property - @pulumi.getter(name="providerConnectionId") - def provider_connection_id(self) -> str: - return pulumi.get(self, "provider_connection_id") + @pulumi.getter(name="linkProtocolConfigs") + def link_protocol_configs(self) -> Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult']: + return pulumi.get(self, "link_protocol_configs") @property - @pulumi.getter(name="sellerRegion") - def seller_region(self) -> str: - return pulumi.get(self, "seller_region") + @pulumi.getter(name="supportedBandwidths") + def supported_bandwidths(self) -> Sequence[int]: + return pulumi.get(self, "supported_bandwidths") @property @pulumi.getter def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ return pulumi.get(self, "type") @property - @pulumi.getter(name="virtualDevices") - def virtual_devices(self) -> Sequence['outputs.GetConnectionZSideAccessPointVirtualDeviceResult']: - return pulumi.get(self, "virtual_devices") + @pulumi.getter + def uuid(self) -> str: + return pulumi.get(self, "uuid") @pulumi.output_type -class GetConnectionZSideAccessPointAccountResult(dict): +class GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigResult(dict): def __init__(__self__, *, - account_name: str, - account_number: int, - global_cust_id: str, - global_org_id: str, - global_organization_name: str, - org_id: int, - organization_name: str): - pulumi.set(__self__, "account_name", account_name) - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "global_cust_id", global_cust_id) - pulumi.set(__self__, "global_org_id", global_org_id) - pulumi.set(__self__, "global_organization_name", global_organization_name) - pulumi.set(__self__, "org_id", org_id) - pulumi.set(__self__, "organization_name", organization_name) + allow_over_subscription: bool, + api_available: bool, + bandwidth_from_api: bool, + equinix_managed_port: bool, + equinix_managed_vlan: bool, + integration_id: str, + over_subscription_limit: int): + GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_over_subscription=allow_over_subscription, + api_available=api_available, + bandwidth_from_api=bandwidth_from_api, + equinix_managed_port=equinix_managed_port, + equinix_managed_vlan=equinix_managed_vlan, + integration_id=integration_id, + over_subscription_limit=over_subscription_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_over_subscription: bool, + api_available: bool, + bandwidth_from_api: bool, + equinix_managed_port: bool, + equinix_managed_vlan: bool, + integration_id: str, + over_subscription_limit: int, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowOverSubscription' in kwargs: + allow_over_subscription = kwargs['allowOverSubscription'] + if 'apiAvailable' in kwargs: + api_available = kwargs['apiAvailable'] + if 'bandwidthFromApi' in kwargs: + bandwidth_from_api = kwargs['bandwidthFromApi'] + if 'equinixManagedPort' in kwargs: + equinix_managed_port = kwargs['equinixManagedPort'] + if 'equinixManagedVlan' in kwargs: + equinix_managed_vlan = kwargs['equinixManagedVlan'] + if 'integrationId' in kwargs: + integration_id = kwargs['integrationId'] + if 'overSubscriptionLimit' in kwargs: + over_subscription_limit = kwargs['overSubscriptionLimit'] + + _setter("allow_over_subscription", allow_over_subscription) + _setter("api_available", api_available) + _setter("bandwidth_from_api", bandwidth_from_api) + _setter("equinix_managed_port", equinix_managed_port) + _setter("equinix_managed_vlan", equinix_managed_vlan) + _setter("integration_id", integration_id) + _setter("over_subscription_limit", over_subscription_limit) @property - @pulumi.getter(name="accountName") - def account_name(self) -> str: - return pulumi.get(self, "account_name") + @pulumi.getter(name="allowOverSubscription") + def allow_over_subscription(self) -> bool: + return pulumi.get(self, "allow_over_subscription") @property - @pulumi.getter(name="accountNumber") - def account_number(self) -> int: - return pulumi.get(self, "account_number") + @pulumi.getter(name="apiAvailable") + def api_available(self) -> bool: + return pulumi.get(self, "api_available") @property - @pulumi.getter(name="globalCustId") - def global_cust_id(self) -> str: - return pulumi.get(self, "global_cust_id") + @pulumi.getter(name="bandwidthFromApi") + def bandwidth_from_api(self) -> bool: + return pulumi.get(self, "bandwidth_from_api") @property - @pulumi.getter(name="globalOrgId") - def global_org_id(self) -> str: - return pulumi.get(self, "global_org_id") + @pulumi.getter(name="equinixManagedPort") + def equinix_managed_port(self) -> bool: + return pulumi.get(self, "equinix_managed_port") @property - @pulumi.getter(name="globalOrganizationName") - def global_organization_name(self) -> str: - return pulumi.get(self, "global_organization_name") + @pulumi.getter(name="equinixManagedVlan") + def equinix_managed_vlan(self) -> bool: + return pulumi.get(self, "equinix_managed_vlan") @property - @pulumi.getter(name="orgId") - def org_id(self) -> int: - return pulumi.get(self, "org_id") + @pulumi.getter(name="integrationId") + def integration_id(self) -> str: + return pulumi.get(self, "integration_id") @property - @pulumi.getter(name="organizationName") - def organization_name(self) -> str: - return pulumi.get(self, "organization_name") + @pulumi.getter(name="overSubscriptionLimit") + def over_subscription_limit(self) -> int: + return pulumi.get(self, "over_subscription_limit") @pulumi.output_type -class GetConnectionZSideAccessPointGatewayResult(dict): +class GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult(dict): def __init__(__self__, *, - href: str, - state: str, - uuid: str): - """ - :param str href: Connection URI information - :param str state: Connection overall state - :param str uuid: Equinix-assigned connection identifier - """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "uuid", uuid) - - @property - @pulumi.getter - def href(self) -> str: - """ - Connection URI information - """ - return pulumi.get(self, "href") - - @property - @pulumi.getter - def state(self) -> str: - """ - Connection overall state - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter - def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ - return pulumi.get(self, "uuid") - + description: str, + label: str, + required: bool): + GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + label=label, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + label: str, + required: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): -@pulumi.output_type -class GetConnectionZSideAccessPointInterfaceResult(dict): - def __init__(__self__, *, - id: str, - type: str, - uuid: str): - """ - :param str id: The ID of this resource. - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param str uuid: Equinix-assigned connection identifier - """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + _setter("description", description) + _setter("label", label) + _setter("required", required) @property @pulumi.getter - def id(self) -> str: - """ - The ID of this resource. - """ - return pulumi.get(self, "id") + def description(self) -> str: + return pulumi.get(self, "description") @property @pulumi.getter - def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - return pulumi.get(self, "type") + def label(self) -> str: + return pulumi.get(self, "label") @property @pulumi.getter - def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ - return pulumi.get(self, "uuid") + def required(self) -> bool: + return pulumi.get(self, "required") @pulumi.output_type -class GetConnectionZSideAccessPointLinkProtocolResult(dict): +class GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult(dict): def __init__(__self__, *, - type: str, - vlan_c_tag: int, - vlan_s_tag: int, - vlan_tag: int): - """ - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vlan_c_tag", vlan_c_tag) - pulumi.set(__self__, "vlan_s_tag", vlan_s_tag) - pulumi.set(__self__, "vlan_tag", vlan_tag) + encapsulation: str, + encapsulation_strategy: str, + reuse_vlan_s_tag: bool): + GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + encapsulation=encapsulation, + encapsulation_strategy=encapsulation_strategy, + reuse_vlan_s_tag=reuse_vlan_s_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + encapsulation: str, + encapsulation_strategy: str, + reuse_vlan_s_tag: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'encapsulationStrategy' in kwargs: + encapsulation_strategy = kwargs['encapsulationStrategy'] + if 'reuseVlanSTag' in kwargs: + reuse_vlan_s_tag = kwargs['reuseVlanSTag'] - @property - @pulumi.getter - def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - return pulumi.get(self, "type") + _setter("encapsulation", encapsulation) + _setter("encapsulation_strategy", encapsulation_strategy) + _setter("reuse_vlan_s_tag", reuse_vlan_s_tag) @property - @pulumi.getter(name="vlanCTag") - def vlan_c_tag(self) -> int: - return pulumi.get(self, "vlan_c_tag") + @pulumi.getter + def encapsulation(self) -> str: + return pulumi.get(self, "encapsulation") @property - @pulumi.getter(name="vlanSTag") - def vlan_s_tag(self) -> int: - return pulumi.get(self, "vlan_s_tag") + @pulumi.getter(name="encapsulationStrategy") + def encapsulation_strategy(self) -> str: + return pulumi.get(self, "encapsulation_strategy") @property - @pulumi.getter(name="vlanTag") - def vlan_tag(self) -> int: - return pulumi.get(self, "vlan_tag") + @pulumi.getter(name="reuseVlanSTag") + def reuse_vlan_s_tag(self) -> bool: + return pulumi.get(self, "reuse_vlan_s_tag") @pulumi.output_type -class GetConnectionZSideAccessPointLocationResult(dict): +class GetConnectionZSideAccessPointRouterResult(dict): def __init__(__self__, *, href: str, - ibx: str, - metro_code: str, - metro_name: str, - region: str): - """ - :param str href: Connection URI information - """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "ibx", ibx) - pulumi.set(__self__, "metro_code", metro_code) - pulumi.set(__self__, "metro_name", metro_name) - pulumi.set(__self__, "region", region) + state: str, + uuid: str): + GetConnectionZSideAccessPointRouterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + state=state, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + state: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("href", href) + _setter("state", state) + _setter("uuid", uuid) @property @pulumi.getter def href(self) -> str: - """ - Connection URI information - """ return pulumi.get(self, "href") @property @pulumi.getter - def ibx(self) -> str: - return pulumi.get(self, "ibx") - - @property - @pulumi.getter(name="metroCode") - def metro_code(self) -> str: - return pulumi.get(self, "metro_code") - - @property - @pulumi.getter(name="metroName") - def metro_name(self) -> str: - return pulumi.get(self, "metro_name") + def state(self) -> str: + return pulumi.get(self, "state") @property @pulumi.getter - def region(self) -> str: - return pulumi.get(self, "region") + def uuid(self) -> str: + return pulumi.get(self, "uuid") @pulumi.output_type -class GetConnectionZSideAccessPointPortResult(dict): +class GetConnectionZSideAccessPointVirtualDeviceResult(dict): def __init__(__self__, *, href: str, - name: str, - redundancies: Sequence['outputs.GetConnectionZSideAccessPointPortRedundancyResult'], + type: str, uuid: str): - """ - :param str href: Connection URI information - :param str name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - :param Sequence['GetConnectionZSideAccessPointPortRedundancyArgs'] redundancies: Redundancy Information - :param str uuid: Equinix-assigned connection identifier - """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "redundancies", redundancies) - pulumi.set(__self__, "uuid", uuid) + GetConnectionZSideAccessPointVirtualDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("href", href) + _setter("type", type) + _setter("uuid", uuid) @property @pulumi.getter def href(self) -> str: - """ - Connection URI information - """ return pulumi.get(self, "href") @property @pulumi.getter - def name(self) -> str: - """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def redundancies(self) -> Sequence['outputs.GetConnectionZSideAccessPointPortRedundancyResult']: - """ - Redundancy Information - """ - return pulumi.get(self, "redundancies") + def type(self) -> str: + return pulumi.get(self, "type") @property @pulumi.getter def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ return pulumi.get(self, "uuid") @pulumi.output_type -class GetConnectionZSideAccessPointPortRedundancyResult(dict): - def __init__(__self__, *, - priority: str): - pulumi.set(__self__, "priority", priority) - - @property - @pulumi.getter - def priority(self) -> str: - return pulumi.get(self, "priority") - - -@pulumi.output_type -class GetConnectionZSideAccessPointProfileResult(dict): +class GetConnectionZSideServiceTokenResult(dict): def __init__(__self__, *, - access_point_type_configs: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult'], description: str, href: str, - name: str, type: str, uuid: str): - """ - :param str description: Customer-provided connection description - :param str href: Connection URI information - :param str name: Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param str uuid: Equinix-assigned connection identifier - """ - pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + GetConnectionZSideServiceTokenResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + href: str, + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter(name="accessPointTypeConfigs") - def access_point_type_configs(self) -> Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult']: - return pulumi.get(self, "access_point_type_configs") + _setter("description", description) + _setter("href", href) + _setter("type", type) + _setter("uuid", uuid) @property @pulumi.getter def description(self) -> str: - """ - Customer-provided connection description - """ return pulumi.get(self, "description") @property @pulumi.getter def href(self) -> str: - """ - Connection URI information - """ return pulumi.get(self, "href") - @property - @pulumi.getter - def name(self) -> str: - """ - Connection name. An alpha-numeric 24 characters string which can include only hyphens and underscores - """ - return pulumi.get(self, "name") - @property @pulumi.getter def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ return pulumi.get(self, "type") @property @pulumi.getter def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ return pulumi.get(self, "uuid") @pulumi.output_type -class GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult(dict): +class GetPortAccountResult(dict): def __init__(__self__, *, - allow_bandwidth_auto_approval: bool, - allow_bandwidth_upgrade: bool, - allow_custom_bandwidth: bool, - allow_remote_connections: bool, - api_configs: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigResult'], - authentication_keys: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult'], - bandwidth_alert_threshold: float, - connection_label: str, - connection_redundancy_required: bool, - enable_auto_generate_service_key: bool, - link_protocol_configs: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult'], - supported_bandwidths: Sequence[int], - type: str, - uuid: str): - """ - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param str uuid: Equinix-assigned connection identifier - """ - pulumi.set(__self__, "allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) - pulumi.set(__self__, "allow_bandwidth_upgrade", allow_bandwidth_upgrade) - pulumi.set(__self__, "allow_custom_bandwidth", allow_custom_bandwidth) - pulumi.set(__self__, "allow_remote_connections", allow_remote_connections) - pulumi.set(__self__, "api_configs", api_configs) - pulumi.set(__self__, "authentication_keys", authentication_keys) - pulumi.set(__self__, "bandwidth_alert_threshold", bandwidth_alert_threshold) - pulumi.set(__self__, "connection_label", connection_label) - pulumi.set(__self__, "connection_redundancy_required", connection_redundancy_required) - pulumi.set(__self__, "enable_auto_generate_service_key", enable_auto_generate_service_key) - pulumi.set(__self__, "link_protocol_configs", link_protocol_configs) - pulumi.set(__self__, "supported_bandwidths", supported_bandwidths) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + account_name: str, + account_number: int, + global_cust_id: str, + global_org_id: str, + global_organization_name: str, + org_id: int, + organization_name: str): + GetPortAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: str, + account_number: int, + global_cust_id: str, + global_org_id: str, + global_organization_name: str, + org_id: int, + organization_name: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + + _setter("account_name", account_name) + _setter("account_number", account_number) + _setter("global_cust_id", global_cust_id) + _setter("global_org_id", global_org_id) + _setter("global_organization_name", global_organization_name) + _setter("org_id", org_id) + _setter("organization_name", organization_name) @property - @pulumi.getter(name="allowBandwidthAutoApproval") - def allow_bandwidth_auto_approval(self) -> bool: - return pulumi.get(self, "allow_bandwidth_auto_approval") + @pulumi.getter(name="accountName") + def account_name(self) -> str: + return pulumi.get(self, "account_name") @property - @pulumi.getter(name="allowBandwidthUpgrade") - def allow_bandwidth_upgrade(self) -> bool: - return pulumi.get(self, "allow_bandwidth_upgrade") + @pulumi.getter(name="accountNumber") + def account_number(self) -> int: + return pulumi.get(self, "account_number") @property - @pulumi.getter(name="allowCustomBandwidth") - def allow_custom_bandwidth(self) -> bool: - return pulumi.get(self, "allow_custom_bandwidth") + @pulumi.getter(name="globalCustId") + def global_cust_id(self) -> str: + return pulumi.get(self, "global_cust_id") @property - @pulumi.getter(name="allowRemoteConnections") - def allow_remote_connections(self) -> bool: - return pulumi.get(self, "allow_remote_connections") + @pulumi.getter(name="globalOrgId") + def global_org_id(self) -> str: + return pulumi.get(self, "global_org_id") @property - @pulumi.getter(name="apiConfigs") - def api_configs(self) -> Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigResult']: - return pulumi.get(self, "api_configs") + @pulumi.getter(name="globalOrganizationName") + def global_organization_name(self) -> str: + return pulumi.get(self, "global_organization_name") @property - @pulumi.getter(name="authenticationKeys") - def authentication_keys(self) -> Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult']: - return pulumi.get(self, "authentication_keys") + @pulumi.getter(name="orgId") + def org_id(self) -> int: + return pulumi.get(self, "org_id") @property - @pulumi.getter(name="bandwidthAlertThreshold") - def bandwidth_alert_threshold(self) -> float: - return pulumi.get(self, "bandwidth_alert_threshold") + @pulumi.getter(name="organizationName") + def organization_name(self) -> str: + return pulumi.get(self, "organization_name") + + +@pulumi.output_type +class GetPortChangeLogResult(dict): + def __init__(__self__, *, + created_by: str, + created_by_email: str, + created_by_full_name: str, + created_date_time: str, + deleted_by: str, + deleted_by_email: str, + deleted_by_full_name: str, + deleted_date_time: str, + updated_by: str, + updated_by_email: str, + updated_by_full_name: str, + updated_date_time: str): + GetPortChangeLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: str, + created_by_email: str, + created_by_full_name: str, + created_date_time: str, + deleted_by: str, + deleted_by_email: str, + deleted_by_full_name: str, + deleted_date_time: str, + updated_by: str, + updated_by_email: str, + updated_by_full_name: str, + updated_date_time: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + + _setter("created_by", created_by) + _setter("created_by_email", created_by_email) + _setter("created_by_full_name", created_by_full_name) + _setter("created_date_time", created_date_time) + _setter("deleted_by", deleted_by) + _setter("deleted_by_email", deleted_by_email) + _setter("deleted_by_full_name", deleted_by_full_name) + _setter("deleted_date_time", deleted_date_time) + _setter("updated_by", updated_by) + _setter("updated_by_email", updated_by_email) + _setter("updated_by_full_name", updated_by_full_name) + _setter("updated_date_time", updated_date_time) @property - @pulumi.getter(name="connectionLabel") - def connection_label(self) -> str: - return pulumi.get(self, "connection_label") + @pulumi.getter(name="createdBy") + def created_by(self) -> str: + return pulumi.get(self, "created_by") @property - @pulumi.getter(name="connectionRedundancyRequired") - def connection_redundancy_required(self) -> bool: - return pulumi.get(self, "connection_redundancy_required") + @pulumi.getter(name="createdByEmail") + def created_by_email(self) -> str: + return pulumi.get(self, "created_by_email") @property - @pulumi.getter(name="enableAutoGenerateServiceKey") - def enable_auto_generate_service_key(self) -> bool: - return pulumi.get(self, "enable_auto_generate_service_key") + @pulumi.getter(name="createdByFullName") + def created_by_full_name(self) -> str: + return pulumi.get(self, "created_by_full_name") @property - @pulumi.getter(name="linkProtocolConfigs") - def link_protocol_configs(self) -> Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult']: - return pulumi.get(self, "link_protocol_configs") + @pulumi.getter(name="createdDateTime") + def created_date_time(self) -> str: + return pulumi.get(self, "created_date_time") @property - @pulumi.getter(name="supportedBandwidths") - def supported_bandwidths(self) -> Sequence[int]: - return pulumi.get(self, "supported_bandwidths") + @pulumi.getter(name="deletedBy") + def deleted_by(self) -> str: + return pulumi.get(self, "deleted_by") + + @property + @pulumi.getter(name="deletedByEmail") + def deleted_by_email(self) -> str: + return pulumi.get(self, "deleted_by_email") + + @property + @pulumi.getter(name="deletedByFullName") + def deleted_by_full_name(self) -> str: + return pulumi.get(self, "deleted_by_full_name") + + @property + @pulumi.getter(name="deletedDateTime") + def deleted_date_time(self) -> str: + return pulumi.get(self, "deleted_date_time") + + @property + @pulumi.getter(name="updatedBy") + def updated_by(self) -> str: + return pulumi.get(self, "updated_by") + + @property + @pulumi.getter(name="updatedByEmail") + def updated_by_email(self) -> str: + return pulumi.get(self, "updated_by_email") + + @property + @pulumi.getter(name="updatedByFullName") + def updated_by_full_name(self) -> str: + return pulumi.get(self, "updated_by_full_name") + + @property + @pulumi.getter(name="updatedDateTime") + def updated_date_time(self) -> str: + return pulumi.get(self, "updated_date_time") + + +@pulumi.output_type +class GetPortDeviceResult(dict): + def __init__(__self__, *, + name: str, + redundancies: Sequence['outputs.GetPortDeviceRedundancyResult']): + GetPortDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + redundancies=redundancies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + redundancies: Sequence['outputs.GetPortDeviceRedundancyResult'], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("name", name) + _setter("redundancies", redundancies) @property @pulumi.getter - def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - return pulumi.get(self, "type") + def name(self) -> str: + return pulumi.get(self, "name") @property @pulumi.getter - def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ - return pulumi.get(self, "uuid") + def redundancies(self) -> Sequence['outputs.GetPortDeviceRedundancyResult']: + return pulumi.get(self, "redundancies") @pulumi.output_type -class GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigResult(dict): +class GetPortDeviceRedundancyResult(dict): def __init__(__self__, *, - allow_over_subscription: bool, - api_available: bool, - bandwidth_from_api: bool, - equinix_managed_port: bool, - equinix_managed_vlan: bool, - integration_id: str, - over_subscription_limit: int): - pulumi.set(__self__, "allow_over_subscription", allow_over_subscription) - pulumi.set(__self__, "api_available", api_available) - pulumi.set(__self__, "bandwidth_from_api", bandwidth_from_api) - pulumi.set(__self__, "equinix_managed_port", equinix_managed_port) - pulumi.set(__self__, "equinix_managed_vlan", equinix_managed_vlan) - pulumi.set(__self__, "integration_id", integration_id) - pulumi.set(__self__, "over_subscription_limit", over_subscription_limit) + group: str, + priority: str): + GetPortDeviceRedundancyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + group=group, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + group: str, + priority: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter(name="allowOverSubscription") - def allow_over_subscription(self) -> bool: - return pulumi.get(self, "allow_over_subscription") + _setter("group", group) + _setter("priority", priority) @property - @pulumi.getter(name="apiAvailable") - def api_available(self) -> bool: - return pulumi.get(self, "api_available") + @pulumi.getter + def group(self) -> str: + return pulumi.get(self, "group") @property - @pulumi.getter(name="bandwidthFromApi") - def bandwidth_from_api(self) -> bool: - return pulumi.get(self, "bandwidth_from_api") + @pulumi.getter + def priority(self) -> str: + return pulumi.get(self, "priority") - @property - @pulumi.getter(name="equinixManagedPort") - def equinix_managed_port(self) -> bool: - return pulumi.get(self, "equinix_managed_port") - @property - @pulumi.getter(name="equinixManagedVlan") - def equinix_managed_vlan(self) -> bool: - return pulumi.get(self, "equinix_managed_vlan") +@pulumi.output_type +class GetPortEncapsulationResult(dict): + def __init__(__self__, *, + tag_protocol_id: str, + type: str): + GetPortEncapsulationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + tag_protocol_id=tag_protocol_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + tag_protocol_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'tagProtocolId' in kwargs: + tag_protocol_id = kwargs['tagProtocolId'] + + _setter("tag_protocol_id", tag_protocol_id) + _setter("type", type) @property - @pulumi.getter(name="integrationId") - def integration_id(self) -> str: - return pulumi.get(self, "integration_id") + @pulumi.getter(name="tagProtocolId") + def tag_protocol_id(self) -> str: + return pulumi.get(self, "tag_protocol_id") @property - @pulumi.getter(name="overSubscriptionLimit") - def over_subscription_limit(self) -> int: - return pulumi.get(self, "over_subscription_limit") + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") @pulumi.output_type -class GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult(dict): +class GetPortLocationResult(dict): def __init__(__self__, *, - description: str, - label: str, - required: bool): - """ - :param str description: Customer-provided connection description - """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "required", required) + href: str, + ibx: str, + metro_code: str, + metro_name: str, + region: str): + GetPortLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + ibx: str, + metro_code: str, + metro_name: str, + region: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + + _setter("href", href) + _setter("ibx", ibx) + _setter("metro_code", metro_code) + _setter("metro_name", metro_name) + _setter("region", region) @property @pulumi.getter - def description(self) -> str: - """ - Customer-provided connection description - """ - return pulumi.get(self, "description") + def href(self) -> str: + return pulumi.get(self, "href") @property @pulumi.getter - def label(self) -> str: - return pulumi.get(self, "label") + def ibx(self) -> str: + return pulumi.get(self, "ibx") + + @property + @pulumi.getter(name="metroCode") + def metro_code(self) -> str: + return pulumi.get(self, "metro_code") + + @property + @pulumi.getter(name="metroName") + def metro_name(self) -> str: + return pulumi.get(self, "metro_name") @property @pulumi.getter - def required(self) -> bool: - return pulumi.get(self, "required") + def region(self) -> str: + return pulumi.get(self, "region") @pulumi.output_type -class GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult(dict): +class GetPortOperationResult(dict): def __init__(__self__, *, - encapsulation: str, - encapsulation_strategy: str, - reuse_vlan_s_tag: bool): - pulumi.set(__self__, "encapsulation", encapsulation) - pulumi.set(__self__, "encapsulation_strategy", encapsulation_strategy) - pulumi.set(__self__, "reuse_vlan_s_tag", reuse_vlan_s_tag) + connection_count: int, + op_status_changed_at: str, + operational_status: str): + GetPortOperationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_count=connection_count, + op_status_changed_at=op_status_changed_at, + operational_status=operational_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_count: int, + op_status_changed_at: str, + operational_status: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'connectionCount' in kwargs: + connection_count = kwargs['connectionCount'] + if 'opStatusChangedAt' in kwargs: + op_status_changed_at = kwargs['opStatusChangedAt'] + if 'operationalStatus' in kwargs: + operational_status = kwargs['operationalStatus'] + + _setter("connection_count", connection_count) + _setter("op_status_changed_at", op_status_changed_at) + _setter("operational_status", operational_status) @property - @pulumi.getter - def encapsulation(self) -> str: - return pulumi.get(self, "encapsulation") + @pulumi.getter(name="connectionCount") + def connection_count(self) -> int: + return pulumi.get(self, "connection_count") @property - @pulumi.getter(name="encapsulationStrategy") - def encapsulation_strategy(self) -> str: - return pulumi.get(self, "encapsulation_strategy") + @pulumi.getter(name="opStatusChangedAt") + def op_status_changed_at(self) -> str: + return pulumi.get(self, "op_status_changed_at") @property - @pulumi.getter(name="reuseVlanSTag") - def reuse_vlan_s_tag(self) -> bool: - return pulumi.get(self, "reuse_vlan_s_tag") + @pulumi.getter(name="operationalStatus") + def operational_status(self) -> str: + return pulumi.get(self, "operational_status") @pulumi.output_type -class GetConnectionZSideAccessPointVirtualDeviceResult(dict): +class GetPortRedundancyResult(dict): def __init__(__self__, *, - href: str, - type: str, - uuid: str): - """ - :param str href: Connection URI information - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param str uuid: Equinix-assigned connection identifier - """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + enabled: bool, + group: str, + priority: str): + GetPortRedundancyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + group=group, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: bool, + group: str, + priority: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("enabled", enabled) + _setter("group", group) + _setter("priority", priority) @property @pulumi.getter - def href(self) -> str: - """ - Connection URI information - """ - return pulumi.get(self, "href") + def enabled(self) -> bool: + return pulumi.get(self, "enabled") @property @pulumi.getter - def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ - return pulumi.get(self, "type") + def group(self) -> str: + return pulumi.get(self, "group") @property @pulumi.getter - def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ - return pulumi.get(self, "uuid") + def priority(self) -> str: + return pulumi.get(self, "priority") @pulumi.output_type -class GetConnectionZSideServiceTokenResult(dict): +class GetPortsDatumResult(dict): def __init__(__self__, *, + accounts: Sequence['outputs.GetPortsDatumAccountResult'], + available_bandwidth: int, + bandwidth: int, + change_logs: Sequence['outputs.GetPortsDatumChangeLogResult'], description: str, + devices: Sequence['outputs.GetPortsDatumDeviceResult'], + encapsulations: Sequence['outputs.GetPortsDatumEncapsulationResult'], href: str, + lag_enabled: bool, + locations: Sequence['outputs.GetPortsDatumLocationResult'], + name: str, + operations: Sequence['outputs.GetPortsDatumOperationResult'], + redundancies: Sequence['outputs.GetPortsDatumRedundancyResult'], + service_type: str, + state: str, type: str, - uuid: str): - """ - :param str description: Customer-provided connection description - :param str href: Connection URI information - :param str type: Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - :param str uuid: Equinix-assigned connection identifier - """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + used_bandwidth: int, + uuid: Optional[str] = None): + GetPortsDatumResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accounts=accounts, + available_bandwidth=available_bandwidth, + bandwidth=bandwidth, + change_logs=change_logs, + description=description, + devices=devices, + encapsulations=encapsulations, + href=href, + lag_enabled=lag_enabled, + locations=locations, + name=name, + operations=operations, + redundancies=redundancies, + service_type=service_type, + state=state, + type=type, + used_bandwidth=used_bandwidth, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accounts: Sequence['outputs.GetPortsDatumAccountResult'], + available_bandwidth: int, + bandwidth: int, + change_logs: Sequence['outputs.GetPortsDatumChangeLogResult'], + description: str, + devices: Sequence['outputs.GetPortsDatumDeviceResult'], + encapsulations: Sequence['outputs.GetPortsDatumEncapsulationResult'], + href: str, + lag_enabled: bool, + locations: Sequence['outputs.GetPortsDatumLocationResult'], + name: str, + operations: Sequence['outputs.GetPortsDatumOperationResult'], + redundancies: Sequence['outputs.GetPortsDatumRedundancyResult'], + service_type: str, + state: str, + type: str, + used_bandwidth: int, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'availableBandwidth' in kwargs: + available_bandwidth = kwargs['availableBandwidth'] + if 'changeLogs' in kwargs: + change_logs = kwargs['changeLogs'] + if 'lagEnabled' in kwargs: + lag_enabled = kwargs['lagEnabled'] + if 'serviceType' in kwargs: + service_type = kwargs['serviceType'] + if 'usedBandwidth' in kwargs: + used_bandwidth = kwargs['usedBandwidth'] + + _setter("accounts", accounts) + _setter("available_bandwidth", available_bandwidth) + _setter("bandwidth", bandwidth) + _setter("change_logs", change_logs) + _setter("description", description) + _setter("devices", devices) + _setter("encapsulations", encapsulations) + _setter("href", href) + _setter("lag_enabled", lag_enabled) + _setter("locations", locations) + _setter("name", name) + _setter("operations", operations) + _setter("redundancies", redundancies) + _setter("service_type", service_type) + _setter("state", state) + _setter("type", type) + _setter("used_bandwidth", used_bandwidth) + if uuid is not None: + _setter("uuid", uuid) + + @property + @pulumi.getter + def accounts(self) -> Sequence['outputs.GetPortsDatumAccountResult']: + return pulumi.get(self, "accounts") + + @property + @pulumi.getter(name="availableBandwidth") + def available_bandwidth(self) -> int: + return pulumi.get(self, "available_bandwidth") + + @property + @pulumi.getter + def bandwidth(self) -> int: + return pulumi.get(self, "bandwidth") + + @property + @pulumi.getter(name="changeLogs") + def change_logs(self) -> Sequence['outputs.GetPortsDatumChangeLogResult']: + return pulumi.get(self, "change_logs") @property @pulumi.getter def description(self) -> str: - """ - Customer-provided connection description - """ return pulumi.get(self, "description") + @property + @pulumi.getter + def devices(self) -> Sequence['outputs.GetPortsDatumDeviceResult']: + return pulumi.get(self, "devices") + + @property + @pulumi.getter + def encapsulations(self) -> Sequence['outputs.GetPortsDatumEncapsulationResult']: + return pulumi.get(self, "encapsulations") + @property @pulumi.getter def href(self) -> str: - """ - Connection URI information - """ return pulumi.get(self, "href") + @property + @pulumi.getter(name="lagEnabled") + def lag_enabled(self) -> bool: + return pulumi.get(self, "lag_enabled") + + @property + @pulumi.getter + def locations(self) -> Sequence['outputs.GetPortsDatumLocationResult']: + return pulumi.get(self, "locations") + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def operations(self) -> Sequence['outputs.GetPortsDatumOperationResult']: + return pulumi.get(self, "operations") + + @property + @pulumi.getter + def redundancies(self) -> Sequence['outputs.GetPortsDatumRedundancyResult']: + return pulumi.get(self, "redundancies") + + @property + @pulumi.getter(name="serviceType") + def service_type(self) -> str: + return pulumi.get(self, "service_type") + + @property + @pulumi.getter + def state(self) -> str: + return pulumi.get(self, "state") + @property @pulumi.getter def type(self) -> str: - """ - Defines the connection type like VG*VC, EVPL*VC, EPL*VC, EC*VC, GW*VC, ACCESS*EPL_VC - """ return pulumi.get(self, "type") + @property + @pulumi.getter(name="usedBandwidth") + def used_bandwidth(self) -> int: + return pulumi.get(self, "used_bandwidth") + @property @pulumi.getter - def uuid(self) -> str: - """ - Equinix-assigned connection identifier - """ + def uuid(self) -> Optional[str]: return pulumi.get(self, "uuid") @pulumi.output_type -class GetPortAccountResult(dict): +class GetPortsDatumAccountResult(dict): def __init__(__self__, *, account_name: str, account_number: int, @@ -5773,13 +10920,50 @@ def __init__(__self__, *, global_organization_name: str, org_id: int, organization_name: str): - pulumi.set(__self__, "account_name", account_name) - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "global_cust_id", global_cust_id) - pulumi.set(__self__, "global_org_id", global_org_id) - pulumi.set(__self__, "global_organization_name", global_organization_name) - pulumi.set(__self__, "org_id", org_id) - pulumi.set(__self__, "organization_name", organization_name) + GetPortsDatumAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: str, + account_number: int, + global_cust_id: str, + global_org_id: str, + global_organization_name: str, + org_id: int, + organization_name: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + + _setter("account_name", account_name) + _setter("account_number", account_number) + _setter("global_cust_id", global_cust_id) + _setter("global_org_id", global_org_id) + _setter("global_organization_name", global_organization_name) + _setter("org_id", org_id) + _setter("organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -5818,7 +11002,7 @@ def organization_name(self) -> str: @pulumi.output_type -class GetPortChangeLogResult(dict): +class GetPortsDatumChangeLogResult(dict): def __init__(__self__, *, created_by: str, created_by_email: str, @@ -5832,18 +11016,75 @@ def __init__(__self__, *, updated_by_email: str, updated_by_full_name: str, updated_date_time: str): - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "created_by_email", created_by_email) - pulumi.set(__self__, "created_by_full_name", created_by_full_name) - pulumi.set(__self__, "created_date_time", created_date_time) - pulumi.set(__self__, "deleted_by", deleted_by) - pulumi.set(__self__, "deleted_by_email", deleted_by_email) - pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) - pulumi.set(__self__, "deleted_date_time", deleted_date_time) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "updated_by_email", updated_by_email) - pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) - pulumi.set(__self__, "updated_date_time", updated_date_time) + GetPortsDatumChangeLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: str, + created_by_email: str, + created_by_full_name: str, + created_date_time: str, + deleted_by: str, + deleted_by_email: str, + deleted_by_full_name: str, + deleted_date_time: str, + updated_by: str, + updated_by_email: str, + updated_by_full_name: str, + updated_date_time: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + + _setter("created_by", created_by) + _setter("created_by_email", created_by_email) + _setter("created_by_full_name", created_by_full_name) + _setter("created_date_time", created_date_time) + _setter("deleted_by", deleted_by) + _setter("deleted_by_email", deleted_by_email) + _setter("deleted_by_full_name", deleted_by_full_name) + _setter("deleted_date_time", deleted_date_time) + _setter("updated_by", updated_by) + _setter("updated_by_email", updated_by_email) + _setter("updated_by_full_name", updated_by_full_name) + _setter("updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -5907,41 +11148,57 @@ def updated_date_time(self) -> str: @pulumi.output_type -class GetPortDeviceResult(dict): +class GetPortsDatumDeviceResult(dict): def __init__(__self__, *, name: str, - redundancies: Sequence['outputs.GetPortDeviceRedundancyResult']): - """ - :param str name: Port name - :param Sequence['GetPortDeviceRedundancyArgs'] redundancies: Port redundancy information - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "redundancies", redundancies) + redundancies: Sequence['outputs.GetPortsDatumDeviceRedundancyResult']): + GetPortsDatumDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + redundancies=redundancies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + redundancies: Sequence['outputs.GetPortsDatumDeviceRedundancyResult'], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("name", name) + _setter("redundancies", redundancies) @property @pulumi.getter def name(self) -> str: - """ - Port name - """ return pulumi.get(self, "name") @property @pulumi.getter - def redundancies(self) -> Sequence['outputs.GetPortDeviceRedundancyResult']: - """ - Port redundancy information - """ + def redundancies(self) -> Sequence['outputs.GetPortsDatumDeviceRedundancyResult']: return pulumi.get(self, "redundancies") @pulumi.output_type -class GetPortDeviceRedundancyResult(dict): +class GetPortsDatumDeviceRedundancyResult(dict): def __init__(__self__, *, group: str, priority: str): - pulumi.set(__self__, "group", group) - pulumi.set(__self__, "priority", priority) + GetPortsDatumDeviceRedundancyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + group=group, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + group: str, + priority: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("group", group) + _setter("priority", priority) @property @pulumi.getter @@ -5955,15 +11212,27 @@ def priority(self) -> str: @pulumi.output_type -class GetPortEncapsulationResult(dict): +class GetPortsDatumEncapsulationResult(dict): def __init__(__self__, *, tag_protocol_id: str, type: str): - """ - :param str type: Port type - """ - pulumi.set(__self__, "tag_protocol_id", tag_protocol_id) - pulumi.set(__self__, "type", type) + GetPortsDatumEncapsulationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + tag_protocol_id=tag_protocol_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + tag_protocol_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'tagProtocolId' in kwargs: + tag_protocol_id = kwargs['tagProtocolId'] + + _setter("tag_protocol_id", tag_protocol_id) + _setter("type", type) @property @pulumi.getter(name="tagProtocolId") @@ -5973,78 +11242,49 @@ def tag_protocol_id(self) -> str: @property @pulumi.getter def type(self) -> str: - """ - Port type - """ return pulumi.get(self, "type") @pulumi.output_type -class GetPortLagResult(dict): - def __init__(__self__, *, - enabled: bool, - id: str, - member_status: str, - name: str): - """ - :param str id: The ID of this resource. - :param str name: Port name - """ - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "member_status", member_status) - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter - def enabled(self) -> bool: - return pulumi.get(self, "enabled") - - @property - @pulumi.getter - def id(self) -> str: - """ - The ID of this resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="memberStatus") - def member_status(self) -> str: - return pulumi.get(self, "member_status") - - @property - @pulumi.getter - def name(self) -> str: - """ - Port name - """ - return pulumi.get(self, "name") - - -@pulumi.output_type -class GetPortLocationResult(dict): +class GetPortsDatumLocationResult(dict): def __init__(__self__, *, href: str, ibx: str, metro_code: str, metro_name: str, region: str): - """ - :param str href: Port URI information - """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "ibx", ibx) - pulumi.set(__self__, "metro_code", metro_code) - pulumi.set(__self__, "metro_name", metro_name) - pulumi.set(__self__, "region", region) + GetPortsDatumLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + ibx: str, + metro_code: str, + metro_name: str, + region: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + + _setter("href", href) + _setter("ibx", ibx) + _setter("metro_code", metro_code) + _setter("metro_name", metro_name) + _setter("region", region) @property @pulumi.getter def href(self) -> str: - """ - Port URI information - """ return pulumi.get(self, "href") @property @@ -6069,14 +11309,35 @@ def region(self) -> str: @pulumi.output_type -class GetPortOperationResult(dict): +class GetPortsDatumOperationResult(dict): def __init__(__self__, *, connection_count: int, op_status_changed_at: str, operational_status: str): - pulumi.set(__self__, "connection_count", connection_count) - pulumi.set(__self__, "op_status_changed_at", op_status_changed_at) - pulumi.set(__self__, "operational_status", operational_status) + GetPortsDatumOperationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_count=connection_count, + op_status_changed_at=op_status_changed_at, + operational_status=operational_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_count: int, + op_status_changed_at: str, + operational_status: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'connectionCount' in kwargs: + connection_count = kwargs['connectionCount'] + if 'opStatusChangedAt' in kwargs: + op_status_changed_at = kwargs['opStatusChangedAt'] + if 'operationalStatus' in kwargs: + operational_status = kwargs['operationalStatus'] + + _setter("connection_count", connection_count) + _setter("op_status_changed_at", op_status_changed_at) + _setter("operational_status", operational_status) @property @pulumi.getter(name="connectionCount") @@ -6095,14 +11356,29 @@ def operational_status(self) -> str: @pulumi.output_type -class GetPortRedundancyResult(dict): +class GetPortsDatumRedundancyResult(dict): def __init__(__self__, *, enabled: bool, - group: int, + group: str, priority: str): - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "group", group) - pulumi.set(__self__, "priority", priority) + GetPortsDatumRedundancyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + group=group, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: bool, + group: str, + priority: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("enabled", enabled) + _setter("group", group) + _setter("priority", priority) @property @pulumi.getter @@ -6111,7 +11387,7 @@ def enabled(self) -> bool: @property @pulumi.getter - def group(self) -> int: + def group(self) -> str: return pulumi.get(self, "group") @property @@ -6121,193 +11397,241 @@ def priority(self) -> str: @pulumi.output_type -class GetPortsDatumResult(dict): +class GetPortsFilterResult(dict): def __init__(__self__, *, - accounts: Sequence['outputs.GetPortsDatumAccountResult'], - available_bandwidth: int, - bandwidth: int, - change_logs: Sequence['outputs.GetPortsDatumChangeLogResult'], - description: str, - devices: Sequence['outputs.GetPortsDatumDeviceResult'], - encapsulations: Sequence['outputs.GetPortsDatumEncapsulationResult'], - href: str, - lags: Sequence['outputs.GetPortsDatumLagResult'], - locations: Sequence['outputs.GetPortsDatumLocationResult'], - name: str, - operations: Sequence['outputs.GetPortsDatumOperationResult'], - redundancies: Sequence['outputs.GetPortsDatumRedundancyResult'], - service_type: str, - state: str, - type: str, - used_bandwidth: int, - uuid: Optional[str] = None): - pulumi.set(__self__, "accounts", accounts) - pulumi.set(__self__, "available_bandwidth", available_bandwidth) - pulumi.set(__self__, "bandwidth", bandwidth) - pulumi.set(__self__, "change_logs", change_logs) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "devices", devices) - pulumi.set(__self__, "encapsulations", encapsulations) - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "lags", lags) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "operations", operations) - pulumi.set(__self__, "redundancies", redundancies) - pulumi.set(__self__, "service_type", service_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "used_bandwidth", used_bandwidth) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + name: Optional[str] = None): + """ + :param str name: Query Parameter to Get Ports By Name + """ + GetPortsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + if name is not None: + _setter("name", name) @property @pulumi.getter - def accounts(self) -> Sequence['outputs.GetPortsDatumAccountResult']: - return pulumi.get(self, "accounts") + def name(self) -> Optional[str]: + """ + Query Parameter to Get Ports By Name + """ + return pulumi.get(self, "name") - @property - @pulumi.getter(name="availableBandwidth") - def available_bandwidth(self) -> int: - return pulumi.get(self, "available_bandwidth") - @property - @pulumi.getter - def bandwidth(self) -> int: - return pulumi.get(self, "bandwidth") +@pulumi.output_type +class GetRoutingProtocolBfdResult(dict): + def __init__(__self__, *, + enabled: bool, + interval: Optional[str] = None): + """ + :param bool enabled: Bidirectional Forwarding Detection enablement + :param str interval: Interval range between the received BFD control packets + """ + GetRoutingProtocolBfdResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + interval=interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: bool, + interval: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter(name="changeLogs") - def change_logs(self) -> Sequence['outputs.GetPortsDatumChangeLogResult']: - return pulumi.get(self, "change_logs") + _setter("enabled", enabled) + if interval is not None: + _setter("interval", interval) @property @pulumi.getter - def description(self) -> str: - return pulumi.get(self, "description") + def enabled(self) -> bool: + """ + Bidirectional Forwarding Detection enablement + """ + return pulumi.get(self, "enabled") @property @pulumi.getter - def devices(self) -> Sequence['outputs.GetPortsDatumDeviceResult']: - return pulumi.get(self, "devices") + def interval(self) -> Optional[str]: + """ + Interval range between the received BFD control packets + """ + return pulumi.get(self, "interval") - @property - @pulumi.getter - def encapsulations(self) -> Sequence['outputs.GetPortsDatumEncapsulationResult']: - return pulumi.get(self, "encapsulations") - @property - @pulumi.getter - def href(self) -> str: - return pulumi.get(self, "href") +@pulumi.output_type +class GetRoutingProtocolBgpIpv4Result(dict): + def __init__(__self__, *, + customer_peer_ip: str, + equinix_peer_ip: str, + enabled: Optional[bool] = None): + """ + :param str customer_peer_ip: Customer side peering ip + :param str equinix_peer_ip: Equinix side peering ip + :param bool enabled: Admin status for the BGP session + """ + GetRoutingProtocolBgpIpv4Result._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_peer_ip=customer_peer_ip, + equinix_peer_ip=equinix_peer_ip, + enabled=enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_peer_ip: str, + equinix_peer_ip: str, + enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customerPeerIp' in kwargs: + customer_peer_ip = kwargs['customerPeerIp'] + if 'equinixPeerIp' in kwargs: + equinix_peer_ip = kwargs['equinixPeerIp'] - @property - @pulumi.getter - def lags(self) -> Sequence['outputs.GetPortsDatumLagResult']: - return pulumi.get(self, "lags") + _setter("customer_peer_ip", customer_peer_ip) + _setter("equinix_peer_ip", equinix_peer_ip) + if enabled is not None: + _setter("enabled", enabled) @property - @pulumi.getter - def locations(self) -> Sequence['outputs.GetPortsDatumLocationResult']: - return pulumi.get(self, "locations") + @pulumi.getter(name="customerPeerIp") + def customer_peer_ip(self) -> str: + """ + Customer side peering ip + """ + return pulumi.get(self, "customer_peer_ip") @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") + @pulumi.getter(name="equinixPeerIp") + def equinix_peer_ip(self) -> str: + """ + Equinix side peering ip + """ + return pulumi.get(self, "equinix_peer_ip") @property @pulumi.getter - def operations(self) -> Sequence['outputs.GetPortsDatumOperationResult']: - return pulumi.get(self, "operations") + def enabled(self) -> Optional[bool]: + """ + Admin status for the BGP session + """ + return pulumi.get(self, "enabled") - @property - @pulumi.getter - def redundancies(self) -> Sequence['outputs.GetPortsDatumRedundancyResult']: - return pulumi.get(self, "redundancies") - @property - @pulumi.getter(name="serviceType") - def service_type(self) -> str: - return pulumi.get(self, "service_type") +@pulumi.output_type +class GetRoutingProtocolBgpIpv6Result(dict): + def __init__(__self__, *, + customer_peer_ip: str, + equinix_peer_ip: str, + enabled: Optional[bool] = None): + """ + :param str customer_peer_ip: Customer side peering ip + :param str equinix_peer_ip: Equinix side peering ip + :param bool enabled: Admin status for the BGP session + """ + GetRoutingProtocolBgpIpv6Result._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_peer_ip=customer_peer_ip, + equinix_peer_ip=equinix_peer_ip, + enabled=enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_peer_ip: str, + equinix_peer_ip: str, + enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'customerPeerIp' in kwargs: + customer_peer_ip = kwargs['customerPeerIp'] + if 'equinixPeerIp' in kwargs: + equinix_peer_ip = kwargs['equinixPeerIp'] - @property - @pulumi.getter - def state(self) -> str: - return pulumi.get(self, "state") + _setter("customer_peer_ip", customer_peer_ip) + _setter("equinix_peer_ip", equinix_peer_ip) + if enabled is not None: + _setter("enabled", enabled) @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") + @pulumi.getter(name="customerPeerIp") + def customer_peer_ip(self) -> str: + """ + Customer side peering ip + """ + return pulumi.get(self, "customer_peer_ip") @property - @pulumi.getter(name="usedBandwidth") - def used_bandwidth(self) -> int: - return pulumi.get(self, "used_bandwidth") + @pulumi.getter(name="equinixPeerIp") + def equinix_peer_ip(self) -> str: + """ + Equinix side peering ip + """ + return pulumi.get(self, "equinix_peer_ip") @property @pulumi.getter - def uuid(self) -> Optional[str]: - return pulumi.get(self, "uuid") + def enabled(self) -> Optional[bool]: + """ + Admin status for the BGP session + """ + return pulumi.get(self, "enabled") @pulumi.output_type -class GetPortsDatumAccountResult(dict): +class GetRoutingProtocolChangeResult(dict): def __init__(__self__, *, - account_name: str, - account_number: int, - global_cust_id: str, - global_org_id: str, - global_organization_name: str, - org_id: int, - organization_name: str): - pulumi.set(__self__, "account_name", account_name) - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "global_cust_id", global_cust_id) - pulumi.set(__self__, "global_org_id", global_org_id) - pulumi.set(__self__, "global_organization_name", global_organization_name) - pulumi.set(__self__, "org_id", org_id) - pulumi.set(__self__, "organization_name", organization_name) - - @property - @pulumi.getter(name="accountName") - def account_name(self) -> str: - return pulumi.get(self, "account_name") - - @property - @pulumi.getter(name="accountNumber") - def account_number(self) -> int: - return pulumi.get(self, "account_number") - - @property - @pulumi.getter(name="globalCustId") - def global_cust_id(self) -> str: - return pulumi.get(self, "global_cust_id") + href: str, + type: str, + uuid: str): + GetRoutingProtocolChangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter(name="globalOrgId") - def global_org_id(self) -> str: - return pulumi.get(self, "global_org_id") + _setter("href", href) + _setter("type", type) + _setter("uuid", uuid) @property - @pulumi.getter(name="globalOrganizationName") - def global_organization_name(self) -> str: - return pulumi.get(self, "global_organization_name") + @pulumi.getter + def href(self) -> str: + return pulumi.get(self, "href") @property - @pulumi.getter(name="orgId") - def org_id(self) -> int: - return pulumi.get(self, "org_id") + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") - @property - @pulumi.getter(name="organizationName") - def organization_name(self) -> str: - return pulumi.get(self, "organization_name") + @property + @pulumi.getter + def uuid(self) -> str: + return pulumi.get(self, "uuid") @pulumi.output_type -class GetPortsDatumChangeLogResult(dict): +class GetRoutingProtocolChangeLogResult(dict): def __init__(__self__, *, created_by: str, created_by_email: str, @@ -6321,18 +11645,75 @@ def __init__(__self__, *, updated_by_email: str, updated_by_full_name: str, updated_date_time: str): - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "created_by_email", created_by_email) - pulumi.set(__self__, "created_by_full_name", created_by_full_name) - pulumi.set(__self__, "created_date_time", created_date_time) - pulumi.set(__self__, "deleted_by", deleted_by) - pulumi.set(__self__, "deleted_by_email", deleted_by_email) - pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) - pulumi.set(__self__, "deleted_date_time", deleted_date_time) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "updated_by_email", updated_by_email) - pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) - pulumi.set(__self__, "updated_date_time", updated_date_time) + GetRoutingProtocolChangeLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: str, + created_by_email: str, + created_by_full_name: str, + created_date_time: str, + deleted_by: str, + deleted_by_email: str, + deleted_by_full_name: str, + deleted_date_time: str, + updated_by: str, + updated_by_email: str, + updated_by_full_name: str, + updated_date_time: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + + _setter("created_by", created_by) + _setter("created_by_email", created_by_email) + _setter("created_by_full_name", created_by_full_name) + _setter("created_date_time", created_date_time) + _setter("deleted_by", deleted_by) + _setter("deleted_by_email", deleted_by_email) + _setter("deleted_by_full_name", deleted_by_full_name) + _setter("deleted_date_time", deleted_date_time) + _setter("updated_by", updated_by) + _setter("updated_by_email", updated_by_email) + _setter("updated_by_full_name", updated_by_full_name) + _setter("updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -6396,210 +11777,197 @@ def updated_date_time(self) -> str: @pulumi.output_type -class GetPortsDatumDeviceResult(dict): +class GetRoutingProtocolDirectIpv4Result(dict): def __init__(__self__, *, - name: str, - redundancies: Sequence['outputs.GetPortsDatumDeviceRedundancyResult']): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "redundancies", redundancies) + equinix_iface_ip: str): + """ + :param str equinix_iface_ip: Equinix side Interface IP address + """ + GetRoutingProtocolDirectIpv4Result._configure( + lambda key, value: pulumi.set(__self__, key, value), + equinix_iface_ip=equinix_iface_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + equinix_iface_ip: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'equinixIfaceIp' in kwargs: + equinix_iface_ip = kwargs['equinixIfaceIp'] - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") + _setter("equinix_iface_ip", equinix_iface_ip) @property - @pulumi.getter - def redundancies(self) -> Sequence['outputs.GetPortsDatumDeviceRedundancyResult']: - return pulumi.get(self, "redundancies") + @pulumi.getter(name="equinixIfaceIp") + def equinix_iface_ip(self) -> str: + """ + Equinix side Interface IP address + """ + return pulumi.get(self, "equinix_iface_ip") @pulumi.output_type -class GetPortsDatumDeviceRedundancyResult(dict): +class GetRoutingProtocolDirectIpv6Result(dict): def __init__(__self__, *, - group: str, - priority: str): - pulumi.set(__self__, "group", group) - pulumi.set(__self__, "priority", priority) + equinix_iface_ip: Optional[str] = None): + """ + :param str equinix_iface_ip: Equinix side Interface IP address + """ + GetRoutingProtocolDirectIpv6Result._configure( + lambda key, value: pulumi.set(__self__, key, value), + equinix_iface_ip=equinix_iface_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + equinix_iface_ip: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'equinixIfaceIp' in kwargs: + equinix_iface_ip = kwargs['equinixIfaceIp'] - @property - @pulumi.getter - def group(self) -> str: - return pulumi.get(self, "group") + if equinix_iface_ip is not None: + _setter("equinix_iface_ip", equinix_iface_ip) @property - @pulumi.getter - def priority(self) -> str: - return pulumi.get(self, "priority") + @pulumi.getter(name="equinixIfaceIp") + def equinix_iface_ip(self) -> Optional[str]: + """ + Equinix side Interface IP address + """ + return pulumi.get(self, "equinix_iface_ip") @pulumi.output_type -class GetPortsDatumEncapsulationResult(dict): +class GetRoutingProtocolOperationResult(dict): def __init__(__self__, *, - tag_protocol_id: str, - type: str): - pulumi.set(__self__, "tag_protocol_id", tag_protocol_id) - pulumi.set(__self__, "type", type) + errors: Sequence['outputs.GetRoutingProtocolOperationErrorResult']): + GetRoutingProtocolOperationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + errors=errors, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + errors: Sequence['outputs.GetRoutingProtocolOperationErrorResult'], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter(name="tagProtocolId") - def tag_protocol_id(self) -> str: - return pulumi.get(self, "tag_protocol_id") + _setter("errors", errors) @property @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") + def errors(self) -> Sequence['outputs.GetRoutingProtocolOperationErrorResult']: + return pulumi.get(self, "errors") @pulumi.output_type -class GetPortsDatumLagResult(dict): +class GetRoutingProtocolOperationErrorResult(dict): def __init__(__self__, *, - enabled: bool, - id: str, - member_status: str, - name: str): - """ - :param str id: The ID of this resource. - """ - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "member_status", member_status) - pulumi.set(__self__, "name", name) - - @property - @pulumi.getter - def enabled(self) -> bool: - return pulumi.get(self, "enabled") - - @property - @pulumi.getter - def id(self) -> str: - """ - The ID of this resource. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="memberStatus") - def member_status(self) -> str: - return pulumi.get(self, "member_status") + additional_infos: Sequence['outputs.GetRoutingProtocolOperationErrorAdditionalInfoResult'], + correlation_id: str, + details: str, + error_code: str, + error_message: str, + help: str): + GetRoutingProtocolOperationErrorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_infos=additional_infos, + correlation_id=correlation_id, + details=details, + error_code=error_code, + error_message=error_message, + help=help, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_infos: Sequence['outputs.GetRoutingProtocolOperationErrorAdditionalInfoResult'], + correlation_id: str, + details: str, + error_code: str, + error_message: str, + help: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'additionalInfos' in kwargs: + additional_infos = kwargs['additionalInfos'] + if 'correlationId' in kwargs: + correlation_id = kwargs['correlationId'] + if 'errorCode' in kwargs: + error_code = kwargs['errorCode'] + if 'errorMessage' in kwargs: + error_message = kwargs['errorMessage'] + + _setter("additional_infos", additional_infos) + _setter("correlation_id", correlation_id) + _setter("details", details) + _setter("error_code", error_code) + _setter("error_message", error_message) + _setter("help", help) @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") - - -@pulumi.output_type -class GetPortsDatumLocationResult(dict): - def __init__(__self__, *, - href: str, - ibx: str, - metro_code: str, - metro_name: str, - region: str): - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "ibx", ibx) - pulumi.set(__self__, "metro_code", metro_code) - pulumi.set(__self__, "metro_name", metro_name) - pulumi.set(__self__, "region", region) + @pulumi.getter(name="additionalInfos") + def additional_infos(self) -> Sequence['outputs.GetRoutingProtocolOperationErrorAdditionalInfoResult']: + return pulumi.get(self, "additional_infos") @property - @pulumi.getter - def href(self) -> str: - return pulumi.get(self, "href") + @pulumi.getter(name="correlationId") + def correlation_id(self) -> str: + return pulumi.get(self, "correlation_id") @property @pulumi.getter - def ibx(self) -> str: - return pulumi.get(self, "ibx") + def details(self) -> str: + return pulumi.get(self, "details") @property - @pulumi.getter(name="metroCode") - def metro_code(self) -> str: - return pulumi.get(self, "metro_code") + @pulumi.getter(name="errorCode") + def error_code(self) -> str: + return pulumi.get(self, "error_code") @property - @pulumi.getter(name="metroName") - def metro_name(self) -> str: - return pulumi.get(self, "metro_name") + @pulumi.getter(name="errorMessage") + def error_message(self) -> str: + return pulumi.get(self, "error_message") @property @pulumi.getter - def region(self) -> str: - return pulumi.get(self, "region") - - -@pulumi.output_type -class GetPortsDatumOperationResult(dict): - def __init__(__self__, *, - connection_count: int, - op_status_changed_at: str, - operational_status: str): - pulumi.set(__self__, "connection_count", connection_count) - pulumi.set(__self__, "op_status_changed_at", op_status_changed_at) - pulumi.set(__self__, "operational_status", operational_status) - - @property - @pulumi.getter(name="connectionCount") - def connection_count(self) -> int: - return pulumi.get(self, "connection_count") - - @property - @pulumi.getter(name="opStatusChangedAt") - def op_status_changed_at(self) -> str: - return pulumi.get(self, "op_status_changed_at") - - @property - @pulumi.getter(name="operationalStatus") - def operational_status(self) -> str: - return pulumi.get(self, "operational_status") + def help(self) -> str: + return pulumi.get(self, "help") @pulumi.output_type -class GetPortsDatumRedundancyResult(dict): +class GetRoutingProtocolOperationErrorAdditionalInfoResult(dict): def __init__(__self__, *, - enabled: bool, - group: int, - priority: str): - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "group", group) - pulumi.set(__self__, "priority", priority) - - @property - @pulumi.getter - def enabled(self) -> bool: - return pulumi.get(self, "enabled") + property: str, + reason: str): + GetRoutingProtocolOperationErrorAdditionalInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + property=property, + reason=reason, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + property: str, + reason: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): - @property - @pulumi.getter - def group(self) -> int: - return pulumi.get(self, "group") + _setter("property", property) + _setter("reason", reason) @property @pulumi.getter - def priority(self) -> str: - return pulumi.get(self, "priority") - - -@pulumi.output_type -class GetPortsFilterResult(dict): - def __init__(__self__, *, - name: Optional[str] = None): - """ - :param str name: Query Parameter to Get Ports By Name - """ - if name is not None: - pulumi.set(__self__, "name", name) + def reason(self) -> str: + return pulumi.get(self, "reason") @property @pulumi.getter - def name(self) -> Optional[str]: - """ - Query Parameter to Get Ports By Name - """ - return pulumi.get(self, "name") + def property(self) -> str: + return pulumi.get(self, "property") @pulumi.output_type @@ -6619,24 +11987,81 @@ def __init__(__self__, *, supported_bandwidths: Sequence[int], type: str, uuid: str): - """ - :param str type: Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - :param str uuid: Equinix assigned service profile identifier - """ - pulumi.set(__self__, "allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) - pulumi.set(__self__, "allow_bandwidth_upgrade", allow_bandwidth_upgrade) - pulumi.set(__self__, "allow_custom_bandwidth", allow_custom_bandwidth) - pulumi.set(__self__, "allow_remote_connections", allow_remote_connections) - pulumi.set(__self__, "api_configs", api_configs) - pulumi.set(__self__, "authentication_keys", authentication_keys) - pulumi.set(__self__, "bandwidth_alert_threshold", bandwidth_alert_threshold) - pulumi.set(__self__, "connection_label", connection_label) - pulumi.set(__self__, "connection_redundancy_required", connection_redundancy_required) - pulumi.set(__self__, "enable_auto_generate_service_key", enable_auto_generate_service_key) - pulumi.set(__self__, "link_protocol_configs", link_protocol_configs) - pulumi.set(__self__, "supported_bandwidths", supported_bandwidths) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + GetServiceProfileAccessPointTypeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_bandwidth_auto_approval=allow_bandwidth_auto_approval, + allow_bandwidth_upgrade=allow_bandwidth_upgrade, + allow_custom_bandwidth=allow_custom_bandwidth, + allow_remote_connections=allow_remote_connections, + api_configs=api_configs, + authentication_keys=authentication_keys, + bandwidth_alert_threshold=bandwidth_alert_threshold, + connection_label=connection_label, + connection_redundancy_required=connection_redundancy_required, + enable_auto_generate_service_key=enable_auto_generate_service_key, + link_protocol_configs=link_protocol_configs, + supported_bandwidths=supported_bandwidths, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_bandwidth_auto_approval: bool, + allow_bandwidth_upgrade: bool, + allow_custom_bandwidth: bool, + allow_remote_connections: bool, + api_configs: Sequence['outputs.GetServiceProfileAccessPointTypeConfigApiConfigResult'], + authentication_keys: Sequence['outputs.GetServiceProfileAccessPointTypeConfigAuthenticationKeyResult'], + bandwidth_alert_threshold: float, + connection_label: str, + connection_redundancy_required: bool, + enable_auto_generate_service_key: bool, + link_protocol_configs: Sequence['outputs.GetServiceProfileAccessPointTypeConfigLinkProtocolConfigResult'], + supported_bandwidths: Sequence[int], + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowBandwidthAutoApproval' in kwargs: + allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] + if 'allowBandwidthUpgrade' in kwargs: + allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] + if 'allowCustomBandwidth' in kwargs: + allow_custom_bandwidth = kwargs['allowCustomBandwidth'] + if 'allowRemoteConnections' in kwargs: + allow_remote_connections = kwargs['allowRemoteConnections'] + if 'apiConfigs' in kwargs: + api_configs = kwargs['apiConfigs'] + if 'authenticationKeys' in kwargs: + authentication_keys = kwargs['authenticationKeys'] + if 'bandwidthAlertThreshold' in kwargs: + bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] + if 'connectionLabel' in kwargs: + connection_label = kwargs['connectionLabel'] + if 'connectionRedundancyRequired' in kwargs: + connection_redundancy_required = kwargs['connectionRedundancyRequired'] + if 'enableAutoGenerateServiceKey' in kwargs: + enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] + if 'linkProtocolConfigs' in kwargs: + link_protocol_configs = kwargs['linkProtocolConfigs'] + if 'supportedBandwidths' in kwargs: + supported_bandwidths = kwargs['supportedBandwidths'] + + _setter("allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) + _setter("allow_bandwidth_upgrade", allow_bandwidth_upgrade) + _setter("allow_custom_bandwidth", allow_custom_bandwidth) + _setter("allow_remote_connections", allow_remote_connections) + _setter("api_configs", api_configs) + _setter("authentication_keys", authentication_keys) + _setter("bandwidth_alert_threshold", bandwidth_alert_threshold) + _setter("connection_label", connection_label) + _setter("connection_redundancy_required", connection_redundancy_required) + _setter("enable_auto_generate_service_key", enable_auto_generate_service_key) + _setter("link_protocol_configs", link_protocol_configs) + _setter("supported_bandwidths", supported_bandwidths) + _setter("type", type) + _setter("uuid", uuid) @property @pulumi.getter(name="allowBandwidthAutoApproval") @@ -6701,17 +12126,11 @@ def supported_bandwidths(self) -> Sequence[int]: @property @pulumi.getter def type(self) -> str: - """ - Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - """ return pulumi.get(self, "type") @property @pulumi.getter def uuid(self) -> str: - """ - Equinix assigned service profile identifier - """ return pulumi.get(self, "uuid") @@ -6725,13 +12144,50 @@ def __init__(__self__, *, equinix_managed_vlan: bool, integration_id: str, over_subscription_limit: int): - pulumi.set(__self__, "allow_over_subscription", allow_over_subscription) - pulumi.set(__self__, "api_available", api_available) - pulumi.set(__self__, "bandwidth_from_api", bandwidth_from_api) - pulumi.set(__self__, "equinix_managed_port", equinix_managed_port) - pulumi.set(__self__, "equinix_managed_vlan", equinix_managed_vlan) - pulumi.set(__self__, "integration_id", integration_id) - pulumi.set(__self__, "over_subscription_limit", over_subscription_limit) + GetServiceProfileAccessPointTypeConfigApiConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_over_subscription=allow_over_subscription, + api_available=api_available, + bandwidth_from_api=bandwidth_from_api, + equinix_managed_port=equinix_managed_port, + equinix_managed_vlan=equinix_managed_vlan, + integration_id=integration_id, + over_subscription_limit=over_subscription_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_over_subscription: bool, + api_available: bool, + bandwidth_from_api: bool, + equinix_managed_port: bool, + equinix_managed_vlan: bool, + integration_id: str, + over_subscription_limit: int, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowOverSubscription' in kwargs: + allow_over_subscription = kwargs['allowOverSubscription'] + if 'apiAvailable' in kwargs: + api_available = kwargs['apiAvailable'] + if 'bandwidthFromApi' in kwargs: + bandwidth_from_api = kwargs['bandwidthFromApi'] + if 'equinixManagedPort' in kwargs: + equinix_managed_port = kwargs['equinixManagedPort'] + if 'equinixManagedVlan' in kwargs: + equinix_managed_vlan = kwargs['equinixManagedVlan'] + if 'integrationId' in kwargs: + integration_id = kwargs['integrationId'] + if 'overSubscriptionLimit' in kwargs: + over_subscription_limit = kwargs['overSubscriptionLimit'] + + _setter("allow_over_subscription", allow_over_subscription) + _setter("api_available", api_available) + _setter("bandwidth_from_api", bandwidth_from_api) + _setter("equinix_managed_port", equinix_managed_port) + _setter("equinix_managed_vlan", equinix_managed_vlan) + _setter("integration_id", integration_id) + _setter("over_subscription_limit", over_subscription_limit) @property @pulumi.getter(name="allowOverSubscription") @@ -6775,19 +12231,28 @@ def __init__(__self__, *, description: str, label: str, required: bool): - """ - :param str description: User-provided service description - """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "required", required) + GetServiceProfileAccessPointTypeConfigAuthenticationKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + label=label, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + label: str, + required: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("description", description) + _setter("label", label) + _setter("required", required) @property @pulumi.getter def description(self) -> str: - """ - User-provided service description - """ return pulumi.get(self, "description") @property @@ -6807,9 +12272,28 @@ def __init__(__self__, *, encapsulation: str, encapsulation_strategy: str, reuse_vlan_s_tag: bool): - pulumi.set(__self__, "encapsulation", encapsulation) - pulumi.set(__self__, "encapsulation_strategy", encapsulation_strategy) - pulumi.set(__self__, "reuse_vlan_s_tag", reuse_vlan_s_tag) + GetServiceProfileAccessPointTypeConfigLinkProtocolConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + encapsulation=encapsulation, + encapsulation_strategy=encapsulation_strategy, + reuse_vlan_s_tag=reuse_vlan_s_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + encapsulation: str, + encapsulation_strategy: str, + reuse_vlan_s_tag: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'encapsulationStrategy' in kwargs: + encapsulation_strategy = kwargs['encapsulationStrategy'] + if 'reuseVlanSTag' in kwargs: + reuse_vlan_s_tag = kwargs['reuseVlanSTag'] + + _setter("encapsulation", encapsulation) + _setter("encapsulation_strategy", encapsulation_strategy) + _setter("reuse_vlan_s_tag", reuse_vlan_s_tag) @property @pulumi.getter @@ -6838,14 +12322,55 @@ def __init__(__self__, *, org_id: int, organization_name: str, ucm_id: str): - pulumi.set(__self__, "account_name", account_name) - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "global_cust_id", global_cust_id) - pulumi.set(__self__, "global_org_id", global_org_id) - pulumi.set(__self__, "global_organization_name", global_organization_name) - pulumi.set(__self__, "org_id", org_id) - pulumi.set(__self__, "organization_name", organization_name) - pulumi.set(__self__, "ucm_id", ucm_id) + GetServiceProfileAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ucm_id=ucm_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: str, + account_number: int, + global_cust_id: str, + global_org_id: str, + global_organization_name: str, + org_id: int, + organization_name: str, + ucm_id: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + if 'ucmId' in kwargs: + ucm_id = kwargs['ucmId'] + + _setter("account_name", account_name) + _setter("account_number", account_number) + _setter("global_cust_id", global_cust_id) + _setter("global_org_id", global_org_id) + _setter("global_organization_name", global_organization_name) + _setter("org_id", org_id) + _setter("organization_name", organization_name) + _setter("ucm_id", ucm_id) @property @pulumi.getter(name="accountName") @@ -6903,18 +12428,75 @@ def __init__(__self__, *, updated_by_email: str, updated_by_full_name: str, updated_date_time: str): - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "created_by_email", created_by_email) - pulumi.set(__self__, "created_by_full_name", created_by_full_name) - pulumi.set(__self__, "created_date_time", created_date_time) - pulumi.set(__self__, "deleted_by", deleted_by) - pulumi.set(__self__, "deleted_by_email", deleted_by_email) - pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) - pulumi.set(__self__, "deleted_date_time", deleted_date_time) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "updated_by_email", updated_by_email) - pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) - pulumi.set(__self__, "updated_date_time", updated_date_time) + GetServiceProfileChangeLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: str, + created_by_email: str, + created_by_full_name: str, + created_date_time: str, + deleted_by: str, + deleted_by_email: str, + deleted_by_full_name: str, + deleted_date_time: str, + updated_by: str, + updated_by_email: str, + updated_by_full_name: str, + updated_date_time: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + + _setter("created_by", created_by) + _setter("created_by_email", created_by_email) + _setter("created_by_full_name", created_by_full_name) + _setter("created_date_time", created_date_time) + _setter("deleted_by", deleted_by) + _setter("deleted_by_email", deleted_by_email) + _setter("deleted_by_full_name", deleted_by_full_name) + _setter("deleted_date_time", deleted_date_time) + _setter("updated_by", updated_by) + _setter("updated_by_email", updated_by_email) + _setter("updated_by_full_name", updated_by_full_name) + _setter("updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -6986,15 +12568,37 @@ def __init__(__self__, *, label: str, options: Sequence[str], required: bool): - """ - :param str description: User-provided service description - """ - pulumi.set(__self__, "capture_in_email", capture_in_email) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "options", options) - pulumi.set(__self__, "required", required) + GetServiceProfileCustomFieldResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capture_in_email=capture_in_email, + data_type=data_type, + description=description, + label=label, + options=options, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capture_in_email: bool, + data_type: str, + description: str, + label: str, + options: Sequence[str], + required: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'captureInEmail' in kwargs: + capture_in_email = kwargs['captureInEmail'] + if 'dataType' in kwargs: + data_type = kwargs['dataType'] + + _setter("capture_in_email", capture_in_email) + _setter("data_type", data_type) + _setter("description", description) + _setter("label", label) + _setter("options", options) + _setter("required", required) @property @pulumi.getter(name="captureInEmail") @@ -7009,9 +12613,6 @@ def data_type(self) -> str: @property @pulumi.getter def description(self) -> str: - """ - User-provided service description - """ return pulumi.get(self, "description") @property @@ -7036,9 +12637,26 @@ def __init__(__self__, *, logo: str, process_steps: Sequence['outputs.GetServiceProfileMarketingInfoProcessStepResult'], promotion: bool): - pulumi.set(__self__, "logo", logo) - pulumi.set(__self__, "process_steps", process_steps) - pulumi.set(__self__, "promotion", promotion) + GetServiceProfileMarketingInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + logo=logo, + process_steps=process_steps, + promotion=promotion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + logo: str, + process_steps: Sequence['outputs.GetServiceProfileMarketingInfoProcessStepResult'], + promotion: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'processSteps' in kwargs: + process_steps = kwargs['processSteps'] + + _setter("logo", logo) + _setter("process_steps", process_steps) + _setter("promotion", promotion) @property @pulumi.getter @@ -7062,19 +12680,30 @@ def __init__(__self__, *, description: str, sub_title: str, title: str): - """ - :param str description: User-provided service description - """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "sub_title", sub_title) - pulumi.set(__self__, "title", title) + GetServiceProfileMarketingInfoProcessStepResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + sub_title=sub_title, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + sub_title: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'subTitle' in kwargs: + sub_title = kwargs['subTitle'] + + _setter("description", description) + _setter("sub_title", sub_title) + _setter("title", title) @property @pulumi.getter def description(self) -> str: - """ - User-provided service description - """ return pulumi.get(self, "description") @property @@ -7097,15 +12726,39 @@ def __init__(__self__, *, in_trail: bool, name: str, seller_regions: Mapping[str, str]): - """ - :param str name: Customer-assigned service profile name - """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "ibxs", ibxs) - pulumi.set(__self__, "in_trail", in_trail) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "seller_regions", seller_regions) + GetServiceProfileMetroResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + display_name=display_name, + ibxs=ibxs, + in_trail=in_trail, + name=name, + seller_regions=seller_regions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + display_name: str, + ibxs: Sequence[str], + in_trail: bool, + name: str, + seller_regions: Mapping[str, str], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'inTrail' in kwargs: + in_trail = kwargs['inTrail'] + if 'sellerRegions' in kwargs: + seller_regions = kwargs['sellerRegions'] + + _setter("code", code) + _setter("display_name", display_name) + _setter("ibxs", ibxs) + _setter("in_trail", in_trail) + _setter("name", name) + _setter("seller_regions", seller_regions) @property @pulumi.getter @@ -7130,9 +12783,6 @@ def in_trail(self) -> bool: @property @pulumi.getter def name(self) -> str: - """ - Customer-assigned service profile name - """ return pulumi.get(self, "name") @property @@ -7147,12 +12797,26 @@ def __init__(__self__, *, emails: Sequence[str], send_interval: str, type: str): - """ - :param str type: Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - """ - pulumi.set(__self__, "emails", emails) - pulumi.set(__self__, "send_interval", send_interval) - pulumi.set(__self__, "type", type) + GetServiceProfileNotificationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + emails=emails, + send_interval=send_interval, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + emails: Sequence[str], + send_interval: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sendInterval' in kwargs: + send_interval = kwargs['sendInterval'] + + _setter("emails", emails) + _setter("send_interval", send_interval) + _setter("type", type) @property @pulumi.getter @@ -7167,9 +12831,6 @@ def send_interval(self) -> str: @property @pulumi.getter def type(self) -> str: - """ - Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - """ return pulumi.get(self, "type") @@ -7182,16 +12843,39 @@ def __init__(__self__, *, seller_region_description: str, type: str, uuid: str): - """ - :param str type: Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - :param str uuid: Equinix assigned service profile identifier - """ - pulumi.set(__self__, "cross_connect_id", cross_connect_id) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "seller_region", seller_region) - pulumi.set(__self__, "seller_region_description", seller_region_description) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + GetServiceProfilePortResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cross_connect_id=cross_connect_id, + locations=locations, + seller_region=seller_region, + seller_region_description=seller_region_description, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cross_connect_id: str, + locations: Sequence['outputs.GetServiceProfilePortLocationResult'], + seller_region: str, + seller_region_description: str, + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'crossConnectId' in kwargs: + cross_connect_id = kwargs['crossConnectId'] + if 'sellerRegion' in kwargs: + seller_region = kwargs['sellerRegion'] + if 'sellerRegionDescription' in kwargs: + seller_region_description = kwargs['sellerRegionDescription'] + + _setter("cross_connect_id", cross_connect_id) + _setter("locations", locations) + _setter("seller_region", seller_region) + _setter("seller_region_description", seller_region_description) + _setter("type", type) + _setter("uuid", uuid) @property @pulumi.getter(name="crossConnectId") @@ -7216,17 +12900,11 @@ def seller_region_description(self) -> str: @property @pulumi.getter def type(self) -> str: - """ - Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE - """ return pulumi.get(self, "type") @property @pulumi.getter def uuid(self) -> str: - """ - Equinix assigned service profile identifier - """ return pulumi.get(self, "uuid") @@ -7237,10 +12915,31 @@ def __init__(__self__, *, metro_code: str, metro_name: str, region: str): - pulumi.set(__self__, "ibx", ibx) - pulumi.set(__self__, "metro_code", metro_code) - pulumi.set(__self__, "metro_name", metro_name) - pulumi.set(__self__, "region", region) + GetServiceProfilePortLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ibx: str, + metro_code: str, + metro_name: str, + region: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + + _setter("ibx", ibx) + _setter("metro_code", metro_code) + _setter("metro_name", metro_name) + _setter("region", region) @property @pulumi.getter @@ -7268,18 +12967,27 @@ class GetServiceProfileProjectResult(dict): def __init__(__self__, *, href: str, project_id: str): - """ - :param str href: Service Profile URI response attribute - """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "project_id", project_id) + GetServiceProfileProjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + project_id: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + + _setter("href", href) + _setter("project_id", project_id) @property @pulumi.getter def href(self) -> str: - """ - Service Profile URI response attribute - """ return pulumi.get(self, "href") @property @@ -7310,27 +13018,86 @@ def __init__(__self__, *, visibility: str, state: Optional[str] = None, uuid: Optional[str] = None): - pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) - pulumi.set(__self__, "accounts", accounts) - pulumi.set(__self__, "allowed_emails", allowed_emails) - pulumi.set(__self__, "change_logs", change_logs) - pulumi.set(__self__, "custom_fields", custom_fields) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "marketing_infos", marketing_infos) - pulumi.set(__self__, "metros", metros) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "notifications", notifications) - pulumi.set(__self__, "ports", ports) - pulumi.set(__self__, "projects", projects) - pulumi.set(__self__, "self_profile", self_profile) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "visibility", visibility) + GetServiceProfilesDatumResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_point_type_configs=access_point_type_configs, + accounts=accounts, + allowed_emails=allowed_emails, + change_logs=change_logs, + custom_fields=custom_fields, + description=description, + href=href, + marketing_infos=marketing_infos, + metros=metros, + name=name, + notifications=notifications, + ports=ports, + projects=projects, + self_profile=self_profile, + tags=tags, + type=type, + visibility=visibility, + state=state, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_point_type_configs: Sequence['outputs.GetServiceProfilesDatumAccessPointTypeConfigResult'], + accounts: Sequence['outputs.GetServiceProfilesDatumAccountResult'], + allowed_emails: Sequence[str], + change_logs: Sequence['outputs.GetServiceProfilesDatumChangeLogResult'], + custom_fields: Sequence['outputs.GetServiceProfilesDatumCustomFieldResult'], + description: str, + href: str, + marketing_infos: Sequence['outputs.GetServiceProfilesDatumMarketingInfoResult'], + metros: Sequence['outputs.GetServiceProfilesDatumMetroResult'], + name: str, + notifications: Sequence['outputs.GetServiceProfilesDatumNotificationResult'], + ports: Sequence['outputs.GetServiceProfilesDatumPortResult'], + projects: Sequence['outputs.GetServiceProfilesDatumProjectResult'], + self_profile: bool, + tags: Sequence[str], + type: str, + visibility: str, + state: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPointTypeConfigs' in kwargs: + access_point_type_configs = kwargs['accessPointTypeConfigs'] + if 'allowedEmails' in kwargs: + allowed_emails = kwargs['allowedEmails'] + if 'changeLogs' in kwargs: + change_logs = kwargs['changeLogs'] + if 'customFields' in kwargs: + custom_fields = kwargs['customFields'] + if 'marketingInfos' in kwargs: + marketing_infos = kwargs['marketingInfos'] + if 'selfProfile' in kwargs: + self_profile = kwargs['selfProfile'] + + _setter("access_point_type_configs", access_point_type_configs) + _setter("accounts", accounts) + _setter("allowed_emails", allowed_emails) + _setter("change_logs", change_logs) + _setter("custom_fields", custom_fields) + _setter("description", description) + _setter("href", href) + _setter("marketing_infos", marketing_infos) + _setter("metros", metros) + _setter("name", name) + _setter("notifications", notifications) + _setter("ports", ports) + _setter("projects", projects) + _setter("self_profile", self_profile) + _setter("tags", tags) + _setter("type", type) + _setter("visibility", visibility) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter(name="accessPointTypeConfigs") @@ -7445,20 +13212,81 @@ def __init__(__self__, *, supported_bandwidths: Sequence[int], type: str, uuid: str): - pulumi.set(__self__, "allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) - pulumi.set(__self__, "allow_bandwidth_upgrade", allow_bandwidth_upgrade) - pulumi.set(__self__, "allow_custom_bandwidth", allow_custom_bandwidth) - pulumi.set(__self__, "allow_remote_connections", allow_remote_connections) - pulumi.set(__self__, "api_configs", api_configs) - pulumi.set(__self__, "authentication_keys", authentication_keys) - pulumi.set(__self__, "bandwidth_alert_threshold", bandwidth_alert_threshold) - pulumi.set(__self__, "connection_label", connection_label) - pulumi.set(__self__, "connection_redundancy_required", connection_redundancy_required) - pulumi.set(__self__, "enable_auto_generate_service_key", enable_auto_generate_service_key) - pulumi.set(__self__, "link_protocol_configs", link_protocol_configs) - pulumi.set(__self__, "supported_bandwidths", supported_bandwidths) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + GetServiceProfilesDatumAccessPointTypeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_bandwidth_auto_approval=allow_bandwidth_auto_approval, + allow_bandwidth_upgrade=allow_bandwidth_upgrade, + allow_custom_bandwidth=allow_custom_bandwidth, + allow_remote_connections=allow_remote_connections, + api_configs=api_configs, + authentication_keys=authentication_keys, + bandwidth_alert_threshold=bandwidth_alert_threshold, + connection_label=connection_label, + connection_redundancy_required=connection_redundancy_required, + enable_auto_generate_service_key=enable_auto_generate_service_key, + link_protocol_configs=link_protocol_configs, + supported_bandwidths=supported_bandwidths, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_bandwidth_auto_approval: bool, + allow_bandwidth_upgrade: bool, + allow_custom_bandwidth: bool, + allow_remote_connections: bool, + api_configs: Sequence['outputs.GetServiceProfilesDatumAccessPointTypeConfigApiConfigResult'], + authentication_keys: Sequence['outputs.GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyResult'], + bandwidth_alert_threshold: float, + connection_label: str, + connection_redundancy_required: bool, + enable_auto_generate_service_key: bool, + link_protocol_configs: Sequence['outputs.GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigResult'], + supported_bandwidths: Sequence[int], + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowBandwidthAutoApproval' in kwargs: + allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] + if 'allowBandwidthUpgrade' in kwargs: + allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] + if 'allowCustomBandwidth' in kwargs: + allow_custom_bandwidth = kwargs['allowCustomBandwidth'] + if 'allowRemoteConnections' in kwargs: + allow_remote_connections = kwargs['allowRemoteConnections'] + if 'apiConfigs' in kwargs: + api_configs = kwargs['apiConfigs'] + if 'authenticationKeys' in kwargs: + authentication_keys = kwargs['authenticationKeys'] + if 'bandwidthAlertThreshold' in kwargs: + bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] + if 'connectionLabel' in kwargs: + connection_label = kwargs['connectionLabel'] + if 'connectionRedundancyRequired' in kwargs: + connection_redundancy_required = kwargs['connectionRedundancyRequired'] + if 'enableAutoGenerateServiceKey' in kwargs: + enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] + if 'linkProtocolConfigs' in kwargs: + link_protocol_configs = kwargs['linkProtocolConfigs'] + if 'supportedBandwidths' in kwargs: + supported_bandwidths = kwargs['supportedBandwidths'] + + _setter("allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) + _setter("allow_bandwidth_upgrade", allow_bandwidth_upgrade) + _setter("allow_custom_bandwidth", allow_custom_bandwidth) + _setter("allow_remote_connections", allow_remote_connections) + _setter("api_configs", api_configs) + _setter("authentication_keys", authentication_keys) + _setter("bandwidth_alert_threshold", bandwidth_alert_threshold) + _setter("connection_label", connection_label) + _setter("connection_redundancy_required", connection_redundancy_required) + _setter("enable_auto_generate_service_key", enable_auto_generate_service_key) + _setter("link_protocol_configs", link_protocol_configs) + _setter("supported_bandwidths", supported_bandwidths) + _setter("type", type) + _setter("uuid", uuid) @property @pulumi.getter(name="allowBandwidthAutoApproval") @@ -7541,13 +13369,50 @@ def __init__(__self__, *, equinix_managed_vlan: bool, integration_id: str, over_subscription_limit: int): - pulumi.set(__self__, "allow_over_subscription", allow_over_subscription) - pulumi.set(__self__, "api_available", api_available) - pulumi.set(__self__, "bandwidth_from_api", bandwidth_from_api) - pulumi.set(__self__, "equinix_managed_port", equinix_managed_port) - pulumi.set(__self__, "equinix_managed_vlan", equinix_managed_vlan) - pulumi.set(__self__, "integration_id", integration_id) - pulumi.set(__self__, "over_subscription_limit", over_subscription_limit) + GetServiceProfilesDatumAccessPointTypeConfigApiConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_over_subscription=allow_over_subscription, + api_available=api_available, + bandwidth_from_api=bandwidth_from_api, + equinix_managed_port=equinix_managed_port, + equinix_managed_vlan=equinix_managed_vlan, + integration_id=integration_id, + over_subscription_limit=over_subscription_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_over_subscription: bool, + api_available: bool, + bandwidth_from_api: bool, + equinix_managed_port: bool, + equinix_managed_vlan: bool, + integration_id: str, + over_subscription_limit: int, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowOverSubscription' in kwargs: + allow_over_subscription = kwargs['allowOverSubscription'] + if 'apiAvailable' in kwargs: + api_available = kwargs['apiAvailable'] + if 'bandwidthFromApi' in kwargs: + bandwidth_from_api = kwargs['bandwidthFromApi'] + if 'equinixManagedPort' in kwargs: + equinix_managed_port = kwargs['equinixManagedPort'] + if 'equinixManagedVlan' in kwargs: + equinix_managed_vlan = kwargs['equinixManagedVlan'] + if 'integrationId' in kwargs: + integration_id = kwargs['integrationId'] + if 'overSubscriptionLimit' in kwargs: + over_subscription_limit = kwargs['overSubscriptionLimit'] + + _setter("allow_over_subscription", allow_over_subscription) + _setter("api_available", api_available) + _setter("bandwidth_from_api", bandwidth_from_api) + _setter("equinix_managed_port", equinix_managed_port) + _setter("equinix_managed_vlan", equinix_managed_vlan) + _setter("integration_id", integration_id) + _setter("over_subscription_limit", over_subscription_limit) @property @pulumi.getter(name="allowOverSubscription") @@ -7591,9 +13456,24 @@ def __init__(__self__, *, description: str, label: str, required: bool): - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "required", required) + GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + label=label, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + label: str, + required: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("description", description) + _setter("label", label) + _setter("required", required) @property @pulumi.getter @@ -7617,9 +13497,28 @@ def __init__(__self__, *, encapsulation: str, encapsulation_strategy: str, reuse_vlan_s_tag: bool): - pulumi.set(__self__, "encapsulation", encapsulation) - pulumi.set(__self__, "encapsulation_strategy", encapsulation_strategy) - pulumi.set(__self__, "reuse_vlan_s_tag", reuse_vlan_s_tag) + GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + encapsulation=encapsulation, + encapsulation_strategy=encapsulation_strategy, + reuse_vlan_s_tag=reuse_vlan_s_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + encapsulation: str, + encapsulation_strategy: str, + reuse_vlan_s_tag: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'encapsulationStrategy' in kwargs: + encapsulation_strategy = kwargs['encapsulationStrategy'] + if 'reuseVlanSTag' in kwargs: + reuse_vlan_s_tag = kwargs['reuseVlanSTag'] + + _setter("encapsulation", encapsulation) + _setter("encapsulation_strategy", encapsulation_strategy) + _setter("reuse_vlan_s_tag", reuse_vlan_s_tag) @property @pulumi.getter @@ -7648,14 +13547,55 @@ def __init__(__self__, *, org_id: int, organization_name: str, ucm_id: str): - pulumi.set(__self__, "account_name", account_name) - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "global_cust_id", global_cust_id) - pulumi.set(__self__, "global_org_id", global_org_id) - pulumi.set(__self__, "global_organization_name", global_organization_name) - pulumi.set(__self__, "org_id", org_id) - pulumi.set(__self__, "organization_name", organization_name) - pulumi.set(__self__, "ucm_id", ucm_id) + GetServiceProfilesDatumAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_name=account_name, + account_number=account_number, + global_cust_id=global_cust_id, + global_org_id=global_org_id, + global_organization_name=global_organization_name, + org_id=org_id, + organization_name=organization_name, + ucm_id=ucm_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_name: str, + account_number: int, + global_cust_id: str, + global_org_id: str, + global_organization_name: str, + org_id: int, + organization_name: str, + ucm_id: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountName' in kwargs: + account_name = kwargs['accountName'] + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'globalCustId' in kwargs: + global_cust_id = kwargs['globalCustId'] + if 'globalOrgId' in kwargs: + global_org_id = kwargs['globalOrgId'] + if 'globalOrganizationName' in kwargs: + global_organization_name = kwargs['globalOrganizationName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'organizationName' in kwargs: + organization_name = kwargs['organizationName'] + if 'ucmId' in kwargs: + ucm_id = kwargs['ucmId'] + + _setter("account_name", account_name) + _setter("account_number", account_number) + _setter("global_cust_id", global_cust_id) + _setter("global_org_id", global_org_id) + _setter("global_organization_name", global_organization_name) + _setter("org_id", org_id) + _setter("organization_name", organization_name) + _setter("ucm_id", ucm_id) @property @pulumi.getter(name="accountName") @@ -7713,18 +13653,75 @@ def __init__(__self__, *, updated_by_email: str, updated_by_full_name: str, updated_date_time: str): - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "created_by_email", created_by_email) - pulumi.set(__self__, "created_by_full_name", created_by_full_name) - pulumi.set(__self__, "created_date_time", created_date_time) - pulumi.set(__self__, "deleted_by", deleted_by) - pulumi.set(__self__, "deleted_by_email", deleted_by_email) - pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) - pulumi.set(__self__, "deleted_date_time", deleted_date_time) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "updated_by_email", updated_by_email) - pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) - pulumi.set(__self__, "updated_date_time", updated_date_time) + GetServiceProfilesDatumChangeLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + created_by_email=created_by_email, + created_by_full_name=created_by_full_name, + created_date_time=created_date_time, + deleted_by=deleted_by, + deleted_by_email=deleted_by_email, + deleted_by_full_name=deleted_by_full_name, + deleted_date_time=deleted_date_time, + updated_by=updated_by, + updated_by_email=updated_by_email, + updated_by_full_name=updated_by_full_name, + updated_date_time=updated_date_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: str, + created_by_email: str, + created_by_full_name: str, + created_date_time: str, + deleted_by: str, + deleted_by_email: str, + deleted_by_full_name: str, + deleted_date_time: str, + updated_by: str, + updated_by_email: str, + updated_by_full_name: str, + updated_date_time: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'createdBy' in kwargs: + created_by = kwargs['createdBy'] + if 'createdByEmail' in kwargs: + created_by_email = kwargs['createdByEmail'] + if 'createdByFullName' in kwargs: + created_by_full_name = kwargs['createdByFullName'] + if 'createdDateTime' in kwargs: + created_date_time = kwargs['createdDateTime'] + if 'deletedBy' in kwargs: + deleted_by = kwargs['deletedBy'] + if 'deletedByEmail' in kwargs: + deleted_by_email = kwargs['deletedByEmail'] + if 'deletedByFullName' in kwargs: + deleted_by_full_name = kwargs['deletedByFullName'] + if 'deletedDateTime' in kwargs: + deleted_date_time = kwargs['deletedDateTime'] + if 'updatedBy' in kwargs: + updated_by = kwargs['updatedBy'] + if 'updatedByEmail' in kwargs: + updated_by_email = kwargs['updatedByEmail'] + if 'updatedByFullName' in kwargs: + updated_by_full_name = kwargs['updatedByFullName'] + if 'updatedDateTime' in kwargs: + updated_date_time = kwargs['updatedDateTime'] + + _setter("created_by", created_by) + _setter("created_by_email", created_by_email) + _setter("created_by_full_name", created_by_full_name) + _setter("created_date_time", created_date_time) + _setter("deleted_by", deleted_by) + _setter("deleted_by_email", deleted_by_email) + _setter("deleted_by_full_name", deleted_by_full_name) + _setter("deleted_date_time", deleted_date_time) + _setter("updated_by", updated_by) + _setter("updated_by_email", updated_by_email) + _setter("updated_by_full_name", updated_by_full_name) + _setter("updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -7796,12 +13793,37 @@ def __init__(__self__, *, label: str, options: Sequence[str], required: bool): - pulumi.set(__self__, "capture_in_email", capture_in_email) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "options", options) - pulumi.set(__self__, "required", required) + GetServiceProfilesDatumCustomFieldResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capture_in_email=capture_in_email, + data_type=data_type, + description=description, + label=label, + options=options, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capture_in_email: bool, + data_type: str, + description: str, + label: str, + options: Sequence[str], + required: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'captureInEmail' in kwargs: + capture_in_email = kwargs['captureInEmail'] + if 'dataType' in kwargs: + data_type = kwargs['dataType'] + + _setter("capture_in_email", capture_in_email) + _setter("data_type", data_type) + _setter("description", description) + _setter("label", label) + _setter("options", options) + _setter("required", required) @property @pulumi.getter(name="captureInEmail") @@ -7840,9 +13862,26 @@ def __init__(__self__, *, logo: str, process_steps: Sequence['outputs.GetServiceProfilesDatumMarketingInfoProcessStepResult'], promotion: bool): - pulumi.set(__self__, "logo", logo) - pulumi.set(__self__, "process_steps", process_steps) - pulumi.set(__self__, "promotion", promotion) + GetServiceProfilesDatumMarketingInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + logo=logo, + process_steps=process_steps, + promotion=promotion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + logo: str, + process_steps: Sequence['outputs.GetServiceProfilesDatumMarketingInfoProcessStepResult'], + promotion: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'processSteps' in kwargs: + process_steps = kwargs['processSteps'] + + _setter("logo", logo) + _setter("process_steps", process_steps) + _setter("promotion", promotion) @property @pulumi.getter @@ -7866,9 +13905,26 @@ def __init__(__self__, *, description: str, sub_title: str, title: str): - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "sub_title", sub_title) - pulumi.set(__self__, "title", title) + GetServiceProfilesDatumMarketingInfoProcessStepResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + sub_title=sub_title, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + sub_title: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'subTitle' in kwargs: + sub_title = kwargs['subTitle'] + + _setter("description", description) + _setter("sub_title", sub_title) + _setter("title", title) @property @pulumi.getter @@ -7895,12 +13951,39 @@ def __init__(__self__, *, in_trail: bool, name: str, seller_regions: Mapping[str, str]): - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "ibxs", ibxs) - pulumi.set(__self__, "in_trail", in_trail) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "seller_regions", seller_regions) + GetServiceProfilesDatumMetroResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + display_name=display_name, + ibxs=ibxs, + in_trail=in_trail, + name=name, + seller_regions=seller_regions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + display_name: str, + ibxs: Sequence[str], + in_trail: bool, + name: str, + seller_regions: Mapping[str, str], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'inTrail' in kwargs: + in_trail = kwargs['inTrail'] + if 'sellerRegions' in kwargs: + seller_regions = kwargs['sellerRegions'] + + _setter("code", code) + _setter("display_name", display_name) + _setter("ibxs", ibxs) + _setter("in_trail", in_trail) + _setter("name", name) + _setter("seller_regions", seller_regions) @property @pulumi.getter @@ -7939,9 +14022,26 @@ def __init__(__self__, *, emails: Sequence[str], send_interval: str, type: str): - pulumi.set(__self__, "emails", emails) - pulumi.set(__self__, "send_interval", send_interval) - pulumi.set(__self__, "type", type) + GetServiceProfilesDatumNotificationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + emails=emails, + send_interval=send_interval, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + emails: Sequence[str], + send_interval: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'sendInterval' in kwargs: + send_interval = kwargs['sendInterval'] + + _setter("emails", emails) + _setter("send_interval", send_interval) + _setter("type", type) @property @pulumi.getter @@ -7968,12 +14068,39 @@ def __init__(__self__, *, seller_region_description: str, type: str, uuid: str): - pulumi.set(__self__, "cross_connect_id", cross_connect_id) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "seller_region", seller_region) - pulumi.set(__self__, "seller_region_description", seller_region_description) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) + GetServiceProfilesDatumPortResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cross_connect_id=cross_connect_id, + locations=locations, + seller_region=seller_region, + seller_region_description=seller_region_description, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cross_connect_id: str, + locations: Sequence['outputs.GetServiceProfilesDatumPortLocationResult'], + seller_region: str, + seller_region_description: str, + type: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'crossConnectId' in kwargs: + cross_connect_id = kwargs['crossConnectId'] + if 'sellerRegion' in kwargs: + seller_region = kwargs['sellerRegion'] + if 'sellerRegionDescription' in kwargs: + seller_region_description = kwargs['sellerRegionDescription'] + + _setter("cross_connect_id", cross_connect_id) + _setter("locations", locations) + _setter("seller_region", seller_region) + _setter("seller_region_description", seller_region_description) + _setter("type", type) + _setter("uuid", uuid) @property @pulumi.getter(name="crossConnectId") @@ -8013,10 +14140,31 @@ def __init__(__self__, *, metro_code: str, metro_name: str, region: str): - pulumi.set(__self__, "ibx", ibx) - pulumi.set(__self__, "metro_code", metro_code) - pulumi.set(__self__, "metro_name", metro_name) - pulumi.set(__self__, "region", region) + GetServiceProfilesDatumPortLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ibx=ibx, + metro_code=metro_code, + metro_name=metro_name, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ibx: str, + metro_code: str, + metro_name: str, + region: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'metroName' in kwargs: + metro_name = kwargs['metroName'] + + _setter("ibx", ibx) + _setter("metro_code", metro_code) + _setter("metro_name", metro_name) + _setter("region", region) @property @pulumi.getter @@ -8044,8 +14192,23 @@ class GetServiceProfilesDatumProjectResult(dict): def __init__(__self__, *, href: str, project_id: str): - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "project_id", project_id) + GetServiceProfilesDatumProjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + project_id: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + + _setter("href", href) + _setter("project_id", project_id) @property @pulumi.getter @@ -8069,12 +14232,27 @@ def __init__(__self__, *, :param str property: Search Criteria for Service Profile - /name, /uuid, /state, /metros/code, /visibility, /type :param Sequence[str] values: Values """ + GetServiceProfilesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operator=operator, + property=property, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operator: Optional[str] = None, + property: Optional[str] = None, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if property is not None: - pulumi.set(__self__, "property", property) + _setter("property", property) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -8110,10 +14288,23 @@ def __init__(__self__, *, :param str direction: Priority type- DESC, ASC :param str property: Search operation sort criteria /name /state /changeLog/createdDateTime /changeLog/updatedDateTime """ + GetServiceProfilesSortResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + direction=direction, + property=property, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + direction: Optional[str] = None, + property: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if direction is not None: - pulumi.set(__self__, "direction", direction) + _setter("direction", direction) if property is not None: - pulumi.set(__self__, "property", property) + _setter("property", property) @property @pulumi.getter diff --git a/sdk/python/pulumi_equinix/fabric/routing_protocol.py b/sdk/python/pulumi_equinix/fabric/routing_protocol.py new file mode 100644 index 00000000..522ac8f7 --- /dev/null +++ b/sdk/python/pulumi_equinix/fabric/routing_protocol.py @@ -0,0 +1,1006 @@ +# 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, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['RoutingProtocolArgs', 'RoutingProtocol'] + +@pulumi.input_type +class RoutingProtocolArgs: + def __init__(__self__, *, + connection_uuid: pulumi.Input[str], + bfd: Optional[pulumi.Input['RoutingProtocolBfdArgs']] = None, + bgp_auth_key: Optional[pulumi.Input[str]] = None, + bgp_ipv4: Optional[pulumi.Input['RoutingProtocolBgpIpv4Args']] = None, + bgp_ipv6: Optional[pulumi.Input['RoutingProtocolBgpIpv6Args']] = None, + customer_asn: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + direct_ipv4: Optional[pulumi.Input['RoutingProtocolDirectIpv4Args']] = None, + direct_ipv6: Optional[pulumi.Input['RoutingProtocolDirectIpv6Args']] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a RoutingProtocol resource. + :param pulumi.Input[str] connection_uuid: Connection URI associated with Routing Protocol + :param pulumi.Input['RoutingProtocolBfdArgs'] bfd: Bidirectional Forwarding Detection + :param pulumi.Input[str] bgp_auth_key: BGP authorization key + :param pulumi.Input['RoutingProtocolBgpIpv4Args'] bgp_ipv4: Routing Protocol BGP IPv4 + :param pulumi.Input['RoutingProtocolBgpIpv6Args'] bgp_ipv6: Routing Protocol BGP IPv6 + :param pulumi.Input[int] customer_asn: Customer-provided ASN + :param pulumi.Input[str] description: Customer-provided Fabric Routing Protocol description + :param pulumi.Input['RoutingProtocolDirectIpv4Args'] direct_ipv4: Routing Protocol Direct IPv4 + :param pulumi.Input['RoutingProtocolDirectIpv6Args'] direct_ipv6: Routing Protocol Direct IPv6 + :param pulumi.Input[str] name: Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + :param pulumi.Input[str] type: Defines the routing protocol type like BGP or DIRECT + :param pulumi.Input[str] uuid: Equinix-assigned routing protocol identifier + """ + RoutingProtocolArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_uuid=connection_uuid, + bfd=bfd, + bgp_auth_key=bgp_auth_key, + bgp_ipv4=bgp_ipv4, + bgp_ipv6=bgp_ipv6, + customer_asn=customer_asn, + description=description, + direct_ipv4=direct_ipv4, + direct_ipv6=direct_ipv6, + name=name, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_uuid: pulumi.Input[str], + bfd: Optional[pulumi.Input['RoutingProtocolBfdArgs']] = None, + bgp_auth_key: Optional[pulumi.Input[str]] = None, + bgp_ipv4: Optional[pulumi.Input['RoutingProtocolBgpIpv4Args']] = None, + bgp_ipv6: Optional[pulumi.Input['RoutingProtocolBgpIpv6Args']] = None, + customer_asn: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + direct_ipv4: Optional[pulumi.Input['RoutingProtocolDirectIpv4Args']] = None, + direct_ipv6: Optional[pulumi.Input['RoutingProtocolDirectIpv6Args']] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'connectionUuid' in kwargs: + connection_uuid = kwargs['connectionUuid'] + if 'bgpAuthKey' in kwargs: + bgp_auth_key = kwargs['bgpAuthKey'] + if 'bgpIpv4' in kwargs: + bgp_ipv4 = kwargs['bgpIpv4'] + if 'bgpIpv6' in kwargs: + bgp_ipv6 = kwargs['bgpIpv6'] + if 'customerAsn' in kwargs: + customer_asn = kwargs['customerAsn'] + if 'directIpv4' in kwargs: + direct_ipv4 = kwargs['directIpv4'] + if 'directIpv6' in kwargs: + direct_ipv6 = kwargs['directIpv6'] + + _setter("connection_uuid", connection_uuid) + if bfd is not None: + _setter("bfd", bfd) + if bgp_auth_key is not None: + _setter("bgp_auth_key", bgp_auth_key) + if bgp_ipv4 is not None: + _setter("bgp_ipv4", bgp_ipv4) + if bgp_ipv6 is not None: + _setter("bgp_ipv6", bgp_ipv6) + if customer_asn is not None: + _setter("customer_asn", customer_asn) + if description is not None: + _setter("description", description) + if direct_ipv4 is not None: + _setter("direct_ipv4", direct_ipv4) + if direct_ipv6 is not None: + _setter("direct_ipv6", direct_ipv6) + if name is not None: + _setter("name", name) + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) + + @property + @pulumi.getter(name="connectionUuid") + def connection_uuid(self) -> pulumi.Input[str]: + """ + Connection URI associated with Routing Protocol + """ + return pulumi.get(self, "connection_uuid") + + @connection_uuid.setter + def connection_uuid(self, value: pulumi.Input[str]): + pulumi.set(self, "connection_uuid", value) + + @property + @pulumi.getter + def bfd(self) -> Optional[pulumi.Input['RoutingProtocolBfdArgs']]: + """ + Bidirectional Forwarding Detection + """ + return pulumi.get(self, "bfd") + + @bfd.setter + def bfd(self, value: Optional[pulumi.Input['RoutingProtocolBfdArgs']]): + pulumi.set(self, "bfd", value) + + @property + @pulumi.getter(name="bgpAuthKey") + def bgp_auth_key(self) -> Optional[pulumi.Input[str]]: + """ + BGP authorization key + """ + return pulumi.get(self, "bgp_auth_key") + + @bgp_auth_key.setter + def bgp_auth_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bgp_auth_key", value) + + @property + @pulumi.getter(name="bgpIpv4") + def bgp_ipv4(self) -> Optional[pulumi.Input['RoutingProtocolBgpIpv4Args']]: + """ + Routing Protocol BGP IPv4 + """ + return pulumi.get(self, "bgp_ipv4") + + @bgp_ipv4.setter + def bgp_ipv4(self, value: Optional[pulumi.Input['RoutingProtocolBgpIpv4Args']]): + pulumi.set(self, "bgp_ipv4", value) + + @property + @pulumi.getter(name="bgpIpv6") + def bgp_ipv6(self) -> Optional[pulumi.Input['RoutingProtocolBgpIpv6Args']]: + """ + Routing Protocol BGP IPv6 + """ + return pulumi.get(self, "bgp_ipv6") + + @bgp_ipv6.setter + def bgp_ipv6(self, value: Optional[pulumi.Input['RoutingProtocolBgpIpv6Args']]): + pulumi.set(self, "bgp_ipv6", value) + + @property + @pulumi.getter(name="customerAsn") + def customer_asn(self) -> Optional[pulumi.Input[int]]: + """ + Customer-provided ASN + """ + return pulumi.get(self, "customer_asn") + + @customer_asn.setter + def customer_asn(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "customer_asn", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Customer-provided Fabric Routing Protocol description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="directIpv4") + def direct_ipv4(self) -> Optional[pulumi.Input['RoutingProtocolDirectIpv4Args']]: + """ + Routing Protocol Direct IPv4 + """ + return pulumi.get(self, "direct_ipv4") + + @direct_ipv4.setter + def direct_ipv4(self, value: Optional[pulumi.Input['RoutingProtocolDirectIpv4Args']]): + pulumi.set(self, "direct_ipv4", value) + + @property + @pulumi.getter(name="directIpv6") + def direct_ipv6(self) -> Optional[pulumi.Input['RoutingProtocolDirectIpv6Args']]: + """ + Routing Protocol Direct IPv6 + """ + return pulumi.get(self, "direct_ipv6") + + @direct_ipv6.setter + def direct_ipv6(self, value: Optional[pulumi.Input['RoutingProtocolDirectIpv6Args']]): + pulumi.set(self, "direct_ipv6", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + Defines the routing protocol type like BGP or DIRECT + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned routing protocol identifier + """ + return pulumi.get(self, "uuid") + + @uuid.setter + def uuid(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uuid", value) + + +@pulumi.input_type +class _RoutingProtocolState: + def __init__(__self__, *, + bfd: Optional[pulumi.Input['RoutingProtocolBfdArgs']] = None, + bgp_auth_key: Optional[pulumi.Input[str]] = None, + bgp_ipv4: Optional[pulumi.Input['RoutingProtocolBgpIpv4Args']] = None, + bgp_ipv6: Optional[pulumi.Input['RoutingProtocolBgpIpv6Args']] = None, + change_logs: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolChangeLogArgs']]]] = None, + changes: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolChangeArgs']]]] = None, + connection_uuid: Optional[pulumi.Input[str]] = None, + customer_asn: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + direct_ipv4: Optional[pulumi.Input['RoutingProtocolDirectIpv4Args']] = None, + direct_ipv6: Optional[pulumi.Input['RoutingProtocolDirectIpv6Args']] = None, + equinix_asn: Optional[pulumi.Input[int]] = None, + href: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operations: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering RoutingProtocol resources. + :param pulumi.Input['RoutingProtocolBfdArgs'] bfd: Bidirectional Forwarding Detection + :param pulumi.Input[str] bgp_auth_key: BGP authorization key + :param pulumi.Input['RoutingProtocolBgpIpv4Args'] bgp_ipv4: Routing Protocol BGP IPv4 + :param pulumi.Input['RoutingProtocolBgpIpv6Args'] bgp_ipv6: Routing Protocol BGP IPv6 + :param pulumi.Input[Sequence[pulumi.Input['RoutingProtocolChangeLogArgs']]] change_logs: Captures Routing Protocol lifecycle change information + :param pulumi.Input[Sequence[pulumi.Input['RoutingProtocolChangeArgs']]] changes: Routing Protocol configuration Changes + :param pulumi.Input[str] connection_uuid: Connection URI associated with Routing Protocol + :param pulumi.Input[int] customer_asn: Customer-provided ASN + :param pulumi.Input[str] description: Customer-provided Fabric Routing Protocol description + :param pulumi.Input['RoutingProtocolDirectIpv4Args'] direct_ipv4: Routing Protocol Direct IPv4 + :param pulumi.Input['RoutingProtocolDirectIpv6Args'] direct_ipv6: Routing Protocol Direct IPv6 + :param pulumi.Input[int] equinix_asn: Equinix ASN + :param pulumi.Input[str] href: Routing Protocol URI information + :param pulumi.Input[str] name: Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + :param pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationArgs']]] operations: Routing Protocol type-specific operational data + :param pulumi.Input[str] state: Routing Protocol overall state + :param pulumi.Input[str] type: Defines the routing protocol type like BGP or DIRECT + :param pulumi.Input[str] uuid: Equinix-assigned routing protocol identifier + """ + _RoutingProtocolState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bfd=bfd, + bgp_auth_key=bgp_auth_key, + bgp_ipv4=bgp_ipv4, + bgp_ipv6=bgp_ipv6, + change_logs=change_logs, + changes=changes, + connection_uuid=connection_uuid, + customer_asn=customer_asn, + description=description, + direct_ipv4=direct_ipv4, + direct_ipv6=direct_ipv6, + equinix_asn=equinix_asn, + href=href, + name=name, + operations=operations, + state=state, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bfd: Optional[pulumi.Input['RoutingProtocolBfdArgs']] = None, + bgp_auth_key: Optional[pulumi.Input[str]] = None, + bgp_ipv4: Optional[pulumi.Input['RoutingProtocolBgpIpv4Args']] = None, + bgp_ipv6: Optional[pulumi.Input['RoutingProtocolBgpIpv6Args']] = None, + change_logs: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolChangeLogArgs']]]] = None, + changes: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolChangeArgs']]]] = None, + connection_uuid: Optional[pulumi.Input[str]] = None, + customer_asn: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + direct_ipv4: Optional[pulumi.Input['RoutingProtocolDirectIpv4Args']] = None, + direct_ipv6: Optional[pulumi.Input['RoutingProtocolDirectIpv6Args']] = None, + equinix_asn: Optional[pulumi.Input[int]] = None, + href: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operations: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bgpAuthKey' in kwargs: + bgp_auth_key = kwargs['bgpAuthKey'] + if 'bgpIpv4' in kwargs: + bgp_ipv4 = kwargs['bgpIpv4'] + if 'bgpIpv6' in kwargs: + bgp_ipv6 = kwargs['bgpIpv6'] + if 'changeLogs' in kwargs: + change_logs = kwargs['changeLogs'] + if 'connectionUuid' in kwargs: + connection_uuid = kwargs['connectionUuid'] + if 'customerAsn' in kwargs: + customer_asn = kwargs['customerAsn'] + if 'directIpv4' in kwargs: + direct_ipv4 = kwargs['directIpv4'] + if 'directIpv6' in kwargs: + direct_ipv6 = kwargs['directIpv6'] + if 'equinixAsn' in kwargs: + equinix_asn = kwargs['equinixAsn'] + + if bfd is not None: + _setter("bfd", bfd) + if bgp_auth_key is not None: + _setter("bgp_auth_key", bgp_auth_key) + if bgp_ipv4 is not None: + _setter("bgp_ipv4", bgp_ipv4) + if bgp_ipv6 is not None: + _setter("bgp_ipv6", bgp_ipv6) + if change_logs is not None: + _setter("change_logs", change_logs) + if changes is not None: + _setter("changes", changes) + if connection_uuid is not None: + _setter("connection_uuid", connection_uuid) + if customer_asn is not None: + _setter("customer_asn", customer_asn) + if description is not None: + _setter("description", description) + if direct_ipv4 is not None: + _setter("direct_ipv4", direct_ipv4) + if direct_ipv6 is not None: + _setter("direct_ipv6", direct_ipv6) + if equinix_asn is not None: + _setter("equinix_asn", equinix_asn) + if href is not None: + _setter("href", href) + if name is not None: + _setter("name", name) + if operations is not None: + _setter("operations", operations) + if state is not None: + _setter("state", state) + if type is not None: + _setter("type", type) + if uuid is not None: + _setter("uuid", uuid) + + @property + @pulumi.getter + def bfd(self) -> Optional[pulumi.Input['RoutingProtocolBfdArgs']]: + """ + Bidirectional Forwarding Detection + """ + return pulumi.get(self, "bfd") + + @bfd.setter + def bfd(self, value: Optional[pulumi.Input['RoutingProtocolBfdArgs']]): + pulumi.set(self, "bfd", value) + + @property + @pulumi.getter(name="bgpAuthKey") + def bgp_auth_key(self) -> Optional[pulumi.Input[str]]: + """ + BGP authorization key + """ + return pulumi.get(self, "bgp_auth_key") + + @bgp_auth_key.setter + def bgp_auth_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bgp_auth_key", value) + + @property + @pulumi.getter(name="bgpIpv4") + def bgp_ipv4(self) -> Optional[pulumi.Input['RoutingProtocolBgpIpv4Args']]: + """ + Routing Protocol BGP IPv4 + """ + return pulumi.get(self, "bgp_ipv4") + + @bgp_ipv4.setter + def bgp_ipv4(self, value: Optional[pulumi.Input['RoutingProtocolBgpIpv4Args']]): + pulumi.set(self, "bgp_ipv4", value) + + @property + @pulumi.getter(name="bgpIpv6") + def bgp_ipv6(self) -> Optional[pulumi.Input['RoutingProtocolBgpIpv6Args']]: + """ + Routing Protocol BGP IPv6 + """ + return pulumi.get(self, "bgp_ipv6") + + @bgp_ipv6.setter + def bgp_ipv6(self, value: Optional[pulumi.Input['RoutingProtocolBgpIpv6Args']]): + pulumi.set(self, "bgp_ipv6", value) + + @property + @pulumi.getter(name="changeLogs") + def change_logs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolChangeLogArgs']]]]: + """ + Captures Routing Protocol lifecycle change information + """ + return pulumi.get(self, "change_logs") + + @change_logs.setter + def change_logs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolChangeLogArgs']]]]): + pulumi.set(self, "change_logs", value) + + @property + @pulumi.getter + def changes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolChangeArgs']]]]: + """ + Routing Protocol configuration Changes + """ + return pulumi.get(self, "changes") + + @changes.setter + def changes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolChangeArgs']]]]): + pulumi.set(self, "changes", value) + + @property + @pulumi.getter(name="connectionUuid") + def connection_uuid(self) -> Optional[pulumi.Input[str]]: + """ + Connection URI associated with Routing Protocol + """ + return pulumi.get(self, "connection_uuid") + + @connection_uuid.setter + def connection_uuid(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_uuid", value) + + @property + @pulumi.getter(name="customerAsn") + def customer_asn(self) -> Optional[pulumi.Input[int]]: + """ + Customer-provided ASN + """ + return pulumi.get(self, "customer_asn") + + @customer_asn.setter + def customer_asn(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "customer_asn", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Customer-provided Fabric Routing Protocol description + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="directIpv4") + def direct_ipv4(self) -> Optional[pulumi.Input['RoutingProtocolDirectIpv4Args']]: + """ + Routing Protocol Direct IPv4 + """ + return pulumi.get(self, "direct_ipv4") + + @direct_ipv4.setter + def direct_ipv4(self, value: Optional[pulumi.Input['RoutingProtocolDirectIpv4Args']]): + pulumi.set(self, "direct_ipv4", value) + + @property + @pulumi.getter(name="directIpv6") + def direct_ipv6(self) -> Optional[pulumi.Input['RoutingProtocolDirectIpv6Args']]: + """ + Routing Protocol Direct IPv6 + """ + return pulumi.get(self, "direct_ipv6") + + @direct_ipv6.setter + def direct_ipv6(self, value: Optional[pulumi.Input['RoutingProtocolDirectIpv6Args']]): + pulumi.set(self, "direct_ipv6", value) + + @property + @pulumi.getter(name="equinixAsn") + def equinix_asn(self) -> Optional[pulumi.Input[int]]: + """ + Equinix ASN + """ + return pulumi.get(self, "equinix_asn") + + @equinix_asn.setter + def equinix_asn(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "equinix_asn", value) + + @property + @pulumi.getter + def href(self) -> Optional[pulumi.Input[str]]: + """ + Routing Protocol URI information + """ + return pulumi.get(self, "href") + + @href.setter + def href(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "href", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationArgs']]]]: + """ + Routing Protocol type-specific operational data + """ + return pulumi.get(self, "operations") + + @operations.setter + def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationArgs']]]]): + pulumi.set(self, "operations", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + Routing Protocol overall state + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + Defines the routing protocol type like BGP or DIRECT + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def uuid(self) -> Optional[pulumi.Input[str]]: + """ + Equinix-assigned routing protocol identifier + """ + return pulumi.get(self, "uuid") + + @uuid.setter + def uuid(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uuid", value) + + +class RoutingProtocol(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + bfd: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolBfdArgs']]] = None, + bgp_auth_key: Optional[pulumi.Input[str]] = None, + bgp_ipv4: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolBgpIpv4Args']]] = None, + bgp_ipv6: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolBgpIpv6Args']]] = None, + connection_uuid: Optional[pulumi.Input[str]] = None, + customer_asn: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + direct_ipv4: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolDirectIpv4Args']]] = None, + direct_ipv6: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolDirectIpv6Args']]] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + ## Example Usage + ```python + import pulumi + import pulumi_equinix as equinix + + config = pulumi.Config() + connection_id = config.require("connectionId") + routing_protocol = equinix.fabric.RoutingProtocol("RoutingProtocol", + connection_uuid=connection_id, + name="My-Direct-route-1", + type="DIRECT", + direct_ipv4=equinix.fabric.RoutingProtocolDirectIpv4Args( + equinix_iface_ip="192.168.100.1/30", + )) + pulumi.export("routingProtocolId", routing_protocol.id) + pulumi.export("routingProtocolState", routing_protocol.state) + pulumi.export("routingProtocolEquinixAsn", routing_protocol.equinix_asn) + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['RoutingProtocolBfdArgs']] bfd: Bidirectional Forwarding Detection + :param pulumi.Input[str] bgp_auth_key: BGP authorization key + :param pulumi.Input[pulumi.InputType['RoutingProtocolBgpIpv4Args']] bgp_ipv4: Routing Protocol BGP IPv4 + :param pulumi.Input[pulumi.InputType['RoutingProtocolBgpIpv6Args']] bgp_ipv6: Routing Protocol BGP IPv6 + :param pulumi.Input[str] connection_uuid: Connection URI associated with Routing Protocol + :param pulumi.Input[int] customer_asn: Customer-provided ASN + :param pulumi.Input[str] description: Customer-provided Fabric Routing Protocol description + :param pulumi.Input[pulumi.InputType['RoutingProtocolDirectIpv4Args']] direct_ipv4: Routing Protocol Direct IPv4 + :param pulumi.Input[pulumi.InputType['RoutingProtocolDirectIpv6Args']] direct_ipv6: Routing Protocol Direct IPv6 + :param pulumi.Input[str] name: Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + :param pulumi.Input[str] type: Defines the routing protocol type like BGP or DIRECT + :param pulumi.Input[str] uuid: Equinix-assigned routing protocol identifier + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: RoutingProtocolArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + ## Example Usage + ```python + import pulumi + import pulumi_equinix as equinix + + config = pulumi.Config() + connection_id = config.require("connectionId") + routing_protocol = equinix.fabric.RoutingProtocol("RoutingProtocol", + connection_uuid=connection_id, + name="My-Direct-route-1", + type="DIRECT", + direct_ipv4=equinix.fabric.RoutingProtocolDirectIpv4Args( + equinix_iface_ip="192.168.100.1/30", + )) + pulumi.export("routingProtocolId", routing_protocol.id) + pulumi.export("routingProtocolState", routing_protocol.state) + pulumi.export("routingProtocolEquinixAsn", routing_protocol.equinix_asn) + ``` + + :param str resource_name: The name of the resource. + :param RoutingProtocolArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(RoutingProtocolArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RoutingProtocolArgs._configure(_setter, **kwargs) + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + bfd: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolBfdArgs']]] = None, + bgp_auth_key: Optional[pulumi.Input[str]] = None, + bgp_ipv4: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolBgpIpv4Args']]] = None, + bgp_ipv6: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolBgpIpv6Args']]] = None, + connection_uuid: Optional[pulumi.Input[str]] = None, + customer_asn: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + direct_ipv4: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolDirectIpv4Args']]] = None, + direct_ipv6: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolDirectIpv6Args']]] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = RoutingProtocolArgs.__new__(RoutingProtocolArgs) + + if bfd is not None and not isinstance(bfd, RoutingProtocolBfdArgs): + bfd = bfd or {} + def _setter(key, value): + bfd[key] = value + RoutingProtocolBfdArgs._configure(_setter, **bfd) + __props__.__dict__["bfd"] = bfd + __props__.__dict__["bgp_auth_key"] = bgp_auth_key + if bgp_ipv4 is not None and not isinstance(bgp_ipv4, RoutingProtocolBgpIpv4Args): + bgp_ipv4 = bgp_ipv4 or {} + def _setter(key, value): + bgp_ipv4[key] = value + RoutingProtocolBgpIpv4Args._configure(_setter, **bgp_ipv4) + __props__.__dict__["bgp_ipv4"] = bgp_ipv4 + if bgp_ipv6 is not None and not isinstance(bgp_ipv6, RoutingProtocolBgpIpv6Args): + bgp_ipv6 = bgp_ipv6 or {} + def _setter(key, value): + bgp_ipv6[key] = value + RoutingProtocolBgpIpv6Args._configure(_setter, **bgp_ipv6) + __props__.__dict__["bgp_ipv6"] = bgp_ipv6 + if connection_uuid is None and not opts.urn: + raise TypeError("Missing required property 'connection_uuid'") + __props__.__dict__["connection_uuid"] = connection_uuid + __props__.__dict__["customer_asn"] = customer_asn + __props__.__dict__["description"] = description + if direct_ipv4 is not None and not isinstance(direct_ipv4, RoutingProtocolDirectIpv4Args): + direct_ipv4 = direct_ipv4 or {} + def _setter(key, value): + direct_ipv4[key] = value + RoutingProtocolDirectIpv4Args._configure(_setter, **direct_ipv4) + __props__.__dict__["direct_ipv4"] = direct_ipv4 + if direct_ipv6 is not None and not isinstance(direct_ipv6, RoutingProtocolDirectIpv6Args): + direct_ipv6 = direct_ipv6 or {} + def _setter(key, value): + direct_ipv6[key] = value + RoutingProtocolDirectIpv6Args._configure(_setter, **direct_ipv6) + __props__.__dict__["direct_ipv6"] = direct_ipv6 + __props__.__dict__["name"] = name + __props__.__dict__["type"] = type + __props__.__dict__["uuid"] = uuid + __props__.__dict__["change_logs"] = None + __props__.__dict__["changes"] = None + __props__.__dict__["equinix_asn"] = None + __props__.__dict__["href"] = None + __props__.__dict__["operations"] = None + __props__.__dict__["state"] = None + super(RoutingProtocol, __self__).__init__( + 'equinix:fabric/routingProtocol:RoutingProtocol', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + bfd: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolBfdArgs']]] = None, + bgp_auth_key: Optional[pulumi.Input[str]] = None, + bgp_ipv4: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolBgpIpv4Args']]] = None, + bgp_ipv6: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolBgpIpv6Args']]] = None, + change_logs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoutingProtocolChangeLogArgs']]]]] = None, + changes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoutingProtocolChangeArgs']]]]] = None, + connection_uuid: Optional[pulumi.Input[str]] = None, + customer_asn: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + direct_ipv4: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolDirectIpv4Args']]] = None, + direct_ipv6: Optional[pulumi.Input[pulumi.InputType['RoutingProtocolDirectIpv6Args']]] = None, + equinix_asn: Optional[pulumi.Input[int]] = None, + href: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoutingProtocolOperationArgs']]]]] = None, + state: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None) -> 'RoutingProtocol': + """ + Get an existing RoutingProtocol resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[pulumi.InputType['RoutingProtocolBfdArgs']] bfd: Bidirectional Forwarding Detection + :param pulumi.Input[str] bgp_auth_key: BGP authorization key + :param pulumi.Input[pulumi.InputType['RoutingProtocolBgpIpv4Args']] bgp_ipv4: Routing Protocol BGP IPv4 + :param pulumi.Input[pulumi.InputType['RoutingProtocolBgpIpv6Args']] bgp_ipv6: Routing Protocol BGP IPv6 + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoutingProtocolChangeLogArgs']]]] change_logs: Captures Routing Protocol lifecycle change information + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoutingProtocolChangeArgs']]]] changes: Routing Protocol configuration Changes + :param pulumi.Input[str] connection_uuid: Connection URI associated with Routing Protocol + :param pulumi.Input[int] customer_asn: Customer-provided ASN + :param pulumi.Input[str] description: Customer-provided Fabric Routing Protocol description + :param pulumi.Input[pulumi.InputType['RoutingProtocolDirectIpv4Args']] direct_ipv4: Routing Protocol Direct IPv4 + :param pulumi.Input[pulumi.InputType['RoutingProtocolDirectIpv6Args']] direct_ipv6: Routing Protocol Direct IPv6 + :param pulumi.Input[int] equinix_asn: Equinix ASN + :param pulumi.Input[str] href: Routing Protocol URI information + :param pulumi.Input[str] name: Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoutingProtocolOperationArgs']]]] operations: Routing Protocol type-specific operational data + :param pulumi.Input[str] state: Routing Protocol overall state + :param pulumi.Input[str] type: Defines the routing protocol type like BGP or DIRECT + :param pulumi.Input[str] uuid: Equinix-assigned routing protocol identifier + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _RoutingProtocolState.__new__(_RoutingProtocolState) + + __props__.__dict__["bfd"] = bfd + __props__.__dict__["bgp_auth_key"] = bgp_auth_key + __props__.__dict__["bgp_ipv4"] = bgp_ipv4 + __props__.__dict__["bgp_ipv6"] = bgp_ipv6 + __props__.__dict__["change_logs"] = change_logs + __props__.__dict__["changes"] = changes + __props__.__dict__["connection_uuid"] = connection_uuid + __props__.__dict__["customer_asn"] = customer_asn + __props__.__dict__["description"] = description + __props__.__dict__["direct_ipv4"] = direct_ipv4 + __props__.__dict__["direct_ipv6"] = direct_ipv6 + __props__.__dict__["equinix_asn"] = equinix_asn + __props__.__dict__["href"] = href + __props__.__dict__["name"] = name + __props__.__dict__["operations"] = operations + __props__.__dict__["state"] = state + __props__.__dict__["type"] = type + __props__.__dict__["uuid"] = uuid + return RoutingProtocol(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def bfd(self) -> pulumi.Output[Optional['outputs.RoutingProtocolBfd']]: + """ + Bidirectional Forwarding Detection + """ + return pulumi.get(self, "bfd") + + @property + @pulumi.getter(name="bgpAuthKey") + def bgp_auth_key(self) -> pulumi.Output[Optional[str]]: + """ + BGP authorization key + """ + return pulumi.get(self, "bgp_auth_key") + + @property + @pulumi.getter(name="bgpIpv4") + def bgp_ipv4(self) -> pulumi.Output[Optional['outputs.RoutingProtocolBgpIpv4']]: + """ + Routing Protocol BGP IPv4 + """ + return pulumi.get(self, "bgp_ipv4") + + @property + @pulumi.getter(name="bgpIpv6") + def bgp_ipv6(self) -> pulumi.Output[Optional['outputs.RoutingProtocolBgpIpv6']]: + """ + Routing Protocol BGP IPv6 + """ + return pulumi.get(self, "bgp_ipv6") + + @property + @pulumi.getter(name="changeLogs") + def change_logs(self) -> pulumi.Output[Sequence['outputs.RoutingProtocolChangeLog']]: + """ + Captures Routing Protocol lifecycle change information + """ + return pulumi.get(self, "change_logs") + + @property + @pulumi.getter + def changes(self) -> pulumi.Output[Sequence['outputs.RoutingProtocolChange']]: + """ + Routing Protocol configuration Changes + """ + return pulumi.get(self, "changes") + + @property + @pulumi.getter(name="connectionUuid") + def connection_uuid(self) -> pulumi.Output[str]: + """ + Connection URI associated with Routing Protocol + """ + return pulumi.get(self, "connection_uuid") + + @property + @pulumi.getter(name="customerAsn") + def customer_asn(self) -> pulumi.Output[Optional[int]]: + """ + Customer-provided ASN + """ + return pulumi.get(self, "customer_asn") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + Customer-provided Fabric Routing Protocol description + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="directIpv4") + def direct_ipv4(self) -> pulumi.Output[Optional['outputs.RoutingProtocolDirectIpv4']]: + """ + Routing Protocol Direct IPv4 + """ + return pulumi.get(self, "direct_ipv4") + + @property + @pulumi.getter(name="directIpv6") + def direct_ipv6(self) -> pulumi.Output[Optional['outputs.RoutingProtocolDirectIpv6']]: + """ + Routing Protocol Direct IPv6 + """ + return pulumi.get(self, "direct_ipv6") + + @property + @pulumi.getter(name="equinixAsn") + def equinix_asn(self) -> pulumi.Output[int]: + """ + Equinix ASN + """ + return pulumi.get(self, "equinix_asn") + + @property + @pulumi.getter + def href(self) -> pulumi.Output[str]: + """ + Routing Protocol URI information + """ + return pulumi.get(self, "href") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Routing Protocol name. An alpha-numeric 24 characters string which can include only hyphens and underscores + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def operations(self) -> pulumi.Output[Sequence['outputs.RoutingProtocolOperation']]: + """ + Routing Protocol type-specific operational data + """ + return pulumi.get(self, "operations") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + Routing Protocol overall state + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[Optional[str]]: + """ + Defines the routing protocol type like BGP or DIRECT + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> pulumi.Output[str]: + """ + Equinix-assigned routing protocol identifier + """ + return pulumi.get(self, "uuid") + diff --git a/sdk/python/pulumi_equinix/fabric/service_profile.py b/sdk/python/pulumi_equinix/fabric/service_profile.py index 62fda4b4..281171a8 100644 --- a/sdk/python/pulumi_equinix/fabric/service_profile.py +++ b/sdk/python/pulumi_equinix/fabric/service_profile.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._enums import * @@ -36,15 +36,15 @@ def __init__(__self__, *, visibility: Optional[pulumi.Input[Union[str, 'ProfileVisibility']]] = None): """ 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[str] description: Description + :param pulumi.Input[Union[str, 'ProfileType']] type: Type of access point type config - VD, COLO :param pulumi.Input[Sequence[pulumi.Input['ServiceProfileAccessPointTypeConfigArgs']]] access_point_type_configs: Access point config information :param pulumi.Input['ServiceProfileAccountArgs'] account: Account :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_emails: Array of contact emails :param pulumi.Input[Sequence[pulumi.Input['ServiceProfileCustomFieldArgs']]] custom_fields: Custom Fields :param pulumi.Input['ServiceProfileMarketingInfoArgs'] marketing_info: Marketing Info :param pulumi.Input[Sequence[pulumi.Input['ServiceProfileMetroArgs']]] metros: Access point config information - :param pulumi.Input[str] name: Customer-assigned service profile name + :param pulumi.Input[str] name: Metro Name :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 @@ -54,44 +54,99 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ServiceProfileVirtualDeviceArgs']]] virtual_devices: Virtual Devices :param pulumi.Input[Union[str, 'ProfileVisibility']] visibility: Service profile visibility - PUBLIC, PRIVATE """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "type", type) + ServiceProfileArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + type=type, + access_point_type_configs=access_point_type_configs, + account=account, + allowed_emails=allowed_emails, + custom_fields=custom_fields, + marketing_info=marketing_info, + metros=metros, + name=name, + notifications=notifications, + ports=ports, + project=project, + self_profile=self_profile, + state=state, + tags=tags, + virtual_devices=virtual_devices, + visibility=visibility, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: pulumi.Input[str], + type: pulumi.Input[Union[str, 'ProfileType']], + access_point_type_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfileAccessPointTypeConfigArgs']]]] = None, + account: Optional[pulumi.Input['ServiceProfileAccountArgs']] = None, + allowed_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + custom_fields: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfileCustomFieldArgs']]]] = None, + marketing_info: Optional[pulumi.Input['ServiceProfileMarketingInfoArgs']] = None, + metros: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfileMetroArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfileNotificationArgs']]]] = None, + ports: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfilePortArgs']]]] = None, + project: Optional[pulumi.Input['ServiceProfileProjectArgs']] = None, + self_profile: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[Union[str, 'ProfileState']]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + virtual_devices: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfileVirtualDeviceArgs']]]] = None, + visibility: Optional[pulumi.Input[Union[str, 'ProfileVisibility']]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPointTypeConfigs' in kwargs: + access_point_type_configs = kwargs['accessPointTypeConfigs'] + if 'allowedEmails' in kwargs: + allowed_emails = kwargs['allowedEmails'] + if 'customFields' in kwargs: + custom_fields = kwargs['customFields'] + if 'marketingInfo' in kwargs: + marketing_info = kwargs['marketingInfo'] + if 'selfProfile' in kwargs: + self_profile = kwargs['selfProfile'] + if 'virtualDevices' in kwargs: + virtual_devices = kwargs['virtualDevices'] + + _setter("description", description) + _setter("type", type) if access_point_type_configs is not None: - pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) + _setter("access_point_type_configs", access_point_type_configs) if account is not None: - pulumi.set(__self__, "account", account) + _setter("account", account) if allowed_emails is not None: - pulumi.set(__self__, "allowed_emails", allowed_emails) + _setter("allowed_emails", allowed_emails) if custom_fields is not None: - pulumi.set(__self__, "custom_fields", custom_fields) + _setter("custom_fields", custom_fields) if marketing_info is not None: - pulumi.set(__self__, "marketing_info", marketing_info) + _setter("marketing_info", marketing_info) if metros is not None: - pulumi.set(__self__, "metros", metros) + _setter("metros", metros) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if notifications is not None: - pulumi.set(__self__, "notifications", notifications) + _setter("notifications", notifications) if ports is not None: - pulumi.set(__self__, "ports", ports) + _setter("ports", ports) if project is not None: - pulumi.set(__self__, "project", project) + _setter("project", project) if self_profile is not None: - pulumi.set(__self__, "self_profile", self_profile) + _setter("self_profile", self_profile) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if virtual_devices is not None: - pulumi.set(__self__, "virtual_devices", virtual_devices) + _setter("virtual_devices", virtual_devices) if visibility is not None: - pulumi.set(__self__, "visibility", visibility) + _setter("visibility", visibility) @property @pulumi.getter def description(self) -> pulumi.Input[str]: """ - User-provided service description + Description """ return pulumi.get(self, "description") @@ -103,7 +158,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 + Type of access point type config - VD, COLO """ return pulumi.get(self, "type") @@ -187,7 +242,7 @@ def metros(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProf @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Customer-assigned service profile name + Metro Name """ return pulumi.get(self, "name") @@ -322,62 +377,125 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_emails: Array of contact emails :param pulumi.Input['ServiceProfileChangeLogArgs'] change_log: Captures connection lifecycle change information :param pulumi.Input[Sequence[pulumi.Input['ServiceProfileCustomFieldArgs']]] custom_fields: Custom Fields - :param pulumi.Input[str] description: User-provided service description - :param pulumi.Input[str] href: Service Profile URI response attribute + :param pulumi.Input[str] description: Description + :param pulumi.Input[str] href: Unique Resource URL :param pulumi.Input['ServiceProfileMarketingInfoArgs'] marketing_info: Marketing Info :param pulumi.Input[Sequence[pulumi.Input['ServiceProfileMetroArgs']]] metros: Access point config information - :param pulumi.Input[str] name: Customer-assigned service profile name + :param pulumi.Input[str] name: Metro Name :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 :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[str] uuid: Equinix assigned service profile identifier + :param pulumi.Input[Union[str, 'ProfileType']] type: Type of access point type config - VD, COLO + :param pulumi.Input[str] uuid: Colo/Port Uuid :param pulumi.Input[Sequence[pulumi.Input['ServiceProfileVirtualDeviceArgs']]] virtual_devices: Virtual Devices :param pulumi.Input[Union[str, 'ProfileVisibility']] visibility: Service profile visibility - PUBLIC, PRIVATE """ + _ServiceProfileState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_point_type_configs=access_point_type_configs, + account=account, + allowed_emails=allowed_emails, + change_log=change_log, + custom_fields=custom_fields, + description=description, + href=href, + marketing_info=marketing_info, + metros=metros, + name=name, + notifications=notifications, + ports=ports, + project=project, + self_profile=self_profile, + state=state, + tags=tags, + type=type, + uuid=uuid, + virtual_devices=virtual_devices, + visibility=visibility, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_point_type_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfileAccessPointTypeConfigArgs']]]] = None, + account: Optional[pulumi.Input['ServiceProfileAccountArgs']] = None, + allowed_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + change_log: Optional[pulumi.Input['ServiceProfileChangeLogArgs']] = None, + custom_fields: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfileCustomFieldArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + href: Optional[pulumi.Input[str]] = None, + marketing_info: Optional[pulumi.Input['ServiceProfileMarketingInfoArgs']] = None, + metros: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfileMetroArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfileNotificationArgs']]]] = None, + ports: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfilePortArgs']]]] = None, + project: Optional[pulumi.Input['ServiceProfileProjectArgs']] = None, + self_profile: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[Union[str, 'ProfileState']]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[Union[str, 'ProfileType']]] = None, + uuid: Optional[pulumi.Input[str]] = None, + virtual_devices: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfileVirtualDeviceArgs']]]] = None, + visibility: Optional[pulumi.Input[Union[str, 'ProfileVisibility']]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPointTypeConfigs' in kwargs: + access_point_type_configs = kwargs['accessPointTypeConfigs'] + if 'allowedEmails' in kwargs: + allowed_emails = kwargs['allowedEmails'] + if 'changeLog' in kwargs: + change_log = kwargs['changeLog'] + if 'customFields' in kwargs: + custom_fields = kwargs['customFields'] + if 'marketingInfo' in kwargs: + marketing_info = kwargs['marketingInfo'] + if 'selfProfile' in kwargs: + self_profile = kwargs['selfProfile'] + if 'virtualDevices' in kwargs: + virtual_devices = kwargs['virtualDevices'] + if access_point_type_configs is not None: - pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) + _setter("access_point_type_configs", access_point_type_configs) if account is not None: - pulumi.set(__self__, "account", account) + _setter("account", account) if allowed_emails is not None: - pulumi.set(__self__, "allowed_emails", allowed_emails) + _setter("allowed_emails", allowed_emails) if change_log is not None: - pulumi.set(__self__, "change_log", change_log) + _setter("change_log", change_log) if custom_fields is not None: - pulumi.set(__self__, "custom_fields", custom_fields) + _setter("custom_fields", custom_fields) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if href is not None: - pulumi.set(__self__, "href", href) + _setter("href", href) if marketing_info is not None: - pulumi.set(__self__, "marketing_info", marketing_info) + _setter("marketing_info", marketing_info) if metros is not None: - pulumi.set(__self__, "metros", metros) + _setter("metros", metros) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if notifications is not None: - pulumi.set(__self__, "notifications", notifications) + _setter("notifications", notifications) if ports is not None: - pulumi.set(__self__, "ports", ports) + _setter("ports", ports) if project is not None: - pulumi.set(__self__, "project", project) + _setter("project", project) if self_profile is not None: - pulumi.set(__self__, "self_profile", self_profile) + _setter("self_profile", self_profile) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) if virtual_devices is not None: - pulumi.set(__self__, "virtual_devices", virtual_devices) + _setter("virtual_devices", virtual_devices) if visibility is not None: - pulumi.set(__self__, "visibility", visibility) + _setter("visibility", visibility) @property @pulumi.getter(name="accessPointTypeConfigs") @@ -443,7 +561,7 @@ def custom_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Serv @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: """ - User-provided service description + Description """ return pulumi.get(self, "description") @@ -455,7 +573,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def href(self) -> Optional[pulumi.Input[str]]: """ - Service Profile URI response attribute + Unique Resource URL """ return pulumi.get(self, "href") @@ -491,7 +609,7 @@ def metros(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProf @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Customer-assigned service profile name + Metro Name """ return pulumi.get(self, "name") @@ -575,7 +693,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 + Type of access point type config - VD, COLO """ return pulumi.get(self, "type") @@ -587,7 +705,7 @@ def type(self, value: Optional[pulumi.Input[Union[str, 'ProfileType']]]): @pulumi.getter def uuid(self) -> Optional[pulumi.Input[str]]: """ - Equinix assigned service profile identifier + Colo/Port Uuid """ return pulumi.get(self, "uuid") @@ -700,17 +818,17 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['ServiceProfileAccountArgs']] account: Account :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_emails: Array of contact emails :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceProfileCustomFieldArgs']]]] custom_fields: Custom Fields - :param pulumi.Input[str] description: User-provided service description + :param pulumi.Input[str] description: Description :param pulumi.Input[pulumi.InputType['ServiceProfileMarketingInfoArgs']] marketing_info: Marketing Info :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceProfileMetroArgs']]]] metros: Access point config information - :param pulumi.Input[str] name: Customer-assigned service profile name + :param pulumi.Input[str] name: Metro Name :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceProfileNotificationArgs']]]] notifications: Preferences for notifications on connection configuration or status changes :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceProfilePortArgs']]]] ports: Ports :param pulumi.Input[pulumi.InputType['ServiceProfileProjectArgs']] project: Project information :param pulumi.Input[bool] self_profile: Self Profile :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: Type of access point type config - VD, COLO :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceProfileVirtualDeviceArgs']]]] virtual_devices: Virtual Devices :param pulumi.Input[Union[str, 'ProfileVisibility']] visibility: Service profile visibility - PUBLIC, PRIVATE """ @@ -781,6 +899,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ServiceProfileArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -813,17 +935,32 @@ def _internal_init(__self__, __props__ = ServiceProfileArgs.__new__(ServiceProfileArgs) __props__.__dict__["access_point_type_configs"] = access_point_type_configs + if account is not None and not isinstance(account, ServiceProfileAccountArgs): + account = account or {} + def _setter(key, value): + account[key] = value + ServiceProfileAccountArgs._configure(_setter, **account) __props__.__dict__["account"] = account __props__.__dict__["allowed_emails"] = allowed_emails __props__.__dict__["custom_fields"] = custom_fields if description is None and not opts.urn: raise TypeError("Missing required property 'description'") __props__.__dict__["description"] = description + if marketing_info is not None and not isinstance(marketing_info, ServiceProfileMarketingInfoArgs): + marketing_info = marketing_info or {} + def _setter(key, value): + marketing_info[key] = value + ServiceProfileMarketingInfoArgs._configure(_setter, **marketing_info) __props__.__dict__["marketing_info"] = marketing_info __props__.__dict__["metros"] = metros __props__.__dict__["name"] = name __props__.__dict__["notifications"] = notifications __props__.__dict__["ports"] = ports + if project is not None and not isinstance(project, ServiceProfileProjectArgs): + project = project or {} + def _setter(key, value): + project[key] = value + ServiceProfileProjectArgs._configure(_setter, **project) __props__.__dict__["project"] = project __props__.__dict__["self_profile"] = self_profile __props__.__dict__["state"] = state @@ -878,19 +1015,19 @@ def get(resource_name: str, :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_emails: Array of contact emails :param pulumi.Input[pulumi.InputType['ServiceProfileChangeLogArgs']] change_log: Captures connection lifecycle change information :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceProfileCustomFieldArgs']]]] custom_fields: Custom Fields - :param pulumi.Input[str] description: User-provided service description - :param pulumi.Input[str] href: Service Profile URI response attribute + :param pulumi.Input[str] description: Description + :param pulumi.Input[str] href: Unique Resource URL :param pulumi.Input[pulumi.InputType['ServiceProfileMarketingInfoArgs']] marketing_info: Marketing Info :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceProfileMetroArgs']]]] metros: Access point config information - :param pulumi.Input[str] name: Customer-assigned service profile name + :param pulumi.Input[str] name: Metro Name :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceProfileNotificationArgs']]]] notifications: Preferences for notifications on connection configuration or status changes :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceProfilePortArgs']]]] ports: Ports :param pulumi.Input[pulumi.InputType['ServiceProfileProjectArgs']] project: Project information :param pulumi.Input[bool] self_profile: Self Profile :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[str] uuid: Equinix assigned service profile identifier + :param pulumi.Input[Union[str, 'ProfileType']] type: Type of access point type config - VD, COLO + :param pulumi.Input[str] uuid: Colo/Port Uuid :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceProfileVirtualDeviceArgs']]]] virtual_devices: Virtual Devices :param pulumi.Input[Union[str, 'ProfileVisibility']] visibility: Service profile visibility - PUBLIC, PRIVATE """ @@ -964,7 +1101,7 @@ def custom_fields(self) -> pulumi.Output[Optional[Sequence['outputs.ServiceProfi @pulumi.getter def description(self) -> pulumi.Output[str]: """ - User-provided service description + Description """ return pulumi.get(self, "description") @@ -972,7 +1109,7 @@ def description(self) -> pulumi.Output[str]: @pulumi.getter def href(self) -> pulumi.Output[str]: """ - Service Profile URI response attribute + Unique Resource URL """ return pulumi.get(self, "href") @@ -996,7 +1133,7 @@ def metros(self) -> pulumi.Output[Optional[Sequence['outputs.ServiceProfileMetro @pulumi.getter def name(self) -> pulumi.Output[str]: """ - Customer-assigned service profile name + Metro Name """ return pulumi.get(self, "name") @@ -1052,7 +1189,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 + Type of access point type config - VD, COLO """ return pulumi.get(self, "type") @@ -1060,7 +1197,7 @@ def type(self) -> pulumi.Output[str]: @pulumi.getter def uuid(self) -> pulumi.Output[str]: """ - Equinix assigned service profile identifier + Colo/Port Uuid """ return pulumi.get(self, "uuid") diff --git a/sdk/python/pulumi_equinix/metal/__init__.py b/sdk/python/pulumi_equinix/metal/__init__.py index e304bcd5..6c9b124c 100644 --- a/sdk/python/pulumi_equinix/metal/__init__.py +++ b/sdk/python/pulumi_equinix/metal/__init__.py @@ -12,6 +12,7 @@ from .gateway import * from .get_device import * from .get_device_bgp_neighbors import * +from .get_devices import * from .get_facility import * from .get_gateway import * from .get_hardware_reservation import * diff --git a/sdk/python/pulumi_equinix/metal/_inputs.py b/sdk/python/pulumi_equinix/metal/_inputs.py index a6cf265c..facf9062 100644 --- a/sdk/python/pulumi_equinix/metal/_inputs.py +++ b/sdk/python/pulumi_equinix/metal/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from ._enums import * @@ -21,6 +21,8 @@ 'OrganizationAddressArgs', 'ProjectBgpConfigArgs', 'SpotMarketRequestInstanceParametersArgs', + 'GetDevicesFilterArgs', + 'GetDevicesSortArgs', 'GetFacilityCapacityArgs', 'GetMetroCapacityArgs', 'GetPlansFilterArgs', @@ -34,8 +36,21 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input[str]]] allow_changes: List of attributes that are allowed to change without recreating the instance. Supported attributes: `custom_data`, `user_data`" """ + DeviceBehaviorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_changes=allow_changes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_changes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowChanges' in kwargs: + allow_changes = kwargs['allowChanges'] + if allow_changes is not None: - pulumi.set(__self__, "allow_changes", allow_changes) + _setter("allow_changes", allow_changes) @property @pulumi.getter(name="allowChanges") @@ -61,12 +76,35 @@ def __init__(__self__, *, :param pulumi.Input[int] cidr: CIDR suffix for IP address block to be assigned, i.e. amount of addresses. :param pulumi.Input[Sequence[pulumi.Input[str]]] reservation_ids: List of UUIDs of IP block reservations from which the public IPv4 address should be taken. - """ - pulumi.set(__self__, "type", type) + + You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + always pass a block for `private_ipv4`. + + To learn more about using the reserved IP addresses for new devices, see the examples in the + metal.ReservedIpBlock documentation. + """ + DeviceIpAddressArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + cidr=cidr, + reservation_ids=reservation_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + cidr: Optional[pulumi.Input[int]] = None, + reservation_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'reservationIds' in kwargs: + reservation_ids = kwargs['reservationIds'] + + _setter("type", type) if cidr is not None: - pulumi.set(__self__, "cidr", cidr) + _setter("cidr", cidr) if reservation_ids is not None: - pulumi.set(__self__, "reservation_ids", reservation_ids) + _setter("reservation_ids", reservation_ids) @property @pulumi.getter @@ -98,6 +136,12 @@ def reservation_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] """ List of UUIDs of IP block reservations from which the public IPv4 address should be taken. + + You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + always pass a block for `private_ipv4`. + + To learn more about using the reserved IP addresses for new devices, see the examples in the + metal.ReservedIpBlock documentation. """ return pulumi.get(self, "reservation_ids") @@ -121,16 +165,35 @@ def __init__(__self__, *, :param pulumi.Input[str] gateway: Address of router. :param pulumi.Input[bool] public: Whether the address is routable from the Internet. """ + DeviceNetworkArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + cidr=cidr, + family=family, + gateway=gateway, + public=public, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[pulumi.Input[str]] = None, + cidr: Optional[pulumi.Input[int]] = None, + family: Optional[pulumi.Input[int]] = None, + gateway: Optional[pulumi.Input[str]] = None, + public: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if cidr is not None: - pulumi.set(__self__, "cidr", cidr) + _setter("cidr", cidr) if family is not None: - pulumi.set(__self__, "family", family) + _setter("family", family) if gateway is not None: - pulumi.set(__self__, "gateway", gateway) + _setter("gateway", gateway) if public is not None: - pulumi.set(__self__, "public", public) + _setter("public", public) @property @pulumi.getter @@ -208,16 +271,35 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the port (e.g. `eth0`, or `bond0`). :param pulumi.Input[str] type: One of `private_ipv4`, `public_ipv4`, `public_ipv6`. """ + DevicePortArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bonded=bonded, + id=id, + mac=mac, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bonded: Optional[pulumi.Input[bool]] = None, + id: Optional[pulumi.Input[str]] = None, + mac: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if bonded is not None: - pulumi.set(__self__, "bonded", bonded) + _setter("bonded", bonded) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if mac is not None: - pulumi.set(__self__, "mac", mac) + _setter("mac", mac) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -294,12 +376,31 @@ def __init__(__self__, *, :param pulumi.Input[bool] preserve_data: Whether the non-OS disks should be kept or wiped during reinstall. Defaults to `false`. """ + DeviceReinstallArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deprovision_fast=deprovision_fast, + enabled=enabled, + preserve_data=preserve_data, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deprovision_fast: Optional[pulumi.Input[bool]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + preserve_data: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deprovisionFast' in kwargs: + deprovision_fast = kwargs['deprovisionFast'] + if 'preserveData' in kwargs: + preserve_data = kwargs['preserveData'] + if deprovision_fast is not None: - pulumi.set(__self__, "deprovision_fast", deprovision_fast) + _setter("deprovision_fast", deprovision_fast) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if preserve_data is not None: - pulumi.set(__self__, "preserve_data", preserve_data) + _setter("preserve_data", preserve_data) @property @pulumi.getter(name="deprovisionFast") @@ -356,20 +457,47 @@ def __init__(__self__, *, :param pulumi.Input[int] speed: Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps. :param pulumi.Input[str] status: Status of the connection resource. """ + InterconnectionPortArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + link_status=link_status, + name=name, + role=role, + speed=speed, + status=status, + virtual_circuit_ids=virtual_circuit_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + link_status: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + speed: Optional[pulumi.Input[int]] = None, + status: Optional[pulumi.Input[str]] = None, + virtual_circuit_ids: Optional[pulumi.Input[Sequence[Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'linkStatus' in kwargs: + link_status = kwargs['linkStatus'] + if 'virtualCircuitIds' in kwargs: + virtual_circuit_ids = kwargs['virtualCircuitIds'] + if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if link_status is not None: - pulumi.set(__self__, "link_status", link_status) + _setter("link_status", link_status) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if speed is not None: - pulumi.set(__self__, "speed", speed) + _setter("speed", speed) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if virtual_circuit_ids is not None: - pulumi.set(__self__, "virtual_circuit_ids", virtual_circuit_ids) + _setter("virtual_circuit_ids", virtual_circuit_ids) @property @pulumi.getter @@ -456,18 +584,43 @@ def __init__(__self__, *, """ :param pulumi.Input[str] type: Connection type - dedicated or shared. """ + InterconnectionServiceTokenArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + expires_at=expires_at, + id=id, + max_allowed_speed=max_allowed_speed, + role=role, + state=state, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expires_at: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + max_allowed_speed: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'expiresAt' in kwargs: + expires_at = kwargs['expiresAt'] + if 'maxAllowedSpeed' in kwargs: + max_allowed_speed = kwargs['maxAllowedSpeed'] + if expires_at is not None: - pulumi.set(__self__, "expires_at", expires_at) + _setter("expires_at", expires_at) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if max_allowed_speed is not None: - pulumi.set(__self__, "max_allowed_speed", max_allowed_speed) + _setter("max_allowed_speed", max_allowed_speed) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="expiresAt") @@ -542,12 +695,33 @@ def __init__(__self__, *, :param pulumi.Input[str] zip_code: Zip Code. :param pulumi.Input[str] state: State name. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "zip_code", zip_code) + OrganizationAddressArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + city=city, + country=country, + zip_code=zip_code, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: pulumi.Input[str], + city: pulumi.Input[str], + country: pulumi.Input[str], + zip_code: pulumi.Input[str], + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'zipCode' in kwargs: + zip_code = kwargs['zipCode'] + + _setter("address", address) + _setter("city", city) + _setter("country", country) + _setter("zip_code", zip_code) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -626,14 +800,37 @@ def __init__(__self__, *, :param pulumi.Input[str] md5: Password for BGP session in plaintext (not a checksum). :param pulumi.Input[str] status: status of BGP configuration in the project. """ - pulumi.set(__self__, "asn", asn) - pulumi.set(__self__, "deployment_type", deployment_type) + ProjectBgpConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + asn=asn, + deployment_type=deployment_type, + max_prefix=max_prefix, + md5=md5, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asn: pulumi.Input[int], + deployment_type: pulumi.Input[str], + max_prefix: Optional[pulumi.Input[int]] = None, + md5: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deploymentType' in kwargs: + deployment_type = kwargs['deploymentType'] + if 'maxPrefix' in kwargs: + max_prefix = kwargs['maxPrefix'] + + _setter("asn", asn) + _setter("deployment_type", deployment_type) if max_prefix is not None: - pulumi.set(__self__, "max_prefix", max_prefix) + _setter("max_prefix", max_prefix) if md5 is not None: - pulumi.set(__self__, "md5", md5) + _setter("md5", md5) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -712,38 +909,101 @@ def __init__(__self__, *, locked: Optional[pulumi.Input[bool]] = None, project_ssh_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + termination_time: Optional[pulumi.Input[str]] = None, termintation_time: Optional[pulumi.Input[str]] = None, user_ssh_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, userdata: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[bool] locked: Blocks deletion of the SpotMarketRequest device until the lock is disabled. """ - pulumi.set(__self__, "billing_cycle", billing_cycle) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "plan", plan) + SpotMarketRequestInstanceParametersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_cycle=billing_cycle, + hostname=hostname, + operating_system=operating_system, + plan=plan, + always_pxe=always_pxe, + customdata=customdata, + description=description, + features=features, + ipxe_script_url=ipxe_script_url, + locked=locked, + project_ssh_keys=project_ssh_keys, + tags=tags, + termination_time=termination_time, + termintation_time=termintation_time, + user_ssh_keys=user_ssh_keys, + userdata=userdata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_cycle: pulumi.Input[str], + hostname: pulumi.Input[str], + operating_system: pulumi.Input[str], + plan: pulumi.Input[str], + always_pxe: Optional[pulumi.Input[bool]] = None, + customdata: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + features: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ipxe_script_url: Optional[pulumi.Input[str]] = None, + locked: Optional[pulumi.Input[bool]] = None, + project_ssh_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + termination_time: Optional[pulumi.Input[str]] = None, + termintation_time: Optional[pulumi.Input[str]] = None, + user_ssh_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + userdata: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'billingCycle' in kwargs: + billing_cycle = kwargs['billingCycle'] + if 'operatingSystem' in kwargs: + operating_system = kwargs['operatingSystem'] + if 'alwaysPxe' in kwargs: + always_pxe = kwargs['alwaysPxe'] + if 'ipxeScriptUrl' in kwargs: + ipxe_script_url = kwargs['ipxeScriptUrl'] + if 'projectSshKeys' in kwargs: + project_ssh_keys = kwargs['projectSshKeys'] + if 'terminationTime' in kwargs: + termination_time = kwargs['terminationTime'] + if 'termintationTime' in kwargs: + termintation_time = kwargs['termintationTime'] + if 'userSshKeys' in kwargs: + user_ssh_keys = kwargs['userSshKeys'] + + _setter("billing_cycle", billing_cycle) + _setter("hostname", hostname) + _setter("operating_system", operating_system) + _setter("plan", plan) if always_pxe is not None: - pulumi.set(__self__, "always_pxe", always_pxe) + _setter("always_pxe", always_pxe) if customdata is not None: - pulumi.set(__self__, "customdata", customdata) + _setter("customdata", customdata) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if features is not None: - pulumi.set(__self__, "features", features) + _setter("features", features) if ipxe_script_url is not None: - pulumi.set(__self__, "ipxe_script_url", ipxe_script_url) + _setter("ipxe_script_url", ipxe_script_url) if locked is not None: - pulumi.set(__self__, "locked", locked) + _setter("locked", locked) if project_ssh_keys is not None: - pulumi.set(__self__, "project_ssh_keys", project_ssh_keys) + _setter("project_ssh_keys", project_ssh_keys) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) + if termination_time is not None: + _setter("termination_time", termination_time) if termintation_time is not None: - pulumi.set(__self__, "termintation_time", termintation_time) + warnings.warn("""Use instance_parameters.termination_time instead""", DeprecationWarning) + pulumi.log.warn("""termintation_time is deprecated: Use instance_parameters.termination_time instead""") + if termintation_time is not None: + _setter("termintation_time", termintation_time) if user_ssh_keys is not None: - pulumi.set(__self__, "user_ssh_keys", user_ssh_keys) + _setter("user_ssh_keys", user_ssh_keys) if userdata is not None: - pulumi.set(__self__, "userdata", userdata) + _setter("userdata", userdata) @property @pulumi.getter(name="billingCycle") @@ -856,9 +1116,21 @@ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "tags", value) + @property + @pulumi.getter(name="terminationTime") + def termination_time(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "termination_time") + + @termination_time.setter + def termination_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "termination_time", value) + @property @pulumi.getter(name="termintationTime") def termintation_time(self) -> Optional[pulumi.Input[str]]: + warnings.warn("""Use instance_parameters.termination_time instead""", DeprecationWarning) + pulumi.log.warn("""termintation_time is deprecated: Use instance_parameters.termination_time instead""") + return pulumi.get(self, "termintation_time") @termintation_time.setter @@ -884,6 +1156,145 @@ def userdata(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "userdata", value) +@pulumi.input_type +class GetDevicesFilterArgs: + def __init__(__self__, *, + attribute: str, + values: Sequence[str], + all: Optional[bool] = None, + match_by: Optional[str] = None): + """ + :param str attribute: The attribute used to filter. Filter attributes are case-sensitive + :param Sequence[str] values: The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + :param bool all: If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + + All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + :param str match_by: The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + """ + GetDevicesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute=attribute, + values=values, + all=all, + match_by=match_by, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute: str, + values: Sequence[str], + all: Optional[bool] = None, + match_by: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'matchBy' in kwargs: + match_by = kwargs['matchBy'] + + _setter("attribute", attribute) + _setter("values", values) + if all is not None: + _setter("all", all) + if match_by is not None: + _setter("match_by", match_by) + + @property + @pulumi.getter + def attribute(self) -> str: + """ + The attribute used to filter. Filter attributes are case-sensitive + """ + return pulumi.get(self, "attribute") + + @attribute.setter + def attribute(self, value: str): + pulumi.set(self, "attribute", value) + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + """ + The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + """ + return pulumi.get(self, "values") + + @values.setter + def values(self, value: Sequence[str]): + pulumi.set(self, "values", value) + + @property + @pulumi.getter + def all(self) -> Optional[bool]: + """ + If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + + All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + """ + return pulumi.get(self, "all") + + @all.setter + def all(self, value: Optional[bool]): + pulumi.set(self, "all", value) + + @property + @pulumi.getter(name="matchBy") + def match_by(self) -> Optional[str]: + """ + The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + """ + return pulumi.get(self, "match_by") + + @match_by.setter + def match_by(self, value: Optional[str]): + pulumi.set(self, "match_by", value) + + +@pulumi.input_type +class GetDevicesSortArgs: + def __init__(__self__, *, + attribute: str, + direction: Optional[str] = None): + """ + :param str attribute: The attribute used to filter. Filter attributes are case-sensitive + """ + GetDevicesSortArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute=attribute, + direction=direction, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute: str, + direction: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("attribute", attribute) + if direction is not None: + _setter("direction", direction) + + @property + @pulumi.getter + def attribute(self) -> str: + """ + The attribute used to filter. Filter attributes are case-sensitive + """ + return pulumi.get(self, "attribute") + + @attribute.setter + def attribute(self, value: str): + pulumi.set(self, "attribute", value) + + @property + @pulumi.getter + def direction(self) -> Optional[str]: + return pulumi.get(self, "direction") + + @direction.setter + def direction(self, value: Optional[str]): + pulumi.set(self, "direction", value) + + @pulumi.input_type class GetFacilityCapacityArgs: def __init__(__self__, *, @@ -894,9 +1305,22 @@ def __init__(__self__, *, :param int quantity: Minimun number of devices that must be available in selected location. Default is `1`. """ - pulumi.set(__self__, "plan", plan) + GetFacilityCapacityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + plan=plan, + quantity=quantity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + plan: str, + quantity: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("plan", plan) if quantity is not None: - pulumi.set(__self__, "quantity", quantity) + _setter("quantity", quantity) @property @pulumi.getter @@ -934,9 +1358,22 @@ def __init__(__self__, *, :param int quantity: Minimum number of devices that must be available in selected location. Default is `1`. """ - pulumi.set(__self__, "plan", plan) + GetMetroCapacityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + plan=plan, + quantity=quantity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + plan: str, + quantity: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("plan", plan) if quantity is not None: - pulumi.set(__self__, "quantity", quantity) + _setter("quantity", quantity) @property @pulumi.getter @@ -975,14 +1412,35 @@ def __init__(__self__, *, :param str attribute: The attribute used to filter. Filter attributes are case-sensitive :param Sequence[str] values: The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values :param bool all: If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + + All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. :param str match_by: The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. """ - pulumi.set(__self__, "attribute", attribute) - pulumi.set(__self__, "values", values) + GetPlansFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute=attribute, + values=values, + all=all, + match_by=match_by, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute: str, + values: Sequence[str], + all: Optional[bool] = None, + match_by: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'matchBy' in kwargs: + match_by = kwargs['matchBy'] + + _setter("attribute", attribute) + _setter("values", values) if all is not None: - pulumi.set(__self__, "all", all) + _setter("all", all) if match_by is not None: - pulumi.set(__self__, "match_by", match_by) + _setter("match_by", match_by) @property @pulumi.getter @@ -1013,6 +1471,8 @@ def values(self, value: Sequence[str]): def all(self) -> Optional[bool]: """ If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + + All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. """ return pulumi.get(self, "all") @@ -1042,9 +1502,22 @@ def __init__(__self__, *, :param str attribute: The attribute used to filter. Filter attributes are case-sensitive :param str direction: Sort results in ascending or descending order. Strings are sorted in alphabetical order. One of: asc, desc """ - pulumi.set(__self__, "attribute", attribute) + GetPlansSortArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute=attribute, + direction=direction, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute: str, + direction: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("attribute", attribute) if direction is not None: - pulumi.set(__self__, "direction", direction) + _setter("direction", direction) @property @pulumi.getter diff --git a/sdk/python/pulumi_equinix/metal/bgp_session.py b/sdk/python/pulumi_equinix/metal/bgp_session.py index 63267ea6..c2904947 100644 --- a/sdk/python/pulumi_equinix/metal/bgp_session.py +++ b/sdk/python/pulumi_equinix/metal/bgp_session.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['BgpSessionArgs', 'BgpSession'] @@ -23,10 +23,31 @@ def __init__(__self__, *, :param pulumi.Input[str] device_id: ID of device. :param pulumi.Input[bool] default_route: Boolean flag to set the default route policy. False by default. """ - pulumi.set(__self__, "address_family", address_family) - pulumi.set(__self__, "device_id", device_id) + BgpSessionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_family=address_family, + device_id=device_id, + default_route=default_route, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_family: pulumi.Input[str], + device_id: pulumi.Input[str], + default_route: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'addressFamily' in kwargs: + address_family = kwargs['addressFamily'] + if 'deviceId' in kwargs: + device_id = kwargs['deviceId'] + if 'defaultRoute' in kwargs: + default_route = kwargs['defaultRoute'] + + _setter("address_family", address_family) + _setter("device_id", device_id) if default_route is not None: - pulumi.set(__self__, "default_route", default_route) + _setter("default_route", default_route) @property @pulumi.getter(name="addressFamily") @@ -79,14 +100,37 @@ def __init__(__self__, *, :param pulumi.Input[str] device_id: ID of device. :param pulumi.Input[str] status: Status of the session - `up` or `down` """ + _BgpSessionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_family=address_family, + default_route=default_route, + device_id=device_id, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_family: Optional[pulumi.Input[str]] = None, + default_route: Optional[pulumi.Input[bool]] = None, + device_id: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'addressFamily' in kwargs: + address_family = kwargs['addressFamily'] + if 'defaultRoute' in kwargs: + default_route = kwargs['defaultRoute'] + if 'deviceId' in kwargs: + device_id = kwargs['deviceId'] + if address_family is not None: - pulumi.set(__self__, "address_family", address_family) + _setter("address_family", address_family) if default_route is not None: - pulumi.set(__self__, "default_route", default_route) + _setter("default_route", default_route) if device_id is not None: - pulumi.set(__self__, "device_id", device_id) + _setter("device_id", device_id) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter(name="addressFamily") @@ -208,6 +252,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BgpSessionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/metal/device.py b/sdk/python/pulumi_equinix/metal/device.py index 321ffebd..82da57fa 100644 --- a/sdk/python/pulumi_equinix/metal/device.py +++ b/sdk/python/pulumi_equinix/metal/device.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._enums import * @@ -55,10 +55,11 @@ def __init__(__self__, *, :param pulumi.Input[Union[str, 'BillingCycle']] billing_cycle: monthly or hourly :param pulumi.Input[str] custom_data: A string of the desired Custom Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"custom_data"`, the device will be updated in-place instead of recreated. :param pulumi.Input[str] description: The device description. - :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Facility']]]] facilities: List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - top of the page and see JSON from the API response. Conflicts with metro + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Facility']]]] facilities: List of facility codes with deployment preferences. Equinix Metal API will go + through the list and will deploy your device to first facility with free capacity. List items must + be facility codes or `any` (a wildcard). To find the facility code, visit + [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide :param pulumi.Input[bool] force_detach_volumes: Delete device even if it has volumes attached. Only applies for destroy action. :param pulumi.Input[str] hardware_reservation_id: The UUID of the hardware reservation where you want this device deployed, or next-available if you want to pick your @@ -70,10 +71,7 @@ def __init__(__self__, *, :param pulumi.Input[str] ipxe_script_url: URL pointing to a hosted iPXE script. More information is in the [Custom iPXE](https://metal.equinix.com/developers/docs/servers/custom-ipxe/) doc. :param pulumi.Input[str] metro: Metro area for the new device. Conflicts with `facilities`. - :param pulumi.Input[Sequence[pulumi.Input[str]]] project_ssh_key_ids: Array of IDs of the project SSH keys which should be added to the device. - If you omit this, SSH keys of all the members of the parent project will be added to the device. If - you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - created with the metal.ProjectSshKey resource. + :param pulumi.Input[Sequence[pulumi.Input[str]]] project_ssh_key_ids: Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the metal.ProjectSshKey resource. :param pulumi.Input['DeviceReinstallArgs'] reinstall: Whether the device should be reinstalled instead of destroyed when modifying user_data, custom_data, or operating system. See Reinstall below for more details. @@ -86,57 +84,140 @@ def __init__(__self__, *, :param pulumi.Input[str] termination_time: Timestamp for device termination. For example `2021-09-03T16:32:00+03:00`. If you don't supply timezone info, timestamp is assumed to be in UTC. :param pulumi.Input[str] user_data: A string of the desired User Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"user_data"`, the device will be updated in-place instead of recreated. - :param pulumi.Input[Sequence[pulumi.Input[str]]] user_ssh_key_ids: Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the metal.SshKey resource + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_ssh_key_ids: Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the metal.SshKey resource. :param pulumi.Input[bool] wait_for_reservation_deprovision: Only used for devices in reserved hardware. If set, the deletion of this device will block until the hardware reservation is marked provisionable (about 4 minutes in August 2019). """ - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "plan", plan) - pulumi.set(__self__, "project_id", project_id) + DeviceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + operating_system=operating_system, + plan=plan, + project_id=project_id, + always_pxe=always_pxe, + behavior=behavior, + billing_cycle=billing_cycle, + custom_data=custom_data, + description=description, + facilities=facilities, + force_detach_volumes=force_detach_volumes, + hardware_reservation_id=hardware_reservation_id, + hostname=hostname, + ip_addresses=ip_addresses, + ipxe_script_url=ipxe_script_url, + metro=metro, + project_ssh_key_ids=project_ssh_key_ids, + reinstall=reinstall, + storage=storage, + tags=tags, + termination_time=termination_time, + user_data=user_data, + user_ssh_key_ids=user_ssh_key_ids, + wait_for_reservation_deprovision=wait_for_reservation_deprovision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operating_system: pulumi.Input[Union[str, 'OperatingSystem']], + plan: pulumi.Input[Union[str, 'Plan']], + project_id: pulumi.Input[str], + always_pxe: Optional[pulumi.Input[bool]] = None, + behavior: Optional[pulumi.Input['DeviceBehaviorArgs']] = None, + billing_cycle: Optional[pulumi.Input[Union[str, 'BillingCycle']]] = None, + custom_data: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + facilities: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Facility']]]]] = None, + force_detach_volumes: Optional[pulumi.Input[bool]] = None, + hardware_reservation_id: Optional[pulumi.Input[str]] = None, + hostname: Optional[pulumi.Input[str]] = None, + ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceIpAddressArgs']]]] = None, + ipxe_script_url: Optional[pulumi.Input[str]] = None, + metro: Optional[pulumi.Input[str]] = None, + project_ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + reinstall: Optional[pulumi.Input['DeviceReinstallArgs']] = None, + storage: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + termination_time: Optional[pulumi.Input[str]] = None, + user_data: Optional[pulumi.Input[str]] = None, + user_ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + wait_for_reservation_deprovision: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'operatingSystem' in kwargs: + operating_system = kwargs['operatingSystem'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'alwaysPxe' in kwargs: + always_pxe = kwargs['alwaysPxe'] + if 'billingCycle' in kwargs: + billing_cycle = kwargs['billingCycle'] + if 'customData' in kwargs: + custom_data = kwargs['customData'] + if 'forceDetachVolumes' in kwargs: + force_detach_volumes = kwargs['forceDetachVolumes'] + if 'hardwareReservationId' in kwargs: + hardware_reservation_id = kwargs['hardwareReservationId'] + if 'ipAddresses' in kwargs: + ip_addresses = kwargs['ipAddresses'] + if 'ipxeScriptUrl' in kwargs: + ipxe_script_url = kwargs['ipxeScriptUrl'] + if 'projectSshKeyIds' in kwargs: + project_ssh_key_ids = kwargs['projectSshKeyIds'] + if 'terminationTime' in kwargs: + termination_time = kwargs['terminationTime'] + if 'userData' in kwargs: + user_data = kwargs['userData'] + if 'userSshKeyIds' in kwargs: + user_ssh_key_ids = kwargs['userSshKeyIds'] + if 'waitForReservationDeprovision' in kwargs: + wait_for_reservation_deprovision = kwargs['waitForReservationDeprovision'] + + _setter("operating_system", operating_system) + _setter("plan", plan) + _setter("project_id", project_id) if always_pxe is not None: - pulumi.set(__self__, "always_pxe", always_pxe) + _setter("always_pxe", always_pxe) if behavior is not None: - pulumi.set(__self__, "behavior", behavior) + _setter("behavior", behavior) if billing_cycle is not None: - pulumi.set(__self__, "billing_cycle", billing_cycle) + _setter("billing_cycle", billing_cycle) if custom_data is not None: - pulumi.set(__self__, "custom_data", custom_data) + _setter("custom_data", custom_data) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if facilities is not None: warnings.warn("""Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) pulumi.log.warn("""facilities is deprecated: Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") if facilities is not None: - pulumi.set(__self__, "facilities", facilities) + _setter("facilities", facilities) if force_detach_volumes is not None: - pulumi.set(__self__, "force_detach_volumes", force_detach_volumes) + _setter("force_detach_volumes", force_detach_volumes) if hardware_reservation_id is not None: - pulumi.set(__self__, "hardware_reservation_id", hardware_reservation_id) + _setter("hardware_reservation_id", hardware_reservation_id) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if ip_addresses is not None: - pulumi.set(__self__, "ip_addresses", ip_addresses) + _setter("ip_addresses", ip_addresses) if ipxe_script_url is not None: - pulumi.set(__self__, "ipxe_script_url", ipxe_script_url) + _setter("ipxe_script_url", ipxe_script_url) if metro is not None: - pulumi.set(__self__, "metro", metro) + _setter("metro", metro) if project_ssh_key_ids is not None: - pulumi.set(__self__, "project_ssh_key_ids", project_ssh_key_ids) + _setter("project_ssh_key_ids", project_ssh_key_ids) if reinstall is not None: - pulumi.set(__self__, "reinstall", reinstall) + _setter("reinstall", reinstall) if storage is not None: - pulumi.set(__self__, "storage", storage) + _setter("storage", storage) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if termination_time is not None: - pulumi.set(__self__, "termination_time", termination_time) + _setter("termination_time", termination_time) if user_data is not None: - pulumi.set(__self__, "user_data", user_data) + _setter("user_data", user_data) if user_ssh_key_ids is not None: - pulumi.set(__self__, "user_ssh_key_ids", user_ssh_key_ids) + _setter("user_ssh_key_ids", user_ssh_key_ids) if wait_for_reservation_deprovision is not None: - pulumi.set(__self__, "wait_for_reservation_deprovision", wait_for_reservation_deprovision) + _setter("wait_for_reservation_deprovision", wait_for_reservation_deprovision) @property @pulumi.getter(name="operatingSystem") @@ -243,11 +324,15 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def facilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Facility']]]]]: """ - List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - top of the page and see JSON from the API response. Conflicts with metro + List of facility codes with deployment preferences. Equinix Metal API will go + through the list and will deploy your device to first facility with free capacity. List items must + be facility codes or `any` (a wildcard). To find the facility code, visit + [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facilities is deprecated: Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facilities") @facilities.setter @@ -335,10 +420,7 @@ def metro(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectSshKeyIds") def project_ssh_key_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Array of IDs of the project SSH keys which should be added to the device. - If you omit this, SSH keys of all the members of the parent project will be added to the device. If - you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - created with the metal.ProjectSshKey resource. + Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the metal.ProjectSshKey resource. """ return pulumi.get(self, "project_ssh_key_ids") @@ -417,7 +499,7 @@ def user_data(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="userSshKeyIds") def user_ssh_key_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the metal.SshKey resource + Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the metal.SshKey resource. """ return pulumi.get(self, "user_ssh_key_ids") @@ -491,14 +573,15 @@ def __init__(__self__, *, :param pulumi.Input[Union[str, 'BillingCycle']] billing_cycle: monthly or hourly :param pulumi.Input[str] created: The timestamp for when the device was created. :param pulumi.Input[str] custom_data: A string of the desired Custom Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"custom_data"`, the device will be updated in-place instead of recreated. - :param pulumi.Input[str] deployed_facility: The facility where the device is deployed + :param pulumi.Input[str] deployed_facility: (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide :param pulumi.Input[str] deployed_hardware_reservation_id: ID of hardware reservation where this device was deployed. It is useful when using the `next-available` hardware reservation. :param pulumi.Input[str] description: The device description. - :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Facility']]]] facilities: List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - top of the page and see JSON from the API response. Conflicts with metro + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Facility']]]] facilities: List of facility codes with deployment preferences. Equinix Metal API will go + through the list and will deploy your device to first facility with free capacity. List items must + be facility codes or `any` (a wildcard). To find the facility code, visit + [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide :param pulumi.Input[bool] force_detach_volumes: Delete device even if it has volumes attached. Only applies for destroy action. :param pulumi.Input[str] hardware_reservation_id: The UUID of the hardware reservation where you want this device deployed, or next-available if you want to pick your @@ -529,10 +612,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DevicePortArgs']]] ports: List of ports assigned to the device. See Ports Attribute below for more details. :param pulumi.Input[str] project_id: The ID of the project in which to create the device - :param pulumi.Input[Sequence[pulumi.Input[str]]] project_ssh_key_ids: Array of IDs of the project SSH keys which should be added to the device. - If you omit this, SSH keys of all the members of the parent project will be added to the device. If - you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - created with the metal.ProjectSshKey resource. + :param pulumi.Input[Sequence[pulumi.Input[str]]] project_ssh_key_ids: Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the metal.ProjectSshKey resource. :param pulumi.Input['DeviceReinstallArgs'] reinstall: Whether the device should be reinstalled instead of destroyed when modifying user_data, custom_data, or operating system. See Reinstall below for more details. @@ -549,94 +629,221 @@ def __init__(__self__, *, If you don't supply timezone info, timestamp is assumed to be in UTC. :param pulumi.Input[str] updated: The timestamp for the last time the device was updated. :param pulumi.Input[str] user_data: A string of the desired User Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"user_data"`, the device will be updated in-place instead of recreated. - :param pulumi.Input[Sequence[pulumi.Input[str]]] user_ssh_key_ids: Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the metal.SshKey resource + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_ssh_key_ids: Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the metal.SshKey resource. :param pulumi.Input[bool] wait_for_reservation_deprovision: Only used for devices in reserved hardware. If set, the deletion of this device will block until the hardware reservation is marked provisionable (about 4 minutes in August 2019). """ + _DeviceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_private_ipv4=access_private_ipv4, + access_public_ipv4=access_public_ipv4, + access_public_ipv6=access_public_ipv6, + always_pxe=always_pxe, + behavior=behavior, + billing_cycle=billing_cycle, + created=created, + custom_data=custom_data, + deployed_facility=deployed_facility, + deployed_hardware_reservation_id=deployed_hardware_reservation_id, + description=description, + facilities=facilities, + force_detach_volumes=force_detach_volumes, + hardware_reservation_id=hardware_reservation_id, + hostname=hostname, + ip_addresses=ip_addresses, + ipxe_script_url=ipxe_script_url, + locked=locked, + metro=metro, + network=network, + network_type=network_type, + operating_system=operating_system, + plan=plan, + ports=ports, + project_id=project_id, + project_ssh_key_ids=project_ssh_key_ids, + reinstall=reinstall, + root_password=root_password, + ssh_key_ids=ssh_key_ids, + state=state, + storage=storage, + tags=tags, + termination_time=termination_time, + updated=updated, + user_data=user_data, + user_ssh_key_ids=user_ssh_key_ids, + wait_for_reservation_deprovision=wait_for_reservation_deprovision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_private_ipv4: Optional[pulumi.Input[str]] = None, + access_public_ipv4: Optional[pulumi.Input[str]] = None, + access_public_ipv6: Optional[pulumi.Input[str]] = None, + always_pxe: Optional[pulumi.Input[bool]] = None, + behavior: Optional[pulumi.Input['DeviceBehaviorArgs']] = None, + billing_cycle: Optional[pulumi.Input[Union[str, 'BillingCycle']]] = None, + created: Optional[pulumi.Input[str]] = None, + custom_data: Optional[pulumi.Input[str]] = None, + deployed_facility: Optional[pulumi.Input[str]] = None, + deployed_hardware_reservation_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + facilities: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Facility']]]]] = None, + force_detach_volumes: Optional[pulumi.Input[bool]] = None, + hardware_reservation_id: Optional[pulumi.Input[str]] = None, + hostname: Optional[pulumi.Input[str]] = None, + ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceIpAddressArgs']]]] = None, + ipxe_script_url: Optional[pulumi.Input[str]] = None, + locked: Optional[pulumi.Input[bool]] = None, + metro: Optional[pulumi.Input[str]] = None, + network: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceNetworkArgs']]]] = None, + network_type: Optional[pulumi.Input[Union[str, 'NetworkType']]] = None, + operating_system: Optional[pulumi.Input[Union[str, 'OperatingSystem']]] = None, + plan: Optional[pulumi.Input[Union[str, 'Plan']]] = None, + ports: Optional[pulumi.Input[Sequence[pulumi.Input['DevicePortArgs']]]] = None, + project_id: Optional[pulumi.Input[str]] = None, + project_ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + reinstall: Optional[pulumi.Input['DeviceReinstallArgs']] = None, + root_password: Optional[pulumi.Input[str]] = None, + ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + storage: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + termination_time: Optional[pulumi.Input[str]] = None, + updated: Optional[pulumi.Input[str]] = None, + user_data: Optional[pulumi.Input[str]] = None, + user_ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + wait_for_reservation_deprovision: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPrivateIpv4' in kwargs: + access_private_ipv4 = kwargs['accessPrivateIpv4'] + if 'accessPublicIpv4' in kwargs: + access_public_ipv4 = kwargs['accessPublicIpv4'] + if 'accessPublicIpv6' in kwargs: + access_public_ipv6 = kwargs['accessPublicIpv6'] + if 'alwaysPxe' in kwargs: + always_pxe = kwargs['alwaysPxe'] + if 'billingCycle' in kwargs: + billing_cycle = kwargs['billingCycle'] + if 'customData' in kwargs: + custom_data = kwargs['customData'] + if 'deployedFacility' in kwargs: + deployed_facility = kwargs['deployedFacility'] + if 'deployedHardwareReservationId' in kwargs: + deployed_hardware_reservation_id = kwargs['deployedHardwareReservationId'] + if 'forceDetachVolumes' in kwargs: + force_detach_volumes = kwargs['forceDetachVolumes'] + if 'hardwareReservationId' in kwargs: + hardware_reservation_id = kwargs['hardwareReservationId'] + if 'ipAddresses' in kwargs: + ip_addresses = kwargs['ipAddresses'] + if 'ipxeScriptUrl' in kwargs: + ipxe_script_url = kwargs['ipxeScriptUrl'] + if 'networkType' in kwargs: + network_type = kwargs['networkType'] + if 'operatingSystem' in kwargs: + operating_system = kwargs['operatingSystem'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'projectSshKeyIds' in kwargs: + project_ssh_key_ids = kwargs['projectSshKeyIds'] + if 'rootPassword' in kwargs: + root_password = kwargs['rootPassword'] + if 'sshKeyIds' in kwargs: + ssh_key_ids = kwargs['sshKeyIds'] + if 'terminationTime' in kwargs: + termination_time = kwargs['terminationTime'] + if 'userData' in kwargs: + user_data = kwargs['userData'] + if 'userSshKeyIds' in kwargs: + user_ssh_key_ids = kwargs['userSshKeyIds'] + if 'waitForReservationDeprovision' in kwargs: + wait_for_reservation_deprovision = kwargs['waitForReservationDeprovision'] + if access_private_ipv4 is not None: - pulumi.set(__self__, "access_private_ipv4", access_private_ipv4) + _setter("access_private_ipv4", access_private_ipv4) if access_public_ipv4 is not None: - pulumi.set(__self__, "access_public_ipv4", access_public_ipv4) + _setter("access_public_ipv4", access_public_ipv4) if access_public_ipv6 is not None: - pulumi.set(__self__, "access_public_ipv6", access_public_ipv6) + _setter("access_public_ipv6", access_public_ipv6) if always_pxe is not None: - pulumi.set(__self__, "always_pxe", always_pxe) + _setter("always_pxe", always_pxe) if behavior is not None: - pulumi.set(__self__, "behavior", behavior) + _setter("behavior", behavior) if billing_cycle is not None: - pulumi.set(__self__, "billing_cycle", billing_cycle) + _setter("billing_cycle", billing_cycle) if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if custom_data is not None: - pulumi.set(__self__, "custom_data", custom_data) + _setter("custom_data", custom_data) if deployed_facility is not None: warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) pulumi.log.warn("""deployed_facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") if deployed_facility is not None: - pulumi.set(__self__, "deployed_facility", deployed_facility) + _setter("deployed_facility", deployed_facility) if deployed_hardware_reservation_id is not None: - pulumi.set(__self__, "deployed_hardware_reservation_id", deployed_hardware_reservation_id) + _setter("deployed_hardware_reservation_id", deployed_hardware_reservation_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if facilities is not None: warnings.warn("""Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) pulumi.log.warn("""facilities is deprecated: Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") if facilities is not None: - pulumi.set(__self__, "facilities", facilities) + _setter("facilities", facilities) if force_detach_volumes is not None: - pulumi.set(__self__, "force_detach_volumes", force_detach_volumes) + _setter("force_detach_volumes", force_detach_volumes) if hardware_reservation_id is not None: - pulumi.set(__self__, "hardware_reservation_id", hardware_reservation_id) + _setter("hardware_reservation_id", hardware_reservation_id) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if ip_addresses is not None: - pulumi.set(__self__, "ip_addresses", ip_addresses) + _setter("ip_addresses", ip_addresses) if ipxe_script_url is not None: - pulumi.set(__self__, "ipxe_script_url", ipxe_script_url) + _setter("ipxe_script_url", ipxe_script_url) if locked is not None: - pulumi.set(__self__, "locked", locked) + _setter("locked", locked) if metro is not None: - pulumi.set(__self__, "metro", metro) + _setter("metro", metro) if network is not None: - pulumi.set(__self__, "network", network) + _setter("network", network) if network_type is not None: warnings.warn("""You should handle Network Type with one of 'equinix_metal_port' or 'equinix_metal_device_network_type' resources. See section 'Guides' for more info""", DeprecationWarning) pulumi.log.warn("""network_type is deprecated: You should handle Network Type with one of 'equinix_metal_port' or 'equinix_metal_device_network_type' resources. See section 'Guides' for more info""") if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if operating_system is not None: - pulumi.set(__self__, "operating_system", operating_system) + _setter("operating_system", operating_system) if plan is not None: - pulumi.set(__self__, "plan", plan) + _setter("plan", plan) if ports is not None: - pulumi.set(__self__, "ports", ports) + _setter("ports", ports) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if project_ssh_key_ids is not None: - pulumi.set(__self__, "project_ssh_key_ids", project_ssh_key_ids) + _setter("project_ssh_key_ids", project_ssh_key_ids) if reinstall is not None: - pulumi.set(__self__, "reinstall", reinstall) + _setter("reinstall", reinstall) if root_password is not None: - pulumi.set(__self__, "root_password", root_password) + _setter("root_password", root_password) if ssh_key_ids is not None: - pulumi.set(__self__, "ssh_key_ids", ssh_key_ids) + _setter("ssh_key_ids", ssh_key_ids) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if storage is not None: - pulumi.set(__self__, "storage", storage) + _setter("storage", storage) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if termination_time is not None: - pulumi.set(__self__, "termination_time", termination_time) + _setter("termination_time", termination_time) if updated is not None: - pulumi.set(__self__, "updated", updated) + _setter("updated", updated) if user_data is not None: - pulumi.set(__self__, "user_data", user_data) + _setter("user_data", user_data) if user_ssh_key_ids is not None: - pulumi.set(__self__, "user_ssh_key_ids", user_ssh_key_ids) + _setter("user_ssh_key_ids", user_ssh_key_ids) if wait_for_reservation_deprovision is not None: - pulumi.set(__self__, "wait_for_reservation_deprovision", wait_for_reservation_deprovision) + _setter("wait_for_reservation_deprovision", wait_for_reservation_deprovision) @property @pulumi.getter(name="accessPrivateIpv4") @@ -739,8 +946,11 @@ def custom_data(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="deployedFacility") def deployed_facility(self) -> Optional[pulumi.Input[str]]: """ - The facility where the device is deployed + (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""deployed_facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "deployed_facility") @deployed_facility.setter @@ -776,11 +986,15 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def facilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'Facility']]]]]: """ - List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - top of the page and see JSON from the API response. Conflicts with metro + List of facility codes with deployment preferences. Equinix Metal API will go + through the list and will deploy your device to first facility with free capacity. List items must + be facility codes or `any` (a wildcard). To find the facility code, visit + [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facilities is deprecated: Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facilities") @facilities.setter @@ -901,6 +1115,9 @@ def network_type(self) -> Optional[pulumi.Input[Union[str, 'NetworkType']]]: metal.Port datasource. See network_types guide for more info. """ + warnings.warn("""You should handle Network Type with one of 'equinix_metal_port' or 'equinix_metal_device_network_type' resources. See section 'Guides' for more info""", DeprecationWarning) + pulumi.log.warn("""network_type is deprecated: You should handle Network Type with one of 'equinix_metal_port' or 'equinix_metal_device_network_type' resources. See section 'Guides' for more info""") + return pulumi.get(self, "network_type") @network_type.setter @@ -964,10 +1181,7 @@ def project_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectSshKeyIds") def project_ssh_key_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Array of IDs of the project SSH keys which should be added to the device. - If you omit this, SSH keys of all the members of the parent project will be added to the device. If - you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - created with the metal.ProjectSshKey resource. + Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the metal.ProjectSshKey resource. """ return pulumi.get(self, "project_ssh_key_ids") @@ -1094,7 +1308,7 @@ def user_data(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="userSshKeyIds") def user_ssh_key_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the metal.SshKey resource + Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the metal.SshKey resource. """ return pulumi.get(self, "user_ssh_key_ids") @@ -1183,10 +1397,11 @@ def __init__(__self__, :param pulumi.Input[Union[str, 'BillingCycle']] billing_cycle: monthly or hourly :param pulumi.Input[str] custom_data: A string of the desired Custom Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"custom_data"`, the device will be updated in-place instead of recreated. :param pulumi.Input[str] description: The device description. - :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Facility']]]] facilities: List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - top of the page and see JSON from the API response. Conflicts with metro + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Facility']]]] facilities: List of facility codes with deployment preferences. Equinix Metal API will go + through the list and will deploy your device to first facility with free capacity. List items must + be facility codes or `any` (a wildcard). To find the facility code, visit + [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide :param pulumi.Input[bool] force_detach_volumes: Delete device even if it has volumes attached. Only applies for destroy action. :param pulumi.Input[str] hardware_reservation_id: The UUID of the hardware reservation where you want this device deployed, or next-available if you want to pick your @@ -1205,10 +1420,7 @@ def __init__(__self__, [Device plans API docs](https://metal.equinix.com/developers/api/plans), set your auth token in the top of the page and see JSON from the API response. :param pulumi.Input[str] project_id: The ID of the project in which to create the device - :param pulumi.Input[Sequence[pulumi.Input[str]]] project_ssh_key_ids: Array of IDs of the project SSH keys which should be added to the device. - If you omit this, SSH keys of all the members of the parent project will be added to the device. If - you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - created with the metal.ProjectSshKey resource. + :param pulumi.Input[Sequence[pulumi.Input[str]]] project_ssh_key_ids: Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the metal.ProjectSshKey resource. :param pulumi.Input[pulumi.InputType['DeviceReinstallArgs']] reinstall: Whether the device should be reinstalled instead of destroyed when modifying user_data, custom_data, or operating system. See Reinstall below for more details. @@ -1221,7 +1433,7 @@ def __init__(__self__, :param pulumi.Input[str] termination_time: Timestamp for device termination. For example `2021-09-03T16:32:00+03:00`. If you don't supply timezone info, timestamp is assumed to be in UTC. :param pulumi.Input[str] user_data: A string of the desired User Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"user_data"`, the device will be updated in-place instead of recreated. - :param pulumi.Input[Sequence[pulumi.Input[str]]] user_ssh_key_ids: Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the metal.SshKey resource + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_ssh_key_ids: Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the metal.SshKey resource. :param pulumi.Input[bool] wait_for_reservation_deprovision: Only used for devices in reserved hardware. If set, the deletion of this device will block until the hardware reservation is marked provisionable (about 4 minutes in August 2019). @@ -1271,6 +1483,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DeviceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1309,13 +1525,15 @@ def _internal_init(__self__, __props__ = DeviceArgs.__new__(DeviceArgs) __props__.__dict__["always_pxe"] = always_pxe + if behavior is not None and not isinstance(behavior, DeviceBehaviorArgs): + behavior = behavior or {} + def _setter(key, value): + behavior[key] = value + DeviceBehaviorArgs._configure(_setter, **behavior) __props__.__dict__["behavior"] = behavior __props__.__dict__["billing_cycle"] = billing_cycle __props__.__dict__["custom_data"] = None if custom_data is None else pulumi.Output.secret(custom_data) __props__.__dict__["description"] = description - if facilities is not None and not opts.urn: - warnings.warn("""Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) - pulumi.log.warn("""facilities is deprecated: Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") __props__.__dict__["facilities"] = facilities __props__.__dict__["force_detach_volumes"] = force_detach_volumes __props__.__dict__["hardware_reservation_id"] = hardware_reservation_id @@ -1333,6 +1551,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id __props__.__dict__["project_ssh_key_ids"] = project_ssh_key_ids + if reinstall is not None and not isinstance(reinstall, DeviceReinstallArgs): + reinstall = reinstall or {} + def _setter(key, value): + reinstall[key] = value + DeviceReinstallArgs._configure(_setter, **reinstall) __props__.__dict__["reinstall"] = reinstall __props__.__dict__["storage"] = storage __props__.__dict__["tags"] = tags @@ -1419,14 +1642,15 @@ def get(resource_name: str, :param pulumi.Input[Union[str, 'BillingCycle']] billing_cycle: monthly or hourly :param pulumi.Input[str] created: The timestamp for when the device was created. :param pulumi.Input[str] custom_data: A string of the desired Custom Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"custom_data"`, the device will be updated in-place instead of recreated. - :param pulumi.Input[str] deployed_facility: The facility where the device is deployed + :param pulumi.Input[str] deployed_facility: (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide :param pulumi.Input[str] deployed_hardware_reservation_id: ID of hardware reservation where this device was deployed. It is useful when using the `next-available` hardware reservation. :param pulumi.Input[str] description: The device description. - :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Facility']]]] facilities: List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - top of the page and see JSON from the API response. Conflicts with metro + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'Facility']]]] facilities: List of facility codes with deployment preferences. Equinix Metal API will go + through the list and will deploy your device to first facility with free capacity. List items must + be facility codes or `any` (a wildcard). To find the facility code, visit + [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide :param pulumi.Input[bool] force_detach_volumes: Delete device even if it has volumes attached. Only applies for destroy action. :param pulumi.Input[str] hardware_reservation_id: The UUID of the hardware reservation where you want this device deployed, or next-available if you want to pick your @@ -1457,10 +1681,7 @@ def get(resource_name: str, :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DevicePortArgs']]]] ports: List of ports assigned to the device. See Ports Attribute below for more details. :param pulumi.Input[str] project_id: The ID of the project in which to create the device - :param pulumi.Input[Sequence[pulumi.Input[str]]] project_ssh_key_ids: Array of IDs of the project SSH keys which should be added to the device. - If you omit this, SSH keys of all the members of the parent project will be added to the device. If - you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - created with the metal.ProjectSshKey resource. + :param pulumi.Input[Sequence[pulumi.Input[str]]] project_ssh_key_ids: Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the metal.ProjectSshKey resource. :param pulumi.Input[pulumi.InputType['DeviceReinstallArgs']] reinstall: Whether the device should be reinstalled instead of destroyed when modifying user_data, custom_data, or operating system. See Reinstall below for more details. @@ -1477,7 +1698,7 @@ def get(resource_name: str, If you don't supply timezone info, timestamp is assumed to be in UTC. :param pulumi.Input[str] updated: The timestamp for the last time the device was updated. :param pulumi.Input[str] user_data: A string of the desired User Data for the device. By default, changing this attribute will cause the provider to destroy and recreate your device. If `reinstall` is specified or `behavior.allow_changes` includes `"user_data"`, the device will be updated in-place instead of recreated. - :param pulumi.Input[Sequence[pulumi.Input[str]]] user_ssh_key_ids: Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the metal.SshKey resource + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_ssh_key_ids: Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the metal.SshKey resource. :param pulumi.Input[bool] wait_for_reservation_deprovision: Only used for devices in reserved hardware. If set, the deletion of this device will block until the hardware reservation is marked provisionable (about 4 minutes in August 2019). @@ -1594,8 +1815,11 @@ def custom_data(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="deployedFacility") def deployed_facility(self) -> pulumi.Output[str]: """ - The facility where the device is deployed + (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""deployed_facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "deployed_facility") @property @@ -1619,11 +1843,15 @@ def description(self) -> pulumi.Output[Optional[str]]: @pulumi.getter def facilities(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - List of facility codes with deployment preferences. Equinix Metal API will go through the list and will deploy your - device to first facility with free capacity. List items must be facility codes or any (a wildcard). To find the facility - code, visit [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth token in the - top of the page and see JSON from the API response. Conflicts with metro + List of facility codes with deployment preferences. Equinix Metal API will go + through the list and will deploy your device to first facility with free capacity. List items must + be facility codes or `any` (a wildcard). To find the facility code, visit + [Facilities API docs](https://metal.equinix.com/developers/api/facilities/), set your API auth + token in the top of the page and see JSON from the API response. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facilities is deprecated: Use metro instead of facilities. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facilities") @property @@ -1708,6 +1936,9 @@ def network_type(self) -> pulumi.Output[str]: metal.Port datasource. See network_types guide for more info. """ + warnings.warn("""You should handle Network Type with one of 'equinix_metal_port' or 'equinix_metal_device_network_type' resources. See section 'Guides' for more info""", DeprecationWarning) + pulumi.log.warn("""network_type is deprecated: You should handle Network Type with one of 'equinix_metal_port' or 'equinix_metal_device_network_type' resources. See section 'Guides' for more info""") + return pulumi.get(self, "network_type") @property @@ -1751,10 +1982,7 @@ def project_id(self) -> pulumi.Output[str]: @pulumi.getter(name="projectSshKeyIds") def project_ssh_key_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - Array of IDs of the project SSH keys which should be added to the device. - If you omit this, SSH keys of all the members of the parent project will be added to the device. If - you specify this array, only the listed project SSH keys will be added. Project SSH keys can be - created with the metal.ProjectSshKey resource. + Array of IDs of the project SSH keys which should be added to the device. If you specify this array, only the listed project SSH keys (and any SSH keys for the users specified in user_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. Project SSH keys can be created with the metal.ProjectSshKey resource. """ return pulumi.get(self, "project_ssh_key_ids") @@ -1841,7 +2069,7 @@ def user_data(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="userSshKeyIds") def user_ssh_key_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - Array of IDs of the user SSH keys which should be added to the device. If you omit this, SSH keys of all the members of the parent project will be added to the device. If you specify this array, only the listed user SSH keys (and any project_ssh_key_ids) will be added. User SSH keys can be created with the metal.SshKey resource + Array of IDs of the users whose SSH keys should be added to the device. If you specify this array, only the listed users' SSH keys (and any project SSH keys specified in project_ssh_key_ids) will be added. If no SSH keys are specified (both user_ssh_keys_ids and project_ssh_key_ids are empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. User SSH keys can be created with the metal.SshKey resource. """ return pulumi.get(self, "user_ssh_key_ids") diff --git a/sdk/python/pulumi_equinix/metal/device_network_type.py b/sdk/python/pulumi_equinix/metal/device_network_type.py index 31bf1b8e..991688ba 100644 --- a/sdk/python/pulumi_equinix/metal/device_network_type.py +++ b/sdk/python/pulumi_equinix/metal/device_network_type.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DeviceNetworkTypeArgs', 'DeviceNetworkType'] @@ -22,8 +22,23 @@ def __init__(__self__, *, :param pulumi.Input[str] type: Network type to set. Must be one of `layer3`, `hybrid`, `hybrid-bonded`, `layer2-individual` and `layer2-bonded`. """ - pulumi.set(__self__, "device_id", device_id) - pulumi.set(__self__, "type", type) + DeviceNetworkTypeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + device_id=device_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device_id: pulumi.Input[str], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deviceId' in kwargs: + device_id = kwargs['deviceId'] + + _setter("device_id", device_id) + _setter("type", type) @property @pulumi.getter(name="deviceId") @@ -62,10 +77,25 @@ def __init__(__self__, *, :param pulumi.Input[str] type: Network type to set. Must be one of `layer3`, `hybrid`, `hybrid-bonded`, `layer2-individual` and `layer2-bonded`. """ + _DeviceNetworkTypeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + device_id=device_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device_id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deviceId' in kwargs: + device_id = kwargs['deviceId'] + if device_id is not None: - pulumi.set(__self__, "device_id", device_id) + _setter("device_id", device_id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="deviceId") @@ -165,6 +195,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DeviceNetworkTypeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/metal/gateway.py b/sdk/python/pulumi_equinix/metal/gateway.py index dd6c5485..002a234d 100644 --- a/sdk/python/pulumi_equinix/metal/gateway.py +++ b/sdk/python/pulumi_equinix/metal/gateway.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['GatewayArgs', 'Gateway'] @@ -27,12 +27,37 @@ def __init__(__self__, *, :param pulumi.Input[int] private_ipv4_subnet_size: Size of the private IPv4 subnet to create for this metal gateway, must be one of `8`, `16`, `32`, `64`, `128`. Conflicts with `ip_reservation_id`. """ - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "vlan_id", vlan_id) + GatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + project_id=project_id, + vlan_id=vlan_id, + ip_reservation_id=ip_reservation_id, + private_ipv4_subnet_size=private_ipv4_subnet_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + project_id: pulumi.Input[str], + vlan_id: pulumi.Input[str], + ip_reservation_id: Optional[pulumi.Input[str]] = None, + private_ipv4_subnet_size: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'vlanId' in kwargs: + vlan_id = kwargs['vlanId'] + if 'ipReservationId' in kwargs: + ip_reservation_id = kwargs['ipReservationId'] + if 'privateIpv4SubnetSize' in kwargs: + private_ipv4_subnet_size = kwargs['privateIpv4SubnetSize'] + + _setter("project_id", project_id) + _setter("vlan_id", vlan_id) if ip_reservation_id is not None: - pulumi.set(__self__, "ip_reservation_id", ip_reservation_id) + _setter("ip_reservation_id", ip_reservation_id) if private_ipv4_subnet_size is not None: - pulumi.set(__self__, "private_ipv4_subnet_size", private_ipv4_subnet_size) + _setter("private_ipv4_subnet_size", private_ipv4_subnet_size) @property @pulumi.getter(name="projectId") @@ -105,18 +130,49 @@ def __init__(__self__, *, :param pulumi.Input[str] vlan_id: UUID of the VLAN where the gateway is scoped to. :param pulumi.Input[str] vrf_id: UUID of the VRF associated with the IP Reservation """ + _GatewayState._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_reservation_id=ip_reservation_id, + private_ipv4_subnet_size=private_ipv4_subnet_size, + project_id=project_id, + state=state, + vlan_id=vlan_id, + vrf_id=vrf_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_reservation_id: Optional[pulumi.Input[str]] = None, + private_ipv4_subnet_size: Optional[pulumi.Input[int]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + vrf_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ipReservationId' in kwargs: + ip_reservation_id = kwargs['ipReservationId'] + if 'privateIpv4SubnetSize' in kwargs: + private_ipv4_subnet_size = kwargs['privateIpv4SubnetSize'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'vlanId' in kwargs: + vlan_id = kwargs['vlanId'] + if 'vrfId' in kwargs: + vrf_id = kwargs['vrfId'] + if ip_reservation_id is not None: - pulumi.set(__self__, "ip_reservation_id", ip_reservation_id) + _setter("ip_reservation_id", ip_reservation_id) if private_ipv4_subnet_size is not None: - pulumi.set(__self__, "private_ipv4_subnet_size", private_ipv4_subnet_size) + _setter("private_ipv4_subnet_size", private_ipv4_subnet_size) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vrf_id is not None: - pulumi.set(__self__, "vrf_id", vrf_id) + _setter("vrf_id", vrf_id) @property @pulumi.getter(name="ipReservationId") @@ -268,6 +324,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + GatewayArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/metal/get_device.py b/sdk/python/pulumi_equinix/metal/get_device.py index 83f523e0..fbc1afe6 100644 --- a/sdk/python/pulumi_equinix/metal/get_device.py +++ b/sdk/python/pulumi_equinix/metal/get_device.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -46,10 +46,6 @@ def __init__(__self__, access_private_ipv4=None, access_public_ipv4=None, access pulumi.set(__self__, "device_id", device_id) if facility and not isinstance(facility, str): raise TypeError("Expected argument 'facility' to be a str") - if facility is not None: - warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) - pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") - pulumi.set(__self__, "facility", facility) if hardware_reservation_id and not isinstance(hardware_reservation_id, str): raise TypeError("Expected argument 'hardware_reservation_id' to be a str") @@ -153,6 +149,12 @@ def device_id(self) -> str: @property @pulumi.getter def facility(self) -> str: + """ + (**Deprecated**) The facility where the device is deployed. Use metro instead; read the facility to metro migration guide + """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facility") @property @@ -312,7 +314,9 @@ def get_device(device_id: Optional[str] = None, project_id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDeviceResult: """ - Provides an Equinix Metal device datasource. + The datasource can be used to fetch a single device. + + If you need to fetch a list of devices which meet filter criteria, you can use the metal_get_devices datasource. > **Note:** All arguments including the `root_password` and `user_data` will be stored in the raw state as plain-text. @@ -339,6 +343,8 @@ def get_device(device_id: Optional[str] = None, :param str device_id: Device ID. + + > **NOTE:** You should pass either `device_id`, or both `project_id` and `hostname`. :param str hostname: The device name. :param str project_id: The id of the project in which the devices exists. """ @@ -350,30 +356,30 @@ def get_device(device_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getDevice:getDevice', __args__, opts=opts, typ=GetDeviceResult).value return AwaitableGetDeviceResult( - access_private_ipv4=__ret__.access_private_ipv4, - access_public_ipv4=__ret__.access_public_ipv4, - access_public_ipv6=__ret__.access_public_ipv6, - always_pxe=__ret__.always_pxe, - billing_cycle=__ret__.billing_cycle, - description=__ret__.description, - device_id=__ret__.device_id, - facility=__ret__.facility, - hardware_reservation_id=__ret__.hardware_reservation_id, - hostname=__ret__.hostname, - id=__ret__.id, - ipxe_script_url=__ret__.ipxe_script_url, - metro=__ret__.metro, - network_type=__ret__.network_type, - networks=__ret__.networks, - operating_system=__ret__.operating_system, - plan=__ret__.plan, - ports=__ret__.ports, - project_id=__ret__.project_id, - root_password=__ret__.root_password, - ssh_key_ids=__ret__.ssh_key_ids, - state=__ret__.state, - storage=__ret__.storage, - tags=__ret__.tags) + access_private_ipv4=pulumi.get(__ret__, 'access_private_ipv4'), + access_public_ipv4=pulumi.get(__ret__, 'access_public_ipv4'), + access_public_ipv6=pulumi.get(__ret__, 'access_public_ipv6'), + always_pxe=pulumi.get(__ret__, 'always_pxe'), + billing_cycle=pulumi.get(__ret__, 'billing_cycle'), + description=pulumi.get(__ret__, 'description'), + device_id=pulumi.get(__ret__, 'device_id'), + facility=pulumi.get(__ret__, 'facility'), + hardware_reservation_id=pulumi.get(__ret__, 'hardware_reservation_id'), + hostname=pulumi.get(__ret__, 'hostname'), + id=pulumi.get(__ret__, 'id'), + ipxe_script_url=pulumi.get(__ret__, 'ipxe_script_url'), + metro=pulumi.get(__ret__, 'metro'), + network_type=pulumi.get(__ret__, 'network_type'), + networks=pulumi.get(__ret__, 'networks'), + operating_system=pulumi.get(__ret__, 'operating_system'), + plan=pulumi.get(__ret__, 'plan'), + ports=pulumi.get(__ret__, 'ports'), + project_id=pulumi.get(__ret__, 'project_id'), + root_password=pulumi.get(__ret__, 'root_password'), + ssh_key_ids=pulumi.get(__ret__, 'ssh_key_ids'), + state=pulumi.get(__ret__, 'state'), + storage=pulumi.get(__ret__, 'storage'), + tags=pulumi.get(__ret__, 'tags')) @_utilities.lift_output_func(get_device) @@ -382,7 +388,9 @@ def get_device_output(device_id: Optional[pulumi.Input[Optional[str]]] = None, project_id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeviceResult]: """ - Provides an Equinix Metal device datasource. + The datasource can be used to fetch a single device. + + If you need to fetch a list of devices which meet filter criteria, you can use the metal_get_devices datasource. > **Note:** All arguments including the `root_password` and `user_data` will be stored in the raw state as plain-text. @@ -409,6 +417,8 @@ def get_device_output(device_id: Optional[pulumi.Input[Optional[str]]] = None, :param str device_id: Device ID. + + > **NOTE:** You should pass either `device_id`, or both `project_id` and `hostname`. :param str hostname: The device name. :param str project_id: The id of the project in which the devices exists. """ diff --git a/sdk/python/pulumi_equinix/metal/get_device_bgp_neighbors.py b/sdk/python/pulumi_equinix/metal/get_device_bgp_neighbors.py index 04b55e08..e6790d4f 100644 --- a/sdk/python/pulumi_equinix/metal/get_device_bgp_neighbors.py +++ b/sdk/python/pulumi_equinix/metal/get_device_bgp_neighbors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -96,9 +96,9 @@ def get_device_bgp_neighbors(device_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getDeviceBgpNeighbors:getDeviceBgpNeighbors', __args__, opts=opts, typ=GetDeviceBgpNeighborsResult).value return AwaitableGetDeviceBgpNeighborsResult( - bgp_neighbors=__ret__.bgp_neighbors, - device_id=__ret__.device_id, - id=__ret__.id) + bgp_neighbors=pulumi.get(__ret__, 'bgp_neighbors'), + device_id=pulumi.get(__ret__, 'device_id'), + id=pulumi.get(__ret__, 'id')) @_utilities.lift_output_func(get_device_bgp_neighbors) diff --git a/sdk/python/pulumi_equinix/metal/get_devices.py b/sdk/python/pulumi_equinix/metal/get_devices.py new file mode 100644 index 00000000..46089cb5 --- /dev/null +++ b/sdk/python/pulumi_equinix/metal/get_devices.py @@ -0,0 +1,228 @@ +# 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, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDevicesResult', + 'AwaitableGetDevicesResult', + 'get_devices', + 'get_devices_output', +] + +@pulumi.output_type +class GetDevicesResult: + """ + A collection of values returned by getDevices. + """ + def __init__(__self__, devices=None, filters=None, id=None, organization_id=None, project_id=None, search=None, sorts=None): + if devices and not isinstance(devices, list): + raise TypeError("Expected argument 'devices' to be a list") + pulumi.set(__self__, "devices", devices) + if filters and not isinstance(filters, list): + raise TypeError("Expected argument 'filters' to be a list") + pulumi.set(__self__, "filters", filters) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if organization_id and not isinstance(organization_id, str): + raise TypeError("Expected argument 'organization_id' to be a str") + pulumi.set(__self__, "organization_id", organization_id) + if project_id and not isinstance(project_id, str): + raise TypeError("Expected argument 'project_id' to be a str") + pulumi.set(__self__, "project_id", project_id) + if search and not isinstance(search, str): + raise TypeError("Expected argument 'search' to be a str") + pulumi.set(__self__, "search", search) + if sorts and not isinstance(sorts, list): + raise TypeError("Expected argument 'sorts' to be a list") + pulumi.set(__self__, "sorts", sorts) + + @property + @pulumi.getter + def devices(self) -> Sequence['outputs.GetDevicesDeviceResult']: + """ + list of resources with attributes like in the equninix_metal_device datasources. + """ + return pulumi.get(self, "devices") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetDevicesFilterResult']]: + return pulumi.get(self, "filters") + + @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="organizationId") + def organization_id(self) -> Optional[str]: + return pulumi.get(self, "organization_id") + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> Optional[str]: + return pulumi.get(self, "project_id") + + @property + @pulumi.getter + def search(self) -> Optional[str]: + return pulumi.get(self, "search") + + @property + @pulumi.getter + def sorts(self) -> Optional[Sequence['outputs.GetDevicesSortResult']]: + return pulumi.get(self, "sorts") + + +class AwaitableGetDevicesResult(GetDevicesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDevicesResult( + devices=self.devices, + filters=self.filters, + id=self.id, + organization_id=self.organization_id, + project_id=self.project_id, + search=self.search, + sorts=self.sorts) + + +def get_devices(filters: Optional[Sequence[pulumi.InputType['GetDevicesFilterArgs']]] = None, + organization_id: Optional[str] = None, + project_id: Optional[str] = None, + search: Optional[str] = None, + sorts: Optional[Sequence[pulumi.InputType['GetDevicesSortArgs']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDevicesResult: + """ + The datasource can be used to find a list of devices which meet filter criteria. + + If you need to fetch a single device by ID or by project ID and hostname, use the metal.Device datasource. + + ## Example Usage + + ```python + import pulumi + import pulumi_equinix as equinix + + example = equinix.metal.get_devices(project_id=local["project_id"], + filters=[ + equinix.metal.GetDevicesFilterArgs( + attribute="plan", + values=["c3.small.x86"], + ), + equinix.metal.GetDevicesFilterArgs( + attribute="metro", + values=[ + "da", + "sv", + ], + ), + ]) + pulumi.export("devices", example.devices) + ``` + + ```python + import pulumi + import pulumi_equinix as equinix + + example = equinix.metal.get_devices(search="database") + pulumi.export("devices", example.devices) + ``` + ## search vs filter + + The difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The "filter" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider. + + + :param Sequence[pulumi.InputType['GetDevicesFilterArgs']] filters: One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `metal.Device` datasource. + :param str organization_id: ID of organization containing the devices. + :param str project_id: ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + :param str search: Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + """ + __args__ = dict() + __args__['filters'] = filters + __args__['organizationId'] = organization_id + __args__['projectId'] = project_id + __args__['search'] = search + __args__['sorts'] = sorts + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('equinix:metal/getDevices:getDevices', __args__, opts=opts, typ=GetDevicesResult).value + + return AwaitableGetDevicesResult( + devices=pulumi.get(__ret__, 'devices'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + organization_id=pulumi.get(__ret__, 'organization_id'), + project_id=pulumi.get(__ret__, 'project_id'), + search=pulumi.get(__ret__, 'search'), + sorts=pulumi.get(__ret__, 'sorts')) + + +@_utilities.lift_output_func(get_devices) +def get_devices_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetDevicesFilterArgs']]]]] = None, + organization_id: Optional[pulumi.Input[Optional[str]]] = None, + project_id: Optional[pulumi.Input[Optional[str]]] = None, + search: Optional[pulumi.Input[Optional[str]]] = None, + sorts: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetDevicesSortArgs']]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDevicesResult]: + """ + The datasource can be used to find a list of devices which meet filter criteria. + + If you need to fetch a single device by ID or by project ID and hostname, use the metal.Device datasource. + + ## Example Usage + + ```python + import pulumi + import pulumi_equinix as equinix + + example = equinix.metal.get_devices(project_id=local["project_id"], + filters=[ + equinix.metal.GetDevicesFilterArgs( + attribute="plan", + values=["c3.small.x86"], + ), + equinix.metal.GetDevicesFilterArgs( + attribute="metro", + values=[ + "da", + "sv", + ], + ), + ]) + pulumi.export("devices", example.devices) + ``` + + ```python + import pulumi + import pulumi_equinix as equinix + + example = equinix.metal.get_devices(search="database") + pulumi.export("devices", example.devices) + ``` + ## search vs filter + + The difference between `search` and `filter` is that `search` is an API parameter, interpreted by the Equinix Metal service. The "filter" arguments will reduce the API list (or search) results by applying client-side filtering, within this provider. + + + :param Sequence[pulumi.InputType['GetDevicesFilterArgs']] filters: One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the `metal.Device` datasource. + :param str organization_id: ID of organization containing the devices. + :param str project_id: ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + :param str search: Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. + """ + ... diff --git a/sdk/python/pulumi_equinix/metal/get_facility.py b/sdk/python/pulumi_equinix/metal/get_facility.py index e8d37ef9..3055a262 100644 --- a/sdk/python/pulumi_equinix/metal/get_facility.py +++ b/sdk/python/pulumi_equinix/metal/get_facility.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -114,7 +114,10 @@ def get_facility(capacities: Optional[Sequence[pulumi.InputType['GetFacilityCapa features_requireds: Optional[Sequence[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFacilityResult: """ - Use this data source to access information about an existing resource. + > **Deprecated** Use `metal_get_metro` instead. For more information, refer to the facility to metro migration guide. + + Provides an Equinix Metal facility datasource. + :param Sequence[pulumi.InputType['GetFacilityCapacityArgs']] capacities: One or more device plans for which the facility must have capacity. :param str code: The facility code to search for facilities. @@ -129,13 +132,13 @@ def get_facility(capacities: Optional[Sequence[pulumi.InputType['GetFacilityCapa __ret__ = pulumi.runtime.invoke('equinix:metal/getFacility:getFacility', __args__, opts=opts, typ=GetFacilityResult).value return AwaitableGetFacilityResult( - capacities=__ret__.capacities, - code=__ret__.code, - features=__ret__.features, - features_requireds=__ret__.features_requireds, - id=__ret__.id, - metro=__ret__.metro, - name=__ret__.name) + capacities=pulumi.get(__ret__, 'capacities'), + code=pulumi.get(__ret__, 'code'), + features=pulumi.get(__ret__, 'features'), + features_requireds=pulumi.get(__ret__, 'features_requireds'), + id=pulumi.get(__ret__, 'id'), + metro=pulumi.get(__ret__, 'metro'), + name=pulumi.get(__ret__, 'name')) @_utilities.lift_output_func(get_facility) @@ -144,7 +147,10 @@ def get_facility_output(capacities: Optional[pulumi.Input[Optional[Sequence[pulu features_requireds: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFacilityResult]: """ - Use this data source to access information about an existing resource. + > **Deprecated** Use `metal_get_metro` instead. For more information, refer to the facility to metro migration guide. + + Provides an Equinix Metal facility datasource. + :param Sequence[pulumi.InputType['GetFacilityCapacityArgs']] capacities: One or more device plans for which the facility must have capacity. :param str code: The facility code to search for facilities. diff --git a/sdk/python/pulumi_equinix/metal/get_gateway.py b/sdk/python/pulumi_equinix/metal/get_gateway.py index e2238827..7732d1a0 100644 --- a/sdk/python/pulumi_equinix/metal/get_gateway.py +++ b/sdk/python/pulumi_equinix/metal/get_gateway.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -156,14 +156,14 @@ def get_gateway(gateway_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getGateway:getGateway', __args__, opts=opts, typ=GetGatewayResult).value return AwaitableGetGatewayResult( - gateway_id=__ret__.gateway_id, - id=__ret__.id, - ip_reservation_id=__ret__.ip_reservation_id, - private_ipv4_subnet_size=__ret__.private_ipv4_subnet_size, - project_id=__ret__.project_id, - state=__ret__.state, - vlan_id=__ret__.vlan_id, - vrf_id=__ret__.vrf_id) + gateway_id=pulumi.get(__ret__, 'gateway_id'), + id=pulumi.get(__ret__, 'id'), + ip_reservation_id=pulumi.get(__ret__, 'ip_reservation_id'), + private_ipv4_subnet_size=pulumi.get(__ret__, 'private_ipv4_subnet_size'), + project_id=pulumi.get(__ret__, 'project_id'), + state=pulumi.get(__ret__, 'state'), + vlan_id=pulumi.get(__ret__, 'vlan_id'), + vrf_id=pulumi.get(__ret__, 'vrf_id')) @_utilities.lift_output_func(get_gateway) diff --git a/sdk/python/pulumi_equinix/metal/get_hardware_reservation.py b/sdk/python/pulumi_equinix/metal/get_hardware_reservation.py index b6be9045..004022c0 100644 --- a/sdk/python/pulumi_equinix/metal/get_hardware_reservation.py +++ b/sdk/python/pulumi_equinix/metal/get_hardware_reservation.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -27,10 +27,6 @@ def __init__(__self__, device_id=None, facility=None, id=None, plan=None, projec pulumi.set(__self__, "device_id", device_id) if facility and not isinstance(facility, str): raise TypeError("Expected argument 'facility' to be a str") - if facility is not None: - warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) - pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") - pulumi.set(__self__, "facility", facility) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") @@ -65,6 +61,12 @@ def device_id(self) -> str: @property @pulumi.getter def facility(self) -> str: + """ + (**Deprecated**) Facility for the reservation. Use metro instead; read the facility to metro migration guide + """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facility") @property @@ -173,15 +175,15 @@ def get_hardware_reservation(device_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getHardwareReservation:getHardwareReservation', __args__, opts=opts, typ=GetHardwareReservationResult).value return AwaitableGetHardwareReservationResult( - device_id=__ret__.device_id, - facility=__ret__.facility, - id=__ret__.id, - plan=__ret__.plan, - project_id=__ret__.project_id, - provisionable=__ret__.provisionable, - short_id=__ret__.short_id, - spare=__ret__.spare, - switch_uuid=__ret__.switch_uuid) + device_id=pulumi.get(__ret__, 'device_id'), + facility=pulumi.get(__ret__, 'facility'), + id=pulumi.get(__ret__, 'id'), + plan=pulumi.get(__ret__, 'plan'), + project_id=pulumi.get(__ret__, 'project_id'), + provisionable=pulumi.get(__ret__, 'provisionable'), + short_id=pulumi.get(__ret__, 'short_id'), + spare=pulumi.get(__ret__, 'spare'), + switch_uuid=pulumi.get(__ret__, 'switch_uuid')) @_utilities.lift_output_func(get_hardware_reservation) diff --git a/sdk/python/pulumi_equinix/metal/get_interconnection.py b/sdk/python/pulumi_equinix/metal/get_interconnection.py index bb611f3b..c9775122 100644 --- a/sdk/python/pulumi_equinix/metal/get_interconnection.py +++ b/sdk/python/pulumi_equinix/metal/get_interconnection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -22,19 +22,18 @@ class GetInterconnectionResult: """ A collection of values returned by getInterconnection. """ - def __init__(__self__, connection_id=None, description=None, facility=None, id=None, metro=None, mode=None, name=None, organization_id=None, ports=None, project_id=None, redundancy=None, service_token_type=None, service_tokens=None, speed=None, status=None, tags=None, token=None, type=None, vlans=None): + def __init__(__self__, connection_id=None, contact_email=None, description=None, facility=None, id=None, metro=None, mode=None, name=None, organization_id=None, ports=None, project_id=None, redundancy=None, service_token_type=None, service_tokens=None, speed=None, status=None, tags=None, token=None, type=None, vlans=None): if connection_id and not isinstance(connection_id, str): raise TypeError("Expected argument 'connection_id' to be a str") pulumi.set(__self__, "connection_id", connection_id) + if contact_email and not isinstance(contact_email, str): + raise TypeError("Expected argument 'contact_email' to be a str") + pulumi.set(__self__, "contact_email", contact_email) if description and not isinstance(description, str): raise TypeError("Expected argument 'description' to be a str") pulumi.set(__self__, "description", description) if facility and not isinstance(facility, str): raise TypeError("Expected argument 'facility' to be a str") - if facility is not None: - warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) - pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") - pulumi.set(__self__, "facility", facility) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") @@ -77,10 +76,6 @@ def __init__(__self__, connection_id=None, description=None, facility=None, id=N pulumi.set(__self__, "tags", tags) if token and not isinstance(token, str): raise TypeError("Expected argument 'token' to be a str") - if token is not None: - warnings.warn("""If your organization already has connection service tokens enabled, use `service_tokens` instead""", DeprecationWarning) - pulumi.log.warn("""token is deprecated: If your organization already has connection service tokens enabled, use `service_tokens` instead""") - pulumi.set(__self__, "token", token) if type and not isinstance(type, str): raise TypeError("Expected argument 'type' to be a str") @@ -94,6 +89,14 @@ def __init__(__self__, connection_id=None, description=None, facility=None, id=N def connection_id(self) -> str: return pulumi.get(self, "connection_id") + @property + @pulumi.getter(name="contactEmail") + def contact_email(self) -> str: + """ + The preferred email used for communication and notifications about the Equinix Fabric interconnection. + """ + return pulumi.get(self, "contact_email") + @property @pulumi.getter def description(self) -> str: @@ -105,6 +108,12 @@ def description(self) -> str: @property @pulumi.getter def facility(self) -> str: + """ + (**Deprecated**) Slug of a facility to which the connection belongs. Use metro instead; read the facility to metro migration guide + """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facility") @property @@ -217,6 +226,9 @@ def token(self) -> str: """ (Deprecated) Fabric Token required to configure the connection in Equinix Fabric with the equinix_ecx_l2_connection resource or from the [Equinix Fabric Portal](https://ecxfabric.equinix.com/dashboard). If your organization already has connection service tokens enabled, use `service_tokens` instead. """ + warnings.warn("""If your organization already has connection service tokens enabled, use `service_tokens` instead""", DeprecationWarning) + pulumi.log.warn("""token is deprecated: If your organization already has connection service tokens enabled, use `service_tokens` instead""") + return pulumi.get(self, "token") @property @@ -243,6 +255,7 @@ def __await__(self): yield self return GetInterconnectionResult( connection_id=self.connection_id, + contact_email=self.contact_email, description=self.description, facility=self.facility, id=self.id, @@ -288,25 +301,26 @@ def get_interconnection(connection_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getInterconnection:getInterconnection', __args__, opts=opts, typ=GetInterconnectionResult).value return AwaitableGetInterconnectionResult( - connection_id=__ret__.connection_id, - description=__ret__.description, - facility=__ret__.facility, - id=__ret__.id, - metro=__ret__.metro, - mode=__ret__.mode, - name=__ret__.name, - organization_id=__ret__.organization_id, - ports=__ret__.ports, - project_id=__ret__.project_id, - redundancy=__ret__.redundancy, - service_token_type=__ret__.service_token_type, - service_tokens=__ret__.service_tokens, - speed=__ret__.speed, - status=__ret__.status, - tags=__ret__.tags, - token=__ret__.token, - type=__ret__.type, - vlans=__ret__.vlans) + connection_id=pulumi.get(__ret__, 'connection_id'), + contact_email=pulumi.get(__ret__, 'contact_email'), + description=pulumi.get(__ret__, 'description'), + facility=pulumi.get(__ret__, 'facility'), + id=pulumi.get(__ret__, 'id'), + metro=pulumi.get(__ret__, 'metro'), + mode=pulumi.get(__ret__, 'mode'), + name=pulumi.get(__ret__, 'name'), + organization_id=pulumi.get(__ret__, 'organization_id'), + ports=pulumi.get(__ret__, 'ports'), + project_id=pulumi.get(__ret__, 'project_id'), + redundancy=pulumi.get(__ret__, 'redundancy'), + service_token_type=pulumi.get(__ret__, 'service_token_type'), + service_tokens=pulumi.get(__ret__, 'service_tokens'), + speed=pulumi.get(__ret__, 'speed'), + status=pulumi.get(__ret__, 'status'), + tags=pulumi.get(__ret__, 'tags'), + token=pulumi.get(__ret__, 'token'), + type=pulumi.get(__ret__, 'type'), + vlans=pulumi.get(__ret__, 'vlans')) @_utilities.lift_output_func(get_interconnection) diff --git a/sdk/python/pulumi_equinix/metal/get_ip_block_ranges.py b/sdk/python/pulumi_equinix/metal/get_ip_block_ranges.py index fc831599..8f58b64d 100644 --- a/sdk/python/pulumi_equinix/metal/get_ip_block_ranges.py +++ b/sdk/python/pulumi_equinix/metal/get_ip_block_ranges.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -24,10 +24,6 @@ class GetIpBlockRangesResult: def __init__(__self__, facility=None, global_ipv4s=None, id=None, ipv6s=None, metro=None, private_ipv4s=None, project_id=None, public_ipv4s=None): if facility and not isinstance(facility, str): raise TypeError("Expected argument 'facility' to be a str") - if facility is not None: - warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) - pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") - pulumi.set(__self__, "facility", facility) if global_ipv4s and not isinstance(global_ipv4s, list): raise TypeError("Expected argument 'global_ipv4s' to be a list") @@ -54,6 +50,9 @@ def __init__(__self__, facility=None, global_ipv4s=None, id=None, ipv6s=None, me @property @pulumi.getter def facility(self) -> Optional[str]: + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facility") @property @@ -146,6 +145,8 @@ def get_ip_block_ranges(facility: Optional[str] = None, ``` + :param str facility: Facility code filtering the IP blocks. Global IPv4 blocks will be listed + anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide :param str metro: Metro code filtering the IP blocks. Global IPv4 blocks will be listed anyway. If you omit this and facility, all the block from the project will be listed. :param str project_id: ID of the project from which to list the blocks. @@ -158,14 +159,14 @@ def get_ip_block_ranges(facility: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getIpBlockRanges:getIpBlockRanges', __args__, opts=opts, typ=GetIpBlockRangesResult).value return AwaitableGetIpBlockRangesResult( - facility=__ret__.facility, - global_ipv4s=__ret__.global_ipv4s, - id=__ret__.id, - ipv6s=__ret__.ipv6s, - metro=__ret__.metro, - private_ipv4s=__ret__.private_ipv4s, - project_id=__ret__.project_id, - public_ipv4s=__ret__.public_ipv4s) + facility=pulumi.get(__ret__, 'facility'), + global_ipv4s=pulumi.get(__ret__, 'global_ipv4s'), + id=pulumi.get(__ret__, 'id'), + ipv6s=pulumi.get(__ret__, 'ipv6s'), + metro=pulumi.get(__ret__, 'metro'), + private_ipv4s=pulumi.get(__ret__, 'private_ipv4s'), + project_id=pulumi.get(__ret__, 'project_id'), + public_ipv4s=pulumi.get(__ret__, 'public_ipv4s')) @_utilities.lift_output_func(get_ip_block_ranges) @@ -192,6 +193,8 @@ def get_ip_block_ranges_output(facility: Optional[pulumi.Input[Optional[str]]] = ``` + :param str facility: Facility code filtering the IP blocks. Global IPv4 blocks will be listed + anyway. If you omit this and metro, all the block from the project will be listed. Use metro instead; read the facility to metro migration guide :param str metro: Metro code filtering the IP blocks. Global IPv4 blocks will be listed anyway. If you omit this and facility, all the block from the project will be listed. :param str project_id: ID of the project from which to list the blocks. diff --git a/sdk/python/pulumi_equinix/metal/get_metro.py b/sdk/python/pulumi_equinix/metal/get_metro.py index 6624e3bd..4f22e8b4 100644 --- a/sdk/python/pulumi_equinix/metal/get_metro.py +++ b/sdk/python/pulumi_equinix/metal/get_metro.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -105,11 +105,11 @@ def get_metro(capacities: Optional[Sequence[pulumi.InputType['GetMetroCapacityAr __ret__ = pulumi.runtime.invoke('equinix:metal/getMetro:getMetro', __args__, opts=opts, typ=GetMetroResult).value return AwaitableGetMetroResult( - capacities=__ret__.capacities, - code=__ret__.code, - country=__ret__.country, - id=__ret__.id, - name=__ret__.name) + capacities=pulumi.get(__ret__, 'capacities'), + code=pulumi.get(__ret__, 'code'), + country=pulumi.get(__ret__, 'country'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name')) @_utilities.lift_output_func(get_metro) diff --git a/sdk/python/pulumi_equinix/metal/get_operating_system.py b/sdk/python/pulumi_equinix/metal/get_operating_system.py index 2552a983..7ceef109 100644 --- a/sdk/python/pulumi_equinix/metal/get_operating_system.py +++ b/sdk/python/pulumi_equinix/metal/get_operating_system.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -133,12 +133,12 @@ def get_operating_system(distro: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getOperatingSystem:getOperatingSystem', __args__, opts=opts, typ=GetOperatingSystemResult).value return AwaitableGetOperatingSystemResult( - distro=__ret__.distro, - id=__ret__.id, - name=__ret__.name, - provisionable_on=__ret__.provisionable_on, - slug=__ret__.slug, - version=__ret__.version) + distro=pulumi.get(__ret__, 'distro'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + provisionable_on=pulumi.get(__ret__, 'provisionable_on'), + slug=pulumi.get(__ret__, 'slug'), + version=pulumi.get(__ret__, 'version')) @_utilities.lift_output_func(get_operating_system) diff --git a/sdk/python/pulumi_equinix/metal/get_organization.py b/sdk/python/pulumi_equinix/metal/get_organization.py index 789b8811..e1349261 100644 --- a/sdk/python/pulumi_equinix/metal/get_organization.py +++ b/sdk/python/pulumi_equinix/metal/get_organization.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -154,6 +154,8 @@ def get_organization(name: Optional[str] = None, :param str name: The organization name. :param str organization_id: The UUID of the organization resource. + + Exactly one of `name` or `organization_id` must be given. """ __args__ = dict() __args__['name'] = name @@ -162,15 +164,15 @@ def get_organization(name: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getOrganization:getOrganization', __args__, opts=opts, typ=GetOrganizationResult).value return AwaitableGetOrganizationResult( - address=__ret__.address, - description=__ret__.description, - id=__ret__.id, - logo=__ret__.logo, - name=__ret__.name, - organization_id=__ret__.organization_id, - project_ids=__ret__.project_ids, - twitter=__ret__.twitter, - website=__ret__.website) + address=pulumi.get(__ret__, 'address'), + description=pulumi.get(__ret__, 'description'), + id=pulumi.get(__ret__, 'id'), + logo=pulumi.get(__ret__, 'logo'), + name=pulumi.get(__ret__, 'name'), + organization_id=pulumi.get(__ret__, 'organization_id'), + project_ids=pulumi.get(__ret__, 'project_ids'), + twitter=pulumi.get(__ret__, 'twitter'), + website=pulumi.get(__ret__, 'website')) @_utilities.lift_output_func(get_organization) @@ -193,5 +195,7 @@ def get_organization_output(name: Optional[pulumi.Input[Optional[str]]] = None, :param str name: The organization name. :param str organization_id: The UUID of the organization resource. + + Exactly one of `name` or `organization_id` must be given. """ ... diff --git a/sdk/python/pulumi_equinix/metal/get_plans.py b/sdk/python/pulumi_equinix/metal/get_plans.py index f1e778f5..40083f8a 100644 --- a/sdk/python/pulumi_equinix/metal/get_plans.py +++ b/sdk/python/pulumi_equinix/metal/get_plans.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -90,10 +90,10 @@ def get_plans(filters: Optional[Sequence[pulumi.InputType['GetPlansFilterArgs']] __ret__ = pulumi.runtime.invoke('equinix:metal/getPlans:getPlans', __args__, opts=opts, typ=GetPlansResult).value return AwaitableGetPlansResult( - filters=__ret__.filters, - id=__ret__.id, - plans=__ret__.plans, - sorts=__ret__.sorts) + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + plans=pulumi.get(__ret__, 'plans'), + sorts=pulumi.get(__ret__, 'sorts')) @_utilities.lift_output_func(get_plans) diff --git a/sdk/python/pulumi_equinix/metal/get_port.py b/sdk/python/pulumi_equinix/metal/get_port.py index d599809b..9f1c2ba7 100644 --- a/sdk/python/pulumi_equinix/metal/get_port.py +++ b/sdk/python/pulumi_equinix/metal/get_port.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -241,21 +241,21 @@ def get_port(device_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getPort:getPort', __args__, opts=opts, typ=GetPortResult).value return AwaitableGetPortResult( - bond_id=__ret__.bond_id, - bond_name=__ret__.bond_name, - bonded=__ret__.bonded, - device_id=__ret__.device_id, - disbond_supported=__ret__.disbond_supported, - id=__ret__.id, - layer2=__ret__.layer2, - mac=__ret__.mac, - name=__ret__.name, - native_vlan_id=__ret__.native_vlan_id, - network_type=__ret__.network_type, - port_id=__ret__.port_id, - type=__ret__.type, - vlan_ids=__ret__.vlan_ids, - vxlan_ids=__ret__.vxlan_ids) + bond_id=pulumi.get(__ret__, 'bond_id'), + bond_name=pulumi.get(__ret__, 'bond_name'), + bonded=pulumi.get(__ret__, 'bonded'), + device_id=pulumi.get(__ret__, 'device_id'), + disbond_supported=pulumi.get(__ret__, 'disbond_supported'), + id=pulumi.get(__ret__, 'id'), + layer2=pulumi.get(__ret__, 'layer2'), + mac=pulumi.get(__ret__, 'mac'), + name=pulumi.get(__ret__, 'name'), + native_vlan_id=pulumi.get(__ret__, 'native_vlan_id'), + network_type=pulumi.get(__ret__, 'network_type'), + port_id=pulumi.get(__ret__, 'port_id'), + type=pulumi.get(__ret__, 'type'), + vlan_ids=pulumi.get(__ret__, 'vlan_ids'), + vxlan_ids=pulumi.get(__ret__, 'vxlan_ids')) @_utilities.lift_output_func(get_port) diff --git a/sdk/python/pulumi_equinix/metal/get_precreated_ip_block.py b/sdk/python/pulumi_equinix/metal/get_precreated_ip_block.py index f4d5c3e5..9e640526 100644 --- a/sdk/python/pulumi_equinix/metal/get_precreated_ip_block.py +++ b/sdk/python/pulumi_equinix/metal/get_precreated_ip_block.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -219,6 +219,7 @@ def get_precreated_ip_block(address_family: Optional[int] = None, :param int address_family: 4 or 6, depending on which block you are looking for. + :param str facility: Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide :param bool global_: Whether to look for global block. Default is false for backward compatibility. :param str metro: Metro of the searched block (for non-global blocks). :param str project_id: ID of the project where the searched block should be. @@ -235,24 +236,24 @@ def get_precreated_ip_block(address_family: Optional[int] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getPrecreatedIpBlock:getPrecreatedIpBlock', __args__, opts=opts, typ=GetPrecreatedIpBlockResult).value return AwaitableGetPrecreatedIpBlockResult( - address=__ret__.address, - address_family=__ret__.address_family, - cidr=__ret__.cidr, - cidr_notation=__ret__.cidr_notation, - facility=__ret__.facility, - gateway=__ret__.gateway, - global_=__ret__.global_, - id=__ret__.id, - manageable=__ret__.manageable, - management=__ret__.management, - metro=__ret__.metro, - netmask=__ret__.netmask, - network=__ret__.network, - project_id=__ret__.project_id, - public=__ret__.public, - quantity=__ret__.quantity, - type=__ret__.type, - vrf_id=__ret__.vrf_id) + address=pulumi.get(__ret__, 'address'), + address_family=pulumi.get(__ret__, 'address_family'), + cidr=pulumi.get(__ret__, 'cidr'), + cidr_notation=pulumi.get(__ret__, 'cidr_notation'), + facility=pulumi.get(__ret__, 'facility'), + gateway=pulumi.get(__ret__, 'gateway'), + global_=pulumi.get(__ret__, 'global_'), + id=pulumi.get(__ret__, 'id'), + manageable=pulumi.get(__ret__, 'manageable'), + management=pulumi.get(__ret__, 'management'), + metro=pulumi.get(__ret__, 'metro'), + netmask=pulumi.get(__ret__, 'netmask'), + network=pulumi.get(__ret__, 'network'), + project_id=pulumi.get(__ret__, 'project_id'), + public=pulumi.get(__ret__, 'public'), + quantity=pulumi.get(__ret__, 'quantity'), + type=pulumi.get(__ret__, 'type'), + vrf_id=pulumi.get(__ret__, 'vrf_id')) @_utilities.lift_output_func(get_precreated_ip_block) @@ -275,6 +276,7 @@ def get_precreated_ip_block_output(address_family: Optional[pulumi.Input[int]] = :param int address_family: 4 or 6, depending on which block you are looking for. + :param str facility: Facility of the searched block. (for non-global blocks). Use metro instead; read the facility to metro migration guide :param bool global_: Whether to look for global block. Default is false for backward compatibility. :param str metro: Metro of the searched block (for non-global blocks). :param str project_id: ID of the project where the searched block should be. diff --git a/sdk/python/pulumi_equinix/metal/get_project.py b/sdk/python/pulumi_equinix/metal/get_project.py index a4fd740c..6df1781e 100644 --- a/sdk/python/pulumi_equinix/metal/get_project.py +++ b/sdk/python/pulumi_equinix/metal/get_project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -174,16 +174,16 @@ def get_project(name: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getProject:getProject', __args__, opts=opts, typ=GetProjectResult).value return AwaitableGetProjectResult( - backend_transfer=__ret__.backend_transfer, - bgp_config=__ret__.bgp_config, - created=__ret__.created, - id=__ret__.id, - name=__ret__.name, - organization_id=__ret__.organization_id, - payment_method_id=__ret__.payment_method_id, - project_id=__ret__.project_id, - updated=__ret__.updated, - user_ids=__ret__.user_ids) + backend_transfer=pulumi.get(__ret__, 'backend_transfer'), + bgp_config=pulumi.get(__ret__, 'bgp_config'), + created=pulumi.get(__ret__, 'created'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + organization_id=pulumi.get(__ret__, 'organization_id'), + payment_method_id=pulumi.get(__ret__, 'payment_method_id'), + project_id=pulumi.get(__ret__, 'project_id'), + updated=pulumi.get(__ret__, 'updated'), + user_ids=pulumi.get(__ret__, 'user_ids')) @_utilities.lift_output_func(get_project) diff --git a/sdk/python/pulumi_equinix/metal/get_project_ssh_key.py b/sdk/python/pulumi_equinix/metal/get_project_ssh_key.py index cb445a40..d1dff8c9 100644 --- a/sdk/python/pulumi_equinix/metal/get_project_ssh_key.py +++ b/sdk/python/pulumi_equinix/metal/get_project_ssh_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -157,6 +157,8 @@ def get_project_ssh_key(id: Optional[str] = None, :param str id: The id of the SSH Key to search for in the Equinix Metal project. :param str project_id: The Equinix Metal project id of the Equinix Metal SSH Key. + + > **NOTE:** One of either `search` or `id` must be provided along with `project_id`. :param str search: The name, fingerprint, or public_key of the SSH Key to search for in the Equinix Metal project. """ @@ -168,15 +170,15 @@ def get_project_ssh_key(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getProjectSshKey:getProjectSshKey', __args__, opts=opts, typ=GetProjectSshKeyResult).value return AwaitableGetProjectSshKeyResult( - created=__ret__.created, - fingerprint=__ret__.fingerprint, - id=__ret__.id, - name=__ret__.name, - owner_id=__ret__.owner_id, - project_id=__ret__.project_id, - public_key=__ret__.public_key, - search=__ret__.search, - updated=__ret__.updated) + created=pulumi.get(__ret__, 'created'), + fingerprint=pulumi.get(__ret__, 'fingerprint'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + owner_id=pulumi.get(__ret__, 'owner_id'), + project_id=pulumi.get(__ret__, 'project_id'), + public_key=pulumi.get(__ret__, 'public_key'), + search=pulumi.get(__ret__, 'search'), + updated=pulumi.get(__ret__, 'updated')) @_utilities.lift_output_func(get_project_ssh_key) @@ -200,6 +202,8 @@ def get_project_ssh_key_output(id: Optional[pulumi.Input[Optional[str]]] = None, :param str id: The id of the SSH Key to search for in the Equinix Metal project. :param str project_id: The Equinix Metal project id of the Equinix Metal SSH Key. + + > **NOTE:** One of either `search` or `id` must be provided along with `project_id`. :param str search: The name, fingerprint, or public_key of the SSH Key to search for in the Equinix Metal project. """ diff --git a/sdk/python/pulumi_equinix/metal/get_reserved_ip_block.py b/sdk/python/pulumi_equinix/metal/get_reserved_ip_block.py index e8ebcfea..58420d03 100644 --- a/sdk/python/pulumi_equinix/metal/get_reserved_ip_block.py +++ b/sdk/python/pulumi_equinix/metal/get_reserved_ip_block.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -36,10 +36,6 @@ def __init__(__self__, address=None, address_family=None, cidr=None, cidr_notati pulumi.set(__self__, "cidr_notation", cidr_notation) if facility and not isinstance(facility, str): raise TypeError("Expected argument 'facility' to be a str") - if facility is not None: - warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) - pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") - pulumi.set(__self__, "facility", facility) if gateway and not isinstance(gateway, str): raise TypeError("Expected argument 'gateway' to be a str") @@ -107,6 +103,9 @@ def cidr_notation(self) -> str: @property @pulumi.getter def facility(self) -> str: + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facility") @property @@ -225,6 +224,8 @@ def get_reserved_ip_block(id: Optional[str] = None, :param str id: UUID of the IP address block to look up. :param str ip_address: Block containing this IP address will be returned. + + > **NOTE:** You should pass either `id`, or both `project_id` and `ip_address`. :param str project_id: UUID of the project where the searched block should be. """ __args__ = dict() @@ -235,25 +236,25 @@ def get_reserved_ip_block(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getReservedIpBlock:getReservedIpBlock', __args__, opts=opts, typ=GetReservedIpBlockResult).value return AwaitableGetReservedIpBlockResult( - address=__ret__.address, - address_family=__ret__.address_family, - cidr=__ret__.cidr, - cidr_notation=__ret__.cidr_notation, - facility=__ret__.facility, - gateway=__ret__.gateway, - global_=__ret__.global_, - id=__ret__.id, - ip_address=__ret__.ip_address, - manageable=__ret__.manageable, - management=__ret__.management, - metro=__ret__.metro, - netmask=__ret__.netmask, - network=__ret__.network, - project_id=__ret__.project_id, - public=__ret__.public, - quantity=__ret__.quantity, - type=__ret__.type, - vrf_id=__ret__.vrf_id) + address=pulumi.get(__ret__, 'address'), + address_family=pulumi.get(__ret__, 'address_family'), + cidr=pulumi.get(__ret__, 'cidr'), + cidr_notation=pulumi.get(__ret__, 'cidr_notation'), + facility=pulumi.get(__ret__, 'facility'), + gateway=pulumi.get(__ret__, 'gateway'), + global_=pulumi.get(__ret__, 'global_'), + id=pulumi.get(__ret__, 'id'), + ip_address=pulumi.get(__ret__, 'ip_address'), + manageable=pulumi.get(__ret__, 'manageable'), + management=pulumi.get(__ret__, 'management'), + metro=pulumi.get(__ret__, 'metro'), + netmask=pulumi.get(__ret__, 'netmask'), + network=pulumi.get(__ret__, 'network'), + project_id=pulumi.get(__ret__, 'project_id'), + public=pulumi.get(__ret__, 'public'), + quantity=pulumi.get(__ret__, 'quantity'), + type=pulumi.get(__ret__, 'type'), + vrf_id=pulumi.get(__ret__, 'vrf_id')) @_utilities.lift_output_func(get_reserved_ip_block) @@ -272,6 +273,8 @@ def get_reserved_ip_block_output(id: Optional[pulumi.Input[Optional[str]]] = Non :param str id: UUID of the IP address block to look up. :param str ip_address: Block containing this IP address will be returned. + + > **NOTE:** You should pass either `id`, or both `project_id` and `ip_address`. :param str project_id: UUID of the project where the searched block should be. """ ... diff --git a/sdk/python/pulumi_equinix/metal/get_spot_market_price.py b/sdk/python/pulumi_equinix/metal/get_spot_market_price.py index 9b8128ff..85258253 100644 --- a/sdk/python/pulumi_equinix/metal/get_spot_market_price.py +++ b/sdk/python/pulumi_equinix/metal/get_spot_market_price.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -24,10 +24,6 @@ class GetSpotMarketPriceResult: def __init__(__self__, facility=None, id=None, metro=None, plan=None, price=None): if facility and not isinstance(facility, str): raise TypeError("Expected argument 'facility' to be a str") - if facility is not None: - warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) - pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") - pulumi.set(__self__, "facility", facility) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") @@ -45,6 +41,9 @@ def __init__(__self__, facility=None, id=None, metro=None, plan=None, price=None @property @pulumi.getter def facility(self) -> Optional[str]: + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facility") @property @@ -107,6 +106,7 @@ def get_spot_market_price(facility: Optional[str] = None, ``` + :param str facility: Name of the facility. Use metro instead; read the facility to metro migration guide :param str metro: Name of the metro. :param str plan: Name of the plan. """ @@ -118,11 +118,11 @@ def get_spot_market_price(facility: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getSpotMarketPrice:getSpotMarketPrice', __args__, opts=opts, typ=GetSpotMarketPriceResult).value return AwaitableGetSpotMarketPriceResult( - facility=__ret__.facility, - id=__ret__.id, - metro=__ret__.metro, - plan=__ret__.plan, - price=__ret__.price) + facility=pulumi.get(__ret__, 'facility'), + id=pulumi.get(__ret__, 'id'), + metro=pulumi.get(__ret__, 'metro'), + plan=pulumi.get(__ret__, 'plan'), + price=pulumi.get(__ret__, 'price')) @_utilities.lift_output_func(get_spot_market_price) @@ -146,6 +146,7 @@ def get_spot_market_price_output(facility: Optional[pulumi.Input[Optional[str]]] ``` + :param str facility: Name of the facility. Use metro instead; read the facility to metro migration guide :param str metro: Name of the metro. :param str plan: Name of the plan. """ diff --git a/sdk/python/pulumi_equinix/metal/get_spot_market_request.py b/sdk/python/pulumi_equinix/metal/get_spot_market_request.py index 0a27f4e9..33a18318 100644 --- a/sdk/python/pulumi_equinix/metal/get_spot_market_request.py +++ b/sdk/python/pulumi_equinix/metal/get_spot_market_request.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -36,10 +36,6 @@ def __init__(__self__, device_ids=None, devices_max=None, devices_min=None, end_ pulumi.set(__self__, "end_at", end_at) if facilities and not isinstance(facilities, list): raise TypeError("Expected argument 'facilities' to be a list") - if facilities is not None: - warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) - pulumi.log.warn("""facilities is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") - pulumi.set(__self__, "facilities", facilities) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") @@ -95,6 +91,12 @@ def end_at(self) -> str: @property @pulumi.getter def facilities(self) -> Sequence[str]: + """ + (**Deprecated**) Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide + """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facilities is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facilities") @property @@ -175,17 +177,17 @@ def get_spot_market_request(request_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getSpotMarketRequest:getSpotMarketRequest', __args__, opts=opts, typ=GetSpotMarketRequestResult).value return AwaitableGetSpotMarketRequestResult( - device_ids=__ret__.device_ids, - devices_max=__ret__.devices_max, - devices_min=__ret__.devices_min, - end_at=__ret__.end_at, - facilities=__ret__.facilities, - id=__ret__.id, - max_bid_price=__ret__.max_bid_price, - metro=__ret__.metro, - plan=__ret__.plan, - project_id=__ret__.project_id, - request_id=__ret__.request_id) + device_ids=pulumi.get(__ret__, 'device_ids'), + devices_max=pulumi.get(__ret__, 'devices_max'), + devices_min=pulumi.get(__ret__, 'devices_min'), + end_at=pulumi.get(__ret__, 'end_at'), + facilities=pulumi.get(__ret__, 'facilities'), + id=pulumi.get(__ret__, 'id'), + max_bid_price=pulumi.get(__ret__, 'max_bid_price'), + metro=pulumi.get(__ret__, 'metro'), + plan=pulumi.get(__ret__, 'plan'), + project_id=pulumi.get(__ret__, 'project_id'), + request_id=pulumi.get(__ret__, 'request_id')) @_utilities.lift_output_func(get_spot_market_request) diff --git a/sdk/python/pulumi_equinix/metal/get_virtual_circuit.py b/sdk/python/pulumi_equinix/metal/get_virtual_circuit.py index 9d7c6e5f..3f52b18c 100644 --- a/sdk/python/pulumi_equinix/metal/get_virtual_circuit.py +++ b/sdk/python/pulumi_equinix/metal/get_virtual_circuit.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -292,26 +292,26 @@ def get_virtual_circuit(virtual_circuit_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getVirtualCircuit:getVirtualCircuit', __args__, opts=opts, typ=GetVirtualCircuitResult).value return AwaitableGetVirtualCircuitResult( - connection_id=__ret__.connection_id, - customer_ip=__ret__.customer_ip, - description=__ret__.description, - id=__ret__.id, - md5=__ret__.md5, - metal_ip=__ret__.metal_ip, - name=__ret__.name, - nni_vlan=__ret__.nni_vlan, - nni_vnid=__ret__.nni_vnid, - peer_asn=__ret__.peer_asn, - port_id=__ret__.port_id, - project_id=__ret__.project_id, - speed=__ret__.speed, - status=__ret__.status, - subnet=__ret__.subnet, - tags=__ret__.tags, - virtual_circuit_id=__ret__.virtual_circuit_id, - vlan_id=__ret__.vlan_id, - vnid=__ret__.vnid, - vrf_id=__ret__.vrf_id) + connection_id=pulumi.get(__ret__, 'connection_id'), + customer_ip=pulumi.get(__ret__, 'customer_ip'), + description=pulumi.get(__ret__, 'description'), + id=pulumi.get(__ret__, 'id'), + md5=pulumi.get(__ret__, 'md5'), + metal_ip=pulumi.get(__ret__, 'metal_ip'), + name=pulumi.get(__ret__, 'name'), + nni_vlan=pulumi.get(__ret__, 'nni_vlan'), + nni_vnid=pulumi.get(__ret__, 'nni_vnid'), + peer_asn=pulumi.get(__ret__, 'peer_asn'), + port_id=pulumi.get(__ret__, 'port_id'), + project_id=pulumi.get(__ret__, 'project_id'), + speed=pulumi.get(__ret__, 'speed'), + status=pulumi.get(__ret__, 'status'), + subnet=pulumi.get(__ret__, 'subnet'), + tags=pulumi.get(__ret__, 'tags'), + virtual_circuit_id=pulumi.get(__ret__, 'virtual_circuit_id'), + vlan_id=pulumi.get(__ret__, 'vlan_id'), + vnid=pulumi.get(__ret__, 'vnid'), + vrf_id=pulumi.get(__ret__, 'vrf_id')) @_utilities.lift_output_func(get_virtual_circuit) diff --git a/sdk/python/pulumi_equinix/metal/get_vlan.py b/sdk/python/pulumi_equinix/metal/get_vlan.py index 5dcc8192..89d1f6ef 100644 --- a/sdk/python/pulumi_equinix/metal/get_vlan.py +++ b/sdk/python/pulumi_equinix/metal/get_vlan.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -30,10 +30,6 @@ def __init__(__self__, assigned_devices_ids=None, description=None, facility=Non pulumi.set(__self__, "description", description) if facility and not isinstance(facility, str): raise TypeError("Expected argument 'facility' to be a str") - if facility is not None: - warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) - pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") - pulumi.set(__self__, "facility", facility) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") @@ -70,6 +66,9 @@ def description(self) -> str: @property @pulumi.getter def facility(self) -> str: + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facility") @property @@ -156,6 +155,8 @@ def get_vlan(facility: Optional[str] = None, :param str facility: Facility where the VLAN is deployed. Deprecated, see https://feedback.equinixmetal.com/changelog/bye-facilities-hello-again-metros :param str metro: Metro where the VLAN is deployed. + + > **NOTE:** You must set either `vlan_id` or a combination of `vxlan`, `project_id`, and, `metro` or `facility`. :param str project_id: UUID of parent project of the VLAN. Use together with the vxlan number and metro or facility. :param str vlan_id: Metal UUID of the VLAN resource to look up. :param int vxlan: vxlan number of the VLAN to look up. Use together with the project_id and metro or facility. @@ -170,14 +171,14 @@ def get_vlan(facility: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getVlan:getVlan', __args__, opts=opts, typ=GetVlanResult).value return AwaitableGetVlanResult( - assigned_devices_ids=__ret__.assigned_devices_ids, - description=__ret__.description, - facility=__ret__.facility, - id=__ret__.id, - metro=__ret__.metro, - project_id=__ret__.project_id, - vlan_id=__ret__.vlan_id, - vxlan=__ret__.vxlan) + assigned_devices_ids=pulumi.get(__ret__, 'assigned_devices_ids'), + description=pulumi.get(__ret__, 'description'), + facility=pulumi.get(__ret__, 'facility'), + id=pulumi.get(__ret__, 'id'), + metro=pulumi.get(__ret__, 'metro'), + project_id=pulumi.get(__ret__, 'project_id'), + vlan_id=pulumi.get(__ret__, 'vlan_id'), + vxlan=pulumi.get(__ret__, 'vxlan')) @_utilities.lift_output_func(get_vlan) @@ -220,6 +221,8 @@ def get_vlan_output(facility: Optional[pulumi.Input[Optional[str]]] = None, :param str facility: Facility where the VLAN is deployed. Deprecated, see https://feedback.equinixmetal.com/changelog/bye-facilities-hello-again-metros :param str metro: Metro where the VLAN is deployed. + + > **NOTE:** You must set either `vlan_id` or a combination of `vxlan`, `project_id`, and, `metro` or `facility`. :param str project_id: UUID of parent project of the VLAN. Use together with the vxlan number and metro or facility. :param str vlan_id: Metal UUID of the VLAN resource to look up. :param int vxlan: vxlan number of the VLAN to look up. Use together with the project_id and metro or facility. diff --git a/sdk/python/pulumi_equinix/metal/get_vrf.py b/sdk/python/pulumi_equinix/metal/get_vrf.py index cad03e59..ab91d4e0 100644 --- a/sdk/python/pulumi_equinix/metal/get_vrf.py +++ b/sdk/python/pulumi_equinix/metal/get_vrf.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -150,14 +150,14 @@ def get_vrf(vrf_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:metal/getVrf:getVrf', __args__, opts=opts, typ=GetVrfResult).value return AwaitableGetVrfResult( - description=__ret__.description, - id=__ret__.id, - ip_ranges=__ret__.ip_ranges, - local_asn=__ret__.local_asn, - metro=__ret__.metro, - name=__ret__.name, - project_id=__ret__.project_id, - vrf_id=__ret__.vrf_id) + description=pulumi.get(__ret__, 'description'), + id=pulumi.get(__ret__, 'id'), + ip_ranges=pulumi.get(__ret__, 'ip_ranges'), + local_asn=pulumi.get(__ret__, 'local_asn'), + metro=pulumi.get(__ret__, 'metro'), + name=pulumi.get(__ret__, 'name'), + project_id=pulumi.get(__ret__, 'project_id'), + vrf_id=pulumi.get(__ret__, 'vrf_id')) @_utilities.lift_output_func(get_vrf) diff --git a/sdk/python/pulumi_equinix/metal/interconnection.py b/sdk/python/pulumi_equinix/metal/interconnection.py index 9f1e0c00..4deb17d6 100644 --- a/sdk/python/pulumi_equinix/metal/interconnection.py +++ b/sdk/python/pulumi_equinix/metal/interconnection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -17,8 +17,8 @@ class InterconnectionArgs: def __init__(__self__, *, redundancy: pulumi.Input[str], - speed: pulumi.Input[str], type: pulumi.Input[str], + contact_email: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, facility: Optional[pulumi.Input[str]] = None, metro: Optional[pulumi.Input[str]] = None, @@ -27,50 +27,100 @@ def __init__(__self__, *, organization_id: Optional[pulumi.Input[str]] = None, project_id: Optional[pulumi.Input[str]] = None, service_token_type: Optional[pulumi.Input[str]] = None, + speed: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, vlans: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None): """ The set of arguments for constructing a Interconnection resource. :param pulumi.Input[str] redundancy: Connection redundancy - redundant or primary. - :param pulumi.Input[str] speed: Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps. :param pulumi.Input[str] type: Connection type - dedicated or shared. + :param pulumi.Input[str] contact_email: The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. :param pulumi.Input[str] description: Description for the connection resource. - :param pulumi.Input[str] facility: Facility where the connection will be created + :param pulumi.Input[str] facility: Facility where the connection will be created. Use metro instead; read the facility to metro migration guide :param pulumi.Input[str] metro: Metro where the connection will be created. :param pulumi.Input[str] mode: Mode for connections in IBX facilities with the dedicated type - standard or tunnel. Default is standard. :param pulumi.Input[str] name: Name of the connection resource :param pulumi.Input[str] organization_id: ID of the organization where the connection is scoped to. :param pulumi.Input[str] project_id: ID of the project where the connection is scoped to, must be set for. :param pulumi.Input[str] service_token_type: Only used with shared connection. Type of service token to use for the connection, a_side or z_side + :param pulumi.Input[str] speed: Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps. :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: String list of tags. :param pulumi.Input[Sequence[pulumi.Input[int]]] vlans: Only used with shared connection. Vlans to attach. Pass one vlan for Primary/Single connection and two vlans for Redundant connection. """ - pulumi.set(__self__, "redundancy", redundancy) - pulumi.set(__self__, "speed", speed) - pulumi.set(__self__, "type", type) + InterconnectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + redundancy=redundancy, + type=type, + contact_email=contact_email, + description=description, + facility=facility, + metro=metro, + mode=mode, + name=name, + organization_id=organization_id, + project_id=project_id, + service_token_type=service_token_type, + speed=speed, + tags=tags, + vlans=vlans, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + redundancy: pulumi.Input[str], + type: pulumi.Input[str], + contact_email: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + facility: Optional[pulumi.Input[str]] = None, + metro: Optional[pulumi.Input[str]] = None, + mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + organization_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + service_token_type: Optional[pulumi.Input[str]] = None, + speed: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + vlans: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'contactEmail' in kwargs: + contact_email = kwargs['contactEmail'] + if 'organizationId' in kwargs: + organization_id = kwargs['organizationId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'serviceTokenType' in kwargs: + service_token_type = kwargs['serviceTokenType'] + + _setter("redundancy", redundancy) + _setter("type", type) + if contact_email is not None: + _setter("contact_email", contact_email) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if facility is not None: warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") if facility is not None: - pulumi.set(__self__, "facility", facility) + _setter("facility", facility) if metro is not None: - pulumi.set(__self__, "metro", metro) + _setter("metro", metro) if mode is not None: - pulumi.set(__self__, "mode", mode) + _setter("mode", mode) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if organization_id is not None: - pulumi.set(__self__, "organization_id", organization_id) + _setter("organization_id", organization_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if service_token_type is not None: - pulumi.set(__self__, "service_token_type", service_token_type) + _setter("service_token_type", service_token_type) + if speed is not None: + _setter("speed", speed) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if vlans is not None: - pulumi.set(__self__, "vlans", vlans) + _setter("vlans", vlans) @property @pulumi.getter @@ -84,18 +134,6 @@ def redundancy(self) -> pulumi.Input[str]: def redundancy(self, value: pulumi.Input[str]): pulumi.set(self, "redundancy", value) - @property - @pulumi.getter - def speed(self) -> pulumi.Input[str]: - """ - Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps. - """ - return pulumi.get(self, "speed") - - @speed.setter - def speed(self, value: pulumi.Input[str]): - pulumi.set(self, "speed", value) - @property @pulumi.getter def type(self) -> pulumi.Input[str]: @@ -108,6 +146,18 @@ def type(self) -> pulumi.Input[str]: def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) + @property + @pulumi.getter(name="contactEmail") + def contact_email(self) -> Optional[pulumi.Input[str]]: + """ + The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + """ + return pulumi.get(self, "contact_email") + + @contact_email.setter + def contact_email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "contact_email", value) + @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: @@ -124,8 +174,11 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def facility(self) -> Optional[pulumi.Input[str]]: """ - Facility where the connection will be created + Facility where the connection will be created. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facility") @facility.setter @@ -204,6 +257,18 @@ def service_token_type(self) -> Optional[pulumi.Input[str]]: def service_token_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "service_token_type", value) + @property + @pulumi.getter + def speed(self) -> Optional[pulumi.Input[str]]: + """ + Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps. + """ + return pulumi.get(self, "speed") + + @speed.setter + def speed(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "speed", value) + @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -232,6 +297,7 @@ def vlans(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]): @pulumi.input_type class _InterconnectionState: def __init__(__self__, *, + contact_email: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, facility: Optional[pulumi.Input[str]] = None, metro: Optional[pulumi.Input[str]] = None, @@ -251,8 +317,9 @@ def __init__(__self__, *, vlans: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None): """ Input properties used for looking up and filtering Interconnection resources. + :param pulumi.Input[str] contact_email: The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. :param pulumi.Input[str] description: Description for the connection resource. - :param pulumi.Input[str] facility: Facility where the connection will be created + :param pulumi.Input[str] facility: Facility where the connection will be created. Use metro instead; read the facility to metro migration guide :param pulumi.Input[str] metro: Metro where the connection will be created. :param pulumi.Input[str] mode: Mode for connections in IBX facilities with the dedicated type - standard or tunnel. Default is standard. :param pulumi.Input[str] name: Name of the connection resource @@ -271,46 +338,115 @@ def __init__(__self__, *, :param pulumi.Input[str] type: Connection type - dedicated or shared. :param pulumi.Input[Sequence[pulumi.Input[int]]] vlans: Only used with shared connection. Vlans to attach. Pass one vlan for Primary/Single connection and two vlans for Redundant connection. """ + _InterconnectionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + contact_email=contact_email, + description=description, + facility=facility, + metro=metro, + mode=mode, + name=name, + organization_id=organization_id, + ports=ports, + project_id=project_id, + redundancy=redundancy, + service_token_type=service_token_type, + service_tokens=service_tokens, + speed=speed, + status=status, + tags=tags, + token=token, + type=type, + vlans=vlans, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + contact_email: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + facility: Optional[pulumi.Input[str]] = None, + metro: Optional[pulumi.Input[str]] = None, + mode: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + organization_id: Optional[pulumi.Input[str]] = None, + ports: Optional[pulumi.Input[Sequence[pulumi.Input['InterconnectionPortArgs']]]] = None, + project_id: Optional[pulumi.Input[str]] = None, + redundancy: Optional[pulumi.Input[str]] = None, + service_token_type: Optional[pulumi.Input[str]] = None, + service_tokens: Optional[pulumi.Input[Sequence[pulumi.Input['InterconnectionServiceTokenArgs']]]] = None, + speed: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + token: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + vlans: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'contactEmail' in kwargs: + contact_email = kwargs['contactEmail'] + if 'organizationId' in kwargs: + organization_id = kwargs['organizationId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'serviceTokenType' in kwargs: + service_token_type = kwargs['serviceTokenType'] + if 'serviceTokens' in kwargs: + service_tokens = kwargs['serviceTokens'] + + if contact_email is not None: + _setter("contact_email", contact_email) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if facility is not None: warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") if facility is not None: - pulumi.set(__self__, "facility", facility) + _setter("facility", facility) if metro is not None: - pulumi.set(__self__, "metro", metro) + _setter("metro", metro) if mode is not None: - pulumi.set(__self__, "mode", mode) + _setter("mode", mode) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if organization_id is not None: - pulumi.set(__self__, "organization_id", organization_id) + _setter("organization_id", organization_id) if ports is not None: - pulumi.set(__self__, "ports", ports) + _setter("ports", ports) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if redundancy is not None: - pulumi.set(__self__, "redundancy", redundancy) + _setter("redundancy", redundancy) if service_token_type is not None: - pulumi.set(__self__, "service_token_type", service_token_type) + _setter("service_token_type", service_token_type) if service_tokens is not None: - pulumi.set(__self__, "service_tokens", service_tokens) + _setter("service_tokens", service_tokens) if speed is not None: - pulumi.set(__self__, "speed", speed) + _setter("speed", speed) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if token is not None: warnings.warn("""If your organization already has connection service tokens enabled, use `service_tokens` instead""", DeprecationWarning) pulumi.log.warn("""token is deprecated: If your organization already has connection service tokens enabled, use `service_tokens` instead""") if token is not None: - pulumi.set(__self__, "token", token) + _setter("token", token) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vlans is not None: - pulumi.set(__self__, "vlans", vlans) + _setter("vlans", vlans) + + @property + @pulumi.getter(name="contactEmail") + def contact_email(self) -> Optional[pulumi.Input[str]]: + """ + The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + """ + return pulumi.get(self, "contact_email") + + @contact_email.setter + def contact_email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "contact_email", value) @property @pulumi.getter @@ -328,8 +464,11 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def facility(self) -> Optional[pulumi.Input[str]]: """ - Facility where the connection will be created + Facility where the connection will be created. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facility") @facility.setter @@ -488,6 +627,9 @@ def token(self) -> Optional[pulumi.Input[str]]: """ (Deprecated) Fabric Token required to configure the connection in Equinix Fabric with the equinix_ecx_l2_connection resource or from the [Equinix Fabric Portal](https://ecxfabric.equinix.com/dashboard). If your organization already has connection service tokens enabled, use `service_tokens` instead. """ + warnings.warn("""If your organization already has connection service tokens enabled, use `service_tokens` instead""", DeprecationWarning) + pulumi.log.warn("""token is deprecated: If your organization already has connection service tokens enabled, use `service_tokens` instead""") + return pulumi.get(self, "token") @token.setter @@ -524,6 +666,7 @@ class Interconnection(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + contact_email: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, facility: Optional[pulumi.Input[str]] = None, metro: Optional[pulumi.Input[str]] = None, @@ -570,8 +713,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] contact_email: The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. :param pulumi.Input[str] description: Description for the connection resource. - :param pulumi.Input[str] facility: Facility where the connection will be created + :param pulumi.Input[str] facility: Facility where the connection will be created. Use metro instead; read the facility to metro migration guide :param pulumi.Input[str] metro: Metro where the connection will be created. :param pulumi.Input[str] mode: Mode for connections in IBX facilities with the dedicated type - standard or tunnel. Default is standard. :param pulumi.Input[str] name: Name of the connection resource @@ -630,11 +774,16 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InterconnectionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + contact_email: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, facility: Optional[pulumi.Input[str]] = None, metro: Optional[pulumi.Input[str]] = None, @@ -657,10 +806,8 @@ 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__ = InterconnectionArgs.__new__(InterconnectionArgs) + __props__.__dict__["contact_email"] = contact_email __props__.__dict__["description"] = description - if facility is not None and not opts.urn: - warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) - pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") __props__.__dict__["facility"] = facility __props__.__dict__["metro"] = metro __props__.__dict__["mode"] = mode @@ -671,8 +818,6 @@ def _internal_init(__self__, raise TypeError("Missing required property 'redundancy'") __props__.__dict__["redundancy"] = redundancy __props__.__dict__["service_token_type"] = service_token_type - if speed is None and not opts.urn: - raise TypeError("Missing required property 'speed'") __props__.__dict__["speed"] = speed __props__.__dict__["tags"] = tags if type is None and not opts.urn: @@ -693,6 +838,7 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, + contact_email: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, facility: Optional[pulumi.Input[str]] = None, metro: Optional[pulumi.Input[str]] = None, @@ -717,8 +863,9 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] contact_email: The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. :param pulumi.Input[str] description: Description for the connection resource. - :param pulumi.Input[str] facility: Facility where the connection will be created + :param pulumi.Input[str] facility: Facility where the connection will be created. Use metro instead; read the facility to metro migration guide :param pulumi.Input[str] metro: Metro where the connection will be created. :param pulumi.Input[str] mode: Mode for connections in IBX facilities with the dedicated type - standard or tunnel. Default is standard. :param pulumi.Input[str] name: Name of the connection resource @@ -741,6 +888,7 @@ def get(resource_name: str, __props__ = _InterconnectionState.__new__(_InterconnectionState) + __props__.__dict__["contact_email"] = contact_email __props__.__dict__["description"] = description __props__.__dict__["facility"] = facility __props__.__dict__["metro"] = metro @@ -760,6 +908,14 @@ def get(resource_name: str, __props__.__dict__["vlans"] = vlans return Interconnection(resource_name, opts=opts, __props__=__props__) + @property + @pulumi.getter(name="contactEmail") + def contact_email(self) -> pulumi.Output[str]: + """ + The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key. + """ + return pulumi.get(self, "contact_email") + @property @pulumi.getter def description(self) -> pulumi.Output[Optional[str]]: @@ -772,8 +928,11 @@ def description(self) -> pulumi.Output[Optional[str]]: @pulumi.getter def facility(self) -> pulumi.Output[str]: """ - Facility where the connection will be created + Facility where the connection will be created. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facility") @property @@ -880,6 +1039,9 @@ def token(self) -> pulumi.Output[str]: """ (Deprecated) Fabric Token required to configure the connection in Equinix Fabric with the equinix_ecx_l2_connection resource or from the [Equinix Fabric Portal](https://ecxfabric.equinix.com/dashboard). If your organization already has connection service tokens enabled, use `service_tokens` instead. """ + warnings.warn("""If your organization already has connection service tokens enabled, use `service_tokens` instead""", DeprecationWarning) + pulumi.log.warn("""token is deprecated: If your organization already has connection service tokens enabled, use `service_tokens` instead""") + return pulumi.get(self, "token") @property diff --git a/sdk/python/pulumi_equinix/metal/ip_attachment.py b/sdk/python/pulumi_equinix/metal/ip_attachment.py index 4c210c91..6aa4722b 100644 --- a/sdk/python/pulumi_equinix/metal/ip_attachment.py +++ b/sdk/python/pulumi_equinix/metal/ip_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['IpAttachmentArgs', 'IpAttachment'] @@ -22,8 +22,25 @@ def __init__(__self__, *, and metro as the device. :param pulumi.Input[str] device_id: ID of device to which to assign the subnet. """ - pulumi.set(__self__, "cidr_notation", cidr_notation) - pulumi.set(__self__, "device_id", device_id) + IpAttachmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_notation=cidr_notation, + device_id=device_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_notation: pulumi.Input[str], + device_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'cidrNotation' in kwargs: + cidr_notation = kwargs['cidrNotation'] + if 'deviceId' in kwargs: + device_id = kwargs['deviceId'] + + _setter("cidr_notation", cidr_notation) + _setter("device_id", device_id) @property @pulumi.getter(name="cidrNotation") @@ -80,32 +97,77 @@ def __init__(__self__, *, :param pulumi.Input[str] network: Subnet network address. :param pulumi.Input[bool] public: Boolean flag whether subnet is reachable from the Internet. """ + _IpAttachmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + address_family=address_family, + cidr=cidr, + cidr_notation=cidr_notation, + device_id=device_id, + gateway=gateway, + global_=global_, + manageable=manageable, + management=management, + netmask=netmask, + network=network, + public=public, + vrf_id=vrf_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[pulumi.Input[str]] = None, + address_family: Optional[pulumi.Input[int]] = None, + cidr: Optional[pulumi.Input[int]] = None, + cidr_notation: Optional[pulumi.Input[str]] = None, + device_id: Optional[pulumi.Input[str]] = None, + gateway: Optional[pulumi.Input[str]] = None, + global_: Optional[pulumi.Input[bool]] = None, + manageable: Optional[pulumi.Input[bool]] = None, + management: Optional[pulumi.Input[bool]] = None, + netmask: Optional[pulumi.Input[str]] = None, + network: Optional[pulumi.Input[str]] = None, + public: Optional[pulumi.Input[bool]] = None, + vrf_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'addressFamily' in kwargs: + address_family = kwargs['addressFamily'] + if 'cidrNotation' in kwargs: + cidr_notation = kwargs['cidrNotation'] + if 'deviceId' in kwargs: + device_id = kwargs['deviceId'] + if 'global' in kwargs: + global_ = kwargs['global'] + if 'vrfId' in kwargs: + vrf_id = kwargs['vrfId'] + if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if address_family is not None: - pulumi.set(__self__, "address_family", address_family) + _setter("address_family", address_family) if cidr is not None: - pulumi.set(__self__, "cidr", cidr) + _setter("cidr", cidr) if cidr_notation is not None: - pulumi.set(__self__, "cidr_notation", cidr_notation) + _setter("cidr_notation", cidr_notation) if device_id is not None: - pulumi.set(__self__, "device_id", device_id) + _setter("device_id", device_id) if gateway is not None: - pulumi.set(__self__, "gateway", gateway) + _setter("gateway", gateway) if global_ is not None: - pulumi.set(__self__, "global_", global_) + _setter("global_", global_) if manageable is not None: - pulumi.set(__self__, "manageable", manageable) + _setter("manageable", manageable) if management is not None: - pulumi.set(__self__, "management", management) + _setter("management", management) if netmask is not None: - pulumi.set(__self__, "netmask", netmask) + _setter("netmask", netmask) if network is not None: - pulumi.set(__self__, "network", network) + _setter("network", network) if public is not None: - pulumi.set(__self__, "public", public) + _setter("public", public) if vrf_id is not None: - pulumi.set(__self__, "vrf_id", vrf_id) + _setter("vrf_id", vrf_id) @property @pulumi.getter @@ -343,6 +405,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IpAttachmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/metal/organization.py b/sdk/python/pulumi_equinix/metal/organization.py index 00cb9fc9..f9d44cdb 100644 --- a/sdk/python/pulumi_equinix/metal/organization.py +++ b/sdk/python/pulumi_equinix/metal/organization.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -32,17 +32,38 @@ def __init__(__self__, *, :param pulumi.Input[str] twitter: Twitter handle. :param pulumi.Input[str] website: Website link. """ - pulumi.set(__self__, "address", address) + OrganizationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + description=description, + logo=logo, + name=name, + twitter=twitter, + website=website, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: pulumi.Input['OrganizationAddressArgs'], + description: Optional[pulumi.Input[str]] = None, + logo: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + twitter: Optional[pulumi.Input[str]] = None, + website: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("address", address) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if logo is not None: - pulumi.set(__self__, "logo", logo) + _setter("logo", logo) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if twitter is not None: - pulumi.set(__self__, "twitter", twitter) + _setter("twitter", twitter) if website is not None: - pulumi.set(__self__, "website", website) + _setter("website", website) @property @pulumi.getter @@ -141,22 +162,47 @@ def __init__(__self__, *, :param pulumi.Input[str] updated: The timestamp for the last time the organization was updated. :param pulumi.Input[str] website: Website link. """ + _OrganizationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + created=created, + description=description, + logo=logo, + name=name, + twitter=twitter, + updated=updated, + website=website, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[pulumi.Input['OrganizationAddressArgs']] = None, + created: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + logo: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + twitter: Optional[pulumi.Input[str]] = None, + updated: Optional[pulumi.Input[str]] = None, + website: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if logo is not None: - pulumi.set(__self__, "logo", logo) + _setter("logo", logo) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if twitter is not None: - pulumi.set(__self__, "twitter", twitter) + _setter("twitter", twitter) if updated is not None: - pulumi.set(__self__, "updated", updated) + _setter("updated", updated) if website is not None: - pulumi.set(__self__, "website", website) + _setter("website", website) @property @pulumi.getter @@ -342,6 +388,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OrganizationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -362,6 +412,11 @@ 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__ = OrganizationArgs.__new__(OrganizationArgs) + if address is not None and not isinstance(address, OrganizationAddressArgs): + address = address or {} + def _setter(key, value): + address[key] = value + OrganizationAddressArgs._configure(_setter, **address) if address is None and not opts.urn: raise TypeError("Missing required property 'address'") __props__.__dict__["address"] = address diff --git a/sdk/python/pulumi_equinix/metal/organization_member.py b/sdk/python/pulumi_equinix/metal/organization_member.py index 74222c9b..eb7d3ba7 100644 --- a/sdk/python/pulumi_equinix/metal/organization_member.py +++ b/sdk/python/pulumi_equinix/metal/organization_member.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['OrganizationMemberArgs', 'OrganizationMember'] @@ -27,12 +27,35 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Organization roles (admin, collaborator, limited_collaborator, billing) :param pulumi.Input[str] message: A message to include in the emailed invitation. """ - pulumi.set(__self__, "invitee", invitee) - pulumi.set(__self__, "organization_id", organization_id) - pulumi.set(__self__, "projects_ids", projects_ids) - pulumi.set(__self__, "roles", roles) + OrganizationMemberArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + invitee=invitee, + organization_id=organization_id, + projects_ids=projects_ids, + roles=roles, + message=message, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + invitee: pulumi.Input[str], + organization_id: pulumi.Input[str], + projects_ids: pulumi.Input[Sequence[pulumi.Input[str]]], + roles: pulumi.Input[Sequence[pulumi.Input[str]]], + message: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'organizationId' in kwargs: + organization_id = kwargs['organizationId'] + if 'projectsIds' in kwargs: + projects_ids = kwargs['projectsIds'] + + _setter("invitee", invitee) + _setter("organization_id", organization_id) + _setter("projects_ids", projects_ids) + _setter("roles", roles) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) @property @pulumi.getter @@ -121,26 +144,61 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The state of the membership ('invited' when an invitation is open, 'active' when the user is an organization member) :param pulumi.Input[str] updated: When the invitation was updated (only known in the invitation stage) """ + _OrganizationMemberState._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + invited_by=invited_by, + invitee=invitee, + message=message, + nonce=nonce, + organization_id=organization_id, + projects_ids=projects_ids, + roles=roles, + state=state, + updated=updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + invited_by: Optional[pulumi.Input[str]] = None, + invitee: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None, + nonce: Optional[pulumi.Input[str]] = None, + organization_id: Optional[pulumi.Input[str]] = None, + projects_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'invitedBy' in kwargs: + invited_by = kwargs['invitedBy'] + if 'organizationId' in kwargs: + organization_id = kwargs['organizationId'] + if 'projectsIds' in kwargs: + projects_ids = kwargs['projectsIds'] + if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if invited_by is not None: - pulumi.set(__self__, "invited_by", invited_by) + _setter("invited_by", invited_by) if invitee is not None: - pulumi.set(__self__, "invitee", invitee) + _setter("invitee", invitee) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if nonce is not None: - pulumi.set(__self__, "nonce", nonce) + _setter("nonce", nonce) if organization_id is not None: - pulumi.set(__self__, "organization_id", organization_id) + _setter("organization_id", organization_id) if projects_ids is not None: - pulumi.set(__self__, "projects_ids", projects_ids) + _setter("projects_ids", projects_ids) if roles is not None: - pulumi.set(__self__, "roles", roles) + _setter("roles", roles) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if updated is not None: - pulumi.set(__self__, "updated", updated) + _setter("updated", updated) @property @pulumi.getter @@ -348,6 +406,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OrganizationMemberArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/metal/outputs.py b/sdk/python/pulumi_equinix/metal/outputs.py index 6be6088d..ceeabc83 100644 --- a/sdk/python/pulumi_equinix/metal/outputs.py +++ b/sdk/python/pulumi_equinix/metal/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._enums import * @@ -27,6 +27,11 @@ 'GetDeviceBgpNeighborsBgpNeighborRoutesOutResult', 'GetDeviceNetworkResult', 'GetDevicePortResult', + 'GetDevicesDeviceResult', + 'GetDevicesDeviceNetworkResult', + 'GetDevicesDevicePortResult', + 'GetDevicesFilterResult', + 'GetDevicesSortResult', 'GetFacilityCapacityResult', 'GetInterconnectionPortResult', 'GetInterconnectionServiceTokenResult', @@ -62,8 +67,21 @@ def __init__(__self__, *, """ :param Sequence[str] allow_changes: List of attributes that are allowed to change without recreating the instance. Supported attributes: `custom_data`, `user_data`" """ + DeviceBehavior._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_changes=allow_changes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_changes: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowChanges' in kwargs: + allow_changes = kwargs['allowChanges'] + if allow_changes is not None: - pulumi.set(__self__, "allow_changes", allow_changes) + _setter("allow_changes", allow_changes) @property @pulumi.getter(name="allowChanges") @@ -102,12 +120,35 @@ def __init__(__self__, *, :param int cidr: CIDR suffix for IP address block to be assigned, i.e. amount of addresses. :param Sequence[str] reservation_ids: List of UUIDs of IP block reservations from which the public IPv4 address should be taken. - """ - pulumi.set(__self__, "type", type) + + You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + always pass a block for `private_ipv4`. + + To learn more about using the reserved IP addresses for new devices, see the examples in the + metal.ReservedIpBlock documentation. + """ + DeviceIpAddress._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + cidr=cidr, + reservation_ids=reservation_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + cidr: Optional[int] = None, + reservation_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'reservationIds' in kwargs: + reservation_ids = kwargs['reservationIds'] + + _setter("type", type) if cidr is not None: - pulumi.set(__self__, "cidr", cidr) + _setter("cidr", cidr) if reservation_ids is not None: - pulumi.set(__self__, "reservation_ids", reservation_ids) + _setter("reservation_ids", reservation_ids) @property @pulumi.getter @@ -131,6 +172,12 @@ def reservation_ids(self) -> Optional[Sequence[str]]: """ List of UUIDs of IP block reservations from which the public IPv4 address should be taken. + + You can supply one `ip_address` block per IP address type. If you use the `ip_address` you must + always pass a block for `private_ipv4`. + + To learn more about using the reserved IP addresses for new devices, see the examples in the + metal.ReservedIpBlock documentation. """ return pulumi.get(self, "reservation_ids") @@ -150,16 +197,35 @@ def __init__(__self__, *, :param str gateway: Address of router. :param bool public: Whether the address is routable from the Internet. """ + DeviceNetwork._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + cidr=cidr, + family=family, + gateway=gateway, + public=public, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[str] = None, + cidr: Optional[int] = None, + family: Optional[int] = None, + gateway: Optional[str] = None, + public: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if cidr is not None: - pulumi.set(__self__, "cidr", cidr) + _setter("cidr", cidr) if family is not None: - pulumi.set(__self__, "family", family) + _setter("family", family) if gateway is not None: - pulumi.set(__self__, "gateway", gateway) + _setter("gateway", gateway) if public is not None: - pulumi.set(__self__, "public", public) + _setter("public", public) @property @pulumi.getter @@ -217,16 +283,35 @@ def __init__(__self__, *, :param str name: Name of the port (e.g. `eth0`, or `bond0`). :param str type: One of `private_ipv4`, `public_ipv4`, `public_ipv6`. """ + DevicePort._configure( + lambda key, value: pulumi.set(__self__, key, value), + bonded=bonded, + id=id, + mac=mac, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bonded: Optional[bool] = None, + id: Optional[str] = None, + mac: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if bonded is not None: - pulumi.set(__self__, "bonded", bonded) + _setter("bonded", bonded) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if mac is not None: - pulumi.set(__self__, "mac", mac) + _setter("mac", mac) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -302,12 +387,31 @@ def __init__(__self__, *, :param bool preserve_data: Whether the non-OS disks should be kept or wiped during reinstall. Defaults to `false`. """ + DeviceReinstall._configure( + lambda key, value: pulumi.set(__self__, key, value), + deprovision_fast=deprovision_fast, + enabled=enabled, + preserve_data=preserve_data, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deprovision_fast: Optional[bool] = None, + enabled: Optional[bool] = None, + preserve_data: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deprovisionFast' in kwargs: + deprovision_fast = kwargs['deprovisionFast'] + if 'preserveData' in kwargs: + preserve_data = kwargs['preserveData'] + if deprovision_fast is not None: - pulumi.set(__self__, "deprovision_fast", deprovision_fast) + _setter("deprovision_fast", deprovision_fast) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if preserve_data is not None: - pulumi.set(__self__, "preserve_data", preserve_data) + _setter("preserve_data", preserve_data) @property @pulumi.getter(name="deprovisionFast") @@ -371,20 +475,47 @@ def __init__(__self__, *, :param int speed: Connection speed - one of 50Mbps, 200Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps. :param str status: Status of the connection resource. """ + InterconnectionPort._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + link_status=link_status, + name=name, + role=role, + speed=speed, + status=status, + virtual_circuit_ids=virtual_circuit_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + link_status: Optional[str] = None, + name: Optional[str] = None, + role: Optional[str] = None, + speed: Optional[int] = None, + status: Optional[str] = None, + virtual_circuit_ids: Optional[Sequence[Any]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'linkStatus' in kwargs: + link_status = kwargs['linkStatus'] + if 'virtualCircuitIds' in kwargs: + virtual_circuit_ids = kwargs['virtualCircuitIds'] + if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if link_status is not None: - pulumi.set(__self__, "link_status", link_status) + _setter("link_status", link_status) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if speed is not None: - pulumi.set(__self__, "speed", speed) + _setter("speed", speed) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if virtual_circuit_ids is not None: - pulumi.set(__self__, "virtual_circuit_ids", virtual_circuit_ids) + _setter("virtual_circuit_ids", virtual_circuit_ids) @property @pulumi.getter @@ -462,18 +593,43 @@ def __init__(__self__, *, """ :param str type: Connection type - dedicated or shared. """ + InterconnectionServiceToken._configure( + lambda key, value: pulumi.set(__self__, key, value), + expires_at=expires_at, + id=id, + max_allowed_speed=max_allowed_speed, + role=role, + state=state, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expires_at: Optional[str] = None, + id: Optional[str] = None, + max_allowed_speed: Optional[str] = None, + role: Optional[str] = None, + state: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'expiresAt' in kwargs: + expires_at = kwargs['expiresAt'] + if 'maxAllowedSpeed' in kwargs: + max_allowed_speed = kwargs['maxAllowedSpeed'] + if expires_at is not None: - pulumi.set(__self__, "expires_at", expires_at) + _setter("expires_at", expires_at) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if max_allowed_speed is not None: - pulumi.set(__self__, "max_allowed_speed", max_allowed_speed) + _setter("max_allowed_speed", max_allowed_speed) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="expiresAt") @@ -541,12 +697,33 @@ def __init__(__self__, *, :param str zip_code: Zip Code. :param str state: State name. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "zip_code", zip_code) + OrganizationAddress._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + city=city, + country=country, + zip_code=zip_code, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + city: str, + country: str, + zip_code: str, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'zipCode' in kwargs: + zip_code = kwargs['zipCode'] + + _setter("address", address) + _setter("city", city) + _setter("country", country) + _setter("zip_code", zip_code) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -624,14 +801,37 @@ def __init__(__self__, *, :param str md5: Password for BGP session in plaintext (not a checksum). :param str status: status of BGP configuration in the project. """ - pulumi.set(__self__, "asn", asn) - pulumi.set(__self__, "deployment_type", deployment_type) + ProjectBgpConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + asn=asn, + deployment_type=deployment_type, + max_prefix=max_prefix, + md5=md5, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asn: int, + deployment_type: str, + max_prefix: Optional[int] = None, + md5: Optional[str] = None, + status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deploymentType' in kwargs: + deployment_type = kwargs['deploymentType'] + if 'maxPrefix' in kwargs: + max_prefix = kwargs['maxPrefix'] + + _setter("asn", asn) + _setter("deployment_type", deployment_type) if max_prefix is not None: - pulumi.set(__self__, "max_prefix", max_prefix) + _setter("max_prefix", max_prefix) if md5 is not None: - pulumi.set(__self__, "md5", md5) + _setter("md5", md5) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -690,6 +890,8 @@ def __key_warning(key: str): suggest = "ipxe_script_url" elif key == "projectSshKeys": suggest = "project_ssh_keys" + elif key == "terminationTime": + suggest = "termination_time" elif key == "termintationTime": suggest = "termintation_time" elif key == "userSshKeys": @@ -719,38 +921,98 @@ def __init__(__self__, *, locked: Optional[bool] = None, project_ssh_keys: Optional[Sequence[str]] = None, tags: Optional[Sequence[str]] = None, + termination_time: Optional[str] = None, termintation_time: Optional[str] = None, user_ssh_keys: Optional[Sequence[str]] = None, userdata: Optional[str] = None): """ :param bool locked: Blocks deletion of the SpotMarketRequest device until the lock is disabled. """ - pulumi.set(__self__, "billing_cycle", billing_cycle) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "plan", plan) + SpotMarketRequestInstanceParameters._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_cycle=billing_cycle, + hostname=hostname, + operating_system=operating_system, + plan=plan, + always_pxe=always_pxe, + customdata=customdata, + description=description, + features=features, + ipxe_script_url=ipxe_script_url, + locked=locked, + project_ssh_keys=project_ssh_keys, + tags=tags, + termination_time=termination_time, + termintation_time=termintation_time, + user_ssh_keys=user_ssh_keys, + userdata=userdata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_cycle: str, + hostname: str, + operating_system: str, + plan: str, + always_pxe: Optional[bool] = None, + customdata: Optional[str] = None, + description: Optional[str] = None, + features: Optional[Sequence[str]] = None, + ipxe_script_url: Optional[str] = None, + locked: Optional[bool] = None, + project_ssh_keys: Optional[Sequence[str]] = None, + tags: Optional[Sequence[str]] = None, + termination_time: Optional[str] = None, + termintation_time: Optional[str] = None, + user_ssh_keys: Optional[Sequence[str]] = None, + userdata: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'billingCycle' in kwargs: + billing_cycle = kwargs['billingCycle'] + if 'operatingSystem' in kwargs: + operating_system = kwargs['operatingSystem'] + if 'alwaysPxe' in kwargs: + always_pxe = kwargs['alwaysPxe'] + if 'ipxeScriptUrl' in kwargs: + ipxe_script_url = kwargs['ipxeScriptUrl'] + if 'projectSshKeys' in kwargs: + project_ssh_keys = kwargs['projectSshKeys'] + if 'terminationTime' in kwargs: + termination_time = kwargs['terminationTime'] + if 'termintationTime' in kwargs: + termintation_time = kwargs['termintationTime'] + if 'userSshKeys' in kwargs: + user_ssh_keys = kwargs['userSshKeys'] + + _setter("billing_cycle", billing_cycle) + _setter("hostname", hostname) + _setter("operating_system", operating_system) + _setter("plan", plan) if always_pxe is not None: - pulumi.set(__self__, "always_pxe", always_pxe) + _setter("always_pxe", always_pxe) if customdata is not None: - pulumi.set(__self__, "customdata", customdata) + _setter("customdata", customdata) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if features is not None: - pulumi.set(__self__, "features", features) + _setter("features", features) if ipxe_script_url is not None: - pulumi.set(__self__, "ipxe_script_url", ipxe_script_url) + _setter("ipxe_script_url", ipxe_script_url) if locked is not None: - pulumi.set(__self__, "locked", locked) + _setter("locked", locked) if project_ssh_keys is not None: - pulumi.set(__self__, "project_ssh_keys", project_ssh_keys) + _setter("project_ssh_keys", project_ssh_keys) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) + if termination_time is not None: + _setter("termination_time", termination_time) if termintation_time is not None: - pulumi.set(__self__, "termintation_time", termintation_time) + _setter("termintation_time", termintation_time) if user_ssh_keys is not None: - pulumi.set(__self__, "user_ssh_keys", user_ssh_keys) + _setter("user_ssh_keys", user_ssh_keys) if userdata is not None: - pulumi.set(__self__, "userdata", userdata) + _setter("userdata", userdata) @property @pulumi.getter(name="billingCycle") @@ -815,9 +1077,17 @@ def project_ssh_keys(self) -> Optional[Sequence[str]]: def tags(self) -> Optional[Sequence[str]]: return pulumi.get(self, "tags") + @property + @pulumi.getter(name="terminationTime") + def termination_time(self) -> Optional[str]: + return pulumi.get(self, "termination_time") + @property @pulumi.getter(name="termintationTime") def termintation_time(self) -> Optional[str]: + warnings.warn("""Use instance_parameters.termination_time instead""", DeprecationWarning) + pulumi.log.warn("""termintation_time is deprecated: Use instance_parameters.termination_time instead""") + return pulumi.get(self, "termintation_time") @property @@ -856,17 +1126,64 @@ def __init__(__self__, *, :param Sequence['GetDeviceBgpNeighborsBgpNeighborRoutesOutArgs'] routes_outs: Array of outgoing routes in the same format. :param Sequence[str] peer_ips: Array of IP addresses of this neighbor's peers. """ - pulumi.set(__self__, "address_family", address_family) - pulumi.set(__self__, "customer_as", customer_as) - pulumi.set(__self__, "customer_ip", customer_ip) - pulumi.set(__self__, "md5_enabled", md5_enabled) - pulumi.set(__self__, "md5_password", md5_password) - pulumi.set(__self__, "multihop", multihop) - pulumi.set(__self__, "peer_as", peer_as) - pulumi.set(__self__, "routes_ins", routes_ins) - pulumi.set(__self__, "routes_outs", routes_outs) + GetDeviceBgpNeighborsBgpNeighborResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_family=address_family, + customer_as=customer_as, + customer_ip=customer_ip, + md5_enabled=md5_enabled, + md5_password=md5_password, + multihop=multihop, + peer_as=peer_as, + routes_ins=routes_ins, + routes_outs=routes_outs, + peer_ips=peer_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_family: int, + customer_as: int, + customer_ip: str, + md5_enabled: bool, + md5_password: str, + multihop: bool, + peer_as: int, + routes_ins: Sequence['outputs.GetDeviceBgpNeighborsBgpNeighborRoutesInResult'], + routes_outs: Sequence['outputs.GetDeviceBgpNeighborsBgpNeighborRoutesOutResult'], + peer_ips: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'addressFamily' in kwargs: + address_family = kwargs['addressFamily'] + if 'customerAs' in kwargs: + customer_as = kwargs['customerAs'] + if 'customerIp' in kwargs: + customer_ip = kwargs['customerIp'] + if 'md5Enabled' in kwargs: + md5_enabled = kwargs['md5Enabled'] + if 'md5Password' in kwargs: + md5_password = kwargs['md5Password'] + if 'peerAs' in kwargs: + peer_as = kwargs['peerAs'] + if 'routesIns' in kwargs: + routes_ins = kwargs['routesIns'] + if 'routesOuts' in kwargs: + routes_outs = kwargs['routesOuts'] + if 'peerIps' in kwargs: + peer_ips = kwargs['peerIps'] + + _setter("address_family", address_family) + _setter("customer_as", customer_as) + _setter("customer_ip", customer_ip) + _setter("md5_enabled", md5_enabled) + _setter("md5_password", md5_password) + _setter("multihop", multihop) + _setter("peer_as", peer_as) + _setter("routes_ins", routes_ins) + _setter("routes_outs", routes_outs) if peer_ips is not None: - pulumi.set(__self__, "peer_ips", peer_ips) + _setter("peer_ips", peer_ips) @property @pulumi.getter(name="addressFamily") @@ -958,8 +1275,21 @@ def __init__(__self__, *, :param bool exact: (bool) Whether the route is exact. :param str route: CIDR expression of route (IP/mask). """ - pulumi.set(__self__, "exact", exact) - pulumi.set(__self__, "route", route) + GetDeviceBgpNeighborsBgpNeighborRoutesInResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + exact=exact, + route=route, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exact: bool, + route: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("exact", exact) + _setter("route", route) @property @pulumi.getter @@ -987,8 +1317,21 @@ def __init__(__self__, *, :param bool exact: (bool) Whether the route is exact. :param str route: CIDR expression of route (IP/mask). """ - pulumi.set(__self__, "exact", exact) - pulumi.set(__self__, "route", route) + GetDeviceBgpNeighborsBgpNeighborRoutesOutResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + exact=exact, + route=route, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exact: bool, + route: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("exact", exact) + _setter("route", route) @property @pulumi.getter @@ -1022,11 +1365,30 @@ def __init__(__self__, *, :param str gateway: Address of router. :param bool public: Whether the address is routable from the Internet. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "cidr", cidr) - pulumi.set(__self__, "family", family) - pulumi.set(__self__, "gateway", gateway) - pulumi.set(__self__, "public", public) + GetDeviceNetworkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + cidr=cidr, + family=family, + gateway=gateway, + public=public, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + cidr: int, + family: int, + gateway: str, + public: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("address", address) + _setter("cidr", cidr) + _setter("family", family) + _setter("gateway", gateway) + _setter("public", public) @property @pulumi.getter @@ -1084,11 +1446,30 @@ def __init__(__self__, *, :param str name: Name of the port (e.g. `eth0`, or `bond0`). :param str type: Type of the port (e.g. `NetworkPort` or `NetworkBondPort`). """ - pulumi.set(__self__, "bonded", bonded) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "mac", mac) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetDevicePortResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bonded=bonded, + id=id, + mac=mac, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bonded: bool, + id: str, + mac: str, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("bonded", bonded) + _setter("id", id) + _setter("mac", mac) + _setter("name", name) + _setter("type", type) @property @pulumi.getter @@ -1131,6 +1512,495 @@ def type(self) -> str: return pulumi.get(self, "type") +@pulumi.output_type +class GetDevicesDeviceResult(dict): + def __init__(__self__, *, + access_private_ipv4: str, + access_public_ipv4: str, + access_public_ipv6: str, + always_pxe: bool, + billing_cycle: str, + description: str, + device_id: str, + facility: str, + hardware_reservation_id: str, + hostname: str, + ipxe_script_url: str, + metro: str, + network_type: str, + networks: Sequence['outputs.GetDevicesDeviceNetworkResult'], + operating_system: str, + plan: str, + ports: Sequence['outputs.GetDevicesDevicePortResult'], + project_id: str, + root_password: str, + ssh_key_ids: Sequence[str], + state: str, + storage: str, + tags: Sequence[str]): + """ + :param str project_id: ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + """ + GetDevicesDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_private_ipv4=access_private_ipv4, + access_public_ipv4=access_public_ipv4, + access_public_ipv6=access_public_ipv6, + always_pxe=always_pxe, + billing_cycle=billing_cycle, + description=description, + device_id=device_id, + facility=facility, + hardware_reservation_id=hardware_reservation_id, + hostname=hostname, + ipxe_script_url=ipxe_script_url, + metro=metro, + network_type=network_type, + networks=networks, + operating_system=operating_system, + plan=plan, + ports=ports, + project_id=project_id, + root_password=root_password, + ssh_key_ids=ssh_key_ids, + state=state, + storage=storage, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_private_ipv4: str, + access_public_ipv4: str, + access_public_ipv6: str, + always_pxe: bool, + billing_cycle: str, + description: str, + device_id: str, + facility: str, + hardware_reservation_id: str, + hostname: str, + ipxe_script_url: str, + metro: str, + network_type: str, + networks: Sequence['outputs.GetDevicesDeviceNetworkResult'], + operating_system: str, + plan: str, + ports: Sequence['outputs.GetDevicesDevicePortResult'], + project_id: str, + root_password: str, + ssh_key_ids: Sequence[str], + state: str, + storage: str, + tags: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessPrivateIpv4' in kwargs: + access_private_ipv4 = kwargs['accessPrivateIpv4'] + if 'accessPublicIpv4' in kwargs: + access_public_ipv4 = kwargs['accessPublicIpv4'] + if 'accessPublicIpv6' in kwargs: + access_public_ipv6 = kwargs['accessPublicIpv6'] + if 'alwaysPxe' in kwargs: + always_pxe = kwargs['alwaysPxe'] + if 'billingCycle' in kwargs: + billing_cycle = kwargs['billingCycle'] + if 'deviceId' in kwargs: + device_id = kwargs['deviceId'] + if 'hardwareReservationId' in kwargs: + hardware_reservation_id = kwargs['hardwareReservationId'] + if 'ipxeScriptUrl' in kwargs: + ipxe_script_url = kwargs['ipxeScriptUrl'] + if 'networkType' in kwargs: + network_type = kwargs['networkType'] + if 'operatingSystem' in kwargs: + operating_system = kwargs['operatingSystem'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'rootPassword' in kwargs: + root_password = kwargs['rootPassword'] + if 'sshKeyIds' in kwargs: + ssh_key_ids = kwargs['sshKeyIds'] + + _setter("access_private_ipv4", access_private_ipv4) + _setter("access_public_ipv4", access_public_ipv4) + _setter("access_public_ipv6", access_public_ipv6) + _setter("always_pxe", always_pxe) + _setter("billing_cycle", billing_cycle) + _setter("description", description) + _setter("device_id", device_id) + _setter("facility", facility) + _setter("hardware_reservation_id", hardware_reservation_id) + _setter("hostname", hostname) + _setter("ipxe_script_url", ipxe_script_url) + _setter("metro", metro) + _setter("network_type", network_type) + _setter("networks", networks) + _setter("operating_system", operating_system) + _setter("plan", plan) + _setter("ports", ports) + _setter("project_id", project_id) + _setter("root_password", root_password) + _setter("ssh_key_ids", ssh_key_ids) + _setter("state", state) + _setter("storage", storage) + _setter("tags", tags) + + @property + @pulumi.getter(name="accessPrivateIpv4") + def access_private_ipv4(self) -> str: + return pulumi.get(self, "access_private_ipv4") + + @property + @pulumi.getter(name="accessPublicIpv4") + def access_public_ipv4(self) -> str: + return pulumi.get(self, "access_public_ipv4") + + @property + @pulumi.getter(name="accessPublicIpv6") + def access_public_ipv6(self) -> str: + return pulumi.get(self, "access_public_ipv6") + + @property + @pulumi.getter(name="alwaysPxe") + def always_pxe(self) -> bool: + return pulumi.get(self, "always_pxe") + + @property + @pulumi.getter(name="billingCycle") + def billing_cycle(self) -> str: + return pulumi.get(self, "billing_cycle") + + @property + @pulumi.getter + def description(self) -> str: + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="deviceId") + def device_id(self) -> str: + return pulumi.get(self, "device_id") + + @property + @pulumi.getter + def facility(self) -> str: + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + + return pulumi.get(self, "facility") + + @property + @pulumi.getter(name="hardwareReservationId") + def hardware_reservation_id(self) -> str: + return pulumi.get(self, "hardware_reservation_id") + + @property + @pulumi.getter + def hostname(self) -> str: + return pulumi.get(self, "hostname") + + @property + @pulumi.getter(name="ipxeScriptUrl") + def ipxe_script_url(self) -> str: + return pulumi.get(self, "ipxe_script_url") + + @property + @pulumi.getter + def metro(self) -> str: + return pulumi.get(self, "metro") + + @property + @pulumi.getter(name="networkType") + def network_type(self) -> str: + return pulumi.get(self, "network_type") + + @property + @pulumi.getter + def networks(self) -> Sequence['outputs.GetDevicesDeviceNetworkResult']: + return pulumi.get(self, "networks") + + @property + @pulumi.getter(name="operatingSystem") + def operating_system(self) -> str: + return pulumi.get(self, "operating_system") + + @property + @pulumi.getter + def plan(self) -> str: + return pulumi.get(self, "plan") + + @property + @pulumi.getter + def ports(self) -> Sequence['outputs.GetDevicesDevicePortResult']: + return pulumi.get(self, "ports") + + @property + @pulumi.getter(name="projectId") + def project_id(self) -> str: + """ + ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. + """ + return pulumi.get(self, "project_id") + + @property + @pulumi.getter(name="rootPassword") + def root_password(self) -> str: + return pulumi.get(self, "root_password") + + @property + @pulumi.getter(name="sshKeyIds") + def ssh_key_ids(self) -> Sequence[str]: + return pulumi.get(self, "ssh_key_ids") + + @property + @pulumi.getter + def state(self) -> str: + return pulumi.get(self, "state") + + @property + @pulumi.getter + def storage(self) -> str: + return pulumi.get(self, "storage") + + @property + @pulumi.getter + def tags(self) -> Sequence[str]: + return pulumi.get(self, "tags") + + +@pulumi.output_type +class GetDevicesDeviceNetworkResult(dict): + def __init__(__self__, *, + address: str, + cidr: int, + family: int, + gateway: str, + public: bool): + GetDevicesDeviceNetworkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + cidr=cidr, + family=family, + gateway=gateway, + public=public, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + cidr: int, + family: int, + gateway: str, + public: bool, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("address", address) + _setter("cidr", cidr) + _setter("family", family) + _setter("gateway", gateway) + _setter("public", public) + + @property + @pulumi.getter + def address(self) -> str: + return pulumi.get(self, "address") + + @property + @pulumi.getter + def cidr(self) -> int: + return pulumi.get(self, "cidr") + + @property + @pulumi.getter + def family(self) -> int: + return pulumi.get(self, "family") + + @property + @pulumi.getter + def gateway(self) -> str: + return pulumi.get(self, "gateway") + + @property + @pulumi.getter + def public(self) -> bool: + return pulumi.get(self, "public") + + +@pulumi.output_type +class GetDevicesDevicePortResult(dict): + def __init__(__self__, *, + bonded: bool, + id: str, + mac: str, + name: str, + type: str): + GetDevicesDevicePortResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bonded=bonded, + id=id, + mac=mac, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bonded: bool, + id: str, + mac: str, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("bonded", bonded) + _setter("id", id) + _setter("mac", mac) + _setter("name", name) + _setter("type", type) + + @property + @pulumi.getter + def bonded(self) -> bool: + return pulumi.get(self, "bonded") + + @property + @pulumi.getter + def id(self) -> str: + return pulumi.get(self, "id") + + @property + @pulumi.getter + def mac(self) -> str: + return pulumi.get(self, "mac") + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetDevicesFilterResult(dict): + def __init__(__self__, *, + attribute: str, + values: Sequence[str], + all: Optional[bool] = None, + match_by: Optional[str] = None): + """ + :param str attribute: The attribute used to filter. Filter attributes are case-sensitive + :param Sequence[str] values: The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + :param bool all: If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + + All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + :param str match_by: The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + """ + GetDevicesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute=attribute, + values=values, + all=all, + match_by=match_by, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute: str, + values: Sequence[str], + all: Optional[bool] = None, + match_by: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'matchBy' in kwargs: + match_by = kwargs['matchBy'] + + _setter("attribute", attribute) + _setter("values", values) + if all is not None: + _setter("all", all) + if match_by is not None: + _setter("match_by", match_by) + + @property + @pulumi.getter + def attribute(self) -> str: + """ + The attribute used to filter. Filter attributes are case-sensitive + """ + return pulumi.get(self, "attribute") + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + """ + The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + """ + return pulumi.get(self, "values") + + @property + @pulumi.getter + def all(self) -> Optional[bool]: + """ + If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + + All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + """ + return pulumi.get(self, "all") + + @property + @pulumi.getter(name="matchBy") + def match_by(self) -> Optional[str]: + """ + The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + """ + return pulumi.get(self, "match_by") + + +@pulumi.output_type +class GetDevicesSortResult(dict): + def __init__(__self__, *, + attribute: str, + direction: Optional[str] = None): + """ + :param str attribute: The attribute used to filter. Filter attributes are case-sensitive + """ + GetDevicesSortResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute=attribute, + direction=direction, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute: str, + direction: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("attribute", attribute) + if direction is not None: + _setter("direction", direction) + + @property + @pulumi.getter + def attribute(self) -> str: + """ + The attribute used to filter. Filter attributes are case-sensitive + """ + return pulumi.get(self, "attribute") + + @property + @pulumi.getter + def direction(self) -> Optional[str]: + return pulumi.get(self, "direction") + + @pulumi.output_type class GetFacilityCapacityResult(dict): def __init__(__self__, *, @@ -1141,9 +2011,22 @@ def __init__(__self__, *, :param int quantity: Minimun number of devices that must be available in selected location. Default is `1`. """ - pulumi.set(__self__, "plan", plan) + GetFacilityCapacityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + plan=plan, + quantity=quantity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + plan: str, + quantity: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("plan", plan) if quantity is not None: - pulumi.set(__self__, "quantity", quantity) + _setter("quantity", quantity) @property @pulumi.getter @@ -1182,13 +2065,40 @@ def __init__(__self__, *, :param str status: Port status. :param Sequence[Any] virtual_circuit_ids: List of IDs of virtual cicruits attached to this port. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "link_status", link_status) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "speed", speed) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "virtual_circuit_ids", virtual_circuit_ids) + GetInterconnectionPortResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + link_status=link_status, + name=name, + role=role, + speed=speed, + status=status, + virtual_circuit_ids=virtual_circuit_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + link_status: str, + name: str, + role: str, + speed: int, + status: str, + virtual_circuit_ids: Sequence[Any], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'linkStatus' in kwargs: + link_status = kwargs['linkStatus'] + if 'virtualCircuitIds' in kwargs: + virtual_circuit_ids = kwargs['virtualCircuitIds'] + + _setter("id", id) + _setter("link_status", link_status) + _setter("name", name) + _setter("role", role) + _setter("speed", speed) + _setter("status", status) + _setter("virtual_circuit_ids", virtual_circuit_ids) @property @pulumi.getter @@ -1263,12 +2173,37 @@ def __init__(__self__, *, :param str role: Port role - primary or secondary. :param str type: Token type, `a_side` or `z_side`. """ - pulumi.set(__self__, "expires_at", expires_at) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "max_allowed_speed", max_allowed_speed) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "type", type) + GetInterconnectionServiceTokenResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expires_at=expires_at, + id=id, + max_allowed_speed=max_allowed_speed, + role=role, + state=state, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expires_at: str, + id: str, + max_allowed_speed: str, + role: str, + state: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'expiresAt' in kwargs: + expires_at = kwargs['expiresAt'] + if 'maxAllowedSpeed' in kwargs: + max_allowed_speed = kwargs['maxAllowedSpeed'] + + _setter("expires_at", expires_at) + _setter("id", id) + _setter("max_allowed_speed", max_allowed_speed) + _setter("role", role) + _setter("state", state) + _setter("type", type) @property @pulumi.getter(name="expiresAt") @@ -1326,9 +2261,22 @@ def __init__(__self__, *, :param int quantity: Minimum number of devices that must be available in selected location. Default is `1`. """ - pulumi.set(__self__, "plan", plan) + GetMetroCapacityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + plan=plan, + quantity=quantity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + plan: str, + quantity: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("plan", plan) if quantity is not None: - pulumi.set(__self__, "quantity", quantity) + _setter("quantity", quantity) @property @pulumi.getter @@ -1363,11 +2311,32 @@ def __init__(__self__, *, :param str state: State name. :param str zip_code: Zip Code. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "zip_code", zip_code) + GetOrganizationAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + city=city, + country=country, + state=state, + zip_code=zip_code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + city: str, + country: str, + state: str, + zip_code: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'zipCode' in kwargs: + zip_code = kwargs['zipCode'] + + _setter("address", address) + _setter("city", city) + _setter("country", country) + _setter("state", state) + _setter("zip_code", zip_code) @property @pulumi.getter @@ -1421,14 +2390,35 @@ def __init__(__self__, *, :param str attribute: The attribute used to filter. Filter attributes are case-sensitive :param Sequence[str] values: The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values :param bool all: If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + + All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. :param str match_by: The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. """ - pulumi.set(__self__, "attribute", attribute) - pulumi.set(__self__, "values", values) + GetPlansFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute=attribute, + values=values, + all=all, + match_by=match_by, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute: str, + values: Sequence[str], + all: Optional[bool] = None, + match_by: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'matchBy' in kwargs: + match_by = kwargs['matchBy'] + + _setter("attribute", attribute) + _setter("values", values) if all is not None: - pulumi.set(__self__, "all", all) + _setter("all", all) if match_by is not None: - pulumi.set(__self__, "match_by", match_by) + _setter("match_by", match_by) @property @pulumi.getter @@ -1451,6 +2441,8 @@ def values(self) -> Sequence[str]: def all(self) -> Optional[bool]: """ If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + + All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. """ return pulumi.get(self, "all") @@ -1492,18 +2484,63 @@ def __init__(__self__, *, :param float pricing_month: plan monthly price :param str slug: plan slug """ - pulumi.set(__self__, "available_in_metros", available_in_metros) - pulumi.set(__self__, "available_ins", available_ins) - pulumi.set(__self__, "class_", class_) - pulumi.set(__self__, "deployment_types", deployment_types) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "legacy", legacy) - pulumi.set(__self__, "line", line) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "pricing_hour", pricing_hour) - pulumi.set(__self__, "pricing_month", pricing_month) - pulumi.set(__self__, "slug", slug) + GetPlansPlanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_in_metros=available_in_metros, + available_ins=available_ins, + class_=class_, + deployment_types=deployment_types, + description=description, + id=id, + legacy=legacy, + line=line, + name=name, + pricing_hour=pricing_hour, + pricing_month=pricing_month, + slug=slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_in_metros: Sequence[str], + available_ins: Sequence[str], + class_: str, + deployment_types: Sequence[str], + description: str, + id: str, + legacy: bool, + line: str, + name: str, + pricing_hour: float, + pricing_month: float, + slug: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'availableInMetros' in kwargs: + available_in_metros = kwargs['availableInMetros'] + if 'availableIns' in kwargs: + available_ins = kwargs['availableIns'] + if 'class' in kwargs: + class_ = kwargs['class'] + if 'deploymentTypes' in kwargs: + deployment_types = kwargs['deploymentTypes'] + if 'pricingHour' in kwargs: + pricing_hour = kwargs['pricingHour'] + if 'pricingMonth' in kwargs: + pricing_month = kwargs['pricingMonth'] + + _setter("available_in_metros", available_in_metros) + _setter("available_ins", available_ins) + _setter("class_", class_) + _setter("deployment_types", deployment_types) + _setter("description", description) + _setter("id", id) + _setter("legacy", legacy) + _setter("line", line) + _setter("name", name) + _setter("pricing_hour", pricing_hour) + _setter("pricing_month", pricing_month) + _setter("slug", slug) @property @pulumi.getter(name="availableInMetros") @@ -1519,6 +2556,9 @@ def available_ins(self) -> Sequence[str]: """ (**Deprecated**) list of facilities where the plan is available """ + warnings.warn("""Use available_in_metros instead. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""available_ins is deprecated: Use available_in_metros instead. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "available_ins") @property @@ -1611,9 +2651,22 @@ def __init__(__self__, *, :param str attribute: The attribute used to filter. Filter attributes are case-sensitive :param str direction: Sort results in ascending or descending order. Strings are sorted in alphabetical order. One of: asc, desc """ - pulumi.set(__self__, "attribute", attribute) + GetPlansSortResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute=attribute, + direction=direction, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute: str, + direction: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("attribute", attribute) if direction is not None: - pulumi.set(__self__, "direction", direction) + _setter("direction", direction) @property @pulumi.getter @@ -1647,12 +2700,35 @@ def __init__(__self__, *, :param str status: Status of BGP configuration in the project. :param str md5: Password for BGP session in plaintext (not a checksum). """ - pulumi.set(__self__, "asn", asn) - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "max_prefix", max_prefix) - pulumi.set(__self__, "status", status) + GetProjectBgpConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + asn=asn, + deployment_type=deployment_type, + max_prefix=max_prefix, + status=status, + md5=md5, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asn: int, + deployment_type: str, + max_prefix: int, + status: str, + md5: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deploymentType' in kwargs: + deployment_type = kwargs['deploymentType'] + if 'maxPrefix' in kwargs: + max_prefix = kwargs['maxPrefix'] + + _setter("asn", asn) + _setter("deployment_type", deployment_type) + _setter("max_prefix", max_prefix) + _setter("status", status) if md5 is not None: - pulumi.set(__self__, "md5", md5) + _setter("md5", md5) @property @pulumi.getter diff --git a/sdk/python/pulumi_equinix/metal/port.py b/sdk/python/pulumi_equinix/metal/port.py index d78e1450..945e5c28 100644 --- a/sdk/python/pulumi_equinix/metal/port.py +++ b/sdk/python/pulumi_equinix/metal/port.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PortArgs', 'Port'] @@ -34,18 +34,51 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[int]]] vxlan_ids: List of VXLAN IDs to attach to the port, valid only for L2 and Hybrid ports. """ - pulumi.set(__self__, "bonded", bonded) - pulumi.set(__self__, "port_id", port_id) + PortArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bonded=bonded, + port_id=port_id, + layer2=layer2, + native_vlan_id=native_vlan_id, + reset_on_delete=reset_on_delete, + vlan_ids=vlan_ids, + vxlan_ids=vxlan_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bonded: pulumi.Input[bool], + port_id: pulumi.Input[str], + layer2: Optional[pulumi.Input[bool]] = None, + native_vlan_id: Optional[pulumi.Input[str]] = None, + reset_on_delete: Optional[pulumi.Input[bool]] = None, + vlan_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + vxlan_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'portId' in kwargs: + port_id = kwargs['portId'] + if 'nativeVlanId' in kwargs: + native_vlan_id = kwargs['nativeVlanId'] + if 'resetOnDelete' in kwargs: + reset_on_delete = kwargs['resetOnDelete'] + if 'vlanIds' in kwargs: + vlan_ids = kwargs['vlanIds'] + if 'vxlanIds' in kwargs: + vxlan_ids = kwargs['vxlanIds'] + + _setter("bonded", bonded) + _setter("port_id", port_id) if layer2 is not None: - pulumi.set(__self__, "layer2", layer2) + _setter("layer2", layer2) if native_vlan_id is not None: - pulumi.set(__self__, "native_vlan_id", native_vlan_id) + _setter("native_vlan_id", native_vlan_id) if reset_on_delete is not None: - pulumi.set(__self__, "reset_on_delete", reset_on_delete) + _setter("reset_on_delete", reset_on_delete) if vlan_ids is not None: - pulumi.set(__self__, "vlan_ids", vlan_ids) + _setter("vlan_ids", vlan_ids) if vxlan_ids is not None: - pulumi.set(__self__, "vxlan_ids", vxlan_ids) + _setter("vxlan_ids", vxlan_ids) @property @pulumi.getter @@ -173,34 +206,89 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[int]]] vxlan_ids: List of VXLAN IDs to attach to the port, valid only for L2 and Hybrid ports. """ + _PortState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bond_id=bond_id, + bond_name=bond_name, + bonded=bonded, + disbond_supported=disbond_supported, + layer2=layer2, + mac=mac, + name=name, + native_vlan_id=native_vlan_id, + network_type=network_type, + port_id=port_id, + reset_on_delete=reset_on_delete, + type=type, + vlan_ids=vlan_ids, + vxlan_ids=vxlan_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bond_id: Optional[pulumi.Input[str]] = None, + bond_name: Optional[pulumi.Input[str]] = None, + bonded: Optional[pulumi.Input[bool]] = None, + disbond_supported: Optional[pulumi.Input[bool]] = None, + layer2: Optional[pulumi.Input[bool]] = None, + mac: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + native_vlan_id: Optional[pulumi.Input[str]] = None, + network_type: Optional[pulumi.Input[str]] = None, + port_id: Optional[pulumi.Input[str]] = None, + reset_on_delete: Optional[pulumi.Input[bool]] = None, + type: Optional[pulumi.Input[str]] = None, + vlan_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + vxlan_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'bondId' in kwargs: + bond_id = kwargs['bondId'] + if 'bondName' in kwargs: + bond_name = kwargs['bondName'] + if 'disbondSupported' in kwargs: + disbond_supported = kwargs['disbondSupported'] + if 'nativeVlanId' in kwargs: + native_vlan_id = kwargs['nativeVlanId'] + if 'networkType' in kwargs: + network_type = kwargs['networkType'] + if 'portId' in kwargs: + port_id = kwargs['portId'] + if 'resetOnDelete' in kwargs: + reset_on_delete = kwargs['resetOnDelete'] + if 'vlanIds' in kwargs: + vlan_ids = kwargs['vlanIds'] + if 'vxlanIds' in kwargs: + vxlan_ids = kwargs['vxlanIds'] + if bond_id is not None: - pulumi.set(__self__, "bond_id", bond_id) + _setter("bond_id", bond_id) if bond_name is not None: - pulumi.set(__self__, "bond_name", bond_name) + _setter("bond_name", bond_name) if bonded is not None: - pulumi.set(__self__, "bonded", bonded) + _setter("bonded", bonded) if disbond_supported is not None: - pulumi.set(__self__, "disbond_supported", disbond_supported) + _setter("disbond_supported", disbond_supported) if layer2 is not None: - pulumi.set(__self__, "layer2", layer2) + _setter("layer2", layer2) if mac is not None: - pulumi.set(__self__, "mac", mac) + _setter("mac", mac) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if native_vlan_id is not None: - pulumi.set(__self__, "native_vlan_id", native_vlan_id) + _setter("native_vlan_id", native_vlan_id) if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if port_id is not None: - pulumi.set(__self__, "port_id", port_id) + _setter("port_id", port_id) if reset_on_delete is not None: - pulumi.set(__self__, "reset_on_delete", reset_on_delete) + _setter("reset_on_delete", reset_on_delete) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vlan_ids is not None: - pulumi.set(__self__, "vlan_ids", vlan_ids) + _setter("vlan_ids", vlan_ids) if vxlan_ids is not None: - pulumi.set(__self__, "vxlan_ids", vxlan_ids) + _setter("vxlan_ids", vxlan_ids) @property @pulumi.getter(name="bondId") @@ -449,6 +537,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PortArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/metal/port_vlan_attachment.py b/sdk/python/pulumi_equinix/metal/port_vlan_attachment.py index 45a81a93..b5b6592f 100644 --- a/sdk/python/pulumi_equinix/metal/port_vlan_attachment.py +++ b/sdk/python/pulumi_equinix/metal/port_vlan_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PortVlanAttachmentArgs', 'PortVlanAttachment'] @@ -31,13 +31,40 @@ def __init__(__self__, *, on a port, you can use `depends_on` pointing to another `metal.PortVlanAttachment`, just like in the layer2-individual example above. """ - pulumi.set(__self__, "device_id", device_id) - pulumi.set(__self__, "port_name", port_name) - pulumi.set(__self__, "vlan_vnid", vlan_vnid) + PortVlanAttachmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + device_id=device_id, + port_name=port_name, + vlan_vnid=vlan_vnid, + force_bond=force_bond, + native=native, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device_id: pulumi.Input[str], + port_name: pulumi.Input[str], + vlan_vnid: pulumi.Input[int], + force_bond: Optional[pulumi.Input[bool]] = None, + native: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deviceId' in kwargs: + device_id = kwargs['deviceId'] + if 'portName' in kwargs: + port_name = kwargs['portName'] + if 'vlanVnid' in kwargs: + vlan_vnid = kwargs['vlanVnid'] + if 'forceBond' in kwargs: + force_bond = kwargs['forceBond'] + + _setter("device_id", device_id) + _setter("port_name", port_name) + _setter("vlan_vnid", vlan_vnid) if force_bond is not None: - pulumi.set(__self__, "force_bond", force_bond) + _setter("force_bond", force_bond) if native is not None: - pulumi.set(__self__, "native", native) + _setter("native", native) @property @pulumi.getter(name="deviceId") @@ -128,20 +155,55 @@ def __init__(__self__, *, :param pulumi.Input[str] vlan_id: UUID of VLAN API resource :param pulumi.Input[int] vlan_vnid: VXLAN Network Identifier. """ + _PortVlanAttachmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + device_id=device_id, + force_bond=force_bond, + native=native, + port_id=port_id, + port_name=port_name, + vlan_id=vlan_id, + vlan_vnid=vlan_vnid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device_id: Optional[pulumi.Input[str]] = None, + force_bond: Optional[pulumi.Input[bool]] = None, + native: Optional[pulumi.Input[bool]] = None, + port_id: Optional[pulumi.Input[str]] = None, + port_name: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + vlan_vnid: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deviceId' in kwargs: + device_id = kwargs['deviceId'] + if 'forceBond' in kwargs: + force_bond = kwargs['forceBond'] + if 'portId' in kwargs: + port_id = kwargs['portId'] + if 'portName' in kwargs: + port_name = kwargs['portName'] + if 'vlanId' in kwargs: + vlan_id = kwargs['vlanId'] + if 'vlanVnid' in kwargs: + vlan_vnid = kwargs['vlanVnid'] + if device_id is not None: - pulumi.set(__self__, "device_id", device_id) + _setter("device_id", device_id) if force_bond is not None: - pulumi.set(__self__, "force_bond", force_bond) + _setter("force_bond", force_bond) if native is not None: - pulumi.set(__self__, "native", native) + _setter("native", native) if port_id is not None: - pulumi.set(__self__, "port_id", port_id) + _setter("port_id", port_id) if port_name is not None: - pulumi.set(__self__, "port_name", port_name) + _setter("port_name", port_name) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vlan_vnid is not None: - pulumi.set(__self__, "vlan_vnid", vlan_vnid) + _setter("vlan_vnid", vlan_vnid) @property @pulumi.getter(name="deviceId") @@ -353,6 +415,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PortVlanAttachmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/metal/project.py b/sdk/python/pulumi_equinix/metal/project.py index ac393499..b786c7d7 100644 --- a/sdk/python/pulumi_equinix/metal/project.py +++ b/sdk/python/pulumi_equinix/metal/project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -25,22 +25,52 @@ def __init__(__self__, *, The set of arguments for constructing a Project resource. :param pulumi.Input[bool] backend_transfer: Enable or disable [Backend Transfer](https://metal.equinix.com/developers/docs/networking/backend-transfer/), default is `false`. :param pulumi.Input['ProjectBgpConfigArgs'] bgp_config: Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). - :param pulumi.Input[str] name: The name of the project. + + > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + the Equinix Metal API). It can be updated. + :param pulumi.Input[str] name: The name of the project. The maximum length is 80 characters :param pulumi.Input[str] organization_id: The UUID of organization under which you want to create the project. If you - leave it out, the project will be create under your the default organization of your account. + leave it out, the project will be created under your the default organization of your account. :param pulumi.Input[str] payment_method_id: The UUID of payment method for this project. The payment method and the project need to belong to the same organization (passed with `organization_id`, or default). """ + ProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_transfer=backend_transfer, + bgp_config=bgp_config, + name=name, + organization_id=organization_id, + payment_method_id=payment_method_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_transfer: Optional[pulumi.Input[bool]] = None, + bgp_config: Optional[pulumi.Input['ProjectBgpConfigArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + organization_id: Optional[pulumi.Input[str]] = None, + payment_method_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backendTransfer' in kwargs: + backend_transfer = kwargs['backendTransfer'] + if 'bgpConfig' in kwargs: + bgp_config = kwargs['bgpConfig'] + if 'organizationId' in kwargs: + organization_id = kwargs['organizationId'] + if 'paymentMethodId' in kwargs: + payment_method_id = kwargs['paymentMethodId'] + if backend_transfer is not None: - pulumi.set(__self__, "backend_transfer", backend_transfer) + _setter("backend_transfer", backend_transfer) if bgp_config is not None: - pulumi.set(__self__, "bgp_config", bgp_config) + _setter("bgp_config", bgp_config) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if organization_id is not None: - pulumi.set(__self__, "organization_id", organization_id) + _setter("organization_id", organization_id) if payment_method_id is not None: - pulumi.set(__self__, "payment_method_id", payment_method_id) + _setter("payment_method_id", payment_method_id) @property @pulumi.getter(name="backendTransfer") @@ -59,6 +89,9 @@ def backend_transfer(self, value: Optional[pulumi.Input[bool]]): def bgp_config(self) -> Optional[pulumi.Input['ProjectBgpConfigArgs']]: """ Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + + > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + the Equinix Metal API). It can be updated. """ return pulumi.get(self, "bgp_config") @@ -70,7 +103,7 @@ def bgp_config(self, value: Optional[pulumi.Input['ProjectBgpConfigArgs']]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the project. + The name of the project. The maximum length is 80 characters """ return pulumi.get(self, "name") @@ -83,7 +116,7 @@ def name(self, value: Optional[pulumi.Input[str]]): def organization_id(self) -> Optional[pulumi.Input[str]]: """ The UUID of organization under which you want to create the project. If you - leave it out, the project will be create under your the default organization of your account. + leave it out, the project will be created under your the default organization of your account. """ return pulumi.get(self, "organization_id") @@ -119,28 +152,62 @@ def __init__(__self__, *, Input properties used for looking up and filtering Project resources. :param pulumi.Input[bool] backend_transfer: Enable or disable [Backend Transfer](https://metal.equinix.com/developers/docs/networking/backend-transfer/), default is `false`. :param pulumi.Input['ProjectBgpConfigArgs'] bgp_config: Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + + > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + the Equinix Metal API). It can be updated. :param pulumi.Input[str] created: The timestamp for when the project was created. - :param pulumi.Input[str] name: The name of the project. + :param pulumi.Input[str] name: The name of the project. The maximum length is 80 characters :param pulumi.Input[str] organization_id: The UUID of organization under which you want to create the project. If you - leave it out, the project will be create under your the default organization of your account. + leave it out, the project will be created under your the default organization of your account. :param pulumi.Input[str] payment_method_id: The UUID of payment method for this project. The payment method and the project need to belong to the same organization (passed with `organization_id`, or default). :param pulumi.Input[str] updated: The timestamp for the last time the project was updated. """ + _ProjectState._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_transfer=backend_transfer, + bgp_config=bgp_config, + created=created, + name=name, + organization_id=organization_id, + payment_method_id=payment_method_id, + updated=updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_transfer: Optional[pulumi.Input[bool]] = None, + bgp_config: Optional[pulumi.Input['ProjectBgpConfigArgs']] = None, + created: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + organization_id: Optional[pulumi.Input[str]] = None, + payment_method_id: Optional[pulumi.Input[str]] = None, + updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backendTransfer' in kwargs: + backend_transfer = kwargs['backendTransfer'] + if 'bgpConfig' in kwargs: + bgp_config = kwargs['bgpConfig'] + if 'organizationId' in kwargs: + organization_id = kwargs['organizationId'] + if 'paymentMethodId' in kwargs: + payment_method_id = kwargs['paymentMethodId'] + if backend_transfer is not None: - pulumi.set(__self__, "backend_transfer", backend_transfer) + _setter("backend_transfer", backend_transfer) if bgp_config is not None: - pulumi.set(__self__, "bgp_config", bgp_config) + _setter("bgp_config", bgp_config) if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if organization_id is not None: - pulumi.set(__self__, "organization_id", organization_id) + _setter("organization_id", organization_id) if payment_method_id is not None: - pulumi.set(__self__, "payment_method_id", payment_method_id) + _setter("payment_method_id", payment_method_id) if updated is not None: - pulumi.set(__self__, "updated", updated) + _setter("updated", updated) @property @pulumi.getter(name="backendTransfer") @@ -159,6 +226,9 @@ def backend_transfer(self, value: Optional[pulumi.Input[bool]]): def bgp_config(self) -> Optional[pulumi.Input['ProjectBgpConfigArgs']]: """ Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + + > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + the Equinix Metal API). It can be updated. """ return pulumi.get(self, "bgp_config") @@ -182,7 +252,7 @@ def created(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - The name of the project. + The name of the project. The maximum length is 80 characters """ return pulumi.get(self, "name") @@ -195,7 +265,7 @@ def name(self, value: Optional[pulumi.Input[str]]): def organization_id(self) -> Optional[pulumi.Input[str]]: """ The UUID of organization under which you want to create the project. If you - leave it out, the project will be create under your the default organization of your account. + leave it out, the project will be created under your the default organization of your account. """ return pulumi.get(self, "organization_id") @@ -272,9 +342,12 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] backend_transfer: Enable or disable [Backend Transfer](https://metal.equinix.com/developers/docs/networking/backend-transfer/), default is `false`. :param pulumi.Input[pulumi.InputType['ProjectBgpConfigArgs']] bgp_config: Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). - :param pulumi.Input[str] name: The name of the project. + + > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + the Equinix Metal API). It can be updated. + :param pulumi.Input[str] name: The name of the project. The maximum length is 80 characters :param pulumi.Input[str] organization_id: The UUID of organization under which you want to create the project. If you - leave it out, the project will be create under your the default organization of your account. + leave it out, the project will be created under your the default organization of your account. :param pulumi.Input[str] payment_method_id: The UUID of payment method for this project. The payment method and the project need to belong to the same organization (passed with `organization_id`, or default). """ @@ -322,6 +395,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -342,6 +419,11 @@ def _internal_init(__self__, __props__ = ProjectArgs.__new__(ProjectArgs) __props__.__dict__["backend_transfer"] = backend_transfer + if bgp_config is not None and not isinstance(bgp_config, ProjectBgpConfigArgs): + bgp_config = bgp_config or {} + def _setter(key, value): + bgp_config[key] = value + ProjectBgpConfigArgs._configure(_setter, **bgp_config) __props__.__dict__["bgp_config"] = bgp_config __props__.__dict__["name"] = name __props__.__dict__["organization_id"] = organization_id @@ -374,10 +456,13 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] backend_transfer: Enable or disable [Backend Transfer](https://metal.equinix.com/developers/docs/networking/backend-transfer/), default is `false`. :param pulumi.Input[pulumi.InputType['ProjectBgpConfigArgs']] bgp_config: Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + + > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + the Equinix Metal API). It can be updated. :param pulumi.Input[str] created: The timestamp for when the project was created. - :param pulumi.Input[str] name: The name of the project. + :param pulumi.Input[str] name: The name of the project. The maximum length is 80 characters :param pulumi.Input[str] organization_id: The UUID of organization under which you want to create the project. If you - leave it out, the project will be create under your the default organization of your account. + leave it out, the project will be created under your the default organization of your account. :param pulumi.Input[str] payment_method_id: The UUID of payment method for this project. The payment method and the project need to belong to the same organization (passed with `organization_id`, or default). :param pulumi.Input[str] updated: The timestamp for the last time the project was updated. @@ -408,6 +493,9 @@ def backend_transfer(self) -> pulumi.Output[Optional[bool]]: def bgp_config(self) -> pulumi.Output[Optional['outputs.ProjectBgpConfig']]: """ Optional BGP settings. Refer to [Equinix Metal guide for BGP](https://metal.equinix.com/developers/docs/networking/local-global-bgp/). + + > **NOTE:** Once you set the BGP config in a project, it can't be removed (due to a limitation in + the Equinix Metal API). It can be updated. """ return pulumi.get(self, "bgp_config") @@ -423,7 +511,7 @@ def created(self) -> pulumi.Output[str]: @pulumi.getter def name(self) -> pulumi.Output[str]: """ - The name of the project. + The name of the project. The maximum length is 80 characters """ return pulumi.get(self, "name") @@ -432,7 +520,7 @@ def name(self) -> pulumi.Output[str]: def organization_id(self) -> pulumi.Output[str]: """ The UUID of organization under which you want to create the project. If you - leave it out, the project will be create under your the default organization of your account. + leave it out, the project will be created under your the default organization of your account. """ return pulumi.get(self, "organization_id") diff --git a/sdk/python/pulumi_equinix/metal/project_api_key.py b/sdk/python/pulumi_equinix/metal/project_api_key.py index d6d254e7..10e97b12 100644 --- a/sdk/python/pulumi_equinix/metal/project_api_key.py +++ b/sdk/python/pulumi_equinix/metal/project_api_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ProjectApiKeyArgs', 'ProjectApiKey'] @@ -24,9 +24,28 @@ def __init__(__self__, *, :param pulumi.Input[str] project_id: UUID of the project where the API key is scoped to. :param pulumi.Input[bool] read_only: Flag indicating whether the API key shoud be read-only """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "read_only", read_only) + ProjectApiKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + project_id=project_id, + read_only=read_only, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: pulumi.Input[str], + project_id: pulumi.Input[str], + read_only: pulumi.Input[bool], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + + _setter("description", description) + _setter("project_id", project_id) + _setter("read_only", read_only) @property @pulumi.getter @@ -81,14 +100,35 @@ def __init__(__self__, *, :param pulumi.Input[bool] read_only: Flag indicating whether the API key shoud be read-only :param pulumi.Input[str] token: API token which can be used in Equinix Metal API clients """ + _ProjectApiKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + project_id=project_id, + read_only=read_only, + token=token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + read_only: Optional[pulumi.Input[bool]] = None, + token: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) if token is not None: - pulumi.set(__self__, "token", token) + _setter("token", token) @property @pulumi.getter @@ -222,6 +262,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectApiKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/metal/project_ssh_key.py b/sdk/python/pulumi_equinix/metal/project_ssh_key.py index 3a7e5c82..e36982f9 100644 --- a/sdk/python/pulumi_equinix/metal/project_ssh_key.py +++ b/sdk/python/pulumi_equinix/metal/project_ssh_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ProjectSshKeyArgs', 'ProjectSshKey'] @@ -23,10 +23,29 @@ def __init__(__self__, *, :param pulumi.Input[str] public_key: The public key. If this is a file, it can be read using the file interpolation function. :param pulumi.Input[str] name: The name of the SSH key for identification. """ - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "public_key", public_key) + ProjectSshKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + project_id=project_id, + public_key=public_key, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + project_id: pulumi.Input[str], + public_key: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'publicKey' in kwargs: + public_key = kwargs['publicKey'] + + _setter("project_id", project_id) + _setter("public_key", public_key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="projectId") @@ -85,20 +104,49 @@ def __init__(__self__, *, :param pulumi.Input[str] public_key: The public key. If this is a file, it can be read using the file interpolation function. :param pulumi.Input[str] updated: The timestamp for the last time the SSH key was updated. """ + _ProjectSshKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + fingerprint=fingerprint, + name=name, + owner_id=owner_id, + project_id=project_id, + public_key=public_key, + updated=updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + fingerprint: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + owner_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + public_key: Optional[pulumi.Input[str]] = None, + updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ownerId' in kwargs: + owner_id = kwargs['ownerId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'publicKey' in kwargs: + public_key = kwargs['publicKey'] + if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if fingerprint is not None: - pulumi.set(__self__, "fingerprint", fingerprint) + _setter("fingerprint", fingerprint) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if owner_id is not None: - pulumi.set(__self__, "owner_id", owner_id) + _setter("owner_id", owner_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if public_key is not None: - pulumi.set(__self__, "public_key", public_key) + _setter("public_key", public_key) if updated is not None: - pulumi.set(__self__, "updated", updated) + _setter("updated", updated) @property @pulumi.getter @@ -254,6 +302,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectSshKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/metal/reserved_ip_block.py b/sdk/python/pulumi_equinix/metal/reserved_ip_block.py index 4f2ab6de..abab8557 100644 --- a/sdk/python/pulumi_equinix/metal/reserved_ip_block.py +++ b/sdk/python/pulumi_equinix/metal/reserved_ip_block.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from ._enums import * @@ -34,8 +34,8 @@ def __init__(__self__, *, :param pulumi.Input[str] custom_data: Custom Data is an arbitrary object (submitted in Terraform as serialized JSON) to assign to the IP Reservation. This may be helpful for self-managed IPAM. The object must be valid JSON. :param pulumi.Input[str] description: Arbitrary description. - :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - type==global_ipv4, conflicts with metro + :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to allocate the public IP address block, makes sense only + if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide :param pulumi.Input[str] metro: Metro where to allocate the public IP address block, makes sense only if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `facility`. :param pulumi.Input[str] network: Only valid as an argument and required when `type` is `vrf`. An unreserved network address from an existing `ip_range` in the specified VRF. @@ -46,29 +46,70 @@ def __init__(__self__, *, :param pulumi.Input[str] vrf_id: Only valid and required when `type` is `vrf`. VRF ID for type=vrf reservations. :param pulumi.Input[str] wait_for_state: Wait for the IP reservation block to reach a desired state on resource creation. One of: `pending`, `created`. The `created` state is default and recommended if the addresses are needed within the configuration. An error will be returned if a timeout or the `denied` state is encountered. """ - pulumi.set(__self__, "project_id", project_id) + ReservedIpBlockArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + project_id=project_id, + cidr=cidr, + custom_data=custom_data, + description=description, + facility=facility, + metro=metro, + network=network, + quantity=quantity, + tags=tags, + type=type, + vrf_id=vrf_id, + wait_for_state=wait_for_state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + project_id: pulumi.Input[str], + cidr: Optional[pulumi.Input[int]] = None, + custom_data: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + facility: Optional[pulumi.Input[Union[str, 'Facility']]] = None, + metro: Optional[pulumi.Input[str]] = None, + network: Optional[pulumi.Input[str]] = None, + quantity: Optional[pulumi.Input[int]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[Union[str, 'IpBlockType']]] = None, + vrf_id: Optional[pulumi.Input[str]] = None, + wait_for_state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'customData' in kwargs: + custom_data = kwargs['customData'] + if 'vrfId' in kwargs: + vrf_id = kwargs['vrfId'] + if 'waitForState' in kwargs: + wait_for_state = kwargs['waitForState'] + + _setter("project_id", project_id) if cidr is not None: - pulumi.set(__self__, "cidr", cidr) + _setter("cidr", cidr) if custom_data is not None: - pulumi.set(__self__, "custom_data", custom_data) + _setter("custom_data", custom_data) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if facility is not None: - pulumi.set(__self__, "facility", facility) + _setter("facility", facility) if metro is not None: - pulumi.set(__self__, "metro", metro) + _setter("metro", metro) if network is not None: - pulumi.set(__self__, "network", network) + _setter("network", network) if quantity is not None: - pulumi.set(__self__, "quantity", quantity) + _setter("quantity", quantity) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vrf_id is not None: - pulumi.set(__self__, "vrf_id", vrf_id) + _setter("vrf_id", vrf_id) if wait_for_state is not None: - pulumi.set(__self__, "wait_for_state", wait_for_state) + _setter("wait_for_state", wait_for_state) @property @pulumi.getter(name="projectId") @@ -123,8 +164,8 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def facility(self) -> Optional[pulumi.Input[Union[str, 'Facility']]]: """ - Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - type==global_ipv4, conflicts with metro + Facility where to allocate the public IP address block, makes sense only + if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide """ return pulumi.get(self, "facility") @@ -251,8 +292,8 @@ def __init__(__self__, *, :param pulumi.Input[str] custom_data: Custom Data is an arbitrary object (submitted in Terraform as serialized JSON) to assign to the IP Reservation. This may be helpful for self-managed IPAM. The object must be valid JSON. :param pulumi.Input[str] description: Arbitrary description. - :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - type==global_ipv4, conflicts with metro + :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to allocate the public IP address block, makes sense only + if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide :param pulumi.Input[bool] global_: Boolean flag whether addresses from a block are global (i.e. can be assigned in any metro). :param pulumi.Input[str] metro: Metro where to allocate the public IP address block, makes sense only @@ -268,48 +309,113 @@ def __init__(__self__, *, :param pulumi.Input[str] vrf_id: Only valid and required when `type` is `vrf`. VRF ID for type=vrf reservations. :param pulumi.Input[str] wait_for_state: Wait for the IP reservation block to reach a desired state on resource creation. One of: `pending`, `created`. The `created` state is default and recommended if the addresses are needed within the configuration. An error will be returned if a timeout or the `denied` state is encountered. """ + _ReservedIpBlockState._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + address_family=address_family, + cidr=cidr, + cidr_notation=cidr_notation, + custom_data=custom_data, + description=description, + facility=facility, + gateway=gateway, + global_=global_, + manageable=manageable, + management=management, + metro=metro, + netmask=netmask, + network=network, + project_id=project_id, + public=public, + quantity=quantity, + tags=tags, + type=type, + vrf_id=vrf_id, + wait_for_state=wait_for_state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[pulumi.Input[str]] = None, + address_family: Optional[pulumi.Input[int]] = None, + cidr: Optional[pulumi.Input[int]] = None, + cidr_notation: Optional[pulumi.Input[str]] = None, + custom_data: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + facility: Optional[pulumi.Input[Union[str, 'Facility']]] = None, + gateway: Optional[pulumi.Input[str]] = None, + global_: Optional[pulumi.Input[bool]] = None, + manageable: Optional[pulumi.Input[bool]] = None, + management: Optional[pulumi.Input[bool]] = None, + metro: Optional[pulumi.Input[str]] = None, + netmask: Optional[pulumi.Input[str]] = None, + network: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + public: Optional[pulumi.Input[bool]] = None, + quantity: Optional[pulumi.Input[int]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[Union[str, 'IpBlockType']]] = None, + vrf_id: Optional[pulumi.Input[str]] = None, + wait_for_state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'addressFamily' in kwargs: + address_family = kwargs['addressFamily'] + if 'cidrNotation' in kwargs: + cidr_notation = kwargs['cidrNotation'] + if 'customData' in kwargs: + custom_data = kwargs['customData'] + if 'global' in kwargs: + global_ = kwargs['global'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'vrfId' in kwargs: + vrf_id = kwargs['vrfId'] + if 'waitForState' in kwargs: + wait_for_state = kwargs['waitForState'] + if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if address_family is not None: - pulumi.set(__self__, "address_family", address_family) + _setter("address_family", address_family) if cidr is not None: - pulumi.set(__self__, "cidr", cidr) + _setter("cidr", cidr) if cidr_notation is not None: - pulumi.set(__self__, "cidr_notation", cidr_notation) + _setter("cidr_notation", cidr_notation) if custom_data is not None: - pulumi.set(__self__, "custom_data", custom_data) + _setter("custom_data", custom_data) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if facility is not None: - pulumi.set(__self__, "facility", facility) + _setter("facility", facility) if gateway is not None: - pulumi.set(__self__, "gateway", gateway) + _setter("gateway", gateway) if global_ is not None: - pulumi.set(__self__, "global_", global_) + _setter("global_", global_) if manageable is not None: - pulumi.set(__self__, "manageable", manageable) + _setter("manageable", manageable) if management is not None: - pulumi.set(__self__, "management", management) + _setter("management", management) if metro is not None: - pulumi.set(__self__, "metro", metro) + _setter("metro", metro) if netmask is not None: - pulumi.set(__self__, "netmask", netmask) + _setter("netmask", netmask) if network is not None: - pulumi.set(__self__, "network", network) + _setter("network", network) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if public is not None: - pulumi.set(__self__, "public", public) + _setter("public", public) if quantity is not None: - pulumi.set(__self__, "quantity", quantity) + _setter("quantity", quantity) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vrf_id is not None: - pulumi.set(__self__, "vrf_id", vrf_id) + _setter("vrf_id", vrf_id) if wait_for_state is not None: - pulumi.set(__self__, "wait_for_state", wait_for_state) + _setter("wait_for_state", wait_for_state) @property @pulumi.getter @@ -385,8 +491,8 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def facility(self) -> Optional[pulumi.Input[Union[str, 'Facility']]]: """ - Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - type==global_ipv4, conflicts with metro + Facility where to allocate the public IP address block, makes sense only + if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide """ return pulumi.get(self, "facility") @@ -626,8 +732,8 @@ def __init__(__self__, :param pulumi.Input[str] custom_data: Custom Data is an arbitrary object (submitted in Terraform as serialized JSON) to assign to the IP Reservation. This may be helpful for self-managed IPAM. The object must be valid JSON. :param pulumi.Input[str] description: Arbitrary description. - :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - type==global_ipv4, conflicts with metro + :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to allocate the public IP address block, makes sense only + if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide :param pulumi.Input[str] metro: Metro where to allocate the public IP address block, makes sense only if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `facility`. :param pulumi.Input[str] network: Only valid as an argument and required when `type` is `vrf`. An unreserved network address from an existing `ip_range` in the specified VRF. @@ -700,6 +806,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ReservedIpBlockArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -793,8 +903,8 @@ def get(resource_name: str, :param pulumi.Input[str] custom_data: Custom Data is an arbitrary object (submitted in Terraform as serialized JSON) to assign to the IP Reservation. This may be helpful for self-managed IPAM. The object must be valid JSON. :param pulumi.Input[str] description: Arbitrary description. - :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - type==global_ipv4, conflicts with metro + :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to allocate the public IP address block, makes sense only + if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide :param pulumi.Input[bool] global_: Boolean flag whether addresses from a block are global (i.e. can be assigned in any metro). :param pulumi.Input[str] metro: Metro where to allocate the public IP address block, makes sense only @@ -887,8 +997,8 @@ def description(self) -> pulumi.Output[Optional[str]]: @pulumi.getter def facility(self) -> pulumi.Output[Optional[str]]: """ - Facility where to allocate the public IP address block, makes sense only for type==public_ipv4, must be empty for - type==global_ipv4, conflicts with metro + Facility where to allocate the public IP address block, makes sense only + if type is `public_ipv4` and must be empty if type is `global_ipv4`. Conflicts with `metro`. Use metro instead; read the facility to metro migration guide """ return pulumi.get(self, "facility") diff --git a/sdk/python/pulumi_equinix/metal/spot_market_request.py b/sdk/python/pulumi_equinix/metal/spot_market_request.py index d57aa16a..a4cfd61b 100644 --- a/sdk/python/pulumi_equinix/metal/spot_market_request.py +++ b/sdk/python/pulumi_equinix/metal/spot_market_request.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -30,30 +30,67 @@ def __init__(__self__, *, :param pulumi.Input[int] devices_min: Miniumum number devices to be created. :param pulumi.Input['SpotMarketRequestInstanceParametersArgs'] instance_parameters: Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter description in metal.Device docs. :param pulumi.Input[float] max_bid_price: Maximum price user is willing to pay per hour per device. :param pulumi.Input[str] project_id: Project ID. - :param pulumi.Input[Sequence[pulumi.Input[str]]] facilities: Facility IDs where devices should be created + :param pulumi.Input[Sequence[pulumi.Input[str]]] facilities: Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide :param pulumi.Input[str] metro: Metro where devices should be created. :param pulumi.Input[bool] wait_for_devices: On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed. """ - pulumi.set(__self__, "devices_max", devices_max) - pulumi.set(__self__, "devices_min", devices_min) - pulumi.set(__self__, "instance_parameters", instance_parameters) - pulumi.set(__self__, "max_bid_price", max_bid_price) - pulumi.set(__self__, "project_id", project_id) + SpotMarketRequestArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + devices_max=devices_max, + devices_min=devices_min, + instance_parameters=instance_parameters, + max_bid_price=max_bid_price, + project_id=project_id, + facilities=facilities, + metro=metro, + wait_for_devices=wait_for_devices, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + devices_max: pulumi.Input[int], + devices_min: pulumi.Input[int], + instance_parameters: pulumi.Input['SpotMarketRequestInstanceParametersArgs'], + max_bid_price: pulumi.Input[float], + project_id: pulumi.Input[str], + facilities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metro: Optional[pulumi.Input[str]] = None, + wait_for_devices: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'devicesMax' in kwargs: + devices_max = kwargs['devicesMax'] + if 'devicesMin' in kwargs: + devices_min = kwargs['devicesMin'] + if 'instanceParameters' in kwargs: + instance_parameters = kwargs['instanceParameters'] + if 'maxBidPrice' in kwargs: + max_bid_price = kwargs['maxBidPrice'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'waitForDevices' in kwargs: + wait_for_devices = kwargs['waitForDevices'] + + _setter("devices_max", devices_max) + _setter("devices_min", devices_min) + _setter("instance_parameters", instance_parameters) + _setter("max_bid_price", max_bid_price) + _setter("project_id", project_id) if facilities is not None: warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) pulumi.log.warn("""facilities is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") if facilities is not None: - pulumi.set(__self__, "facilities", facilities) + _setter("facilities", facilities) if metro is not None: - pulumi.set(__self__, "metro", metro) + _setter("metro", metro) if wait_for_devices is not None: - pulumi.set(__self__, "wait_for_devices", wait_for_devices) + _setter("wait_for_devices", wait_for_devices) @property @pulumi.getter(name="devicesMax") @@ -85,7 +122,7 @@ def instance_parameters(self) -> pulumi.Input['SpotMarketRequestInstanceParamete """ Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter description in metal.Device docs. """ @@ -123,8 +160,11 @@ def project_id(self, value: pulumi.Input[str]): @pulumi.getter def facilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Facility IDs where devices should be created + Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facilities is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facilities") @facilities.setter @@ -172,10 +212,10 @@ def __init__(__self__, *, Input properties used for looking up and filtering SpotMarketRequest resources. :param pulumi.Input[int] devices_max: Maximum number devices to be created. :param pulumi.Input[int] devices_min: Miniumum number devices to be created. - :param pulumi.Input[Sequence[pulumi.Input[str]]] facilities: Facility IDs where devices should be created + :param pulumi.Input[Sequence[pulumi.Input[str]]] facilities: Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide :param pulumi.Input['SpotMarketRequestInstanceParametersArgs'] instance_parameters: Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter description in metal.Device docs. :param pulumi.Input[float] max_bid_price: Maximum price user is willing to pay per hour per device. @@ -184,25 +224,62 @@ def __init__(__self__, *, :param pulumi.Input[bool] wait_for_devices: On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed. """ + _SpotMarketRequestState._configure( + lambda key, value: pulumi.set(__self__, key, value), + devices_max=devices_max, + devices_min=devices_min, + facilities=facilities, + instance_parameters=instance_parameters, + max_bid_price=max_bid_price, + metro=metro, + project_id=project_id, + wait_for_devices=wait_for_devices, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + devices_max: Optional[pulumi.Input[int]] = None, + devices_min: Optional[pulumi.Input[int]] = None, + facilities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + instance_parameters: Optional[pulumi.Input['SpotMarketRequestInstanceParametersArgs']] = None, + max_bid_price: Optional[pulumi.Input[float]] = None, + metro: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + wait_for_devices: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'devicesMax' in kwargs: + devices_max = kwargs['devicesMax'] + if 'devicesMin' in kwargs: + devices_min = kwargs['devicesMin'] + if 'instanceParameters' in kwargs: + instance_parameters = kwargs['instanceParameters'] + if 'maxBidPrice' in kwargs: + max_bid_price = kwargs['maxBidPrice'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'waitForDevices' in kwargs: + wait_for_devices = kwargs['waitForDevices'] + if devices_max is not None: - pulumi.set(__self__, "devices_max", devices_max) + _setter("devices_max", devices_max) if devices_min is not None: - pulumi.set(__self__, "devices_min", devices_min) + _setter("devices_min", devices_min) if facilities is not None: warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) pulumi.log.warn("""facilities is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") if facilities is not None: - pulumi.set(__self__, "facilities", facilities) + _setter("facilities", facilities) if instance_parameters is not None: - pulumi.set(__self__, "instance_parameters", instance_parameters) + _setter("instance_parameters", instance_parameters) if max_bid_price is not None: - pulumi.set(__self__, "max_bid_price", max_bid_price) + _setter("max_bid_price", max_bid_price) if metro is not None: - pulumi.set(__self__, "metro", metro) + _setter("metro", metro) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if wait_for_devices is not None: - pulumi.set(__self__, "wait_for_devices", wait_for_devices) + _setter("wait_for_devices", wait_for_devices) @property @pulumi.getter(name="devicesMax") @@ -232,8 +309,11 @@ def devices_min(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def facilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Facility IDs where devices should be created + Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facilities is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facilities") @facilities.setter @@ -246,7 +326,7 @@ def instance_parameters(self) -> Optional[pulumi.Input['SpotMarketRequestInstanc """ Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter description in metal.Device docs. """ @@ -358,10 +438,10 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[int] devices_max: Maximum number devices to be created. :param pulumi.Input[int] devices_min: Miniumum number devices to be created. - :param pulumi.Input[Sequence[pulumi.Input[str]]] facilities: Facility IDs where devices should be created + :param pulumi.Input[Sequence[pulumi.Input[str]]] facilities: Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide :param pulumi.Input[pulumi.InputType['SpotMarketRequestInstanceParametersArgs']] instance_parameters: Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter description in metal.Device docs. :param pulumi.Input[float] max_bid_price: Maximum price user is willing to pay per hour per device. @@ -420,6 +500,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SpotMarketRequestArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -448,10 +532,12 @@ def _internal_init(__self__, if devices_min is None and not opts.urn: raise TypeError("Missing required property 'devices_min'") __props__.__dict__["devices_min"] = devices_min - if facilities is not None and not opts.urn: - warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) - pulumi.log.warn("""facilities is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") __props__.__dict__["facilities"] = facilities + if instance_parameters is not None and not isinstance(instance_parameters, SpotMarketRequestInstanceParametersArgs): + instance_parameters = instance_parameters or {} + def _setter(key, value): + instance_parameters[key] = value + SpotMarketRequestInstanceParametersArgs._configure(_setter, **instance_parameters) if instance_parameters is None and not opts.urn: raise TypeError("Missing required property 'instance_parameters'") __props__.__dict__["instance_parameters"] = instance_parameters @@ -490,10 +576,10 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[int] devices_max: Maximum number devices to be created. :param pulumi.Input[int] devices_min: Miniumum number devices to be created. - :param pulumi.Input[Sequence[pulumi.Input[str]]] facilities: Facility IDs where devices should be created + :param pulumi.Input[Sequence[pulumi.Input[str]]] facilities: Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide :param pulumi.Input[pulumi.InputType['SpotMarketRequestInstanceParametersArgs']] instance_parameters: Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter description in metal.Device docs. :param pulumi.Input[float] max_bid_price: Maximum price user is willing to pay per hour per device. @@ -536,8 +622,11 @@ def devices_min(self) -> pulumi.Output[int]: @pulumi.getter def facilities(self) -> pulumi.Output[Sequence[str]]: """ - Facility IDs where devices should be created + Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facilities is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facilities") @property @@ -546,7 +635,7 @@ def instance_parameters(self) -> pulumi.Output['outputs.SpotMarketRequestInstanc """ Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: `billing_cycle`, `plan`, `operating_system`, `hostname`, - `termintation_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, + `termination_time`, `always_pxe`, `description`, `features`, `locked`, `project_ssh_keys`, `user_ssh_keys`, `userdata`, `customdata`, `ipxe_script_url`, `tags`. You can find each parameter description in metal.Device docs. """ diff --git a/sdk/python/pulumi_equinix/metal/ssh_key.py b/sdk/python/pulumi_equinix/metal/ssh_key.py index d9e56f6c..d2af616c 100644 --- a/sdk/python/pulumi_equinix/metal/ssh_key.py +++ b/sdk/python/pulumi_equinix/metal/ssh_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SshKeyArgs', 'SshKey'] @@ -22,9 +22,24 @@ def __init__(__self__, *, can be read using the file interpolation function :param pulumi.Input[str] name: The name of the SSH key for identification """ - pulumi.set(__self__, "public_key", public_key) + SshKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + public_key=public_key, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + public_key: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'publicKey' in kwargs: + public_key = kwargs['publicKey'] + + _setter("public_key", public_key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="publicKey") @@ -71,18 +86,43 @@ def __init__(__self__, *, can be read using the file interpolation function :param pulumi.Input[str] updated: The timestamp for the last time the SSH key was updated. """ + _SshKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + fingerprint=fingerprint, + name=name, + owner_id=owner_id, + public_key=public_key, + updated=updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + fingerprint: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + owner_id: Optional[pulumi.Input[str]] = None, + public_key: Optional[pulumi.Input[str]] = None, + updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ownerId' in kwargs: + owner_id = kwargs['ownerId'] + if 'publicKey' in kwargs: + public_key = kwargs['publicKey'] + if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if fingerprint is not None: - pulumi.set(__self__, "fingerprint", fingerprint) + _setter("fingerprint", fingerprint) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if owner_id is not None: - pulumi.set(__self__, "owner_id", owner_id) + _setter("owner_id", owner_id) if public_key is not None: - pulumi.set(__self__, "public_key", public_key) + _setter("public_key", public_key) if updated is not None: - pulumi.set(__self__, "updated", updated) + _setter("updated", updated) @property @pulumi.getter @@ -228,6 +268,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SshKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/metal/user_api_key.py b/sdk/python/pulumi_equinix/metal/user_api_key.py index 70bc94a3..e4e53c59 100644 --- a/sdk/python/pulumi_equinix/metal/user_api_key.py +++ b/sdk/python/pulumi_equinix/metal/user_api_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['UserApiKeyArgs', 'UserApiKey'] @@ -22,8 +22,23 @@ def __init__(__self__, *, * `read-only` - (Required) Flag indicating whether the API key shoud be read-only. :param pulumi.Input[bool] read_only: Flag indicating whether the API key shoud be read-only """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "read_only", read_only) + UserApiKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + read_only=read_only, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: pulumi.Input[str], + read_only: pulumi.Input[bool], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + + _setter("description", description) + _setter("read_only", read_only) @property @pulumi.getter @@ -66,14 +81,35 @@ def __init__(__self__, *, :param pulumi.Input[str] token: API token which can be used in Equinix Metal API clients. :param pulumi.Input[str] user_id: UUID of the owner of the API key. """ + _UserApiKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + read_only=read_only, + token=token, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + read_only: Optional[pulumi.Input[bool]] = None, + token: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'readOnly' in kwargs: + read_only = kwargs['readOnly'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) if token is not None: - pulumi.set(__self__, "token", token) + _setter("token", token) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter @@ -207,6 +243,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + UserApiKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/metal/virtual_circuit.py b/sdk/python/pulumi_equinix/metal/virtual_circuit.py index 792ccee9..52bc4d91 100644 --- a/sdk/python/pulumi_equinix/metal/virtual_circuit.py +++ b/sdk/python/pulumi_equinix/metal/virtual_circuit.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['VirtualCircuitArgs', 'VirtualCircuit'] @@ -51,33 +51,90 @@ def __init__(__self__, *, :param pulumi.Input[str] vlan_id: UUID of the VLAN to associate. :param pulumi.Input[str] vrf_id: UUID of the VRF to associate. """ - pulumi.set(__self__, "connection_id", connection_id) - pulumi.set(__self__, "port_id", port_id) - pulumi.set(__self__, "project_id", project_id) + VirtualCircuitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_id=connection_id, + port_id=port_id, + project_id=project_id, + customer_ip=customer_ip, + description=description, + md5=md5, + metal_ip=metal_ip, + name=name, + nni_vlan=nni_vlan, + peer_asn=peer_asn, + speed=speed, + subnet=subnet, + tags=tags, + vlan_id=vlan_id, + vrf_id=vrf_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_id: pulumi.Input[str], + port_id: pulumi.Input[str], + project_id: pulumi.Input[str], + customer_ip: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + md5: Optional[pulumi.Input[str]] = None, + metal_ip: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + nni_vlan: Optional[pulumi.Input[int]] = None, + peer_asn: Optional[pulumi.Input[int]] = None, + speed: Optional[pulumi.Input[str]] = None, + subnet: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + vrf_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'connectionId' in kwargs: + connection_id = kwargs['connectionId'] + if 'portId' in kwargs: + port_id = kwargs['portId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'customerIp' in kwargs: + customer_ip = kwargs['customerIp'] + if 'metalIp' in kwargs: + metal_ip = kwargs['metalIp'] + if 'nniVlan' in kwargs: + nni_vlan = kwargs['nniVlan'] + if 'peerAsn' in kwargs: + peer_asn = kwargs['peerAsn'] + if 'vlanId' in kwargs: + vlan_id = kwargs['vlanId'] + if 'vrfId' in kwargs: + vrf_id = kwargs['vrfId'] + + _setter("connection_id", connection_id) + _setter("port_id", port_id) + _setter("project_id", project_id) if customer_ip is not None: - pulumi.set(__self__, "customer_ip", customer_ip) + _setter("customer_ip", customer_ip) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if md5 is not None: - pulumi.set(__self__, "md5", md5) + _setter("md5", md5) if metal_ip is not None: - pulumi.set(__self__, "metal_ip", metal_ip) + _setter("metal_ip", metal_ip) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nni_vlan is not None: - pulumi.set(__self__, "nni_vlan", nni_vlan) + _setter("nni_vlan", nni_vlan) if peer_asn is not None: - pulumi.set(__self__, "peer_asn", peer_asn) + _setter("peer_asn", peer_asn) if speed is not None: - pulumi.set(__self__, "speed", speed) + _setter("speed", speed) if subnet is not None: - pulumi.set(__self__, "subnet", subnet) + _setter("subnet", subnet) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vrf_id is not None: - pulumi.set(__self__, "vrf_id", vrf_id) + _setter("vrf_id", vrf_id) @property @pulumi.getter(name="connectionId") @@ -310,42 +367,107 @@ def __init__(__self__, *, :param pulumi.Input[int] vnid: VNID VLAN parameter, see the [documentation for Equinix Fabric](https://metal.equinix.com/developers/docs/networking/fabric/). :param pulumi.Input[str] vrf_id: UUID of the VRF to associate. """ + _VirtualCircuitState._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_id=connection_id, + customer_ip=customer_ip, + description=description, + md5=md5, + metal_ip=metal_ip, + name=name, + nni_vlan=nni_vlan, + nni_vnid=nni_vnid, + peer_asn=peer_asn, + port_id=port_id, + project_id=project_id, + speed=speed, + status=status, + subnet=subnet, + tags=tags, + vlan_id=vlan_id, + vnid=vnid, + vrf_id=vrf_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_id: Optional[pulumi.Input[str]] = None, + customer_ip: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + md5: Optional[pulumi.Input[str]] = None, + metal_ip: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + nni_vlan: Optional[pulumi.Input[int]] = None, + nni_vnid: Optional[pulumi.Input[int]] = None, + peer_asn: Optional[pulumi.Input[int]] = None, + port_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + speed: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + subnet: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + vnid: Optional[pulumi.Input[int]] = None, + vrf_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'connectionId' in kwargs: + connection_id = kwargs['connectionId'] + if 'customerIp' in kwargs: + customer_ip = kwargs['customerIp'] + if 'metalIp' in kwargs: + metal_ip = kwargs['metalIp'] + if 'nniVlan' in kwargs: + nni_vlan = kwargs['nniVlan'] + if 'nniVnid' in kwargs: + nni_vnid = kwargs['nniVnid'] + if 'peerAsn' in kwargs: + peer_asn = kwargs['peerAsn'] + if 'portId' in kwargs: + port_id = kwargs['portId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'vlanId' in kwargs: + vlan_id = kwargs['vlanId'] + if 'vrfId' in kwargs: + vrf_id = kwargs['vrfId'] + if connection_id is not None: - pulumi.set(__self__, "connection_id", connection_id) + _setter("connection_id", connection_id) if customer_ip is not None: - pulumi.set(__self__, "customer_ip", customer_ip) + _setter("customer_ip", customer_ip) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if md5 is not None: - pulumi.set(__self__, "md5", md5) + _setter("md5", md5) if metal_ip is not None: - pulumi.set(__self__, "metal_ip", metal_ip) + _setter("metal_ip", metal_ip) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nni_vlan is not None: - pulumi.set(__self__, "nni_vlan", nni_vlan) + _setter("nni_vlan", nni_vlan) if nni_vnid is not None: - pulumi.set(__self__, "nni_vnid", nni_vnid) + _setter("nni_vnid", nni_vnid) if peer_asn is not None: - pulumi.set(__self__, "peer_asn", peer_asn) + _setter("peer_asn", peer_asn) if port_id is not None: - pulumi.set(__self__, "port_id", port_id) + _setter("port_id", port_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if speed is not None: - pulumi.set(__self__, "speed", speed) + _setter("speed", speed) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if subnet is not None: - pulumi.set(__self__, "subnet", subnet) + _setter("subnet", subnet) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vnid is not None: - pulumi.set(__self__, "vnid", vnid) + _setter("vnid", vnid) if vrf_id is not None: - pulumi.set(__self__, "vrf_id", vrf_id) + _setter("vrf_id", vrf_id) @property @pulumi.getter(name="connectionId") @@ -687,6 +809,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VirtualCircuitArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/metal/vlan.py b/sdk/python/pulumi_equinix/metal/vlan.py index 37456c87..e2b472a4 100644 --- a/sdk/python/pulumi_equinix/metal/vlan.py +++ b/sdk/python/pulumi_equinix/metal/vlan.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from ._enums import * @@ -24,22 +24,43 @@ def __init__(__self__, *, The set of arguments for constructing a Vlan resource. :param pulumi.Input[str] project_id: ID of parent project. :param pulumi.Input[str] description: Description string. - :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to create the VLAN + :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide :param pulumi.Input[str] metro: Metro in which to create the VLAN :param pulumi.Input[int] vxlan: VLAN ID, must be unique in metro. """ - pulumi.set(__self__, "project_id", project_id) + VlanArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + project_id=project_id, + description=description, + facility=facility, + metro=metro, + vxlan=vxlan, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + project_id: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + facility: Optional[pulumi.Input[Union[str, 'Facility']]] = None, + metro: Optional[pulumi.Input[str]] = None, + vxlan: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + + _setter("project_id", project_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if facility is not None: warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") if facility is not None: - pulumi.set(__self__, "facility", facility) + _setter("facility", facility) if metro is not None: - pulumi.set(__self__, "metro", metro) + _setter("metro", metro) if vxlan is not None: - pulumi.set(__self__, "vxlan", vxlan) + _setter("vxlan", vxlan) @property @pulumi.getter(name="projectId") @@ -69,8 +90,11 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def facility(self) -> Optional[pulumi.Input[Union[str, 'Facility']]]: """ - Facility where to create the VLAN + Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facility") @facility.setter @@ -113,24 +137,45 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering Vlan resources. :param pulumi.Input[str] description: Description string. - :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to create the VLAN + :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide :param pulumi.Input[str] metro: Metro in which to create the VLAN :param pulumi.Input[str] project_id: ID of parent project. :param pulumi.Input[int] vxlan: VLAN ID, must be unique in metro. """ + _VlanState._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + facility=facility, + metro=metro, + project_id=project_id, + vxlan=vxlan, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + facility: Optional[pulumi.Input[Union[str, 'Facility']]] = None, + metro: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + vxlan: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if facility is not None: warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") if facility is not None: - pulumi.set(__self__, "facility", facility) + _setter("facility", facility) if metro is not None: - pulumi.set(__self__, "metro", metro) + _setter("metro", metro) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if vxlan is not None: - pulumi.set(__self__, "vxlan", vxlan) + _setter("vxlan", vxlan) @property @pulumi.getter @@ -148,8 +193,11 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def facility(self) -> Optional[pulumi.Input[Union[str, 'Facility']]]: """ - Facility where to create the VLAN + Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facility") @facility.setter @@ -238,7 +286,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] description: Description string. - :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to create the VLAN + :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide :param pulumi.Input[str] metro: Metro in which to create the VLAN :param pulumi.Input[str] project_id: ID of parent project. :param pulumi.Input[int] vxlan: VLAN ID, must be unique in metro. @@ -290,6 +338,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VlanArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -310,9 +362,6 @@ def _internal_init(__self__, __props__ = VlanArgs.__new__(VlanArgs) __props__.__dict__["description"] = description - if facility is not None and not opts.urn: - warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) - pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") __props__.__dict__["facility"] = facility __props__.__dict__["metro"] = metro if project_id is None and not opts.urn: @@ -342,7 +391,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] description: Description string. - :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to create the VLAN + :param pulumi.Input[Union[str, 'Facility']] facility: Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide :param pulumi.Input[str] metro: Metro in which to create the VLAN :param pulumi.Input[str] project_id: ID of parent project. :param pulumi.Input[int] vxlan: VLAN ID, must be unique in metro. @@ -370,8 +419,11 @@ def description(self) -> pulumi.Output[Optional[str]]: @pulumi.getter def facility(self) -> pulumi.Output[Optional[str]]: """ - Facility where to create the VLAN + Facility where to create the VLAN. Use metro instead; read the facility to metro migration guide """ + warnings.warn("""Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""", DeprecationWarning) + pulumi.log.warn("""facility is deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices""") + return pulumi.get(self, "facility") @property diff --git a/sdk/python/pulumi_equinix/metal/vrf.py b/sdk/python/pulumi_equinix/metal/vrf.py index 6733fc85..086e6181 100644 --- a/sdk/python/pulumi_equinix/metal/vrf.py +++ b/sdk/python/pulumi_equinix/metal/vrf.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['VrfArgs', 'Vrf'] @@ -29,16 +29,43 @@ def __init__(__self__, *, :param pulumi.Input[int] local_asn: The 4-byte ASN set on the VRF. :param pulumi.Input[str] name: User-supplied name of the VRF, unique to the project """ - pulumi.set(__self__, "metro", metro) - pulumi.set(__self__, "project_id", project_id) + VrfArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metro=metro, + project_id=project_id, + description=description, + ip_ranges=ip_ranges, + local_asn=local_asn, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metro: pulumi.Input[str], + project_id: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + local_asn: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'ipRanges' in kwargs: + ip_ranges = kwargs['ipRanges'] + if 'localAsn' in kwargs: + local_asn = kwargs['localAsn'] + + _setter("metro", metro) + _setter("project_id", project_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if ip_ranges is not None: - pulumi.set(__self__, "ip_ranges", ip_ranges) + _setter("ip_ranges", ip_ranges) if local_asn is not None: - pulumi.set(__self__, "local_asn", local_asn) + _setter("local_asn", local_asn) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -131,18 +158,45 @@ def __init__(__self__, *, :param pulumi.Input[str] name: User-supplied name of the VRF, unique to the project :param pulumi.Input[str] project_id: Project ID where the VRF will be deployed. """ + _VrfState._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + ip_ranges=ip_ranges, + local_asn=local_asn, + metro=metro, + name=name, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + local_asn: Optional[pulumi.Input[int]] = None, + metro: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'ipRanges' in kwargs: + ip_ranges = kwargs['ipRanges'] + if 'localAsn' in kwargs: + local_asn = kwargs['localAsn'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if ip_ranges is not None: - pulumi.set(__self__, "ip_ranges", ip_ranges) + _setter("ip_ranges", ip_ranges) if local_asn is not None: - pulumi.set(__self__, "local_asn", local_asn) + _setter("local_asn", local_asn) if metro is not None: - pulumi.set(__self__, "metro", metro) + _setter("metro", metro) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) @property @pulumi.getter @@ -318,6 +372,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VrfArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/networkedge/_inputs.py b/sdk/python/pulumi_equinix/networkedge/_inputs.py index a128b379..547ac4a3 100644 --- a/sdk/python/pulumi_equinix/networkedge/_inputs.py +++ b/sdk/python/pulumi_equinix/networkedge/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from ._enums import * @@ -39,12 +39,29 @@ def __init__(__self__, *, :param pulumi.Input[str] name: ACL template name. :param pulumi.Input[str] uuid: Device uuid. """ + AclTemplateDeviceDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + acl_status=acl_status, + name=name, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + acl_status: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aclStatus' in kwargs: + acl_status = kwargs['aclStatus'] + if acl_status is not None: - pulumi.set(__self__, "acl_status", acl_status) + _setter("acl_status", acl_status) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter(name="aclStatus") @@ -105,25 +122,58 @@ def __init__(__self__, *, :param pulumi.Input[str] subnet: Inbound traffic source IP subnet in CIDR format. :param pulumi.Input[Sequence[pulumi.Input[str]]] subnets: Inbound traffic source IP subnets in CIDR format. """ - pulumi.set(__self__, "dst_port", dst_port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "src_port", src_port) + AclTemplateInboundRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dst_port=dst_port, + protocol=protocol, + src_port=src_port, + description=description, + sequence_number=sequence_number, + source_type=source_type, + subnet=subnet, + subnets=subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dst_port: pulumi.Input[str], + protocol: pulumi.Input[Union[str, 'AclRuleProtocolType']], + src_port: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + sequence_number: Optional[pulumi.Input[int]] = None, + source_type: Optional[pulumi.Input[str]] = None, + subnet: Optional[pulumi.Input[str]] = None, + subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dstPort' in kwargs: + dst_port = kwargs['dstPort'] + if 'srcPort' in kwargs: + src_port = kwargs['srcPort'] + if 'sequenceNumber' in kwargs: + sequence_number = kwargs['sequenceNumber'] + if 'sourceType' in kwargs: + source_type = kwargs['sourceType'] + + _setter("dst_port", dst_port) + _setter("protocol", protocol) + _setter("src_port", src_port) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if sequence_number is not None: - pulumi.set(__self__, "sequence_number", sequence_number) + _setter("sequence_number", sequence_number) if source_type is not None: warnings.warn("""Source Type will not be returned""", DeprecationWarning) pulumi.log.warn("""source_type is deprecated: Source Type will not be returned""") if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if subnet is not None: - pulumi.set(__self__, "subnet", subnet) + _setter("subnet", subnet) if subnets is not None: warnings.warn("""Use Subnet instead""", DeprecationWarning) pulumi.log.warn("""subnets is deprecated: Use Subnet instead""") if subnets is not None: - pulumi.set(__self__, "subnets", subnets) + _setter("subnets", subnets) @property @pulumi.getter(name="dstPort") @@ -187,6 +237,9 @@ def sequence_number(self, value: Optional[pulumi.Input[int]]): @property @pulumi.getter(name="sourceType") def source_type(self) -> Optional[pulumi.Input[str]]: + warnings.warn("""Source Type will not be returned""", DeprecationWarning) + pulumi.log.warn("""source_type is deprecated: Source Type will not be returned""") + return pulumi.get(self, "source_type") @source_type.setter @@ -211,6 +264,9 @@ def subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ Inbound traffic source IP subnets in CIDR format. """ + warnings.warn("""Use Subnet instead""", DeprecationWarning) + pulumi.log.warn("""subnets is deprecated: Use Subnet instead""") + return pulumi.get(self, "subnets") @subnets.setter @@ -235,13 +291,38 @@ def __init__(__self__, *, :param pulumi.Input[str] cluster_id: The ID of the cluster. :param pulumi.Input[int] num_of_nodes: The number of nodes in the cluster. """ - pulumi.set(__self__, "cluster_name", cluster_name) - pulumi.set(__self__, "node0", node0) - pulumi.set(__self__, "node1", node1) + DeviceClusterDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_name=cluster_name, + node0=node0, + node1=node1, + cluster_id=cluster_id, + num_of_nodes=num_of_nodes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_name: pulumi.Input[str], + node0: pulumi.Input['DeviceClusterDetailsNode0Args'], + node1: pulumi.Input['DeviceClusterDetailsNode1Args'], + cluster_id: Optional[pulumi.Input[str]] = None, + num_of_nodes: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'numOfNodes' in kwargs: + num_of_nodes = kwargs['numOfNodes'] + + _setter("cluster_name", cluster_name) + _setter("node0", node0) + _setter("node1", node1) if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) if num_of_nodes is not None: - pulumi.set(__self__, "num_of_nodes", num_of_nodes) + _setter("num_of_nodes", num_of_nodes) @property @pulumi.getter(name="clusterName") @@ -325,16 +406,41 @@ def __init__(__self__, *, * `ssh-key` - (Optional) Definition of SSH key that will be provisioned on a device (max one key). See SSH Key below for more details. """ + DeviceClusterDetailsNode0Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_file_id=license_file_id, + license_token=license_token, + name=name, + uuid=uuid, + vendor_configuration=vendor_configuration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_file_id: Optional[pulumi.Input[str]] = None, + license_token: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + vendor_configuration: Optional[pulumi.Input['DeviceClusterDetailsNode0VendorConfigurationArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'licenseFileId' in kwargs: + license_file_id = kwargs['licenseFileId'] + if 'licenseToken' in kwargs: + license_token = kwargs['licenseToken'] + if 'vendorConfiguration' in kwargs: + vendor_configuration = kwargs['vendorConfiguration'] + if license_file_id is not None: - pulumi.set(__self__, "license_file_id", license_file_id) + _setter("license_file_id", license_file_id) if license_token is not None: - pulumi.set(__self__, "license_token", license_token) + _setter("license_token", license_token) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) if vendor_configuration is not None: - pulumi.set(__self__, "vendor_configuration", vendor_configuration) + _setter("vendor_configuration", vendor_configuration) @property @pulumi.getter(name="licenseFileId") @@ -420,18 +526,47 @@ def __init__(__self__, *, :param pulumi.Input[str] root_password: The CLI password of the device. This field is relevant only for the Velocloud SDWAN cluster. """ + DeviceClusterDetailsNode0VendorConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + activation_key=activation_key, + admin_password=admin_password, + controller1=controller1, + controller_fqdn=controller_fqdn, + hostname=hostname, + root_password=root_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activation_key: Optional[pulumi.Input[str]] = None, + admin_password: Optional[pulumi.Input[str]] = None, + controller1: Optional[pulumi.Input[str]] = None, + controller_fqdn: Optional[pulumi.Input[str]] = None, + hostname: Optional[pulumi.Input[str]] = None, + root_password: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'activationKey' in kwargs: + activation_key = kwargs['activationKey'] + if 'adminPassword' in kwargs: + admin_password = kwargs['adminPassword'] + if 'controllerFqdn' in kwargs: + controller_fqdn = kwargs['controllerFqdn'] + if 'rootPassword' in kwargs: + root_password = kwargs['rootPassword'] + if activation_key is not None: - pulumi.set(__self__, "activation_key", activation_key) + _setter("activation_key", activation_key) if admin_password is not None: - pulumi.set(__self__, "admin_password", admin_password) + _setter("admin_password", admin_password) if controller1 is not None: - pulumi.set(__self__, "controller1", controller1) + _setter("controller1", controller1) if controller_fqdn is not None: - pulumi.set(__self__, "controller_fqdn", controller_fqdn) + _setter("controller_fqdn", controller_fqdn) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if root_password is not None: - pulumi.set(__self__, "root_password", root_password) + _setter("root_password", root_password) @property @pulumi.getter(name="activationKey") @@ -527,16 +662,41 @@ def __init__(__self__, *, * `ssh-key` - (Optional) Definition of SSH key that will be provisioned on a device (max one key). See SSH Key below for more details. """ + DeviceClusterDetailsNode1Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_file_id=license_file_id, + license_token=license_token, + name=name, + uuid=uuid, + vendor_configuration=vendor_configuration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_file_id: Optional[pulumi.Input[str]] = None, + license_token: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + vendor_configuration: Optional[pulumi.Input['DeviceClusterDetailsNode1VendorConfigurationArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'licenseFileId' in kwargs: + license_file_id = kwargs['licenseFileId'] + if 'licenseToken' in kwargs: + license_token = kwargs['licenseToken'] + if 'vendorConfiguration' in kwargs: + vendor_configuration = kwargs['vendorConfiguration'] + if license_file_id is not None: - pulumi.set(__self__, "license_file_id", license_file_id) + _setter("license_file_id", license_file_id) if license_token is not None: - pulumi.set(__self__, "license_token", license_token) + _setter("license_token", license_token) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) if vendor_configuration is not None: - pulumi.set(__self__, "vendor_configuration", vendor_configuration) + _setter("vendor_configuration", vendor_configuration) @property @pulumi.getter(name="licenseFileId") @@ -622,18 +782,47 @@ def __init__(__self__, *, :param pulumi.Input[str] root_password: The CLI password of the device. This field is relevant only for the Velocloud SDWAN cluster. """ + DeviceClusterDetailsNode1VendorConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + activation_key=activation_key, + admin_password=admin_password, + controller1=controller1, + controller_fqdn=controller_fqdn, + hostname=hostname, + root_password=root_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activation_key: Optional[pulumi.Input[str]] = None, + admin_password: Optional[pulumi.Input[str]] = None, + controller1: Optional[pulumi.Input[str]] = None, + controller_fqdn: Optional[pulumi.Input[str]] = None, + hostname: Optional[pulumi.Input[str]] = None, + root_password: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'activationKey' in kwargs: + activation_key = kwargs['activationKey'] + if 'adminPassword' in kwargs: + admin_password = kwargs['adminPassword'] + if 'controllerFqdn' in kwargs: + controller_fqdn = kwargs['controllerFqdn'] + if 'rootPassword' in kwargs: + root_password = kwargs['rootPassword'] + if activation_key is not None: - pulumi.set(__self__, "activation_key", activation_key) + _setter("activation_key", activation_key) if admin_password is not None: - pulumi.set(__self__, "admin_password", admin_password) + _setter("admin_password", admin_password) if controller1 is not None: - pulumi.set(__self__, "controller1", controller1) + _setter("controller1", controller1) if controller_fqdn is not None: - pulumi.set(__self__, "controller_fqdn", controller_fqdn) + _setter("controller_fqdn", controller_fqdn) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if root_password is not None: - pulumi.set(__self__, "root_password", root_password) + _setter("root_password", root_password) @property @pulumi.getter(name="activationKey") @@ -731,22 +920,55 @@ def __init__(__self__, *, :param pulumi.Input[str] status: interface status. One of `AVAILABLE`, `RESERVED`, `ASSIGNED`. :param pulumi.Input[str] type: interface type. """ + DeviceInterfaceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + assigned_type=assigned_type, + id=id, + ip_address=ip_address, + mac_address=mac_address, + name=name, + operational_status=operational_status, + status=status, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assigned_type: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[int]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + mac_address: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operational_status: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'assignedType' in kwargs: + assigned_type = kwargs['assignedType'] + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'macAddress' in kwargs: + mac_address = kwargs['macAddress'] + if 'operationalStatus' in kwargs: + operational_status = kwargs['operationalStatus'] + if assigned_type is not None: - pulumi.set(__self__, "assigned_type", assigned_type) + _setter("assigned_type", assigned_type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if mac_address is not None: - pulumi.set(__self__, "mac_address", mac_address) + _setter("mac_address", mac_address) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if operational_status is not None: - pulumi.set(__self__, "operational_status", operational_status) + _setter("operational_status", operational_status) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="assignedType") @@ -862,15 +1084,38 @@ def __init__(__self__, *, :param pulumi.Input[str] status: device link provisioning status on a given device. One of `PROVISIONING`, `PROVISIONED`, `DEPROVISIONING`, `DEPROVISIONED`, `FAILED`. """ - pulumi.set(__self__, "id", id) + DeviceLinkDeviceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + asn=asn, + interface_id=interface_id, + ip_address=ip_address, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: pulumi.Input[str], + asn: Optional[pulumi.Input[int]] = None, + interface_id: Optional[pulumi.Input[int]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'interfaceId' in kwargs: + interface_id = kwargs['interfaceId'] + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + + _setter("id", id) if asn is not None: - pulumi.set(__self__, "asn", asn) + _setter("asn", asn) if interface_id is not None: - pulumi.set(__self__, "interface_id", interface_id) + _setter("interface_id", interface_id) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -955,21 +1200,56 @@ def __init__(__self__, *, :param pulumi.Input[str] dst_zone_code: connection destination zone code is not required. :param pulumi.Input[str] src_zone_code: connection source zone code is not required. """ - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "dst_metro_code", dst_metro_code) - pulumi.set(__self__, "src_metro_code", src_metro_code) - pulumi.set(__self__, "throughput", throughput) - pulumi.set(__self__, "throughput_unit", throughput_unit) + DeviceLinkLinkArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_number=account_number, + dst_metro_code=dst_metro_code, + src_metro_code=src_metro_code, + throughput=throughput, + throughput_unit=throughput_unit, + dst_zone_code=dst_zone_code, + src_zone_code=src_zone_code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_number: pulumi.Input[str], + dst_metro_code: pulumi.Input[str], + src_metro_code: pulumi.Input[str], + throughput: pulumi.Input[str], + throughput_unit: pulumi.Input[str], + dst_zone_code: Optional[pulumi.Input[str]] = None, + src_zone_code: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'dstMetroCode' in kwargs: + dst_metro_code = kwargs['dstMetroCode'] + if 'srcMetroCode' in kwargs: + src_metro_code = kwargs['srcMetroCode'] + if 'throughputUnit' in kwargs: + throughput_unit = kwargs['throughputUnit'] + if 'dstZoneCode' in kwargs: + dst_zone_code = kwargs['dstZoneCode'] + if 'srcZoneCode' in kwargs: + src_zone_code = kwargs['srcZoneCode'] + + _setter("account_number", account_number) + _setter("dst_metro_code", dst_metro_code) + _setter("src_metro_code", src_metro_code) + _setter("throughput", throughput) + _setter("throughput_unit", throughput_unit) if dst_zone_code is not None: warnings.warn("""DestinationZoneCode is not required""", DeprecationWarning) pulumi.log.warn("""dst_zone_code is deprecated: DestinationZoneCode is not required""") if dst_zone_code is not None: - pulumi.set(__self__, "dst_zone_code", dst_zone_code) + _setter("dst_zone_code", dst_zone_code) if src_zone_code is not None: warnings.warn("""SourceZoneCode is not required""", DeprecationWarning) pulumi.log.warn("""src_zone_code is deprecated: SourceZoneCode is not required""") if src_zone_code is not None: - pulumi.set(__self__, "src_zone_code", src_zone_code) + _setter("src_zone_code", src_zone_code) @property @pulumi.getter(name="accountNumber") @@ -1038,6 +1318,9 @@ def dst_zone_code(self) -> Optional[pulumi.Input[str]]: """ connection destination zone code is not required. """ + warnings.warn("""DestinationZoneCode is not required""", DeprecationWarning) + pulumi.log.warn("""dst_zone_code is deprecated: DestinationZoneCode is not required""") + return pulumi.get(self, "dst_zone_code") @dst_zone_code.setter @@ -1050,6 +1333,9 @@ def src_zone_code(self) -> Optional[pulumi.Input[str]]: """ connection source zone code is not required. """ + warnings.warn("""SourceZoneCode is not required""", DeprecationWarning) + pulumi.log.warn("""src_zone_code is deprecated: SourceZoneCode is not required""") + return pulumi.get(self, "src_zone_code") @src_zone_code.setter @@ -1126,56 +1412,155 @@ def __init__(__self__, *, `systemIpAddress`. :param pulumi.Input[str] zone_code: Device location zone code. """ - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "metro_code", metro_code) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "notifications", notifications) + DeviceSecondaryDeviceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_number=account_number, + metro_code=metro_code, + name=name, + notifications=notifications, + acl_template_id=acl_template_id, + additional_bandwidth=additional_bandwidth, + asn=asn, + cloud_init_file_id=cloud_init_file_id, + hostname=hostname, + ibx=ibx, + interfaces=interfaces, + license_file=license_file, + license_file_id=license_file_id, + license_status=license_status, + license_token=license_token, + mgmt_acl_template_uuid=mgmt_acl_template_uuid, + redundancy_type=redundancy_type, + redundant_id=redundant_id, + region=region, + ssh_ip_address=ssh_ip_address, + ssh_ip_fqdn=ssh_ip_fqdn, + ssh_key=ssh_key, + status=status, + uuid=uuid, + vendor_configuration=vendor_configuration, + wan_interface_id=wan_interface_id, + zone_code=zone_code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_number: pulumi.Input[str], + metro_code: pulumi.Input[str], + name: pulumi.Input[str], + notifications: pulumi.Input[Sequence[pulumi.Input[str]]], + acl_template_id: Optional[pulumi.Input[str]] = None, + additional_bandwidth: Optional[pulumi.Input[int]] = None, + asn: Optional[pulumi.Input[int]] = None, + cloud_init_file_id: Optional[pulumi.Input[str]] = None, + hostname: Optional[pulumi.Input[str]] = None, + ibx: Optional[pulumi.Input[str]] = None, + interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceSecondaryDeviceInterfaceArgs']]]] = None, + license_file: Optional[pulumi.Input[str]] = None, + license_file_id: Optional[pulumi.Input[str]] = None, + license_status: Optional[pulumi.Input[str]] = None, + license_token: Optional[pulumi.Input[str]] = None, + mgmt_acl_template_uuid: Optional[pulumi.Input[str]] = None, + redundancy_type: Optional[pulumi.Input[str]] = None, + redundant_id: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + ssh_ip_address: Optional[pulumi.Input[str]] = None, + ssh_ip_fqdn: Optional[pulumi.Input[str]] = None, + ssh_key: Optional[pulumi.Input['DeviceSecondaryDeviceSshKeyArgs']] = None, + status: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + vendor_configuration: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + wan_interface_id: Optional[pulumi.Input[str]] = None, + zone_code: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'aclTemplateId' in kwargs: + acl_template_id = kwargs['aclTemplateId'] + if 'additionalBandwidth' in kwargs: + additional_bandwidth = kwargs['additionalBandwidth'] + if 'cloudInitFileId' in kwargs: + cloud_init_file_id = kwargs['cloudInitFileId'] + if 'licenseFile' in kwargs: + license_file = kwargs['licenseFile'] + if 'licenseFileId' in kwargs: + license_file_id = kwargs['licenseFileId'] + if 'licenseStatus' in kwargs: + license_status = kwargs['licenseStatus'] + if 'licenseToken' in kwargs: + license_token = kwargs['licenseToken'] + if 'mgmtAclTemplateUuid' in kwargs: + mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] + if 'redundancyType' in kwargs: + redundancy_type = kwargs['redundancyType'] + if 'redundantId' in kwargs: + redundant_id = kwargs['redundantId'] + if 'sshIpAddress' in kwargs: + ssh_ip_address = kwargs['sshIpAddress'] + if 'sshIpFqdn' in kwargs: + ssh_ip_fqdn = kwargs['sshIpFqdn'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'vendorConfiguration' in kwargs: + vendor_configuration = kwargs['vendorConfiguration'] + if 'wanInterfaceId' in kwargs: + wan_interface_id = kwargs['wanInterfaceId'] + if 'zoneCode' in kwargs: + zone_code = kwargs['zoneCode'] + + _setter("account_number", account_number) + _setter("metro_code", metro_code) + _setter("name", name) + _setter("notifications", notifications) if acl_template_id is not None: - pulumi.set(__self__, "acl_template_id", acl_template_id) + _setter("acl_template_id", acl_template_id) if additional_bandwidth is not None: - pulumi.set(__self__, "additional_bandwidth", additional_bandwidth) + _setter("additional_bandwidth", additional_bandwidth) if asn is not None: - pulumi.set(__self__, "asn", asn) + _setter("asn", asn) if cloud_init_file_id is not None: - pulumi.set(__self__, "cloud_init_file_id", cloud_init_file_id) + _setter("cloud_init_file_id", cloud_init_file_id) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if ibx is not None: - pulumi.set(__self__, "ibx", ibx) + _setter("ibx", ibx) if interfaces is not None: - pulumi.set(__self__, "interfaces", interfaces) + _setter("interfaces", interfaces) if license_file is not None: - pulumi.set(__self__, "license_file", license_file) + _setter("license_file", license_file) if license_file_id is not None: - pulumi.set(__self__, "license_file_id", license_file_id) + _setter("license_file_id", license_file_id) if license_status is not None: - pulumi.set(__self__, "license_status", license_status) + _setter("license_status", license_status) if license_token is not None: - pulumi.set(__self__, "license_token", license_token) + _setter("license_token", license_token) if mgmt_acl_template_uuid is not None: - pulumi.set(__self__, "mgmt_acl_template_uuid", mgmt_acl_template_uuid) + _setter("mgmt_acl_template_uuid", mgmt_acl_template_uuid) if redundancy_type is not None: - pulumi.set(__self__, "redundancy_type", redundancy_type) + _setter("redundancy_type", redundancy_type) if redundant_id is not None: - pulumi.set(__self__, "redundant_id", redundant_id) + _setter("redundant_id", redundant_id) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if ssh_ip_address is not None: - pulumi.set(__self__, "ssh_ip_address", ssh_ip_address) + _setter("ssh_ip_address", ssh_ip_address) if ssh_ip_fqdn is not None: - pulumi.set(__self__, "ssh_ip_fqdn", ssh_ip_fqdn) + _setter("ssh_ip_fqdn", ssh_ip_fqdn) if ssh_key is not None: - pulumi.set(__self__, "ssh_key", ssh_key) + _setter("ssh_key", ssh_key) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) if vendor_configuration is not None: - pulumi.set(__self__, "vendor_configuration", vendor_configuration) + _setter("vendor_configuration", vendor_configuration) if wan_interface_id is not None: - pulumi.set(__self__, "wan_interface_id", wan_interface_id) + _setter("wan_interface_id", wan_interface_id) if zone_code is not None: - pulumi.set(__self__, "zone_code", zone_code) + _setter("zone_code", zone_code) @property @pulumi.getter(name="accountNumber") @@ -1529,22 +1914,55 @@ def __init__(__self__, *, :param pulumi.Input[str] status: interface status. One of `AVAILABLE`, `RESERVED`, `ASSIGNED`. :param pulumi.Input[str] type: interface type. """ + DeviceSecondaryDeviceInterfaceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + assigned_type=assigned_type, + id=id, + ip_address=ip_address, + mac_address=mac_address, + name=name, + operational_status=operational_status, + status=status, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assigned_type: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[int]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + mac_address: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operational_status: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'assignedType' in kwargs: + assigned_type = kwargs['assignedType'] + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'macAddress' in kwargs: + mac_address = kwargs['macAddress'] + if 'operationalStatus' in kwargs: + operational_status = kwargs['operationalStatus'] + if assigned_type is not None: - pulumi.set(__self__, "assigned_type", assigned_type) + _setter("assigned_type", assigned_type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if mac_address is not None: - pulumi.set(__self__, "mac_address", mac_address) + _setter("mac_address", mac_address) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if operational_status is not None: - pulumi.set(__self__, "operational_status", operational_status) + _setter("operational_status", operational_status) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="assignedType") @@ -1651,8 +2069,23 @@ def __init__(__self__, *, """ :param pulumi.Input[str] username: username associated with given key. """ - pulumi.set(__self__, "key_name", key_name) - pulumi.set(__self__, "username", username) + DeviceSecondaryDeviceSshKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_name=key_name, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_name: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'keyName' in kwargs: + key_name = kwargs['keyName'] + + _setter("key_name", key_name) + _setter("username", username) @property @pulumi.getter(name="keyName") @@ -1684,8 +2117,23 @@ def __init__(__self__, *, """ :param pulumi.Input[str] username: username associated with given key. """ - pulumi.set(__self__, "key_name", key_name) - pulumi.set(__self__, "username", username) + DeviceSshKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_name=key_name, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_name: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'keyName' in kwargs: + key_name = kwargs['keyName'] + + _setter("key_name", key_name) + _setter("username", username) @property @pulumi.getter(name="keyName") diff --git a/sdk/python/pulumi_equinix/networkedge/acl_template.py b/sdk/python/pulumi_equinix/networkedge/acl_template.py index 837744c5..68e412c2 100644 --- a/sdk/python/pulumi_equinix/networkedge/acl_template.py +++ b/sdk/python/pulumi_equinix/networkedge/acl_template.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._enums import * @@ -25,20 +25,43 @@ def __init__(__self__, *, The set of arguments for constructing a AclTemplate resource. :param pulumi.Input[Sequence[pulumi.Input['AclTemplateInboundRuleArgs']]] inbound_rules: One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones. + + The `inbound_rule` block has below fields: :param pulumi.Input[str] description: Inbound rule description, up to 200 characters. :param pulumi.Input[str] metro_code: ACL template location metro code. :param pulumi.Input[str] name: ACL template name. """ - pulumi.set(__self__, "inbound_rules", inbound_rules) + AclTemplateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + inbound_rules=inbound_rules, + description=description, + metro_code=metro_code, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + inbound_rules: pulumi.Input[Sequence[pulumi.Input['AclTemplateInboundRuleArgs']]], + description: Optional[pulumi.Input[str]] = None, + metro_code: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'inboundRules' in kwargs: + inbound_rules = kwargs['inboundRules'] + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + + _setter("inbound_rules", inbound_rules) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if metro_code is not None: warnings.warn("""Metro Code is no longer required""", DeprecationWarning) pulumi.log.warn("""metro_code is deprecated: Metro Code is no longer required""") if metro_code is not None: - pulumi.set(__self__, "metro_code", metro_code) + _setter("metro_code", metro_code) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="inboundRules") @@ -46,6 +69,8 @@ def inbound_rules(self) -> pulumi.Input[Sequence[pulumi.Input['AclTemplateInboun """ One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones. + + The `inbound_rule` block has below fields: """ return pulumi.get(self, "inbound_rules") @@ -71,6 +96,9 @@ def metro_code(self) -> Optional[pulumi.Input[str]]: """ ACL template location metro code. """ + warnings.warn("""Metro Code is no longer required""", DeprecationWarning) + pulumi.log.warn("""metro_code is deprecated: Metro Code is no longer required""") + return pulumi.get(self, "metro_code") @metro_code.setter @@ -110,32 +138,69 @@ def __init__(__self__, *, :param pulumi.Input[str] device_id: (Deprecated) Identifier of a network device where template was applied. :param pulumi.Input[Sequence[pulumi.Input['AclTemplateInboundRuleArgs']]] inbound_rules: One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones. + + The `inbound_rule` block has below fields: :param pulumi.Input[str] metro_code: ACL template location metro code. :param pulumi.Input[str] name: ACL template name. :param pulumi.Input[str] uuid: Device uuid. """ + _AclTemplateState._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + device_acl_status=device_acl_status, + device_details=device_details, + device_id=device_id, + inbound_rules=inbound_rules, + metro_code=metro_code, + name=name, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + device_acl_status: Optional[pulumi.Input[str]] = None, + device_details: Optional[pulumi.Input[Sequence[pulumi.Input['AclTemplateDeviceDetailArgs']]]] = None, + device_id: Optional[pulumi.Input[str]] = None, + inbound_rules: Optional[pulumi.Input[Sequence[pulumi.Input['AclTemplateInboundRuleArgs']]]] = None, + metro_code: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deviceAclStatus' in kwargs: + device_acl_status = kwargs['deviceAclStatus'] + if 'deviceDetails' in kwargs: + device_details = kwargs['deviceDetails'] + if 'deviceId' in kwargs: + device_id = kwargs['deviceId'] + if 'inboundRules' in kwargs: + inbound_rules = kwargs['inboundRules'] + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if device_acl_status is not None: - pulumi.set(__self__, "device_acl_status", device_acl_status) + _setter("device_acl_status", device_acl_status) if device_details is not None: - pulumi.set(__self__, "device_details", device_details) + _setter("device_details", device_details) if device_id is not None: warnings.warn("""Refer to device details get device information""", DeprecationWarning) pulumi.log.warn("""device_id is deprecated: Refer to device details get device information""") if device_id is not None: - pulumi.set(__self__, "device_id", device_id) + _setter("device_id", device_id) if inbound_rules is not None: - pulumi.set(__self__, "inbound_rules", inbound_rules) + _setter("inbound_rules", inbound_rules) if metro_code is not None: warnings.warn("""Metro Code is no longer required""", DeprecationWarning) pulumi.log.warn("""metro_code is deprecated: Metro Code is no longer required""") if metro_code is not None: - pulumi.set(__self__, "metro_code", metro_code) + _setter("metro_code", metro_code) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter @@ -180,6 +245,9 @@ def device_id(self) -> Optional[pulumi.Input[str]]: """ (Deprecated) Identifier of a network device where template was applied. """ + warnings.warn("""Refer to device details get device information""", DeprecationWarning) + pulumi.log.warn("""device_id is deprecated: Refer to device details get device information""") + return pulumi.get(self, "device_id") @device_id.setter @@ -192,6 +260,8 @@ def inbound_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AclTempl """ One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones. + + The `inbound_rule` block has below fields: """ return pulumi.get(self, "inbound_rules") @@ -205,6 +275,9 @@ def metro_code(self) -> Optional[pulumi.Input[str]]: """ ACL template location metro code. """ + warnings.warn("""Metro Code is no longer required""", DeprecationWarning) + pulumi.log.warn("""metro_code is deprecated: Metro Code is no longer required""") + return pulumi.get(self, "metro_code") @metro_code.setter @@ -289,6 +362,8 @@ def __init__(__self__, :param pulumi.Input[str] description: Inbound rule description, up to 200 characters. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AclTemplateInboundRuleArgs']]]] inbound_rules: One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones. + + The `inbound_rule` block has below fields: :param pulumi.Input[str] metro_code: ACL template location metro code. :param pulumi.Input[str] name: ACL template name. """ @@ -346,6 +421,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AclTemplateArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -368,9 +447,6 @@ def _internal_init(__self__, if inbound_rules is None and not opts.urn: raise TypeError("Missing required property 'inbound_rules'") __props__.__dict__["inbound_rules"] = inbound_rules - if metro_code is not None and not opts.urn: - warnings.warn("""Metro Code is no longer required""", DeprecationWarning) - pulumi.log.warn("""metro_code is deprecated: Metro Code is no longer required""") __props__.__dict__["metro_code"] = metro_code __props__.__dict__["name"] = name __props__.__dict__["device_acl_status"] = None @@ -409,6 +485,8 @@ def get(resource_name: str, :param pulumi.Input[str] device_id: (Deprecated) Identifier of a network device where template was applied. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AclTemplateInboundRuleArgs']]]] inbound_rules: One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones. + + The `inbound_rule` block has below fields: :param pulumi.Input[str] metro_code: ACL template location metro code. :param pulumi.Input[str] name: ACL template name. :param pulumi.Input[str] uuid: Device uuid. @@ -458,6 +536,9 @@ def device_id(self) -> pulumi.Output[str]: """ (Deprecated) Identifier of a network device where template was applied. """ + warnings.warn("""Refer to device details get device information""", DeprecationWarning) + pulumi.log.warn("""device_id is deprecated: Refer to device details get device information""") + return pulumi.get(self, "device_id") @property @@ -466,6 +547,8 @@ def inbound_rules(self) -> pulumi.Output[Sequence['outputs.AclTemplateInboundRul """ One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones. + + The `inbound_rule` block has below fields: """ return pulumi.get(self, "inbound_rules") @@ -475,6 +558,9 @@ def metro_code(self) -> pulumi.Output[Optional[str]]: """ ACL template location metro code. """ + warnings.warn("""Metro Code is no longer required""", DeprecationWarning) + pulumi.log.warn("""metro_code is deprecated: Metro Code is no longer required""") + return pulumi.get(self, "metro_code") @property diff --git a/sdk/python/pulumi_equinix/networkedge/bgp.py b/sdk/python/pulumi_equinix/networkedge/bgp.py index 422f586d..7448f03f 100644 --- a/sdk/python/pulumi_equinix/networkedge/bgp.py +++ b/sdk/python/pulumi_equinix/networkedge/bgp.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['BgpArgs', 'Bgp'] @@ -30,13 +30,46 @@ def __init__(__self__, *, :param pulumi.Input[str] remote_ip_address: IP address of remote peer. :param pulumi.Input[str] authentication_key: shared key used for BGP peer authentication. """ - pulumi.set(__self__, "connection_id", connection_id) - pulumi.set(__self__, "local_asn", local_asn) - pulumi.set(__self__, "local_ip_address", local_ip_address) - pulumi.set(__self__, "remote_asn", remote_asn) - pulumi.set(__self__, "remote_ip_address", remote_ip_address) + BgpArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_id=connection_id, + local_asn=local_asn, + local_ip_address=local_ip_address, + remote_asn=remote_asn, + remote_ip_address=remote_ip_address, + authentication_key=authentication_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_id: pulumi.Input[str], + local_asn: pulumi.Input[int], + local_ip_address: pulumi.Input[str], + remote_asn: pulumi.Input[int], + remote_ip_address: pulumi.Input[str], + authentication_key: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'connectionId' in kwargs: + connection_id = kwargs['connectionId'] + if 'localAsn' in kwargs: + local_asn = kwargs['localAsn'] + if 'localIpAddress' in kwargs: + local_ip_address = kwargs['localIpAddress'] + if 'remoteAsn' in kwargs: + remote_asn = kwargs['remoteAsn'] + if 'remoteIpAddress' in kwargs: + remote_ip_address = kwargs['remoteIpAddress'] + if 'authenticationKey' in kwargs: + authentication_key = kwargs['authenticationKey'] + + _setter("connection_id", connection_id) + _setter("local_asn", local_asn) + _setter("local_ip_address", local_ip_address) + _setter("remote_asn", remote_asn) + _setter("remote_ip_address", remote_ip_address) if authentication_key is not None: - pulumi.set(__self__, "authentication_key", authentication_key) + _setter("authentication_key", authentication_key) @property @pulumi.getter(name="connectionId") @@ -142,26 +175,71 @@ def __init__(__self__, *, `Established`. :param pulumi.Input[str] uuid: BGP peering configuration unique identifier. """ + _BgpState._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_key=authentication_key, + connection_id=connection_id, + device_id=device_id, + local_asn=local_asn, + local_ip_address=local_ip_address, + provisioning_status=provisioning_status, + remote_asn=remote_asn, + remote_ip_address=remote_ip_address, + state=state, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_key: Optional[pulumi.Input[str]] = None, + connection_id: Optional[pulumi.Input[str]] = None, + device_id: Optional[pulumi.Input[str]] = None, + local_asn: Optional[pulumi.Input[int]] = None, + local_ip_address: Optional[pulumi.Input[str]] = None, + provisioning_status: Optional[pulumi.Input[str]] = None, + remote_asn: Optional[pulumi.Input[int]] = None, + remote_ip_address: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authenticationKey' in kwargs: + authentication_key = kwargs['authenticationKey'] + if 'connectionId' in kwargs: + connection_id = kwargs['connectionId'] + if 'deviceId' in kwargs: + device_id = kwargs['deviceId'] + if 'localAsn' in kwargs: + local_asn = kwargs['localAsn'] + if 'localIpAddress' in kwargs: + local_ip_address = kwargs['localIpAddress'] + if 'provisioningStatus' in kwargs: + provisioning_status = kwargs['provisioningStatus'] + if 'remoteAsn' in kwargs: + remote_asn = kwargs['remoteAsn'] + if 'remoteIpAddress' in kwargs: + remote_ip_address = kwargs['remoteIpAddress'] + if authentication_key is not None: - pulumi.set(__self__, "authentication_key", authentication_key) + _setter("authentication_key", authentication_key) if connection_id is not None: - pulumi.set(__self__, "connection_id", connection_id) + _setter("connection_id", connection_id) if device_id is not None: - pulumi.set(__self__, "device_id", device_id) + _setter("device_id", device_id) if local_asn is not None: - pulumi.set(__self__, "local_asn", local_asn) + _setter("local_asn", local_asn) if local_ip_address is not None: - pulumi.set(__self__, "local_ip_address", local_ip_address) + _setter("local_ip_address", local_ip_address) if provisioning_status is not None: - pulumi.set(__self__, "provisioning_status", provisioning_status) + _setter("provisioning_status", provisioning_status) if remote_asn is not None: - pulumi.set(__self__, "remote_asn", remote_asn) + _setter("remote_asn", remote_asn) if remote_ip_address is not None: - pulumi.set(__self__, "remote_ip_address", remote_ip_address) + _setter("remote_ip_address", remote_ip_address) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter(name="authenticationKey") @@ -374,6 +452,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BgpArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/networkedge/device.py b/sdk/python/pulumi_equinix/networkedge/device.py index 97fb25f5..c59d5366 100644 --- a/sdk/python/pulumi_equinix/networkedge/device.py +++ b/sdk/python/pulumi_equinix/networkedge/device.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._enums import * @@ -30,6 +30,7 @@ def __init__(__self__, *, byol: Optional[pulumi.Input[bool]] = None, cloud_init_file_id: Optional[pulumi.Input[str]] = None, cluster_details: Optional[pulumi.Input['DeviceClusterDetailsArgs']] = None, + connectivity: Optional[pulumi.Input[str]] = None, hostname: Optional[pulumi.Input[str]] = None, interface_count: Optional[pulumi.Input[int]] = None, license_file: Optional[pulumi.Input[str]] = None, @@ -65,6 +66,8 @@ def __init__(__self__, *, :param pulumi.Input[str] cloud_init_file_id: Identifier of a cloud init file that will be applied on the device. :param pulumi.Input['DeviceClusterDetailsArgs'] cluster_details: An object that has the cluster details. See Cluster Details below for more details. + :param pulumi.Input[str] connectivity: Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + If not specified, default will be INTERNET-ACCESS :param pulumi.Input[str] hostname: Device hostname prefix. :param pulumi.Input[int] interface_count: Number of network interfaces on a device. If not specified, default number for a given device type will be used. @@ -91,56 +94,173 @@ def __init__(__self__, *, on a device (max one key). See SSH Key below for more details. :param pulumi.Input[str] wan_interface_id: device interface id picked for WAN """ - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "core_count", core_count) - pulumi.set(__self__, "metro_code", metro_code) - pulumi.set(__self__, "notifications", notifications) - pulumi.set(__self__, "package_code", package_code) - pulumi.set(__self__, "term_length", term_length) - pulumi.set(__self__, "type_code", type_code) - pulumi.set(__self__, "version", version) + DeviceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_number=account_number, + core_count=core_count, + metro_code=metro_code, + notifications=notifications, + package_code=package_code, + term_length=term_length, + type_code=type_code, + version=version, + acl_template_id=acl_template_id, + additional_bandwidth=additional_bandwidth, + byol=byol, + cloud_init_file_id=cloud_init_file_id, + cluster_details=cluster_details, + connectivity=connectivity, + hostname=hostname, + interface_count=interface_count, + license_file=license_file, + license_file_id=license_file_id, + license_token=license_token, + mgmt_acl_template_uuid=mgmt_acl_template_uuid, + name=name, + order_reference=order_reference, + purchase_order_number=purchase_order_number, + secondary_device=secondary_device, + self_managed=self_managed, + ssh_key=ssh_key, + throughput=throughput, + throughput_unit=throughput_unit, + vendor_configuration=vendor_configuration, + wan_interface_id=wan_interface_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_number: pulumi.Input[str], + core_count: pulumi.Input[int], + metro_code: pulumi.Input[str], + notifications: pulumi.Input[Sequence[pulumi.Input[str]]], + package_code: pulumi.Input[str], + term_length: pulumi.Input[int], + type_code: pulumi.Input[str], + version: pulumi.Input[str], + acl_template_id: Optional[pulumi.Input[str]] = None, + additional_bandwidth: Optional[pulumi.Input[int]] = None, + byol: Optional[pulumi.Input[bool]] = None, + cloud_init_file_id: Optional[pulumi.Input[str]] = None, + cluster_details: Optional[pulumi.Input['DeviceClusterDetailsArgs']] = None, + connectivity: Optional[pulumi.Input[str]] = None, + hostname: Optional[pulumi.Input[str]] = None, + interface_count: Optional[pulumi.Input[int]] = None, + license_file: Optional[pulumi.Input[str]] = None, + license_file_id: Optional[pulumi.Input[str]] = None, + license_token: Optional[pulumi.Input[str]] = None, + mgmt_acl_template_uuid: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + order_reference: Optional[pulumi.Input[str]] = None, + purchase_order_number: Optional[pulumi.Input[str]] = None, + secondary_device: Optional[pulumi.Input['DeviceSecondaryDeviceArgs']] = None, + self_managed: Optional[pulumi.Input[bool]] = None, + ssh_key: Optional[pulumi.Input['DeviceSshKeyArgs']] = None, + throughput: Optional[pulumi.Input[int]] = None, + throughput_unit: Optional[pulumi.Input[Union[str, 'ThroughputUnit']]] = None, + vendor_configuration: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + wan_interface_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'coreCount' in kwargs: + core_count = kwargs['coreCount'] + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'packageCode' in kwargs: + package_code = kwargs['packageCode'] + if 'termLength' in kwargs: + term_length = kwargs['termLength'] + if 'typeCode' in kwargs: + type_code = kwargs['typeCode'] + if 'aclTemplateId' in kwargs: + acl_template_id = kwargs['aclTemplateId'] + if 'additionalBandwidth' in kwargs: + additional_bandwidth = kwargs['additionalBandwidth'] + if 'cloudInitFileId' in kwargs: + cloud_init_file_id = kwargs['cloudInitFileId'] + if 'clusterDetails' in kwargs: + cluster_details = kwargs['clusterDetails'] + if 'interfaceCount' in kwargs: + interface_count = kwargs['interfaceCount'] + if 'licenseFile' in kwargs: + license_file = kwargs['licenseFile'] + if 'licenseFileId' in kwargs: + license_file_id = kwargs['licenseFileId'] + if 'licenseToken' in kwargs: + license_token = kwargs['licenseToken'] + if 'mgmtAclTemplateUuid' in kwargs: + mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] + if 'orderReference' in kwargs: + order_reference = kwargs['orderReference'] + if 'purchaseOrderNumber' in kwargs: + purchase_order_number = kwargs['purchaseOrderNumber'] + if 'secondaryDevice' in kwargs: + secondary_device = kwargs['secondaryDevice'] + if 'selfManaged' in kwargs: + self_managed = kwargs['selfManaged'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'throughputUnit' in kwargs: + throughput_unit = kwargs['throughputUnit'] + if 'vendorConfiguration' in kwargs: + vendor_configuration = kwargs['vendorConfiguration'] + if 'wanInterfaceId' in kwargs: + wan_interface_id = kwargs['wanInterfaceId'] + + _setter("account_number", account_number) + _setter("core_count", core_count) + _setter("metro_code", metro_code) + _setter("notifications", notifications) + _setter("package_code", package_code) + _setter("term_length", term_length) + _setter("type_code", type_code) + _setter("version", version) if acl_template_id is not None: - pulumi.set(__self__, "acl_template_id", acl_template_id) + _setter("acl_template_id", acl_template_id) if additional_bandwidth is not None: - pulumi.set(__self__, "additional_bandwidth", additional_bandwidth) + _setter("additional_bandwidth", additional_bandwidth) if byol is not None: - pulumi.set(__self__, "byol", byol) + _setter("byol", byol) if cloud_init_file_id is not None: - pulumi.set(__self__, "cloud_init_file_id", cloud_init_file_id) + _setter("cloud_init_file_id", cloud_init_file_id) if cluster_details is not None: - pulumi.set(__self__, "cluster_details", cluster_details) + _setter("cluster_details", cluster_details) + if connectivity is not None: + _setter("connectivity", connectivity) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if interface_count is not None: - pulumi.set(__self__, "interface_count", interface_count) + _setter("interface_count", interface_count) if license_file is not None: - pulumi.set(__self__, "license_file", license_file) + _setter("license_file", license_file) if license_file_id is not None: - pulumi.set(__self__, "license_file_id", license_file_id) + _setter("license_file_id", license_file_id) if license_token is not None: - pulumi.set(__self__, "license_token", license_token) + _setter("license_token", license_token) if mgmt_acl_template_uuid is not None: - pulumi.set(__self__, "mgmt_acl_template_uuid", mgmt_acl_template_uuid) + _setter("mgmt_acl_template_uuid", mgmt_acl_template_uuid) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if order_reference is not None: - pulumi.set(__self__, "order_reference", order_reference) + _setter("order_reference", order_reference) if purchase_order_number is not None: - pulumi.set(__self__, "purchase_order_number", purchase_order_number) + _setter("purchase_order_number", purchase_order_number) if secondary_device is not None: - pulumi.set(__self__, "secondary_device", secondary_device) + _setter("secondary_device", secondary_device) if self_managed is not None: - pulumi.set(__self__, "self_managed", self_managed) + _setter("self_managed", self_managed) if ssh_key is not None: - pulumi.set(__self__, "ssh_key", ssh_key) + _setter("ssh_key", ssh_key) if throughput is not None: - pulumi.set(__self__, "throughput", throughput) + _setter("throughput", throughput) if throughput_unit is not None: - pulumi.set(__self__, "throughput_unit", throughput_unit) + _setter("throughput_unit", throughput_unit) if vendor_configuration is not None: - pulumi.set(__self__, "vendor_configuration", vendor_configuration) + _setter("vendor_configuration", vendor_configuration) if wan_interface_id is not None: - pulumi.set(__self__, "wan_interface_id", wan_interface_id) + _setter("wan_interface_id", wan_interface_id) @property @pulumi.getter(name="accountNumber") @@ -302,6 +422,19 @@ def cluster_details(self) -> Optional[pulumi.Input['DeviceClusterDetailsArgs']]: def cluster_details(self, value: Optional[pulumi.Input['DeviceClusterDetailsArgs']]): pulumi.set(self, "cluster_details", value) + @property + @pulumi.getter + def connectivity(self) -> Optional[pulumi.Input[str]]: + """ + Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + If not specified, default will be INTERNET-ACCESS + """ + return pulumi.get(self, "connectivity") + + @connectivity.setter + def connectivity(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connectivity", value) + @property @pulumi.getter def hostname(self) -> Optional[pulumi.Input[str]]: @@ -514,6 +647,7 @@ def __init__(__self__, *, byol: Optional[pulumi.Input[bool]] = None, cloud_init_file_id: Optional[pulumi.Input[str]] = None, cluster_details: Optional[pulumi.Input['DeviceClusterDetailsArgs']] = None, + connectivity: Optional[pulumi.Input[str]] = None, core_count: Optional[pulumi.Input[int]] = None, hostname: Optional[pulumi.Input[str]] = None, ibx: Optional[pulumi.Input[str]] = None, @@ -560,6 +694,8 @@ def __init__(__self__, *, :param pulumi.Input[str] cloud_init_file_id: Identifier of a cloud init file that will be applied on the device. :param pulumi.Input['DeviceClusterDetailsArgs'] cluster_details: An object that has the cluster details. See Cluster Details below for more details. + :param pulumi.Input[str] connectivity: Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + If not specified, default will be INTERNET-ACCESS :param pulumi.Input[int] core_count: Number of CPU cores used by device. :param pulumi.Input[str] hostname: Device hostname prefix. :param pulumi.Input[str] ibx: Device location Equinix Business Exchange name. @@ -608,88 +744,241 @@ def __init__(__self__, *, :param pulumi.Input[str] wan_interface_id: device interface id picked for WAN :param pulumi.Input[str] zone_code: Device location zone code. """ + _DeviceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_number=account_number, + acl_template_id=acl_template_id, + additional_bandwidth=additional_bandwidth, + asn=asn, + byol=byol, + cloud_init_file_id=cloud_init_file_id, + cluster_details=cluster_details, + connectivity=connectivity, + core_count=core_count, + hostname=hostname, + ibx=ibx, + interface_count=interface_count, + interfaces=interfaces, + license_file=license_file, + license_file_id=license_file_id, + license_status=license_status, + license_token=license_token, + metro_code=metro_code, + mgmt_acl_template_uuid=mgmt_acl_template_uuid, + name=name, + notifications=notifications, + order_reference=order_reference, + package_code=package_code, + purchase_order_number=purchase_order_number, + redundancy_type=redundancy_type, + redundant_id=redundant_id, + region=region, + secondary_device=secondary_device, + self_managed=self_managed, + ssh_ip_address=ssh_ip_address, + ssh_ip_fqdn=ssh_ip_fqdn, + ssh_key=ssh_key, + status=status, + term_length=term_length, + throughput=throughput, + throughput_unit=throughput_unit, + type_code=type_code, + uuid=uuid, + vendor_configuration=vendor_configuration, + version=version, + wan_interface_id=wan_interface_id, + zone_code=zone_code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_number: Optional[pulumi.Input[str]] = None, + acl_template_id: Optional[pulumi.Input[str]] = None, + additional_bandwidth: Optional[pulumi.Input[int]] = None, + asn: Optional[pulumi.Input[int]] = None, + byol: Optional[pulumi.Input[bool]] = None, + cloud_init_file_id: Optional[pulumi.Input[str]] = None, + cluster_details: Optional[pulumi.Input['DeviceClusterDetailsArgs']] = None, + connectivity: Optional[pulumi.Input[str]] = None, + core_count: Optional[pulumi.Input[int]] = None, + hostname: Optional[pulumi.Input[str]] = None, + ibx: Optional[pulumi.Input[str]] = None, + interface_count: Optional[pulumi.Input[int]] = None, + interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceInterfaceArgs']]]] = None, + license_file: Optional[pulumi.Input[str]] = None, + license_file_id: Optional[pulumi.Input[str]] = None, + license_status: Optional[pulumi.Input[str]] = None, + license_token: Optional[pulumi.Input[str]] = None, + metro_code: Optional[pulumi.Input[str]] = None, + mgmt_acl_template_uuid: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + order_reference: Optional[pulumi.Input[str]] = None, + package_code: Optional[pulumi.Input[str]] = None, + purchase_order_number: Optional[pulumi.Input[str]] = None, + redundancy_type: Optional[pulumi.Input[str]] = None, + redundant_id: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + secondary_device: Optional[pulumi.Input['DeviceSecondaryDeviceArgs']] = None, + self_managed: Optional[pulumi.Input[bool]] = None, + ssh_ip_address: Optional[pulumi.Input[str]] = None, + ssh_ip_fqdn: Optional[pulumi.Input[str]] = None, + ssh_key: Optional[pulumi.Input['DeviceSshKeyArgs']] = None, + status: Optional[pulumi.Input[str]] = None, + term_length: Optional[pulumi.Input[int]] = None, + throughput: Optional[pulumi.Input[int]] = None, + throughput_unit: Optional[pulumi.Input[Union[str, 'ThroughputUnit']]] = None, + type_code: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + vendor_configuration: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[str]] = None, + wan_interface_id: Optional[pulumi.Input[str]] = None, + zone_code: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'aclTemplateId' in kwargs: + acl_template_id = kwargs['aclTemplateId'] + if 'additionalBandwidth' in kwargs: + additional_bandwidth = kwargs['additionalBandwidth'] + if 'cloudInitFileId' in kwargs: + cloud_init_file_id = kwargs['cloudInitFileId'] + if 'clusterDetails' in kwargs: + cluster_details = kwargs['clusterDetails'] + if 'coreCount' in kwargs: + core_count = kwargs['coreCount'] + if 'interfaceCount' in kwargs: + interface_count = kwargs['interfaceCount'] + if 'licenseFile' in kwargs: + license_file = kwargs['licenseFile'] + if 'licenseFileId' in kwargs: + license_file_id = kwargs['licenseFileId'] + if 'licenseStatus' in kwargs: + license_status = kwargs['licenseStatus'] + if 'licenseToken' in kwargs: + license_token = kwargs['licenseToken'] + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'mgmtAclTemplateUuid' in kwargs: + mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] + if 'orderReference' in kwargs: + order_reference = kwargs['orderReference'] + if 'packageCode' in kwargs: + package_code = kwargs['packageCode'] + if 'purchaseOrderNumber' in kwargs: + purchase_order_number = kwargs['purchaseOrderNumber'] + if 'redundancyType' in kwargs: + redundancy_type = kwargs['redundancyType'] + if 'redundantId' in kwargs: + redundant_id = kwargs['redundantId'] + if 'secondaryDevice' in kwargs: + secondary_device = kwargs['secondaryDevice'] + if 'selfManaged' in kwargs: + self_managed = kwargs['selfManaged'] + if 'sshIpAddress' in kwargs: + ssh_ip_address = kwargs['sshIpAddress'] + if 'sshIpFqdn' in kwargs: + ssh_ip_fqdn = kwargs['sshIpFqdn'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'termLength' in kwargs: + term_length = kwargs['termLength'] + if 'throughputUnit' in kwargs: + throughput_unit = kwargs['throughputUnit'] + if 'typeCode' in kwargs: + type_code = kwargs['typeCode'] + if 'vendorConfiguration' in kwargs: + vendor_configuration = kwargs['vendorConfiguration'] + if 'wanInterfaceId' in kwargs: + wan_interface_id = kwargs['wanInterfaceId'] + if 'zoneCode' in kwargs: + zone_code = kwargs['zoneCode'] + if account_number is not None: - pulumi.set(__self__, "account_number", account_number) + _setter("account_number", account_number) if acl_template_id is not None: - pulumi.set(__self__, "acl_template_id", acl_template_id) + _setter("acl_template_id", acl_template_id) if additional_bandwidth is not None: - pulumi.set(__self__, "additional_bandwidth", additional_bandwidth) + _setter("additional_bandwidth", additional_bandwidth) if asn is not None: - pulumi.set(__self__, "asn", asn) + _setter("asn", asn) if byol is not None: - pulumi.set(__self__, "byol", byol) + _setter("byol", byol) if cloud_init_file_id is not None: - pulumi.set(__self__, "cloud_init_file_id", cloud_init_file_id) + _setter("cloud_init_file_id", cloud_init_file_id) if cluster_details is not None: - pulumi.set(__self__, "cluster_details", cluster_details) + _setter("cluster_details", cluster_details) + if connectivity is not None: + _setter("connectivity", connectivity) if core_count is not None: - pulumi.set(__self__, "core_count", core_count) + _setter("core_count", core_count) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if ibx is not None: - pulumi.set(__self__, "ibx", ibx) + _setter("ibx", ibx) if interface_count is not None: - pulumi.set(__self__, "interface_count", interface_count) + _setter("interface_count", interface_count) if interfaces is not None: - pulumi.set(__self__, "interfaces", interfaces) + _setter("interfaces", interfaces) if license_file is not None: - pulumi.set(__self__, "license_file", license_file) + _setter("license_file", license_file) if license_file_id is not None: - pulumi.set(__self__, "license_file_id", license_file_id) + _setter("license_file_id", license_file_id) if license_status is not None: - pulumi.set(__self__, "license_status", license_status) + _setter("license_status", license_status) if license_token is not None: - pulumi.set(__self__, "license_token", license_token) + _setter("license_token", license_token) if metro_code is not None: - pulumi.set(__self__, "metro_code", metro_code) + _setter("metro_code", metro_code) if mgmt_acl_template_uuid is not None: - pulumi.set(__self__, "mgmt_acl_template_uuid", mgmt_acl_template_uuid) + _setter("mgmt_acl_template_uuid", mgmt_acl_template_uuid) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if notifications is not None: - pulumi.set(__self__, "notifications", notifications) + _setter("notifications", notifications) if order_reference is not None: - pulumi.set(__self__, "order_reference", order_reference) + _setter("order_reference", order_reference) if package_code is not None: - pulumi.set(__self__, "package_code", package_code) + _setter("package_code", package_code) if purchase_order_number is not None: - pulumi.set(__self__, "purchase_order_number", purchase_order_number) + _setter("purchase_order_number", purchase_order_number) if redundancy_type is not None: - pulumi.set(__self__, "redundancy_type", redundancy_type) + _setter("redundancy_type", redundancy_type) if redundant_id is not None: - pulumi.set(__self__, "redundant_id", redundant_id) + _setter("redundant_id", redundant_id) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if secondary_device is not None: - pulumi.set(__self__, "secondary_device", secondary_device) + _setter("secondary_device", secondary_device) if self_managed is not None: - pulumi.set(__self__, "self_managed", self_managed) + _setter("self_managed", self_managed) if ssh_ip_address is not None: - pulumi.set(__self__, "ssh_ip_address", ssh_ip_address) + _setter("ssh_ip_address", ssh_ip_address) if ssh_ip_fqdn is not None: - pulumi.set(__self__, "ssh_ip_fqdn", ssh_ip_fqdn) + _setter("ssh_ip_fqdn", ssh_ip_fqdn) if ssh_key is not None: - pulumi.set(__self__, "ssh_key", ssh_key) + _setter("ssh_key", ssh_key) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if term_length is not None: - pulumi.set(__self__, "term_length", term_length) + _setter("term_length", term_length) if throughput is not None: - pulumi.set(__self__, "throughput", throughput) + _setter("throughput", throughput) if throughput_unit is not None: - pulumi.set(__self__, "throughput_unit", throughput_unit) + _setter("throughput_unit", throughput_unit) if type_code is not None: - pulumi.set(__self__, "type_code", type_code) + _setter("type_code", type_code) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) if vendor_configuration is not None: - pulumi.set(__self__, "vendor_configuration", vendor_configuration) + _setter("vendor_configuration", vendor_configuration) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) if wan_interface_id is not None: - pulumi.set(__self__, "wan_interface_id", wan_interface_id) + _setter("wan_interface_id", wan_interface_id) if zone_code is not None: - pulumi.set(__self__, "zone_code", zone_code) + _setter("zone_code", zone_code) @property @pulumi.getter(name="accountNumber") @@ -778,6 +1067,19 @@ def cluster_details(self) -> Optional[pulumi.Input['DeviceClusterDetailsArgs']]: def cluster_details(self, value: Optional[pulumi.Input['DeviceClusterDetailsArgs']]): pulumi.set(self, "cluster_details", value) + @property + @pulumi.getter + def connectivity(self) -> Optional[pulumi.Input[str]]: + """ + Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + If not specified, default will be INTERNET-ACCESS + """ + return pulumi.get(self, "connectivity") + + @connectivity.setter + def connectivity(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connectivity", value) + @property @pulumi.getter(name="coreCount") def core_count(self) -> Optional[pulumi.Input[int]]: @@ -1211,6 +1513,7 @@ def __init__(__self__, byol: Optional[pulumi.Input[bool]] = None, cloud_init_file_id: Optional[pulumi.Input[str]] = None, cluster_details: Optional[pulumi.Input[pulumi.InputType['DeviceClusterDetailsArgs']]] = None, + connectivity: Optional[pulumi.Input[str]] = None, core_count: Optional[pulumi.Input[int]] = None, hostname: Optional[pulumi.Input[str]] = None, interface_count: Optional[pulumi.Input[int]] = None, @@ -1326,6 +1629,8 @@ def __init__(__self__, :param pulumi.Input[str] cloud_init_file_id: Identifier of a cloud init file that will be applied on the device. :param pulumi.Input[pulumi.InputType['DeviceClusterDetailsArgs']] cluster_details: An object that has the cluster details. See Cluster Details below for more details. + :param pulumi.Input[str] connectivity: Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + If not specified, default will be INTERNET-ACCESS :param pulumi.Input[int] core_count: Number of CPU cores used by device. :param pulumi.Input[str] hostname: Device hostname prefix. :param pulumi.Input[int] interface_count: Number of network interfaces on a device. If not specified, @@ -1456,6 +1761,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DeviceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1467,6 +1776,7 @@ def _internal_init(__self__, byol: Optional[pulumi.Input[bool]] = None, cloud_init_file_id: Optional[pulumi.Input[str]] = None, cluster_details: Optional[pulumi.Input[pulumi.InputType['DeviceClusterDetailsArgs']]] = None, + connectivity: Optional[pulumi.Input[str]] = None, core_count: Optional[pulumi.Input[int]] = None, hostname: Optional[pulumi.Input[str]] = None, interface_count: Optional[pulumi.Input[int]] = None, @@ -1506,7 +1816,13 @@ def _internal_init(__self__, __props__.__dict__["additional_bandwidth"] = additional_bandwidth __props__.__dict__["byol"] = byol __props__.__dict__["cloud_init_file_id"] = cloud_init_file_id + if cluster_details is not None and not isinstance(cluster_details, DeviceClusterDetailsArgs): + cluster_details = cluster_details or {} + def _setter(key, value): + cluster_details[key] = value + DeviceClusterDetailsArgs._configure(_setter, **cluster_details) __props__.__dict__["cluster_details"] = cluster_details + __props__.__dict__["connectivity"] = connectivity if core_count is None and not opts.urn: raise TypeError("Missing required property 'core_count'") __props__.__dict__["core_count"] = core_count @@ -1528,8 +1844,18 @@ def _internal_init(__self__, raise TypeError("Missing required property 'package_code'") __props__.__dict__["package_code"] = package_code __props__.__dict__["purchase_order_number"] = purchase_order_number + if secondary_device is not None and not isinstance(secondary_device, DeviceSecondaryDeviceArgs): + secondary_device = secondary_device or {} + def _setter(key, value): + secondary_device[key] = value + DeviceSecondaryDeviceArgs._configure(_setter, **secondary_device) __props__.__dict__["secondary_device"] = secondary_device __props__.__dict__["self_managed"] = self_managed + if ssh_key is not None and not isinstance(ssh_key, DeviceSshKeyArgs): + ssh_key = ssh_key or {} + def _setter(key, value): + ssh_key[key] = value + DeviceSshKeyArgs._configure(_setter, **ssh_key) __props__.__dict__["ssh_key"] = ssh_key if term_length is None and not opts.urn: raise TypeError("Missing required property 'term_length'") @@ -1573,6 +1899,7 @@ def get(resource_name: str, byol: Optional[pulumi.Input[bool]] = None, cloud_init_file_id: Optional[pulumi.Input[str]] = None, cluster_details: Optional[pulumi.Input[pulumi.InputType['DeviceClusterDetailsArgs']]] = None, + connectivity: Optional[pulumi.Input[str]] = None, core_count: Optional[pulumi.Input[int]] = None, hostname: Optional[pulumi.Input[str]] = None, ibx: Optional[pulumi.Input[str]] = None, @@ -1624,6 +1951,8 @@ def get(resource_name: str, :param pulumi.Input[str] cloud_init_file_id: Identifier of a cloud init file that will be applied on the device. :param pulumi.Input[pulumi.InputType['DeviceClusterDetailsArgs']] cluster_details: An object that has the cluster details. See Cluster Details below for more details. + :param pulumi.Input[str] connectivity: Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + If not specified, default will be INTERNET-ACCESS :param pulumi.Input[int] core_count: Number of CPU cores used by device. :param pulumi.Input[str] hostname: Device hostname prefix. :param pulumi.Input[str] ibx: Device location Equinix Business Exchange name. @@ -1683,6 +2012,7 @@ def get(resource_name: str, __props__.__dict__["byol"] = byol __props__.__dict__["cloud_init_file_id"] = cloud_init_file_id __props__.__dict__["cluster_details"] = cluster_details + __props__.__dict__["connectivity"] = connectivity __props__.__dict__["core_count"] = core_count __props__.__dict__["hostname"] = hostname __props__.__dict__["ibx"] = ibx @@ -1778,6 +2108,15 @@ def cluster_details(self) -> pulumi.Output[Optional['outputs.DeviceClusterDetail """ return pulumi.get(self, "cluster_details") + @property + @pulumi.getter + def connectivity(self) -> pulumi.Output[Optional[str]]: + """ + Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT). + If not specified, default will be INTERNET-ACCESS + """ + return pulumi.get(self, "connectivity") + @property @pulumi.getter(name="coreCount") def core_count(self) -> pulumi.Output[int]: diff --git a/sdk/python/pulumi_equinix/networkedge/device_link.py b/sdk/python/pulumi_equinix/networkedge/device_link.py index 7cda26f6..29db3053 100644 --- a/sdk/python/pulumi_equinix/networkedge/device_link.py +++ b/sdk/python/pulumi_equinix/networkedge/device_link.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -30,13 +30,30 @@ def __init__(__self__, *, :param pulumi.Input[str] subnet: device link subnet in CIDR format. Not required for link between self configured devices. """ - pulumi.set(__self__, "devices", devices) + DeviceLinkArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + devices=devices, + links=links, + name=name, + subnet=subnet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + devices: pulumi.Input[Sequence[pulumi.Input['DeviceLinkDeviceArgs']]], + links: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceLinkLinkArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + subnet: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + + _setter("devices", devices) if links is not None: - pulumi.set(__self__, "links", links) + _setter("links", links) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if subnet is not None: - pulumi.set(__self__, "subnet", subnet) + _setter("subnet", subnet) @property @pulumi.getter @@ -112,18 +129,39 @@ def __init__(__self__, *, between self configured devices. :param pulumi.Input[str] uuid: Device link unique identifier. """ + _DeviceLinkState._configure( + lambda key, value: pulumi.set(__self__, key, value), + devices=devices, + links=links, + name=name, + status=status, + subnet=subnet, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + devices: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceLinkDeviceArgs']]]] = None, + links: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceLinkLinkArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + subnet: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if devices is not None: - pulumi.set(__self__, "devices", devices) + _setter("devices", devices) if links is not None: - pulumi.set(__self__, "links", links) + _setter("links", links) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if subnet is not None: - pulumi.set(__self__, "subnet", subnet) + _setter("subnet", subnet) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter @@ -334,6 +372,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DeviceLinkArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/networkedge/get_account.py b/sdk/python/pulumi_equinix/networkedge/get_account.py index 7687545e..5ee56cc6 100644 --- a/sdk/python/pulumi_equinix/networkedge/get_account.py +++ b/sdk/python/pulumi_equinix/networkedge/get_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -131,12 +131,12 @@ def get_account(metro_code: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:networkedge/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult).value return AwaitableGetAccountResult( - id=__ret__.id, - metro_code=__ret__.metro_code, - name=__ret__.name, - number=__ret__.number, - status=__ret__.status, - ucm_id=__ret__.ucm_id) + id=pulumi.get(__ret__, 'id'), + metro_code=pulumi.get(__ret__, 'metro_code'), + name=pulumi.get(__ret__, 'name'), + number=pulumi.get(__ret__, 'number'), + status=pulumi.get(__ret__, 'status'), + ucm_id=pulumi.get(__ret__, 'ucm_id')) @_utilities.lift_output_func(get_account) diff --git a/sdk/python/pulumi_equinix/networkedge/get_device.py b/sdk/python/pulumi_equinix/networkedge/get_device.py index b10b8f8f..c08603e6 100644 --- a/sdk/python/pulumi_equinix/networkedge/get_device.py +++ b/sdk/python/pulumi_equinix/networkedge/get_device.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -22,7 +22,7 @@ class GetDeviceResult: """ A collection of values returned by getDevice. """ - def __init__(__self__, account_number=None, acl_template_id=None, additional_bandwidth=None, asn=None, byol=None, cluster_details=None, core_count=None, hostname=None, ibx=None, id=None, interface_count=None, interfaces=None, license_file=None, license_file_id=None, license_status=None, license_token=None, metro_code=None, mgmt_acl_template_uuid=None, name=None, notifications=None, order_reference=None, package_code=None, purchase_order_number=None, redundancy_type=None, redundant_id=None, region=None, secondary_devices=None, self_managed=None, ssh_ip_address=None, ssh_ip_fqdn=None, ssh_keys=None, status=None, term_length=None, throughput=None, throughput_unit=None, type_code=None, uuid=None, valid_status_list=None, vendor_configuration=None, version=None, wan_interface_id=None, zone_code=None): + def __init__(__self__, account_number=None, acl_template_id=None, additional_bandwidth=None, asn=None, byol=None, cluster_details=None, connectivity=None, core_count=None, hostname=None, ibx=None, id=None, interface_count=None, interfaces=None, license_file=None, license_file_id=None, license_status=None, license_token=None, metro_code=None, mgmt_acl_template_uuid=None, name=None, notifications=None, order_reference=None, package_code=None, purchase_order_number=None, redundancy_type=None, redundant_id=None, region=None, secondary_devices=None, self_managed=None, ssh_ip_address=None, ssh_ip_fqdn=None, ssh_keys=None, status=None, term_length=None, throughput=None, throughput_unit=None, type_code=None, uuid=None, valid_status_list=None, vendor_configuration=None, version=None, wan_interface_id=None, zone_code=None): if account_number and not isinstance(account_number, str): raise TypeError("Expected argument 'account_number' to be a str") pulumi.set(__self__, "account_number", account_number) @@ -41,6 +41,9 @@ def __init__(__self__, account_number=None, acl_template_id=None, additional_ban if cluster_details and not isinstance(cluster_details, list): raise TypeError("Expected argument 'cluster_details' to be a list") pulumi.set(__self__, "cluster_details", cluster_details) + if connectivity and not isinstance(connectivity, str): + raise TypeError("Expected argument 'connectivity' to be a str") + pulumi.set(__self__, "connectivity", connectivity) if core_count and not isinstance(core_count, int): raise TypeError("Expected argument 'core_count' to be a int") pulumi.set(__self__, "core_count", core_count) @@ -186,6 +189,14 @@ def byol(self) -> bool: def cluster_details(self) -> Sequence['outputs.GetDeviceClusterDetailResult']: return pulumi.get(self, "cluster_details") + @property + @pulumi.getter + def connectivity(self) -> str: + """ + Device accessibility (INTERNET-ACCESS or PRIVATE or INTERNET-ACCESS-WITH-PRVT-MGMT) + """ + return pulumi.get(self, "connectivity") + @property @pulumi.getter(name="coreCount") def core_count(self) -> int: @@ -256,6 +267,7 @@ def license_status(self) -> str: * APPLIED * WAITING_FOR_CLUSTER_SETUP * REGISTRATION_FAILED + * NA """ return pulumi.get(self, "license_status") @@ -445,6 +457,7 @@ def __await__(self): asn=self.asn, byol=self.byol, cluster_details=self.cluster_details, + connectivity=self.connectivity, core_count=self.core_count, hostname=self.hostname, ibx=self.ibx, @@ -504,6 +517,8 @@ def get_device(name: Optional[str] = None, :param str name: Name of an existing Equinix Network Edge device :param str uuid: UUID of an existing Equinix Network Edge device :param str valid_status_list: Device states to be considered valid when searching for a device by name + + NOTE: Exactly one of either `uuid` or `name` must be specified. """ __args__ = dict() __args__['name'] = name @@ -513,48 +528,49 @@ def get_device(name: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:networkedge/getDevice:getDevice', __args__, opts=opts, typ=GetDeviceResult).value return AwaitableGetDeviceResult( - account_number=__ret__.account_number, - acl_template_id=__ret__.acl_template_id, - additional_bandwidth=__ret__.additional_bandwidth, - asn=__ret__.asn, - byol=__ret__.byol, - cluster_details=__ret__.cluster_details, - core_count=__ret__.core_count, - hostname=__ret__.hostname, - ibx=__ret__.ibx, - id=__ret__.id, - interface_count=__ret__.interface_count, - interfaces=__ret__.interfaces, - license_file=__ret__.license_file, - license_file_id=__ret__.license_file_id, - license_status=__ret__.license_status, - license_token=__ret__.license_token, - metro_code=__ret__.metro_code, - mgmt_acl_template_uuid=__ret__.mgmt_acl_template_uuid, - name=__ret__.name, - notifications=__ret__.notifications, - order_reference=__ret__.order_reference, - package_code=__ret__.package_code, - purchase_order_number=__ret__.purchase_order_number, - redundancy_type=__ret__.redundancy_type, - redundant_id=__ret__.redundant_id, - region=__ret__.region, - secondary_devices=__ret__.secondary_devices, - self_managed=__ret__.self_managed, - ssh_ip_address=__ret__.ssh_ip_address, - ssh_ip_fqdn=__ret__.ssh_ip_fqdn, - ssh_keys=__ret__.ssh_keys, - status=__ret__.status, - term_length=__ret__.term_length, - throughput=__ret__.throughput, - throughput_unit=__ret__.throughput_unit, - type_code=__ret__.type_code, - uuid=__ret__.uuid, - valid_status_list=__ret__.valid_status_list, - vendor_configuration=__ret__.vendor_configuration, - version=__ret__.version, - wan_interface_id=__ret__.wan_interface_id, - zone_code=__ret__.zone_code) + account_number=pulumi.get(__ret__, 'account_number'), + acl_template_id=pulumi.get(__ret__, 'acl_template_id'), + additional_bandwidth=pulumi.get(__ret__, 'additional_bandwidth'), + asn=pulumi.get(__ret__, 'asn'), + byol=pulumi.get(__ret__, 'byol'), + cluster_details=pulumi.get(__ret__, 'cluster_details'), + connectivity=pulumi.get(__ret__, 'connectivity'), + core_count=pulumi.get(__ret__, 'core_count'), + hostname=pulumi.get(__ret__, 'hostname'), + ibx=pulumi.get(__ret__, 'ibx'), + id=pulumi.get(__ret__, 'id'), + interface_count=pulumi.get(__ret__, 'interface_count'), + interfaces=pulumi.get(__ret__, 'interfaces'), + license_file=pulumi.get(__ret__, 'license_file'), + license_file_id=pulumi.get(__ret__, 'license_file_id'), + license_status=pulumi.get(__ret__, 'license_status'), + license_token=pulumi.get(__ret__, 'license_token'), + metro_code=pulumi.get(__ret__, 'metro_code'), + mgmt_acl_template_uuid=pulumi.get(__ret__, 'mgmt_acl_template_uuid'), + name=pulumi.get(__ret__, 'name'), + notifications=pulumi.get(__ret__, 'notifications'), + order_reference=pulumi.get(__ret__, 'order_reference'), + package_code=pulumi.get(__ret__, 'package_code'), + purchase_order_number=pulumi.get(__ret__, 'purchase_order_number'), + redundancy_type=pulumi.get(__ret__, 'redundancy_type'), + redundant_id=pulumi.get(__ret__, 'redundant_id'), + region=pulumi.get(__ret__, 'region'), + secondary_devices=pulumi.get(__ret__, 'secondary_devices'), + self_managed=pulumi.get(__ret__, 'self_managed'), + ssh_ip_address=pulumi.get(__ret__, 'ssh_ip_address'), + ssh_ip_fqdn=pulumi.get(__ret__, 'ssh_ip_fqdn'), + ssh_keys=pulumi.get(__ret__, 'ssh_keys'), + status=pulumi.get(__ret__, 'status'), + term_length=pulumi.get(__ret__, 'term_length'), + throughput=pulumi.get(__ret__, 'throughput'), + throughput_unit=pulumi.get(__ret__, 'throughput_unit'), + type_code=pulumi.get(__ret__, 'type_code'), + uuid=pulumi.get(__ret__, 'uuid'), + valid_status_list=pulumi.get(__ret__, 'valid_status_list'), + vendor_configuration=pulumi.get(__ret__, 'vendor_configuration'), + version=pulumi.get(__ret__, 'version'), + wan_interface_id=pulumi.get(__ret__, 'wan_interface_id'), + zone_code=pulumi.get(__ret__, 'zone_code')) @_utilities.lift_output_func(get_device) @@ -579,5 +595,7 @@ def get_device_output(name: Optional[pulumi.Input[Optional[str]]] = None, :param str name: Name of an existing Equinix Network Edge device :param str uuid: UUID of an existing Equinix Network Edge device :param str valid_status_list: Device states to be considered valid when searching for a device by name + + NOTE: Exactly one of either `uuid` or `name` must be specified. """ ... diff --git a/sdk/python/pulumi_equinix/networkedge/get_device_platform.py b/sdk/python/pulumi_equinix/networkedge/get_device_platform.py index c86eba5a..d1a1a544 100644 --- a/sdk/python/pulumi_equinix/networkedge/get_device_platform.py +++ b/sdk/python/pulumi_equinix/networkedge/get_device_platform.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -167,15 +167,15 @@ def get_device_platform(core_count: Optional[int] = None, __ret__ = pulumi.runtime.invoke('equinix:networkedge/getDevicePlatform:getDevicePlatform', __args__, opts=opts, typ=GetDevicePlatformResult).value return AwaitableGetDevicePlatformResult( - core_count=__ret__.core_count, - device_type=__ret__.device_type, - flavor=__ret__.flavor, - id=__ret__.id, - license_options=__ret__.license_options, - management_types=__ret__.management_types, - memory=__ret__.memory, - memory_unit=__ret__.memory_unit, - packages=__ret__.packages) + core_count=pulumi.get(__ret__, 'core_count'), + device_type=pulumi.get(__ret__, 'device_type'), + flavor=pulumi.get(__ret__, 'flavor'), + id=pulumi.get(__ret__, 'id'), + license_options=pulumi.get(__ret__, 'license_options'), + management_types=pulumi.get(__ret__, 'management_types'), + memory=pulumi.get(__ret__, 'memory'), + memory_unit=pulumi.get(__ret__, 'memory_unit'), + packages=pulumi.get(__ret__, 'packages')) @_utilities.lift_output_func(get_device_platform) diff --git a/sdk/python/pulumi_equinix/networkedge/get_device_software.py b/sdk/python/pulumi_equinix/networkedge/get_device_software.py index b189254f..e0dd882d 100644 --- a/sdk/python/pulumi_equinix/networkedge/get_device_software.py +++ b/sdk/python/pulumi_equinix/networkedge/get_device_software.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -192,17 +192,17 @@ def get_device_software(device_type: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:networkedge/getDeviceSoftware:getDeviceSoftware', __args__, opts=opts, typ=GetDeviceSoftwareResult).value return AwaitableGetDeviceSoftwareResult( - date=__ret__.date, - device_type=__ret__.device_type, - id=__ret__.id, - image_name=__ret__.image_name, - most_recent=__ret__.most_recent, - packages=__ret__.packages, - release_notes_link=__ret__.release_notes_link, - stable=__ret__.stable, - status=__ret__.status, - version=__ret__.version, - version_regex=__ret__.version_regex) + date=pulumi.get(__ret__, 'date'), + device_type=pulumi.get(__ret__, 'device_type'), + id=pulumi.get(__ret__, 'id'), + image_name=pulumi.get(__ret__, 'image_name'), + most_recent=pulumi.get(__ret__, 'most_recent'), + packages=pulumi.get(__ret__, 'packages'), + release_notes_link=pulumi.get(__ret__, 'release_notes_link'), + stable=pulumi.get(__ret__, 'stable'), + status=pulumi.get(__ret__, 'status'), + version=pulumi.get(__ret__, 'version'), + version_regex=pulumi.get(__ret__, 'version_regex')) @_utilities.lift_output_func(get_device_software) diff --git a/sdk/python/pulumi_equinix/networkedge/get_device_type.py b/sdk/python/pulumi_equinix/networkedge/get_device_type.py index 55714de7..e43d9743 100644 --- a/sdk/python/pulumi_equinix/networkedge/get_device_type.py +++ b/sdk/python/pulumi_equinix/networkedge/get_device_type.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -142,13 +142,13 @@ def get_device_type(category: Optional[str] = None, __ret__ = pulumi.runtime.invoke('equinix:networkedge/getDeviceType:getDeviceType', __args__, opts=opts, typ=GetDeviceTypeResult).value return AwaitableGetDeviceTypeResult( - category=__ret__.category, - code=__ret__.code, - description=__ret__.description, - id=__ret__.id, - metro_codes=__ret__.metro_codes, - name=__ret__.name, - vendor=__ret__.vendor) + category=pulumi.get(__ret__, 'category'), + code=pulumi.get(__ret__, 'code'), + description=pulumi.get(__ret__, 'description'), + id=pulumi.get(__ret__, 'id'), + metro_codes=pulumi.get(__ret__, 'metro_codes'), + name=pulumi.get(__ret__, 'name'), + vendor=pulumi.get(__ret__, 'vendor')) @_utilities.lift_output_func(get_device_type) diff --git a/sdk/python/pulumi_equinix/networkedge/network_file.py b/sdk/python/pulumi_equinix/networkedge/network_file.py index 9165e183..514838d4 100644 --- a/sdk/python/pulumi_equinix/networkedge/network_file.py +++ b/sdk/python/pulumi_equinix/networkedge/network_file.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from .. import _enums as _root_enums from ._enums import * @@ -35,13 +35,46 @@ def __init__(__self__, *, :param pulumi.Input[bool] self_managed: Boolean value that determines device management mode, i.e., `self-managed` or `Equinix-managed`. """ - pulumi.set(__self__, "byol", byol) - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "device_type_code", device_type_code) - pulumi.set(__self__, "file_name", file_name) - pulumi.set(__self__, "metro_code", metro_code) - pulumi.set(__self__, "process_type", process_type) - pulumi.set(__self__, "self_managed", self_managed) + NetworkFileArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + byol=byol, + content=content, + device_type_code=device_type_code, + file_name=file_name, + metro_code=metro_code, + process_type=process_type, + self_managed=self_managed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byol: pulumi.Input[bool], + content: pulumi.Input[str], + device_type_code: pulumi.Input[str], + file_name: pulumi.Input[str], + metro_code: pulumi.Input[Union[str, '_root_enums.Metro']], + process_type: pulumi.Input[Union[str, 'FileType']], + self_managed: pulumi.Input[bool], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deviceTypeCode' in kwargs: + device_type_code = kwargs['deviceTypeCode'] + if 'fileName' in kwargs: + file_name = kwargs['fileName'] + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'processType' in kwargs: + process_type = kwargs['processType'] + if 'selfManaged' in kwargs: + self_managed = kwargs['selfManaged'] + + _setter("byol", byol) + _setter("content", content) + _setter("device_type_code", device_type_code) + _setter("file_name", file_name) + _setter("metro_code", metro_code) + _setter("process_type", process_type) + _setter("self_managed", self_managed) @property @pulumi.getter @@ -156,24 +189,61 @@ def __init__(__self__, *, :param pulumi.Input[str] status: File upload status. :param pulumi.Input[str] uuid: Unique identifier of file resource. """ + _NetworkFileState._configure( + lambda key, value: pulumi.set(__self__, key, value), + byol=byol, + content=content, + device_type_code=device_type_code, + file_name=file_name, + metro_code=metro_code, + process_type=process_type, + self_managed=self_managed, + status=status, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byol: Optional[pulumi.Input[bool]] = None, + content: Optional[pulumi.Input[str]] = None, + device_type_code: Optional[pulumi.Input[str]] = None, + file_name: Optional[pulumi.Input[str]] = None, + metro_code: Optional[pulumi.Input[Union[str, '_root_enums.Metro']]] = None, + process_type: Optional[pulumi.Input[Union[str, 'FileType']]] = None, + self_managed: Optional[pulumi.Input[bool]] = None, + status: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deviceTypeCode' in kwargs: + device_type_code = kwargs['deviceTypeCode'] + if 'fileName' in kwargs: + file_name = kwargs['fileName'] + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'processType' in kwargs: + process_type = kwargs['processType'] + if 'selfManaged' in kwargs: + self_managed = kwargs['selfManaged'] + if byol is not None: - pulumi.set(__self__, "byol", byol) + _setter("byol", byol) if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if device_type_code is not None: - pulumi.set(__self__, "device_type_code", device_type_code) + _setter("device_type_code", device_type_code) if file_name is not None: - pulumi.set(__self__, "file_name", file_name) + _setter("file_name", file_name) if metro_code is not None: - pulumi.set(__self__, "metro_code", metro_code) + _setter("metro_code", metro_code) if process_type is not None: - pulumi.set(__self__, "process_type", process_type) + _setter("process_type", process_type) if self_managed is not None: - pulumi.set(__self__, "self_managed", self_managed) + _setter("self_managed", self_managed) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter @@ -383,6 +453,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NetworkFileArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/networkedge/outputs.py b/sdk/python/pulumi_equinix/networkedge/outputs.py index 0b84cb9f..500cf9b7 100644 --- a/sdk/python/pulumi_equinix/networkedge/outputs.py +++ b/sdk/python/pulumi_equinix/networkedge/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._enums import * @@ -67,12 +67,29 @@ def __init__(__self__, *, :param str name: ACL template name. :param str uuid: Device uuid. """ + AclTemplateDeviceDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + acl_status=acl_status, + name=name, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + acl_status: Optional[str] = None, + name: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'aclStatus' in kwargs: + acl_status = kwargs['aclStatus'] + if acl_status is not None: - pulumi.set(__self__, "acl_status", acl_status) + _setter("acl_status", acl_status) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter(name="aclStatus") @@ -144,19 +161,52 @@ def __init__(__self__, *, :param str subnet: Inbound traffic source IP subnet in CIDR format. :param Sequence[str] subnets: Inbound traffic source IP subnets in CIDR format. """ - pulumi.set(__self__, "dst_port", dst_port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "src_port", src_port) + AclTemplateInboundRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + dst_port=dst_port, + protocol=protocol, + src_port=src_port, + description=description, + sequence_number=sequence_number, + source_type=source_type, + subnet=subnet, + subnets=subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dst_port: str, + protocol: str, + src_port: str, + description: Optional[str] = None, + sequence_number: Optional[int] = None, + source_type: Optional[str] = None, + subnet: Optional[str] = None, + subnets: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'dstPort' in kwargs: + dst_port = kwargs['dstPort'] + if 'srcPort' in kwargs: + src_port = kwargs['srcPort'] + if 'sequenceNumber' in kwargs: + sequence_number = kwargs['sequenceNumber'] + if 'sourceType' in kwargs: + source_type = kwargs['sourceType'] + + _setter("dst_port", dst_port) + _setter("protocol", protocol) + _setter("src_port", src_port) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if sequence_number is not None: - pulumi.set(__self__, "sequence_number", sequence_number) + _setter("sequence_number", sequence_number) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if subnet is not None: - pulumi.set(__self__, "subnet", subnet) + _setter("subnet", subnet) if subnets is not None: - pulumi.set(__self__, "subnets", subnets) + _setter("subnets", subnets) @property @pulumi.getter(name="dstPort") @@ -200,6 +250,9 @@ def sequence_number(self) -> Optional[int]: @property @pulumi.getter(name="sourceType") def source_type(self) -> Optional[str]: + warnings.warn("""Source Type will not be returned""", DeprecationWarning) + pulumi.log.warn("""source_type is deprecated: Source Type will not be returned""") + return pulumi.get(self, "source_type") @property @@ -216,6 +269,9 @@ def subnets(self) -> Optional[Sequence[str]]: """ Inbound traffic source IP subnets in CIDR format. """ + warnings.warn("""Use Subnet instead""", DeprecationWarning) + pulumi.log.warn("""subnets is deprecated: Use Subnet instead""") + return pulumi.get(self, "subnets") @@ -257,13 +313,38 @@ def __init__(__self__, *, :param str cluster_id: The ID of the cluster. :param int num_of_nodes: The number of nodes in the cluster. """ - pulumi.set(__self__, "cluster_name", cluster_name) - pulumi.set(__self__, "node0", node0) - pulumi.set(__self__, "node1", node1) + DeviceClusterDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_name=cluster_name, + node0=node0, + node1=node1, + cluster_id=cluster_id, + num_of_nodes=num_of_nodes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_name: str, + node0: 'outputs.DeviceClusterDetailsNode0', + node1: 'outputs.DeviceClusterDetailsNode1', + cluster_id: Optional[str] = None, + num_of_nodes: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'numOfNodes' in kwargs: + num_of_nodes = kwargs['numOfNodes'] + + _setter("cluster_name", cluster_name) + _setter("node0", node0) + _setter("node1", node1) if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) if num_of_nodes is not None: - pulumi.set(__self__, "num_of_nodes", num_of_nodes) + _setter("num_of_nodes", num_of_nodes) @property @pulumi.getter(name="clusterName") @@ -348,16 +429,41 @@ def __init__(__self__, *, * `ssh-key` - (Optional) Definition of SSH key that will be provisioned on a device (max one key). See SSH Key below for more details. """ + DeviceClusterDetailsNode0._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_file_id=license_file_id, + license_token=license_token, + name=name, + uuid=uuid, + vendor_configuration=vendor_configuration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_file_id: Optional[str] = None, + license_token: Optional[str] = None, + name: Optional[str] = None, + uuid: Optional[str] = None, + vendor_configuration: Optional['outputs.DeviceClusterDetailsNode0VendorConfiguration'] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'licenseFileId' in kwargs: + license_file_id = kwargs['licenseFileId'] + if 'licenseToken' in kwargs: + license_token = kwargs['licenseToken'] + if 'vendorConfiguration' in kwargs: + vendor_configuration = kwargs['vendorConfiguration'] + if license_file_id is not None: - pulumi.set(__self__, "license_file_id", license_file_id) + _setter("license_file_id", license_file_id) if license_token is not None: - pulumi.set(__self__, "license_token", license_token) + _setter("license_token", license_token) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) if vendor_configuration is not None: - pulumi.set(__self__, "vendor_configuration", vendor_configuration) + _setter("vendor_configuration", vendor_configuration) @property @pulumi.getter(name="licenseFileId") @@ -446,18 +552,47 @@ def __init__(__self__, *, :param str root_password: The CLI password of the device. This field is relevant only for the Velocloud SDWAN cluster. """ + DeviceClusterDetailsNode0VendorConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + activation_key=activation_key, + admin_password=admin_password, + controller1=controller1, + controller_fqdn=controller_fqdn, + hostname=hostname, + root_password=root_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activation_key: Optional[str] = None, + admin_password: Optional[str] = None, + controller1: Optional[str] = None, + controller_fqdn: Optional[str] = None, + hostname: Optional[str] = None, + root_password: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'activationKey' in kwargs: + activation_key = kwargs['activationKey'] + if 'adminPassword' in kwargs: + admin_password = kwargs['adminPassword'] + if 'controllerFqdn' in kwargs: + controller_fqdn = kwargs['controllerFqdn'] + if 'rootPassword' in kwargs: + root_password = kwargs['rootPassword'] + if activation_key is not None: - pulumi.set(__self__, "activation_key", activation_key) + _setter("activation_key", activation_key) if admin_password is not None: - pulumi.set(__self__, "admin_password", admin_password) + _setter("admin_password", admin_password) if controller1 is not None: - pulumi.set(__self__, "controller1", controller1) + _setter("controller1", controller1) if controller_fqdn is not None: - pulumi.set(__self__, "controller_fqdn", controller_fqdn) + _setter("controller_fqdn", controller_fqdn) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if root_password is not None: - pulumi.set(__self__, "root_password", root_password) + _setter("root_password", root_password) @property @pulumi.getter(name="activationKey") @@ -550,16 +685,41 @@ def __init__(__self__, *, * `ssh-key` - (Optional) Definition of SSH key that will be provisioned on a device (max one key). See SSH Key below for more details. """ + DeviceClusterDetailsNode1._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_file_id=license_file_id, + license_token=license_token, + name=name, + uuid=uuid, + vendor_configuration=vendor_configuration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_file_id: Optional[str] = None, + license_token: Optional[str] = None, + name: Optional[str] = None, + uuid: Optional[str] = None, + vendor_configuration: Optional['outputs.DeviceClusterDetailsNode1VendorConfiguration'] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'licenseFileId' in kwargs: + license_file_id = kwargs['licenseFileId'] + if 'licenseToken' in kwargs: + license_token = kwargs['licenseToken'] + if 'vendorConfiguration' in kwargs: + vendor_configuration = kwargs['vendorConfiguration'] + if license_file_id is not None: - pulumi.set(__self__, "license_file_id", license_file_id) + _setter("license_file_id", license_file_id) if license_token is not None: - pulumi.set(__self__, "license_token", license_token) + _setter("license_token", license_token) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) if vendor_configuration is not None: - pulumi.set(__self__, "vendor_configuration", vendor_configuration) + _setter("vendor_configuration", vendor_configuration) @property @pulumi.getter(name="licenseFileId") @@ -648,18 +808,47 @@ def __init__(__self__, *, :param str root_password: The CLI password of the device. This field is relevant only for the Velocloud SDWAN cluster. """ + DeviceClusterDetailsNode1VendorConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + activation_key=activation_key, + admin_password=admin_password, + controller1=controller1, + controller_fqdn=controller_fqdn, + hostname=hostname, + root_password=root_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activation_key: Optional[str] = None, + admin_password: Optional[str] = None, + controller1: Optional[str] = None, + controller_fqdn: Optional[str] = None, + hostname: Optional[str] = None, + root_password: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'activationKey' in kwargs: + activation_key = kwargs['activationKey'] + if 'adminPassword' in kwargs: + admin_password = kwargs['adminPassword'] + if 'controllerFqdn' in kwargs: + controller_fqdn = kwargs['controllerFqdn'] + if 'rootPassword' in kwargs: + root_password = kwargs['rootPassword'] + if activation_key is not None: - pulumi.set(__self__, "activation_key", activation_key) + _setter("activation_key", activation_key) if admin_password is not None: - pulumi.set(__self__, "admin_password", admin_password) + _setter("admin_password", admin_password) if controller1 is not None: - pulumi.set(__self__, "controller1", controller1) + _setter("controller1", controller1) if controller_fqdn is not None: - pulumi.set(__self__, "controller_fqdn", controller_fqdn) + _setter("controller_fqdn", controller_fqdn) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if root_password is not None: - pulumi.set(__self__, "root_password", root_password) + _setter("root_password", root_password) @property @pulumi.getter(name="activationKey") @@ -756,22 +945,55 @@ def __init__(__self__, *, :param str status: interface status. One of `AVAILABLE`, `RESERVED`, `ASSIGNED`. :param str type: interface type. """ + DeviceInterface._configure( + lambda key, value: pulumi.set(__self__, key, value), + assigned_type=assigned_type, + id=id, + ip_address=ip_address, + mac_address=mac_address, + name=name, + operational_status=operational_status, + status=status, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assigned_type: Optional[str] = None, + id: Optional[int] = None, + ip_address: Optional[str] = None, + mac_address: Optional[str] = None, + name: Optional[str] = None, + operational_status: Optional[str] = None, + status: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'assignedType' in kwargs: + assigned_type = kwargs['assignedType'] + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'macAddress' in kwargs: + mac_address = kwargs['macAddress'] + if 'operationalStatus' in kwargs: + operational_status = kwargs['operationalStatus'] + if assigned_type is not None: - pulumi.set(__self__, "assigned_type", assigned_type) + _setter("assigned_type", assigned_type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if mac_address is not None: - pulumi.set(__self__, "mac_address", mac_address) + _setter("mac_address", mac_address) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if operational_status is not None: - pulumi.set(__self__, "operational_status", operational_status) + _setter("operational_status", operational_status) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="assignedType") @@ -874,15 +1096,38 @@ def __init__(__self__, *, :param str status: device link provisioning status on a given device. One of `PROVISIONING`, `PROVISIONED`, `DEPROVISIONING`, `DEPROVISIONED`, `FAILED`. """ - pulumi.set(__self__, "id", id) + DeviceLinkDevice._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + asn=asn, + interface_id=interface_id, + ip_address=ip_address, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + asn: Optional[int] = None, + interface_id: Optional[int] = None, + ip_address: Optional[str] = None, + status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'interfaceId' in kwargs: + interface_id = kwargs['interfaceId'] + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + + _setter("id", id) if asn is not None: - pulumi.set(__self__, "asn", asn) + _setter("asn", asn) if interface_id is not None: - pulumi.set(__self__, "interface_id", interface_id) + _setter("interface_id", interface_id) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -974,15 +1219,50 @@ def __init__(__self__, *, :param str dst_zone_code: connection destination zone code is not required. :param str src_zone_code: connection source zone code is not required. """ - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "dst_metro_code", dst_metro_code) - pulumi.set(__self__, "src_metro_code", src_metro_code) - pulumi.set(__self__, "throughput", throughput) - pulumi.set(__self__, "throughput_unit", throughput_unit) + DeviceLinkLink._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_number=account_number, + dst_metro_code=dst_metro_code, + src_metro_code=src_metro_code, + throughput=throughput, + throughput_unit=throughput_unit, + dst_zone_code=dst_zone_code, + src_zone_code=src_zone_code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_number: str, + dst_metro_code: str, + src_metro_code: str, + throughput: str, + throughput_unit: str, + dst_zone_code: Optional[str] = None, + src_zone_code: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'dstMetroCode' in kwargs: + dst_metro_code = kwargs['dstMetroCode'] + if 'srcMetroCode' in kwargs: + src_metro_code = kwargs['srcMetroCode'] + if 'throughputUnit' in kwargs: + throughput_unit = kwargs['throughputUnit'] + if 'dstZoneCode' in kwargs: + dst_zone_code = kwargs['dstZoneCode'] + if 'srcZoneCode' in kwargs: + src_zone_code = kwargs['srcZoneCode'] + + _setter("account_number", account_number) + _setter("dst_metro_code", dst_metro_code) + _setter("src_metro_code", src_metro_code) + _setter("throughput", throughput) + _setter("throughput_unit", throughput_unit) if dst_zone_code is not None: - pulumi.set(__self__, "dst_zone_code", dst_zone_code) + _setter("dst_zone_code", dst_zone_code) if src_zone_code is not None: - pulumi.set(__self__, "src_zone_code", src_zone_code) + _setter("src_zone_code", src_zone_code) @property @pulumi.getter(name="accountNumber") @@ -1031,6 +1311,9 @@ def dst_zone_code(self) -> Optional[str]: """ connection destination zone code is not required. """ + warnings.warn("""DestinationZoneCode is not required""", DeprecationWarning) + pulumi.log.warn("""dst_zone_code is deprecated: DestinationZoneCode is not required""") + return pulumi.get(self, "dst_zone_code") @property @@ -1039,6 +1322,9 @@ def src_zone_code(self) -> Optional[str]: """ connection source zone code is not required. """ + warnings.warn("""SourceZoneCode is not required""", DeprecationWarning) + pulumi.log.warn("""src_zone_code is deprecated: SourceZoneCode is not required""") + return pulumi.get(self, "src_zone_code") @@ -1162,56 +1448,155 @@ def __init__(__self__, *, `systemIpAddress`. :param str zone_code: Device location zone code. """ - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "metro_code", metro_code) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "notifications", notifications) + DeviceSecondaryDevice._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_number=account_number, + metro_code=metro_code, + name=name, + notifications=notifications, + acl_template_id=acl_template_id, + additional_bandwidth=additional_bandwidth, + asn=asn, + cloud_init_file_id=cloud_init_file_id, + hostname=hostname, + ibx=ibx, + interfaces=interfaces, + license_file=license_file, + license_file_id=license_file_id, + license_status=license_status, + license_token=license_token, + mgmt_acl_template_uuid=mgmt_acl_template_uuid, + redundancy_type=redundancy_type, + redundant_id=redundant_id, + region=region, + ssh_ip_address=ssh_ip_address, + ssh_ip_fqdn=ssh_ip_fqdn, + ssh_key=ssh_key, + status=status, + uuid=uuid, + vendor_configuration=vendor_configuration, + wan_interface_id=wan_interface_id, + zone_code=zone_code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_number: str, + metro_code: str, + name: str, + notifications: Sequence[str], + acl_template_id: Optional[str] = None, + additional_bandwidth: Optional[int] = None, + asn: Optional[int] = None, + cloud_init_file_id: Optional[str] = None, + hostname: Optional[str] = None, + ibx: Optional[str] = None, + interfaces: Optional[Sequence['outputs.DeviceSecondaryDeviceInterface']] = None, + license_file: Optional[str] = None, + license_file_id: Optional[str] = None, + license_status: Optional[str] = None, + license_token: Optional[str] = None, + mgmt_acl_template_uuid: Optional[str] = None, + redundancy_type: Optional[str] = None, + redundant_id: Optional[str] = None, + region: Optional[str] = None, + ssh_ip_address: Optional[str] = None, + ssh_ip_fqdn: Optional[str] = None, + ssh_key: Optional['outputs.DeviceSecondaryDeviceSshKey'] = None, + status: Optional[str] = None, + uuid: Optional[str] = None, + vendor_configuration: Optional[Mapping[str, str]] = None, + wan_interface_id: Optional[str] = None, + zone_code: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'aclTemplateId' in kwargs: + acl_template_id = kwargs['aclTemplateId'] + if 'additionalBandwidth' in kwargs: + additional_bandwidth = kwargs['additionalBandwidth'] + if 'cloudInitFileId' in kwargs: + cloud_init_file_id = kwargs['cloudInitFileId'] + if 'licenseFile' in kwargs: + license_file = kwargs['licenseFile'] + if 'licenseFileId' in kwargs: + license_file_id = kwargs['licenseFileId'] + if 'licenseStatus' in kwargs: + license_status = kwargs['licenseStatus'] + if 'licenseToken' in kwargs: + license_token = kwargs['licenseToken'] + if 'mgmtAclTemplateUuid' in kwargs: + mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] + if 'redundancyType' in kwargs: + redundancy_type = kwargs['redundancyType'] + if 'redundantId' in kwargs: + redundant_id = kwargs['redundantId'] + if 'sshIpAddress' in kwargs: + ssh_ip_address = kwargs['sshIpAddress'] + if 'sshIpFqdn' in kwargs: + ssh_ip_fqdn = kwargs['sshIpFqdn'] + if 'sshKey' in kwargs: + ssh_key = kwargs['sshKey'] + if 'vendorConfiguration' in kwargs: + vendor_configuration = kwargs['vendorConfiguration'] + if 'wanInterfaceId' in kwargs: + wan_interface_id = kwargs['wanInterfaceId'] + if 'zoneCode' in kwargs: + zone_code = kwargs['zoneCode'] + + _setter("account_number", account_number) + _setter("metro_code", metro_code) + _setter("name", name) + _setter("notifications", notifications) if acl_template_id is not None: - pulumi.set(__self__, "acl_template_id", acl_template_id) + _setter("acl_template_id", acl_template_id) if additional_bandwidth is not None: - pulumi.set(__self__, "additional_bandwidth", additional_bandwidth) + _setter("additional_bandwidth", additional_bandwidth) if asn is not None: - pulumi.set(__self__, "asn", asn) + _setter("asn", asn) if cloud_init_file_id is not None: - pulumi.set(__self__, "cloud_init_file_id", cloud_init_file_id) + _setter("cloud_init_file_id", cloud_init_file_id) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if ibx is not None: - pulumi.set(__self__, "ibx", ibx) + _setter("ibx", ibx) if interfaces is not None: - pulumi.set(__self__, "interfaces", interfaces) + _setter("interfaces", interfaces) if license_file is not None: - pulumi.set(__self__, "license_file", license_file) + _setter("license_file", license_file) if license_file_id is not None: - pulumi.set(__self__, "license_file_id", license_file_id) + _setter("license_file_id", license_file_id) if license_status is not None: - pulumi.set(__self__, "license_status", license_status) + _setter("license_status", license_status) if license_token is not None: - pulumi.set(__self__, "license_token", license_token) + _setter("license_token", license_token) if mgmt_acl_template_uuid is not None: - pulumi.set(__self__, "mgmt_acl_template_uuid", mgmt_acl_template_uuid) + _setter("mgmt_acl_template_uuid", mgmt_acl_template_uuid) if redundancy_type is not None: - pulumi.set(__self__, "redundancy_type", redundancy_type) + _setter("redundancy_type", redundancy_type) if redundant_id is not None: - pulumi.set(__self__, "redundant_id", redundant_id) + _setter("redundant_id", redundant_id) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if ssh_ip_address is not None: - pulumi.set(__self__, "ssh_ip_address", ssh_ip_address) + _setter("ssh_ip_address", ssh_ip_address) if ssh_ip_fqdn is not None: - pulumi.set(__self__, "ssh_ip_fqdn", ssh_ip_fqdn) + _setter("ssh_ip_fqdn", ssh_ip_fqdn) if ssh_key is not None: - pulumi.set(__self__, "ssh_key", ssh_key) + _setter("ssh_key", ssh_key) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) if vendor_configuration is not None: - pulumi.set(__self__, "vendor_configuration", vendor_configuration) + _setter("vendor_configuration", vendor_configuration) if wan_interface_id is not None: - pulumi.set(__self__, "wan_interface_id", wan_interface_id) + _setter("wan_interface_id", wan_interface_id) if zone_code is not None: - pulumi.set(__self__, "zone_code", zone_code) + _setter("zone_code", zone_code) @property @pulumi.getter(name="accountNumber") @@ -1480,22 +1865,55 @@ def __init__(__self__, *, :param str status: interface status. One of `AVAILABLE`, `RESERVED`, `ASSIGNED`. :param str type: interface type. """ + DeviceSecondaryDeviceInterface._configure( + lambda key, value: pulumi.set(__self__, key, value), + assigned_type=assigned_type, + id=id, + ip_address=ip_address, + mac_address=mac_address, + name=name, + operational_status=operational_status, + status=status, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assigned_type: Optional[str] = None, + id: Optional[int] = None, + ip_address: Optional[str] = None, + mac_address: Optional[str] = None, + name: Optional[str] = None, + operational_status: Optional[str] = None, + status: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'assignedType' in kwargs: + assigned_type = kwargs['assignedType'] + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'macAddress' in kwargs: + mac_address = kwargs['macAddress'] + if 'operationalStatus' in kwargs: + operational_status = kwargs['operationalStatus'] + if assigned_type is not None: - pulumi.set(__self__, "assigned_type", assigned_type) + _setter("assigned_type", assigned_type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if mac_address is not None: - pulumi.set(__self__, "mac_address", mac_address) + _setter("mac_address", mac_address) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if operational_status is not None: - pulumi.set(__self__, "operational_status", operational_status) + _setter("operational_status", operational_status) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="assignedType") @@ -1587,8 +2005,23 @@ def __init__(__self__, *, """ :param str username: username associated with given key. """ - pulumi.set(__self__, "key_name", key_name) - pulumi.set(__self__, "username", username) + DeviceSecondaryDeviceSshKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_name=key_name, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_name: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'keyName' in kwargs: + key_name = kwargs['keyName'] + + _setter("key_name", key_name) + _setter("username", username) @property @pulumi.getter(name="keyName") @@ -1629,8 +2062,23 @@ def __init__(__self__, *, """ :param str username: username associated with given key. """ - pulumi.set(__self__, "key_name", key_name) - pulumi.set(__self__, "username", username) + DeviceSshKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_name=key_name, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_name: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'keyName' in kwargs: + key_name = kwargs['keyName'] + + _setter("key_name", key_name) + _setter("username", username) @property @pulumi.getter(name="keyName") @@ -1658,11 +2106,36 @@ def __init__(__self__, *, :param str cluster_id: The id of the cluster :param int num_of_nodes: The number of nodes in the cluster """ - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "cluster_name", cluster_name) - pulumi.set(__self__, "node0s", node0s) - pulumi.set(__self__, "node1s", node1s) - pulumi.set(__self__, "num_of_nodes", num_of_nodes) + GetDeviceClusterDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + cluster_name=cluster_name, + node0s=node0s, + node1s=node1s, + num_of_nodes=num_of_nodes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: str, + cluster_name: str, + node0s: Sequence['outputs.GetDeviceClusterDetailNode0Result'], + node1s: Sequence['outputs.GetDeviceClusterDetailNode1Result'], + num_of_nodes: int, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clusterId' in kwargs: + cluster_id = kwargs['clusterId'] + if 'clusterName' in kwargs: + cluster_name = kwargs['clusterName'] + if 'numOfNodes' in kwargs: + num_of_nodes = kwargs['numOfNodes'] + + _setter("cluster_id", cluster_id) + _setter("cluster_name", cluster_name) + _setter("node0s", node0s) + _setter("node1s", node1s) + _setter("num_of_nodes", num_of_nodes) @property @pulumi.getter(name="clusterId") @@ -1709,11 +2182,36 @@ def __init__(__self__, *, :param str name: Name of an existing Equinix Network Edge device :param str uuid: UUID of an existing Equinix Network Edge device """ - pulumi.set(__self__, "license_file_id", license_file_id) - pulumi.set(__self__, "license_token", license_token) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "uuid", uuid) - pulumi.set(__self__, "vendor_configurations", vendor_configurations) + GetDeviceClusterDetailNode0Result._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_file_id=license_file_id, + license_token=license_token, + name=name, + uuid=uuid, + vendor_configurations=vendor_configurations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_file_id: str, + license_token: str, + name: str, + uuid: str, + vendor_configurations: Sequence['outputs.GetDeviceClusterDetailNode0VendorConfigurationResult'], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'licenseFileId' in kwargs: + license_file_id = kwargs['licenseFileId'] + if 'licenseToken' in kwargs: + license_token = kwargs['licenseToken'] + if 'vendorConfigurations' in kwargs: + vendor_configurations = kwargs['vendorConfigurations'] + + _setter("license_file_id", license_file_id) + _setter("license_token", license_token) + _setter("name", name) + _setter("uuid", uuid) + _setter("vendor_configurations", vendor_configurations) @property @pulumi.getter(name="licenseFileId") @@ -1759,12 +2257,41 @@ def __init__(__self__, *, controller_fqdn: str, hostname: str, root_password: str): - pulumi.set(__self__, "activation_key", activation_key) - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "controller1", controller1) - pulumi.set(__self__, "controller_fqdn", controller_fqdn) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "root_password", root_password) + GetDeviceClusterDetailNode0VendorConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + activation_key=activation_key, + admin_password=admin_password, + controller1=controller1, + controller_fqdn=controller_fqdn, + hostname=hostname, + root_password=root_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activation_key: str, + admin_password: str, + controller1: str, + controller_fqdn: str, + hostname: str, + root_password: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'activationKey' in kwargs: + activation_key = kwargs['activationKey'] + if 'adminPassword' in kwargs: + admin_password = kwargs['adminPassword'] + if 'controllerFqdn' in kwargs: + controller_fqdn = kwargs['controllerFqdn'] + if 'rootPassword' in kwargs: + root_password = kwargs['rootPassword'] + + _setter("activation_key", activation_key) + _setter("admin_password", admin_password) + _setter("controller1", controller1) + _setter("controller_fqdn", controller_fqdn) + _setter("hostname", hostname) + _setter("root_password", root_password) @property @pulumi.getter(name="activationKey") @@ -1810,11 +2337,36 @@ def __init__(__self__, *, :param str name: Name of an existing Equinix Network Edge device :param str uuid: UUID of an existing Equinix Network Edge device """ - pulumi.set(__self__, "license_file_id", license_file_id) - pulumi.set(__self__, "license_token", license_token) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "uuid", uuid) - pulumi.set(__self__, "vendor_configurations", vendor_configurations) + GetDeviceClusterDetailNode1Result._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_file_id=license_file_id, + license_token=license_token, + name=name, + uuid=uuid, + vendor_configurations=vendor_configurations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_file_id: str, + license_token: str, + name: str, + uuid: str, + vendor_configurations: Sequence['outputs.GetDeviceClusterDetailNode1VendorConfigurationResult'], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'licenseFileId' in kwargs: + license_file_id = kwargs['licenseFileId'] + if 'licenseToken' in kwargs: + license_token = kwargs['licenseToken'] + if 'vendorConfigurations' in kwargs: + vendor_configurations = kwargs['vendorConfigurations'] + + _setter("license_file_id", license_file_id) + _setter("license_token", license_token) + _setter("name", name) + _setter("uuid", uuid) + _setter("vendor_configurations", vendor_configurations) @property @pulumi.getter(name="licenseFileId") @@ -1860,12 +2412,41 @@ def __init__(__self__, *, controller_fqdn: str, hostname: str, root_password: str): - pulumi.set(__self__, "activation_key", activation_key) - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "controller1", controller1) - pulumi.set(__self__, "controller_fqdn", controller_fqdn) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "root_password", root_password) + GetDeviceClusterDetailNode1VendorConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + activation_key=activation_key, + admin_password=admin_password, + controller1=controller1, + controller_fqdn=controller_fqdn, + hostname=hostname, + root_password=root_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activation_key: str, + admin_password: str, + controller1: str, + controller_fqdn: str, + hostname: str, + root_password: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'activationKey' in kwargs: + activation_key = kwargs['activationKey'] + if 'adminPassword' in kwargs: + admin_password = kwargs['adminPassword'] + if 'controllerFqdn' in kwargs: + controller_fqdn = kwargs['controllerFqdn'] + if 'rootPassword' in kwargs: + root_password = kwargs['rootPassword'] + + _setter("activation_key", activation_key) + _setter("admin_password", admin_password) + _setter("controller1", controller1) + _setter("controller_fqdn", controller_fqdn) + _setter("hostname", hostname) + _setter("root_password", root_password) @property @pulumi.getter(name="activationKey") @@ -1923,14 +2504,47 @@ def __init__(__self__, *, * DEPROVISIONING * DEPROVISIONED """ - pulumi.set(__self__, "assigned_type", assigned_type) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "mac_address", mac_address) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "operational_status", operational_status) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "type", type) + GetDeviceInterfaceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assigned_type=assigned_type, + id=id, + ip_address=ip_address, + mac_address=mac_address, + name=name, + operational_status=operational_status, + status=status, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assigned_type: str, + id: int, + ip_address: str, + mac_address: str, + name: str, + operational_status: str, + status: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'assignedType' in kwargs: + assigned_type = kwargs['assignedType'] + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'macAddress' in kwargs: + mac_address = kwargs['macAddress'] + if 'operationalStatus' in kwargs: + operational_status = kwargs['operationalStatus'] + + _setter("assigned_type", assigned_type) + _setter("id", id) + _setter("ip_address", ip_address) + _setter("mac_address", mac_address) + _setter("name", name) + _setter("operational_status", operational_status) + _setter("status", status) + _setter("type", type) @property @pulumi.getter(name="assignedType") @@ -1996,6 +2610,7 @@ def __init__(__self__, *, acl_template_id: str, additional_bandwidth: int, asn: int, + cloud_init_file_id: str, hostname: str, ibx: str, interfaces: Sequence['outputs.GetDeviceSecondaryDeviceInterfaceResult'], @@ -2038,6 +2653,7 @@ def __init__(__self__, *, * APPLIED * WAITING_FOR_CLUSTER_SETUP * REGISTRATION_FAILED + * NA :param str name: Name of an existing Equinix Network Edge device :param str redundancy_type: Device redundancy type applicable for HA devices, either primary or secondary @@ -2059,32 +2675,132 @@ def __init__(__self__, *, :param str uuid: UUID of an existing Equinix Network Edge device :param str zone_code: Device location zone code """ - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "acl_template_id", acl_template_id) - pulumi.set(__self__, "additional_bandwidth", additional_bandwidth) - pulumi.set(__self__, "asn", asn) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ibx", ibx) - pulumi.set(__self__, "interfaces", interfaces) - pulumi.set(__self__, "license_file", license_file) - pulumi.set(__self__, "license_file_id", license_file_id) - pulumi.set(__self__, "license_status", license_status) - pulumi.set(__self__, "license_token", license_token) - pulumi.set(__self__, "metro_code", metro_code) - pulumi.set(__self__, "mgmt_acl_template_uuid", mgmt_acl_template_uuid) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "notifications", notifications) - pulumi.set(__self__, "redundancy_type", redundancy_type) - pulumi.set(__self__, "redundant_id", redundant_id) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "ssh_ip_address", ssh_ip_address) - pulumi.set(__self__, "ssh_ip_fqdn", ssh_ip_fqdn) - pulumi.set(__self__, "ssh_keys", ssh_keys) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "uuid", uuid) - pulumi.set(__self__, "vendor_configuration", vendor_configuration) - pulumi.set(__self__, "wan_interface_id", wan_interface_id) - pulumi.set(__self__, "zone_code", zone_code) + GetDeviceSecondaryDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_number=account_number, + acl_template_id=acl_template_id, + additional_bandwidth=additional_bandwidth, + asn=asn, + cloud_init_file_id=cloud_init_file_id, + hostname=hostname, + ibx=ibx, + interfaces=interfaces, + license_file=license_file, + license_file_id=license_file_id, + license_status=license_status, + license_token=license_token, + metro_code=metro_code, + mgmt_acl_template_uuid=mgmt_acl_template_uuid, + name=name, + notifications=notifications, + redundancy_type=redundancy_type, + redundant_id=redundant_id, + region=region, + ssh_ip_address=ssh_ip_address, + ssh_ip_fqdn=ssh_ip_fqdn, + ssh_keys=ssh_keys, + status=status, + uuid=uuid, + vendor_configuration=vendor_configuration, + wan_interface_id=wan_interface_id, + zone_code=zone_code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_number: str, + acl_template_id: str, + additional_bandwidth: int, + asn: int, + cloud_init_file_id: str, + hostname: str, + ibx: str, + interfaces: Sequence['outputs.GetDeviceSecondaryDeviceInterfaceResult'], + license_file: str, + license_file_id: str, + license_status: str, + license_token: str, + metro_code: str, + mgmt_acl_template_uuid: str, + name: str, + notifications: Sequence[str], + redundancy_type: str, + redundant_id: str, + region: str, + ssh_ip_address: str, + ssh_ip_fqdn: str, + ssh_keys: Sequence['outputs.GetDeviceSecondaryDeviceSshKeyResult'], + status: str, + uuid: str, + vendor_configuration: Mapping[str, str], + wan_interface_id: str, + zone_code: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accountNumber' in kwargs: + account_number = kwargs['accountNumber'] + if 'aclTemplateId' in kwargs: + acl_template_id = kwargs['aclTemplateId'] + if 'additionalBandwidth' in kwargs: + additional_bandwidth = kwargs['additionalBandwidth'] + if 'cloudInitFileId' in kwargs: + cloud_init_file_id = kwargs['cloudInitFileId'] + if 'licenseFile' in kwargs: + license_file = kwargs['licenseFile'] + if 'licenseFileId' in kwargs: + license_file_id = kwargs['licenseFileId'] + if 'licenseStatus' in kwargs: + license_status = kwargs['licenseStatus'] + if 'licenseToken' in kwargs: + license_token = kwargs['licenseToken'] + if 'metroCode' in kwargs: + metro_code = kwargs['metroCode'] + if 'mgmtAclTemplateUuid' in kwargs: + mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] + if 'redundancyType' in kwargs: + redundancy_type = kwargs['redundancyType'] + if 'redundantId' in kwargs: + redundant_id = kwargs['redundantId'] + if 'sshIpAddress' in kwargs: + ssh_ip_address = kwargs['sshIpAddress'] + if 'sshIpFqdn' in kwargs: + ssh_ip_fqdn = kwargs['sshIpFqdn'] + if 'sshKeys' in kwargs: + ssh_keys = kwargs['sshKeys'] + if 'vendorConfiguration' in kwargs: + vendor_configuration = kwargs['vendorConfiguration'] + if 'wanInterfaceId' in kwargs: + wan_interface_id = kwargs['wanInterfaceId'] + if 'zoneCode' in kwargs: + zone_code = kwargs['zoneCode'] + + _setter("account_number", account_number) + _setter("acl_template_id", acl_template_id) + _setter("additional_bandwidth", additional_bandwidth) + _setter("asn", asn) + _setter("cloud_init_file_id", cloud_init_file_id) + _setter("hostname", hostname) + _setter("ibx", ibx) + _setter("interfaces", interfaces) + _setter("license_file", license_file) + _setter("license_file_id", license_file_id) + _setter("license_status", license_status) + _setter("license_token", license_token) + _setter("metro_code", metro_code) + _setter("mgmt_acl_template_uuid", mgmt_acl_template_uuid) + _setter("name", name) + _setter("notifications", notifications) + _setter("redundancy_type", redundancy_type) + _setter("redundant_id", redundant_id) + _setter("region", region) + _setter("ssh_ip_address", ssh_ip_address) + _setter("ssh_ip_fqdn", ssh_ip_fqdn) + _setter("ssh_keys", ssh_keys) + _setter("status", status) + _setter("uuid", uuid) + _setter("vendor_configuration", vendor_configuration) + _setter("wan_interface_id", wan_interface_id) + _setter("zone_code", zone_code) @property @pulumi.getter(name="accountNumber") @@ -2112,6 +2828,11 @@ def asn(self) -> int: """ return pulumi.get(self, "asn") + @property + @pulumi.getter(name="cloudInitFileId") + def cloud_init_file_id(self) -> str: + return pulumi.get(self, "cloud_init_file_id") + @property @pulumi.getter def hostname(self) -> str: @@ -2164,6 +2885,7 @@ def license_status(self) -> str: * APPLIED * WAITING_FOR_CLUSTER_SETUP * REGISTRATION_FAILED + * NA """ return pulumi.get(self, "license_status") @@ -2311,14 +3033,47 @@ def __init__(__self__, *, * DEPROVISIONING * DEPROVISIONED """ - pulumi.set(__self__, "assigned_type", assigned_type) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "mac_address", mac_address) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "operational_status", operational_status) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "type", type) + GetDeviceSecondaryDeviceInterfaceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assigned_type=assigned_type, + id=id, + ip_address=ip_address, + mac_address=mac_address, + name=name, + operational_status=operational_status, + status=status, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assigned_type: str, + id: int, + ip_address: str, + mac_address: str, + name: str, + operational_status: str, + status: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'assignedType' in kwargs: + assigned_type = kwargs['assignedType'] + if 'ipAddress' in kwargs: + ip_address = kwargs['ipAddress'] + if 'macAddress' in kwargs: + mac_address = kwargs['macAddress'] + if 'operationalStatus' in kwargs: + operational_status = kwargs['operationalStatus'] + + _setter("assigned_type", assigned_type) + _setter("id", id) + _setter("ip_address", ip_address) + _setter("mac_address", mac_address) + _setter("name", name) + _setter("operational_status", operational_status) + _setter("status", status) + _setter("type", type) @property @pulumi.getter(name="assignedType") @@ -2382,8 +3137,23 @@ class GetDeviceSecondaryDeviceSshKeyResult(dict): def __init__(__self__, *, key_name: str, username: str): - pulumi.set(__self__, "key_name", key_name) - pulumi.set(__self__, "username", username) + GetDeviceSecondaryDeviceSshKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_name=key_name, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_name: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'keyName' in kwargs: + key_name = kwargs['keyName'] + + _setter("key_name", key_name) + _setter("username", username) @property @pulumi.getter(name="keyName") @@ -2401,8 +3171,23 @@ class GetDeviceSshKeyResult(dict): def __init__(__self__, *, key_name: str, username: str): - pulumi.set(__self__, "key_name", key_name) - pulumi.set(__self__, "username", username) + GetDeviceSshKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_name=key_name, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_name: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'keyName' in kwargs: + key_name = kwargs['keyName'] + + _setter("key_name", key_name) + _setter("username", username) @property @pulumi.getter(name="keyName") diff --git a/sdk/python/pulumi_equinix/networkedge/ssh_key.py b/sdk/python/pulumi_equinix/networkedge/ssh_key.py index 3748bf75..aa1d522a 100644 --- a/sdk/python/pulumi_equinix/networkedge/ssh_key.py +++ b/sdk/python/pulumi_equinix/networkedge/ssh_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SshKeyArgs', 'SshKey'] @@ -24,11 +24,28 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of SSH key used for identification. :param pulumi.Input[str] type: The type of SSH key: `RSA` (default) or `DSA`. """ - pulumi.set(__self__, "public_key", public_key) + SshKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + public_key=public_key, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + public_key: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'publicKey' in kwargs: + public_key = kwargs['publicKey'] + + _setter("public_key", public_key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="publicKey") @@ -83,14 +100,33 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of SSH key: `RSA` (default) or `DSA`. :param pulumi.Input[str] uuid: The unique identifier of the key """ + _SshKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + public_key=public_key, + type=type, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + public_key: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'publicKey' in kwargs: + public_key = kwargs['publicKey'] + if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if public_key is not None: - pulumi.set(__self__, "public_key", public_key) + _setter("public_key", public_key) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter @@ -210,6 +246,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SshKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/networkedge/ssh_user.py b/sdk/python/pulumi_equinix/networkedge/ssh_user.py index 3239ff3b..83730cea 100644 --- a/sdk/python/pulumi_equinix/networkedge/ssh_user.py +++ b/sdk/python/pulumi_equinix/networkedge/ssh_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SshUserArgs', 'SshUser'] @@ -23,9 +23,26 @@ def __init__(__self__, *, :param pulumi.Input[str] password: SSH user password. :param pulumi.Input[str] username: SSH user login name. """ - pulumi.set(__self__, "device_ids", device_ids) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + SshUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + device_ids=device_ids, + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device_ids: pulumi.Input[Sequence[pulumi.Input[str]]], + password: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deviceIds' in kwargs: + device_ids = kwargs['deviceIds'] + + _setter("device_ids", device_ids) + _setter("password", password) + _setter("username", username) @property @pulumi.getter(name="deviceIds") @@ -78,14 +95,33 @@ def __init__(__self__, *, :param pulumi.Input[str] username: SSH user login name. :param pulumi.Input[str] uuid: SSH user unique identifier. """ + _SshUserState._configure( + lambda key, value: pulumi.set(__self__, key, value), + device_ids=device_ids, + password=password, + username=username, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + password: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'deviceIds' in kwargs: + device_ids = kwargs['deviceIds'] + if device_ids is not None: - pulumi.set(__self__, "device_ids", device_ids) + _setter("device_ids", device_ids) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter(name="deviceIds") @@ -217,6 +253,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SshUserArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_equinix/provider.py b/sdk/python/pulumi_equinix/provider.py index 0d0d087e..963f2fd3 100644 --- a/sdk/python/pulumi_equinix/provider.py +++ b/sdk/python/pulumi_equinix/provider.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ProviderArgs', 'Provider'] @@ -34,24 +34,65 @@ def __init__(__self__, *, :param pulumi.Input[int] response_max_page_size: The maximum number of records in a single response for REST queries that produce paginated responses :param pulumi.Input[str] token: API token from the developer sandbox """ + ProviderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auth_token=auth_token, + client_id=client_id, + client_secret=client_secret, + endpoint=endpoint, + max_retries=max_retries, + max_retry_wait_seconds=max_retry_wait_seconds, + request_timeout=request_timeout, + response_max_page_size=response_max_page_size, + token=token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auth_token: Optional[pulumi.Input[str]] = None, + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + max_retries: Optional[pulumi.Input[int]] = None, + max_retry_wait_seconds: Optional[pulumi.Input[int]] = None, + request_timeout: Optional[pulumi.Input[int]] = None, + response_max_page_size: Optional[pulumi.Input[int]] = None, + token: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authToken' in kwargs: + auth_token = kwargs['authToken'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'maxRetries' in kwargs: + max_retries = kwargs['maxRetries'] + if 'maxRetryWaitSeconds' in kwargs: + max_retry_wait_seconds = kwargs['maxRetryWaitSeconds'] + if 'requestTimeout' in kwargs: + request_timeout = kwargs['requestTimeout'] + if 'responseMaxPageSize' in kwargs: + response_max_page_size = kwargs['responseMaxPageSize'] + if auth_token is not None: - pulumi.set(__self__, "auth_token", auth_token) + _setter("auth_token", auth_token) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) + _setter("endpoint", endpoint) if max_retries is not None: - pulumi.set(__self__, "max_retries", max_retries) + _setter("max_retries", max_retries) if max_retry_wait_seconds is not None: - pulumi.set(__self__, "max_retry_wait_seconds", max_retry_wait_seconds) + _setter("max_retry_wait_seconds", max_retry_wait_seconds) if request_timeout is not None: - pulumi.set(__self__, "request_timeout", request_timeout) + _setter("request_timeout", request_timeout) if response_max_page_size is not None: - pulumi.set(__self__, "response_max_page_size", response_max_page_size) + _setter("response_max_page_size", response_max_page_size) if token is not None: - pulumi.set(__self__, "token", token) + _setter("token", token) @property @pulumi.getter(name="authToken") @@ -211,6 +252,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProviderArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/setup.py b/sdk/python/setup.py index b977b7de..977caee9 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -9,26 +9,6 @@ VERSION = "0.0.0" -PLUGIN_VERSION = "0.0.0" - -class InstallPluginCommand(install): - def run(self): - install.run(self) - try: - check_call(['pulumi', 'plugin', 'install', 'resource', 'equinix', PLUGIN_VERSION, '--server', 'github://api.github.com/equinix']) - except OSError as error: - if error.errno == errno.ENOENT: - print(f""" - There was an error installing the equinix resource provider plugin. - It looks like `pulumi` is not installed on your system. - Please visit https://pulumi.com/ to install the Pulumi CLI. - You may try manually installing the plugin by running - `pulumi plugin install resource equinix {PLUGIN_VERSION}` - """) - else: - raise - - def readme(): try: with open('README.md', encoding='utf-8') as f: @@ -38,13 +18,11 @@ def readme(): setup(name='pulumi_equinix', + python_requires='>=3.7', version=VERSION, description="A Pulumi package for creating and managing equinix cloud resources.", long_description=readme(), long_description_content_type='text/markdown', - cmdclass={ - 'install': InstallPluginCommand, - }, keywords='pulumi equinix category/cloud', url='https://deploy.equinix.com/', project_urls={ From f1bb9c57288f183a40512ef301157b8244e66620 Mon Sep 17 00:00:00 2001 From: ocobleseqx Date: Fri, 20 Oct 2023 13:40:03 +0200 Subject: [PATCH 4/5] add fake go.mod to sdks to be excluded from the top-level Go module Signed-off-by: ocobleseqx --- Makefile | 5 ++++- sdk/dotnet/go.mod | 3 +++ sdk/java/go.mod | 4 +++- sdk/nodejs/go.mod | 3 +++ sdk/python/go.mod | 3 +++ 5 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 sdk/dotnet/go.mod create mode 100644 sdk/nodejs/go.mod create mode 100644 sdk/python/go.mod diff --git a/Makefile b/Makefile index f4b6f661..55565858 100644 --- a/Makefile +++ b/Makefile @@ -71,6 +71,7 @@ build_nodejs:: install_plugins tfgen # build the node sdk build_nodejs:: patch_nodejs # fix generated files build_nodejs:: cd sdk/nodejs/ && \ + printf "module fake_nodejs_module // Exclude this directory from Go tools\n\ngo 1.17\n" > go.mod && \ yarn install && \ yarn run tsc && \ cp ../../README.md ../../LICENSE package.json yarn.lock ./bin/ && \ @@ -88,6 +89,7 @@ build_python:: PYPI_VERSION := $(shell pulumictl get version --language python) build_python:: install_plugins tfgen # build the python sdk $(WORKING_DIR)/bin/$(TFGEN) python --overlays provider/overlays/python --out sdk/python/ cd sdk/python/ && \ + printf "module fake_python_module // Exclude this directory from Go tools\n\ngo 1.17\n" > go.mod && \ cp ../../README.md . && \ python3 setup.py clean --all 2>/dev/null && \ rm -rf ./bin/ ../python.bin/ && cp -R . ../python.bin && mv ../python.bin ./bin && \ @@ -100,6 +102,7 @@ build_dotnet:: install_plugins tfgen # build the dotnet sdk pulumictl get version --language dotnet $(WORKING_DIR)/bin/$(TFGEN) dotnet --overlays provider/overlays/dotnet --out sdk/dotnet/ cd sdk/dotnet/ && \ + printf "module fake_dotnet_module // Exclude this directory from Go tools\n\ngo 1.17\n" > go.mod && \ echo "${DOTNET_VERSION}" >version.txt && \ dotnet build /p:Version=${DOTNET_VERSION} @@ -112,7 +115,7 @@ build_java:: install_plugins tfgen bin/pulumi-java-gen patch_java_schema # build rm -f ./provider/cmd/$(PROVIDER)/schema-java.json build_java:: patch_java cd sdk/java/ && \ - echo "module fake_java_module // Exclude this directory from Go tools\n\ngo 1.17" > go.mod && \ + printf "module fake_java_module // Exclude this directory from Go tools\n\ngo 1.17\n" > go.mod && \ gradle --console=plain build patch_java_schema:: diff --git a/sdk/dotnet/go.mod b/sdk/dotnet/go.mod new file mode 100644 index 00000000..ba429472 --- /dev/null +++ b/sdk/dotnet/go.mod @@ -0,0 +1,3 @@ +module fake_dotnet_module // Exclude this directory from Go tools + +go 1.17 diff --git a/sdk/java/go.mod b/sdk/java/go.mod index 4d98369c..0a94ccbf 100644 --- a/sdk/java/go.mod +++ b/sdk/java/go.mod @@ -1 +1,3 @@ -module fake_java_module // Exclude this directory from Go tools\n\ngo 1.17 +module fake_java_module // Exclude this directory from Go tools + +go 1.17 diff --git a/sdk/nodejs/go.mod b/sdk/nodejs/go.mod new file mode 100644 index 00000000..104eb1a8 --- /dev/null +++ b/sdk/nodejs/go.mod @@ -0,0 +1,3 @@ +module fake_nodejs_module // Exclude this directory from Go tools + +go 1.17 diff --git a/sdk/python/go.mod b/sdk/python/go.mod new file mode 100644 index 00000000..b91fcbc3 --- /dev/null +++ b/sdk/python/go.mod @@ -0,0 +1,3 @@ +module fake_python_module // Exclude this directory from Go tools + +go 1.17 From b219dddb92478b63b4d4dd44df1521a76ce9975e Mon Sep 17 00:00:00 2001 From: ocobleseqx Date: Tue, 24 Oct 2023 10:42:19 +0200 Subject: [PATCH 5/5] rebase main Signed-off-by: ocobleseqx --- .devcontainer/Dockerfile | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/run-acceptance-tests.yml | 2 +- examples/go.mod | 46 +- examples/go.sum | 80 +- go.work | 4 +- go.work.sum | 171 +- .../cmd/pulumi-resource-equinix/schema.json | 2 +- provider/go.mod | 29 +- provider/go.sum | 48 +- provider/resources.go | 2 +- sdk/dotnet/Metal/GetOperatingSystem.cs | 4 +- sdk/go.mod | 47 +- sdk/go.sum | 151 +- sdk/python/pulumi_equinix/fabric/_inputs.py | 504 +-- .../pulumi_equinix/fabric/cloud_router.py | 20 +- .../pulumi_equinix/fabric/connection.py | 36 +- sdk/python/pulumi_equinix/fabric/outputs.py | 3298 +++++++++++------ .../pulumi_equinix/fabric/routing_protocol.py | 36 +- .../pulumi_equinix/fabric/service_profile.py | 34 +- sdk/python/pulumi_equinix/metal/_inputs.py | 118 +- .../pulumi_equinix/metal/bgp_session.py | 20 +- sdk/python/pulumi_equinix/metal/device.py | 84 +- .../metal/device_network_type.py | 12 +- sdk/python/pulumi_equinix/metal/gateway.py | 26 +- .../pulumi_equinix/metal/interconnection.py | 26 +- .../pulumi_equinix/metal/ip_attachment.py | 22 +- .../pulumi_equinix/metal/organization.py | 4 +- .../metal/organization_member.py | 26 +- sdk/python/pulumi_equinix/metal/outputs.py | 548 ++- sdk/python/pulumi_equinix/metal/port.py | 36 +- .../metal/port_vlan_attachment.py | 32 +- sdk/python/pulumi_equinix/metal/project.py | 16 +- .../pulumi_equinix/metal/project_api_key.py | 20 +- .../pulumi_equinix/metal/project_ssh_key.py | 18 +- .../pulumi_equinix/metal/reserved_ip_block.py | 26 +- .../metal/spot_market_request.py | 44 +- sdk/python/pulumi_equinix/metal/ssh_key.py | 10 +- .../pulumi_equinix/metal/user_api_key.py | 14 +- .../pulumi_equinix/metal/virtual_circuit.py | 50 +- sdk/python/pulumi_equinix/metal/vlan.py | 8 +- sdk/python/pulumi_equinix/metal/vrf.py | 20 +- .../pulumi_equinix/networkedge/_inputs.py | 196 +- .../networkedge/acl_template.py | 18 +- sdk/python/pulumi_equinix/networkedge/bgp.py | 48 +- .../pulumi_equinix/networkedge/device.py | 136 +- .../pulumi_equinix/networkedge/device_link.py | 4 +- .../networkedge/network_file.py | 48 +- .../pulumi_equinix/networkedge/outputs.py | 582 ++- .../pulumi_equinix/networkedge/ssh_key.py | 8 +- .../pulumi_equinix/networkedge/ssh_user.py | 16 +- sdk/python/pulumi_equinix/provider.py | 14 +- 52 files changed, 4368 insertions(+), 2400 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 29a3e177..e1453197 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -14,7 +14,7 @@ RUN apt-get update && \ # See README.md # Install go -ARG GO_VERSION=1.20.6 +ARG GO_VERSION=1.21.3 RUN rm -rf /usr/local/go && \ wget -O ${GO_VERSION}.tar.gz https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf ${GO_VERSION}.tar.gz && \ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bfab3294..b3a58fe2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: - v*.*.* env: DOTNETVERSION: 7.0.x - GOVERSION: 1.20.x + GOVERSION: 1.21.x JAVAVERSION: "11" NODEVERSION: 16.x PYTHONVERSION: "3.9" diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index f4b5898b..6333eac4 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -16,7 +16,7 @@ env: PROVIDER: equinix PR_COMMIT_SHA: ${{ github.event.client_payload.pull_request.head.sha }} DOTNETVERSION: 7.0.x - GOVERSION: 1.20.x + GOVERSION: 1.21.x JAVAVERSION: "11" NODEVERSION: 20.x PYTHONVERSION: "3.9" diff --git a/examples/go.mod b/examples/go.mod index 6fe894ef..7d4ef4b7 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -1,8 +1,8 @@ module github.com/equinix/pulumi-equinix/examples -go 1.20 +go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.86.0 +require github.com/pulumi/pulumi/pkg/v3 v3.90.0 require ( cloud.google.com/go v0.110.4 // indirect @@ -13,12 +13,7 @@ require ( cloud.google.com/go/logging v1.7.0 // indirect cloud.google.com/go/longrunning v0.5.1 // indirect cloud.google.com/go/storage v1.30.1 // indirect - github.com/AlecAivazis/survey/v2 v2.3.7 // indirect github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect - github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect - github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect - github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 // indirect github.com/Azure/go-autorest v14.2.0+incompatible // indirect github.com/Azure/go-autorest/autorest v0.11.28 // indirect github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect @@ -29,7 +24,6 @@ require ( github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect - github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect github.com/Microsoft/go-winio v0.5.2 // indirect github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect github.com/acomagu/bufpipe v1.0.3 // indirect @@ -41,21 +35,14 @@ require ( github.com/atotto/clipboard v0.1.4 // indirect github.com/aws/aws-sdk-go v1.44.298 // indirect github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 // indirect - github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 // indirect github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 // indirect - github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect github.com/aws/smithy-go v1.13.5 // indirect @@ -71,7 +58,6 @@ require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/djherbis/times v1.5.0 // indirect - github.com/dustin/go-humanize v1.0.1 // indirect github.com/edsrzf/mmap-go v1.1.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/fatih/color v1.13.0 // indirect @@ -80,7 +66,6 @@ require ( github.com/go-git/go-git/v5 v5.6.0 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang-jwt/jwt v3.2.1+incompatible // indirect github.com/golang-jwt/jwt/v4 v4.4.2 // indirect github.com/golang/glog v1.1.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect @@ -111,25 +96,21 @@ require ( github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.16.2 // indirect + github.com/hashicorp/hcl/v2 v2.17.0 // indirect github.com/hashicorp/vault/api v1.8.2 // indirect github.com/hashicorp/vault/sdk v0.6.1 // indirect github.com/hashicorp/yamux v0.1.1 // indirect - github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect github.com/imdario/mergo v0.3.13 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect - github.com/kylelemons/godebug v1.1.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/mattn/go-colorable v0.1.12 // indirect github.com/mattn/go-isatty v0.0.18 // indirect github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.14 // indirect - github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/go-ps v1.0.0 // indirect @@ -150,13 +131,13 @@ require ( github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect - github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.86.0 // indirect + github.com/pulumi/esc v0.5.6 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.90.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect - github.com/rogpeppe/go-internal v1.9.0 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect @@ -166,7 +147,7 @@ require ( github.com/skeema/knownhosts v1.1.0 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/testify v1.8.3 // indirect + github.com/stretchr/testify v1.8.4 // 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 @@ -180,14 +161,15 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.27.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.9.0 // indirect - golang.org/x/mod v0.10.0 // indirect - golang.org/x/net v0.10.0 // indirect + golang.org/x/crypto v0.14.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/mod v0.13.0 // indirect + golang.org/x/net v0.17.0 // indirect golang.org/x/oauth2 v0.8.0 // indirect golang.org/x/sync v0.2.0 // indirect - golang.org/x/sys v0.9.0 // indirect - golang.org/x/term v0.8.0 // indirect - golang.org/x/text v0.9.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/term v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/api v0.126.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index 1ec1d285..37a81f21 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -93,8 +93,6 @@ contrib.go.opencensus.io/exporter/stackdriver v0.13.13/go.mod h1:5pSSGY0Bhuk7waT contrib.go.opencensus.io/integrations/ocsql v0.1.7/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= -github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= -github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= @@ -103,16 +101,12 @@ github.com/Azure/azure-sdk-for-go v66.0.0+incompatible h1:bmmC38SlE8/E81nNADlgmV github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 h1:tz19qLF65vuu2ibfTqGVJxG/zZAI27NEIIbvAOQwYbw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 h1:Yoicul8bnVdQrhDMTHxdEckRGX01XvwXDHUT9zYZ3k0= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM= github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY= github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.0.2/go.mod h1:LH9XQnMr2ZYxQdVdCrzLO9mxeDyrDFa6wbSI3x5zCZk= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 h1:QSdcrd/UFJv6Bp/CfoVf2SrENpFn9P6Yh8yb+xNhYMM= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= github.com/Azure/go-amqp v0.17.5/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= @@ -156,13 +150,13 @@ github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+Z github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/GoogleCloudPlatform/cloudsql-proxy v1.31.2/go.mod h1:qR6jVnZTKDCW3j+fC9mOEPHm++1nKDMkqbbkD6KNsfo= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= +github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= @@ -191,8 +185,6 @@ github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5 github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 h1:ra2OtmuW0AE5csawV4YXMNGNQQXvLRps3z2Z59OPO+I= github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8= @@ -280,6 +272,7 @@ github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16/go.mod h1:CYmI+7x03jjJih8kBEEF github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 h1:3L8pcjvgaSOs0zzZcMKzxDSkYKEpwJ2dNVDdxm68jAY= github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6/go.mod h1:O7Oc4peGZDEKlddivslfYFvAbgzvl/GH3J8j3JIGBXc= github.com/aws/aws-sdk-go-v2/service/iam v1.19.0 h1:9vCynoqC+dgxZKrsjvAniyIopsv3RZFsZ6wkQ+yxtj8= +github.com/aws/aws-sdk-go-v2/service/iam v1.19.0/go.mod h1:OyAuvpFeSVNppcSsp1hFOVQcaTRc1LE24YIR7pMbbAA= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 h1:4n4KCtv5SUoT5Er5XV41huuzrCqepxlW3SDI9qHQebc= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3/go.mod h1:gkb2qADY+OHaGLKNTYxMaQNacfeyQpZ4csDTQMeFmcw= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 h1:7LJcuRalaLw+GYQTMGmVUl4opg2HrDZkvn/L3KvIQfw= @@ -509,8 +502,6 @@ github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= -github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= @@ -536,7 +527,6 @@ github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= -github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= @@ -558,8 +548,6 @@ github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZ github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= -github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= @@ -698,6 +686,7 @@ github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/go-test/deep v1.0.2/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= +github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/go-zookeeper/zk v1.0.2/go.mod h1:nOB03cncLtlp4t+UAkGSV+9beXP/akpekBwL+UX1Qcw= github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0= github.com/gobuffalo/depgen v0.0.0-20190329151759-d478694a28d3/go.mod h1:3STtPUQYuzV0gBVOY3vy6CfMm/ljR4pABfrTeHNLHUY= @@ -748,7 +737,6 @@ github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= @@ -990,8 +978,8 @@ github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+l github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/hcl/v2 v2.16.2 h1:mpkHZh/Tv+xet3sy3F9Ld4FyI2tUpWe9x3XtPx9f1a0= -github.com/hashicorp/hcl/v2 v2.16.2/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= +github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= +github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= @@ -1013,8 +1001,6 @@ github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= github.com/hetznercloud/hcloud-go v1.33.1/go.mod h1:XX/TQub3ge0yWR2yHWmnDVIrB+MQbda1pHxkUmDlUME= github.com/hetznercloud/hcloud-go v1.35.0/go.mod h1:mepQwR6va27S3UQthaEPGS86jtzSY9xWL1e9dyxXpgA= -github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= -github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= @@ -1022,8 +1008,6 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1: github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd h1:anPrsicrIi2ColgWTVPk+TrN42hJIWlfPHSBP9S0ZkM= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= @@ -1111,8 +1095,6 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= @@ -1133,8 +1115,8 @@ github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFB github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= @@ -1142,7 +1124,6 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= -github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= @@ -1174,7 +1155,6 @@ github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= @@ -1205,8 +1185,6 @@ github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lL github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/microsoft/ApplicationInsights-Go v0.4.4/go.mod h1:fKRUseBqkw6bDiXTs3ESTiU/4YTIHsQS4W3fP2ieF4U= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= @@ -1385,7 +1363,6 @@ github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= -github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -1457,10 +1434,12 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi/pkg/v3 v3.86.0 h1:G4spuT89ZN8lSxT9WkMF/JaP7n+wu7ubEly7Yy8uza0= -github.com/pulumi/pulumi/pkg/v3 v3.86.0/go.mod h1:Qs55gPhUwM/Dua3VRtHXLLlpY8uEe+llDBIZc+1pvHM= -github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= -github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= +github.com/pulumi/esc v0.5.6 h1:4WV3X7OEVcChIwbSG+JxhZDdmq/q7lFPaSjHRYlPwmI= +github.com/pulumi/esc v0.5.6/go.mod h1:wpwNfVS5fV7Kd51j4dJ6FWYlKfxdqyppgp0gtkzqH04= +github.com/pulumi/pulumi/pkg/v3 v3.90.0 h1:Yp+AKcc3eTdrM/miH4OUX4JGc3JIyM9fVlcuuob1htk= +github.com/pulumi/pulumi/pkg/v3 v3.90.0/go.mod h1:rTbLpsshtBTLFsxMqOnqfHYLus12OqbI/3U4FdeeZYA= +github.com/pulumi/pulumi/sdk/v3 v3.90.0 h1:+P8fE0Ja8Q93G5uKBAtxGlc9xt+z+E7+7Ggx366Bb38= +github.com/pulumi/pulumi/sdk/v3 v3.90.0/go.mod h1:zYaQQibB2pYKy/uG4c4YkX7lQIBpZ0KsuMaq/3HsIBQ= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -1473,8 +1452,8 @@ github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= -github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= @@ -1574,8 +1553,8 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -1781,8 +1760,8 @@ golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0 golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= -golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1793,6 +1772,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1823,8 +1804,8 @@ golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= -golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk= -golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1907,8 +1888,8 @@ golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b/go.mod h1:YDH+HFinaLZZlnHAfS golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -2099,8 +2080,8 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= -golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -2109,8 +2090,8 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -2122,8 +2103,8 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -2580,6 +2561,7 @@ lukechampine.com/frand v1.4.2 h1:RzFIpOvkMXuPMBb9maa4ND4wjBn71E1Jpf8BzJHMaVw= lukechampine.com/frand v1.4.2/go.mod h1:4S/TM2ZgrKejMcKMbeLjISpJMO+/eZ1zu3vYX9dtj3s= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= pgregory.net/rapid v0.6.1 h1:4eyrDxyht86tT4Ztm+kvlyNBLIk071gR+ZQdhphc9dQ= +pgregory.net/rapid v0.6.1/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= diff --git a/go.work b/go.work index fadf7669..5856e1b3 100644 --- a/go.work +++ b/go.work @@ -1,7 +1,7 @@ -go 1.20 +go 1.21 use ( ./examples ./provider ./sdk -) \ No newline at end of file +) diff --git a/go.work.sum b/go.work.sum index e7ffbf26..784b7896 100644 --- a/go.work.sum +++ b/go.work.sum @@ -1,7 +1,176 @@ +cloud.google.com/go v0.110.2/go.mod h1:k04UEeEtb6ZBRTv3dZz4CeJC3jKGxyhl0sAiVVquxiw= +cloud.google.com/go/accessapproval v1.7.1/go.mod h1:JYczztsHRMK7NTXb6Xw+dwbs/WnOJxbo/2mTI+Kgg68= +cloud.google.com/go/accesscontextmanager v1.8.1/go.mod h1:JFJHfvuaTC+++1iL1coPiG1eu5D24db2wXCDWDjIrxo= +cloud.google.com/go/aiplatform v1.45.0/go.mod h1:Iu2Q7sC7QGhXUeOhAj/oCK9a+ULz1O4AotZiqjQ8MYA= +cloud.google.com/go/analytics v0.21.2/go.mod h1:U8dcUtmDmjrmUTnnnRnI4m6zKn/yaA5N9RlEkYFHpQo= +cloud.google.com/go/apigateway v1.6.1/go.mod h1:ufAS3wpbRjqfZrzpvLC2oh0MFlpRJm2E/ts25yyqmXA= +cloud.google.com/go/apigeeconnect v1.6.1/go.mod h1:C4awq7x0JpLtrlQCr8AzVIzAaYgngRqWf9S5Uhg+wWs= +cloud.google.com/go/apigeeregistry v0.7.1/go.mod h1:1XgyjZye4Mqtw7T9TsY4NW10U7BojBvG4RMD+vRDrIw= +cloud.google.com/go/appengine v1.8.1/go.mod h1:6NJXGLVhZCN9aQ/AEDvmfzKEfoYBlfB80/BHiKVputY= +cloud.google.com/go/area120 v0.8.1/go.mod h1:BVfZpGpB7KFVNxPiQBuHkX6Ed0rS51xIgmGyjrAfzsg= +cloud.google.com/go/artifactregistry v1.14.1/go.mod h1:nxVdG19jTaSTu7yA7+VbWL346r3rIdkZ142BSQqhn5E= +cloud.google.com/go/asset v1.14.1/go.mod h1:4bEJ3dnHCqWCDbWJ/6Vn7GVI9LerSi7Rfdi03hd+WTQ= +cloud.google.com/go/assuredworkloads v1.11.1/go.mod h1:+F04I52Pgn5nmPG36CWFtxmav6+7Q+c5QyJoL18Lry0= +cloud.google.com/go/automl v1.13.1/go.mod h1:1aowgAHWYZU27MybSCFiukPO7xnyawv7pt3zK4bheQE= +cloud.google.com/go/baremetalsolution v1.1.1/go.mod h1:D1AV6xwOksJMV4OSlWHtWuFNZZYujJknMAP4Qa27QIA= +cloud.google.com/go/batch v1.3.1/go.mod h1:VguXeQKXIYaeeIYbuozUmBR13AfL4SJP7IltNPS+A4A= +cloud.google.com/go/beyondcorp v1.0.0/go.mod h1:YhxDWw946SCbmcWo3fAhw3V4XZMSpQ/VYfcKGAEU8/4= +cloud.google.com/go/bigquery v1.52.0/go.mod h1:3b/iXjRQGU4nKa87cXeg6/gogLjO8C6PmuM8i5Bi/u4= +cloud.google.com/go/billing v1.16.0/go.mod h1:y8vx09JSSJG02k5QxbycNRrN7FGZB6F3CAcgum7jvGA= +cloud.google.com/go/binaryauthorization v1.6.1/go.mod h1:TKt4pa8xhowwffiBmbrbcxijJRZED4zrqnwZ1lKH51U= +cloud.google.com/go/certificatemanager v1.7.1/go.mod h1:iW8J3nG6SaRYImIa+wXQ0g8IgoofDFRp5UMzaNk1UqI= +cloud.google.com/go/channel v1.16.0/go.mod h1:eN/q1PFSl5gyu0dYdmxNXscY/4Fi7ABmeHCJNf/oHmc= +cloud.google.com/go/cloudbuild v1.10.1/go.mod h1:lyJg7v97SUIPq4RC2sGsz/9tNczhyv2AjML/ci4ulzU= +cloud.google.com/go/clouddms v1.6.1/go.mod h1:Ygo1vL52Ov4TBZQquhz5fiw2CQ58gvu+PlS6PVXCpZI= +cloud.google.com/go/cloudtasks v1.11.1/go.mod h1:a9udmnou9KO2iulGscKR0qBYjreuX8oHwpmFsKspEvM= +cloud.google.com/go/compute v1.19.3/go.mod h1:qxvISKp/gYnXkSAD1ppcSOveRAmzxicEv/JlizULFrI= +cloud.google.com/go/contactcenterinsights v1.9.1/go.mod h1:bsg/R7zGLYMVxFFzfh9ooLTruLRCG9fnzhH9KznHhbM= +cloud.google.com/go/container v1.22.1/go.mod h1:lTNExE2R7f+DLbAN+rJiKTisauFCaoDq6NURZ83eVH4= +cloud.google.com/go/containeranalysis v0.10.1/go.mod h1:Ya2jiILITMY68ZLPaogjmOMNkwsDrWBSTyBubGXO7j0= +cloud.google.com/go/datacatalog v1.14.1/go.mod h1:d2CevwTG4yedZilwe+v3E3ZBDRMobQfSG/a6cCCN5R4= +cloud.google.com/go/dataflow v0.9.1/go.mod h1:Wp7s32QjYuQDWqJPFFlnBKhkAtiFpMTdg00qGbnIHVw= +cloud.google.com/go/dataform v0.8.1/go.mod h1:3BhPSiw8xmppbgzeBbmDvmSWlwouuJkXsXsb8UBih9M= +cloud.google.com/go/datafusion v1.7.1/go.mod h1:KpoTBbFmoToDExJUso/fcCiguGDk7MEzOWXUsJo0wsI= +cloud.google.com/go/datalabeling v0.8.1/go.mod h1:XS62LBSVPbYR54GfYQsPXZjTW8UxCK2fkDciSrpRFdY= +cloud.google.com/go/dataplex v1.8.1/go.mod h1:7TyrDT6BCdI8/38Uvp0/ZxBslOslP2X2MPDucliyvSE= +cloud.google.com/go/dataqna v0.8.1/go.mod h1:zxZM0Bl6liMePWsHA8RMGAfmTG34vJMapbHAxQ5+WA8= +cloud.google.com/go/datastore v1.12.1/go.mod h1:KjdB88W897MRITkvWWJrg2OUtrR5XVj1EoLgSp6/N70= +cloud.google.com/go/datastream v1.9.1/go.mod h1:hqnmr8kdUBmrnk65k5wNRoHSCYksvpdZIcZIEl8h43Q= +cloud.google.com/go/deploy v1.11.0/go.mod h1:tKuSUV5pXbn67KiubiUNUejqLs4f5cxxiCNCeyl0F2g= +cloud.google.com/go/dialogflow v1.38.0/go.mod h1:L7jnH+JL2mtmdChzAIcXQHXMvQkE3U4hTaNltEuxXn4= +cloud.google.com/go/dlp v1.10.1/go.mod h1:IM8BWz1iJd8njcNcG0+Kyd9OPnqnRNkDV8j42VT5KOI= +cloud.google.com/go/documentai v1.20.0/go.mod h1:yJkInoMcK0qNAEdRnqY/D5asy73tnPe88I1YTZT+a8E= +cloud.google.com/go/domains v0.9.1/go.mod h1:aOp1c0MbejQQ2Pjf1iJvnVyT+z6R6s8pX66KaCSDYfE= +cloud.google.com/go/edgecontainer v1.1.1/go.mod h1:O5bYcS//7MELQZs3+7mabRqoWQhXCzenBu0R8bz2rwk= +cloud.google.com/go/essentialcontacts v1.6.2/go.mod h1:T2tB6tX+TRak7i88Fb2N9Ok3PvY3UNbUsMag9/BARh4= +cloud.google.com/go/eventarc v1.12.1/go.mod h1:mAFCW6lukH5+IZjkvrEss+jmt2kOdYlN8aMx3sRJiAI= +cloud.google.com/go/filestore v1.7.1/go.mod h1:y10jsorq40JJnjR/lQ8AfFbbcGlw3g+Dp8oN7i7FjV4= +cloud.google.com/go/firestore v1.11.0/go.mod h1:b38dKhgzlmNNGTNZZwe7ZRFEuRab1Hay3/DBsIGKKy4= +cloud.google.com/go/functions v1.15.1/go.mod h1:P5yNWUTkyU+LvW/S9O6V+V423VZooALQlqoXdoPz5AE= +cloud.google.com/go/gkebackup v1.3.0/go.mod h1:vUDOu++N0U5qs4IhG1pcOnD1Mac79xWy6GoBFlWCWBU= +cloud.google.com/go/gkeconnect v0.8.1/go.mod h1:KWiK1g9sDLZqhxB2xEuPV8V9NYzrqTUmQR9shJHpOZw= +cloud.google.com/go/gkehub v0.14.1/go.mod h1:VEXKIJZ2avzrbd7u+zeMtW00Y8ddk/4V9511C9CQGTY= +cloud.google.com/go/gkemulticloud v0.6.1/go.mod h1:kbZ3HKyTsiwqKX7Yw56+wUGwwNZViRnxWK2DVknXWfw= +cloud.google.com/go/gsuiteaddons v1.6.1/go.mod h1:CodrdOqRZcLp5WOwejHWYBjZvfY0kOphkAKpF/3qdZY= +cloud.google.com/go/iap v1.8.1/go.mod h1:sJCbeqg3mvWLqjZNsI6dfAtbbV1DL2Rl7e1mTyXYREQ= +cloud.google.com/go/ids v1.4.1/go.mod h1:np41ed8YMU8zOgv53MMMoCntLTn2lF+SUzlM+O3u/jw= +cloud.google.com/go/iot v1.7.1/go.mod h1:46Mgw7ev1k9KqK1ao0ayW9h0lI+3hxeanz+L1zmbbbk= +cloud.google.com/go/language v1.10.1/go.mod h1:CPp94nsdVNiQEt1CNjF5WkTcisLiHPyIbMhvR8H2AW0= +cloud.google.com/go/lifesciences v0.9.1/go.mod h1:hACAOd1fFbCGLr/+weUKRAJas82Y4vrL3O5326N//Wc= +cloud.google.com/go/longrunning v0.5.0/go.mod h1:0JNuqRShmscVAhIACGtskSAWtqtOoPkwP0YF1oVEchc= +cloud.google.com/go/managedidentities v1.6.1/go.mod h1:h/irGhTN2SkZ64F43tfGPMbHnypMbu4RB3yl8YcuEak= +cloud.google.com/go/maps v1.3.0/go.mod h1:6mWTUv+WhnOwAgjVsSW2QPPECmW+s3PcRyOa9vgG/5s= +cloud.google.com/go/mediatranslation v0.8.1/go.mod h1:L/7hBdEYbYHQJhX2sldtTO5SZZ1C1vkapubj0T2aGig= +cloud.google.com/go/memcache v1.10.1/go.mod h1:47YRQIarv4I3QS5+hoETgKO40InqzLP6kpNLvyXuyaA= +cloud.google.com/go/metastore v1.11.1/go.mod h1:uZuSo80U3Wd4zi6C22ZZliOUJ3XeM/MlYi/z5OAOWRA= +cloud.google.com/go/monitoring v1.15.1/go.mod h1:lADlSAlFdbqQuwwpaImhsJXu1QSdd3ojypXrFSMr2rM= +cloud.google.com/go/networkconnectivity v1.12.1/go.mod h1:PelxSWYM7Sh9/guf8CFhi6vIqf19Ir/sbfZRUwXh92E= +cloud.google.com/go/networkmanagement v1.8.0/go.mod h1:Ho/BUGmtyEqrttTgWEe7m+8vDdK74ibQc+Be0q7Fof0= +cloud.google.com/go/networksecurity v0.9.1/go.mod h1:MCMdxOKQ30wsBI1eI659f9kEp4wuuAueoC9AJKSPWZQ= +cloud.google.com/go/notebooks v1.9.1/go.mod h1:zqG9/gk05JrzgBt4ghLzEepPHNwE5jgPcHZRKhlC1A8= +cloud.google.com/go/optimization v1.4.1/go.mod h1:j64vZQP7h9bO49m2rVaTVoNM0vEBEN5eKPUPbZyXOrk= +cloud.google.com/go/orchestration v1.8.1/go.mod h1:4sluRF3wgbYVRqz7zJ1/EUNc90TTprliq9477fGobD8= +cloud.google.com/go/orgpolicy v1.11.1/go.mod h1:8+E3jQcpZJQliP+zaFfayC2Pg5bmhuLK755wKhIIUCE= +cloud.google.com/go/osconfig v1.12.1/go.mod h1:4CjBxND0gswz2gfYRCUoUzCm9zCABp91EeTtWXyz0tE= +cloud.google.com/go/oslogin v1.10.1/go.mod h1:x692z7yAue5nE7CsSnoG0aaMbNoRJRXO4sn73R+ZqAs= +cloud.google.com/go/phishingprotection v0.8.1/go.mod h1:AxonW7GovcA8qdEk13NfHq9hNx5KPtfxXNeUxTDxB6I= +cloud.google.com/go/policytroubleshooter v1.7.1/go.mod h1:0NaT5v3Ag1M7U5r0GfDCpUFkWd9YqpubBWsQlhanRv0= +cloud.google.com/go/privatecatalog v0.9.1/go.mod h1:0XlDXW2unJXdf9zFz968Hp35gl/bhF4twwpXZAW50JA= +cloud.google.com/go/pubsub v1.32.0/go.mod h1:f+w71I33OMyxf9VpMVcZbnG5KSUkCOUHYpFd5U1GdRc= +cloud.google.com/go/pubsublite v1.8.1/go.mod h1:fOLdU4f5xldK4RGJrBMm+J7zMWNj/k4PxwEZXy39QS0= +cloud.google.com/go/recaptchaenterprise/v2 v2.7.2/go.mod h1:kR0KjsJS7Jt1YSyWFkseQ756D45kaYNTlDPPaRAvDBU= +cloud.google.com/go/recommendationengine v0.8.1/go.mod h1:MrZihWwtFYWDzE6Hz5nKcNz3gLizXVIDI/o3G1DLcrE= +cloud.google.com/go/recommender v1.10.1/go.mod h1:XFvrE4Suqn5Cq0Lf+mCP6oBHD/yRMA8XxP5sb7Q7gpA= +cloud.google.com/go/redis v1.13.1/go.mod h1:VP7DGLpE91M6bcsDdMuyCm2hIpB6Vp2hI090Mfd1tcg= +cloud.google.com/go/resourcemanager v1.9.1/go.mod h1:dVCuosgrh1tINZ/RwBufr8lULmWGOkPS8gL5gqyjdT8= +cloud.google.com/go/resourcesettings v1.6.1/go.mod h1:M7mk9PIZrC5Fgsu1kZJci6mpgN8o0IUzVx3eJU3y4Jw= +cloud.google.com/go/retail v1.14.1/go.mod h1:y3Wv3Vr2k54dLNIrCzenyKG8g8dhvhncT2NcNjb/6gE= +cloud.google.com/go/run v1.2.0/go.mod h1:36V1IlDzQ0XxbQjUx6IYbw8H3TJnWvhii963WW3B/bo= +cloud.google.com/go/scheduler v1.10.1/go.mod h1:R63Ldltd47Bs4gnhQkmNDse5w8gBRrhObZ54PxgR2Oo= +cloud.google.com/go/secretmanager v1.11.1/go.mod h1:znq9JlXgTNdBeQk9TBW/FnR/W4uChEKGeqQWAJ8SXFw= +cloud.google.com/go/security v1.15.1/go.mod h1:MvTnnbsWnehoizHi09zoiZob0iCHVcL4AUBj76h9fXA= +cloud.google.com/go/securitycenter v1.23.0/go.mod h1:8pwQ4n+Y9WCWM278R8W3nF65QtY172h4S8aXyI9/hsQ= +cloud.google.com/go/servicedirectory v1.10.1/go.mod h1:Xv0YVH8s4pVOwfM/1eMTl0XJ6bzIOSLDt8f8eLaGOxQ= +cloud.google.com/go/shell v1.7.1/go.mod h1:u1RaM+huXFaTojTbW4g9P5emOrrmLE69KrxqQahKn4g= +cloud.google.com/go/spanner v1.47.0/go.mod h1:IXsJwVW2j4UKs0eYDqodab6HgGuA1bViSqW4uH9lfUI= +cloud.google.com/go/speech v1.17.1/go.mod h1:8rVNzU43tQvxDaGvqOhpDqgkJTFowBpDvCJ14kGlJYo= +cloud.google.com/go/storagetransfer v1.10.0/go.mod h1:DM4sTlSmGiNczmV6iZyceIh2dbs+7z2Ayg6YAiQlYfA= +cloud.google.com/go/talent v1.6.2/go.mod h1:CbGvmKCG61mkdjcqTcLOkb2ZN1SrQI8MDyma2l7VD24= +cloud.google.com/go/texttospeech v1.7.1/go.mod h1:m7QfG5IXxeneGqTapXNxv2ItxP/FS0hCZBwXYqucgSk= +cloud.google.com/go/tpu v1.6.1/go.mod h1:sOdcHVIgDEEOKuqUoi6Fq53MKHJAtOwtz0GuKsWSH3E= +cloud.google.com/go/trace v1.10.1/go.mod h1:gbtL94KE5AJLH3y+WVpfWILmqgc6dXcqgNXdOPAQTYk= +cloud.google.com/go/translate v1.8.1/go.mod h1:d1ZH5aaOA0CNhWeXeC8ujd4tdCFw8XoNWRljklu5RHs= +cloud.google.com/go/video v1.17.1/go.mod h1:9qmqPqw/Ib2tLqaeHgtakU+l5TcJxCJbhFXM7UJjVzU= +cloud.google.com/go/videointelligence v1.11.1/go.mod h1:76xn/8InyQHarjTWsBR058SmlPCwQjgcvoW0aZykOvo= +cloud.google.com/go/vision/v2 v2.7.2/go.mod h1:jKa8oSYBWhYiXarHPvP4USxYANYUEdEsQrloLjrSwJU= +cloud.google.com/go/vmmigration v1.7.1/go.mod h1:WD+5z7a/IpZ5bKK//YmT9E047AD+rjycCAvyMxGJbro= +cloud.google.com/go/vmwareengine v0.4.1/go.mod h1:Px64x+BvjPZwWuc4HdmVhoygcXqEkGHXoa7uyfTgSI0= +cloud.google.com/go/vpcaccess v1.7.1/go.mod h1:FogoD46/ZU+JUBX9D606X21EnxiszYi2tArQwLY4SXs= +cloud.google.com/go/webrisk v1.9.1/go.mod h1:4GCmXKcOa2BZcZPn6DCEvE7HypmEJcJkr4mtM+sqYPc= +cloud.google.com/go/websecurityscanner v1.6.1/go.mod h1:Njgaw3rttgRHXzwCB8kgCYqv5/rGpFCsBOvPbYgszpg= +cloud.google.com/go/workflows v1.11.1/go.mod h1:Z+t10G1wF7h8LgdY/EmRcQY8ptBD/nvofaL6FqlET6g= +github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= +github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= +github.com/alecthomas/chroma v0.10.0/go.mod h1:jtJATyUxlIORhUOFNA9NZDWGAQ8wpxQQqNSB4rjA/1s= github.com/apparentlymart/go-textseg v1.0.0 h1:rRmlIsPEEhUTIKQb7T++Nz/A5Q6C9IuX2wFoYVvnCs0= +github.com/aymanbagabas/go-osc52 v1.0.3 h1:DTwqENW7X9arYimJrPeGZcV0ln14sGMt3pHZspWD+Mg= +github.com/aymanbagabas/go-osc52 v1.0.3/go.mod h1:zT8H+Rk4VSabYN90pWyugflM3ZhpTZNC7cASDfUCdT4= +github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= +github.com/ccojocar/zxcvbn-go v1.0.1/go.mod h1:g1qkXtUSvHP8lhHp5GrSmTz6uWALGRMQdw6Qnz/hi60= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= -github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= +github.com/charmbracelet/glamour v0.6.0/go.mod h1:taqWV4swIMMbWALc0m7AfE9JkPSU8om2538k9ITBxOc= +github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= +github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= +github.com/dlclark/regexp2 v1.4.0/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= +github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= +github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= +github.com/google/pprof v0.0.0-20230406165453-00490a63f317/go.mod h1:79YE0hCXdHag9sBkw2o+N/YnZtTkXi0UT9Nnixa5eYk= +github.com/gorilla/css v1.0.0/go.mod h1:Dn721qIggHpt4+EFCcTLTU/vk5ySda2ReITrtgBl60c= +github.com/gruntwork-io/terratest v0.43.0/go.mod h1:vZO4J6UW023NDvl1vI+twZk9r//+QEaNT6MfkheH7z0= +github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= +github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= +github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a/go.mod h1:yL958EeXv8Ylng6IfnvG4oflryUi3vgA3xPs9hmII1s= +github.com/liquidgecka/testlib v0.0.0-20180123051607-561e6b271c63/go.mod h1:vwMPvLIhXhkJaBfsk/6l+eDuiQaIVHC0b6eCvUVBsB0= +github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= +github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326/go.mod h1:9fxibJccNxU2cnpIKLRRFA7zX7qhkJIQWBb449FYHOo= +github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= +github.com/microcosm-cc/bluemonday v1.0.21/go.mod h1:ytNkv4RrDrLJ2pqlsSI46O6IVXmZOBBD4SaJyDwwTkM= +github.com/moby/moby v23.0.3+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc= +github.com/muesli/termenv v0.13.0/go.mod h1:sP1+uffeLaEYpyOTb8pLCUctGcGLnoFjSn4YJK5e2bc= +github.com/mxschmitt/golang-combinations v1.0.0/go.mod h1:RbMhWvfCelHR6WROvT2bVfxJvZHoEvBj71SKe+H0MYU= +github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d/go.mod h1:o96djdrsSGy3AWPyBgZMAGfxZNfgntdJG+11KU4QvbU= +github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= +github.com/petar-dambovaliev/aho-corasick v0.0.0-20230725210150-fb29fc3c913e/go.mod h1:EHPiTAKtiFmrMldLUNswFwfZ2eJIYBHktdaUTZxYWRw= +github.com/pgavlin/diff v0.0.0-20230503175810-113847418e2e/go.mod h1:WGwlmuPAiQTGQUjxyAfP7j4JgbgiFvFpI/qRtsQtS/4= +github.com/pgavlin/text v0.0.0-20230428184845-84c285f11d2f/go.mod h1:fk4+YyTLi0Ap0CsL1HA70/tAs6evqw3hbPGdR8rD/3E= +github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= +github.com/pulumi/pulumi/pkg/v3 v3.78.2-0.20231010213836-fd8c4dd81928/go.mod h1:6Fcjl5pVXv4ctBuluuDIYdq8DHc9da3erQJ1NI+ha94= +github.com/pulumi/pulumi/sdk/v3 v3.88.1-0.20231010213836-fd8c4dd81928/go.mod h1:M2j1xLl93+NYHtyprVK9Tdyxbnjs4AivPuAKqm5goCo= github.com/russross/blackfriday v1.6.0 h1:KqfZb0pUVN2lYqZUYRddxF4OR8ZMURnJIG5Y3VRLtww= +github.com/shirou/gopsutil/v3 v3.22.3/go.mod h1:D01hZJ4pVHPpCTZ3m3T2+wDF2YAGfd+H4ifUguaQzHM= +github.com/tklauser/go-sysconf v0.3.10/go.mod h1:C8XykCvCb+Gn0oNCWPIlcb0RuglQTYaQ2hGm7jmxEFk= +github.com/tklauser/numcpus v0.4.0/go.mod h1:1+UI3pD8NW14VMwdgJNJ1ESk2UnwhAnz5hMwiKKqXCQ= +github.com/tmccombs/hcl2json v0.3.3/go.mod h1:Y2chtz2x9bAeRTvSibVRVgbLJhLJXKlUeIvjeVdnm4w= github.com/yuin/goldmark v1.5.2/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/yuin/goldmark-emoji v1.0.1/go.mod h1:2w1E6FEWLcDQkoTE+7HU6QF1F6SLlNGjRIBbIZQFqkQ= +github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= +go.pennock.tech/tabular v1.1.3/go.mod h1:UzyxF5itNqTCS1ZGXfwDwbFgYj/lS+e67Fid68QOYZ0= +golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63/go.mod h1:0v4NqG35kSWCMzLaMeX+IQrlSnVE/bqGSyC2cz/9Le8= +golang.org/x/net v0.0.0-20221002022538-bcab6841153b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.16.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= +google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= +google.golang.org/genproto v0.0.0-20230629202037-9506855d4529/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= +google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230629202037-9506855d4529/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8= +google.golang.org/grpc v1.56.2/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +mvdan.cc/sh/v3 v3.7.0/go.mod h1:K2gwkaesF/D7av7Kxl0HbF5kGOd2ArupNTX3X44+8l8= +pgregory.net/rapid v0.5.5/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= +sourcegraph.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67/go.mod h1:L5q+DGLGOQFpo1snNEkLOJT2d1YTW66rWNzatr3He1k= diff --git a/provider/cmd/pulumi-resource-equinix/schema.json b/provider/cmd/pulumi-resource-equinix/schema.json index 24da79e5..aebfee90 100644 --- a/provider/cmd/pulumi-resource-equinix/schema.json +++ b/provider/cmd/pulumi-resource-equinix/schema.json @@ -16717,7 +16717,7 @@ } }, "equinix:metal/getOperatingSystem:getOperatingSystem": { - "description": "Use this data source to get Equinix Metal Operating System image.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst example = equinix.metal.getOperatingSystem({\n distro: \"ubuntu\",\n version: \"20.04\",\n provisionableOn: \"c3.medium.x86\",\n});\nconst server = new equinix.metal.Device(\"server\", {\n hostname: \"tf.ubuntu\",\n plan: \"c3.medium.x86\",\n metro: \"ny\",\n operatingSystem: example.then(example =\u003e example.id).apply((x) =\u003e equinix.metal.operatingsystem.OperatingSystem[x]),\n billingCycle: \"hourly\",\n projectId: local.project_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample = equinix.metal.get_operating_system(distro=\"ubuntu\",\n version=\"20.04\",\n provisionable_on=\"c3.medium.x86\")\nserver = equinix.metal.Device(\"server\",\n hostname=\"tf.ubuntu\",\n plan=\"c3.medium.x86\",\n metro=\"ny\",\n operating_system=example.id.apply(lambda x: equinix.metal/operatingsystem.OperatingSystem(x)),\n billing_cycle=\"hourly\",\n project_id=local[\"project_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 example = Equinix.Metal.GetOperatingSystem.Invoke(new()\n {\n Distro = \"ubuntu\",\n Version = \"20.04\",\n ProvisionableOn = \"c3.medium.x86\",\n });\n\n var server = new Equinix.Metal.Device(\"server\", new()\n {\n Hostname = \"tf.ubuntu\",\n Plan = \"c3.medium.x86\",\n Metro = \"ny\",\n OperatingSystem = example.Apply(getOperatingSystemResult =\u003e getOperatingSystemResult.Id).Apply(System.Enum.Parse\u003cEquinix.Metal/operatingSystem.OperatingSystem\u003e),\n BillingCycle = \"hourly\",\n ProjectId = local.Project_id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := metal.GetOperatingSystem(ctx, \u0026metal.GetOperatingSystemArgs{\n\t\t\tDistro: pulumi.StringRef(\"ubuntu\"),\n\t\t\tVersion: pulumi.StringRef(\"20.04\"),\n\t\t\tProvisionableOn: pulumi.StringRef(\"c3.medium.x86\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = metal.NewDevice(ctx, \"server\", \u0026metal.DeviceArgs{\n\t\t\tHostname: pulumi.String(\"tf.ubuntu\"),\n\t\t\tPlan: pulumi.String(\"c3.medium.x86\"),\n\t\t\tMetro: pulumi.String(\"ny\"),\n\t\t\tOperatingSystem: example.Id.ApplyT(func(x *string) metal.OperatingSystem { return metal.OperatingSystem(*x) }).(metal.OperatingSystemOutput),\n\t\t\tBillingCycle: pulumi.String(\"hourly\"),\n\t\t\tProjectId: pulumi.Any(local.Project_id),\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```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.equinix.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetOperatingSystemArgs;\nimport com.pulumi.equinix.metal.Device;\nimport com.pulumi.equinix.metal.DeviceArgs;\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 example = MetalFunctions.getOperatingSystem(GetOperatingSystemArgs.builder()\n .distro(\"ubuntu\")\n .version(\"20.04\")\n .provisionableOn(\"c3.medium.x86\")\n .build());\n\n var server = new Device(\"server\", DeviceArgs.builder() \n .hostname(\"tf.ubuntu\")\n .plan(\"c3.medium.x86\")\n .metro(\"ny\")\n .operatingSystem(example.applyValue(getOperatingSystemResult -\u003e getOperatingSystemResult.id()))\n .billingCycle(\"hourly\")\n .projectId(local.project_id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n server:\n type: equinix:metal:Device\n properties:\n hostname: tf.ubuntu\n plan: c3.medium.x86\n metro: ny\n operatingSystem: ${example.id}\n billingCycle: hourly\n projectId: ${local.project_id}\nvariables:\n example:\n fn::invoke:\n Function: equinix:metal:getOperatingSystem\n Arguments:\n distro: ubuntu\n version: '20.04'\n provisionableOn: c3.medium.x86\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to get Equinix Metal Operating System image.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst example = equinix.metal.getOperatingSystem({\n distro: \"ubuntu\",\n version: \"20.04\",\n provisionableOn: \"c3.medium.x86\",\n});\nconst server = new equinix.metal.Device(\"server\", {\n hostname: \"tf.ubuntu\",\n plan: \"c3.medium.x86\",\n metro: \"ny\",\n operatingSystem: example.then(example =\u003e example.id).apply((x) =\u003e equinix.metal.operatingsystem.OperatingSystem[x]),\n billingCycle: \"hourly\",\n projectId: local.project_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nexample = equinix.metal.get_operating_system(distro=\"ubuntu\",\n version=\"20.04\",\n provisionable_on=\"c3.medium.x86\")\nserver = equinix.metal.Device(\"server\",\n hostname=\"tf.ubuntu\",\n plan=\"c3.medium.x86\",\n metro=\"ny\",\n operating_system=example.id.apply(lambda x: equinix.metal/operatingsystem.OperatingSystem(x)),\n billing_cycle=\"hourly\",\n project_id=local[\"project_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 example = Equinix.Metal.GetOperatingSystem.Invoke(new()\n {\n Distro = \"ubuntu\",\n Version = \"20.04\",\n ProvisionableOn = \"c3.medium.x86\",\n });\n\n var server = new Equinix.Metal.Device(\"server\", new()\n {\n Hostname = \"tf.ubuntu\",\n Plan = \"c3.medium.x86\",\n Metro = \"ny\",\n OperatingSystem = example.Apply(getOperatingSystemResult =\u003e getOperatingSystemResult.Id).Apply(System.Enum.Parse\u003cEquinix.Metal.OperatingSystem.OperatingSystem\u003e),\n BillingCycle = \"hourly\",\n ProjectId = local.Project_id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := metal.GetOperatingSystem(ctx, \u0026metal.GetOperatingSystemArgs{\n\t\t\tDistro: pulumi.StringRef(\"ubuntu\"),\n\t\t\tVersion: pulumi.StringRef(\"20.04\"),\n\t\t\tProvisionableOn: pulumi.StringRef(\"c3.medium.x86\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = metal.NewDevice(ctx, \"server\", \u0026metal.DeviceArgs{\n\t\t\tHostname: pulumi.String(\"tf.ubuntu\"),\n\t\t\tPlan: pulumi.String(\"c3.medium.x86\"),\n\t\t\tMetro: pulumi.String(\"ny\"),\n\t\t\tOperatingSystem: example.Id.ApplyT(func(x *string) metal.OperatingSystem { return metal.OperatingSystem(*x) }).(metal.OperatingSystemOutput),\n\t\t\tBillingCycle: pulumi.String(\"hourly\"),\n\t\t\tProjectId: pulumi.Any(local.Project_id),\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```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.equinix.metal.MetalFunctions;\nimport com.pulumi.equinix.metal.inputs.GetOperatingSystemArgs;\nimport com.pulumi.equinix.metal.Device;\nimport com.pulumi.equinix.metal.DeviceArgs;\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 example = MetalFunctions.getOperatingSystem(GetOperatingSystemArgs.builder()\n .distro(\"ubuntu\")\n .version(\"20.04\")\n .provisionableOn(\"c3.medium.x86\")\n .build());\n\n var server = new Device(\"server\", DeviceArgs.builder() \n .hostname(\"tf.ubuntu\")\n .plan(\"c3.medium.x86\")\n .metro(\"ny\")\n .operatingSystem(example.applyValue(getOperatingSystemResult -\u003e getOperatingSystemResult.id()))\n .billingCycle(\"hourly\")\n .projectId(local.project_id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n server:\n type: equinix:metal:Device\n properties:\n hostname: tf.ubuntu\n plan: c3.medium.x86\n metro: ny\n operatingSystem: ${example.id}\n billingCycle: hourly\n projectId: ${local.project_id}\nvariables:\n example:\n fn::invoke:\n Function: equinix:metal:getOperatingSystem\n Arguments:\n distro: ubuntu\n version: '20.04'\n provisionableOn: c3.medium.x86\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getOperatingSystem.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index 3860457d..aa455e8b 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,14 +1,14 @@ module github.com/equinix/pulumi-equinix/provider -go 1.20 +go 1.21 replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e require ( github.com/equinix/terraform-provider-equinix v1.18.0 github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0 - github.com/pulumi/pulumi/pkg/v3 v3.89.0 - github.com/pulumi/pulumi/sdk/v3 v3.89.0 + github.com/pulumi/pulumi/pkg/v3 v3.90.0 + github.com/pulumi/pulumi/sdk/v3 v3.90.0 ) require ( @@ -21,12 +21,7 @@ require ( cloud.google.com/go/longrunning v0.5.1 // indirect cloud.google.com/go/storage v1.30.1 // indirect dario.cat/mergo v1.0.0 // indirect - github.com/AlecAivazis/survey/v2 v2.3.7 // indirect github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect - github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect - github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect - github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 // indirect github.com/Azure/go-autorest v14.2.0+incompatible // indirect github.com/Azure/go-autorest/autorest v0.11.28 // indirect github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect @@ -37,7 +32,6 @@ require ( github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect - github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect github.com/BurntSushi/toml v1.2.1 // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver v1.5.0 // indirect @@ -56,21 +50,14 @@ require ( github.com/atotto/clipboard v0.1.4 // indirect github.com/aws/aws-sdk-go v1.44.298 // indirect github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 // indirect - github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 // indirect github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 // indirect - github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect github.com/aws/smithy-go v1.13.5 // indirect @@ -88,7 +75,6 @@ require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/djherbis/times v1.5.0 // indirect - github.com/dustin/go-humanize v1.0.1 // indirect github.com/edsrzf/mmap-go v1.1.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/equinix-labs/fabric-go v0.7.0 // indirect @@ -99,6 +85,7 @@ require ( github.com/equinix/rest-go v1.3.0 // indirect github.com/ettle/strcase v0.1.1 // indirect github.com/fatih/color v1.13.0 // indirect + github.com/frankban/quicktest v1.14.5 // indirect github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.4.1 // indirect @@ -106,7 +93,6 @@ require ( github.com/go-resty/resty/v2 v2.3.0 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang-jwt/jwt v3.2.1+incompatible // indirect github.com/golang-jwt/jwt/v4 v4.4.2 // indirect github.com/golang/glog v1.1.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect @@ -158,22 +144,18 @@ require ( github.com/hashicorp/yamux v0.1.1 // indirect github.com/huandu/xstrings v1.3.2 // indirect github.com/iancoleman/strcase v0.2.0 // indirect - github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect github.com/imdario/mergo v0.3.15 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/klauspost/compress v1.15.11 // indirect - github.com/kylelemons/godebug v1.1.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.18 // indirect github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.14 // indirect - github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect github.com/mitchellh/cli v1.1.5 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect @@ -197,12 +179,11 @@ require ( github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect - github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/posener/complete v1.2.3 // indirect - github.com/pulumi/esc v0.5.2 // indirect + github.com/pulumi/esc v0.5.6 // indirect github.com/pulumi/pulumi-java/pkg v0.9.8 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 // indirect github.com/pulumi/pulumi-yaml v1.2.2 // indirect diff --git a/provider/go.sum b/provider/go.sum index 0be30bf5..fa3893f9 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -629,8 +629,6 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7 gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= -github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= -github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= @@ -639,16 +637,12 @@ github.com/Azure/azure-sdk-for-go v66.0.0+incompatible h1:bmmC38SlE8/E81nNADlgmV github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 h1:tz19qLF65vuu2ibfTqGVJxG/zZAI27NEIIbvAOQwYbw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 h1:Yoicul8bnVdQrhDMTHxdEckRGX01XvwXDHUT9zYZ3k0= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM= github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY= github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.0.2/go.mod h1:LH9XQnMr2ZYxQdVdCrzLO9mxeDyrDFa6wbSI3x5zCZk= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 h1:QSdcrd/UFJv6Bp/CfoVf2SrENpFn9P6Yh8yb+xNhYMM= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= github.com/Azure/go-amqp v0.17.5/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= @@ -692,7 +686,6 @@ github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+Z github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= @@ -701,6 +694,7 @@ github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/GoogleCloudPlatform/cloudsql-proxy v1.31.2/go.mod h1:qR6jVnZTKDCW3j+fC9mOEPHm++1nKDMkqbbkD6KNsfo= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= +github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= @@ -739,8 +733,6 @@ github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5 github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 h1:KLq8BE0KwCL+mmXnjLWEAOYO+2l2AE4YMmqG1ZpZHBs= github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= @@ -852,6 +844,7 @@ github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16/go.mod h1:CYmI+7x03jjJih8kBEEF github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 h1:3L8pcjvgaSOs0zzZcMKzxDSkYKEpwJ2dNVDdxm68jAY= github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6/go.mod h1:O7Oc4peGZDEKlddivslfYFvAbgzvl/GH3J8j3JIGBXc= github.com/aws/aws-sdk-go-v2/service/iam v1.19.0 h1:9vCynoqC+dgxZKrsjvAniyIopsv3RZFsZ6wkQ+yxtj8= +github.com/aws/aws-sdk-go-v2/service/iam v1.19.0/go.mod h1:OyAuvpFeSVNppcSsp1hFOVQcaTRc1LE24YIR7pMbbAA= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 h1:4n4KCtv5SUoT5Er5XV41huuzrCqepxlW3SDI9qHQebc= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3/go.mod h1:gkb2qADY+OHaGLKNTYxMaQNacfeyQpZ4csDTQMeFmcw= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 h1:7LJcuRalaLw+GYQTMGmVUl4opg2HrDZkvn/L3KvIQfw= @@ -1093,8 +1086,6 @@ github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= -github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= @@ -1142,8 +1133,6 @@ github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZ github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= -github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= @@ -1215,7 +1204,8 @@ github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2 github.com/frankban/quicktest v1.10.0/go.mod h1:ui7WezCLWMWxVWr1GETZY3smRy0G4KWq9vcPtJmFl7Y= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= github.com/frankban/quicktest v1.13.0/go.mod h1:qLE0fzW0VuyUAJgPU19zByoIr0HtCHN/r/VLSOOIySU= -github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= +github.com/frankban/quicktest v1.14.5 h1:dfYrrRyLtiqT9GyKXgdh+k4inNeTvmGbuSgZ3lx3GhA= +github.com/frankban/quicktest v1.14.5/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= @@ -1371,7 +1361,6 @@ github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= @@ -1692,10 +1681,11 @@ github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbg github.com/hetznercloud/hcloud-go v1.33.1/go.mod h1:XX/TQub3ge0yWR2yHWmnDVIrB+MQbda1pHxkUmDlUME= github.com/hetznercloud/hcloud-go v1.35.0/go.mod h1:mepQwR6va27S3UQthaEPGS86jtzSY9xWL1e9dyxXpgA= github.com/hexops/autogold v1.3.0 h1:IEtGNPxBeBu8RMn8eKWh/Ll9dVNgSnJ7bp/qHgMQ14o= +github.com/hexops/autogold v1.3.0/go.mod h1:d4hwi2rid66Sag+BVuHgwakW/EmaFr8vdTSbWDbrDRI= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= +github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= github.com/hexops/valast v1.4.0 h1:sFzyxPDP0riFQUzSBXTCCrAbbIndHPWMndxuEjXdZlc= -github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= -github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY= +github.com/hexops/valast v1.4.0/go.mod h1:uVjKZ0smVuYlgCSPz9NRi5A04sl7lp6GtFWsROKDgEs= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= @@ -1707,8 +1697,6 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1: github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd h1:anPrsicrIi2ColgWTVPk+TrN42hJIWlfPHSBP9S0ZkM= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= @@ -1807,7 +1795,6 @@ github.com/jung-kurt/gofpdf v1.0.0/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+ github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= @@ -1879,7 +1866,6 @@ github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= @@ -1913,8 +1899,6 @@ github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4 github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/microsoft/ApplicationInsights-Go v0.4.4/go.mod h1:fKRUseBqkw6bDiXTs3ESTiU/4YTIHsQS4W3fP2ieF4U= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= @@ -2012,6 +1996,7 @@ github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OS github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nightlyone/lockfile v1.0.0 h1:RHep2cFKK4PonZJDdEl4GmkabuhbsRMgk/k3uAmxBiA= +github.com/nightlyone/lockfile v1.0.0/go.mod h1:rywoIealpdNse2r832aiD9jRk8ErCatROs6LzC841CI= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= @@ -2110,7 +2095,6 @@ github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFu github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= -github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -2187,21 +2171,22 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= -github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= +github.com/pulumi/esc v0.5.6 h1:4WV3X7OEVcChIwbSG+JxhZDdmq/q7lFPaSjHRYlPwmI= +github.com/pulumi/esc v0.5.6/go.mod h1:wpwNfVS5fV7Kd51j4dJ6FWYlKfxdqyppgp0gtkzqH04= github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mcDqjsivQ= github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc= +github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk= github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0 h1:oZNwz2YupCstNNwxCcUaEBV6iL6wikiAqjas9ufR4yE= github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0/go.mod h1:8UuPmsuaGgUDUSsRKhoSf5J6SlfjHioKO+XeEWfXQfE= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w= github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E= github.com/pulumi/pulumi-yaml v1.2.2/go.mod h1:EgakC7b/4+VBNnlgM1RZIea2gUstV8s/7bdFJZt0P64= -github.com/pulumi/pulumi/pkg/v3 v3.89.0 h1:4gaR9ZerHqtc0NYcq7TLxhj2029H9CtRrirmibyLw/E= -github.com/pulumi/pulumi/pkg/v3 v3.89.0/go.mod h1:5DIoI81I+NmW/y2BDlQR4CwnzTeVwkI3DZ4FBnSprXs= -github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= -github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= +github.com/pulumi/pulumi/pkg/v3 v3.90.0 h1:Yp+AKcc3eTdrM/miH4OUX4JGc3JIyM9fVlcuuob1htk= +github.com/pulumi/pulumi/pkg/v3 v3.90.0/go.mod h1:rTbLpsshtBTLFsxMqOnqfHYLus12OqbI/3U4FdeeZYA= +github.com/pulumi/pulumi/sdk/v3 v3.90.0 h1:+P8fE0Ja8Q93G5uKBAtxGlc9xt+z+E7+7Ggx366Bb38= +github.com/pulumi/pulumi/sdk/v3 v3.90.0/go.mod h1:zYaQQibB2pYKy/uG4c4YkX7lQIBpZ0KsuMaq/3HsIBQ= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= @@ -2267,6 +2252,7 @@ github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFR github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/go-goon v0.0.0-20210110234559-7585751d9a17 h1:lRAUE0dIvigSSFAmaM2dfg7OH8T+a8zJ5smEh09a/GI= +github.com/shurcooL/go-goon v0.0.0-20210110234559-7585751d9a17/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ= github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= @@ -3597,8 +3583,10 @@ modernc.org/tcl v1.13.1/go.mod h1:XOLfOwzhkljL4itZkK6T72ckMgvj0BDsnKNdZVUOecw= modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8= mvdan.cc/gofumpt v0.1.0 h1:hsVv+Y9UsZ/mFZTxJZuHVI6shSQCtzZ11h1JEFPAZLw= +mvdan.cc/gofumpt v0.1.0/go.mod h1:yXG1r1WqZVKWbVRtBWKWX9+CxGYfA51nSomhM0woR48= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= pgregory.net/rapid v0.6.1 h1:4eyrDxyht86tT4Ztm+kvlyNBLIk071gR+ZQdhphc9dQ= +pgregory.net/rapid v0.6.1/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= diff --git a/provider/resources.go b/provider/resources.go index 2f0ccaf1..28695290 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -1435,7 +1435,7 @@ func Provider() tfbridge.ProviderInfo { }, }, }, - "equinix_fabric_cloud_router": {Tok: makeEquinixDataSource(fabricMod, "CloudRouter")}, + "equinix_fabric_cloud_router": {Tok: makeEquinixDataSource(fabricMod, "CloudRouter")}, "equinix_fabric_routing_protocol": { Tok: makeEquinixDataSource(fabricMod, "RoutingProtocol"), Fields: map[string]*tfbridge.SchemaInfo{ diff --git a/sdk/dotnet/Metal/GetOperatingSystem.cs b/sdk/dotnet/Metal/GetOperatingSystem.cs index 53e99a2a..2b0d8a97 100644 --- a/sdk/dotnet/Metal/GetOperatingSystem.cs +++ b/sdk/dotnet/Metal/GetOperatingSystem.cs @@ -38,7 +38,7 @@ public static class GetOperatingSystem /// Hostname = "tf.ubuntu", /// Plan = "c3.medium.x86", /// Metro = "ny", - /// OperatingSystem = example.Apply(getOperatingSystemResult => getOperatingSystemResult.Id).Apply(System.Enum.Parse<Equinix.Metal/operatingSystem.OperatingSystem>), + /// OperatingSystem = example.Apply(getOperatingSystemResult => getOperatingSystemResult.Id).Apply(System.Enum.Parse<Equinix.Metal.OperatingSystem.OperatingSystem>), /// BillingCycle = "hourly", /// ProjectId = local.Project_id, /// }); @@ -78,7 +78,7 @@ public static Task InvokeAsync(GetOperatingSystemArgs? /// Hostname = "tf.ubuntu", /// Plan = "c3.medium.x86", /// Metro = "ny", - /// OperatingSystem = example.Apply(getOperatingSystemResult => getOperatingSystemResult.Id).Apply(System.Enum.Parse<Equinix.Metal/operatingSystem.OperatingSystem>), + /// OperatingSystem = example.Apply(getOperatingSystemResult => getOperatingSystemResult.Id).Apply(System.Enum.Parse<Equinix.Metal.OperatingSystem.OperatingSystem>), /// BillingCycle = "hourly", /// ProjectId = local.Project_id, /// }); diff --git a/sdk/go.mod b/sdk/go.mod index d5bac093..2fc9d86d 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -1,19 +1,20 @@ module github.com/equinix/pulumi-equinix/sdk -go 1.20 +go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.89.0 + github.com/pulumi/pulumi/sdk/v3 v3.90.0 ) require ( - github.com/Microsoft/go-winio v0.5.2 // indirect - github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect - github.com/acomagu/bufpipe v1.0.3 // indirect + dario.cat/mergo v1.0.0 // indirect + github.com/Microsoft/go-winio v0.6.1 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect + github.com/acomagu/bufpipe v1.0.4 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect - github.com/apparentlymart/go-textseg/v13 v13.0.0 // 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/charmbracelet/bubbles v0.16.1 // indirect @@ -24,21 +25,23 @@ require ( github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect github.com/djherbis/times v1.5.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect - github.com/go-git/gcfg v1.5.0 // indirect - github.com/go-git/go-billy/v5 v5.4.0 // indirect - github.com/go-git/go-git/v5 v5.6.0 // indirect + github.com/frankban/quicktest v1.14.5 // indirect + github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect + github.com/go-git/go-billy/v5 v5.4.1 // indirect + github.com/go-git/go-git/v5 v5.8.1 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/glog v1.1.0 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // 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.17.0 // indirect - github.com/imdario/mergo v0.3.13 // indirect + github.com/hashicorp/hcl/v2 v2.18.0 // 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-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.18 // indirect github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.14 // indirect @@ -53,35 +56,39 @@ require ( 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/esc v0.5.2 // indirect + github.com/pulumi/esc v0.5.6 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.11.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.1 // indirect - github.com/skeema/knownhosts v1.1.0 // indirect - github.com/spf13/cast v1.4.1 // indirect + github.com/skeema/knownhosts v1.2.0 // indirect + github.com/spf13/cast v1.5.0 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect + github.com/stretchr/objx v0.5.0 // 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.13.2 // indirect + github.com/zclconf/go-cty v1.14.0 // indirect go.uber.org/atomic v1.9.0 // indirect - golang.org/x/crypto v0.9.0 // indirect + golang.org/x/crypto v0.14.0 // indirect golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect - golang.org/x/net v0.10.0 // indirect - golang.org/x/sync v0.2.0 // indirect + golang.org/x/mod v0.13.0 // indirect + golang.org/x/net v0.17.0 // indirect + golang.org/x/sync v0.4.0 // indirect golang.org/x/sys v0.13.0 // indirect - golang.org/x/term v0.8.0 // indirect - golang.org/x/text v0.9.0 // indirect + golang.org/x/term v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect + golang.org/x/tools v0.14.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect google.golang.org/grpc v1.57.0 // indirect google.golang.org/protobuf v1.31.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 + pgregory.net/rapid v0.6.1 // indirect sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 // indirect ) diff --git a/sdk/go.sum b/sdk/go.sum index f9a66797..fe4795ff 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -1,18 +1,22 @@ +dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= +dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= -github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= +github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= -github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 h1:ra2OtmuW0AE5csawV4YXMNGNQQXvLRps3z2Z59OPO+I= -github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8= -github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk= -github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= +github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= +github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= +github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 h1:KLq8BE0KwCL+mmXnjLWEAOYO+2l2AE4YMmqG1ZpZHBs= +github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= +github.com/acomagu/bufpipe v1.0.4 h1:e3H4WUzM3npvo5uv95QuJM3cQspFNtFBzvJ2oNjKIDQ= +github.com/acomagu/bufpipe v1.0.4/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= -github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= -github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= +github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY= +github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= @@ -21,7 +25,7 @@ github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiE github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= +github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/charmbracelet/bubbles v0.16.1 h1:6uzpAAaT9ZqKssntbvZMlksWHruQLNxg49H5WdeuYSY= github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc= github.com/charmbracelet/bubbletea v0.24.2 h1:uaQIKx9Ai6Gdh5zpTbGiWpytMU+CfsPp06RaW2cx/SY= @@ -30,7 +34,6 @@ github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZ github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c= github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo= github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30= -github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I= github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs= github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 h1:q2hJAaP1k2wIvVRd/hEHD7lacgqrCPS+k8g1MndzfWY= @@ -42,26 +45,32 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= +github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819 h1:RIB4cRk+lBqKK3Oy0r2gRX4ui7tuhiZq2SuTtTCi0/0= +github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= +github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= +github.com/frankban/quicktest v1.14.5 h1:dfYrrRyLtiqT9GyKXgdh+k4inNeTvmGbuSgZ3lx3GhA= +github.com/frankban/quicktest v1.14.5/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= -github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= -github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= -github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-billy/v5 v5.4.0 h1:Vaw7LaSTRJOUric7pe4vnzBSgyuf2KrLsu2Y4ZpQBDE= -github.com/go-git/go-billy/v5 v5.4.0/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= -github.com/go-git/go-git-fixtures/v4 v4.3.1 h1:y5z6dd3qi8Hl+stezc8p3JxDkoTRqMAlKnXHuzrfjTQ= -github.com/go-git/go-git-fixtures/v4 v4.3.1/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= -github.com/go-git/go-git/v5 v5.6.0 h1:JvBdYfcttd+0kdpuWO7KTu0FYgCf5W0t5VwkWGobaa4= -github.com/go-git/go-git/v5 v5.6.0/go.mod h1:6nmJ0tJ3N4noMV1Omv7rC5FG3/o8Cm51TB4CJp7mRmE= +github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= +github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= +github.com/go-git/go-billy/v5 v5.4.1 h1:Uwp5tDRkPr+l/TnbHOQzp+tmJfLceOlbVucgpTz8ix4= +github.com/go-git/go-billy/v5 v5.4.1/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f h1:Pz0DHeFij3XFhoBRGUDPzSJ+w2UcK5/0JvF8DRI58r8= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= +github.com/go-git/go-git/v5 v5.8.1 h1:Zo79E4p7TRk0xoRgMq0RShiTHGKcKI4+DI6BfJc/Q+A= +github.com/go-git/go-git/v5 v5.8.1/go.mod h1:FHFuoD6yGz5OSKEBK+aWN9Oah0q54Jxl0abmj6GnqAo= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= @@ -75,23 +84,21 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= -github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= -github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= -github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= +github.com/hashicorp/hcl/v2 v2.18.0 h1:wYnG7Lt31t2zYkcquwgKo6MWXzRUDIeIVU5naZwHLl8= +github.com/hashicorp/hcl/v2 v2.18.0/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= -github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= @@ -101,9 +108,11 @@ github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= +github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= @@ -116,7 +125,6 @@ github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= -github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM= github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b h1:1XF24mVaiu7u+CFywTdcDo2ie1pzzhwjt6RHqzpMU34= github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b/go.mod h1:fQuZ0gauxyBcmsdE3ZT4NasjaRdxmbCS0jRHsrWu3Ho= github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= @@ -133,20 +141,22 @@ github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+ github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= -github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= -github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= -github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= +github.com/pulumi/esc v0.5.6 h1:4WV3X7OEVcChIwbSG+JxhZDdmq/q7lFPaSjHRYlPwmI= +github.com/pulumi/esc v0.5.6/go.mod h1:wpwNfVS5fV7Kd51j4dJ6FWYlKfxdqyppgp0gtkzqH04= +github.com/pulumi/pulumi/sdk/v3 v3.90.0 h1:+P8fE0Ja8Q93G5uKBAtxGlc9xt+z+E7+7Ggx366Bb38= +github.com/pulumi/pulumi/sdk/v3 v3.90.0/go.mod h1:zYaQQibB2pYKy/uG4c4YkX7lQIBpZ0KsuMaq/3HsIBQ= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= @@ -154,27 +164,30 @@ github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDj github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= -github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ysW0= -github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= -github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= -github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/skeema/knownhosts v1.2.0 h1:h9r9cf0+u7wSE+M183ZtMGgOJKiL96brpaz5ekfJCpM= +github.com/skeema/knownhosts v1.2.0/go.mod h1:g4fPeYpque7P0xefxtGzV81ihjC8sX2IqpAoNkjxbMo= +github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= +github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= @@ -188,22 +201,19 @@ github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= -github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +github.com/zclconf/go-cty v1.14.0 h1:/Xrd39K7DXbHzlisFP9c4pHao4yyf+/Ug9LEz+Y/yhc= +github.com/zclconf/go-cty v1.14.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= -golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= -golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= +golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= @@ -211,7 +221,9 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= +golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -220,57 +232,57 @@ golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwY golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= -golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= +golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -278,7 +290,9 @@ golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapK golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= +golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= +golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= +golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -293,22 +307,19 @@ google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= lukechampine.com/frand v1.4.2 h1:RzFIpOvkMXuPMBb9maa4ND4wjBn71E1Jpf8BzJHMaVw= lukechampine.com/frand v1.4.2/go.mod h1:4S/TM2ZgrKejMcKMbeLjISpJMO+/eZ1zu3vYX9dtj3s= -pgregory.net/rapid v0.5.5 h1:jkgx1TjbQPD/feRoK+S/mXw9e1uj6WilpHrXJowi6oA= -rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= +pgregory.net/rapid v0.6.1 h1:4eyrDxyht86tT4Ztm+kvlyNBLIk071gR+ZQdhphc9dQ= +pgregory.net/rapid v0.6.1/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 h1:hfyJ5ku9yFtLVOiSxa3IN+dx5eBQT9mPmKFypAmg8XM= sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/sdk/python/pulumi_equinix/fabric/_inputs.py b/sdk/python/pulumi_equinix/fabric/_inputs.py index ad7e50ee..21969e76 100644 --- a/sdk/python/pulumi_equinix/fabric/_inputs.py +++ b/sdk/python/pulumi_equinix/fabric/_inputs.py @@ -117,7 +117,7 @@ def _configure( account_number: Optional[pulumi.Input[int]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] if account_number is not None: @@ -183,29 +183,29 @@ def _configure( updated_date_time: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] if created_by is not None: @@ -371,9 +371,9 @@ def _configure( region: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] if ibx is not None: @@ -454,12 +454,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - emails: pulumi.Input[Sequence[pulumi.Input[str]]], - type: pulumi.Input[str], + emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[str]] = None, send_interval: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'sendInterval' in kwargs: + if emails is None: + raise TypeError("Missing 'emails' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if send_interval is None and 'sendInterval' in kwargs: send_interval = kwargs['sendInterval'] _setter("emails", emails) @@ -533,13 +537,13 @@ def _configure( purchase_order_number: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'billingTier' in kwargs: + if billing_tier is None and 'billingTier' in kwargs: billing_tier = kwargs['billingTier'] - if 'orderId' in kwargs: + if order_id is None and 'orderId' in kwargs: order_id = kwargs['orderId'] - if 'orderNumber' in kwargs: + if order_number is None and 'orderNumber' in kwargs: order_number = kwargs['orderNumber'] - if 'purchaseOrderNumber' in kwargs: + if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: purchase_order_number = kwargs['purchaseOrderNumber'] if billing_tier is not None: @@ -614,9 +618,11 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - code: pulumi.Input[str], + code: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if code is None: + raise TypeError("Missing 'code' argument") _setter("code", code) @@ -654,7 +660,7 @@ def _configure( project_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] if href is not None: @@ -712,11 +718,11 @@ def _configure( service_token: Optional[pulumi.Input['ConnectionASideServiceTokenArgs']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPoint' in kwargs: + if access_point is None and 'accessPoint' in kwargs: access_point = kwargs['accessPoint'] - if 'additionalInfo' in kwargs: + if additional_info is None and 'additionalInfo' in kwargs: additional_info = kwargs['additionalInfo'] - if 'serviceToken' in kwargs: + if service_token is None and 'serviceToken' in kwargs: service_token = kwargs['serviceToken'] if access_point is not None: @@ -838,19 +844,19 @@ def _configure( virtual_device: Optional[pulumi.Input['ConnectionASideAccessPointVirtualDeviceArgs']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'authenticationKey' in kwargs: + if authentication_key is None and 'authenticationKey' in kwargs: authentication_key = kwargs['authenticationKey'] - if 'linkProtocol' in kwargs: + if link_protocol is None and 'linkProtocol' in kwargs: link_protocol = kwargs['linkProtocol'] - if 'peeringType' in kwargs: + if peering_type is None and 'peeringType' in kwargs: peering_type = kwargs['peeringType'] - if 'providerConnectionId' in kwargs: + if provider_connection_id is None and 'providerConnectionId' in kwargs: provider_connection_id = kwargs['providerConnectionId'] - if 'routingProtocols' in kwargs: + if routing_protocols is None and 'routingProtocols' in kwargs: routing_protocols = kwargs['routingProtocols'] - if 'sellerRegion' in kwargs: + if seller_region is None and 'sellerRegion' in kwargs: seller_region = kwargs['sellerRegion'] - if 'virtualDevice' in kwargs: + if virtual_device is None and 'virtualDevice' in kwargs: virtual_device = kwargs['virtualDevice'] if account is not None: @@ -1111,19 +1117,19 @@ def _configure( organization_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] if account_name is not None: @@ -1356,11 +1362,11 @@ def _configure( vlan_tag: Optional[pulumi.Input[int]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'vlanCTag' in kwargs: + if vlan_c_tag is None and 'vlanCTag' in kwargs: vlan_c_tag = kwargs['vlanCTag'] - if 'vlanSTag' in kwargs: + if vlan_s_tag is None and 'vlanSTag' in kwargs: vlan_s_tag = kwargs['vlanSTag'] - if 'vlanTag' in kwargs: + if vlan_tag is None and 'vlanTag' in kwargs: vlan_tag = kwargs['vlanTag'] if type is not None: @@ -1450,9 +1456,9 @@ def _configure( region: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] if ibx is not None: @@ -1716,15 +1722,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[Union[str, 'ProfileType']], - uuid: pulumi.Input[str], + type: Optional[pulumi.Input[Union[str, 'ProfileType']]] = None, + uuid: Optional[pulumi.Input[str]] = None, access_point_type_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointProfileAccessPointTypeConfigArgs']]]] = None, description: Optional[pulumi.Input[str]] = None, href: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPointTypeConfigs' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") + if access_point_type_configs is None and 'accessPointTypeConfigs' in kwargs: access_point_type_configs = kwargs['accessPointTypeConfigs'] _setter("type", type) @@ -2227,19 +2237,19 @@ def _configure( organization_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] if account_name is not None: @@ -2368,29 +2378,29 @@ def _configure( updated_date_time: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] if created_by is not None: @@ -2547,12 +2557,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - emails: pulumi.Input[Sequence[pulumi.Input[str]]], - type: pulumi.Input[Union[str, 'NotificationsType']], + emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[Union[str, 'NotificationsType']]] = None, send_interval: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'sendInterval' in kwargs: + if emails is None: + raise TypeError("Missing 'emails' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if send_interval is None and 'sendInterval' in kwargs: send_interval = kwargs['sendInterval'] _setter("emails", emails) @@ -2617,9 +2631,9 @@ def _configure( provider_status: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'equinixStatus' in kwargs: + if equinix_status is None and 'equinixStatus' in kwargs: equinix_status = kwargs['equinixStatus'] - if 'providerStatus' in kwargs: + if provider_status is None and 'providerStatus' in kwargs: provider_status = kwargs['providerStatus'] if equinix_status is not None: @@ -2689,13 +2703,13 @@ def _configure( help: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'additionalInfo' in kwargs: + if additional_info is None and 'additionalInfo' in kwargs: additional_info = kwargs['additionalInfo'] - if 'correlationId' in kwargs: + if correlation_id is None and 'correlationId' in kwargs: correlation_id = kwargs['correlationId'] - if 'errorCode' in kwargs: + if error_code is None and 'errorCode' in kwargs: error_code = kwargs['errorCode'] - if 'errorMessage' in kwargs: + if error_message is None and 'errorMessage' in kwargs: error_message = kwargs['errorMessage'] if additional_info is not None: @@ -2840,13 +2854,13 @@ def _configure( purchase_order_number: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'billingTier' in kwargs: + if billing_tier is None and 'billingTier' in kwargs: billing_tier = kwargs['billingTier'] - if 'orderId' in kwargs: + if order_id is None and 'orderId' in kwargs: order_id = kwargs['orderId'] - if 'orderNumber' in kwargs: + if order_number is None and 'orderNumber' in kwargs: order_number = kwargs['orderNumber'] - if 'purchaseOrderNumber' in kwargs: + if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: purchase_order_number = kwargs['purchaseOrderNumber'] if billing_tier is not None: @@ -2928,7 +2942,7 @@ def _configure( project_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] if href is not None: @@ -3038,11 +3052,11 @@ def _configure( service_token: Optional[pulumi.Input['ConnectionZSideServiceTokenArgs']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPoint' in kwargs: + if access_point is None and 'accessPoint' in kwargs: access_point = kwargs['accessPoint'] - if 'additionalInfo' in kwargs: + if additional_info is None and 'additionalInfo' in kwargs: additional_info = kwargs['additionalInfo'] - if 'serviceToken' in kwargs: + if service_token is None and 'serviceToken' in kwargs: service_token = kwargs['serviceToken'] if access_point is not None: @@ -3164,19 +3178,19 @@ def _configure( virtual_device: Optional[pulumi.Input['ConnectionZSideAccessPointVirtualDeviceArgs']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'authenticationKey' in kwargs: + if authentication_key is None and 'authenticationKey' in kwargs: authentication_key = kwargs['authenticationKey'] - if 'linkProtocol' in kwargs: + if link_protocol is None and 'linkProtocol' in kwargs: link_protocol = kwargs['linkProtocol'] - if 'peeringType' in kwargs: + if peering_type is None and 'peeringType' in kwargs: peering_type = kwargs['peeringType'] - if 'providerConnectionId' in kwargs: + if provider_connection_id is None and 'providerConnectionId' in kwargs: provider_connection_id = kwargs['providerConnectionId'] - if 'routingProtocols' in kwargs: + if routing_protocols is None and 'routingProtocols' in kwargs: routing_protocols = kwargs['routingProtocols'] - if 'sellerRegion' in kwargs: + if seller_region is None and 'sellerRegion' in kwargs: seller_region = kwargs['sellerRegion'] - if 'virtualDevice' in kwargs: + if virtual_device is None and 'virtualDevice' in kwargs: virtual_device = kwargs['virtualDevice'] if account is not None: @@ -3437,19 +3451,19 @@ def _configure( organization_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] if account_name is not None: @@ -3682,11 +3696,11 @@ def _configure( vlan_tag: Optional[pulumi.Input[int]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'vlanCTag' in kwargs: + if vlan_c_tag is None and 'vlanCTag' in kwargs: vlan_c_tag = kwargs['vlanCTag'] - if 'vlanSTag' in kwargs: + if vlan_s_tag is None and 'vlanSTag' in kwargs: vlan_s_tag = kwargs['vlanSTag'] - if 'vlanTag' in kwargs: + if vlan_tag is None and 'vlanTag' in kwargs: vlan_tag = kwargs['vlanTag'] if type is not None: @@ -3776,9 +3790,9 @@ def _configure( region: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] if ibx is not None: @@ -4042,15 +4056,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[Union[str, 'ProfileType']], - uuid: pulumi.Input[str], + type: Optional[pulumi.Input[Union[str, 'ProfileType']]] = None, + uuid: Optional[pulumi.Input[str]] = None, access_point_type_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs']]]] = None, description: Optional[pulumi.Input[str]] = None, href: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPointTypeConfigs' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") + if access_point_type_configs is None and 'accessPointTypeConfigs' in kwargs: access_point_type_configs = kwargs['accessPointTypeConfigs'] _setter("type", type) @@ -4538,10 +4556,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - enabled: pulumi.Input[bool], + enabled: Optional[pulumi.Input[bool]] = None, interval: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if enabled is None: + raise TypeError("Missing 'enabled' argument") _setter("enabled", enabled) if interval is not None: @@ -4592,14 +4612,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - customer_peer_ip: pulumi.Input[str], + customer_peer_ip: Optional[pulumi.Input[str]] = None, enabled: Optional[pulumi.Input[bool]] = None, equinix_peer_ip: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'customerPeerIp' in kwargs: + if customer_peer_ip is None and 'customerPeerIp' in kwargs: customer_peer_ip = kwargs['customerPeerIp'] - if 'equinixPeerIp' in kwargs: + if customer_peer_ip is None: + raise TypeError("Missing 'customer_peer_ip' argument") + if equinix_peer_ip is None and 'equinixPeerIp' in kwargs: equinix_peer_ip = kwargs['equinixPeerIp'] _setter("customer_peer_ip", customer_peer_ip) @@ -4665,14 +4687,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - customer_peer_ip: pulumi.Input[str], + customer_peer_ip: Optional[pulumi.Input[str]] = None, enabled: Optional[pulumi.Input[bool]] = None, equinix_peer_ip: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'customerPeerIp' in kwargs: + if customer_peer_ip is None and 'customerPeerIp' in kwargs: customer_peer_ip = kwargs['customerPeerIp'] - if 'equinixPeerIp' in kwargs: + if customer_peer_ip is None: + raise TypeError("Missing 'customer_peer_ip' argument") + if equinix_peer_ip is None and 'equinixPeerIp' in kwargs: equinix_peer_ip = kwargs['equinixPeerIp'] _setter("customer_peer_ip", customer_peer_ip) @@ -4821,29 +4845,29 @@ def _configure( updated_date_time: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] if created_by is not None: @@ -4994,11 +5018,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - equinix_iface_ip: pulumi.Input[str], + equinix_iface_ip: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'equinixIfaceIp' in kwargs: + if equinix_iface_ip is None and 'equinixIfaceIp' in kwargs: equinix_iface_ip = kwargs['equinixIfaceIp'] + if equinix_iface_ip is None: + raise TypeError("Missing 'equinix_iface_ip' argument") _setter("equinix_iface_ip", equinix_iface_ip) @@ -5032,7 +5058,7 @@ def _configure( equinix_iface_ip: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'equinixIfaceIp' in kwargs: + if equinix_iface_ip is None and 'equinixIfaceIp' in kwargs: equinix_iface_ip = kwargs['equinixIfaceIp'] if equinix_iface_ip is not None: @@ -5108,13 +5134,13 @@ def _configure( help: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'additionalInfos' in kwargs: + if additional_infos is None and 'additionalInfos' in kwargs: additional_infos = kwargs['additionalInfos'] - if 'correlationId' in kwargs: + if correlation_id is None and 'correlationId' in kwargs: correlation_id = kwargs['correlationId'] - if 'errorCode' in kwargs: + if error_code is None and 'errorCode' in kwargs: error_code = kwargs['errorCode'] - if 'errorMessage' in kwargs: + if error_message is None and 'errorMessage' in kwargs: error_message = kwargs['errorMessage'] if additional_infos is not None: @@ -5280,7 +5306,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[Union[str, 'ProfileAccessPointType']], + type: Optional[pulumi.Input[Union[str, 'ProfileAccessPointType']]] = None, allow_bandwidth_auto_approval: Optional[pulumi.Input[bool]] = None, allow_bandwidth_upgrade: Optional[pulumi.Input[bool]] = None, allow_custom_bandwidth: Optional[pulumi.Input[bool]] = None, @@ -5296,29 +5322,31 @@ def _configure( uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowBandwidthAutoApproval' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if allow_bandwidth_auto_approval is None and 'allowBandwidthAutoApproval' in kwargs: allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] - if 'allowBandwidthUpgrade' in kwargs: + if allow_bandwidth_upgrade is None and 'allowBandwidthUpgrade' in kwargs: allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] - if 'allowCustomBandwidth' in kwargs: + if allow_custom_bandwidth is None and 'allowCustomBandwidth' in kwargs: allow_custom_bandwidth = kwargs['allowCustomBandwidth'] - if 'allowRemoteConnections' in kwargs: + if allow_remote_connections is None and 'allowRemoteConnections' in kwargs: allow_remote_connections = kwargs['allowRemoteConnections'] - if 'apiConfig' in kwargs: + if api_config is None and 'apiConfig' in kwargs: api_config = kwargs['apiConfig'] - if 'authenticationKey' in kwargs: + if authentication_key is None and 'authenticationKey' in kwargs: authentication_key = kwargs['authenticationKey'] - if 'bandwidthAlertThreshold' in kwargs: + if bandwidth_alert_threshold is None and 'bandwidthAlertThreshold' in kwargs: bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] - if 'connectionLabel' in kwargs: + if connection_label is None and 'connectionLabel' in kwargs: connection_label = kwargs['connectionLabel'] - if 'connectionRedundancyRequired' in kwargs: + if connection_redundancy_required is None and 'connectionRedundancyRequired' in kwargs: connection_redundancy_required = kwargs['connectionRedundancyRequired'] - if 'enableAutoGenerateServiceKey' in kwargs: + if enable_auto_generate_service_key is None and 'enableAutoGenerateServiceKey' in kwargs: enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] - if 'linkProtocolConfig' in kwargs: + if link_protocol_config is None and 'linkProtocolConfig' in kwargs: link_protocol_config = kwargs['linkProtocolConfig'] - if 'supportedBandwidths' in kwargs: + if supported_bandwidths is None and 'supportedBandwidths' in kwargs: supported_bandwidths = kwargs['supportedBandwidths'] _setter("type", type) @@ -5559,19 +5587,19 @@ def _configure( over_subscription_limit: Optional[pulumi.Input[int]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowOverSubscription' in kwargs: + if allow_over_subscription is None and 'allowOverSubscription' in kwargs: allow_over_subscription = kwargs['allowOverSubscription'] - if 'apiAvailable' in kwargs: + if api_available is None and 'apiAvailable' in kwargs: api_available = kwargs['apiAvailable'] - if 'bandwidthFromApi' in kwargs: + if bandwidth_from_api is None and 'bandwidthFromApi' in kwargs: bandwidth_from_api = kwargs['bandwidthFromApi'] - if 'equinixManagedPort' in kwargs: + if equinix_managed_port is None and 'equinixManagedPort' in kwargs: equinix_managed_port = kwargs['equinixManagedPort'] - if 'equinixManagedVlan' in kwargs: + if equinix_managed_vlan is None and 'equinixManagedVlan' in kwargs: equinix_managed_vlan = kwargs['equinixManagedVlan'] - if 'integrationId' in kwargs: + if integration_id is None and 'integrationId' in kwargs: integration_id = kwargs['integrationId'] - if 'overSubscriptionLimit' in kwargs: + if over_subscription_limit is None and 'overSubscriptionLimit' in kwargs: over_subscription_limit = kwargs['overSubscriptionLimit'] if allow_over_subscription is not None: @@ -5769,9 +5797,9 @@ def _configure( reuse_vlan_s_tag: Optional[pulumi.Input[bool]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'encapsulationStrategy' in kwargs: + if encapsulation_strategy is None and 'encapsulationStrategy' in kwargs: encapsulation_strategy = kwargs['encapsulationStrategy'] - if 'reuseVlanSTag' in kwargs: + if reuse_vlan_s_tag is None and 'reuseVlanSTag' in kwargs: reuse_vlan_s_tag = kwargs['reuseVlanSTag'] if encapsulation is not None: @@ -5863,21 +5891,21 @@ def _configure( ucm_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] - if 'ucmId' in kwargs: + if ucm_id is None and 'ucmId' in kwargs: ucm_id = kwargs['ucmId'] if account_name is not None: @@ -6041,29 +6069,29 @@ def _configure( updated_date_time: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] if created_by is not None: @@ -6229,17 +6257,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_type: pulumi.Input[str], - label: pulumi.Input[str], - required: pulumi.Input[bool], + data_type: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + required: Optional[pulumi.Input[bool]] = None, capture_in_email: Optional[pulumi.Input[bool]] = None, description: Optional[pulumi.Input[str]] = None, options: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'dataType' in kwargs: + if data_type is None and 'dataType' in kwargs: data_type = kwargs['dataType'] - if 'captureInEmail' in kwargs: + if data_type is None: + raise TypeError("Missing 'data_type' argument") + if label is None: + raise TypeError("Missing 'label' argument") + if required is None: + raise TypeError("Missing 'required' argument") + if capture_in_email is None and 'captureInEmail' in kwargs: capture_in_email = kwargs['captureInEmail'] _setter("data_type", data_type) @@ -6350,7 +6384,7 @@ def _configure( promotion: Optional[pulumi.Input[bool]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'processSteps' in kwargs: + if process_steps is None and 'processSteps' in kwargs: process_steps = kwargs['processSteps'] if logo is not None: @@ -6422,7 +6456,7 @@ def _configure( title: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'subTitle' in kwargs: + if sub_title is None and 'subTitle' in kwargs: sub_title = kwargs['subTitle'] if description is not None: @@ -6506,11 +6540,11 @@ def _configure( seller_regions: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'displayName' in kwargs: + if display_name is None and 'displayName' in kwargs: display_name = kwargs['displayName'] - if 'inTrail' in kwargs: + if in_trail is None and 'inTrail' in kwargs: in_trail = kwargs['inTrail'] - if 'sellerRegions' in kwargs: + if seller_regions is None and 'sellerRegions' in kwargs: seller_regions = kwargs['sellerRegions'] if code is not None: @@ -6619,12 +6653,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - emails: pulumi.Input[Sequence[pulumi.Input[str]]], - type: pulumi.Input[Union[str, 'NotificationsType']], + emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[Union[str, 'NotificationsType']]] = None, send_interval: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'sendInterval' in kwargs: + if emails is None: + raise TypeError("Missing 'emails' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if send_interval is None and 'sendInterval' in kwargs: send_interval = kwargs['sendInterval'] _setter("emails", emails) @@ -6698,19 +6736,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], - uuid: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, cross_connect_id: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input['ServiceProfilePortLocationArgs']] = None, seller_region: Optional[pulumi.Input[str]] = None, seller_region_description: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'crossConnectId' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") + if cross_connect_id is None and 'crossConnectId' in kwargs: cross_connect_id = kwargs['crossConnectId'] - if 'sellerRegion' in kwargs: + if seller_region is None and 'sellerRegion' in kwargs: seller_region = kwargs['sellerRegion'] - if 'sellerRegionDescription' in kwargs: + if seller_region_description is None and 'sellerRegionDescription' in kwargs: seller_region_description = kwargs['sellerRegionDescription'] _setter("type", type) @@ -6826,9 +6868,9 @@ def _configure( region: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] if ibx is not None: @@ -6910,7 +6952,7 @@ def _configure( project_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] if href is not None: @@ -6966,13 +7008,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], - uuid: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, interface_uuid: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input['ServiceProfileVirtualDeviceLocationArgs']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'interfaceUuid' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") + if interface_uuid is None and 'interfaceUuid' in kwargs: interface_uuid = kwargs['interfaceUuid'] _setter("type", type) @@ -7060,9 +7106,9 @@ def _configure( region: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] if ibx is not None: @@ -7140,12 +7186,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - project_id: str, + href: Optional[str] = None, + project_id: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if href is None: + raise TypeError("Missing 'href' argument") + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] + if project_id is None: + raise TypeError("Missing 'project_id' argument") _setter("href", href) _setter("project_id", project_id) @@ -7192,12 +7242,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - project_id: str, + href: Optional[str] = None, + project_id: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if href is None: + raise TypeError("Missing 'href' argument") + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] + if project_id is None: + raise TypeError("Missing 'project_id' argument") _setter("href", href) _setter("project_id", project_id) @@ -7278,10 +7332,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - enabled: bool, + enabled: Optional[bool] = None, interval: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if enabled is None: + raise TypeError("Missing 'enabled' argument") _setter("enabled", enabled) if interval is not None: @@ -7332,15 +7388,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - customer_peer_ip: str, - equinix_peer_ip: str, + customer_peer_ip: Optional[str] = None, + equinix_peer_ip: Optional[str] = None, enabled: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'customerPeerIp' in kwargs: + if customer_peer_ip is None and 'customerPeerIp' in kwargs: customer_peer_ip = kwargs['customerPeerIp'] - if 'equinixPeerIp' in kwargs: + if customer_peer_ip is None: + raise TypeError("Missing 'customer_peer_ip' argument") + if equinix_peer_ip is None and 'equinixPeerIp' in kwargs: equinix_peer_ip = kwargs['equinixPeerIp'] + if equinix_peer_ip is None: + raise TypeError("Missing 'equinix_peer_ip' argument") _setter("customer_peer_ip", customer_peer_ip) _setter("equinix_peer_ip", equinix_peer_ip) @@ -7404,15 +7464,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - customer_peer_ip: str, - equinix_peer_ip: str, + customer_peer_ip: Optional[str] = None, + equinix_peer_ip: Optional[str] = None, enabled: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'customerPeerIp' in kwargs: + if customer_peer_ip is None and 'customerPeerIp' in kwargs: customer_peer_ip = kwargs['customerPeerIp'] - if 'equinixPeerIp' in kwargs: + if customer_peer_ip is None: + raise TypeError("Missing 'customer_peer_ip' argument") + if equinix_peer_ip is None and 'equinixPeerIp' in kwargs: equinix_peer_ip = kwargs['equinixPeerIp'] + if equinix_peer_ip is None: + raise TypeError("Missing 'equinix_peer_ip' argument") _setter("customer_peer_ip", customer_peer_ip) _setter("equinix_peer_ip", equinix_peer_ip) @@ -7470,11 +7534,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - equinix_iface_ip: str, + equinix_iface_ip: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'equinixIfaceIp' in kwargs: + if equinix_iface_ip is None and 'equinixIfaceIp' in kwargs: equinix_iface_ip = kwargs['equinixIfaceIp'] + if equinix_iface_ip is None: + raise TypeError("Missing 'equinix_iface_ip' argument") _setter("equinix_iface_ip", equinix_iface_ip) @@ -7508,7 +7574,7 @@ def _configure( equinix_iface_ip: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'equinixIfaceIp' in kwargs: + if equinix_iface_ip is None and 'equinixIfaceIp' in kwargs: equinix_iface_ip = kwargs['equinixIfaceIp'] if equinix_iface_ip is not None: diff --git a/sdk/python/pulumi_equinix/fabric/cloud_router.py b/sdk/python/pulumi_equinix/fabric/cloud_router.py index ad11aa9d..530b3ec5 100644 --- a/sdk/python/pulumi_equinix/fabric/cloud_router.py +++ b/sdk/python/pulumi_equinix/fabric/cloud_router.py @@ -52,10 +52,10 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - location: pulumi.Input['CloudRouterLocationArgs'], - notifications: pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]], - package: pulumi.Input['CloudRouterPackageArgs'], - type: pulumi.Input[str], + location: Optional[pulumi.Input['CloudRouterLocationArgs']] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]]] = None, + package: Optional[pulumi.Input['CloudRouterPackageArgs']] = None, + type: Optional[pulumi.Input[str]] = None, account: Optional[pulumi.Input['CloudRouterAccountArgs']] = None, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, @@ -63,6 +63,14 @@ def _configure( projects: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterProjectArgs']]]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if location is None: + raise TypeError("Missing 'location' argument") + if notifications is None: + raise TypeError("Missing 'notifications' argument") + if package is None: + raise TypeError("Missing 'package' argument") + if type is None: + raise TypeError("Missing 'type' argument") _setter("location", location) _setter("notifications", notifications) @@ -254,9 +262,9 @@ def _configure( type: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'changeLogs' in kwargs: + if change_logs is None and 'changeLogs' in kwargs: change_logs = kwargs['changeLogs'] - if 'equinixAsn' in kwargs: + if equinix_asn is None and 'equinixAsn' in kwargs: equinix_asn = kwargs['equinixAsn'] if account is not None: diff --git a/sdk/python/pulumi_equinix/fabric/connection.py b/sdk/python/pulumi_equinix/fabric/connection.py index f4c05c6d..8165aa8a 100644 --- a/sdk/python/pulumi_equinix/fabric/connection.py +++ b/sdk/python/pulumi_equinix/fabric/connection.py @@ -57,11 +57,11 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - a_side: pulumi.Input['ConnectionASideArgs'], - bandwidth: pulumi.Input[int], - notifications: pulumi.Input[Sequence[pulumi.Input['ConnectionNotificationArgs']]], - type: pulumi.Input[Union[str, 'ConnectionType']], - z_side: pulumi.Input['ConnectionZSideArgs'], + a_side: Optional[pulumi.Input['ConnectionASideArgs']] = None, + bandwidth: Optional[pulumi.Input[int]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionNotificationArgs']]]] = None, + type: Optional[pulumi.Input[Union[str, 'ConnectionType']]] = None, + z_side: Optional[pulumi.Input['ConnectionZSideArgs']] = None, additional_info: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]] = None, name: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input['ConnectionOrderArgs']] = None, @@ -69,11 +69,21 @@ def _configure( redundancy: Optional[pulumi.Input['ConnectionRedundancyArgs']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'aSide' in kwargs: + if a_side is None and 'aSide' in kwargs: a_side = kwargs['aSide'] - if 'zSide' in kwargs: + if a_side is None: + raise TypeError("Missing 'a_side' argument") + if bandwidth is None: + raise TypeError("Missing 'bandwidth' argument") + if notifications is None: + raise TypeError("Missing 'notifications' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if z_side is None and 'zSide' in kwargs: z_side = kwargs['zSide'] - if 'additionalInfo' in kwargs: + if z_side is None: + raise TypeError("Missing 'z_side' argument") + if additional_info is None and 'additionalInfo' in kwargs: additional_info = kwargs['additionalInfo'] _setter("a_side", a_side) @@ -295,15 +305,15 @@ def _configure( z_side: Optional[pulumi.Input['ConnectionZSideArgs']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'aSide' in kwargs: + if a_side is None and 'aSide' in kwargs: a_side = kwargs['aSide'] - if 'additionalInfo' in kwargs: + if additional_info is None and 'additionalInfo' in kwargs: additional_info = kwargs['additionalInfo'] - if 'changeLog' in kwargs: + if change_log is None and 'changeLog' in kwargs: change_log = kwargs['changeLog'] - if 'isRemote' in kwargs: + if is_remote is None and 'isRemote' in kwargs: is_remote = kwargs['isRemote'] - if 'zSide' in kwargs: + if z_side is None and 'zSide' in kwargs: z_side = kwargs['zSide'] if a_side is not None: diff --git a/sdk/python/pulumi_equinix/fabric/outputs.py b/sdk/python/pulumi_equinix/fabric/outputs.py index fa997f97..9d03788d 100644 --- a/sdk/python/pulumi_equinix/fabric/outputs.py +++ b/sdk/python/pulumi_equinix/fabric/outputs.py @@ -235,7 +235,7 @@ def _configure( account_number: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] if account_number is not None: @@ -336,29 +336,29 @@ def _configure( updated_date_time: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] if created_by is not None: @@ -495,9 +495,9 @@ def _configure( region: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] if ibx is not None: @@ -579,12 +579,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - emails: Sequence[str], - type: str, + emails: Optional[Sequence[str]] = None, + type: Optional[str] = None, send_interval: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'sendInterval' in kwargs: + if emails is None: + raise TypeError("Missing 'emails' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if send_interval is None and 'sendInterval' in kwargs: send_interval = kwargs['sendInterval'] _setter("emails", emails) @@ -669,13 +673,13 @@ def _configure( purchase_order_number: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'billingTier' in kwargs: + if billing_tier is None and 'billingTier' in kwargs: billing_tier = kwargs['billingTier'] - if 'orderId' in kwargs: + if order_id is None and 'orderId' in kwargs: order_id = kwargs['orderId'] - if 'orderNumber' in kwargs: + if order_number is None and 'orderNumber' in kwargs: order_number = kwargs['orderNumber'] - if 'purchaseOrderNumber' in kwargs: + if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: purchase_order_number = kwargs['purchaseOrderNumber'] if billing_tier is not None: @@ -734,9 +738,11 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - code: str, + code: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if code is None: + raise TypeError("Missing 'code' argument") _setter("code", code) @@ -787,7 +793,7 @@ def _configure( project_id: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] if href is not None: @@ -858,11 +864,11 @@ def _configure( service_token: Optional['outputs.ConnectionASideServiceToken'] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPoint' in kwargs: + if access_point is None and 'accessPoint' in kwargs: access_point = kwargs['accessPoint'] - if 'additionalInfo' in kwargs: + if additional_info is None and 'additionalInfo' in kwargs: additional_info = kwargs['additionalInfo'] - if 'serviceToken' in kwargs: + if service_token is None and 'serviceToken' in kwargs: service_token = kwargs['serviceToken'] if access_point is not None: @@ -1001,19 +1007,19 @@ def _configure( virtual_device: Optional['outputs.ConnectionASideAccessPointVirtualDevice'] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'authenticationKey' in kwargs: + if authentication_key is None and 'authenticationKey' in kwargs: authentication_key = kwargs['authenticationKey'] - if 'linkProtocol' in kwargs: + if link_protocol is None and 'linkProtocol' in kwargs: link_protocol = kwargs['linkProtocol'] - if 'peeringType' in kwargs: + if peering_type is None and 'peeringType' in kwargs: peering_type = kwargs['peeringType'] - if 'providerConnectionId' in kwargs: + if provider_connection_id is None and 'providerConnectionId' in kwargs: provider_connection_id = kwargs['providerConnectionId'] - if 'routingProtocols' in kwargs: + if routing_protocols is None and 'routingProtocols' in kwargs: routing_protocols = kwargs['routingProtocols'] - if 'sellerRegion' in kwargs: + if seller_region is None and 'sellerRegion' in kwargs: seller_region = kwargs['sellerRegion'] - if 'virtualDevice' in kwargs: + if virtual_device is None and 'virtualDevice' in kwargs: virtual_device = kwargs['virtualDevice'] if account is not None: @@ -1236,19 +1242,19 @@ def _configure( organization_name: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] if account_name is not None: @@ -1454,11 +1460,11 @@ def _configure( vlan_tag: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'vlanCTag' in kwargs: + if vlan_c_tag is None and 'vlanCTag' in kwargs: vlan_c_tag = kwargs['vlanCTag'] - if 'vlanSTag' in kwargs: + if vlan_s_tag is None and 'vlanSTag' in kwargs: vlan_s_tag = kwargs['vlanSTag'] - if 'vlanTag' in kwargs: + if vlan_tag is None and 'vlanTag' in kwargs: vlan_tag = kwargs['vlanTag'] if type is not None: @@ -1551,9 +1557,9 @@ def _configure( region: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] if ibx is not None: @@ -1790,15 +1796,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, - uuid: str, + type: Optional[str] = None, + uuid: Optional[str] = None, access_point_type_configs: Optional[Sequence['outputs.ConnectionASideAccessPointProfileAccessPointTypeConfig']] = None, description: Optional[str] = None, href: Optional[str] = None, name: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPointTypeConfigs' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") + if access_point_type_configs is None and 'accessPointTypeConfigs' in kwargs: access_point_type_configs = kwargs['accessPointTypeConfigs'] _setter("type", type) @@ -2242,19 +2252,19 @@ def _configure( organization_name: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] if account_name is not None: @@ -2394,29 +2404,29 @@ def _configure( updated_date_time: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] if created_by is not None: @@ -2542,12 +2552,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - emails: Sequence[str], - type: str, + emails: Optional[Sequence[str]] = None, + type: Optional[str] = None, send_interval: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'sendInterval' in kwargs: + if emails is None: + raise TypeError("Missing 'emails' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if send_interval is None and 'sendInterval' in kwargs: send_interval = kwargs['sendInterval'] _setter("emails", emails) @@ -2619,9 +2633,9 @@ def _configure( provider_status: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'equinixStatus' in kwargs: + if equinix_status is None and 'equinixStatus' in kwargs: equinix_status = kwargs['equinixStatus'] - if 'providerStatus' in kwargs: + if provider_status is None and 'providerStatus' in kwargs: provider_status = kwargs['providerStatus'] if equinix_status is not None: @@ -2702,13 +2716,13 @@ def _configure( help: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'additionalInfo' in kwargs: + if additional_info is None and 'additionalInfo' in kwargs: additional_info = kwargs['additionalInfo'] - if 'correlationId' in kwargs: + if correlation_id is None and 'correlationId' in kwargs: correlation_id = kwargs['correlationId'] - if 'errorCode' in kwargs: + if error_code is None and 'errorCode' in kwargs: error_code = kwargs['errorCode'] - if 'errorMessage' in kwargs: + if error_message is None and 'errorMessage' in kwargs: error_message = kwargs['errorMessage'] if additional_info is not None: @@ -2844,13 +2858,13 @@ def _configure( purchase_order_number: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'billingTier' in kwargs: + if billing_tier is None and 'billingTier' in kwargs: billing_tier = kwargs['billingTier'] - if 'orderId' in kwargs: + if order_id is None and 'orderId' in kwargs: order_id = kwargs['orderId'] - if 'orderNumber' in kwargs: + if order_number is None and 'orderNumber' in kwargs: order_number = kwargs['orderNumber'] - if 'purchaseOrderNumber' in kwargs: + if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: purchase_order_number = kwargs['purchaseOrderNumber'] if billing_tier is not None: @@ -2933,7 +2947,7 @@ def _configure( project_id: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] if href is not None: @@ -3048,11 +3062,11 @@ def _configure( service_token: Optional['outputs.ConnectionZSideServiceToken'] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPoint' in kwargs: + if access_point is None and 'accessPoint' in kwargs: access_point = kwargs['accessPoint'] - if 'additionalInfo' in kwargs: + if additional_info is None and 'additionalInfo' in kwargs: additional_info = kwargs['additionalInfo'] - if 'serviceToken' in kwargs: + if service_token is None and 'serviceToken' in kwargs: service_token = kwargs['serviceToken'] if access_point is not None: @@ -3191,19 +3205,19 @@ def _configure( virtual_device: Optional['outputs.ConnectionZSideAccessPointVirtualDevice'] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'authenticationKey' in kwargs: + if authentication_key is None and 'authenticationKey' in kwargs: authentication_key = kwargs['authenticationKey'] - if 'linkProtocol' in kwargs: + if link_protocol is None and 'linkProtocol' in kwargs: link_protocol = kwargs['linkProtocol'] - if 'peeringType' in kwargs: + if peering_type is None and 'peeringType' in kwargs: peering_type = kwargs['peeringType'] - if 'providerConnectionId' in kwargs: + if provider_connection_id is None and 'providerConnectionId' in kwargs: provider_connection_id = kwargs['providerConnectionId'] - if 'routingProtocols' in kwargs: + if routing_protocols is None and 'routingProtocols' in kwargs: routing_protocols = kwargs['routingProtocols'] - if 'sellerRegion' in kwargs: + if seller_region is None and 'sellerRegion' in kwargs: seller_region = kwargs['sellerRegion'] - if 'virtualDevice' in kwargs: + if virtual_device is None and 'virtualDevice' in kwargs: virtual_device = kwargs['virtualDevice'] if account is not None: @@ -3426,19 +3440,19 @@ def _configure( organization_name: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] if account_name is not None: @@ -3644,11 +3658,11 @@ def _configure( vlan_tag: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'vlanCTag' in kwargs: + if vlan_c_tag is None and 'vlanCTag' in kwargs: vlan_c_tag = kwargs['vlanCTag'] - if 'vlanSTag' in kwargs: + if vlan_s_tag is None and 'vlanSTag' in kwargs: vlan_s_tag = kwargs['vlanSTag'] - if 'vlanTag' in kwargs: + if vlan_tag is None and 'vlanTag' in kwargs: vlan_tag = kwargs['vlanTag'] if type is not None: @@ -3741,9 +3755,9 @@ def _configure( region: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] if ibx is not None: @@ -3980,15 +3994,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, - uuid: str, + type: Optional[str] = None, + uuid: Optional[str] = None, access_point_type_configs: Optional[Sequence['outputs.ConnectionZSideAccessPointProfileAccessPointTypeConfig']] = None, description: Optional[str] = None, href: Optional[str] = None, name: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPointTypeConfigs' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") + if access_point_type_configs is None and 'accessPointTypeConfigs' in kwargs: access_point_type_configs = kwargs['accessPointTypeConfigs'] _setter("type", type) @@ -4388,10 +4406,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - enabled: bool, + enabled: Optional[bool] = None, interval: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if enabled is None: + raise TypeError("Missing 'enabled' argument") _setter("enabled", enabled) if interval is not None: @@ -4453,14 +4473,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - customer_peer_ip: str, + customer_peer_ip: Optional[str] = None, enabled: Optional[bool] = None, equinix_peer_ip: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'customerPeerIp' in kwargs: + if customer_peer_ip is None and 'customerPeerIp' in kwargs: customer_peer_ip = kwargs['customerPeerIp'] - if 'equinixPeerIp' in kwargs: + if customer_peer_ip is None: + raise TypeError("Missing 'customer_peer_ip' argument") + if equinix_peer_ip is None and 'equinixPeerIp' in kwargs: equinix_peer_ip = kwargs['equinixPeerIp'] _setter("customer_peer_ip", customer_peer_ip) @@ -4533,14 +4555,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - customer_peer_ip: str, + customer_peer_ip: Optional[str] = None, enabled: Optional[bool] = None, equinix_peer_ip: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'customerPeerIp' in kwargs: + if customer_peer_ip is None and 'customerPeerIp' in kwargs: customer_peer_ip = kwargs['customerPeerIp'] - if 'equinixPeerIp' in kwargs: + if customer_peer_ip is None: + raise TypeError("Missing 'customer_peer_ip' argument") + if equinix_peer_ip is None and 'equinixPeerIp' in kwargs: equinix_peer_ip = kwargs['equinixPeerIp'] _setter("customer_peer_ip", customer_peer_ip) @@ -4704,29 +4728,29 @@ def _configure( updated_date_time: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] if created_by is not None: @@ -4846,11 +4870,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - equinix_iface_ip: str, + equinix_iface_ip: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'equinixIfaceIp' in kwargs: + if equinix_iface_ip is None and 'equinixIfaceIp' in kwargs: equinix_iface_ip = kwargs['equinixIfaceIp'] + if equinix_iface_ip is None: + raise TypeError("Missing 'equinix_iface_ip' argument") _setter("equinix_iface_ip", equinix_iface_ip) @@ -4897,7 +4923,7 @@ def _configure( equinix_iface_ip: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'equinixIfaceIp' in kwargs: + if equinix_iface_ip is None and 'equinixIfaceIp' in kwargs: equinix_iface_ip = kwargs['equinixIfaceIp'] if equinix_iface_ip is not None: @@ -4988,13 +5014,13 @@ def _configure( help: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'additionalInfos' in kwargs: + if additional_infos is None and 'additionalInfos' in kwargs: additional_infos = kwargs['additionalInfos'] - if 'correlationId' in kwargs: + if correlation_id is None and 'correlationId' in kwargs: correlation_id = kwargs['correlationId'] - if 'errorCode' in kwargs: + if error_code is None and 'errorCode' in kwargs: error_code = kwargs['errorCode'] - if 'errorMessage' in kwargs: + if error_message is None and 'errorMessage' in kwargs: error_message = kwargs['errorMessage'] if additional_infos is not None: @@ -5167,7 +5193,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, + type: Optional[str] = None, allow_bandwidth_auto_approval: Optional[bool] = None, allow_bandwidth_upgrade: Optional[bool] = None, allow_custom_bandwidth: Optional[bool] = None, @@ -5183,29 +5209,31 @@ def _configure( uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowBandwidthAutoApproval' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if allow_bandwidth_auto_approval is None and 'allowBandwidthAutoApproval' in kwargs: allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] - if 'allowBandwidthUpgrade' in kwargs: + if allow_bandwidth_upgrade is None and 'allowBandwidthUpgrade' in kwargs: allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] - if 'allowCustomBandwidth' in kwargs: + if allow_custom_bandwidth is None and 'allowCustomBandwidth' in kwargs: allow_custom_bandwidth = kwargs['allowCustomBandwidth'] - if 'allowRemoteConnections' in kwargs: + if allow_remote_connections is None and 'allowRemoteConnections' in kwargs: allow_remote_connections = kwargs['allowRemoteConnections'] - if 'apiConfig' in kwargs: + if api_config is None and 'apiConfig' in kwargs: api_config = kwargs['apiConfig'] - if 'authenticationKey' in kwargs: + if authentication_key is None and 'authenticationKey' in kwargs: authentication_key = kwargs['authenticationKey'] - if 'bandwidthAlertThreshold' in kwargs: + if bandwidth_alert_threshold is None and 'bandwidthAlertThreshold' in kwargs: bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] - if 'connectionLabel' in kwargs: + if connection_label is None and 'connectionLabel' in kwargs: connection_label = kwargs['connectionLabel'] - if 'connectionRedundancyRequired' in kwargs: + if connection_redundancy_required is None and 'connectionRedundancyRequired' in kwargs: connection_redundancy_required = kwargs['connectionRedundancyRequired'] - if 'enableAutoGenerateServiceKey' in kwargs: + if enable_auto_generate_service_key is None and 'enableAutoGenerateServiceKey' in kwargs: enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] - if 'linkProtocolConfig' in kwargs: + if link_protocol_config is None and 'linkProtocolConfig' in kwargs: link_protocol_config = kwargs['linkProtocolConfig'] - if 'supportedBandwidths' in kwargs: + if supported_bandwidths is None and 'supportedBandwidths' in kwargs: supported_bandwidths = kwargs['supportedBandwidths'] _setter("type", type) @@ -5419,19 +5447,19 @@ def _configure( over_subscription_limit: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowOverSubscription' in kwargs: + if allow_over_subscription is None and 'allowOverSubscription' in kwargs: allow_over_subscription = kwargs['allowOverSubscription'] - if 'apiAvailable' in kwargs: + if api_available is None and 'apiAvailable' in kwargs: api_available = kwargs['apiAvailable'] - if 'bandwidthFromApi' in kwargs: + if bandwidth_from_api is None and 'bandwidthFromApi' in kwargs: bandwidth_from_api = kwargs['bandwidthFromApi'] - if 'equinixManagedPort' in kwargs: + if equinix_managed_port is None and 'equinixManagedPort' in kwargs: equinix_managed_port = kwargs['equinixManagedPort'] - if 'equinixManagedVlan' in kwargs: + if equinix_managed_vlan is None and 'equinixManagedVlan' in kwargs: equinix_managed_vlan = kwargs['equinixManagedVlan'] - if 'integrationId' in kwargs: + if integration_id is None and 'integrationId' in kwargs: integration_id = kwargs['integrationId'] - if 'overSubscriptionLimit' in kwargs: + if over_subscription_limit is None and 'overSubscriptionLimit' in kwargs: over_subscription_limit = kwargs['overSubscriptionLimit'] if allow_over_subscription is not None: @@ -5608,9 +5636,9 @@ def _configure( reuse_vlan_s_tag: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'encapsulationStrategy' in kwargs: + if encapsulation_strategy is None and 'encapsulationStrategy' in kwargs: encapsulation_strategy = kwargs['encapsulationStrategy'] - if 'reuseVlanSTag' in kwargs: + if reuse_vlan_s_tag is None and 'reuseVlanSTag' in kwargs: reuse_vlan_s_tag = kwargs['reuseVlanSTag'] if encapsulation is not None: @@ -5721,21 +5749,21 @@ def _configure( ucm_id: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] - if 'ucmId' in kwargs: + if ucm_id is None and 'ucmId' in kwargs: ucm_id = kwargs['ucmId'] if account_name is not None: @@ -5906,29 +5934,29 @@ def _configure( updated_date_time: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] if created_by is not None: @@ -6065,17 +6093,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - data_type: str, - label: str, - required: bool, + data_type: Optional[str] = None, + label: Optional[str] = None, + required: Optional[bool] = None, capture_in_email: Optional[bool] = None, description: Optional[str] = None, options: Optional[Sequence[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'dataType' in kwargs: + if data_type is None and 'dataType' in kwargs: data_type = kwargs['dataType'] - if 'captureInEmail' in kwargs: + if data_type is None: + raise TypeError("Missing 'data_type' argument") + if label is None: + raise TypeError("Missing 'label' argument") + if required is None: + raise TypeError("Missing 'required' argument") + if capture_in_email is None and 'captureInEmail' in kwargs: capture_in_email = kwargs['captureInEmail'] _setter("data_type", data_type) @@ -6179,7 +6213,7 @@ def _configure( promotion: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'processSteps' in kwargs: + if process_steps is None and 'processSteps' in kwargs: process_steps = kwargs['processSteps'] if logo is not None: @@ -6256,7 +6290,7 @@ def _configure( title: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'subTitle' in kwargs: + if sub_title is None and 'subTitle' in kwargs: sub_title = kwargs['subTitle'] if description is not None: @@ -6349,11 +6383,11 @@ def _configure( seller_regions: Optional[Mapping[str, str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'displayName' in kwargs: + if display_name is None and 'displayName' in kwargs: display_name = kwargs['displayName'] - if 'inTrail' in kwargs: + if in_trail is None and 'inTrail' in kwargs: in_trail = kwargs['inTrail'] - if 'sellerRegions' in kwargs: + if seller_regions is None and 'sellerRegions' in kwargs: seller_regions = kwargs['sellerRegions'] if code is not None: @@ -6455,12 +6489,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - emails: Sequence[str], - type: str, + emails: Optional[Sequence[str]] = None, + type: Optional[str] = None, send_interval: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'sendInterval' in kwargs: + if emails is None: + raise TypeError("Missing 'emails' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if send_interval is None and 'sendInterval' in kwargs: send_interval = kwargs['sendInterval'] _setter("emails", emails) @@ -6543,19 +6581,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, - uuid: str, + type: Optional[str] = None, + uuid: Optional[str] = None, cross_connect_id: Optional[str] = None, location: Optional['outputs.ServiceProfilePortLocation'] = None, seller_region: Optional[str] = None, seller_region_description: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'crossConnectId' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") + if cross_connect_id is None and 'crossConnectId' in kwargs: cross_connect_id = kwargs['crossConnectId'] - if 'sellerRegion' in kwargs: + if seller_region is None and 'sellerRegion' in kwargs: seller_region = kwargs['sellerRegion'] - if 'sellerRegionDescription' in kwargs: + if seller_region_description is None and 'sellerRegionDescription' in kwargs: seller_region_description = kwargs['sellerRegionDescription'] _setter("type", type) @@ -6666,9 +6708,9 @@ def _configure( region: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] if ibx is not None: @@ -6751,7 +6793,7 @@ def _configure( project_id: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] if href is not None: @@ -6816,13 +6858,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, - uuid: str, + type: Optional[str] = None, + uuid: Optional[str] = None, interface_uuid: Optional[str] = None, location: Optional['outputs.ServiceProfileVirtualDeviceLocation'] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'interfaceUuid' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") + if interface_uuid is None and 'interfaceUuid' in kwargs: interface_uuid = kwargs['interfaceUuid'] _setter("type", type) @@ -6913,9 +6959,9 @@ def _configure( region: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] if ibx is not None: @@ -6983,29 +7029,43 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_name: str, - account_number: int, - global_cust_id: str, - global_org_id: str, - global_organization_name: str, - org_id: int, - organization_name: str, + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_name is None: + raise TypeError("Missing 'account_name' argument") + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_cust_id is None: + raise TypeError("Missing 'global_cust_id' argument") + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_org_id is None: + raise TypeError("Missing 'global_org_id' argument") + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if global_organization_name is None: + raise TypeError("Missing 'global_organization_name' argument") + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if org_id is None: + raise TypeError("Missing 'org_id' argument") + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] + if organization_name is None: + raise TypeError("Missing 'organization_name' argument") _setter("account_name", account_name) _setter("account_number", account_number) @@ -7084,44 +7144,68 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - created_by: str, - created_by_email: str, - created_by_full_name: str, - created_date_time: str, - deleted_by: str, - deleted_by_email: str, - deleted_by_full_name: str, - deleted_date_time: str, - updated_by: str, - updated_by_email: str, - updated_by_full_name: str, - updated_date_time: str, + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by is None: + raise TypeError("Missing 'created_by' argument") + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_email is None: + raise TypeError("Missing 'created_by_email' argument") + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_by_full_name is None: + raise TypeError("Missing 'created_by_full_name' argument") + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if created_date_time is None: + raise TypeError("Missing 'created_date_time' argument") + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by is None: + raise TypeError("Missing 'deleted_by' argument") + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_email is None: + raise TypeError("Missing 'deleted_by_email' argument") + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_by_full_name is None: + raise TypeError("Missing 'deleted_by_full_name' argument") + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if deleted_date_time is None: + raise TypeError("Missing 'deleted_date_time' argument") + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by is None: + raise TypeError("Missing 'updated_by' argument") + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_email is None: + raise TypeError("Missing 'updated_by_email' argument") + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_by_full_name is None: + raise TypeError("Missing 'updated_by_full_name' argument") + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] + if updated_date_time is None: + raise TypeError("Missing 'updated_date_time' argument") _setter("created_by", created_by) _setter("created_by_email", created_by_email) @@ -7216,17 +7300,27 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - ibx: str, - metro_code: str, - metro_name: str, - region: str, + href: Optional[str] = None, + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if href is None: + raise TypeError("Missing 'href' argument") + if ibx is None: + raise TypeError("Missing 'ibx' argument") + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_code is None: + raise TypeError("Missing 'metro_code' argument") + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] + if metro_name is None: + raise TypeError("Missing 'metro_name' argument") + if region is None: + raise TypeError("Missing 'region' argument") _setter("href", href) _setter("ibx", ibx) @@ -7275,13 +7369,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - emails: Sequence[str], - send_interval: str, - type: str, + emails: Optional[Sequence[str]] = None, + send_interval: Optional[str] = None, + type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'sendInterval' in kwargs: + if emails is None: + raise TypeError("Missing 'emails' argument") + if send_interval is None and 'sendInterval' in kwargs: send_interval = kwargs['sendInterval'] + if send_interval is None: + raise TypeError("Missing 'send_interval' argument") + if type is None: + raise TypeError("Missing 'type' argument") _setter("emails", emails) _setter("send_interval", send_interval) @@ -7320,20 +7420,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - billing_tier: str, - order_id: str, - order_number: str, - purchase_order_number: str, + billing_tier: Optional[str] = None, + order_id: Optional[str] = None, + order_number: Optional[str] = None, + purchase_order_number: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'billingTier' in kwargs: + if billing_tier is None and 'billingTier' in kwargs: billing_tier = kwargs['billingTier'] - if 'orderId' in kwargs: + if billing_tier is None: + raise TypeError("Missing 'billing_tier' argument") + if order_id is None and 'orderId' in kwargs: order_id = kwargs['orderId'] - if 'orderNumber' in kwargs: + if order_id is None: + raise TypeError("Missing 'order_id' argument") + if order_number is None and 'orderNumber' in kwargs: order_number = kwargs['orderNumber'] - if 'purchaseOrderNumber' in kwargs: + if order_number is None: + raise TypeError("Missing 'order_number' argument") + if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: purchase_order_number = kwargs['purchaseOrderNumber'] + if purchase_order_number is None: + raise TypeError("Missing 'purchase_order_number' argument") _setter("billing_tier", billing_tier) _setter("order_id", order_id) @@ -7372,9 +7480,11 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - code: str, + code: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if code is None: + raise TypeError("Missing 'code' argument") _setter("code", code) @@ -7401,12 +7511,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - project_id: str, + href: Optional[str] = None, + project_id: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if href is None: + raise TypeError("Missing 'href' argument") + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] + if project_id is None: + raise TypeError("Missing 'project_id' argument") _setter("href", href) _setter("project_id", project_id) @@ -7441,14 +7555,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - access_point: 'outputs.GetConnectionASideAccessPointResult', - service_token: 'outputs.GetConnectionASideServiceTokenResult', + access_point: Optional['outputs.GetConnectionASideAccessPointResult'] = None, + service_token: Optional['outputs.GetConnectionASideServiceTokenResult'] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPoint' in kwargs: + if access_point is None and 'accessPoint' in kwargs: access_point = kwargs['accessPoint'] - if 'serviceToken' in kwargs: + if access_point is None: + raise TypeError("Missing 'access_point' argument") + if service_token is None and 'serviceToken' in kwargs: service_token = kwargs['serviceToken'] + if service_token is None: + raise TypeError("Missing 'service_token' argument") _setter("access_point", access_point) _setter("service_token", service_token) @@ -7504,34 +7622,62 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - accounts: Sequence['outputs.GetConnectionASideAccessPointAccountResult'], - authentication_key: str, - gateways: Sequence['outputs.GetConnectionASideAccessPointGatewayResult'], - interfaces: Sequence['outputs.GetConnectionASideAccessPointInterfaceResult'], - link_protocols: Sequence['outputs.GetConnectionASideAccessPointLinkProtocolResult'], - locations: Sequence['outputs.GetConnectionASideAccessPointLocationResult'], - peering_type: str, - ports: Sequence['outputs.GetConnectionASideAccessPointPortResult'], - profiles: Sequence['outputs.GetConnectionASideAccessPointProfileResult'], - provider_connection_id: str, - routers: Sequence['outputs.GetConnectionASideAccessPointRouterResult'], - seller_region: str, - type: str, - virtual_devices: Sequence['outputs.GetConnectionASideAccessPointVirtualDeviceResult'], + accounts: Optional[Sequence['outputs.GetConnectionASideAccessPointAccountResult']] = None, + authentication_key: Optional[str] = None, + gateways: Optional[Sequence['outputs.GetConnectionASideAccessPointGatewayResult']] = None, + interfaces: Optional[Sequence['outputs.GetConnectionASideAccessPointInterfaceResult']] = None, + link_protocols: Optional[Sequence['outputs.GetConnectionASideAccessPointLinkProtocolResult']] = None, + locations: Optional[Sequence['outputs.GetConnectionASideAccessPointLocationResult']] = None, + peering_type: Optional[str] = None, + ports: Optional[Sequence['outputs.GetConnectionASideAccessPointPortResult']] = None, + profiles: Optional[Sequence['outputs.GetConnectionASideAccessPointProfileResult']] = None, + provider_connection_id: Optional[str] = None, + routers: Optional[Sequence['outputs.GetConnectionASideAccessPointRouterResult']] = None, + seller_region: Optional[str] = None, + type: Optional[str] = None, + virtual_devices: Optional[Sequence['outputs.GetConnectionASideAccessPointVirtualDeviceResult']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'authenticationKey' in kwargs: + if accounts is None: + raise TypeError("Missing 'accounts' argument") + if authentication_key is None and 'authenticationKey' in kwargs: authentication_key = kwargs['authenticationKey'] - if 'linkProtocols' in kwargs: + if authentication_key is None: + raise TypeError("Missing 'authentication_key' argument") + if gateways is None: + raise TypeError("Missing 'gateways' argument") + if interfaces is None: + raise TypeError("Missing 'interfaces' argument") + if link_protocols is None and 'linkProtocols' in kwargs: link_protocols = kwargs['linkProtocols'] - if 'peeringType' in kwargs: + if link_protocols is None: + raise TypeError("Missing 'link_protocols' argument") + if locations is None: + raise TypeError("Missing 'locations' argument") + if peering_type is None and 'peeringType' in kwargs: peering_type = kwargs['peeringType'] - if 'providerConnectionId' in kwargs: + if peering_type is None: + raise TypeError("Missing 'peering_type' argument") + if ports is None: + raise TypeError("Missing 'ports' argument") + if profiles is None: + raise TypeError("Missing 'profiles' argument") + if provider_connection_id is None and 'providerConnectionId' in kwargs: provider_connection_id = kwargs['providerConnectionId'] - if 'sellerRegion' in kwargs: + if provider_connection_id is None: + raise TypeError("Missing 'provider_connection_id' argument") + if routers is None: + raise TypeError("Missing 'routers' argument") + if seller_region is None and 'sellerRegion' in kwargs: seller_region = kwargs['sellerRegion'] - if 'virtualDevices' in kwargs: + if seller_region is None: + raise TypeError("Missing 'seller_region' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if virtual_devices is None and 'virtualDevices' in kwargs: virtual_devices = kwargs['virtualDevices'] + if virtual_devices is None: + raise TypeError("Missing 'virtual_devices' argument") _setter("accounts", accounts) _setter("authentication_key", authentication_key) @@ -7648,29 +7794,43 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_name: str, - account_number: int, - global_cust_id: str, - global_org_id: str, - global_organization_name: str, - org_id: int, - organization_name: str, + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_name is None: + raise TypeError("Missing 'account_name' argument") + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_cust_id is None: + raise TypeError("Missing 'global_cust_id' argument") + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_org_id is None: + raise TypeError("Missing 'global_org_id' argument") + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if global_organization_name is None: + raise TypeError("Missing 'global_organization_name' argument") + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if org_id is None: + raise TypeError("Missing 'org_id' argument") + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] + if organization_name is None: + raise TypeError("Missing 'organization_name' argument") _setter("account_name", account_name) _setter("account_number", account_number) @@ -7731,11 +7891,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - state: str, - uuid: str, + href: Optional[str] = None, + state: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if href is None: + raise TypeError("Missing 'href' argument") + if state is None: + raise TypeError("Missing 'state' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("href", href) _setter("state", state) @@ -7772,11 +7938,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: str, - type: str, - uuid: str, + id: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if id is None: + raise TypeError("Missing 'id' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("id", id) _setter("type", type) @@ -7815,18 +7987,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, - vlan_c_tag: int, - vlan_s_tag: int, - vlan_tag: int, + type: Optional[str] = None, + vlan_c_tag: Optional[int] = None, + vlan_s_tag: Optional[int] = None, + vlan_tag: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'vlanCTag' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if vlan_c_tag is None and 'vlanCTag' in kwargs: vlan_c_tag = kwargs['vlanCTag'] - if 'vlanSTag' in kwargs: + if vlan_c_tag is None: + raise TypeError("Missing 'vlan_c_tag' argument") + if vlan_s_tag is None and 'vlanSTag' in kwargs: vlan_s_tag = kwargs['vlanSTag'] - if 'vlanTag' in kwargs: + if vlan_s_tag is None: + raise TypeError("Missing 'vlan_s_tag' argument") + if vlan_tag is None and 'vlanTag' in kwargs: vlan_tag = kwargs['vlanTag'] + if vlan_tag is None: + raise TypeError("Missing 'vlan_tag' argument") _setter("type", type) _setter("vlan_c_tag", vlan_c_tag) @@ -7873,17 +8053,27 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - ibx: str, - metro_code: str, - metro_name: str, - region: str, + href: Optional[str] = None, + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if href is None: + raise TypeError("Missing 'href' argument") + if ibx is None: + raise TypeError("Missing 'ibx' argument") + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_code is None: + raise TypeError("Missing 'metro_code' argument") + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] + if metro_name is None: + raise TypeError("Missing 'metro_name' argument") + if region is None: + raise TypeError("Missing 'region' argument") _setter("href", href) _setter("ibx", ibx) @@ -7934,12 +8124,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - name: str, - redundancies: Sequence['outputs.GetConnectionASideAccessPointPortRedundancyResult'], - uuid: str, + href: Optional[str] = None, + name: Optional[str] = None, + redundancies: Optional[Sequence['outputs.GetConnectionASideAccessPointPortRedundancyResult']] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if href is None: + raise TypeError("Missing 'href' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if redundancies is None: + raise TypeError("Missing 'redundancies' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("href", href) _setter("name", name) @@ -7978,9 +8176,11 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - priority: str, + priority: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if priority is None: + raise TypeError("Missing 'priority' argument") _setter("priority", priority) @@ -8011,16 +8211,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - access_point_type_configs: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigResult'], - description: str, - href: str, - name: str, - type: str, - uuid: str, + access_point_type_configs: Optional[Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigResult']] = None, + description: Optional[str] = None, + href: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPointTypeConfigs' in kwargs: + if access_point_type_configs is None and 'accessPointTypeConfigs' in kwargs: access_point_type_configs = kwargs['accessPointTypeConfigs'] + if access_point_type_configs is None: + raise TypeError("Missing 'access_point_type_configs' argument") + if description is None: + raise TypeError("Missing 'description' argument") + if href is None: + raise TypeError("Missing 'href' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("access_point_type_configs", access_point_type_configs) _setter("description", description) @@ -8097,46 +8309,74 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - allow_bandwidth_auto_approval: bool, - allow_bandwidth_upgrade: bool, - allow_custom_bandwidth: bool, - allow_remote_connections: bool, - api_configs: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigResult'], - authentication_keys: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult'], - bandwidth_alert_threshold: float, - connection_label: str, - connection_redundancy_required: bool, - enable_auto_generate_service_key: bool, - link_protocol_configs: Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult'], - supported_bandwidths: Sequence[int], - type: str, - uuid: str, + allow_bandwidth_auto_approval: Optional[bool] = None, + allow_bandwidth_upgrade: Optional[bool] = None, + allow_custom_bandwidth: Optional[bool] = None, + allow_remote_connections: Optional[bool] = None, + api_configs: Optional[Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfigResult']] = None, + authentication_keys: Optional[Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult']] = None, + bandwidth_alert_threshold: Optional[float] = None, + connection_label: Optional[str] = None, + connection_redundancy_required: Optional[bool] = None, + enable_auto_generate_service_key: Optional[bool] = None, + link_protocol_configs: Optional[Sequence['outputs.GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult']] = None, + supported_bandwidths: Optional[Sequence[int]] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowBandwidthAutoApproval' in kwargs: + if allow_bandwidth_auto_approval is None and 'allowBandwidthAutoApproval' in kwargs: allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] - if 'allowBandwidthUpgrade' in kwargs: + if allow_bandwidth_auto_approval is None: + raise TypeError("Missing 'allow_bandwidth_auto_approval' argument") + if allow_bandwidth_upgrade is None and 'allowBandwidthUpgrade' in kwargs: allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] - if 'allowCustomBandwidth' in kwargs: + if allow_bandwidth_upgrade is None: + raise TypeError("Missing 'allow_bandwidth_upgrade' argument") + if allow_custom_bandwidth is None and 'allowCustomBandwidth' in kwargs: allow_custom_bandwidth = kwargs['allowCustomBandwidth'] - if 'allowRemoteConnections' in kwargs: + if allow_custom_bandwidth is None: + raise TypeError("Missing 'allow_custom_bandwidth' argument") + if allow_remote_connections is None and 'allowRemoteConnections' in kwargs: allow_remote_connections = kwargs['allowRemoteConnections'] - if 'apiConfigs' in kwargs: + if allow_remote_connections is None: + raise TypeError("Missing 'allow_remote_connections' argument") + if api_configs is None and 'apiConfigs' in kwargs: api_configs = kwargs['apiConfigs'] - if 'authenticationKeys' in kwargs: + if api_configs is None: + raise TypeError("Missing 'api_configs' argument") + if authentication_keys is None and 'authenticationKeys' in kwargs: authentication_keys = kwargs['authenticationKeys'] - if 'bandwidthAlertThreshold' in kwargs: + if authentication_keys is None: + raise TypeError("Missing 'authentication_keys' argument") + if bandwidth_alert_threshold is None and 'bandwidthAlertThreshold' in kwargs: bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] - if 'connectionLabel' in kwargs: + if bandwidth_alert_threshold is None: + raise TypeError("Missing 'bandwidth_alert_threshold' argument") + if connection_label is None and 'connectionLabel' in kwargs: connection_label = kwargs['connectionLabel'] - if 'connectionRedundancyRequired' in kwargs: + if connection_label is None: + raise TypeError("Missing 'connection_label' argument") + if connection_redundancy_required is None and 'connectionRedundancyRequired' in kwargs: connection_redundancy_required = kwargs['connectionRedundancyRequired'] - if 'enableAutoGenerateServiceKey' in kwargs: + if connection_redundancy_required is None: + raise TypeError("Missing 'connection_redundancy_required' argument") + if enable_auto_generate_service_key is None and 'enableAutoGenerateServiceKey' in kwargs: enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] - if 'linkProtocolConfigs' in kwargs: + if enable_auto_generate_service_key is None: + raise TypeError("Missing 'enable_auto_generate_service_key' argument") + if link_protocol_configs is None and 'linkProtocolConfigs' in kwargs: link_protocol_configs = kwargs['linkProtocolConfigs'] - if 'supportedBandwidths' in kwargs: + if link_protocol_configs is None: + raise TypeError("Missing 'link_protocol_configs' argument") + if supported_bandwidths is None and 'supportedBandwidths' in kwargs: supported_bandwidths = kwargs['supportedBandwidths'] + if supported_bandwidths is None: + raise TypeError("Missing 'supported_bandwidths' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) _setter("allow_bandwidth_upgrade", allow_bandwidth_upgrade) @@ -8247,29 +8487,43 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - allow_over_subscription: bool, - api_available: bool, - bandwidth_from_api: bool, - equinix_managed_port: bool, - equinix_managed_vlan: bool, - integration_id: str, - over_subscription_limit: int, + allow_over_subscription: Optional[bool] = None, + api_available: Optional[bool] = None, + bandwidth_from_api: Optional[bool] = None, + equinix_managed_port: Optional[bool] = None, + equinix_managed_vlan: Optional[bool] = None, + integration_id: Optional[str] = None, + over_subscription_limit: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowOverSubscription' in kwargs: + if allow_over_subscription is None and 'allowOverSubscription' in kwargs: allow_over_subscription = kwargs['allowOverSubscription'] - if 'apiAvailable' in kwargs: + if allow_over_subscription is None: + raise TypeError("Missing 'allow_over_subscription' argument") + if api_available is None and 'apiAvailable' in kwargs: api_available = kwargs['apiAvailable'] - if 'bandwidthFromApi' in kwargs: + if api_available is None: + raise TypeError("Missing 'api_available' argument") + if bandwidth_from_api is None and 'bandwidthFromApi' in kwargs: bandwidth_from_api = kwargs['bandwidthFromApi'] - if 'equinixManagedPort' in kwargs: + if bandwidth_from_api is None: + raise TypeError("Missing 'bandwidth_from_api' argument") + if equinix_managed_port is None and 'equinixManagedPort' in kwargs: equinix_managed_port = kwargs['equinixManagedPort'] - if 'equinixManagedVlan' in kwargs: + if equinix_managed_port is None: + raise TypeError("Missing 'equinix_managed_port' argument") + if equinix_managed_vlan is None and 'equinixManagedVlan' in kwargs: equinix_managed_vlan = kwargs['equinixManagedVlan'] - if 'integrationId' in kwargs: + if equinix_managed_vlan is None: + raise TypeError("Missing 'equinix_managed_vlan' argument") + if integration_id is None and 'integrationId' in kwargs: integration_id = kwargs['integrationId'] - if 'overSubscriptionLimit' in kwargs: + if integration_id is None: + raise TypeError("Missing 'integration_id' argument") + if over_subscription_limit is None and 'overSubscriptionLimit' in kwargs: over_subscription_limit = kwargs['overSubscriptionLimit'] + if over_subscription_limit is None: + raise TypeError("Missing 'over_subscription_limit' argument") _setter("allow_over_subscription", allow_over_subscription) _setter("api_available", api_available) @@ -8330,11 +8584,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - description: str, - label: str, - required: bool, + description: Optional[str] = None, + label: Optional[str] = None, + required: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if description is None: + raise TypeError("Missing 'description' argument") + if label is None: + raise TypeError("Missing 'label' argument") + if required is None: + raise TypeError("Missing 'required' argument") _setter("description", description) _setter("label", label) @@ -8371,15 +8631,21 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - encapsulation: str, - encapsulation_strategy: str, - reuse_vlan_s_tag: bool, + encapsulation: Optional[str] = None, + encapsulation_strategy: Optional[str] = None, + reuse_vlan_s_tag: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'encapsulationStrategy' in kwargs: + if encapsulation is None: + raise TypeError("Missing 'encapsulation' argument") + if encapsulation_strategy is None and 'encapsulationStrategy' in kwargs: encapsulation_strategy = kwargs['encapsulationStrategy'] - if 'reuseVlanSTag' in kwargs: + if encapsulation_strategy is None: + raise TypeError("Missing 'encapsulation_strategy' argument") + if reuse_vlan_s_tag is None and 'reuseVlanSTag' in kwargs: reuse_vlan_s_tag = kwargs['reuseVlanSTag'] + if reuse_vlan_s_tag is None: + raise TypeError("Missing 'reuse_vlan_s_tag' argument") _setter("encapsulation", encapsulation) _setter("encapsulation_strategy", encapsulation_strategy) @@ -8416,11 +8682,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - state: str, - uuid: str, + href: Optional[str] = None, + state: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if href is None: + raise TypeError("Missing 'href' argument") + if state is None: + raise TypeError("Missing 'state' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("href", href) _setter("state", state) @@ -8457,11 +8729,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - type: str, - uuid: str, + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if href is None: + raise TypeError("Missing 'href' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("href", href) _setter("type", type) @@ -8500,12 +8778,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - description: str, - href: str, - type: str, - uuid: str, + description: Optional[str] = None, + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if description is None: + raise TypeError("Missing 'description' argument") + if href is None: + raise TypeError("Missing 'href' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("description", description) _setter("href", href) @@ -8556,29 +8842,43 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_name: str, - account_number: int, - global_cust_id: str, - global_org_id: str, - global_organization_name: str, - org_id: int, - organization_name: str, + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_name is None: + raise TypeError("Missing 'account_name' argument") + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_cust_id is None: + raise TypeError("Missing 'global_cust_id' argument") + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_org_id is None: + raise TypeError("Missing 'global_org_id' argument") + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if global_organization_name is None: + raise TypeError("Missing 'global_organization_name' argument") + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if org_id is None: + raise TypeError("Missing 'org_id' argument") + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] + if organization_name is None: + raise TypeError("Missing 'organization_name' argument") _setter("account_name", account_name) _setter("account_number", account_number) @@ -8637,10 +8937,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - key: str, - value: str, + key: Optional[str] = None, + value: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if key is None: + raise TypeError("Missing 'key' argument") + if value is None: + raise TypeError("Missing 'value' argument") _setter("key", key) _setter("value", value) @@ -8689,44 +8993,68 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - created_by: str, - created_by_email: str, - created_by_full_name: str, - created_date_time: str, - deleted_by: str, - deleted_by_email: str, - deleted_by_full_name: str, - deleted_date_time: str, - updated_by: str, - updated_by_email: str, - updated_by_full_name: str, - updated_date_time: str, + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by is None: + raise TypeError("Missing 'created_by' argument") + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_email is None: + raise TypeError("Missing 'created_by_email' argument") + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_by_full_name is None: + raise TypeError("Missing 'created_by_full_name' argument") + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if created_date_time is None: + raise TypeError("Missing 'created_date_time' argument") + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by is None: + raise TypeError("Missing 'deleted_by' argument") + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_email is None: + raise TypeError("Missing 'deleted_by_email' argument") + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_by_full_name is None: + raise TypeError("Missing 'deleted_by_full_name' argument") + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if deleted_date_time is None: + raise TypeError("Missing 'deleted_date_time' argument") + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by is None: + raise TypeError("Missing 'updated_by' argument") + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_email is None: + raise TypeError("Missing 'updated_by_email' argument") + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_by_full_name is None: + raise TypeError("Missing 'updated_by_full_name' argument") + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] + if updated_date_time is None: + raise TypeError("Missing 'updated_date_time' argument") _setter("created_by", created_by) _setter("created_by_email", created_by_email) @@ -8817,13 +9145,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - emails: Sequence[str], - send_interval: str, - type: str, + emails: Optional[Sequence[str]] = None, + send_interval: Optional[str] = None, + type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'sendInterval' in kwargs: + if emails is None: + raise TypeError("Missing 'emails' argument") + if send_interval is None and 'sendInterval' in kwargs: send_interval = kwargs['sendInterval'] + if send_interval is None: + raise TypeError("Missing 'send_interval' argument") + if type is None: + raise TypeError("Missing 'type' argument") _setter("emails", emails) _setter("send_interval", send_interval) @@ -8860,15 +9194,21 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - equinix_status: str, - errors: Sequence['outputs.GetConnectionOperationErrorResult'], - provider_status: str, + equinix_status: Optional[str] = None, + errors: Optional[Sequence['outputs.GetConnectionOperationErrorResult']] = None, + provider_status: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'equinixStatus' in kwargs: + if equinix_status is None and 'equinixStatus' in kwargs: equinix_status = kwargs['equinixStatus'] - if 'providerStatus' in kwargs: + if equinix_status is None: + raise TypeError("Missing 'equinix_status' argument") + if errors is None: + raise TypeError("Missing 'errors' argument") + if provider_status is None and 'providerStatus' in kwargs: provider_status = kwargs['providerStatus'] + if provider_status is None: + raise TypeError("Missing 'provider_status' argument") _setter("equinix_status", equinix_status) _setter("errors", errors) @@ -8911,22 +9251,34 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - additional_infos: Sequence['outputs.GetConnectionOperationErrorAdditionalInfoResult'], - correlation_id: str, - details: str, - error_code: str, - error_message: str, - help: str, + additional_infos: Optional[Sequence['outputs.GetConnectionOperationErrorAdditionalInfoResult']] = None, + correlation_id: Optional[str] = None, + details: Optional[str] = None, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + help: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'additionalInfos' in kwargs: + if additional_infos is None and 'additionalInfos' in kwargs: additional_infos = kwargs['additionalInfos'] - if 'correlationId' in kwargs: + if additional_infos is None: + raise TypeError("Missing 'additional_infos' argument") + if correlation_id is None and 'correlationId' in kwargs: correlation_id = kwargs['correlationId'] - if 'errorCode' in kwargs: + if correlation_id is None: + raise TypeError("Missing 'correlation_id' argument") + if details is None: + raise TypeError("Missing 'details' argument") + if error_code is None and 'errorCode' in kwargs: error_code = kwargs['errorCode'] - if 'errorMessage' in kwargs: + if error_code is None: + raise TypeError("Missing 'error_code' argument") + if error_message is None and 'errorMessage' in kwargs: error_message = kwargs['errorMessage'] + if error_message is None: + raise TypeError("Missing 'error_message' argument") + if help is None: + raise TypeError("Missing 'help' argument") _setter("additional_infos", additional_infos) _setter("correlation_id", correlation_id) @@ -8979,10 +9331,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - property: str, - reason: str, + property: Optional[str] = None, + reason: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if property is None: + raise TypeError("Missing 'property' argument") + if reason is None: + raise TypeError("Missing 'reason' argument") _setter("property", property) _setter("reason", reason) @@ -9015,20 +9371,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - billing_tier: str, - order_id: str, - order_number: str, - purchase_order_number: str, + billing_tier: Optional[str] = None, + order_id: Optional[str] = None, + order_number: Optional[str] = None, + purchase_order_number: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'billingTier' in kwargs: + if billing_tier is None and 'billingTier' in kwargs: billing_tier = kwargs['billingTier'] - if 'orderId' in kwargs: + if billing_tier is None: + raise TypeError("Missing 'billing_tier' argument") + if order_id is None and 'orderId' in kwargs: order_id = kwargs['orderId'] - if 'orderNumber' in kwargs: + if order_id is None: + raise TypeError("Missing 'order_id' argument") + if order_number is None and 'orderNumber' in kwargs: order_number = kwargs['orderNumber'] - if 'purchaseOrderNumber' in kwargs: + if order_number is None: + raise TypeError("Missing 'order_number' argument") + if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: purchase_order_number = kwargs['purchaseOrderNumber'] + if purchase_order_number is None: + raise TypeError("Missing 'purchase_order_number' argument") _setter("billing_tier", billing_tier) _setter("order_id", order_id) @@ -9073,12 +9437,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - project_id: str, + href: Optional[str] = None, + project_id: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if href is None: + raise TypeError("Missing 'href' argument") + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] + if project_id is None: + raise TypeError("Missing 'project_id' argument") _setter("href", href) _setter("project_id", project_id) @@ -9113,10 +9481,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - group: str, - priority: str, + group: Optional[str] = None, + priority: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if group is None: + raise TypeError("Missing 'group' argument") + if priority is None: + raise TypeError("Missing 'priority' argument") _setter("group", group) _setter("priority", priority) @@ -9145,14 +9517,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - access_point: 'outputs.GetConnectionZSideAccessPointResult', - service_token: 'outputs.GetConnectionZSideServiceTokenResult', + access_point: Optional['outputs.GetConnectionZSideAccessPointResult'] = None, + service_token: Optional['outputs.GetConnectionZSideServiceTokenResult'] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPoint' in kwargs: + if access_point is None and 'accessPoint' in kwargs: access_point = kwargs['accessPoint'] - if 'serviceToken' in kwargs: + if access_point is None: + raise TypeError("Missing 'access_point' argument") + if service_token is None and 'serviceToken' in kwargs: service_token = kwargs['serviceToken'] + if service_token is None: + raise TypeError("Missing 'service_token' argument") _setter("access_point", access_point) _setter("service_token", service_token) @@ -9208,34 +9584,62 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - accounts: Sequence['outputs.GetConnectionZSideAccessPointAccountResult'], - authentication_key: str, - gateways: Sequence['outputs.GetConnectionZSideAccessPointGatewayResult'], - interfaces: Sequence['outputs.GetConnectionZSideAccessPointInterfaceResult'], - link_protocols: Sequence['outputs.GetConnectionZSideAccessPointLinkProtocolResult'], - locations: Sequence['outputs.GetConnectionZSideAccessPointLocationResult'], - peering_type: str, - ports: Sequence['outputs.GetConnectionZSideAccessPointPortResult'], - profiles: Sequence['outputs.GetConnectionZSideAccessPointProfileResult'], - provider_connection_id: str, - routers: Sequence['outputs.GetConnectionZSideAccessPointRouterResult'], - seller_region: str, - type: str, - virtual_devices: Sequence['outputs.GetConnectionZSideAccessPointVirtualDeviceResult'], + accounts: Optional[Sequence['outputs.GetConnectionZSideAccessPointAccountResult']] = None, + authentication_key: Optional[str] = None, + gateways: Optional[Sequence['outputs.GetConnectionZSideAccessPointGatewayResult']] = None, + interfaces: Optional[Sequence['outputs.GetConnectionZSideAccessPointInterfaceResult']] = None, + link_protocols: Optional[Sequence['outputs.GetConnectionZSideAccessPointLinkProtocolResult']] = None, + locations: Optional[Sequence['outputs.GetConnectionZSideAccessPointLocationResult']] = None, + peering_type: Optional[str] = None, + ports: Optional[Sequence['outputs.GetConnectionZSideAccessPointPortResult']] = None, + profiles: Optional[Sequence['outputs.GetConnectionZSideAccessPointProfileResult']] = None, + provider_connection_id: Optional[str] = None, + routers: Optional[Sequence['outputs.GetConnectionZSideAccessPointRouterResult']] = None, + seller_region: Optional[str] = None, + type: Optional[str] = None, + virtual_devices: Optional[Sequence['outputs.GetConnectionZSideAccessPointVirtualDeviceResult']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'authenticationKey' in kwargs: + if accounts is None: + raise TypeError("Missing 'accounts' argument") + if authentication_key is None and 'authenticationKey' in kwargs: authentication_key = kwargs['authenticationKey'] - if 'linkProtocols' in kwargs: + if authentication_key is None: + raise TypeError("Missing 'authentication_key' argument") + if gateways is None: + raise TypeError("Missing 'gateways' argument") + if interfaces is None: + raise TypeError("Missing 'interfaces' argument") + if link_protocols is None and 'linkProtocols' in kwargs: link_protocols = kwargs['linkProtocols'] - if 'peeringType' in kwargs: + if link_protocols is None: + raise TypeError("Missing 'link_protocols' argument") + if locations is None: + raise TypeError("Missing 'locations' argument") + if peering_type is None and 'peeringType' in kwargs: peering_type = kwargs['peeringType'] - if 'providerConnectionId' in kwargs: + if peering_type is None: + raise TypeError("Missing 'peering_type' argument") + if ports is None: + raise TypeError("Missing 'ports' argument") + if profiles is None: + raise TypeError("Missing 'profiles' argument") + if provider_connection_id is None and 'providerConnectionId' in kwargs: provider_connection_id = kwargs['providerConnectionId'] - if 'sellerRegion' in kwargs: + if provider_connection_id is None: + raise TypeError("Missing 'provider_connection_id' argument") + if routers is None: + raise TypeError("Missing 'routers' argument") + if seller_region is None and 'sellerRegion' in kwargs: seller_region = kwargs['sellerRegion'] - if 'virtualDevices' in kwargs: + if seller_region is None: + raise TypeError("Missing 'seller_region' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if virtual_devices is None and 'virtualDevices' in kwargs: virtual_devices = kwargs['virtualDevices'] + if virtual_devices is None: + raise TypeError("Missing 'virtual_devices' argument") _setter("accounts", accounts) _setter("authentication_key", authentication_key) @@ -9352,29 +9756,43 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_name: str, - account_number: int, - global_cust_id: str, - global_org_id: str, - global_organization_name: str, - org_id: int, - organization_name: str, + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_name is None: + raise TypeError("Missing 'account_name' argument") + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_cust_id is None: + raise TypeError("Missing 'global_cust_id' argument") + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_org_id is None: + raise TypeError("Missing 'global_org_id' argument") + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if global_organization_name is None: + raise TypeError("Missing 'global_organization_name' argument") + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if org_id is None: + raise TypeError("Missing 'org_id' argument") + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] + if organization_name is None: + raise TypeError("Missing 'organization_name' argument") _setter("account_name", account_name) _setter("account_number", account_number) @@ -9435,11 +9853,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - state: str, - uuid: str, + href: Optional[str] = None, + state: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if href is None: + raise TypeError("Missing 'href' argument") + if state is None: + raise TypeError("Missing 'state' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("href", href) _setter("state", state) @@ -9476,11 +9900,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: str, - type: str, - uuid: str, + id: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if id is None: + raise TypeError("Missing 'id' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("id", id) _setter("type", type) @@ -9519,18 +9949,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, - vlan_c_tag: int, - vlan_s_tag: int, - vlan_tag: int, + type: Optional[str] = None, + vlan_c_tag: Optional[int] = None, + vlan_s_tag: Optional[int] = None, + vlan_tag: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'vlanCTag' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if vlan_c_tag is None and 'vlanCTag' in kwargs: vlan_c_tag = kwargs['vlanCTag'] - if 'vlanSTag' in kwargs: + if vlan_c_tag is None: + raise TypeError("Missing 'vlan_c_tag' argument") + if vlan_s_tag is None and 'vlanSTag' in kwargs: vlan_s_tag = kwargs['vlanSTag'] - if 'vlanTag' in kwargs: + if vlan_s_tag is None: + raise TypeError("Missing 'vlan_s_tag' argument") + if vlan_tag is None and 'vlanTag' in kwargs: vlan_tag = kwargs['vlanTag'] + if vlan_tag is None: + raise TypeError("Missing 'vlan_tag' argument") _setter("type", type) _setter("vlan_c_tag", vlan_c_tag) @@ -9577,17 +10015,27 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - ibx: str, - metro_code: str, - metro_name: str, - region: str, + href: Optional[str] = None, + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if href is None: + raise TypeError("Missing 'href' argument") + if ibx is None: + raise TypeError("Missing 'ibx' argument") + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_code is None: + raise TypeError("Missing 'metro_code' argument") + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] + if metro_name is None: + raise TypeError("Missing 'metro_name' argument") + if region is None: + raise TypeError("Missing 'region' argument") _setter("href", href) _setter("ibx", ibx) @@ -9638,12 +10086,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - name: str, - redundancies: Sequence['outputs.GetConnectionZSideAccessPointPortRedundancyResult'], - uuid: str, + href: Optional[str] = None, + name: Optional[str] = None, + redundancies: Optional[Sequence['outputs.GetConnectionZSideAccessPointPortRedundancyResult']] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if href is None: + raise TypeError("Missing 'href' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if redundancies is None: + raise TypeError("Missing 'redundancies' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("href", href) _setter("name", name) @@ -9682,9 +10138,11 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - priority: str, + priority: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if priority is None: + raise TypeError("Missing 'priority' argument") _setter("priority", priority) @@ -9715,16 +10173,28 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - access_point_type_configs: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult'], - description: str, - href: str, - name: str, - type: str, - uuid: str, + access_point_type_configs: Optional[Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult']] = None, + description: Optional[str] = None, + href: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPointTypeConfigs' in kwargs: + if access_point_type_configs is None and 'accessPointTypeConfigs' in kwargs: access_point_type_configs = kwargs['accessPointTypeConfigs'] + if access_point_type_configs is None: + raise TypeError("Missing 'access_point_type_configs' argument") + if description is None: + raise TypeError("Missing 'description' argument") + if href is None: + raise TypeError("Missing 'href' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("access_point_type_configs", access_point_type_configs) _setter("description", description) @@ -9801,46 +10271,74 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - allow_bandwidth_auto_approval: bool, - allow_bandwidth_upgrade: bool, - allow_custom_bandwidth: bool, - allow_remote_connections: bool, - api_configs: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigResult'], - authentication_keys: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult'], - bandwidth_alert_threshold: float, - connection_label: str, - connection_redundancy_required: bool, - enable_auto_generate_service_key: bool, - link_protocol_configs: Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult'], - supported_bandwidths: Sequence[int], - type: str, - uuid: str, + allow_bandwidth_auto_approval: Optional[bool] = None, + allow_bandwidth_upgrade: Optional[bool] = None, + allow_custom_bandwidth: Optional[bool] = None, + allow_remote_connections: Optional[bool] = None, + api_configs: Optional[Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfigResult']] = None, + authentication_keys: Optional[Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKeyResult']] = None, + bandwidth_alert_threshold: Optional[float] = None, + connection_label: Optional[str] = None, + connection_redundancy_required: Optional[bool] = None, + enable_auto_generate_service_key: Optional[bool] = None, + link_protocol_configs: Optional[Sequence['outputs.GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfigResult']] = None, + supported_bandwidths: Optional[Sequence[int]] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowBandwidthAutoApproval' in kwargs: + if allow_bandwidth_auto_approval is None and 'allowBandwidthAutoApproval' in kwargs: allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] - if 'allowBandwidthUpgrade' in kwargs: + if allow_bandwidth_auto_approval is None: + raise TypeError("Missing 'allow_bandwidth_auto_approval' argument") + if allow_bandwidth_upgrade is None and 'allowBandwidthUpgrade' in kwargs: allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] - if 'allowCustomBandwidth' in kwargs: + if allow_bandwidth_upgrade is None: + raise TypeError("Missing 'allow_bandwidth_upgrade' argument") + if allow_custom_bandwidth is None and 'allowCustomBandwidth' in kwargs: allow_custom_bandwidth = kwargs['allowCustomBandwidth'] - if 'allowRemoteConnections' in kwargs: + if allow_custom_bandwidth is None: + raise TypeError("Missing 'allow_custom_bandwidth' argument") + if allow_remote_connections is None and 'allowRemoteConnections' in kwargs: allow_remote_connections = kwargs['allowRemoteConnections'] - if 'apiConfigs' in kwargs: + if allow_remote_connections is None: + raise TypeError("Missing 'allow_remote_connections' argument") + if api_configs is None and 'apiConfigs' in kwargs: api_configs = kwargs['apiConfigs'] - if 'authenticationKeys' in kwargs: + if api_configs is None: + raise TypeError("Missing 'api_configs' argument") + if authentication_keys is None and 'authenticationKeys' in kwargs: authentication_keys = kwargs['authenticationKeys'] - if 'bandwidthAlertThreshold' in kwargs: + if authentication_keys is None: + raise TypeError("Missing 'authentication_keys' argument") + if bandwidth_alert_threshold is None and 'bandwidthAlertThreshold' in kwargs: bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] - if 'connectionLabel' in kwargs: + if bandwidth_alert_threshold is None: + raise TypeError("Missing 'bandwidth_alert_threshold' argument") + if connection_label is None and 'connectionLabel' in kwargs: connection_label = kwargs['connectionLabel'] - if 'connectionRedundancyRequired' in kwargs: + if connection_label is None: + raise TypeError("Missing 'connection_label' argument") + if connection_redundancy_required is None and 'connectionRedundancyRequired' in kwargs: connection_redundancy_required = kwargs['connectionRedundancyRequired'] - if 'enableAutoGenerateServiceKey' in kwargs: + if connection_redundancy_required is None: + raise TypeError("Missing 'connection_redundancy_required' argument") + if enable_auto_generate_service_key is None and 'enableAutoGenerateServiceKey' in kwargs: enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] - if 'linkProtocolConfigs' in kwargs: + if enable_auto_generate_service_key is None: + raise TypeError("Missing 'enable_auto_generate_service_key' argument") + if link_protocol_configs is None and 'linkProtocolConfigs' in kwargs: link_protocol_configs = kwargs['linkProtocolConfigs'] - if 'supportedBandwidths' in kwargs: + if link_protocol_configs is None: + raise TypeError("Missing 'link_protocol_configs' argument") + if supported_bandwidths is None and 'supportedBandwidths' in kwargs: supported_bandwidths = kwargs['supportedBandwidths'] + if supported_bandwidths is None: + raise TypeError("Missing 'supported_bandwidths' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) _setter("allow_bandwidth_upgrade", allow_bandwidth_upgrade) @@ -9951,29 +10449,43 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - allow_over_subscription: bool, - api_available: bool, - bandwidth_from_api: bool, - equinix_managed_port: bool, - equinix_managed_vlan: bool, - integration_id: str, - over_subscription_limit: int, + allow_over_subscription: Optional[bool] = None, + api_available: Optional[bool] = None, + bandwidth_from_api: Optional[bool] = None, + equinix_managed_port: Optional[bool] = None, + equinix_managed_vlan: Optional[bool] = None, + integration_id: Optional[str] = None, + over_subscription_limit: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowOverSubscription' in kwargs: + if allow_over_subscription is None and 'allowOverSubscription' in kwargs: allow_over_subscription = kwargs['allowOverSubscription'] - if 'apiAvailable' in kwargs: + if allow_over_subscription is None: + raise TypeError("Missing 'allow_over_subscription' argument") + if api_available is None and 'apiAvailable' in kwargs: api_available = kwargs['apiAvailable'] - if 'bandwidthFromApi' in kwargs: + if api_available is None: + raise TypeError("Missing 'api_available' argument") + if bandwidth_from_api is None and 'bandwidthFromApi' in kwargs: bandwidth_from_api = kwargs['bandwidthFromApi'] - if 'equinixManagedPort' in kwargs: + if bandwidth_from_api is None: + raise TypeError("Missing 'bandwidth_from_api' argument") + if equinix_managed_port is None and 'equinixManagedPort' in kwargs: equinix_managed_port = kwargs['equinixManagedPort'] - if 'equinixManagedVlan' in kwargs: + if equinix_managed_port is None: + raise TypeError("Missing 'equinix_managed_port' argument") + if equinix_managed_vlan is None and 'equinixManagedVlan' in kwargs: equinix_managed_vlan = kwargs['equinixManagedVlan'] - if 'integrationId' in kwargs: + if equinix_managed_vlan is None: + raise TypeError("Missing 'equinix_managed_vlan' argument") + if integration_id is None and 'integrationId' in kwargs: integration_id = kwargs['integrationId'] - if 'overSubscriptionLimit' in kwargs: + if integration_id is None: + raise TypeError("Missing 'integration_id' argument") + if over_subscription_limit is None and 'overSubscriptionLimit' in kwargs: over_subscription_limit = kwargs['overSubscriptionLimit'] + if over_subscription_limit is None: + raise TypeError("Missing 'over_subscription_limit' argument") _setter("allow_over_subscription", allow_over_subscription) _setter("api_available", api_available) @@ -10034,11 +10546,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - description: str, - label: str, - required: bool, + description: Optional[str] = None, + label: Optional[str] = None, + required: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if description is None: + raise TypeError("Missing 'description' argument") + if label is None: + raise TypeError("Missing 'label' argument") + if required is None: + raise TypeError("Missing 'required' argument") _setter("description", description) _setter("label", label) @@ -10075,15 +10593,21 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - encapsulation: str, - encapsulation_strategy: str, - reuse_vlan_s_tag: bool, + encapsulation: Optional[str] = None, + encapsulation_strategy: Optional[str] = None, + reuse_vlan_s_tag: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'encapsulationStrategy' in kwargs: + if encapsulation is None: + raise TypeError("Missing 'encapsulation' argument") + if encapsulation_strategy is None and 'encapsulationStrategy' in kwargs: encapsulation_strategy = kwargs['encapsulationStrategy'] - if 'reuseVlanSTag' in kwargs: + if encapsulation_strategy is None: + raise TypeError("Missing 'encapsulation_strategy' argument") + if reuse_vlan_s_tag is None and 'reuseVlanSTag' in kwargs: reuse_vlan_s_tag = kwargs['reuseVlanSTag'] + if reuse_vlan_s_tag is None: + raise TypeError("Missing 'reuse_vlan_s_tag' argument") _setter("encapsulation", encapsulation) _setter("encapsulation_strategy", encapsulation_strategy) @@ -10120,11 +10644,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - state: str, - uuid: str, + href: Optional[str] = None, + state: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if href is None: + raise TypeError("Missing 'href' argument") + if state is None: + raise TypeError("Missing 'state' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("href", href) _setter("state", state) @@ -10161,11 +10691,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - type: str, - uuid: str, + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if href is None: + raise TypeError("Missing 'href' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("href", href) _setter("type", type) @@ -10204,12 +10740,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - description: str, - href: str, - type: str, - uuid: str, + description: Optional[str] = None, + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if description is None: + raise TypeError("Missing 'description' argument") + if href is None: + raise TypeError("Missing 'href' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("description", description) _setter("href", href) @@ -10260,29 +10804,43 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_name: str, - account_number: int, - global_cust_id: str, - global_org_id: str, - global_organization_name: str, - org_id: int, - organization_name: str, + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_name is None: + raise TypeError("Missing 'account_name' argument") + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_cust_id is None: + raise TypeError("Missing 'global_cust_id' argument") + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_org_id is None: + raise TypeError("Missing 'global_org_id' argument") + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if global_organization_name is None: + raise TypeError("Missing 'global_organization_name' argument") + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if org_id is None: + raise TypeError("Missing 'org_id' argument") + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] + if organization_name is None: + raise TypeError("Missing 'organization_name' argument") _setter("account_name", account_name) _setter("account_number", account_number) @@ -10361,44 +10919,68 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - created_by: str, - created_by_email: str, - created_by_full_name: str, - created_date_time: str, - deleted_by: str, - deleted_by_email: str, - deleted_by_full_name: str, - deleted_date_time: str, - updated_by: str, - updated_by_email: str, - updated_by_full_name: str, - updated_date_time: str, + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by is None: + raise TypeError("Missing 'created_by' argument") + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_email is None: + raise TypeError("Missing 'created_by_email' argument") + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_by_full_name is None: + raise TypeError("Missing 'created_by_full_name' argument") + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if created_date_time is None: + raise TypeError("Missing 'created_date_time' argument") + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by is None: + raise TypeError("Missing 'deleted_by' argument") + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_email is None: + raise TypeError("Missing 'deleted_by_email' argument") + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_by_full_name is None: + raise TypeError("Missing 'deleted_by_full_name' argument") + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if deleted_date_time is None: + raise TypeError("Missing 'deleted_date_time' argument") + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by is None: + raise TypeError("Missing 'updated_by' argument") + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_email is None: + raise TypeError("Missing 'updated_by_email' argument") + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_by_full_name is None: + raise TypeError("Missing 'updated_by_full_name' argument") + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] + if updated_date_time is None: + raise TypeError("Missing 'updated_date_time' argument") _setter("created_by", created_by) _setter("created_by_email", created_by_email) @@ -10487,10 +11069,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - redundancies: Sequence['outputs.GetPortDeviceRedundancyResult'], + name: Optional[str] = None, + redundancies: Optional[Sequence['outputs.GetPortDeviceRedundancyResult']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if redundancies is None: + raise TypeError("Missing 'redundancies' argument") _setter("name", name) _setter("redundancies", redundancies) @@ -10519,10 +11105,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - group: str, - priority: str, + group: Optional[str] = None, + priority: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if group is None: + raise TypeError("Missing 'group' argument") + if priority is None: + raise TypeError("Missing 'priority' argument") _setter("group", group) _setter("priority", priority) @@ -10551,12 +11141,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - tag_protocol_id: str, - type: str, + tag_protocol_id: Optional[str] = None, + type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'tagProtocolId' in kwargs: + if tag_protocol_id is None and 'tagProtocolId' in kwargs: tag_protocol_id = kwargs['tagProtocolId'] + if tag_protocol_id is None: + raise TypeError("Missing 'tag_protocol_id' argument") + if type is None: + raise TypeError("Missing 'type' argument") _setter("tag_protocol_id", tag_protocol_id) _setter("type", type) @@ -10591,17 +11185,27 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - ibx: str, - metro_code: str, - metro_name: str, - region: str, + href: Optional[str] = None, + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if href is None: + raise TypeError("Missing 'href' argument") + if ibx is None: + raise TypeError("Missing 'ibx' argument") + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_code is None: + raise TypeError("Missing 'metro_code' argument") + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] + if metro_name is None: + raise TypeError("Missing 'metro_name' argument") + if region is None: + raise TypeError("Missing 'region' argument") _setter("href", href) _setter("ibx", ibx) @@ -10650,17 +11254,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - connection_count: int, - op_status_changed_at: str, - operational_status: str, + connection_count: Optional[int] = None, + op_status_changed_at: Optional[str] = None, + operational_status: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'connectionCount' in kwargs: + if connection_count is None and 'connectionCount' in kwargs: connection_count = kwargs['connectionCount'] - if 'opStatusChangedAt' in kwargs: + if connection_count is None: + raise TypeError("Missing 'connection_count' argument") + if op_status_changed_at is None and 'opStatusChangedAt' in kwargs: op_status_changed_at = kwargs['opStatusChangedAt'] - if 'operationalStatus' in kwargs: + if op_status_changed_at is None: + raise TypeError("Missing 'op_status_changed_at' argument") + if operational_status is None and 'operationalStatus' in kwargs: operational_status = kwargs['operationalStatus'] + if operational_status is None: + raise TypeError("Missing 'operational_status' argument") _setter("connection_count", connection_count) _setter("op_status_changed_at", op_status_changed_at) @@ -10697,11 +11307,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - enabled: bool, - group: str, - priority: str, + enabled: Optional[bool] = None, + group: Optional[str] = None, + priority: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if enabled is None: + raise TypeError("Missing 'enabled' argument") + if group is None: + raise TypeError("Missing 'group' argument") + if priority is None: + raise TypeError("Missing 'priority' argument") _setter("enabled", enabled) _setter("group", group) @@ -10768,36 +11384,70 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - accounts: Sequence['outputs.GetPortsDatumAccountResult'], - available_bandwidth: int, - bandwidth: int, - change_logs: Sequence['outputs.GetPortsDatumChangeLogResult'], - description: str, - devices: Sequence['outputs.GetPortsDatumDeviceResult'], - encapsulations: Sequence['outputs.GetPortsDatumEncapsulationResult'], - href: str, - lag_enabled: bool, - locations: Sequence['outputs.GetPortsDatumLocationResult'], - name: str, - operations: Sequence['outputs.GetPortsDatumOperationResult'], - redundancies: Sequence['outputs.GetPortsDatumRedundancyResult'], - service_type: str, - state: str, - type: str, - used_bandwidth: int, + accounts: Optional[Sequence['outputs.GetPortsDatumAccountResult']] = None, + available_bandwidth: Optional[int] = None, + bandwidth: Optional[int] = None, + change_logs: Optional[Sequence['outputs.GetPortsDatumChangeLogResult']] = None, + description: Optional[str] = None, + devices: Optional[Sequence['outputs.GetPortsDatumDeviceResult']] = None, + encapsulations: Optional[Sequence['outputs.GetPortsDatumEncapsulationResult']] = None, + href: Optional[str] = None, + lag_enabled: Optional[bool] = None, + locations: Optional[Sequence['outputs.GetPortsDatumLocationResult']] = None, + name: Optional[str] = None, + operations: Optional[Sequence['outputs.GetPortsDatumOperationResult']] = None, + redundancies: Optional[Sequence['outputs.GetPortsDatumRedundancyResult']] = None, + service_type: Optional[str] = None, + state: Optional[str] = None, + type: Optional[str] = None, + used_bandwidth: Optional[int] = None, uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'availableBandwidth' in kwargs: + if accounts is None: + raise TypeError("Missing 'accounts' argument") + if available_bandwidth is None and 'availableBandwidth' in kwargs: available_bandwidth = kwargs['availableBandwidth'] - if 'changeLogs' in kwargs: + if available_bandwidth is None: + raise TypeError("Missing 'available_bandwidth' argument") + if bandwidth is None: + raise TypeError("Missing 'bandwidth' argument") + if change_logs is None and 'changeLogs' in kwargs: change_logs = kwargs['changeLogs'] - if 'lagEnabled' in kwargs: + if change_logs is None: + raise TypeError("Missing 'change_logs' argument") + if description is None: + raise TypeError("Missing 'description' argument") + if devices is None: + raise TypeError("Missing 'devices' argument") + if encapsulations is None: + raise TypeError("Missing 'encapsulations' argument") + if href is None: + raise TypeError("Missing 'href' argument") + if lag_enabled is None and 'lagEnabled' in kwargs: lag_enabled = kwargs['lagEnabled'] - if 'serviceType' in kwargs: + if lag_enabled is None: + raise TypeError("Missing 'lag_enabled' argument") + if locations is None: + raise TypeError("Missing 'locations' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operations is None: + raise TypeError("Missing 'operations' argument") + if redundancies is None: + raise TypeError("Missing 'redundancies' argument") + if service_type is None and 'serviceType' in kwargs: service_type = kwargs['serviceType'] - if 'usedBandwidth' in kwargs: + if service_type is None: + raise TypeError("Missing 'service_type' argument") + if state is None: + raise TypeError("Missing 'state' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if used_bandwidth is None and 'usedBandwidth' in kwargs: used_bandwidth = kwargs['usedBandwidth'] + if used_bandwidth is None: + raise TypeError("Missing 'used_bandwidth' argument") _setter("accounts", accounts) _setter("available_bandwidth", available_bandwidth) @@ -10933,29 +11583,43 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_name: str, - account_number: int, - global_cust_id: str, - global_org_id: str, - global_organization_name: str, - org_id: int, - organization_name: str, + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_name is None: + raise TypeError("Missing 'account_name' argument") + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_cust_id is None: + raise TypeError("Missing 'global_cust_id' argument") + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_org_id is None: + raise TypeError("Missing 'global_org_id' argument") + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if global_organization_name is None: + raise TypeError("Missing 'global_organization_name' argument") + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if org_id is None: + raise TypeError("Missing 'org_id' argument") + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] + if organization_name is None: + raise TypeError("Missing 'organization_name' argument") _setter("account_name", account_name) _setter("account_number", account_number) @@ -11034,44 +11698,68 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - created_by: str, - created_by_email: str, - created_by_full_name: str, - created_date_time: str, - deleted_by: str, - deleted_by_email: str, - deleted_by_full_name: str, - deleted_date_time: str, - updated_by: str, - updated_by_email: str, - updated_by_full_name: str, - updated_date_time: str, + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by is None: + raise TypeError("Missing 'created_by' argument") + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_email is None: + raise TypeError("Missing 'created_by_email' argument") + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_by_full_name is None: + raise TypeError("Missing 'created_by_full_name' argument") + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if created_date_time is None: + raise TypeError("Missing 'created_date_time' argument") + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by is None: + raise TypeError("Missing 'deleted_by' argument") + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_email is None: + raise TypeError("Missing 'deleted_by_email' argument") + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_by_full_name is None: + raise TypeError("Missing 'deleted_by_full_name' argument") + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if deleted_date_time is None: + raise TypeError("Missing 'deleted_date_time' argument") + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by is None: + raise TypeError("Missing 'updated_by' argument") + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_email is None: + raise TypeError("Missing 'updated_by_email' argument") + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_by_full_name is None: + raise TypeError("Missing 'updated_by_full_name' argument") + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] + if updated_date_time is None: + raise TypeError("Missing 'updated_date_time' argument") _setter("created_by", created_by) _setter("created_by_email", created_by_email) @@ -11160,10 +11848,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - name: str, - redundancies: Sequence['outputs.GetPortsDatumDeviceRedundancyResult'], + name: Optional[str] = None, + redundancies: Optional[Sequence['outputs.GetPortsDatumDeviceRedundancyResult']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if name is None: + raise TypeError("Missing 'name' argument") + if redundancies is None: + raise TypeError("Missing 'redundancies' argument") _setter("name", name) _setter("redundancies", redundancies) @@ -11192,10 +11884,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - group: str, - priority: str, + group: Optional[str] = None, + priority: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if group is None: + raise TypeError("Missing 'group' argument") + if priority is None: + raise TypeError("Missing 'priority' argument") _setter("group", group) _setter("priority", priority) @@ -11224,12 +11920,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - tag_protocol_id: str, - type: str, + tag_protocol_id: Optional[str] = None, + type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'tagProtocolId' in kwargs: + if tag_protocol_id is None and 'tagProtocolId' in kwargs: tag_protocol_id = kwargs['tagProtocolId'] + if tag_protocol_id is None: + raise TypeError("Missing 'tag_protocol_id' argument") + if type is None: + raise TypeError("Missing 'type' argument") _setter("tag_protocol_id", tag_protocol_id) _setter("type", type) @@ -11264,17 +11964,27 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - ibx: str, - metro_code: str, - metro_name: str, - region: str, + href: Optional[str] = None, + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if href is None: + raise TypeError("Missing 'href' argument") + if ibx is None: + raise TypeError("Missing 'ibx' argument") + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_code is None: + raise TypeError("Missing 'metro_code' argument") + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] + if metro_name is None: + raise TypeError("Missing 'metro_name' argument") + if region is None: + raise TypeError("Missing 'region' argument") _setter("href", href) _setter("ibx", ibx) @@ -11323,17 +12033,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - connection_count: int, - op_status_changed_at: str, - operational_status: str, + connection_count: Optional[int] = None, + op_status_changed_at: Optional[str] = None, + operational_status: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'connectionCount' in kwargs: + if connection_count is None and 'connectionCount' in kwargs: connection_count = kwargs['connectionCount'] - if 'opStatusChangedAt' in kwargs: + if connection_count is None: + raise TypeError("Missing 'connection_count' argument") + if op_status_changed_at is None and 'opStatusChangedAt' in kwargs: op_status_changed_at = kwargs['opStatusChangedAt'] - if 'operationalStatus' in kwargs: + if op_status_changed_at is None: + raise TypeError("Missing 'op_status_changed_at' argument") + if operational_status is None and 'operationalStatus' in kwargs: operational_status = kwargs['operationalStatus'] + if operational_status is None: + raise TypeError("Missing 'operational_status' argument") _setter("connection_count", connection_count) _setter("op_status_changed_at", op_status_changed_at) @@ -11370,11 +12086,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - enabled: bool, - group: str, - priority: str, + enabled: Optional[bool] = None, + group: Optional[str] = None, + priority: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if enabled is None: + raise TypeError("Missing 'enabled' argument") + if group is None: + raise TypeError("Missing 'group' argument") + if priority is None: + raise TypeError("Missing 'priority' argument") _setter("enabled", enabled) _setter("group", group) @@ -11443,10 +12165,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - enabled: bool, + enabled: Optional[bool] = None, interval: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if enabled is None: + raise TypeError("Missing 'enabled' argument") _setter("enabled", enabled) if interval is not None: @@ -11489,15 +12213,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - customer_peer_ip: str, - equinix_peer_ip: str, + customer_peer_ip: Optional[str] = None, + equinix_peer_ip: Optional[str] = None, enabled: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'customerPeerIp' in kwargs: + if customer_peer_ip is None and 'customerPeerIp' in kwargs: customer_peer_ip = kwargs['customerPeerIp'] - if 'equinixPeerIp' in kwargs: + if customer_peer_ip is None: + raise TypeError("Missing 'customer_peer_ip' argument") + if equinix_peer_ip is None and 'equinixPeerIp' in kwargs: equinix_peer_ip = kwargs['equinixPeerIp'] + if equinix_peer_ip is None: + raise TypeError("Missing 'equinix_peer_ip' argument") _setter("customer_peer_ip", customer_peer_ip) _setter("equinix_peer_ip", equinix_peer_ip) @@ -11549,15 +12277,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - customer_peer_ip: str, - equinix_peer_ip: str, + customer_peer_ip: Optional[str] = None, + equinix_peer_ip: Optional[str] = None, enabled: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'customerPeerIp' in kwargs: + if customer_peer_ip is None and 'customerPeerIp' in kwargs: customer_peer_ip = kwargs['customerPeerIp'] - if 'equinixPeerIp' in kwargs: + if customer_peer_ip is None: + raise TypeError("Missing 'customer_peer_ip' argument") + if equinix_peer_ip is None and 'equinixPeerIp' in kwargs: equinix_peer_ip = kwargs['equinixPeerIp'] + if equinix_peer_ip is None: + raise TypeError("Missing 'equinix_peer_ip' argument") _setter("customer_peer_ip", customer_peer_ip) _setter("equinix_peer_ip", equinix_peer_ip) @@ -11604,11 +12336,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - type: str, - uuid: str, + href: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if href is None: + raise TypeError("Missing 'href' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("href", href) _setter("type", type) @@ -11663,44 +12401,68 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - created_by: str, - created_by_email: str, - created_by_full_name: str, - created_date_time: str, - deleted_by: str, - deleted_by_email: str, - deleted_by_full_name: str, - deleted_date_time: str, - updated_by: str, - updated_by_email: str, - updated_by_full_name: str, - updated_date_time: str, + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by is None: + raise TypeError("Missing 'created_by' argument") + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_email is None: + raise TypeError("Missing 'created_by_email' argument") + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_by_full_name is None: + raise TypeError("Missing 'created_by_full_name' argument") + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if created_date_time is None: + raise TypeError("Missing 'created_date_time' argument") + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by is None: + raise TypeError("Missing 'deleted_by' argument") + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_email is None: + raise TypeError("Missing 'deleted_by_email' argument") + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_by_full_name is None: + raise TypeError("Missing 'deleted_by_full_name' argument") + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if deleted_date_time is None: + raise TypeError("Missing 'deleted_date_time' argument") + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by is None: + raise TypeError("Missing 'updated_by' argument") + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_email is None: + raise TypeError("Missing 'updated_by_email' argument") + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_by_full_name is None: + raise TypeError("Missing 'updated_by_full_name' argument") + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] + if updated_date_time is None: + raise TypeError("Missing 'updated_date_time' argument") _setter("created_by", created_by) _setter("created_by_email", created_by_email) @@ -11790,11 +12552,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - equinix_iface_ip: str, + equinix_iface_ip: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'equinixIfaceIp' in kwargs: + if equinix_iface_ip is None and 'equinixIfaceIp' in kwargs: equinix_iface_ip = kwargs['equinixIfaceIp'] + if equinix_iface_ip is None: + raise TypeError("Missing 'equinix_iface_ip' argument") _setter("equinix_iface_ip", equinix_iface_ip) @@ -11824,7 +12588,7 @@ def _configure( equinix_iface_ip: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'equinixIfaceIp' in kwargs: + if equinix_iface_ip is None and 'equinixIfaceIp' in kwargs: equinix_iface_ip = kwargs['equinixIfaceIp'] if equinix_iface_ip is not None: @@ -11850,9 +12614,11 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - errors: Sequence['outputs.GetRoutingProtocolOperationErrorResult'], + errors: Optional[Sequence['outputs.GetRoutingProtocolOperationErrorResult']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if errors is None: + raise TypeError("Missing 'errors' argument") _setter("errors", errors) @@ -11883,22 +12649,34 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - additional_infos: Sequence['outputs.GetRoutingProtocolOperationErrorAdditionalInfoResult'], - correlation_id: str, - details: str, - error_code: str, - error_message: str, - help: str, + additional_infos: Optional[Sequence['outputs.GetRoutingProtocolOperationErrorAdditionalInfoResult']] = None, + correlation_id: Optional[str] = None, + details: Optional[str] = None, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + help: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'additionalInfos' in kwargs: + if additional_infos is None and 'additionalInfos' in kwargs: additional_infos = kwargs['additionalInfos'] - if 'correlationId' in kwargs: + if additional_infos is None: + raise TypeError("Missing 'additional_infos' argument") + if correlation_id is None and 'correlationId' in kwargs: correlation_id = kwargs['correlationId'] - if 'errorCode' in kwargs: + if correlation_id is None: + raise TypeError("Missing 'correlation_id' argument") + if details is None: + raise TypeError("Missing 'details' argument") + if error_code is None and 'errorCode' in kwargs: error_code = kwargs['errorCode'] - if 'errorMessage' in kwargs: + if error_code is None: + raise TypeError("Missing 'error_code' argument") + if error_message is None and 'errorMessage' in kwargs: error_message = kwargs['errorMessage'] + if error_message is None: + raise TypeError("Missing 'error_message' argument") + if help is None: + raise TypeError("Missing 'help' argument") _setter("additional_infos", additional_infos) _setter("correlation_id", correlation_id) @@ -11951,10 +12729,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - property: str, - reason: str, + property: Optional[str] = None, + reason: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if property is None: + raise TypeError("Missing 'property' argument") + if reason is None: + raise TypeError("Missing 'reason' argument") _setter("property", property) _setter("reason", reason) @@ -12007,46 +12789,74 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - allow_bandwidth_auto_approval: bool, - allow_bandwidth_upgrade: bool, - allow_custom_bandwidth: bool, - allow_remote_connections: bool, - api_configs: Sequence['outputs.GetServiceProfileAccessPointTypeConfigApiConfigResult'], - authentication_keys: Sequence['outputs.GetServiceProfileAccessPointTypeConfigAuthenticationKeyResult'], - bandwidth_alert_threshold: float, - connection_label: str, - connection_redundancy_required: bool, - enable_auto_generate_service_key: bool, - link_protocol_configs: Sequence['outputs.GetServiceProfileAccessPointTypeConfigLinkProtocolConfigResult'], - supported_bandwidths: Sequence[int], - type: str, - uuid: str, + allow_bandwidth_auto_approval: Optional[bool] = None, + allow_bandwidth_upgrade: Optional[bool] = None, + allow_custom_bandwidth: Optional[bool] = None, + allow_remote_connections: Optional[bool] = None, + api_configs: Optional[Sequence['outputs.GetServiceProfileAccessPointTypeConfigApiConfigResult']] = None, + authentication_keys: Optional[Sequence['outputs.GetServiceProfileAccessPointTypeConfigAuthenticationKeyResult']] = None, + bandwidth_alert_threshold: Optional[float] = None, + connection_label: Optional[str] = None, + connection_redundancy_required: Optional[bool] = None, + enable_auto_generate_service_key: Optional[bool] = None, + link_protocol_configs: Optional[Sequence['outputs.GetServiceProfileAccessPointTypeConfigLinkProtocolConfigResult']] = None, + supported_bandwidths: Optional[Sequence[int]] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowBandwidthAutoApproval' in kwargs: + if allow_bandwidth_auto_approval is None and 'allowBandwidthAutoApproval' in kwargs: allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] - if 'allowBandwidthUpgrade' in kwargs: + if allow_bandwidth_auto_approval is None: + raise TypeError("Missing 'allow_bandwidth_auto_approval' argument") + if allow_bandwidth_upgrade is None and 'allowBandwidthUpgrade' in kwargs: allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] - if 'allowCustomBandwidth' in kwargs: + if allow_bandwidth_upgrade is None: + raise TypeError("Missing 'allow_bandwidth_upgrade' argument") + if allow_custom_bandwidth is None and 'allowCustomBandwidth' in kwargs: allow_custom_bandwidth = kwargs['allowCustomBandwidth'] - if 'allowRemoteConnections' in kwargs: + if allow_custom_bandwidth is None: + raise TypeError("Missing 'allow_custom_bandwidth' argument") + if allow_remote_connections is None and 'allowRemoteConnections' in kwargs: allow_remote_connections = kwargs['allowRemoteConnections'] - if 'apiConfigs' in kwargs: + if allow_remote_connections is None: + raise TypeError("Missing 'allow_remote_connections' argument") + if api_configs is None and 'apiConfigs' in kwargs: api_configs = kwargs['apiConfigs'] - if 'authenticationKeys' in kwargs: + if api_configs is None: + raise TypeError("Missing 'api_configs' argument") + if authentication_keys is None and 'authenticationKeys' in kwargs: authentication_keys = kwargs['authenticationKeys'] - if 'bandwidthAlertThreshold' in kwargs: + if authentication_keys is None: + raise TypeError("Missing 'authentication_keys' argument") + if bandwidth_alert_threshold is None and 'bandwidthAlertThreshold' in kwargs: bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] - if 'connectionLabel' in kwargs: + if bandwidth_alert_threshold is None: + raise TypeError("Missing 'bandwidth_alert_threshold' argument") + if connection_label is None and 'connectionLabel' in kwargs: connection_label = kwargs['connectionLabel'] - if 'connectionRedundancyRequired' in kwargs: + if connection_label is None: + raise TypeError("Missing 'connection_label' argument") + if connection_redundancy_required is None and 'connectionRedundancyRequired' in kwargs: connection_redundancy_required = kwargs['connectionRedundancyRequired'] - if 'enableAutoGenerateServiceKey' in kwargs: + if connection_redundancy_required is None: + raise TypeError("Missing 'connection_redundancy_required' argument") + if enable_auto_generate_service_key is None and 'enableAutoGenerateServiceKey' in kwargs: enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] - if 'linkProtocolConfigs' in kwargs: + if enable_auto_generate_service_key is None: + raise TypeError("Missing 'enable_auto_generate_service_key' argument") + if link_protocol_configs is None and 'linkProtocolConfigs' in kwargs: link_protocol_configs = kwargs['linkProtocolConfigs'] - if 'supportedBandwidths' in kwargs: + if link_protocol_configs is None: + raise TypeError("Missing 'link_protocol_configs' argument") + if supported_bandwidths is None and 'supportedBandwidths' in kwargs: supported_bandwidths = kwargs['supportedBandwidths'] + if supported_bandwidths is None: + raise TypeError("Missing 'supported_bandwidths' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) _setter("allow_bandwidth_upgrade", allow_bandwidth_upgrade) @@ -12157,29 +12967,43 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - allow_over_subscription: bool, - api_available: bool, - bandwidth_from_api: bool, - equinix_managed_port: bool, - equinix_managed_vlan: bool, - integration_id: str, - over_subscription_limit: int, + allow_over_subscription: Optional[bool] = None, + api_available: Optional[bool] = None, + bandwidth_from_api: Optional[bool] = None, + equinix_managed_port: Optional[bool] = None, + equinix_managed_vlan: Optional[bool] = None, + integration_id: Optional[str] = None, + over_subscription_limit: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowOverSubscription' in kwargs: + if allow_over_subscription is None and 'allowOverSubscription' in kwargs: allow_over_subscription = kwargs['allowOverSubscription'] - if 'apiAvailable' in kwargs: + if allow_over_subscription is None: + raise TypeError("Missing 'allow_over_subscription' argument") + if api_available is None and 'apiAvailable' in kwargs: api_available = kwargs['apiAvailable'] - if 'bandwidthFromApi' in kwargs: + if api_available is None: + raise TypeError("Missing 'api_available' argument") + if bandwidth_from_api is None and 'bandwidthFromApi' in kwargs: bandwidth_from_api = kwargs['bandwidthFromApi'] - if 'equinixManagedPort' in kwargs: + if bandwidth_from_api is None: + raise TypeError("Missing 'bandwidth_from_api' argument") + if equinix_managed_port is None and 'equinixManagedPort' in kwargs: equinix_managed_port = kwargs['equinixManagedPort'] - if 'equinixManagedVlan' in kwargs: + if equinix_managed_port is None: + raise TypeError("Missing 'equinix_managed_port' argument") + if equinix_managed_vlan is None and 'equinixManagedVlan' in kwargs: equinix_managed_vlan = kwargs['equinixManagedVlan'] - if 'integrationId' in kwargs: + if equinix_managed_vlan is None: + raise TypeError("Missing 'equinix_managed_vlan' argument") + if integration_id is None and 'integrationId' in kwargs: integration_id = kwargs['integrationId'] - if 'overSubscriptionLimit' in kwargs: + if integration_id is None: + raise TypeError("Missing 'integration_id' argument") + if over_subscription_limit is None and 'overSubscriptionLimit' in kwargs: over_subscription_limit = kwargs['overSubscriptionLimit'] + if over_subscription_limit is None: + raise TypeError("Missing 'over_subscription_limit' argument") _setter("allow_over_subscription", allow_over_subscription) _setter("api_available", api_available) @@ -12240,11 +13064,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - description: str, - label: str, - required: bool, + description: Optional[str] = None, + label: Optional[str] = None, + required: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if description is None: + raise TypeError("Missing 'description' argument") + if label is None: + raise TypeError("Missing 'label' argument") + if required is None: + raise TypeError("Missing 'required' argument") _setter("description", description) _setter("label", label) @@ -12281,15 +13111,21 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - encapsulation: str, - encapsulation_strategy: str, - reuse_vlan_s_tag: bool, + encapsulation: Optional[str] = None, + encapsulation_strategy: Optional[str] = None, + reuse_vlan_s_tag: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'encapsulationStrategy' in kwargs: + if encapsulation is None: + raise TypeError("Missing 'encapsulation' argument") + if encapsulation_strategy is None and 'encapsulationStrategy' in kwargs: encapsulation_strategy = kwargs['encapsulationStrategy'] - if 'reuseVlanSTag' in kwargs: + if encapsulation_strategy is None: + raise TypeError("Missing 'encapsulation_strategy' argument") + if reuse_vlan_s_tag is None and 'reuseVlanSTag' in kwargs: reuse_vlan_s_tag = kwargs['reuseVlanSTag'] + if reuse_vlan_s_tag is None: + raise TypeError("Missing 'reuse_vlan_s_tag' argument") _setter("encapsulation", encapsulation) _setter("encapsulation_strategy", encapsulation_strategy) @@ -12336,32 +13172,48 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_name: str, - account_number: int, - global_cust_id: str, - global_org_id: str, - global_organization_name: str, - org_id: int, - organization_name: str, - ucm_id: str, + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None, + ucm_id: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_name is None: + raise TypeError("Missing 'account_name' argument") + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_cust_id is None: + raise TypeError("Missing 'global_cust_id' argument") + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_org_id is None: + raise TypeError("Missing 'global_org_id' argument") + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if global_organization_name is None: + raise TypeError("Missing 'global_organization_name' argument") + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if org_id is None: + raise TypeError("Missing 'org_id' argument") + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] - if 'ucmId' in kwargs: + if organization_name is None: + raise TypeError("Missing 'organization_name' argument") + if ucm_id is None and 'ucmId' in kwargs: ucm_id = kwargs['ucmId'] + if ucm_id is None: + raise TypeError("Missing 'ucm_id' argument") _setter("account_name", account_name) _setter("account_number", account_number) @@ -12446,44 +13298,68 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - created_by: str, - created_by_email: str, - created_by_full_name: str, - created_date_time: str, - deleted_by: str, - deleted_by_email: str, - deleted_by_full_name: str, - deleted_date_time: str, - updated_by: str, - updated_by_email: str, - updated_by_full_name: str, - updated_date_time: str, + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by is None: + raise TypeError("Missing 'created_by' argument") + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_email is None: + raise TypeError("Missing 'created_by_email' argument") + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_by_full_name is None: + raise TypeError("Missing 'created_by_full_name' argument") + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if created_date_time is None: + raise TypeError("Missing 'created_date_time' argument") + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by is None: + raise TypeError("Missing 'deleted_by' argument") + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_email is None: + raise TypeError("Missing 'deleted_by_email' argument") + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_by_full_name is None: + raise TypeError("Missing 'deleted_by_full_name' argument") + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if deleted_date_time is None: + raise TypeError("Missing 'deleted_date_time' argument") + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by is None: + raise TypeError("Missing 'updated_by' argument") + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_email is None: + raise TypeError("Missing 'updated_by_email' argument") + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_by_full_name is None: + raise TypeError("Missing 'updated_by_full_name' argument") + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] + if updated_date_time is None: + raise TypeError("Missing 'updated_date_time' argument") _setter("created_by", created_by) _setter("created_by_email", created_by_email) @@ -12580,18 +13456,30 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - capture_in_email: bool, - data_type: str, - description: str, - label: str, - options: Sequence[str], - required: bool, + capture_in_email: Optional[bool] = None, + data_type: Optional[str] = None, + description: Optional[str] = None, + label: Optional[str] = None, + options: Optional[Sequence[str]] = None, + required: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'captureInEmail' in kwargs: + if capture_in_email is None and 'captureInEmail' in kwargs: capture_in_email = kwargs['captureInEmail'] - if 'dataType' in kwargs: + if capture_in_email is None: + raise TypeError("Missing 'capture_in_email' argument") + if data_type is None and 'dataType' in kwargs: data_type = kwargs['dataType'] + if data_type is None: + raise TypeError("Missing 'data_type' argument") + if description is None: + raise TypeError("Missing 'description' argument") + if label is None: + raise TypeError("Missing 'label' argument") + if options is None: + raise TypeError("Missing 'options' argument") + if required is None: + raise TypeError("Missing 'required' argument") _setter("capture_in_email", capture_in_email) _setter("data_type", data_type) @@ -12646,13 +13534,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - logo: str, - process_steps: Sequence['outputs.GetServiceProfileMarketingInfoProcessStepResult'], - promotion: bool, + logo: Optional[str] = None, + process_steps: Optional[Sequence['outputs.GetServiceProfileMarketingInfoProcessStepResult']] = None, + promotion: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'processSteps' in kwargs: + if logo is None: + raise TypeError("Missing 'logo' argument") + if process_steps is None and 'processSteps' in kwargs: process_steps = kwargs['processSteps'] + if process_steps is None: + raise TypeError("Missing 'process_steps' argument") + if promotion is None: + raise TypeError("Missing 'promotion' argument") _setter("logo", logo) _setter("process_steps", process_steps) @@ -12689,13 +13583,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - description: str, - sub_title: str, - title: str, + description: Optional[str] = None, + sub_title: Optional[str] = None, + title: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'subTitle' in kwargs: + if description is None: + raise TypeError("Missing 'description' argument") + if sub_title is None and 'subTitle' in kwargs: sub_title = kwargs['subTitle'] + if sub_title is None: + raise TypeError("Missing 'sub_title' argument") + if title is None: + raise TypeError("Missing 'title' argument") _setter("description", description) _setter("sub_title", sub_title) @@ -12738,20 +13638,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - code: str, - display_name: str, - ibxs: Sequence[str], - in_trail: bool, - name: str, - seller_regions: Mapping[str, str], + code: Optional[str] = None, + display_name: Optional[str] = None, + ibxs: Optional[Sequence[str]] = None, + in_trail: Optional[bool] = None, + name: Optional[str] = None, + seller_regions: Optional[Mapping[str, str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'displayName' in kwargs: + if code is None: + raise TypeError("Missing 'code' argument") + if display_name is None and 'displayName' in kwargs: display_name = kwargs['displayName'] - if 'inTrail' in kwargs: + if display_name is None: + raise TypeError("Missing 'display_name' argument") + if ibxs is None: + raise TypeError("Missing 'ibxs' argument") + if in_trail is None and 'inTrail' in kwargs: in_trail = kwargs['inTrail'] - if 'sellerRegions' in kwargs: + if in_trail is None: + raise TypeError("Missing 'in_trail' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if seller_regions is None and 'sellerRegions' in kwargs: seller_regions = kwargs['sellerRegions'] + if seller_regions is None: + raise TypeError("Missing 'seller_regions' argument") _setter("code", code) _setter("display_name", display_name) @@ -12806,13 +13718,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - emails: Sequence[str], - send_interval: str, - type: str, + emails: Optional[Sequence[str]] = None, + send_interval: Optional[str] = None, + type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'sendInterval' in kwargs: + if emails is None: + raise TypeError("Missing 'emails' argument") + if send_interval is None and 'sendInterval' in kwargs: send_interval = kwargs['sendInterval'] + if send_interval is None: + raise TypeError("Missing 'send_interval' argument") + if type is None: + raise TypeError("Missing 'type' argument") _setter("emails", emails) _setter("send_interval", send_interval) @@ -12855,20 +13773,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cross_connect_id: str, - locations: Sequence['outputs.GetServiceProfilePortLocationResult'], - seller_region: str, - seller_region_description: str, - type: str, - uuid: str, + cross_connect_id: Optional[str] = None, + locations: Optional[Sequence['outputs.GetServiceProfilePortLocationResult']] = None, + seller_region: Optional[str] = None, + seller_region_description: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'crossConnectId' in kwargs: + if cross_connect_id is None and 'crossConnectId' in kwargs: cross_connect_id = kwargs['crossConnectId'] - if 'sellerRegion' in kwargs: + if cross_connect_id is None: + raise TypeError("Missing 'cross_connect_id' argument") + if locations is None: + raise TypeError("Missing 'locations' argument") + if seller_region is None and 'sellerRegion' in kwargs: seller_region = kwargs['sellerRegion'] - if 'sellerRegionDescription' in kwargs: + if seller_region is None: + raise TypeError("Missing 'seller_region' argument") + if seller_region_description is None and 'sellerRegionDescription' in kwargs: seller_region_description = kwargs['sellerRegionDescription'] + if seller_region_description is None: + raise TypeError("Missing 'seller_region_description' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("cross_connect_id", cross_connect_id) _setter("locations", locations) @@ -12925,16 +13855,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - ibx: str, - metro_code: str, - metro_name: str, - region: str, + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if ibx is None: + raise TypeError("Missing 'ibx' argument") + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_code is None: + raise TypeError("Missing 'metro_code' argument") + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] + if metro_name is None: + raise TypeError("Missing 'metro_name' argument") + if region is None: + raise TypeError("Missing 'region' argument") _setter("ibx", ibx) _setter("metro_code", metro_code) @@ -12975,12 +13913,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - project_id: str, + href: Optional[str] = None, + project_id: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if href is None: + raise TypeError("Missing 'href' argument") + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] + if project_id is None: + raise TypeError("Missing 'project_id' argument") _setter("href", href) _setter("project_id", project_id) @@ -13043,39 +13985,73 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - access_point_type_configs: Sequence['outputs.GetServiceProfilesDatumAccessPointTypeConfigResult'], - accounts: Sequence['outputs.GetServiceProfilesDatumAccountResult'], - allowed_emails: Sequence[str], - change_logs: Sequence['outputs.GetServiceProfilesDatumChangeLogResult'], - custom_fields: Sequence['outputs.GetServiceProfilesDatumCustomFieldResult'], - description: str, - href: str, - marketing_infos: Sequence['outputs.GetServiceProfilesDatumMarketingInfoResult'], - metros: Sequence['outputs.GetServiceProfilesDatumMetroResult'], - name: str, - notifications: Sequence['outputs.GetServiceProfilesDatumNotificationResult'], - ports: Sequence['outputs.GetServiceProfilesDatumPortResult'], - projects: Sequence['outputs.GetServiceProfilesDatumProjectResult'], - self_profile: bool, - tags: Sequence[str], - type: str, - visibility: str, + access_point_type_configs: Optional[Sequence['outputs.GetServiceProfilesDatumAccessPointTypeConfigResult']] = None, + accounts: Optional[Sequence['outputs.GetServiceProfilesDatumAccountResult']] = None, + allowed_emails: Optional[Sequence[str]] = None, + change_logs: Optional[Sequence['outputs.GetServiceProfilesDatumChangeLogResult']] = None, + custom_fields: Optional[Sequence['outputs.GetServiceProfilesDatumCustomFieldResult']] = None, + description: Optional[str] = None, + href: Optional[str] = None, + marketing_infos: Optional[Sequence['outputs.GetServiceProfilesDatumMarketingInfoResult']] = None, + metros: Optional[Sequence['outputs.GetServiceProfilesDatumMetroResult']] = None, + name: Optional[str] = None, + notifications: Optional[Sequence['outputs.GetServiceProfilesDatumNotificationResult']] = None, + ports: Optional[Sequence['outputs.GetServiceProfilesDatumPortResult']] = None, + projects: Optional[Sequence['outputs.GetServiceProfilesDatumProjectResult']] = None, + self_profile: Optional[bool] = None, + tags: Optional[Sequence[str]] = None, + type: Optional[str] = None, + visibility: Optional[str] = None, state: Optional[str] = None, uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPointTypeConfigs' in kwargs: + if access_point_type_configs is None and 'accessPointTypeConfigs' in kwargs: access_point_type_configs = kwargs['accessPointTypeConfigs'] - if 'allowedEmails' in kwargs: + if access_point_type_configs is None: + raise TypeError("Missing 'access_point_type_configs' argument") + if accounts is None: + raise TypeError("Missing 'accounts' argument") + if allowed_emails is None and 'allowedEmails' in kwargs: allowed_emails = kwargs['allowedEmails'] - if 'changeLogs' in kwargs: + if allowed_emails is None: + raise TypeError("Missing 'allowed_emails' argument") + if change_logs is None and 'changeLogs' in kwargs: change_logs = kwargs['changeLogs'] - if 'customFields' in kwargs: + if change_logs is None: + raise TypeError("Missing 'change_logs' argument") + if custom_fields is None and 'customFields' in kwargs: custom_fields = kwargs['customFields'] - if 'marketingInfos' in kwargs: + if custom_fields is None: + raise TypeError("Missing 'custom_fields' argument") + if description is None: + raise TypeError("Missing 'description' argument") + if href is None: + raise TypeError("Missing 'href' argument") + if marketing_infos is None and 'marketingInfos' in kwargs: marketing_infos = kwargs['marketingInfos'] - if 'selfProfile' in kwargs: + if marketing_infos is None: + raise TypeError("Missing 'marketing_infos' argument") + if metros is None: + raise TypeError("Missing 'metros' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if notifications is None: + raise TypeError("Missing 'notifications' argument") + if ports is None: + raise TypeError("Missing 'ports' argument") + if projects is None: + raise TypeError("Missing 'projects' argument") + if self_profile is None and 'selfProfile' in kwargs: self_profile = kwargs['selfProfile'] + if self_profile is None: + raise TypeError("Missing 'self_profile' argument") + if tags is None: + raise TypeError("Missing 'tags' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if visibility is None: + raise TypeError("Missing 'visibility' argument") _setter("access_point_type_configs", access_point_type_configs) _setter("accounts", accounts) @@ -13232,46 +14208,74 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - allow_bandwidth_auto_approval: bool, - allow_bandwidth_upgrade: bool, - allow_custom_bandwidth: bool, - allow_remote_connections: bool, - api_configs: Sequence['outputs.GetServiceProfilesDatumAccessPointTypeConfigApiConfigResult'], - authentication_keys: Sequence['outputs.GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyResult'], - bandwidth_alert_threshold: float, - connection_label: str, - connection_redundancy_required: bool, - enable_auto_generate_service_key: bool, - link_protocol_configs: Sequence['outputs.GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigResult'], - supported_bandwidths: Sequence[int], - type: str, - uuid: str, + allow_bandwidth_auto_approval: Optional[bool] = None, + allow_bandwidth_upgrade: Optional[bool] = None, + allow_custom_bandwidth: Optional[bool] = None, + allow_remote_connections: Optional[bool] = None, + api_configs: Optional[Sequence['outputs.GetServiceProfilesDatumAccessPointTypeConfigApiConfigResult']] = None, + authentication_keys: Optional[Sequence['outputs.GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKeyResult']] = None, + bandwidth_alert_threshold: Optional[float] = None, + connection_label: Optional[str] = None, + connection_redundancy_required: Optional[bool] = None, + enable_auto_generate_service_key: Optional[bool] = None, + link_protocol_configs: Optional[Sequence['outputs.GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfigResult']] = None, + supported_bandwidths: Optional[Sequence[int]] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowBandwidthAutoApproval' in kwargs: + if allow_bandwidth_auto_approval is None and 'allowBandwidthAutoApproval' in kwargs: allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] - if 'allowBandwidthUpgrade' in kwargs: + if allow_bandwidth_auto_approval is None: + raise TypeError("Missing 'allow_bandwidth_auto_approval' argument") + if allow_bandwidth_upgrade is None and 'allowBandwidthUpgrade' in kwargs: allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] - if 'allowCustomBandwidth' in kwargs: + if allow_bandwidth_upgrade is None: + raise TypeError("Missing 'allow_bandwidth_upgrade' argument") + if allow_custom_bandwidth is None and 'allowCustomBandwidth' in kwargs: allow_custom_bandwidth = kwargs['allowCustomBandwidth'] - if 'allowRemoteConnections' in kwargs: + if allow_custom_bandwidth is None: + raise TypeError("Missing 'allow_custom_bandwidth' argument") + if allow_remote_connections is None and 'allowRemoteConnections' in kwargs: allow_remote_connections = kwargs['allowRemoteConnections'] - if 'apiConfigs' in kwargs: + if allow_remote_connections is None: + raise TypeError("Missing 'allow_remote_connections' argument") + if api_configs is None and 'apiConfigs' in kwargs: api_configs = kwargs['apiConfigs'] - if 'authenticationKeys' in kwargs: + if api_configs is None: + raise TypeError("Missing 'api_configs' argument") + if authentication_keys is None and 'authenticationKeys' in kwargs: authentication_keys = kwargs['authenticationKeys'] - if 'bandwidthAlertThreshold' in kwargs: + if authentication_keys is None: + raise TypeError("Missing 'authentication_keys' argument") + if bandwidth_alert_threshold is None and 'bandwidthAlertThreshold' in kwargs: bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] - if 'connectionLabel' in kwargs: + if bandwidth_alert_threshold is None: + raise TypeError("Missing 'bandwidth_alert_threshold' argument") + if connection_label is None and 'connectionLabel' in kwargs: connection_label = kwargs['connectionLabel'] - if 'connectionRedundancyRequired' in kwargs: + if connection_label is None: + raise TypeError("Missing 'connection_label' argument") + if connection_redundancy_required is None and 'connectionRedundancyRequired' in kwargs: connection_redundancy_required = kwargs['connectionRedundancyRequired'] - if 'enableAutoGenerateServiceKey' in kwargs: + if connection_redundancy_required is None: + raise TypeError("Missing 'connection_redundancy_required' argument") + if enable_auto_generate_service_key is None and 'enableAutoGenerateServiceKey' in kwargs: enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] - if 'linkProtocolConfigs' in kwargs: + if enable_auto_generate_service_key is None: + raise TypeError("Missing 'enable_auto_generate_service_key' argument") + if link_protocol_configs is None and 'linkProtocolConfigs' in kwargs: link_protocol_configs = kwargs['linkProtocolConfigs'] - if 'supportedBandwidths' in kwargs: + if link_protocol_configs is None: + raise TypeError("Missing 'link_protocol_configs' argument") + if supported_bandwidths is None and 'supportedBandwidths' in kwargs: supported_bandwidths = kwargs['supportedBandwidths'] + if supported_bandwidths is None: + raise TypeError("Missing 'supported_bandwidths' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) _setter("allow_bandwidth_upgrade", allow_bandwidth_upgrade) @@ -13382,29 +14386,43 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - allow_over_subscription: bool, - api_available: bool, - bandwidth_from_api: bool, - equinix_managed_port: bool, - equinix_managed_vlan: bool, - integration_id: str, - over_subscription_limit: int, + allow_over_subscription: Optional[bool] = None, + api_available: Optional[bool] = None, + bandwidth_from_api: Optional[bool] = None, + equinix_managed_port: Optional[bool] = None, + equinix_managed_vlan: Optional[bool] = None, + integration_id: Optional[str] = None, + over_subscription_limit: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowOverSubscription' in kwargs: + if allow_over_subscription is None and 'allowOverSubscription' in kwargs: allow_over_subscription = kwargs['allowOverSubscription'] - if 'apiAvailable' in kwargs: + if allow_over_subscription is None: + raise TypeError("Missing 'allow_over_subscription' argument") + if api_available is None and 'apiAvailable' in kwargs: api_available = kwargs['apiAvailable'] - if 'bandwidthFromApi' in kwargs: + if api_available is None: + raise TypeError("Missing 'api_available' argument") + if bandwidth_from_api is None and 'bandwidthFromApi' in kwargs: bandwidth_from_api = kwargs['bandwidthFromApi'] - if 'equinixManagedPort' in kwargs: + if bandwidth_from_api is None: + raise TypeError("Missing 'bandwidth_from_api' argument") + if equinix_managed_port is None and 'equinixManagedPort' in kwargs: equinix_managed_port = kwargs['equinixManagedPort'] - if 'equinixManagedVlan' in kwargs: + if equinix_managed_port is None: + raise TypeError("Missing 'equinix_managed_port' argument") + if equinix_managed_vlan is None and 'equinixManagedVlan' in kwargs: equinix_managed_vlan = kwargs['equinixManagedVlan'] - if 'integrationId' in kwargs: + if equinix_managed_vlan is None: + raise TypeError("Missing 'equinix_managed_vlan' argument") + if integration_id is None and 'integrationId' in kwargs: integration_id = kwargs['integrationId'] - if 'overSubscriptionLimit' in kwargs: + if integration_id is None: + raise TypeError("Missing 'integration_id' argument") + if over_subscription_limit is None and 'overSubscriptionLimit' in kwargs: over_subscription_limit = kwargs['overSubscriptionLimit'] + if over_subscription_limit is None: + raise TypeError("Missing 'over_subscription_limit' argument") _setter("allow_over_subscription", allow_over_subscription) _setter("api_available", api_available) @@ -13465,11 +14483,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - description: str, - label: str, - required: bool, + description: Optional[str] = None, + label: Optional[str] = None, + required: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if description is None: + raise TypeError("Missing 'description' argument") + if label is None: + raise TypeError("Missing 'label' argument") + if required is None: + raise TypeError("Missing 'required' argument") _setter("description", description) _setter("label", label) @@ -13506,15 +14530,21 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - encapsulation: str, - encapsulation_strategy: str, - reuse_vlan_s_tag: bool, + encapsulation: Optional[str] = None, + encapsulation_strategy: Optional[str] = None, + reuse_vlan_s_tag: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'encapsulationStrategy' in kwargs: + if encapsulation is None: + raise TypeError("Missing 'encapsulation' argument") + if encapsulation_strategy is None and 'encapsulationStrategy' in kwargs: encapsulation_strategy = kwargs['encapsulationStrategy'] - if 'reuseVlanSTag' in kwargs: + if encapsulation_strategy is None: + raise TypeError("Missing 'encapsulation_strategy' argument") + if reuse_vlan_s_tag is None and 'reuseVlanSTag' in kwargs: reuse_vlan_s_tag = kwargs['reuseVlanSTag'] + if reuse_vlan_s_tag is None: + raise TypeError("Missing 'reuse_vlan_s_tag' argument") _setter("encapsulation", encapsulation) _setter("encapsulation_strategy", encapsulation_strategy) @@ -13561,32 +14591,48 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_name: str, - account_number: int, - global_cust_id: str, - global_org_id: str, - global_organization_name: str, - org_id: int, - organization_name: str, - ucm_id: str, + account_name: Optional[str] = None, + account_number: Optional[int] = None, + global_cust_id: Optional[str] = None, + global_org_id: Optional[str] = None, + global_organization_name: Optional[str] = None, + org_id: Optional[int] = None, + organization_name: Optional[str] = None, + ucm_id: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountName' in kwargs: + if account_name is None and 'accountName' in kwargs: account_name = kwargs['accountName'] - if 'accountNumber' in kwargs: + if account_name is None: + raise TypeError("Missing 'account_name' argument") + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'globalCustId' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if global_cust_id is None and 'globalCustId' in kwargs: global_cust_id = kwargs['globalCustId'] - if 'globalOrgId' in kwargs: + if global_cust_id is None: + raise TypeError("Missing 'global_cust_id' argument") + if global_org_id is None and 'globalOrgId' in kwargs: global_org_id = kwargs['globalOrgId'] - if 'globalOrganizationName' in kwargs: + if global_org_id is None: + raise TypeError("Missing 'global_org_id' argument") + if global_organization_name is None and 'globalOrganizationName' in kwargs: global_organization_name = kwargs['globalOrganizationName'] - if 'orgId' in kwargs: + if global_organization_name is None: + raise TypeError("Missing 'global_organization_name' argument") + if org_id is None and 'orgId' in kwargs: org_id = kwargs['orgId'] - if 'organizationName' in kwargs: + if org_id is None: + raise TypeError("Missing 'org_id' argument") + if organization_name is None and 'organizationName' in kwargs: organization_name = kwargs['organizationName'] - if 'ucmId' in kwargs: + if organization_name is None: + raise TypeError("Missing 'organization_name' argument") + if ucm_id is None and 'ucmId' in kwargs: ucm_id = kwargs['ucmId'] + if ucm_id is None: + raise TypeError("Missing 'ucm_id' argument") _setter("account_name", account_name) _setter("account_number", account_number) @@ -13671,44 +14717,68 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - created_by: str, - created_by_email: str, - created_by_full_name: str, - created_date_time: str, - deleted_by: str, - deleted_by_email: str, - deleted_by_full_name: str, - deleted_date_time: str, - updated_by: str, - updated_by_email: str, - updated_by_full_name: str, - updated_date_time: str, + created_by: Optional[str] = None, + created_by_email: Optional[str] = None, + created_by_full_name: Optional[str] = None, + created_date_time: Optional[str] = None, + deleted_by: Optional[str] = None, + deleted_by_email: Optional[str] = None, + deleted_by_full_name: Optional[str] = None, + deleted_date_time: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_email: Optional[str] = None, + updated_by_full_name: Optional[str] = None, + updated_date_time: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'createdBy' in kwargs: + if created_by is None and 'createdBy' in kwargs: created_by = kwargs['createdBy'] - if 'createdByEmail' in kwargs: + if created_by is None: + raise TypeError("Missing 'created_by' argument") + if created_by_email is None and 'createdByEmail' in kwargs: created_by_email = kwargs['createdByEmail'] - if 'createdByFullName' in kwargs: + if created_by_email is None: + raise TypeError("Missing 'created_by_email' argument") + if created_by_full_name is None and 'createdByFullName' in kwargs: created_by_full_name = kwargs['createdByFullName'] - if 'createdDateTime' in kwargs: + if created_by_full_name is None: + raise TypeError("Missing 'created_by_full_name' argument") + if created_date_time is None and 'createdDateTime' in kwargs: created_date_time = kwargs['createdDateTime'] - if 'deletedBy' in kwargs: + if created_date_time is None: + raise TypeError("Missing 'created_date_time' argument") + if deleted_by is None and 'deletedBy' in kwargs: deleted_by = kwargs['deletedBy'] - if 'deletedByEmail' in kwargs: + if deleted_by is None: + raise TypeError("Missing 'deleted_by' argument") + if deleted_by_email is None and 'deletedByEmail' in kwargs: deleted_by_email = kwargs['deletedByEmail'] - if 'deletedByFullName' in kwargs: + if deleted_by_email is None: + raise TypeError("Missing 'deleted_by_email' argument") + if deleted_by_full_name is None and 'deletedByFullName' in kwargs: deleted_by_full_name = kwargs['deletedByFullName'] - if 'deletedDateTime' in kwargs: + if deleted_by_full_name is None: + raise TypeError("Missing 'deleted_by_full_name' argument") + if deleted_date_time is None and 'deletedDateTime' in kwargs: deleted_date_time = kwargs['deletedDateTime'] - if 'updatedBy' in kwargs: + if deleted_date_time is None: + raise TypeError("Missing 'deleted_date_time' argument") + if updated_by is None and 'updatedBy' in kwargs: updated_by = kwargs['updatedBy'] - if 'updatedByEmail' in kwargs: + if updated_by is None: + raise TypeError("Missing 'updated_by' argument") + if updated_by_email is None and 'updatedByEmail' in kwargs: updated_by_email = kwargs['updatedByEmail'] - if 'updatedByFullName' in kwargs: + if updated_by_email is None: + raise TypeError("Missing 'updated_by_email' argument") + if updated_by_full_name is None and 'updatedByFullName' in kwargs: updated_by_full_name = kwargs['updatedByFullName'] - if 'updatedDateTime' in kwargs: + if updated_by_full_name is None: + raise TypeError("Missing 'updated_by_full_name' argument") + if updated_date_time is None and 'updatedDateTime' in kwargs: updated_date_time = kwargs['updatedDateTime'] + if updated_date_time is None: + raise TypeError("Missing 'updated_date_time' argument") _setter("created_by", created_by) _setter("created_by_email", created_by_email) @@ -13805,18 +14875,30 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - capture_in_email: bool, - data_type: str, - description: str, - label: str, - options: Sequence[str], - required: bool, + capture_in_email: Optional[bool] = None, + data_type: Optional[str] = None, + description: Optional[str] = None, + label: Optional[str] = None, + options: Optional[Sequence[str]] = None, + required: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'captureInEmail' in kwargs: + if capture_in_email is None and 'captureInEmail' in kwargs: capture_in_email = kwargs['captureInEmail'] - if 'dataType' in kwargs: + if capture_in_email is None: + raise TypeError("Missing 'capture_in_email' argument") + if data_type is None and 'dataType' in kwargs: data_type = kwargs['dataType'] + if data_type is None: + raise TypeError("Missing 'data_type' argument") + if description is None: + raise TypeError("Missing 'description' argument") + if label is None: + raise TypeError("Missing 'label' argument") + if options is None: + raise TypeError("Missing 'options' argument") + if required is None: + raise TypeError("Missing 'required' argument") _setter("capture_in_email", capture_in_email) _setter("data_type", data_type) @@ -13871,13 +14953,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - logo: str, - process_steps: Sequence['outputs.GetServiceProfilesDatumMarketingInfoProcessStepResult'], - promotion: bool, + logo: Optional[str] = None, + process_steps: Optional[Sequence['outputs.GetServiceProfilesDatumMarketingInfoProcessStepResult']] = None, + promotion: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'processSteps' in kwargs: + if logo is None: + raise TypeError("Missing 'logo' argument") + if process_steps is None and 'processSteps' in kwargs: process_steps = kwargs['processSteps'] + if process_steps is None: + raise TypeError("Missing 'process_steps' argument") + if promotion is None: + raise TypeError("Missing 'promotion' argument") _setter("logo", logo) _setter("process_steps", process_steps) @@ -13914,13 +15002,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - description: str, - sub_title: str, - title: str, + description: Optional[str] = None, + sub_title: Optional[str] = None, + title: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'subTitle' in kwargs: + if description is None: + raise TypeError("Missing 'description' argument") + if sub_title is None and 'subTitle' in kwargs: sub_title = kwargs['subTitle'] + if sub_title is None: + raise TypeError("Missing 'sub_title' argument") + if title is None: + raise TypeError("Missing 'title' argument") _setter("description", description) _setter("sub_title", sub_title) @@ -13963,20 +15057,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - code: str, - display_name: str, - ibxs: Sequence[str], - in_trail: bool, - name: str, - seller_regions: Mapping[str, str], + code: Optional[str] = None, + display_name: Optional[str] = None, + ibxs: Optional[Sequence[str]] = None, + in_trail: Optional[bool] = None, + name: Optional[str] = None, + seller_regions: Optional[Mapping[str, str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'displayName' in kwargs: + if code is None: + raise TypeError("Missing 'code' argument") + if display_name is None and 'displayName' in kwargs: display_name = kwargs['displayName'] - if 'inTrail' in kwargs: + if display_name is None: + raise TypeError("Missing 'display_name' argument") + if ibxs is None: + raise TypeError("Missing 'ibxs' argument") + if in_trail is None and 'inTrail' in kwargs: in_trail = kwargs['inTrail'] - if 'sellerRegions' in kwargs: + if in_trail is None: + raise TypeError("Missing 'in_trail' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if seller_regions is None and 'sellerRegions' in kwargs: seller_regions = kwargs['sellerRegions'] + if seller_regions is None: + raise TypeError("Missing 'seller_regions' argument") _setter("code", code) _setter("display_name", display_name) @@ -14031,13 +15137,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - emails: Sequence[str], - send_interval: str, - type: str, + emails: Optional[Sequence[str]] = None, + send_interval: Optional[str] = None, + type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'sendInterval' in kwargs: + if emails is None: + raise TypeError("Missing 'emails' argument") + if send_interval is None and 'sendInterval' in kwargs: send_interval = kwargs['sendInterval'] + if send_interval is None: + raise TypeError("Missing 'send_interval' argument") + if type is None: + raise TypeError("Missing 'type' argument") _setter("emails", emails) _setter("send_interval", send_interval) @@ -14080,20 +15192,32 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cross_connect_id: str, - locations: Sequence['outputs.GetServiceProfilesDatumPortLocationResult'], - seller_region: str, - seller_region_description: str, - type: str, - uuid: str, + cross_connect_id: Optional[str] = None, + locations: Optional[Sequence['outputs.GetServiceProfilesDatumPortLocationResult']] = None, + seller_region: Optional[str] = None, + seller_region_description: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'crossConnectId' in kwargs: + if cross_connect_id is None and 'crossConnectId' in kwargs: cross_connect_id = kwargs['crossConnectId'] - if 'sellerRegion' in kwargs: + if cross_connect_id is None: + raise TypeError("Missing 'cross_connect_id' argument") + if locations is None: + raise TypeError("Missing 'locations' argument") + if seller_region is None and 'sellerRegion' in kwargs: seller_region = kwargs['sellerRegion'] - if 'sellerRegionDescription' in kwargs: + if seller_region is None: + raise TypeError("Missing 'seller_region' argument") + if seller_region_description is None and 'sellerRegionDescription' in kwargs: seller_region_description = kwargs['sellerRegionDescription'] + if seller_region_description is None: + raise TypeError("Missing 'seller_region_description' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") _setter("cross_connect_id", cross_connect_id) _setter("locations", locations) @@ -14150,16 +15274,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - ibx: str, - metro_code: str, - metro_name: str, - region: str, + ibx: Optional[str] = None, + metro_code: Optional[str] = None, + metro_name: Optional[str] = None, + region: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'metroCode' in kwargs: + if ibx is None: + raise TypeError("Missing 'ibx' argument") + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'metroName' in kwargs: + if metro_code is None: + raise TypeError("Missing 'metro_code' argument") + if metro_name is None and 'metroName' in kwargs: metro_name = kwargs['metroName'] + if metro_name is None: + raise TypeError("Missing 'metro_name' argument") + if region is None: + raise TypeError("Missing 'region' argument") _setter("ibx", ibx) _setter("metro_code", metro_code) @@ -14200,12 +15332,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - href: str, - project_id: str, + href: Optional[str] = None, + project_id: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if href is None: + raise TypeError("Missing 'href' argument") + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] + if project_id is None: + raise TypeError("Missing 'project_id' argument") _setter("href", href) _setter("project_id", project_id) diff --git a/sdk/python/pulumi_equinix/fabric/routing_protocol.py b/sdk/python/pulumi_equinix/fabric/routing_protocol.py index 522ac8f7..ff37a5e0 100644 --- a/sdk/python/pulumi_equinix/fabric/routing_protocol.py +++ b/sdk/python/pulumi_equinix/fabric/routing_protocol.py @@ -61,7 +61,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - connection_uuid: pulumi.Input[str], + connection_uuid: Optional[pulumi.Input[str]] = None, bfd: Optional[pulumi.Input['RoutingProtocolBfdArgs']] = None, bgp_auth_key: Optional[pulumi.Input[str]] = None, bgp_ipv4: Optional[pulumi.Input['RoutingProtocolBgpIpv4Args']] = None, @@ -75,19 +75,21 @@ def _configure( uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'connectionUuid' in kwargs: + if connection_uuid is None and 'connectionUuid' in kwargs: connection_uuid = kwargs['connectionUuid'] - if 'bgpAuthKey' in kwargs: + if connection_uuid is None: + raise TypeError("Missing 'connection_uuid' argument") + if bgp_auth_key is None and 'bgpAuthKey' in kwargs: bgp_auth_key = kwargs['bgpAuthKey'] - if 'bgpIpv4' in kwargs: + if bgp_ipv4 is None and 'bgpIpv4' in kwargs: bgp_ipv4 = kwargs['bgpIpv4'] - if 'bgpIpv6' in kwargs: + if bgp_ipv6 is None and 'bgpIpv6' in kwargs: bgp_ipv6 = kwargs['bgpIpv6'] - if 'customerAsn' in kwargs: + if customer_asn is None and 'customerAsn' in kwargs: customer_asn = kwargs['customerAsn'] - if 'directIpv4' in kwargs: + if direct_ipv4 is None and 'directIpv4' in kwargs: direct_ipv4 = kwargs['directIpv4'] - if 'directIpv6' in kwargs: + if direct_ipv6 is None and 'directIpv6' in kwargs: direct_ipv6 = kwargs['directIpv6'] _setter("connection_uuid", connection_uuid) @@ -345,23 +347,23 @@ def _configure( uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'bgpAuthKey' in kwargs: + if bgp_auth_key is None and 'bgpAuthKey' in kwargs: bgp_auth_key = kwargs['bgpAuthKey'] - if 'bgpIpv4' in kwargs: + if bgp_ipv4 is None and 'bgpIpv4' in kwargs: bgp_ipv4 = kwargs['bgpIpv4'] - if 'bgpIpv6' in kwargs: + if bgp_ipv6 is None and 'bgpIpv6' in kwargs: bgp_ipv6 = kwargs['bgpIpv6'] - if 'changeLogs' in kwargs: + if change_logs is None and 'changeLogs' in kwargs: change_logs = kwargs['changeLogs'] - if 'connectionUuid' in kwargs: + if connection_uuid is None and 'connectionUuid' in kwargs: connection_uuid = kwargs['connectionUuid'] - if 'customerAsn' in kwargs: + if customer_asn is None and 'customerAsn' in kwargs: customer_asn = kwargs['customerAsn'] - if 'directIpv4' in kwargs: + if direct_ipv4 is None and 'directIpv4' in kwargs: direct_ipv4 = kwargs['directIpv4'] - if 'directIpv6' in kwargs: + if direct_ipv6 is None and 'directIpv6' in kwargs: direct_ipv6 = kwargs['directIpv6'] - if 'equinixAsn' in kwargs: + if equinix_asn is None and 'equinixAsn' in kwargs: equinix_asn = kwargs['equinixAsn'] if bfd is not None: diff --git a/sdk/python/pulumi_equinix/fabric/service_profile.py b/sdk/python/pulumi_equinix/fabric/service_profile.py index 281171a8..ad9290e7 100644 --- a/sdk/python/pulumi_equinix/fabric/service_profile.py +++ b/sdk/python/pulumi_equinix/fabric/service_profile.py @@ -77,8 +77,8 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - description: pulumi.Input[str], - type: pulumi.Input[Union[str, 'ProfileType']], + description: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[Union[str, 'ProfileType']]] = None, access_point_type_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceProfileAccessPointTypeConfigArgs']]]] = None, account: Optional[pulumi.Input['ServiceProfileAccountArgs']] = None, allowed_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -96,17 +96,21 @@ def _configure( visibility: Optional[pulumi.Input[Union[str, 'ProfileVisibility']]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPointTypeConfigs' in kwargs: + if description is None: + raise TypeError("Missing 'description' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if access_point_type_configs is None and 'accessPointTypeConfigs' in kwargs: access_point_type_configs = kwargs['accessPointTypeConfigs'] - if 'allowedEmails' in kwargs: + if allowed_emails is None and 'allowedEmails' in kwargs: allowed_emails = kwargs['allowedEmails'] - if 'customFields' in kwargs: + if custom_fields is None and 'customFields' in kwargs: custom_fields = kwargs['customFields'] - if 'marketingInfo' in kwargs: + if marketing_info is None and 'marketingInfo' in kwargs: marketing_info = kwargs['marketingInfo'] - if 'selfProfile' in kwargs: + if self_profile is None and 'selfProfile' in kwargs: self_profile = kwargs['selfProfile'] - if 'virtualDevices' in kwargs: + if virtual_devices is None and 'virtualDevices' in kwargs: virtual_devices = kwargs['virtualDevices'] _setter("description", description) @@ -441,19 +445,19 @@ def _configure( visibility: Optional[pulumi.Input[Union[str, 'ProfileVisibility']]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPointTypeConfigs' in kwargs: + if access_point_type_configs is None and 'accessPointTypeConfigs' in kwargs: access_point_type_configs = kwargs['accessPointTypeConfigs'] - if 'allowedEmails' in kwargs: + if allowed_emails is None and 'allowedEmails' in kwargs: allowed_emails = kwargs['allowedEmails'] - if 'changeLog' in kwargs: + if change_log is None and 'changeLog' in kwargs: change_log = kwargs['changeLog'] - if 'customFields' in kwargs: + if custom_fields is None and 'customFields' in kwargs: custom_fields = kwargs['customFields'] - if 'marketingInfo' in kwargs: + if marketing_info is None and 'marketingInfo' in kwargs: marketing_info = kwargs['marketingInfo'] - if 'selfProfile' in kwargs: + if self_profile is None and 'selfProfile' in kwargs: self_profile = kwargs['selfProfile'] - if 'virtualDevices' in kwargs: + if virtual_devices is None and 'virtualDevices' in kwargs: virtual_devices = kwargs['virtualDevices'] if access_point_type_configs is not None: diff --git a/sdk/python/pulumi_equinix/metal/_inputs.py b/sdk/python/pulumi_equinix/metal/_inputs.py index facf9062..d5d836be 100644 --- a/sdk/python/pulumi_equinix/metal/_inputs.py +++ b/sdk/python/pulumi_equinix/metal/_inputs.py @@ -46,7 +46,7 @@ def _configure( allow_changes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowChanges' in kwargs: + if allow_changes is None and 'allowChanges' in kwargs: allow_changes = kwargs['allowChanges'] if allow_changes is not None: @@ -92,12 +92,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, cidr: Optional[pulumi.Input[int]] = None, reservation_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'reservationIds' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if reservation_ids is None and 'reservationIds' in kwargs: reservation_ids = kwargs['reservationIds'] _setter("type", type) @@ -390,9 +392,9 @@ def _configure( preserve_data: Optional[pulumi.Input[bool]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deprovisionFast' in kwargs: + if deprovision_fast is None and 'deprovisionFast' in kwargs: deprovision_fast = kwargs['deprovisionFast'] - if 'preserveData' in kwargs: + if preserve_data is None and 'preserveData' in kwargs: preserve_data = kwargs['preserveData'] if deprovision_fast is not None: @@ -479,9 +481,9 @@ def _configure( virtual_circuit_ids: Optional[pulumi.Input[Sequence[Any]]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'linkStatus' in kwargs: + if link_status is None and 'linkStatus' in kwargs: link_status = kwargs['linkStatus'] - if 'virtualCircuitIds' in kwargs: + if virtual_circuit_ids is None and 'virtualCircuitIds' in kwargs: virtual_circuit_ids = kwargs['virtualCircuitIds'] if id is not None: @@ -604,9 +606,9 @@ def _configure( type: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'expiresAt' in kwargs: + if expires_at is None and 'expiresAt' in kwargs: expires_at = kwargs['expiresAt'] - if 'maxAllowedSpeed' in kwargs: + if max_allowed_speed is None and 'maxAllowedSpeed' in kwargs: max_allowed_speed = kwargs['maxAllowedSpeed'] if expires_at is not None: @@ -706,15 +708,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - address: pulumi.Input[str], - city: pulumi.Input[str], - country: pulumi.Input[str], - zip_code: pulumi.Input[str], + address: Optional[pulumi.Input[str]] = None, + city: Optional[pulumi.Input[str]] = None, + country: Optional[pulumi.Input[str]] = None, + zip_code: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'zipCode' in kwargs: + if address is None: + raise TypeError("Missing 'address' argument") + if city is None: + raise TypeError("Missing 'city' argument") + if country is None: + raise TypeError("Missing 'country' argument") + if zip_code is None and 'zipCode' in kwargs: zip_code = kwargs['zipCode'] + if zip_code is None: + raise TypeError("Missing 'zip_code' argument") _setter("address", address) _setter("city", city) @@ -811,16 +821,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - asn: pulumi.Input[int], - deployment_type: pulumi.Input[str], + asn: Optional[pulumi.Input[int]] = None, + deployment_type: Optional[pulumi.Input[str]] = None, max_prefix: Optional[pulumi.Input[int]] = None, md5: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deploymentType' in kwargs: + if asn is None: + raise TypeError("Missing 'asn' argument") + if deployment_type is None and 'deploymentType' in kwargs: deployment_type = kwargs['deploymentType'] - if 'maxPrefix' in kwargs: + if deployment_type is None: + raise TypeError("Missing 'deployment_type' argument") + if max_prefix is None and 'maxPrefix' in kwargs: max_prefix = kwargs['maxPrefix'] _setter("asn", asn) @@ -938,10 +952,10 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - billing_cycle: pulumi.Input[str], - hostname: pulumi.Input[str], - operating_system: pulumi.Input[str], - plan: pulumi.Input[str], + billing_cycle: Optional[pulumi.Input[str]] = None, + hostname: Optional[pulumi.Input[str]] = None, + operating_system: Optional[pulumi.Input[str]] = None, + plan: Optional[pulumi.Input[str]] = None, always_pxe: Optional[pulumi.Input[bool]] = None, customdata: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, @@ -956,21 +970,29 @@ def _configure( userdata: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'billingCycle' in kwargs: + if billing_cycle is None and 'billingCycle' in kwargs: billing_cycle = kwargs['billingCycle'] - if 'operatingSystem' in kwargs: + if billing_cycle is None: + raise TypeError("Missing 'billing_cycle' argument") + if hostname is None: + raise TypeError("Missing 'hostname' argument") + if operating_system is None and 'operatingSystem' in kwargs: operating_system = kwargs['operatingSystem'] - if 'alwaysPxe' in kwargs: + if operating_system is None: + raise TypeError("Missing 'operating_system' argument") + if plan is None: + raise TypeError("Missing 'plan' argument") + if always_pxe is None and 'alwaysPxe' in kwargs: always_pxe = kwargs['alwaysPxe'] - if 'ipxeScriptUrl' in kwargs: + if ipxe_script_url is None and 'ipxeScriptUrl' in kwargs: ipxe_script_url = kwargs['ipxeScriptUrl'] - if 'projectSshKeys' in kwargs: + if project_ssh_keys is None and 'projectSshKeys' in kwargs: project_ssh_keys = kwargs['projectSshKeys'] - if 'terminationTime' in kwargs: + if termination_time is None and 'terminationTime' in kwargs: termination_time = kwargs['terminationTime'] - if 'termintationTime' in kwargs: + if termintation_time is None and 'termintationTime' in kwargs: termintation_time = kwargs['termintationTime'] - if 'userSshKeys' in kwargs: + if user_ssh_keys is None and 'userSshKeys' in kwargs: user_ssh_keys = kwargs['userSshKeys'] _setter("billing_cycle", billing_cycle) @@ -1181,13 +1203,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - attribute: str, - values: Sequence[str], + attribute: Optional[str] = None, + values: Optional[Sequence[str]] = None, all: Optional[bool] = None, match_by: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'matchBy' in kwargs: + if attribute is None: + raise TypeError("Missing 'attribute' argument") + if values is None: + raise TypeError("Missing 'values' argument") + if match_by is None and 'matchBy' in kwargs: match_by = kwargs['matchBy'] _setter("attribute", attribute) @@ -1264,10 +1290,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - attribute: str, + attribute: Optional[str] = None, direction: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if attribute is None: + raise TypeError("Missing 'attribute' argument") _setter("attribute", attribute) if direction is not None: @@ -1313,10 +1341,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - plan: str, + plan: Optional[str] = None, quantity: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if plan is None: + raise TypeError("Missing 'plan' argument") _setter("plan", plan) if quantity is not None: @@ -1366,10 +1396,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - plan: str, + plan: Optional[str] = None, quantity: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if plan is None: + raise TypeError("Missing 'plan' argument") _setter("plan", plan) if quantity is not None: @@ -1426,13 +1458,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - attribute: str, - values: Sequence[str], + attribute: Optional[str] = None, + values: Optional[Sequence[str]] = None, all: Optional[bool] = None, match_by: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'matchBy' in kwargs: + if attribute is None: + raise TypeError("Missing 'attribute' argument") + if values is None: + raise TypeError("Missing 'values' argument") + if match_by is None and 'matchBy' in kwargs: match_by = kwargs['matchBy'] _setter("attribute", attribute) @@ -1510,10 +1546,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - attribute: str, + attribute: Optional[str] = None, direction: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if attribute is None: + raise TypeError("Missing 'attribute' argument") _setter("attribute", attribute) if direction is not None: diff --git a/sdk/python/pulumi_equinix/metal/bgp_session.py b/sdk/python/pulumi_equinix/metal/bgp_session.py index c2904947..3de2beb5 100644 --- a/sdk/python/pulumi_equinix/metal/bgp_session.py +++ b/sdk/python/pulumi_equinix/metal/bgp_session.py @@ -32,16 +32,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - address_family: pulumi.Input[str], - device_id: pulumi.Input[str], + address_family: Optional[pulumi.Input[str]] = None, + device_id: Optional[pulumi.Input[str]] = None, default_route: Optional[pulumi.Input[bool]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'addressFamily' in kwargs: + if address_family is None and 'addressFamily' in kwargs: address_family = kwargs['addressFamily'] - if 'deviceId' in kwargs: + if address_family is None: + raise TypeError("Missing 'address_family' argument") + if device_id is None and 'deviceId' in kwargs: device_id = kwargs['deviceId'] - if 'defaultRoute' in kwargs: + if device_id is None: + raise TypeError("Missing 'device_id' argument") + if default_route is None and 'defaultRoute' in kwargs: default_route = kwargs['defaultRoute'] _setter("address_family", address_family) @@ -116,11 +120,11 @@ def _configure( status: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'addressFamily' in kwargs: + if address_family is None and 'addressFamily' in kwargs: address_family = kwargs['addressFamily'] - if 'defaultRoute' in kwargs: + if default_route is None and 'defaultRoute' in kwargs: default_route = kwargs['defaultRoute'] - if 'deviceId' in kwargs: + if device_id is None and 'deviceId' in kwargs: device_id = kwargs['deviceId'] if address_family is not None: diff --git a/sdk/python/pulumi_equinix/metal/device.py b/sdk/python/pulumi_equinix/metal/device.py index 82da57fa..a6633967 100644 --- a/sdk/python/pulumi_equinix/metal/device.py +++ b/sdk/python/pulumi_equinix/metal/device.py @@ -118,9 +118,9 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - operating_system: pulumi.Input[Union[str, 'OperatingSystem']], - plan: pulumi.Input[Union[str, 'Plan']], - project_id: pulumi.Input[str], + operating_system: Optional[pulumi.Input[Union[str, 'OperatingSystem']]] = None, + plan: Optional[pulumi.Input[Union[str, 'Plan']]] = None, + project_id: Optional[pulumi.Input[str]] = None, always_pxe: Optional[pulumi.Input[bool]] = None, behavior: Optional[pulumi.Input['DeviceBehaviorArgs']] = None, billing_cycle: Optional[pulumi.Input[Union[str, 'BillingCycle']]] = None, @@ -143,33 +143,39 @@ def _configure( wait_for_reservation_deprovision: Optional[pulumi.Input[bool]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'operatingSystem' in kwargs: + if operating_system is None and 'operatingSystem' in kwargs: operating_system = kwargs['operatingSystem'] - if 'projectId' in kwargs: + if operating_system is None: + raise TypeError("Missing 'operating_system' argument") + if plan is None: + raise TypeError("Missing 'plan' argument") + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'alwaysPxe' in kwargs: + if project_id is None: + raise TypeError("Missing 'project_id' argument") + if always_pxe is None and 'alwaysPxe' in kwargs: always_pxe = kwargs['alwaysPxe'] - if 'billingCycle' in kwargs: + if billing_cycle is None and 'billingCycle' in kwargs: billing_cycle = kwargs['billingCycle'] - if 'customData' in kwargs: + if custom_data is None and 'customData' in kwargs: custom_data = kwargs['customData'] - if 'forceDetachVolumes' in kwargs: + if force_detach_volumes is None and 'forceDetachVolumes' in kwargs: force_detach_volumes = kwargs['forceDetachVolumes'] - if 'hardwareReservationId' in kwargs: + if hardware_reservation_id is None and 'hardwareReservationId' in kwargs: hardware_reservation_id = kwargs['hardwareReservationId'] - if 'ipAddresses' in kwargs: + if ip_addresses is None and 'ipAddresses' in kwargs: ip_addresses = kwargs['ipAddresses'] - if 'ipxeScriptUrl' in kwargs: + if ipxe_script_url is None and 'ipxeScriptUrl' in kwargs: ipxe_script_url = kwargs['ipxeScriptUrl'] - if 'projectSshKeyIds' in kwargs: + if project_ssh_key_ids is None and 'projectSshKeyIds' in kwargs: project_ssh_key_ids = kwargs['projectSshKeyIds'] - if 'terminationTime' in kwargs: + if termination_time is None and 'terminationTime' in kwargs: termination_time = kwargs['terminationTime'] - if 'userData' in kwargs: + if user_data is None and 'userData' in kwargs: user_data = kwargs['userData'] - if 'userSshKeyIds' in kwargs: + if user_ssh_key_ids is None and 'userSshKeyIds' in kwargs: user_ssh_key_ids = kwargs['userSshKeyIds'] - if 'waitForReservationDeprovision' in kwargs: + if wait_for_reservation_deprovision is None and 'waitForReservationDeprovision' in kwargs: wait_for_reservation_deprovision = kwargs['waitForReservationDeprovision'] _setter("operating_system", operating_system) @@ -716,49 +722,49 @@ def _configure( wait_for_reservation_deprovision: Optional[pulumi.Input[bool]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPrivateIpv4' in kwargs: + if access_private_ipv4 is None and 'accessPrivateIpv4' in kwargs: access_private_ipv4 = kwargs['accessPrivateIpv4'] - if 'accessPublicIpv4' in kwargs: + if access_public_ipv4 is None and 'accessPublicIpv4' in kwargs: access_public_ipv4 = kwargs['accessPublicIpv4'] - if 'accessPublicIpv6' in kwargs: + if access_public_ipv6 is None and 'accessPublicIpv6' in kwargs: access_public_ipv6 = kwargs['accessPublicIpv6'] - if 'alwaysPxe' in kwargs: + if always_pxe is None and 'alwaysPxe' in kwargs: always_pxe = kwargs['alwaysPxe'] - if 'billingCycle' in kwargs: + if billing_cycle is None and 'billingCycle' in kwargs: billing_cycle = kwargs['billingCycle'] - if 'customData' in kwargs: + if custom_data is None and 'customData' in kwargs: custom_data = kwargs['customData'] - if 'deployedFacility' in kwargs: + if deployed_facility is None and 'deployedFacility' in kwargs: deployed_facility = kwargs['deployedFacility'] - if 'deployedHardwareReservationId' in kwargs: + if deployed_hardware_reservation_id is None and 'deployedHardwareReservationId' in kwargs: deployed_hardware_reservation_id = kwargs['deployedHardwareReservationId'] - if 'forceDetachVolumes' in kwargs: + if force_detach_volumes is None and 'forceDetachVolumes' in kwargs: force_detach_volumes = kwargs['forceDetachVolumes'] - if 'hardwareReservationId' in kwargs: + if hardware_reservation_id is None and 'hardwareReservationId' in kwargs: hardware_reservation_id = kwargs['hardwareReservationId'] - if 'ipAddresses' in kwargs: + if ip_addresses is None and 'ipAddresses' in kwargs: ip_addresses = kwargs['ipAddresses'] - if 'ipxeScriptUrl' in kwargs: + if ipxe_script_url is None and 'ipxeScriptUrl' in kwargs: ipxe_script_url = kwargs['ipxeScriptUrl'] - if 'networkType' in kwargs: + if network_type is None and 'networkType' in kwargs: network_type = kwargs['networkType'] - if 'operatingSystem' in kwargs: + if operating_system is None and 'operatingSystem' in kwargs: operating_system = kwargs['operatingSystem'] - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'projectSshKeyIds' in kwargs: + if project_ssh_key_ids is None and 'projectSshKeyIds' in kwargs: project_ssh_key_ids = kwargs['projectSshKeyIds'] - if 'rootPassword' in kwargs: + if root_password is None and 'rootPassword' in kwargs: root_password = kwargs['rootPassword'] - if 'sshKeyIds' in kwargs: + if ssh_key_ids is None and 'sshKeyIds' in kwargs: ssh_key_ids = kwargs['sshKeyIds'] - if 'terminationTime' in kwargs: + if termination_time is None and 'terminationTime' in kwargs: termination_time = kwargs['terminationTime'] - if 'userData' in kwargs: + if user_data is None and 'userData' in kwargs: user_data = kwargs['userData'] - if 'userSshKeyIds' in kwargs: + if user_ssh_key_ids is None and 'userSshKeyIds' in kwargs: user_ssh_key_ids = kwargs['userSshKeyIds'] - if 'waitForReservationDeprovision' in kwargs: + if wait_for_reservation_deprovision is None and 'waitForReservationDeprovision' in kwargs: wait_for_reservation_deprovision = kwargs['waitForReservationDeprovision'] if access_private_ipv4 is not None: diff --git a/sdk/python/pulumi_equinix/metal/device_network_type.py b/sdk/python/pulumi_equinix/metal/device_network_type.py index 991688ba..6480d590 100644 --- a/sdk/python/pulumi_equinix/metal/device_network_type.py +++ b/sdk/python/pulumi_equinix/metal/device_network_type.py @@ -30,12 +30,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - device_id: pulumi.Input[str], - type: pulumi.Input[str], + device_id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deviceId' in kwargs: + if device_id is None and 'deviceId' in kwargs: device_id = kwargs['deviceId'] + if device_id is None: + raise TypeError("Missing 'device_id' argument") + if type is None: + raise TypeError("Missing 'type' argument") _setter("device_id", device_id) _setter("type", type) @@ -89,7 +93,7 @@ def _configure( type: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deviceId' in kwargs: + if device_id is None and 'deviceId' in kwargs: device_id = kwargs['deviceId'] if device_id is not None: diff --git a/sdk/python/pulumi_equinix/metal/gateway.py b/sdk/python/pulumi_equinix/metal/gateway.py index 002a234d..2cab5b0d 100644 --- a/sdk/python/pulumi_equinix/metal/gateway.py +++ b/sdk/python/pulumi_equinix/metal/gateway.py @@ -37,19 +37,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - project_id: pulumi.Input[str], - vlan_id: pulumi.Input[str], + project_id: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, ip_reservation_id: Optional[pulumi.Input[str]] = None, private_ipv4_subnet_size: Optional[pulumi.Input[int]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'vlanId' in kwargs: + if project_id is None: + raise TypeError("Missing 'project_id' argument") + if vlan_id is None and 'vlanId' in kwargs: vlan_id = kwargs['vlanId'] - if 'ipReservationId' in kwargs: + if vlan_id is None: + raise TypeError("Missing 'vlan_id' argument") + if ip_reservation_id is None and 'ipReservationId' in kwargs: ip_reservation_id = kwargs['ipReservationId'] - if 'privateIpv4SubnetSize' in kwargs: + if private_ipv4_subnet_size is None and 'privateIpv4SubnetSize' in kwargs: private_ipv4_subnet_size = kwargs['privateIpv4SubnetSize'] _setter("project_id", project_id) @@ -150,15 +154,15 @@ def _configure( vrf_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'ipReservationId' in kwargs: + if ip_reservation_id is None and 'ipReservationId' in kwargs: ip_reservation_id = kwargs['ipReservationId'] - if 'privateIpv4SubnetSize' in kwargs: + if private_ipv4_subnet_size is None and 'privateIpv4SubnetSize' in kwargs: private_ipv4_subnet_size = kwargs['privateIpv4SubnetSize'] - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'vlanId' in kwargs: + if vlan_id is None and 'vlanId' in kwargs: vlan_id = kwargs['vlanId'] - if 'vrfId' in kwargs: + if vrf_id is None and 'vrfId' in kwargs: vrf_id = kwargs['vrfId'] if ip_reservation_id is not None: diff --git a/sdk/python/pulumi_equinix/metal/interconnection.py b/sdk/python/pulumi_equinix/metal/interconnection.py index 4deb17d6..538103f7 100644 --- a/sdk/python/pulumi_equinix/metal/interconnection.py +++ b/sdk/python/pulumi_equinix/metal/interconnection.py @@ -67,8 +67,8 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - redundancy: pulumi.Input[str], - type: pulumi.Input[str], + redundancy: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, contact_email: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, facility: Optional[pulumi.Input[str]] = None, @@ -83,13 +83,17 @@ def _configure( vlans: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'contactEmail' in kwargs: + if redundancy is None: + raise TypeError("Missing 'redundancy' argument") + if type is None: + raise TypeError("Missing 'type' argument") + if contact_email is None and 'contactEmail' in kwargs: contact_email = kwargs['contactEmail'] - if 'organizationId' in kwargs: + if organization_id is None and 'organizationId' in kwargs: organization_id = kwargs['organizationId'] - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'serviceTokenType' in kwargs: + if service_token_type is None and 'serviceTokenType' in kwargs: service_token_type = kwargs['serviceTokenType'] _setter("redundancy", redundancy) @@ -382,15 +386,15 @@ def _configure( vlans: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'contactEmail' in kwargs: + if contact_email is None and 'contactEmail' in kwargs: contact_email = kwargs['contactEmail'] - if 'organizationId' in kwargs: + if organization_id is None and 'organizationId' in kwargs: organization_id = kwargs['organizationId'] - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'serviceTokenType' in kwargs: + if service_token_type is None and 'serviceTokenType' in kwargs: service_token_type = kwargs['serviceTokenType'] - if 'serviceTokens' in kwargs: + if service_tokens is None and 'serviceTokens' in kwargs: service_tokens = kwargs['serviceTokens'] if contact_email is not None: diff --git a/sdk/python/pulumi_equinix/metal/ip_attachment.py b/sdk/python/pulumi_equinix/metal/ip_attachment.py index 6aa4722b..f87021a9 100644 --- a/sdk/python/pulumi_equinix/metal/ip_attachment.py +++ b/sdk/python/pulumi_equinix/metal/ip_attachment.py @@ -30,14 +30,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cidr_notation: pulumi.Input[str], - device_id: pulumi.Input[str], + cidr_notation: Optional[pulumi.Input[str]] = None, + device_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'cidrNotation' in kwargs: + if cidr_notation is None and 'cidrNotation' in kwargs: cidr_notation = kwargs['cidrNotation'] - if 'deviceId' in kwargs: + if cidr_notation is None: + raise TypeError("Missing 'cidr_notation' argument") + if device_id is None and 'deviceId' in kwargs: device_id = kwargs['deviceId'] + if device_id is None: + raise TypeError("Missing 'device_id' argument") _setter("cidr_notation", cidr_notation) _setter("device_id", device_id) @@ -131,15 +135,15 @@ def _configure( vrf_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'addressFamily' in kwargs: + if address_family is None and 'addressFamily' in kwargs: address_family = kwargs['addressFamily'] - if 'cidrNotation' in kwargs: + if cidr_notation is None and 'cidrNotation' in kwargs: cidr_notation = kwargs['cidrNotation'] - if 'deviceId' in kwargs: + if device_id is None and 'deviceId' in kwargs: device_id = kwargs['deviceId'] - if 'global' in kwargs: + if global_ is None and 'global' in kwargs: global_ = kwargs['global'] - if 'vrfId' in kwargs: + if vrf_id is None and 'vrfId' in kwargs: vrf_id = kwargs['vrfId'] if address is not None: diff --git a/sdk/python/pulumi_equinix/metal/organization.py b/sdk/python/pulumi_equinix/metal/organization.py index f9d44cdb..d115f5e5 100644 --- a/sdk/python/pulumi_equinix/metal/organization.py +++ b/sdk/python/pulumi_equinix/metal/organization.py @@ -44,7 +44,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - address: pulumi.Input['OrganizationAddressArgs'], + address: Optional[pulumi.Input['OrganizationAddressArgs']] = None, description: Optional[pulumi.Input[str]] = None, logo: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, @@ -52,6 +52,8 @@ def _configure( website: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if address is None: + raise TypeError("Missing 'address' argument") _setter("address", address) if description is not None: diff --git a/sdk/python/pulumi_equinix/metal/organization_member.py b/sdk/python/pulumi_equinix/metal/organization_member.py index eb7d3ba7..f18da473 100644 --- a/sdk/python/pulumi_equinix/metal/organization_member.py +++ b/sdk/python/pulumi_equinix/metal/organization_member.py @@ -38,17 +38,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - invitee: pulumi.Input[str], - organization_id: pulumi.Input[str], - projects_ids: pulumi.Input[Sequence[pulumi.Input[str]]], - roles: pulumi.Input[Sequence[pulumi.Input[str]]], + invitee: Optional[pulumi.Input[str]] = None, + organization_id: Optional[pulumi.Input[str]] = None, + projects_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, message: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'organizationId' in kwargs: + if invitee is None: + raise TypeError("Missing 'invitee' argument") + if organization_id is None and 'organizationId' in kwargs: organization_id = kwargs['organizationId'] - if 'projectsIds' in kwargs: + if organization_id is None: + raise TypeError("Missing 'organization_id' argument") + if projects_ids is None and 'projectsIds' in kwargs: projects_ids = kwargs['projectsIds'] + if projects_ids is None: + raise TypeError("Missing 'projects_ids' argument") + if roles is None: + raise TypeError("Missing 'roles' argument") _setter("invitee", invitee) _setter("organization_id", organization_id) @@ -172,11 +180,11 @@ def _configure( updated: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'invitedBy' in kwargs: + if invited_by is None and 'invitedBy' in kwargs: invited_by = kwargs['invitedBy'] - if 'organizationId' in kwargs: + if organization_id is None and 'organizationId' in kwargs: organization_id = kwargs['organizationId'] - if 'projectsIds' in kwargs: + if projects_ids is None and 'projectsIds' in kwargs: projects_ids = kwargs['projectsIds'] if created is not None: diff --git a/sdk/python/pulumi_equinix/metal/outputs.py b/sdk/python/pulumi_equinix/metal/outputs.py index ceeabc83..c0120758 100644 --- a/sdk/python/pulumi_equinix/metal/outputs.py +++ b/sdk/python/pulumi_equinix/metal/outputs.py @@ -77,7 +77,7 @@ def _configure( allow_changes: Optional[Sequence[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'allowChanges' in kwargs: + if allow_changes is None and 'allowChanges' in kwargs: allow_changes = kwargs['allowChanges'] if allow_changes is not None: @@ -136,12 +136,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - type: str, + type: Optional[str] = None, cidr: Optional[int] = None, reservation_ids: Optional[Sequence[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'reservationIds' in kwargs: + if type is None: + raise TypeError("Missing 'type' argument") + if reservation_ids is None and 'reservationIds' in kwargs: reservation_ids = kwargs['reservationIds'] _setter("type", type) @@ -401,9 +403,9 @@ def _configure( preserve_data: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deprovisionFast' in kwargs: + if deprovision_fast is None and 'deprovisionFast' in kwargs: deprovision_fast = kwargs['deprovisionFast'] - if 'preserveData' in kwargs: + if preserve_data is None and 'preserveData' in kwargs: preserve_data = kwargs['preserveData'] if deprovision_fast is not None: @@ -497,9 +499,9 @@ def _configure( virtual_circuit_ids: Optional[Sequence[Any]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'linkStatus' in kwargs: + if link_status is None and 'linkStatus' in kwargs: link_status = kwargs['linkStatus'] - if 'virtualCircuitIds' in kwargs: + if virtual_circuit_ids is None and 'virtualCircuitIds' in kwargs: virtual_circuit_ids = kwargs['virtualCircuitIds'] if id is not None: @@ -613,9 +615,9 @@ def _configure( type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'expiresAt' in kwargs: + if expires_at is None and 'expiresAt' in kwargs: expires_at = kwargs['expiresAt'] - if 'maxAllowedSpeed' in kwargs: + if max_allowed_speed is None and 'maxAllowedSpeed' in kwargs: max_allowed_speed = kwargs['maxAllowedSpeed'] if expires_at is not None: @@ -708,15 +710,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - address: str, - city: str, - country: str, - zip_code: str, + address: Optional[str] = None, + city: Optional[str] = None, + country: Optional[str] = None, + zip_code: Optional[str] = None, state: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'zipCode' in kwargs: + if address is None: + raise TypeError("Missing 'address' argument") + if city is None: + raise TypeError("Missing 'city' argument") + if country is None: + raise TypeError("Missing 'country' argument") + if zip_code is None and 'zipCode' in kwargs: zip_code = kwargs['zipCode'] + if zip_code is None: + raise TypeError("Missing 'zip_code' argument") _setter("address", address) _setter("city", city) @@ -812,16 +822,20 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - asn: int, - deployment_type: str, + asn: Optional[int] = None, + deployment_type: Optional[str] = None, max_prefix: Optional[int] = None, md5: Optional[str] = None, status: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deploymentType' in kwargs: + if asn is None: + raise TypeError("Missing 'asn' argument") + if deployment_type is None and 'deploymentType' in kwargs: deployment_type = kwargs['deploymentType'] - if 'maxPrefix' in kwargs: + if deployment_type is None: + raise TypeError("Missing 'deployment_type' argument") + if max_prefix is None and 'maxPrefix' in kwargs: max_prefix = kwargs['maxPrefix'] _setter("asn", asn) @@ -950,10 +964,10 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - billing_cycle: str, - hostname: str, - operating_system: str, - plan: str, + billing_cycle: Optional[str] = None, + hostname: Optional[str] = None, + operating_system: Optional[str] = None, + plan: Optional[str] = None, always_pxe: Optional[bool] = None, customdata: Optional[str] = None, description: Optional[str] = None, @@ -968,21 +982,29 @@ def _configure( userdata: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'billingCycle' in kwargs: + if billing_cycle is None and 'billingCycle' in kwargs: billing_cycle = kwargs['billingCycle'] - if 'operatingSystem' in kwargs: + if billing_cycle is None: + raise TypeError("Missing 'billing_cycle' argument") + if hostname is None: + raise TypeError("Missing 'hostname' argument") + if operating_system is None and 'operatingSystem' in kwargs: operating_system = kwargs['operatingSystem'] - if 'alwaysPxe' in kwargs: + if operating_system is None: + raise TypeError("Missing 'operating_system' argument") + if plan is None: + raise TypeError("Missing 'plan' argument") + if always_pxe is None and 'alwaysPxe' in kwargs: always_pxe = kwargs['alwaysPxe'] - if 'ipxeScriptUrl' in kwargs: + if ipxe_script_url is None and 'ipxeScriptUrl' in kwargs: ipxe_script_url = kwargs['ipxeScriptUrl'] - if 'projectSshKeys' in kwargs: + if project_ssh_keys is None and 'projectSshKeys' in kwargs: project_ssh_keys = kwargs['projectSshKeys'] - if 'terminationTime' in kwargs: + if termination_time is None and 'terminationTime' in kwargs: termination_time = kwargs['terminationTime'] - if 'termintationTime' in kwargs: + if termintation_time is None and 'termintationTime' in kwargs: termintation_time = kwargs['termintationTime'] - if 'userSshKeys' in kwargs: + if user_ssh_keys is None and 'userSshKeys' in kwargs: user_ssh_keys = kwargs['userSshKeys'] _setter("billing_cycle", billing_cycle) @@ -1142,35 +1164,53 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - address_family: int, - customer_as: int, - customer_ip: str, - md5_enabled: bool, - md5_password: str, - multihop: bool, - peer_as: int, - routes_ins: Sequence['outputs.GetDeviceBgpNeighborsBgpNeighborRoutesInResult'], - routes_outs: Sequence['outputs.GetDeviceBgpNeighborsBgpNeighborRoutesOutResult'], + address_family: Optional[int] = None, + customer_as: Optional[int] = None, + customer_ip: Optional[str] = None, + md5_enabled: Optional[bool] = None, + md5_password: Optional[str] = None, + multihop: Optional[bool] = None, + peer_as: Optional[int] = None, + routes_ins: Optional[Sequence['outputs.GetDeviceBgpNeighborsBgpNeighborRoutesInResult']] = None, + routes_outs: Optional[Sequence['outputs.GetDeviceBgpNeighborsBgpNeighborRoutesOutResult']] = None, peer_ips: Optional[Sequence[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'addressFamily' in kwargs: + if address_family is None and 'addressFamily' in kwargs: address_family = kwargs['addressFamily'] - if 'customerAs' in kwargs: + if address_family is None: + raise TypeError("Missing 'address_family' argument") + if customer_as is None and 'customerAs' in kwargs: customer_as = kwargs['customerAs'] - if 'customerIp' in kwargs: + if customer_as is None: + raise TypeError("Missing 'customer_as' argument") + if customer_ip is None and 'customerIp' in kwargs: customer_ip = kwargs['customerIp'] - if 'md5Enabled' in kwargs: + if customer_ip is None: + raise TypeError("Missing 'customer_ip' argument") + if md5_enabled is None and 'md5Enabled' in kwargs: md5_enabled = kwargs['md5Enabled'] - if 'md5Password' in kwargs: + if md5_enabled is None: + raise TypeError("Missing 'md5_enabled' argument") + if md5_password is None and 'md5Password' in kwargs: md5_password = kwargs['md5Password'] - if 'peerAs' in kwargs: + if md5_password is None: + raise TypeError("Missing 'md5_password' argument") + if multihop is None: + raise TypeError("Missing 'multihop' argument") + if peer_as is None and 'peerAs' in kwargs: peer_as = kwargs['peerAs'] - if 'routesIns' in kwargs: + if peer_as is None: + raise TypeError("Missing 'peer_as' argument") + if routes_ins is None and 'routesIns' in kwargs: routes_ins = kwargs['routesIns'] - if 'routesOuts' in kwargs: + if routes_ins is None: + raise TypeError("Missing 'routes_ins' argument") + if routes_outs is None and 'routesOuts' in kwargs: routes_outs = kwargs['routesOuts'] - if 'peerIps' in kwargs: + if routes_outs is None: + raise TypeError("Missing 'routes_outs' argument") + if peer_ips is None and 'peerIps' in kwargs: peer_ips = kwargs['peerIps'] _setter("address_family", address_family) @@ -1283,10 +1323,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - exact: bool, - route: str, + exact: Optional[bool] = None, + route: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if exact is None: + raise TypeError("Missing 'exact' argument") + if route is None: + raise TypeError("Missing 'route' argument") _setter("exact", exact) _setter("route", route) @@ -1325,10 +1369,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - exact: bool, - route: str, + exact: Optional[bool] = None, + route: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if exact is None: + raise TypeError("Missing 'exact' argument") + if route is None: + raise TypeError("Missing 'route' argument") _setter("exact", exact) _setter("route", route) @@ -1376,13 +1424,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - address: str, - cidr: int, - family: int, - gateway: str, - public: bool, + address: Optional[str] = None, + cidr: Optional[int] = None, + family: Optional[int] = None, + gateway: Optional[str] = None, + public: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if address is None: + raise TypeError("Missing 'address' argument") + if cidr is None: + raise TypeError("Missing 'cidr' argument") + if family is None: + raise TypeError("Missing 'family' argument") + if gateway is None: + raise TypeError("Missing 'gateway' argument") + if public is None: + raise TypeError("Missing 'public' argument") _setter("address", address) _setter("cidr", cidr) @@ -1457,13 +1515,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - bonded: bool, - id: str, - mac: str, - name: str, - type: str, + bonded: Optional[bool] = None, + id: Optional[str] = None, + mac: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if bonded is None: + raise TypeError("Missing 'bonded' argument") + if id is None: + raise TypeError("Missing 'id' argument") + if mac is None: + raise TypeError("Missing 'mac' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if type is None: + raise TypeError("Missing 'type' argument") _setter("bonded", bonded) _setter("id", id) @@ -1570,57 +1638,103 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - access_private_ipv4: str, - access_public_ipv4: str, - access_public_ipv6: str, - always_pxe: bool, - billing_cycle: str, - description: str, - device_id: str, - facility: str, - hardware_reservation_id: str, - hostname: str, - ipxe_script_url: str, - metro: str, - network_type: str, - networks: Sequence['outputs.GetDevicesDeviceNetworkResult'], - operating_system: str, - plan: str, - ports: Sequence['outputs.GetDevicesDevicePortResult'], - project_id: str, - root_password: str, - ssh_key_ids: Sequence[str], - state: str, - storage: str, - tags: Sequence[str], + access_private_ipv4: Optional[str] = None, + access_public_ipv4: Optional[str] = None, + access_public_ipv6: Optional[str] = None, + always_pxe: Optional[bool] = None, + billing_cycle: Optional[str] = None, + description: Optional[str] = None, + device_id: Optional[str] = None, + facility: Optional[str] = None, + hardware_reservation_id: Optional[str] = None, + hostname: Optional[str] = None, + ipxe_script_url: Optional[str] = None, + metro: Optional[str] = None, + network_type: Optional[str] = None, + networks: Optional[Sequence['outputs.GetDevicesDeviceNetworkResult']] = None, + operating_system: Optional[str] = None, + plan: Optional[str] = None, + ports: Optional[Sequence['outputs.GetDevicesDevicePortResult']] = None, + project_id: Optional[str] = None, + root_password: Optional[str] = None, + ssh_key_ids: Optional[Sequence[str]] = None, + state: Optional[str] = None, + storage: Optional[str] = None, + tags: Optional[Sequence[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accessPrivateIpv4' in kwargs: + if access_private_ipv4 is None and 'accessPrivateIpv4' in kwargs: access_private_ipv4 = kwargs['accessPrivateIpv4'] - if 'accessPublicIpv4' in kwargs: + if access_private_ipv4 is None: + raise TypeError("Missing 'access_private_ipv4' argument") + if access_public_ipv4 is None and 'accessPublicIpv4' in kwargs: access_public_ipv4 = kwargs['accessPublicIpv4'] - if 'accessPublicIpv6' in kwargs: + if access_public_ipv4 is None: + raise TypeError("Missing 'access_public_ipv4' argument") + if access_public_ipv6 is None and 'accessPublicIpv6' in kwargs: access_public_ipv6 = kwargs['accessPublicIpv6'] - if 'alwaysPxe' in kwargs: + if access_public_ipv6 is None: + raise TypeError("Missing 'access_public_ipv6' argument") + if always_pxe is None and 'alwaysPxe' in kwargs: always_pxe = kwargs['alwaysPxe'] - if 'billingCycle' in kwargs: + if always_pxe is None: + raise TypeError("Missing 'always_pxe' argument") + if billing_cycle is None and 'billingCycle' in kwargs: billing_cycle = kwargs['billingCycle'] - if 'deviceId' in kwargs: + if billing_cycle is None: + raise TypeError("Missing 'billing_cycle' argument") + if description is None: + raise TypeError("Missing 'description' argument") + if device_id is None and 'deviceId' in kwargs: device_id = kwargs['deviceId'] - if 'hardwareReservationId' in kwargs: + if device_id is None: + raise TypeError("Missing 'device_id' argument") + if facility is None: + raise TypeError("Missing 'facility' argument") + if hardware_reservation_id is None and 'hardwareReservationId' in kwargs: hardware_reservation_id = kwargs['hardwareReservationId'] - if 'ipxeScriptUrl' in kwargs: + if hardware_reservation_id is None: + raise TypeError("Missing 'hardware_reservation_id' argument") + if hostname is None: + raise TypeError("Missing 'hostname' argument") + if ipxe_script_url is None and 'ipxeScriptUrl' in kwargs: ipxe_script_url = kwargs['ipxeScriptUrl'] - if 'networkType' in kwargs: + if ipxe_script_url is None: + raise TypeError("Missing 'ipxe_script_url' argument") + if metro is None: + raise TypeError("Missing 'metro' argument") + if network_type is None and 'networkType' in kwargs: network_type = kwargs['networkType'] - if 'operatingSystem' in kwargs: + if network_type is None: + raise TypeError("Missing 'network_type' argument") + if networks is None: + raise TypeError("Missing 'networks' argument") + if operating_system is None and 'operatingSystem' in kwargs: operating_system = kwargs['operatingSystem'] - if 'projectId' in kwargs: + if operating_system is None: + raise TypeError("Missing 'operating_system' argument") + if plan is None: + raise TypeError("Missing 'plan' argument") + if ports is None: + raise TypeError("Missing 'ports' argument") + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'rootPassword' in kwargs: + if project_id is None: + raise TypeError("Missing 'project_id' argument") + if root_password is None and 'rootPassword' in kwargs: root_password = kwargs['rootPassword'] - if 'sshKeyIds' in kwargs: + if root_password is None: + raise TypeError("Missing 'root_password' argument") + if ssh_key_ids is None and 'sshKeyIds' in kwargs: ssh_key_ids = kwargs['sshKeyIds'] + if ssh_key_ids is None: + raise TypeError("Missing 'ssh_key_ids' argument") + if state is None: + raise TypeError("Missing 'state' argument") + if storage is None: + raise TypeError("Missing 'storage' argument") + if tags is None: + raise TypeError("Missing 'tags' argument") _setter("access_private_ipv4", access_private_ipv4) _setter("access_public_ipv4", access_public_ipv4) @@ -1787,13 +1901,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - address: str, - cidr: int, - family: int, - gateway: str, - public: bool, + address: Optional[str] = None, + cidr: Optional[int] = None, + family: Optional[int] = None, + gateway: Optional[str] = None, + public: Optional[bool] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if address is None: + raise TypeError("Missing 'address' argument") + if cidr is None: + raise TypeError("Missing 'cidr' argument") + if family is None: + raise TypeError("Missing 'family' argument") + if gateway is None: + raise TypeError("Missing 'gateway' argument") + if public is None: + raise TypeError("Missing 'public' argument") _setter("address", address) _setter("cidr", cidr) @@ -1846,13 +1970,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - bonded: bool, - id: str, - mac: str, - name: str, - type: str, + bonded: Optional[bool] = None, + id: Optional[str] = None, + mac: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if bonded is None: + raise TypeError("Missing 'bonded' argument") + if id is None: + raise TypeError("Missing 'id' argument") + if mac is None: + raise TypeError("Missing 'mac' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if type is None: + raise TypeError("Missing 'type' argument") _setter("bonded", bonded) _setter("id", id) @@ -1911,13 +2045,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - attribute: str, - values: Sequence[str], + attribute: Optional[str] = None, + values: Optional[Sequence[str]] = None, all: Optional[bool] = None, match_by: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'matchBy' in kwargs: + if attribute is None: + raise TypeError("Missing 'attribute' argument") + if values is None: + raise TypeError("Missing 'values' argument") + if match_by is None and 'matchBy' in kwargs: match_by = kwargs['matchBy'] _setter("attribute", attribute) @@ -1978,10 +2116,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - attribute: str, + attribute: Optional[str] = None, direction: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if attribute is None: + raise TypeError("Missing 'attribute' argument") _setter("attribute", attribute) if direction is not None: @@ -2019,10 +2159,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - plan: str, + plan: Optional[str] = None, quantity: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if plan is None: + raise TypeError("Missing 'plan' argument") _setter("plan", plan) if quantity is not None: @@ -2078,19 +2220,33 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: str, - link_status: str, - name: str, - role: str, - speed: int, - status: str, - virtual_circuit_ids: Sequence[Any], + id: Optional[str] = None, + link_status: Optional[str] = None, + name: Optional[str] = None, + role: Optional[str] = None, + speed: Optional[int] = None, + status: Optional[str] = None, + virtual_circuit_ids: Optional[Sequence[Any]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'linkStatus' in kwargs: + if id is None: + raise TypeError("Missing 'id' argument") + if link_status is None and 'linkStatus' in kwargs: link_status = kwargs['linkStatus'] - if 'virtualCircuitIds' in kwargs: + if link_status is None: + raise TypeError("Missing 'link_status' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if role is None: + raise TypeError("Missing 'role' argument") + if speed is None: + raise TypeError("Missing 'speed' argument") + if status is None: + raise TypeError("Missing 'status' argument") + if virtual_circuit_ids is None and 'virtualCircuitIds' in kwargs: virtual_circuit_ids = kwargs['virtualCircuitIds'] + if virtual_circuit_ids is None: + raise TypeError("Missing 'virtual_circuit_ids' argument") _setter("id", id) _setter("link_status", link_status) @@ -2185,18 +2341,30 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - expires_at: str, - id: str, - max_allowed_speed: str, - role: str, - state: str, - type: str, + expires_at: Optional[str] = None, + id: Optional[str] = None, + max_allowed_speed: Optional[str] = None, + role: Optional[str] = None, + state: Optional[str] = None, + type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'expiresAt' in kwargs: + if expires_at is None and 'expiresAt' in kwargs: expires_at = kwargs['expiresAt'] - if 'maxAllowedSpeed' in kwargs: + if expires_at is None: + raise TypeError("Missing 'expires_at' argument") + if id is None: + raise TypeError("Missing 'id' argument") + if max_allowed_speed is None and 'maxAllowedSpeed' in kwargs: max_allowed_speed = kwargs['maxAllowedSpeed'] + if max_allowed_speed is None: + raise TypeError("Missing 'max_allowed_speed' argument") + if role is None: + raise TypeError("Missing 'role' argument") + if state is None: + raise TypeError("Missing 'state' argument") + if type is None: + raise TypeError("Missing 'type' argument") _setter("expires_at", expires_at) _setter("id", id) @@ -2269,10 +2437,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - plan: str, + plan: Optional[str] = None, quantity: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if plan is None: + raise TypeError("Missing 'plan' argument") _setter("plan", plan) if quantity is not None: @@ -2322,15 +2492,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - address: str, - city: str, - country: str, - state: str, - zip_code: str, + address: Optional[str] = None, + city: Optional[str] = None, + country: Optional[str] = None, + state: Optional[str] = None, + zip_code: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'zipCode' in kwargs: + if address is None: + raise TypeError("Missing 'address' argument") + if city is None: + raise TypeError("Missing 'city' argument") + if country is None: + raise TypeError("Missing 'country' argument") + if state is None: + raise TypeError("Missing 'state' argument") + if zip_code is None and 'zipCode' in kwargs: zip_code = kwargs['zipCode'] + if zip_code is None: + raise TypeError("Missing 'zip_code' argument") _setter("address", address) _setter("city", city) @@ -2404,13 +2584,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - attribute: str, - values: Sequence[str], + attribute: Optional[str] = None, + values: Optional[Sequence[str]] = None, all: Optional[bool] = None, match_by: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'matchBy' in kwargs: + if attribute is None: + raise TypeError("Missing 'attribute' argument") + if values is None: + raise TypeError("Missing 'values' argument") + if match_by is None and 'matchBy' in kwargs: match_by = kwargs['matchBy'] _setter("attribute", attribute) @@ -2502,32 +2686,56 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - available_in_metros: Sequence[str], - available_ins: Sequence[str], - class_: str, - deployment_types: Sequence[str], - description: str, - id: str, - legacy: bool, - line: str, - name: str, - pricing_hour: float, - pricing_month: float, - slug: str, + available_in_metros: Optional[Sequence[str]] = None, + available_ins: Optional[Sequence[str]] = None, + class_: Optional[str] = None, + deployment_types: Optional[Sequence[str]] = None, + description: Optional[str] = None, + id: Optional[str] = None, + legacy: Optional[bool] = None, + line: Optional[str] = None, + name: Optional[str] = None, + pricing_hour: Optional[float] = None, + pricing_month: Optional[float] = None, + slug: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'availableInMetros' in kwargs: + if available_in_metros is None and 'availableInMetros' in kwargs: available_in_metros = kwargs['availableInMetros'] - if 'availableIns' in kwargs: + if available_in_metros is None: + raise TypeError("Missing 'available_in_metros' argument") + if available_ins is None and 'availableIns' in kwargs: available_ins = kwargs['availableIns'] - if 'class' in kwargs: + if available_ins is None: + raise TypeError("Missing 'available_ins' argument") + if class_ is None and 'class' in kwargs: class_ = kwargs['class'] - if 'deploymentTypes' in kwargs: + if class_ is None: + raise TypeError("Missing 'class_' argument") + if deployment_types is None and 'deploymentTypes' in kwargs: deployment_types = kwargs['deploymentTypes'] - if 'pricingHour' in kwargs: + if deployment_types is None: + raise TypeError("Missing 'deployment_types' argument") + if description is None: + raise TypeError("Missing 'description' argument") + if id is None: + raise TypeError("Missing 'id' argument") + if legacy is None: + raise TypeError("Missing 'legacy' argument") + if line is None: + raise TypeError("Missing 'line' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if pricing_hour is None and 'pricingHour' in kwargs: pricing_hour = kwargs['pricingHour'] - if 'pricingMonth' in kwargs: + if pricing_hour is None: + raise TypeError("Missing 'pricing_hour' argument") + if pricing_month is None and 'pricingMonth' in kwargs: pricing_month = kwargs['pricingMonth'] + if pricing_month is None: + raise TypeError("Missing 'pricing_month' argument") + if slug is None: + raise TypeError("Missing 'slug' argument") _setter("available_in_metros", available_in_metros) _setter("available_ins", available_ins) @@ -2659,10 +2867,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - attribute: str, + attribute: Optional[str] = None, direction: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if attribute is None: + raise TypeError("Missing 'attribute' argument") _setter("attribute", attribute) if direction is not None: @@ -2711,17 +2921,25 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - asn: int, - deployment_type: str, - max_prefix: int, - status: str, + asn: Optional[int] = None, + deployment_type: Optional[str] = None, + max_prefix: Optional[int] = None, + status: Optional[str] = None, md5: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deploymentType' in kwargs: + if asn is None: + raise TypeError("Missing 'asn' argument") + if deployment_type is None and 'deploymentType' in kwargs: deployment_type = kwargs['deploymentType'] - if 'maxPrefix' in kwargs: + if deployment_type is None: + raise TypeError("Missing 'deployment_type' argument") + if max_prefix is None and 'maxPrefix' in kwargs: max_prefix = kwargs['maxPrefix'] + if max_prefix is None: + raise TypeError("Missing 'max_prefix' argument") + if status is None: + raise TypeError("Missing 'status' argument") _setter("asn", asn) _setter("deployment_type", deployment_type) diff --git a/sdk/python/pulumi_equinix/metal/port.py b/sdk/python/pulumi_equinix/metal/port.py index 945e5c28..c7a53f40 100644 --- a/sdk/python/pulumi_equinix/metal/port.py +++ b/sdk/python/pulumi_equinix/metal/port.py @@ -47,8 +47,8 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - bonded: pulumi.Input[bool], - port_id: pulumi.Input[str], + bonded: Optional[pulumi.Input[bool]] = None, + port_id: Optional[pulumi.Input[str]] = None, layer2: Optional[pulumi.Input[bool]] = None, native_vlan_id: Optional[pulumi.Input[str]] = None, reset_on_delete: Optional[pulumi.Input[bool]] = None, @@ -56,15 +56,19 @@ def _configure( vxlan_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'portId' in kwargs: + if bonded is None: + raise TypeError("Missing 'bonded' argument") + if port_id is None and 'portId' in kwargs: port_id = kwargs['portId'] - if 'nativeVlanId' in kwargs: + if port_id is None: + raise TypeError("Missing 'port_id' argument") + if native_vlan_id is None and 'nativeVlanId' in kwargs: native_vlan_id = kwargs['nativeVlanId'] - if 'resetOnDelete' in kwargs: + if reset_on_delete is None and 'resetOnDelete' in kwargs: reset_on_delete = kwargs['resetOnDelete'] - if 'vlanIds' in kwargs: + if vlan_ids is None and 'vlanIds' in kwargs: vlan_ids = kwargs['vlanIds'] - if 'vxlanIds' in kwargs: + if vxlan_ids is None and 'vxlanIds' in kwargs: vxlan_ids = kwargs['vxlanIds'] _setter("bonded", bonded) @@ -242,23 +246,23 @@ def _configure( vxlan_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'bondId' in kwargs: + if bond_id is None and 'bondId' in kwargs: bond_id = kwargs['bondId'] - if 'bondName' in kwargs: + if bond_name is None and 'bondName' in kwargs: bond_name = kwargs['bondName'] - if 'disbondSupported' in kwargs: + if disbond_supported is None and 'disbondSupported' in kwargs: disbond_supported = kwargs['disbondSupported'] - if 'nativeVlanId' in kwargs: + if native_vlan_id is None and 'nativeVlanId' in kwargs: native_vlan_id = kwargs['nativeVlanId'] - if 'networkType' in kwargs: + if network_type is None and 'networkType' in kwargs: network_type = kwargs['networkType'] - if 'portId' in kwargs: + if port_id is None and 'portId' in kwargs: port_id = kwargs['portId'] - if 'resetOnDelete' in kwargs: + if reset_on_delete is None and 'resetOnDelete' in kwargs: reset_on_delete = kwargs['resetOnDelete'] - if 'vlanIds' in kwargs: + if vlan_ids is None and 'vlanIds' in kwargs: vlan_ids = kwargs['vlanIds'] - if 'vxlanIds' in kwargs: + if vxlan_ids is None and 'vxlanIds' in kwargs: vxlan_ids = kwargs['vxlanIds'] if bond_id is not None: diff --git a/sdk/python/pulumi_equinix/metal/port_vlan_attachment.py b/sdk/python/pulumi_equinix/metal/port_vlan_attachment.py index b5b6592f..2b23b453 100644 --- a/sdk/python/pulumi_equinix/metal/port_vlan_attachment.py +++ b/sdk/python/pulumi_equinix/metal/port_vlan_attachment.py @@ -42,20 +42,26 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - device_id: pulumi.Input[str], - port_name: pulumi.Input[str], - vlan_vnid: pulumi.Input[int], + device_id: Optional[pulumi.Input[str]] = None, + port_name: Optional[pulumi.Input[str]] = None, + vlan_vnid: Optional[pulumi.Input[int]] = None, force_bond: Optional[pulumi.Input[bool]] = None, native: Optional[pulumi.Input[bool]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deviceId' in kwargs: + if device_id is None and 'deviceId' in kwargs: device_id = kwargs['deviceId'] - if 'portName' in kwargs: + if device_id is None: + raise TypeError("Missing 'device_id' argument") + if port_name is None and 'portName' in kwargs: port_name = kwargs['portName'] - if 'vlanVnid' in kwargs: + if port_name is None: + raise TypeError("Missing 'port_name' argument") + if vlan_vnid is None and 'vlanVnid' in kwargs: vlan_vnid = kwargs['vlanVnid'] - if 'forceBond' in kwargs: + if vlan_vnid is None: + raise TypeError("Missing 'vlan_vnid' argument") + if force_bond is None and 'forceBond' in kwargs: force_bond = kwargs['forceBond'] _setter("device_id", device_id) @@ -177,17 +183,17 @@ def _configure( vlan_vnid: Optional[pulumi.Input[int]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deviceId' in kwargs: + if device_id is None and 'deviceId' in kwargs: device_id = kwargs['deviceId'] - if 'forceBond' in kwargs: + if force_bond is None and 'forceBond' in kwargs: force_bond = kwargs['forceBond'] - if 'portId' in kwargs: + if port_id is None and 'portId' in kwargs: port_id = kwargs['portId'] - if 'portName' in kwargs: + if port_name is None and 'portName' in kwargs: port_name = kwargs['portName'] - if 'vlanId' in kwargs: + if vlan_id is None and 'vlanId' in kwargs: vlan_id = kwargs['vlanId'] - if 'vlanVnid' in kwargs: + if vlan_vnid is None and 'vlanVnid' in kwargs: vlan_vnid = kwargs['vlanVnid'] if device_id is not None: diff --git a/sdk/python/pulumi_equinix/metal/project.py b/sdk/python/pulumi_equinix/metal/project.py index b786c7d7..fbeb8ad2 100644 --- a/sdk/python/pulumi_equinix/metal/project.py +++ b/sdk/python/pulumi_equinix/metal/project.py @@ -52,13 +52,13 @@ def _configure( payment_method_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'backendTransfer' in kwargs: + if backend_transfer is None and 'backendTransfer' in kwargs: backend_transfer = kwargs['backendTransfer'] - if 'bgpConfig' in kwargs: + if bgp_config is None and 'bgpConfig' in kwargs: bgp_config = kwargs['bgpConfig'] - if 'organizationId' in kwargs: + if organization_id is None and 'organizationId' in kwargs: organization_id = kwargs['organizationId'] - if 'paymentMethodId' in kwargs: + if payment_method_id is None and 'paymentMethodId' in kwargs: payment_method_id = kwargs['paymentMethodId'] if backend_transfer is not None: @@ -185,13 +185,13 @@ def _configure( updated: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'backendTransfer' in kwargs: + if backend_transfer is None and 'backendTransfer' in kwargs: backend_transfer = kwargs['backendTransfer'] - if 'bgpConfig' in kwargs: + if bgp_config is None and 'bgpConfig' in kwargs: bgp_config = kwargs['bgpConfig'] - if 'organizationId' in kwargs: + if organization_id is None and 'organizationId' in kwargs: organization_id = kwargs['organizationId'] - if 'paymentMethodId' in kwargs: + if payment_method_id is None and 'paymentMethodId' in kwargs: payment_method_id = kwargs['paymentMethodId'] if backend_transfer is not None: diff --git a/sdk/python/pulumi_equinix/metal/project_api_key.py b/sdk/python/pulumi_equinix/metal/project_api_key.py index 10e97b12..f020288c 100644 --- a/sdk/python/pulumi_equinix/metal/project_api_key.py +++ b/sdk/python/pulumi_equinix/metal/project_api_key.py @@ -33,15 +33,21 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - description: pulumi.Input[str], - project_id: pulumi.Input[str], - read_only: pulumi.Input[bool], + description: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + read_only: Optional[pulumi.Input[bool]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if description is None: + raise TypeError("Missing 'description' argument") + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'readOnly' in kwargs: + if project_id is None: + raise TypeError("Missing 'project_id' argument") + if read_only is None and 'readOnly' in kwargs: read_only = kwargs['readOnly'] + if read_only is None: + raise TypeError("Missing 'read_only' argument") _setter("description", description) _setter("project_id", project_id) @@ -116,9 +122,9 @@ def _configure( token: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'readOnly' in kwargs: + if read_only is None and 'readOnly' in kwargs: read_only = kwargs['readOnly'] if description is not None: diff --git a/sdk/python/pulumi_equinix/metal/project_ssh_key.py b/sdk/python/pulumi_equinix/metal/project_ssh_key.py index e36982f9..1085d4e8 100644 --- a/sdk/python/pulumi_equinix/metal/project_ssh_key.py +++ b/sdk/python/pulumi_equinix/metal/project_ssh_key.py @@ -32,15 +32,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - project_id: pulumi.Input[str], - public_key: pulumi.Input[str], + project_id: Optional[pulumi.Input[str]] = None, + public_key: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'publicKey' in kwargs: + if project_id is None: + raise TypeError("Missing 'project_id' argument") + if public_key is None and 'publicKey' in kwargs: public_key = kwargs['publicKey'] + if public_key is None: + raise TypeError("Missing 'public_key' argument") _setter("project_id", project_id) _setter("public_key", public_key) @@ -126,11 +130,11 @@ def _configure( updated: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'ownerId' in kwargs: + if owner_id is None and 'ownerId' in kwargs: owner_id = kwargs['ownerId'] - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'publicKey' in kwargs: + if public_key is None and 'publicKey' in kwargs: public_key = kwargs['publicKey'] if created is not None: diff --git a/sdk/python/pulumi_equinix/metal/reserved_ip_block.py b/sdk/python/pulumi_equinix/metal/reserved_ip_block.py index abab8557..813d34c9 100644 --- a/sdk/python/pulumi_equinix/metal/reserved_ip_block.py +++ b/sdk/python/pulumi_equinix/metal/reserved_ip_block.py @@ -64,7 +64,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - project_id: pulumi.Input[str], + project_id: Optional[pulumi.Input[str]] = None, cidr: Optional[pulumi.Input[int]] = None, custom_data: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, @@ -78,13 +78,15 @@ def _configure( wait_for_state: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'customData' in kwargs: + if project_id is None: + raise TypeError("Missing 'project_id' argument") + if custom_data is None and 'customData' in kwargs: custom_data = kwargs['customData'] - if 'vrfId' in kwargs: + if vrf_id is None and 'vrfId' in kwargs: vrf_id = kwargs['vrfId'] - if 'waitForState' in kwargs: + if wait_for_state is None and 'waitForState' in kwargs: wait_for_state = kwargs['waitForState'] _setter("project_id", project_id) @@ -359,19 +361,19 @@ def _configure( wait_for_state: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'addressFamily' in kwargs: + if address_family is None and 'addressFamily' in kwargs: address_family = kwargs['addressFamily'] - if 'cidrNotation' in kwargs: + if cidr_notation is None and 'cidrNotation' in kwargs: cidr_notation = kwargs['cidrNotation'] - if 'customData' in kwargs: + if custom_data is None and 'customData' in kwargs: custom_data = kwargs['customData'] - if 'global' in kwargs: + if global_ is None and 'global' in kwargs: global_ = kwargs['global'] - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'vrfId' in kwargs: + if vrf_id is None and 'vrfId' in kwargs: vrf_id = kwargs['vrfId'] - if 'waitForState' in kwargs: + if wait_for_state is None and 'waitForState' in kwargs: wait_for_state = kwargs['waitForState'] if address is not None: diff --git a/sdk/python/pulumi_equinix/metal/spot_market_request.py b/sdk/python/pulumi_equinix/metal/spot_market_request.py index a4cfd61b..b59b62c5 100644 --- a/sdk/python/pulumi_equinix/metal/spot_market_request.py +++ b/sdk/python/pulumi_equinix/metal/spot_market_request.py @@ -54,27 +54,37 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - devices_max: pulumi.Input[int], - devices_min: pulumi.Input[int], - instance_parameters: pulumi.Input['SpotMarketRequestInstanceParametersArgs'], - max_bid_price: pulumi.Input[float], - project_id: pulumi.Input[str], + devices_max: Optional[pulumi.Input[int]] = None, + devices_min: Optional[pulumi.Input[int]] = None, + instance_parameters: Optional[pulumi.Input['SpotMarketRequestInstanceParametersArgs']] = None, + max_bid_price: Optional[pulumi.Input[float]] = None, + project_id: Optional[pulumi.Input[str]] = None, facilities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, metro: Optional[pulumi.Input[str]] = None, wait_for_devices: Optional[pulumi.Input[bool]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'devicesMax' in kwargs: + if devices_max is None and 'devicesMax' in kwargs: devices_max = kwargs['devicesMax'] - if 'devicesMin' in kwargs: + if devices_max is None: + raise TypeError("Missing 'devices_max' argument") + if devices_min is None and 'devicesMin' in kwargs: devices_min = kwargs['devicesMin'] - if 'instanceParameters' in kwargs: + if devices_min is None: + raise TypeError("Missing 'devices_min' argument") + if instance_parameters is None and 'instanceParameters' in kwargs: instance_parameters = kwargs['instanceParameters'] - if 'maxBidPrice' in kwargs: + if instance_parameters is None: + raise TypeError("Missing 'instance_parameters' argument") + if max_bid_price is None and 'maxBidPrice' in kwargs: max_bid_price = kwargs['maxBidPrice'] - if 'projectId' in kwargs: + if max_bid_price is None: + raise TypeError("Missing 'max_bid_price' argument") + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'waitForDevices' in kwargs: + if project_id is None: + raise TypeError("Missing 'project_id' argument") + if wait_for_devices is None and 'waitForDevices' in kwargs: wait_for_devices = kwargs['waitForDevices'] _setter("devices_max", devices_max) @@ -248,17 +258,17 @@ def _configure( wait_for_devices: Optional[pulumi.Input[bool]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'devicesMax' in kwargs: + if devices_max is None and 'devicesMax' in kwargs: devices_max = kwargs['devicesMax'] - if 'devicesMin' in kwargs: + if devices_min is None and 'devicesMin' in kwargs: devices_min = kwargs['devicesMin'] - if 'instanceParameters' in kwargs: + if instance_parameters is None and 'instanceParameters' in kwargs: instance_parameters = kwargs['instanceParameters'] - if 'maxBidPrice' in kwargs: + if max_bid_price is None and 'maxBidPrice' in kwargs: max_bid_price = kwargs['maxBidPrice'] - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'waitForDevices' in kwargs: + if wait_for_devices is None and 'waitForDevices' in kwargs: wait_for_devices = kwargs['waitForDevices'] if devices_max is not None: diff --git a/sdk/python/pulumi_equinix/metal/ssh_key.py b/sdk/python/pulumi_equinix/metal/ssh_key.py index d2af616c..a26e9c67 100644 --- a/sdk/python/pulumi_equinix/metal/ssh_key.py +++ b/sdk/python/pulumi_equinix/metal/ssh_key.py @@ -30,12 +30,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - public_key: pulumi.Input[str], + public_key: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'publicKey' in kwargs: + if public_key is None and 'publicKey' in kwargs: public_key = kwargs['publicKey'] + if public_key is None: + raise TypeError("Missing 'public_key' argument") _setter("public_key", public_key) if name is not None: @@ -106,9 +108,9 @@ def _configure( updated: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'ownerId' in kwargs: + if owner_id is None and 'ownerId' in kwargs: owner_id = kwargs['ownerId'] - if 'publicKey' in kwargs: + if public_key is None and 'publicKey' in kwargs: public_key = kwargs['publicKey'] if created is not None: diff --git a/sdk/python/pulumi_equinix/metal/user_api_key.py b/sdk/python/pulumi_equinix/metal/user_api_key.py index e4e53c59..a7466cab 100644 --- a/sdk/python/pulumi_equinix/metal/user_api_key.py +++ b/sdk/python/pulumi_equinix/metal/user_api_key.py @@ -30,12 +30,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - description: pulumi.Input[str], - read_only: pulumi.Input[bool], + description: Optional[pulumi.Input[str]] = None, + read_only: Optional[pulumi.Input[bool]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'readOnly' in kwargs: + if description is None: + raise TypeError("Missing 'description' argument") + if read_only is None and 'readOnly' in kwargs: read_only = kwargs['readOnly'] + if read_only is None: + raise TypeError("Missing 'read_only' argument") _setter("description", description) _setter("read_only", read_only) @@ -97,9 +101,9 @@ def _configure( user_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'readOnly' in kwargs: + if read_only is None and 'readOnly' in kwargs: read_only = kwargs['readOnly'] - if 'userId' in kwargs: + if user_id is None and 'userId' in kwargs: user_id = kwargs['userId'] if description is not None: diff --git a/sdk/python/pulumi_equinix/metal/virtual_circuit.py b/sdk/python/pulumi_equinix/metal/virtual_circuit.py index 52bc4d91..fc20c145 100644 --- a/sdk/python/pulumi_equinix/metal/virtual_circuit.py +++ b/sdk/python/pulumi_equinix/metal/virtual_circuit.py @@ -72,9 +72,9 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - connection_id: pulumi.Input[str], - port_id: pulumi.Input[str], - project_id: pulumi.Input[str], + connection_id: Optional[pulumi.Input[str]] = None, + port_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, customer_ip: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, md5: Optional[pulumi.Input[str]] = None, @@ -89,23 +89,29 @@ def _configure( vrf_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'connectionId' in kwargs: + if connection_id is None and 'connectionId' in kwargs: connection_id = kwargs['connectionId'] - if 'portId' in kwargs: + if connection_id is None: + raise TypeError("Missing 'connection_id' argument") + if port_id is None and 'portId' in kwargs: port_id = kwargs['portId'] - if 'projectId' in kwargs: + if port_id is None: + raise TypeError("Missing 'port_id' argument") + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'customerIp' in kwargs: + if project_id is None: + raise TypeError("Missing 'project_id' argument") + if customer_ip is None and 'customerIp' in kwargs: customer_ip = kwargs['customerIp'] - if 'metalIp' in kwargs: + if metal_ip is None and 'metalIp' in kwargs: metal_ip = kwargs['metalIp'] - if 'nniVlan' in kwargs: + if nni_vlan is None and 'nniVlan' in kwargs: nni_vlan = kwargs['nniVlan'] - if 'peerAsn' in kwargs: + if peer_asn is None and 'peerAsn' in kwargs: peer_asn = kwargs['peerAsn'] - if 'vlanId' in kwargs: + if vlan_id is None and 'vlanId' in kwargs: vlan_id = kwargs['vlanId'] - if 'vrfId' in kwargs: + if vrf_id is None and 'vrfId' in kwargs: vrf_id = kwargs['vrfId'] _setter("connection_id", connection_id) @@ -411,25 +417,25 @@ def _configure( vrf_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'connectionId' in kwargs: + if connection_id is None and 'connectionId' in kwargs: connection_id = kwargs['connectionId'] - if 'customerIp' in kwargs: + if customer_ip is None and 'customerIp' in kwargs: customer_ip = kwargs['customerIp'] - if 'metalIp' in kwargs: + if metal_ip is None and 'metalIp' in kwargs: metal_ip = kwargs['metalIp'] - if 'nniVlan' in kwargs: + if nni_vlan is None and 'nniVlan' in kwargs: nni_vlan = kwargs['nniVlan'] - if 'nniVnid' in kwargs: + if nni_vnid is None and 'nniVnid' in kwargs: nni_vnid = kwargs['nniVnid'] - if 'peerAsn' in kwargs: + if peer_asn is None and 'peerAsn' in kwargs: peer_asn = kwargs['peerAsn'] - if 'portId' in kwargs: + if port_id is None and 'portId' in kwargs: port_id = kwargs['portId'] - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'vlanId' in kwargs: + if vlan_id is None and 'vlanId' in kwargs: vlan_id = kwargs['vlanId'] - if 'vrfId' in kwargs: + if vrf_id is None and 'vrfId' in kwargs: vrf_id = kwargs['vrfId'] if connection_id is not None: diff --git a/sdk/python/pulumi_equinix/metal/vlan.py b/sdk/python/pulumi_equinix/metal/vlan.py index e2b472a4..dfd41068 100644 --- a/sdk/python/pulumi_equinix/metal/vlan.py +++ b/sdk/python/pulumi_equinix/metal/vlan.py @@ -39,15 +39,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - project_id: pulumi.Input[str], + project_id: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, facility: Optional[pulumi.Input[Union[str, 'Facility']]] = None, metro: Optional[pulumi.Input[str]] = None, vxlan: Optional[pulumi.Input[int]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] + if project_id is None: + raise TypeError("Missing 'project_id' argument") _setter("project_id", project_id) if description is not None: @@ -160,7 +162,7 @@ def _configure( vxlan: Optional[pulumi.Input[int]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] if description is not None: diff --git a/sdk/python/pulumi_equinix/metal/vrf.py b/sdk/python/pulumi_equinix/metal/vrf.py index 086e6181..cbe06695 100644 --- a/sdk/python/pulumi_equinix/metal/vrf.py +++ b/sdk/python/pulumi_equinix/metal/vrf.py @@ -41,19 +41,23 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - metro: pulumi.Input[str], - project_id: pulumi.Input[str], + metro: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, local_asn: Optional[pulumi.Input[int]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'projectId' in kwargs: + if metro is None: + raise TypeError("Missing 'metro' argument") + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] - if 'ipRanges' in kwargs: + if project_id is None: + raise TypeError("Missing 'project_id' argument") + if ip_ranges is None and 'ipRanges' in kwargs: ip_ranges = kwargs['ipRanges'] - if 'localAsn' in kwargs: + if local_asn is None and 'localAsn' in kwargs: local_asn = kwargs['localAsn'] _setter("metro", metro) @@ -178,11 +182,11 @@ def _configure( project_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'ipRanges' in kwargs: + if ip_ranges is None and 'ipRanges' in kwargs: ip_ranges = kwargs['ipRanges'] - if 'localAsn' in kwargs: + if local_asn is None and 'localAsn' in kwargs: local_asn = kwargs['localAsn'] - if 'projectId' in kwargs: + if project_id is None and 'projectId' in kwargs: project_id = kwargs['projectId'] if description is not None: diff --git a/sdk/python/pulumi_equinix/networkedge/_inputs.py b/sdk/python/pulumi_equinix/networkedge/_inputs.py index 547ac4a3..212cfc79 100644 --- a/sdk/python/pulumi_equinix/networkedge/_inputs.py +++ b/sdk/python/pulumi_equinix/networkedge/_inputs.py @@ -53,7 +53,7 @@ def _configure( uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'aclStatus' in kwargs: + if acl_status is None and 'aclStatus' in kwargs: acl_status = kwargs['aclStatus'] if acl_status is not None: @@ -136,9 +136,9 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - dst_port: pulumi.Input[str], - protocol: pulumi.Input[Union[str, 'AclRuleProtocolType']], - src_port: pulumi.Input[str], + dst_port: Optional[pulumi.Input[str]] = None, + protocol: Optional[pulumi.Input[Union[str, 'AclRuleProtocolType']]] = None, + src_port: Optional[pulumi.Input[str]] = None, description: Optional[pulumi.Input[str]] = None, sequence_number: Optional[pulumi.Input[int]] = None, source_type: Optional[pulumi.Input[str]] = None, @@ -146,13 +146,19 @@ def _configure( subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'dstPort' in kwargs: + if dst_port is None and 'dstPort' in kwargs: dst_port = kwargs['dstPort'] - if 'srcPort' in kwargs: + if dst_port is None: + raise TypeError("Missing 'dst_port' argument") + if protocol is None: + raise TypeError("Missing 'protocol' argument") + if src_port is None and 'srcPort' in kwargs: src_port = kwargs['srcPort'] - if 'sequenceNumber' in kwargs: + if src_port is None: + raise TypeError("Missing 'src_port' argument") + if sequence_number is None and 'sequenceNumber' in kwargs: sequence_number = kwargs['sequenceNumber'] - if 'sourceType' in kwargs: + if source_type is None and 'sourceType' in kwargs: source_type = kwargs['sourceType'] _setter("dst_port", dst_port) @@ -302,18 +308,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cluster_name: pulumi.Input[str], - node0: pulumi.Input['DeviceClusterDetailsNode0Args'], - node1: pulumi.Input['DeviceClusterDetailsNode1Args'], + cluster_name: Optional[pulumi.Input[str]] = None, + node0: Optional[pulumi.Input['DeviceClusterDetailsNode0Args']] = None, + node1: Optional[pulumi.Input['DeviceClusterDetailsNode1Args']] = None, cluster_id: Optional[pulumi.Input[str]] = None, num_of_nodes: Optional[pulumi.Input[int]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'clusterName' in kwargs: + if cluster_name is None and 'clusterName' in kwargs: cluster_name = kwargs['clusterName'] - if 'clusterId' in kwargs: + if cluster_name is None: + raise TypeError("Missing 'cluster_name' argument") + if node0 is None: + raise TypeError("Missing 'node0' argument") + if node1 is None: + raise TypeError("Missing 'node1' argument") + if cluster_id is None and 'clusterId' in kwargs: cluster_id = kwargs['clusterId'] - if 'numOfNodes' in kwargs: + if num_of_nodes is None and 'numOfNodes' in kwargs: num_of_nodes = kwargs['numOfNodes'] _setter("cluster_name", cluster_name) @@ -424,11 +436,11 @@ def _configure( vendor_configuration: Optional[pulumi.Input['DeviceClusterDetailsNode0VendorConfigurationArgs']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'licenseFileId' in kwargs: + if license_file_id is None and 'licenseFileId' in kwargs: license_file_id = kwargs['licenseFileId'] - if 'licenseToken' in kwargs: + if license_token is None and 'licenseToken' in kwargs: license_token = kwargs['licenseToken'] - if 'vendorConfiguration' in kwargs: + if vendor_configuration is None and 'vendorConfiguration' in kwargs: vendor_configuration = kwargs['vendorConfiguration'] if license_file_id is not None: @@ -546,13 +558,13 @@ def _configure( root_password: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'activationKey' in kwargs: + if activation_key is None and 'activationKey' in kwargs: activation_key = kwargs['activationKey'] - if 'adminPassword' in kwargs: + if admin_password is None and 'adminPassword' in kwargs: admin_password = kwargs['adminPassword'] - if 'controllerFqdn' in kwargs: + if controller_fqdn is None and 'controllerFqdn' in kwargs: controller_fqdn = kwargs['controllerFqdn'] - if 'rootPassword' in kwargs: + if root_password is None and 'rootPassword' in kwargs: root_password = kwargs['rootPassword'] if activation_key is not None: @@ -680,11 +692,11 @@ def _configure( vendor_configuration: Optional[pulumi.Input['DeviceClusterDetailsNode1VendorConfigurationArgs']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'licenseFileId' in kwargs: + if license_file_id is None and 'licenseFileId' in kwargs: license_file_id = kwargs['licenseFileId'] - if 'licenseToken' in kwargs: + if license_token is None and 'licenseToken' in kwargs: license_token = kwargs['licenseToken'] - if 'vendorConfiguration' in kwargs: + if vendor_configuration is None and 'vendorConfiguration' in kwargs: vendor_configuration = kwargs['vendorConfiguration'] if license_file_id is not None: @@ -802,13 +814,13 @@ def _configure( root_password: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'activationKey' in kwargs: + if activation_key is None and 'activationKey' in kwargs: activation_key = kwargs['activationKey'] - if 'adminPassword' in kwargs: + if admin_password is None and 'adminPassword' in kwargs: admin_password = kwargs['adminPassword'] - if 'controllerFqdn' in kwargs: + if controller_fqdn is None and 'controllerFqdn' in kwargs: controller_fqdn = kwargs['controllerFqdn'] - if 'rootPassword' in kwargs: + if root_password is None and 'rootPassword' in kwargs: root_password = kwargs['rootPassword'] if activation_key is not None: @@ -944,13 +956,13 @@ def _configure( type: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'assignedType' in kwargs: + if assigned_type is None and 'assignedType' in kwargs: assigned_type = kwargs['assignedType'] - if 'ipAddress' in kwargs: + if ip_address is None and 'ipAddress' in kwargs: ip_address = kwargs['ipAddress'] - if 'macAddress' in kwargs: + if mac_address is None and 'macAddress' in kwargs: mac_address = kwargs['macAddress'] - if 'operationalStatus' in kwargs: + if operational_status is None and 'operationalStatus' in kwargs: operational_status = kwargs['operationalStatus'] if assigned_type is not None: @@ -1095,16 +1107,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: pulumi.Input[str], + id: Optional[pulumi.Input[str]] = None, asn: Optional[pulumi.Input[int]] = None, interface_id: Optional[pulumi.Input[int]] = None, ip_address: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'interfaceId' in kwargs: + if id is None: + raise TypeError("Missing 'id' argument") + if interface_id is None and 'interfaceId' in kwargs: interface_id = kwargs['interfaceId'] - if 'ipAddress' in kwargs: + if ip_address is None and 'ipAddress' in kwargs: ip_address = kwargs['ipAddress'] _setter("id", id) @@ -1213,26 +1227,36 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_number: pulumi.Input[str], - dst_metro_code: pulumi.Input[str], - src_metro_code: pulumi.Input[str], - throughput: pulumi.Input[str], - throughput_unit: pulumi.Input[str], + account_number: Optional[pulumi.Input[str]] = None, + dst_metro_code: Optional[pulumi.Input[str]] = None, + src_metro_code: Optional[pulumi.Input[str]] = None, + throughput: Optional[pulumi.Input[str]] = None, + throughput_unit: Optional[pulumi.Input[str]] = None, dst_zone_code: Optional[pulumi.Input[str]] = None, src_zone_code: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'dstMetroCode' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if dst_metro_code is None and 'dstMetroCode' in kwargs: dst_metro_code = kwargs['dstMetroCode'] - if 'srcMetroCode' in kwargs: + if dst_metro_code is None: + raise TypeError("Missing 'dst_metro_code' argument") + if src_metro_code is None and 'srcMetroCode' in kwargs: src_metro_code = kwargs['srcMetroCode'] - if 'throughputUnit' in kwargs: + if src_metro_code is None: + raise TypeError("Missing 'src_metro_code' argument") + if throughput is None: + raise TypeError("Missing 'throughput' argument") + if throughput_unit is None and 'throughputUnit' in kwargs: throughput_unit = kwargs['throughputUnit'] - if 'dstZoneCode' in kwargs: + if throughput_unit is None: + raise TypeError("Missing 'throughput_unit' argument") + if dst_zone_code is None and 'dstZoneCode' in kwargs: dst_zone_code = kwargs['dstZoneCode'] - if 'srcZoneCode' in kwargs: + if src_zone_code is None and 'srcZoneCode' in kwargs: src_zone_code = kwargs['srcZoneCode'] _setter("account_number", account_number) @@ -1445,10 +1469,10 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_number: pulumi.Input[str], - metro_code: pulumi.Input[str], - name: pulumi.Input[str], - notifications: pulumi.Input[Sequence[pulumi.Input[str]]], + account_number: Optional[pulumi.Input[str]] = None, + metro_code: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, acl_template_id: Optional[pulumi.Input[str]] = None, additional_bandwidth: Optional[pulumi.Input[int]] = None, asn: Optional[pulumi.Input[int]] = None, @@ -1474,41 +1498,49 @@ def _configure( zone_code: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'metroCode' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'aclTemplateId' in kwargs: + if metro_code is None: + raise TypeError("Missing 'metro_code' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if notifications is None: + raise TypeError("Missing 'notifications' argument") + if acl_template_id is None and 'aclTemplateId' in kwargs: acl_template_id = kwargs['aclTemplateId'] - if 'additionalBandwidth' in kwargs: + if additional_bandwidth is None and 'additionalBandwidth' in kwargs: additional_bandwidth = kwargs['additionalBandwidth'] - if 'cloudInitFileId' in kwargs: + if cloud_init_file_id is None and 'cloudInitFileId' in kwargs: cloud_init_file_id = kwargs['cloudInitFileId'] - if 'licenseFile' in kwargs: + if license_file is None and 'licenseFile' in kwargs: license_file = kwargs['licenseFile'] - if 'licenseFileId' in kwargs: + if license_file_id is None and 'licenseFileId' in kwargs: license_file_id = kwargs['licenseFileId'] - if 'licenseStatus' in kwargs: + if license_status is None and 'licenseStatus' in kwargs: license_status = kwargs['licenseStatus'] - if 'licenseToken' in kwargs: + if license_token is None and 'licenseToken' in kwargs: license_token = kwargs['licenseToken'] - if 'mgmtAclTemplateUuid' in kwargs: + if mgmt_acl_template_uuid is None and 'mgmtAclTemplateUuid' in kwargs: mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] - if 'redundancyType' in kwargs: + if redundancy_type is None and 'redundancyType' in kwargs: redundancy_type = kwargs['redundancyType'] - if 'redundantId' in kwargs: + if redundant_id is None and 'redundantId' in kwargs: redundant_id = kwargs['redundantId'] - if 'sshIpAddress' in kwargs: + if ssh_ip_address is None and 'sshIpAddress' in kwargs: ssh_ip_address = kwargs['sshIpAddress'] - if 'sshIpFqdn' in kwargs: + if ssh_ip_fqdn is None and 'sshIpFqdn' in kwargs: ssh_ip_fqdn = kwargs['sshIpFqdn'] - if 'sshKey' in kwargs: + if ssh_key is None and 'sshKey' in kwargs: ssh_key = kwargs['sshKey'] - if 'vendorConfiguration' in kwargs: + if vendor_configuration is None and 'vendorConfiguration' in kwargs: vendor_configuration = kwargs['vendorConfiguration'] - if 'wanInterfaceId' in kwargs: + if wan_interface_id is None and 'wanInterfaceId' in kwargs: wan_interface_id = kwargs['wanInterfaceId'] - if 'zoneCode' in kwargs: + if zone_code is None and 'zoneCode' in kwargs: zone_code = kwargs['zoneCode'] _setter("account_number", account_number) @@ -1938,13 +1970,13 @@ def _configure( type: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'assignedType' in kwargs: + if assigned_type is None and 'assignedType' in kwargs: assigned_type = kwargs['assignedType'] - if 'ipAddress' in kwargs: + if ip_address is None and 'ipAddress' in kwargs: ip_address = kwargs['ipAddress'] - if 'macAddress' in kwargs: + if mac_address is None and 'macAddress' in kwargs: mac_address = kwargs['macAddress'] - if 'operationalStatus' in kwargs: + if operational_status is None and 'operationalStatus' in kwargs: operational_status = kwargs['operationalStatus'] if assigned_type is not None: @@ -2077,12 +2109,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - key_name: pulumi.Input[str], - username: pulumi.Input[str], + key_name: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'keyName' in kwargs: + if key_name is None and 'keyName' in kwargs: key_name = kwargs['keyName'] + if key_name is None: + raise TypeError("Missing 'key_name' argument") + if username is None: + raise TypeError("Missing 'username' argument") _setter("key_name", key_name) _setter("username", username) @@ -2125,12 +2161,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - key_name: pulumi.Input[str], - username: pulumi.Input[str], + key_name: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'keyName' in kwargs: + if key_name is None and 'keyName' in kwargs: key_name = kwargs['keyName'] + if key_name is None: + raise TypeError("Missing 'key_name' argument") + if username is None: + raise TypeError("Missing 'username' argument") _setter("key_name", key_name) _setter("username", username) diff --git a/sdk/python/pulumi_equinix/networkedge/acl_template.py b/sdk/python/pulumi_equinix/networkedge/acl_template.py index 68e412c2..ca387f47 100644 --- a/sdk/python/pulumi_equinix/networkedge/acl_template.py +++ b/sdk/python/pulumi_equinix/networkedge/acl_template.py @@ -41,15 +41,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - inbound_rules: pulumi.Input[Sequence[pulumi.Input['AclTemplateInboundRuleArgs']]], + inbound_rules: Optional[pulumi.Input[Sequence[pulumi.Input['AclTemplateInboundRuleArgs']]]] = None, description: Optional[pulumi.Input[str]] = None, metro_code: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'inboundRules' in kwargs: + if inbound_rules is None and 'inboundRules' in kwargs: inbound_rules = kwargs['inboundRules'] - if 'metroCode' in kwargs: + if inbound_rules is None: + raise TypeError("Missing 'inbound_rules' argument") + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] _setter("inbound_rules", inbound_rules) @@ -168,15 +170,15 @@ def _configure( uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deviceAclStatus' in kwargs: + if device_acl_status is None and 'deviceAclStatus' in kwargs: device_acl_status = kwargs['deviceAclStatus'] - if 'deviceDetails' in kwargs: + if device_details is None and 'deviceDetails' in kwargs: device_details = kwargs['deviceDetails'] - if 'deviceId' in kwargs: + if device_id is None and 'deviceId' in kwargs: device_id = kwargs['deviceId'] - if 'inboundRules' in kwargs: + if inbound_rules is None and 'inboundRules' in kwargs: inbound_rules = kwargs['inboundRules'] - if 'metroCode' in kwargs: + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] if description is not None: diff --git a/sdk/python/pulumi_equinix/networkedge/bgp.py b/sdk/python/pulumi_equinix/networkedge/bgp.py index 7448f03f..1757e78f 100644 --- a/sdk/python/pulumi_equinix/networkedge/bgp.py +++ b/sdk/python/pulumi_equinix/networkedge/bgp.py @@ -42,25 +42,35 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - connection_id: pulumi.Input[str], - local_asn: pulumi.Input[int], - local_ip_address: pulumi.Input[str], - remote_asn: pulumi.Input[int], - remote_ip_address: pulumi.Input[str], + connection_id: Optional[pulumi.Input[str]] = None, + local_asn: Optional[pulumi.Input[int]] = None, + local_ip_address: Optional[pulumi.Input[str]] = None, + remote_asn: Optional[pulumi.Input[int]] = None, + remote_ip_address: Optional[pulumi.Input[str]] = None, authentication_key: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'connectionId' in kwargs: + if connection_id is None and 'connectionId' in kwargs: connection_id = kwargs['connectionId'] - if 'localAsn' in kwargs: + if connection_id is None: + raise TypeError("Missing 'connection_id' argument") + if local_asn is None and 'localAsn' in kwargs: local_asn = kwargs['localAsn'] - if 'localIpAddress' in kwargs: + if local_asn is None: + raise TypeError("Missing 'local_asn' argument") + if local_ip_address is None and 'localIpAddress' in kwargs: local_ip_address = kwargs['localIpAddress'] - if 'remoteAsn' in kwargs: + if local_ip_address is None: + raise TypeError("Missing 'local_ip_address' argument") + if remote_asn is None and 'remoteAsn' in kwargs: remote_asn = kwargs['remoteAsn'] - if 'remoteIpAddress' in kwargs: + if remote_asn is None: + raise TypeError("Missing 'remote_asn' argument") + if remote_ip_address is None and 'remoteIpAddress' in kwargs: remote_ip_address = kwargs['remoteIpAddress'] - if 'authenticationKey' in kwargs: + if remote_ip_address is None: + raise TypeError("Missing 'remote_ip_address' argument") + if authentication_key is None and 'authenticationKey' in kwargs: authentication_key = kwargs['authenticationKey'] _setter("connection_id", connection_id) @@ -203,21 +213,21 @@ def _configure( uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'authenticationKey' in kwargs: + if authentication_key is None and 'authenticationKey' in kwargs: authentication_key = kwargs['authenticationKey'] - if 'connectionId' in kwargs: + if connection_id is None and 'connectionId' in kwargs: connection_id = kwargs['connectionId'] - if 'deviceId' in kwargs: + if device_id is None and 'deviceId' in kwargs: device_id = kwargs['deviceId'] - if 'localAsn' in kwargs: + if local_asn is None and 'localAsn' in kwargs: local_asn = kwargs['localAsn'] - if 'localIpAddress' in kwargs: + if local_ip_address is None and 'localIpAddress' in kwargs: local_ip_address = kwargs['localIpAddress'] - if 'provisioningStatus' in kwargs: + if provisioning_status is None and 'provisioningStatus' in kwargs: provisioning_status = kwargs['provisioningStatus'] - if 'remoteAsn' in kwargs: + if remote_asn is None and 'remoteAsn' in kwargs: remote_asn = kwargs['remoteAsn'] - if 'remoteIpAddress' in kwargs: + if remote_ip_address is None and 'remoteIpAddress' in kwargs: remote_ip_address = kwargs['remoteIpAddress'] if authentication_key is not None: diff --git a/sdk/python/pulumi_equinix/networkedge/device.py b/sdk/python/pulumi_equinix/networkedge/device.py index c59d5366..bd286a71 100644 --- a/sdk/python/pulumi_equinix/networkedge/device.py +++ b/sdk/python/pulumi_equinix/networkedge/device.py @@ -130,14 +130,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_number: pulumi.Input[str], - core_count: pulumi.Input[int], - metro_code: pulumi.Input[str], - notifications: pulumi.Input[Sequence[pulumi.Input[str]]], - package_code: pulumi.Input[str], - term_length: pulumi.Input[int], - type_code: pulumi.Input[str], - version: pulumi.Input[str], + account_number: Optional[pulumi.Input[str]] = None, + core_count: Optional[pulumi.Input[int]] = None, + metro_code: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + package_code: Optional[pulumi.Input[str]] = None, + term_length: Optional[pulumi.Input[int]] = None, + type_code: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, acl_template_id: Optional[pulumi.Input[str]] = None, additional_bandwidth: Optional[pulumi.Input[int]] = None, byol: Optional[pulumi.Input[bool]] = None, @@ -162,51 +162,67 @@ def _configure( wan_interface_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'coreCount' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if core_count is None and 'coreCount' in kwargs: core_count = kwargs['coreCount'] - if 'metroCode' in kwargs: + if core_count is None: + raise TypeError("Missing 'core_count' argument") + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'packageCode' in kwargs: + if metro_code is None: + raise TypeError("Missing 'metro_code' argument") + if notifications is None: + raise TypeError("Missing 'notifications' argument") + if package_code is None and 'packageCode' in kwargs: package_code = kwargs['packageCode'] - if 'termLength' in kwargs: + if package_code is None: + raise TypeError("Missing 'package_code' argument") + if term_length is None and 'termLength' in kwargs: term_length = kwargs['termLength'] - if 'typeCode' in kwargs: + if term_length is None: + raise TypeError("Missing 'term_length' argument") + if type_code is None and 'typeCode' in kwargs: type_code = kwargs['typeCode'] - if 'aclTemplateId' in kwargs: + if type_code is None: + raise TypeError("Missing 'type_code' argument") + if version is None: + raise TypeError("Missing 'version' argument") + if acl_template_id is None and 'aclTemplateId' in kwargs: acl_template_id = kwargs['aclTemplateId'] - if 'additionalBandwidth' in kwargs: + if additional_bandwidth is None and 'additionalBandwidth' in kwargs: additional_bandwidth = kwargs['additionalBandwidth'] - if 'cloudInitFileId' in kwargs: + if cloud_init_file_id is None and 'cloudInitFileId' in kwargs: cloud_init_file_id = kwargs['cloudInitFileId'] - if 'clusterDetails' in kwargs: + if cluster_details is None and 'clusterDetails' in kwargs: cluster_details = kwargs['clusterDetails'] - if 'interfaceCount' in kwargs: + if interface_count is None and 'interfaceCount' in kwargs: interface_count = kwargs['interfaceCount'] - if 'licenseFile' in kwargs: + if license_file is None and 'licenseFile' in kwargs: license_file = kwargs['licenseFile'] - if 'licenseFileId' in kwargs: + if license_file_id is None and 'licenseFileId' in kwargs: license_file_id = kwargs['licenseFileId'] - if 'licenseToken' in kwargs: + if license_token is None and 'licenseToken' in kwargs: license_token = kwargs['licenseToken'] - if 'mgmtAclTemplateUuid' in kwargs: + if mgmt_acl_template_uuid is None and 'mgmtAclTemplateUuid' in kwargs: mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] - if 'orderReference' in kwargs: + if order_reference is None and 'orderReference' in kwargs: order_reference = kwargs['orderReference'] - if 'purchaseOrderNumber' in kwargs: + if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: purchase_order_number = kwargs['purchaseOrderNumber'] - if 'secondaryDevice' in kwargs: + if secondary_device is None and 'secondaryDevice' in kwargs: secondary_device = kwargs['secondaryDevice'] - if 'selfManaged' in kwargs: + if self_managed is None and 'selfManaged' in kwargs: self_managed = kwargs['selfManaged'] - if 'sshKey' in kwargs: + if ssh_key is None and 'sshKey' in kwargs: ssh_key = kwargs['sshKey'] - if 'throughputUnit' in kwargs: + if throughput_unit is None and 'throughputUnit' in kwargs: throughput_unit = kwargs['throughputUnit'] - if 'vendorConfiguration' in kwargs: + if vendor_configuration is None and 'vendorConfiguration' in kwargs: vendor_configuration = kwargs['vendorConfiguration'] - if 'wanInterfaceId' in kwargs: + if wan_interface_id is None and 'wanInterfaceId' in kwargs: wan_interface_id = kwargs['wanInterfaceId'] _setter("account_number", account_number) @@ -836,63 +852,63 @@ def _configure( zone_code: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'aclTemplateId' in kwargs: + if acl_template_id is None and 'aclTemplateId' in kwargs: acl_template_id = kwargs['aclTemplateId'] - if 'additionalBandwidth' in kwargs: + if additional_bandwidth is None and 'additionalBandwidth' in kwargs: additional_bandwidth = kwargs['additionalBandwidth'] - if 'cloudInitFileId' in kwargs: + if cloud_init_file_id is None and 'cloudInitFileId' in kwargs: cloud_init_file_id = kwargs['cloudInitFileId'] - if 'clusterDetails' in kwargs: + if cluster_details is None and 'clusterDetails' in kwargs: cluster_details = kwargs['clusterDetails'] - if 'coreCount' in kwargs: + if core_count is None and 'coreCount' in kwargs: core_count = kwargs['coreCount'] - if 'interfaceCount' in kwargs: + if interface_count is None and 'interfaceCount' in kwargs: interface_count = kwargs['interfaceCount'] - if 'licenseFile' in kwargs: + if license_file is None and 'licenseFile' in kwargs: license_file = kwargs['licenseFile'] - if 'licenseFileId' in kwargs: + if license_file_id is None and 'licenseFileId' in kwargs: license_file_id = kwargs['licenseFileId'] - if 'licenseStatus' in kwargs: + if license_status is None and 'licenseStatus' in kwargs: license_status = kwargs['licenseStatus'] - if 'licenseToken' in kwargs: + if license_token is None and 'licenseToken' in kwargs: license_token = kwargs['licenseToken'] - if 'metroCode' in kwargs: + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'mgmtAclTemplateUuid' in kwargs: + if mgmt_acl_template_uuid is None and 'mgmtAclTemplateUuid' in kwargs: mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] - if 'orderReference' in kwargs: + if order_reference is None and 'orderReference' in kwargs: order_reference = kwargs['orderReference'] - if 'packageCode' in kwargs: + if package_code is None and 'packageCode' in kwargs: package_code = kwargs['packageCode'] - if 'purchaseOrderNumber' in kwargs: + if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: purchase_order_number = kwargs['purchaseOrderNumber'] - if 'redundancyType' in kwargs: + if redundancy_type is None and 'redundancyType' in kwargs: redundancy_type = kwargs['redundancyType'] - if 'redundantId' in kwargs: + if redundant_id is None and 'redundantId' in kwargs: redundant_id = kwargs['redundantId'] - if 'secondaryDevice' in kwargs: + if secondary_device is None and 'secondaryDevice' in kwargs: secondary_device = kwargs['secondaryDevice'] - if 'selfManaged' in kwargs: + if self_managed is None and 'selfManaged' in kwargs: self_managed = kwargs['selfManaged'] - if 'sshIpAddress' in kwargs: + if ssh_ip_address is None and 'sshIpAddress' in kwargs: ssh_ip_address = kwargs['sshIpAddress'] - if 'sshIpFqdn' in kwargs: + if ssh_ip_fqdn is None and 'sshIpFqdn' in kwargs: ssh_ip_fqdn = kwargs['sshIpFqdn'] - if 'sshKey' in kwargs: + if ssh_key is None and 'sshKey' in kwargs: ssh_key = kwargs['sshKey'] - if 'termLength' in kwargs: + if term_length is None and 'termLength' in kwargs: term_length = kwargs['termLength'] - if 'throughputUnit' in kwargs: + if throughput_unit is None and 'throughputUnit' in kwargs: throughput_unit = kwargs['throughputUnit'] - if 'typeCode' in kwargs: + if type_code is None and 'typeCode' in kwargs: type_code = kwargs['typeCode'] - if 'vendorConfiguration' in kwargs: + if vendor_configuration is None and 'vendorConfiguration' in kwargs: vendor_configuration = kwargs['vendorConfiguration'] - if 'wanInterfaceId' in kwargs: + if wan_interface_id is None and 'wanInterfaceId' in kwargs: wan_interface_id = kwargs['wanInterfaceId'] - if 'zoneCode' in kwargs: + if zone_code is None and 'zoneCode' in kwargs: zone_code = kwargs['zoneCode'] if account_number is not None: diff --git a/sdk/python/pulumi_equinix/networkedge/device_link.py b/sdk/python/pulumi_equinix/networkedge/device_link.py index 29db3053..c511f805 100644 --- a/sdk/python/pulumi_equinix/networkedge/device_link.py +++ b/sdk/python/pulumi_equinix/networkedge/device_link.py @@ -40,12 +40,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - devices: pulumi.Input[Sequence[pulumi.Input['DeviceLinkDeviceArgs']]], + devices: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceLinkDeviceArgs']]]] = None, links: Optional[pulumi.Input[Sequence[pulumi.Input['DeviceLinkLinkArgs']]]] = None, name: Optional[pulumi.Input[str]] = None, subnet: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): + if devices is None: + raise TypeError("Missing 'devices' argument") _setter("devices", devices) if links is not None: diff --git a/sdk/python/pulumi_equinix/networkedge/network_file.py b/sdk/python/pulumi_equinix/networkedge/network_file.py index 514838d4..9788fce9 100644 --- a/sdk/python/pulumi_equinix/networkedge/network_file.py +++ b/sdk/python/pulumi_equinix/networkedge/network_file.py @@ -48,25 +48,39 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - byol: pulumi.Input[bool], - content: pulumi.Input[str], - device_type_code: pulumi.Input[str], - file_name: pulumi.Input[str], - metro_code: pulumi.Input[Union[str, '_root_enums.Metro']], - process_type: pulumi.Input[Union[str, 'FileType']], - self_managed: pulumi.Input[bool], + byol: Optional[pulumi.Input[bool]] = None, + content: Optional[pulumi.Input[str]] = None, + device_type_code: Optional[pulumi.Input[str]] = None, + file_name: Optional[pulumi.Input[str]] = None, + metro_code: Optional[pulumi.Input[Union[str, '_root_enums.Metro']]] = None, + process_type: Optional[pulumi.Input[Union[str, 'FileType']]] = None, + self_managed: Optional[pulumi.Input[bool]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deviceTypeCode' in kwargs: + if byol is None: + raise TypeError("Missing 'byol' argument") + if content is None: + raise TypeError("Missing 'content' argument") + if device_type_code is None and 'deviceTypeCode' in kwargs: device_type_code = kwargs['deviceTypeCode'] - if 'fileName' in kwargs: + if device_type_code is None: + raise TypeError("Missing 'device_type_code' argument") + if file_name is None and 'fileName' in kwargs: file_name = kwargs['fileName'] - if 'metroCode' in kwargs: + if file_name is None: + raise TypeError("Missing 'file_name' argument") + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'processType' in kwargs: + if metro_code is None: + raise TypeError("Missing 'metro_code' argument") + if process_type is None and 'processType' in kwargs: process_type = kwargs['processType'] - if 'selfManaged' in kwargs: + if process_type is None: + raise TypeError("Missing 'process_type' argument") + if self_managed is None and 'selfManaged' in kwargs: self_managed = kwargs['selfManaged'] + if self_managed is None: + raise TypeError("Missing 'self_managed' argument") _setter("byol", byol) _setter("content", content) @@ -215,15 +229,15 @@ def _configure( uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deviceTypeCode' in kwargs: + if device_type_code is None and 'deviceTypeCode' in kwargs: device_type_code = kwargs['deviceTypeCode'] - if 'fileName' in kwargs: + if file_name is None and 'fileName' in kwargs: file_name = kwargs['fileName'] - if 'metroCode' in kwargs: + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'processType' in kwargs: + if process_type is None and 'processType' in kwargs: process_type = kwargs['processType'] - if 'selfManaged' in kwargs: + if self_managed is None and 'selfManaged' in kwargs: self_managed = kwargs['selfManaged'] if byol is not None: diff --git a/sdk/python/pulumi_equinix/networkedge/outputs.py b/sdk/python/pulumi_equinix/networkedge/outputs.py index 500cf9b7..4426f9fe 100644 --- a/sdk/python/pulumi_equinix/networkedge/outputs.py +++ b/sdk/python/pulumi_equinix/networkedge/outputs.py @@ -81,7 +81,7 @@ def _configure( uuid: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'aclStatus' in kwargs: + if acl_status is None and 'aclStatus' in kwargs: acl_status = kwargs['aclStatus'] if acl_status is not None: @@ -175,9 +175,9 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - dst_port: str, - protocol: str, - src_port: str, + dst_port: Optional[str] = None, + protocol: Optional[str] = None, + src_port: Optional[str] = None, description: Optional[str] = None, sequence_number: Optional[int] = None, source_type: Optional[str] = None, @@ -185,13 +185,19 @@ def _configure( subnets: Optional[Sequence[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'dstPort' in kwargs: + if dst_port is None and 'dstPort' in kwargs: dst_port = kwargs['dstPort'] - if 'srcPort' in kwargs: + if dst_port is None: + raise TypeError("Missing 'dst_port' argument") + if protocol is None: + raise TypeError("Missing 'protocol' argument") + if src_port is None and 'srcPort' in kwargs: src_port = kwargs['srcPort'] - if 'sequenceNumber' in kwargs: + if src_port is None: + raise TypeError("Missing 'src_port' argument") + if sequence_number is None and 'sequenceNumber' in kwargs: sequence_number = kwargs['sequenceNumber'] - if 'sourceType' in kwargs: + if source_type is None and 'sourceType' in kwargs: source_type = kwargs['sourceType'] _setter("dst_port", dst_port) @@ -324,18 +330,24 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cluster_name: str, - node0: 'outputs.DeviceClusterDetailsNode0', - node1: 'outputs.DeviceClusterDetailsNode1', + cluster_name: Optional[str] = None, + node0: Optional['outputs.DeviceClusterDetailsNode0'] = None, + node1: Optional['outputs.DeviceClusterDetailsNode1'] = None, cluster_id: Optional[str] = None, num_of_nodes: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'clusterName' in kwargs: + if cluster_name is None and 'clusterName' in kwargs: cluster_name = kwargs['clusterName'] - if 'clusterId' in kwargs: + if cluster_name is None: + raise TypeError("Missing 'cluster_name' argument") + if node0 is None: + raise TypeError("Missing 'node0' argument") + if node1 is None: + raise TypeError("Missing 'node1' argument") + if cluster_id is None and 'clusterId' in kwargs: cluster_id = kwargs['clusterId'] - if 'numOfNodes' in kwargs: + if num_of_nodes is None and 'numOfNodes' in kwargs: num_of_nodes = kwargs['numOfNodes'] _setter("cluster_name", cluster_name) @@ -447,11 +459,11 @@ def _configure( vendor_configuration: Optional['outputs.DeviceClusterDetailsNode0VendorConfiguration'] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'licenseFileId' in kwargs: + if license_file_id is None and 'licenseFileId' in kwargs: license_file_id = kwargs['licenseFileId'] - if 'licenseToken' in kwargs: + if license_token is None and 'licenseToken' in kwargs: license_token = kwargs['licenseToken'] - if 'vendorConfiguration' in kwargs: + if vendor_configuration is None and 'vendorConfiguration' in kwargs: vendor_configuration = kwargs['vendorConfiguration'] if license_file_id is not None: @@ -572,13 +584,13 @@ def _configure( root_password: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'activationKey' in kwargs: + if activation_key is None and 'activationKey' in kwargs: activation_key = kwargs['activationKey'] - if 'adminPassword' in kwargs: + if admin_password is None and 'adminPassword' in kwargs: admin_password = kwargs['adminPassword'] - if 'controllerFqdn' in kwargs: + if controller_fqdn is None and 'controllerFqdn' in kwargs: controller_fqdn = kwargs['controllerFqdn'] - if 'rootPassword' in kwargs: + if root_password is None and 'rootPassword' in kwargs: root_password = kwargs['rootPassword'] if activation_key is not None: @@ -703,11 +715,11 @@ def _configure( vendor_configuration: Optional['outputs.DeviceClusterDetailsNode1VendorConfiguration'] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'licenseFileId' in kwargs: + if license_file_id is None and 'licenseFileId' in kwargs: license_file_id = kwargs['licenseFileId'] - if 'licenseToken' in kwargs: + if license_token is None and 'licenseToken' in kwargs: license_token = kwargs['licenseToken'] - if 'vendorConfiguration' in kwargs: + if vendor_configuration is None and 'vendorConfiguration' in kwargs: vendor_configuration = kwargs['vendorConfiguration'] if license_file_id is not None: @@ -828,13 +840,13 @@ def _configure( root_password: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'activationKey' in kwargs: + if activation_key is None and 'activationKey' in kwargs: activation_key = kwargs['activationKey'] - if 'adminPassword' in kwargs: + if admin_password is None and 'adminPassword' in kwargs: admin_password = kwargs['adminPassword'] - if 'controllerFqdn' in kwargs: + if controller_fqdn is None and 'controllerFqdn' in kwargs: controller_fqdn = kwargs['controllerFqdn'] - if 'rootPassword' in kwargs: + if root_password is None and 'rootPassword' in kwargs: root_password = kwargs['rootPassword'] if activation_key is not None: @@ -969,13 +981,13 @@ def _configure( type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'assignedType' in kwargs: + if assigned_type is None and 'assignedType' in kwargs: assigned_type = kwargs['assignedType'] - if 'ipAddress' in kwargs: + if ip_address is None and 'ipAddress' in kwargs: ip_address = kwargs['ipAddress'] - if 'macAddress' in kwargs: + if mac_address is None and 'macAddress' in kwargs: mac_address = kwargs['macAddress'] - if 'operationalStatus' in kwargs: + if operational_status is None and 'operationalStatus' in kwargs: operational_status = kwargs['operationalStatus'] if assigned_type is not None: @@ -1107,16 +1119,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: str, + id: Optional[str] = None, asn: Optional[int] = None, interface_id: Optional[int] = None, ip_address: Optional[str] = None, status: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'interfaceId' in kwargs: + if id is None: + raise TypeError("Missing 'id' argument") + if interface_id is None and 'interfaceId' in kwargs: interface_id = kwargs['interfaceId'] - if 'ipAddress' in kwargs: + if ip_address is None and 'ipAddress' in kwargs: ip_address = kwargs['ipAddress'] _setter("id", id) @@ -1232,26 +1246,36 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_number: str, - dst_metro_code: str, - src_metro_code: str, - throughput: str, - throughput_unit: str, + account_number: Optional[str] = None, + dst_metro_code: Optional[str] = None, + src_metro_code: Optional[str] = None, + throughput: Optional[str] = None, + throughput_unit: Optional[str] = None, dst_zone_code: Optional[str] = None, src_zone_code: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'dstMetroCode' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if dst_metro_code is None and 'dstMetroCode' in kwargs: dst_metro_code = kwargs['dstMetroCode'] - if 'srcMetroCode' in kwargs: + if dst_metro_code is None: + raise TypeError("Missing 'dst_metro_code' argument") + if src_metro_code is None and 'srcMetroCode' in kwargs: src_metro_code = kwargs['srcMetroCode'] - if 'throughputUnit' in kwargs: + if src_metro_code is None: + raise TypeError("Missing 'src_metro_code' argument") + if throughput is None: + raise TypeError("Missing 'throughput' argument") + if throughput_unit is None and 'throughputUnit' in kwargs: throughput_unit = kwargs['throughputUnit'] - if 'dstZoneCode' in kwargs: + if throughput_unit is None: + raise TypeError("Missing 'throughput_unit' argument") + if dst_zone_code is None and 'dstZoneCode' in kwargs: dst_zone_code = kwargs['dstZoneCode'] - if 'srcZoneCode' in kwargs: + if src_zone_code is None and 'srcZoneCode' in kwargs: src_zone_code = kwargs['srcZoneCode'] _setter("account_number", account_number) @@ -1481,10 +1505,10 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_number: str, - metro_code: str, - name: str, - notifications: Sequence[str], + account_number: Optional[str] = None, + metro_code: Optional[str] = None, + name: Optional[str] = None, + notifications: Optional[Sequence[str]] = None, acl_template_id: Optional[str] = None, additional_bandwidth: Optional[int] = None, asn: Optional[int] = None, @@ -1510,41 +1534,49 @@ def _configure( zone_code: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'metroCode' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'aclTemplateId' in kwargs: + if metro_code is None: + raise TypeError("Missing 'metro_code' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if notifications is None: + raise TypeError("Missing 'notifications' argument") + if acl_template_id is None and 'aclTemplateId' in kwargs: acl_template_id = kwargs['aclTemplateId'] - if 'additionalBandwidth' in kwargs: + if additional_bandwidth is None and 'additionalBandwidth' in kwargs: additional_bandwidth = kwargs['additionalBandwidth'] - if 'cloudInitFileId' in kwargs: + if cloud_init_file_id is None and 'cloudInitFileId' in kwargs: cloud_init_file_id = kwargs['cloudInitFileId'] - if 'licenseFile' in kwargs: + if license_file is None and 'licenseFile' in kwargs: license_file = kwargs['licenseFile'] - if 'licenseFileId' in kwargs: + if license_file_id is None and 'licenseFileId' in kwargs: license_file_id = kwargs['licenseFileId'] - if 'licenseStatus' in kwargs: + if license_status is None and 'licenseStatus' in kwargs: license_status = kwargs['licenseStatus'] - if 'licenseToken' in kwargs: + if license_token is None and 'licenseToken' in kwargs: license_token = kwargs['licenseToken'] - if 'mgmtAclTemplateUuid' in kwargs: + if mgmt_acl_template_uuid is None and 'mgmtAclTemplateUuid' in kwargs: mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] - if 'redundancyType' in kwargs: + if redundancy_type is None and 'redundancyType' in kwargs: redundancy_type = kwargs['redundancyType'] - if 'redundantId' in kwargs: + if redundant_id is None and 'redundantId' in kwargs: redundant_id = kwargs['redundantId'] - if 'sshIpAddress' in kwargs: + if ssh_ip_address is None and 'sshIpAddress' in kwargs: ssh_ip_address = kwargs['sshIpAddress'] - if 'sshIpFqdn' in kwargs: + if ssh_ip_fqdn is None and 'sshIpFqdn' in kwargs: ssh_ip_fqdn = kwargs['sshIpFqdn'] - if 'sshKey' in kwargs: + if ssh_key is None and 'sshKey' in kwargs: ssh_key = kwargs['sshKey'] - if 'vendorConfiguration' in kwargs: + if vendor_configuration is None and 'vendorConfiguration' in kwargs: vendor_configuration = kwargs['vendorConfiguration'] - if 'wanInterfaceId' in kwargs: + if wan_interface_id is None and 'wanInterfaceId' in kwargs: wan_interface_id = kwargs['wanInterfaceId'] - if 'zoneCode' in kwargs: + if zone_code is None and 'zoneCode' in kwargs: zone_code = kwargs['zoneCode'] _setter("account_number", account_number) @@ -1889,13 +1921,13 @@ def _configure( type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'assignedType' in kwargs: + if assigned_type is None and 'assignedType' in kwargs: assigned_type = kwargs['assignedType'] - if 'ipAddress' in kwargs: + if ip_address is None and 'ipAddress' in kwargs: ip_address = kwargs['ipAddress'] - if 'macAddress' in kwargs: + if mac_address is None and 'macAddress' in kwargs: mac_address = kwargs['macAddress'] - if 'operationalStatus' in kwargs: + if operational_status is None and 'operationalStatus' in kwargs: operational_status = kwargs['operationalStatus'] if assigned_type is not None: @@ -2013,12 +2045,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - key_name: str, - username: str, + key_name: Optional[str] = None, + username: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'keyName' in kwargs: + if key_name is None and 'keyName' in kwargs: key_name = kwargs['keyName'] + if key_name is None: + raise TypeError("Missing 'key_name' argument") + if username is None: + raise TypeError("Missing 'username' argument") _setter("key_name", key_name) _setter("username", username) @@ -2070,12 +2106,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - key_name: str, - username: str, + key_name: Optional[str] = None, + username: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'keyName' in kwargs: + if key_name is None and 'keyName' in kwargs: key_name = kwargs['keyName'] + if key_name is None: + raise TypeError("Missing 'key_name' argument") + if username is None: + raise TypeError("Missing 'username' argument") _setter("key_name", key_name) _setter("username", username) @@ -2117,19 +2157,29 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - cluster_id: str, - cluster_name: str, - node0s: Sequence['outputs.GetDeviceClusterDetailNode0Result'], - node1s: Sequence['outputs.GetDeviceClusterDetailNode1Result'], - num_of_nodes: int, + cluster_id: Optional[str] = None, + cluster_name: Optional[str] = None, + node0s: Optional[Sequence['outputs.GetDeviceClusterDetailNode0Result']] = None, + node1s: Optional[Sequence['outputs.GetDeviceClusterDetailNode1Result']] = None, + num_of_nodes: Optional[int] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'clusterId' in kwargs: + if cluster_id is None and 'clusterId' in kwargs: cluster_id = kwargs['clusterId'] - if 'clusterName' in kwargs: + if cluster_id is None: + raise TypeError("Missing 'cluster_id' argument") + if cluster_name is None and 'clusterName' in kwargs: cluster_name = kwargs['clusterName'] - if 'numOfNodes' in kwargs: + if cluster_name is None: + raise TypeError("Missing 'cluster_name' argument") + if node0s is None: + raise TypeError("Missing 'node0s' argument") + if node1s is None: + raise TypeError("Missing 'node1s' argument") + if num_of_nodes is None and 'numOfNodes' in kwargs: num_of_nodes = kwargs['numOfNodes'] + if num_of_nodes is None: + raise TypeError("Missing 'num_of_nodes' argument") _setter("cluster_id", cluster_id) _setter("cluster_name", cluster_name) @@ -2193,19 +2243,29 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - license_file_id: str, - license_token: str, - name: str, - uuid: str, - vendor_configurations: Sequence['outputs.GetDeviceClusterDetailNode0VendorConfigurationResult'], + license_file_id: Optional[str] = None, + license_token: Optional[str] = None, + name: Optional[str] = None, + uuid: Optional[str] = None, + vendor_configurations: Optional[Sequence['outputs.GetDeviceClusterDetailNode0VendorConfigurationResult']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'licenseFileId' in kwargs: + if license_file_id is None and 'licenseFileId' in kwargs: license_file_id = kwargs['licenseFileId'] - if 'licenseToken' in kwargs: + if license_file_id is None: + raise TypeError("Missing 'license_file_id' argument") + if license_token is None and 'licenseToken' in kwargs: license_token = kwargs['licenseToken'] - if 'vendorConfigurations' in kwargs: + if license_token is None: + raise TypeError("Missing 'license_token' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") + if vendor_configurations is None and 'vendorConfigurations' in kwargs: vendor_configurations = kwargs['vendorConfigurations'] + if vendor_configurations is None: + raise TypeError("Missing 'vendor_configurations' argument") _setter("license_file_id", license_file_id) _setter("license_token", license_token) @@ -2269,22 +2329,34 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - activation_key: str, - admin_password: str, - controller1: str, - controller_fqdn: str, - hostname: str, - root_password: str, + activation_key: Optional[str] = None, + admin_password: Optional[str] = None, + controller1: Optional[str] = None, + controller_fqdn: Optional[str] = None, + hostname: Optional[str] = None, + root_password: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'activationKey' in kwargs: + if activation_key is None and 'activationKey' in kwargs: activation_key = kwargs['activationKey'] - if 'adminPassword' in kwargs: + if activation_key is None: + raise TypeError("Missing 'activation_key' argument") + if admin_password is None and 'adminPassword' in kwargs: admin_password = kwargs['adminPassword'] - if 'controllerFqdn' in kwargs: + if admin_password is None: + raise TypeError("Missing 'admin_password' argument") + if controller1 is None: + raise TypeError("Missing 'controller1' argument") + if controller_fqdn is None and 'controllerFqdn' in kwargs: controller_fqdn = kwargs['controllerFqdn'] - if 'rootPassword' in kwargs: + if controller_fqdn is None: + raise TypeError("Missing 'controller_fqdn' argument") + if hostname is None: + raise TypeError("Missing 'hostname' argument") + if root_password is None and 'rootPassword' in kwargs: root_password = kwargs['rootPassword'] + if root_password is None: + raise TypeError("Missing 'root_password' argument") _setter("activation_key", activation_key) _setter("admin_password", admin_password) @@ -2348,19 +2420,29 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - license_file_id: str, - license_token: str, - name: str, - uuid: str, - vendor_configurations: Sequence['outputs.GetDeviceClusterDetailNode1VendorConfigurationResult'], + license_file_id: Optional[str] = None, + license_token: Optional[str] = None, + name: Optional[str] = None, + uuid: Optional[str] = None, + vendor_configurations: Optional[Sequence['outputs.GetDeviceClusterDetailNode1VendorConfigurationResult']] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'licenseFileId' in kwargs: + if license_file_id is None and 'licenseFileId' in kwargs: license_file_id = kwargs['licenseFileId'] - if 'licenseToken' in kwargs: + if license_file_id is None: + raise TypeError("Missing 'license_file_id' argument") + if license_token is None and 'licenseToken' in kwargs: license_token = kwargs['licenseToken'] - if 'vendorConfigurations' in kwargs: + if license_token is None: + raise TypeError("Missing 'license_token' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") + if vendor_configurations is None and 'vendorConfigurations' in kwargs: vendor_configurations = kwargs['vendorConfigurations'] + if vendor_configurations is None: + raise TypeError("Missing 'vendor_configurations' argument") _setter("license_file_id", license_file_id) _setter("license_token", license_token) @@ -2424,22 +2506,34 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - activation_key: str, - admin_password: str, - controller1: str, - controller_fqdn: str, - hostname: str, - root_password: str, + activation_key: Optional[str] = None, + admin_password: Optional[str] = None, + controller1: Optional[str] = None, + controller_fqdn: Optional[str] = None, + hostname: Optional[str] = None, + root_password: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'activationKey' in kwargs: + if activation_key is None and 'activationKey' in kwargs: activation_key = kwargs['activationKey'] - if 'adminPassword' in kwargs: + if activation_key is None: + raise TypeError("Missing 'activation_key' argument") + if admin_password is None and 'adminPassword' in kwargs: admin_password = kwargs['adminPassword'] - if 'controllerFqdn' in kwargs: + if admin_password is None: + raise TypeError("Missing 'admin_password' argument") + if controller1 is None: + raise TypeError("Missing 'controller1' argument") + if controller_fqdn is None and 'controllerFqdn' in kwargs: controller_fqdn = kwargs['controllerFqdn'] - if 'rootPassword' in kwargs: + if controller_fqdn is None: + raise TypeError("Missing 'controller_fqdn' argument") + if hostname is None: + raise TypeError("Missing 'hostname' argument") + if root_password is None and 'rootPassword' in kwargs: root_password = kwargs['rootPassword'] + if root_password is None: + raise TypeError("Missing 'root_password' argument") _setter("activation_key", activation_key) _setter("admin_password", admin_password) @@ -2518,24 +2612,40 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - assigned_type: str, - id: int, - ip_address: str, - mac_address: str, - name: str, - operational_status: str, - status: str, - type: str, + assigned_type: Optional[str] = None, + id: Optional[int] = None, + ip_address: Optional[str] = None, + mac_address: Optional[str] = None, + name: Optional[str] = None, + operational_status: Optional[str] = None, + status: Optional[str] = None, + type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'assignedType' in kwargs: + if assigned_type is None and 'assignedType' in kwargs: assigned_type = kwargs['assignedType'] - if 'ipAddress' in kwargs: + if assigned_type is None: + raise TypeError("Missing 'assigned_type' argument") + if id is None: + raise TypeError("Missing 'id' argument") + if ip_address is None and 'ipAddress' in kwargs: ip_address = kwargs['ipAddress'] - if 'macAddress' in kwargs: + if ip_address is None: + raise TypeError("Missing 'ip_address' argument") + if mac_address is None and 'macAddress' in kwargs: mac_address = kwargs['macAddress'] - if 'operationalStatus' in kwargs: + if mac_address is None: + raise TypeError("Missing 'mac_address' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operational_status is None and 'operationalStatus' in kwargs: operational_status = kwargs['operationalStatus'] + if operational_status is None: + raise TypeError("Missing 'operational_status' argument") + if status is None: + raise TypeError("Missing 'status' argument") + if type is None: + raise TypeError("Missing 'type' argument") _setter("assigned_type", assigned_type) _setter("id", id) @@ -2708,71 +2818,125 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - account_number: str, - acl_template_id: str, - additional_bandwidth: int, - asn: int, - cloud_init_file_id: str, - hostname: str, - ibx: str, - interfaces: Sequence['outputs.GetDeviceSecondaryDeviceInterfaceResult'], - license_file: str, - license_file_id: str, - license_status: str, - license_token: str, - metro_code: str, - mgmt_acl_template_uuid: str, - name: str, - notifications: Sequence[str], - redundancy_type: str, - redundant_id: str, - region: str, - ssh_ip_address: str, - ssh_ip_fqdn: str, - ssh_keys: Sequence['outputs.GetDeviceSecondaryDeviceSshKeyResult'], - status: str, - uuid: str, - vendor_configuration: Mapping[str, str], - wan_interface_id: str, - zone_code: str, + account_number: Optional[str] = None, + acl_template_id: Optional[str] = None, + additional_bandwidth: Optional[int] = None, + asn: Optional[int] = None, + cloud_init_file_id: Optional[str] = None, + hostname: Optional[str] = None, + ibx: Optional[str] = None, + interfaces: Optional[Sequence['outputs.GetDeviceSecondaryDeviceInterfaceResult']] = None, + license_file: Optional[str] = None, + license_file_id: Optional[str] = None, + license_status: Optional[str] = None, + license_token: Optional[str] = None, + metro_code: Optional[str] = None, + mgmt_acl_template_uuid: Optional[str] = None, + name: Optional[str] = None, + notifications: Optional[Sequence[str]] = None, + redundancy_type: Optional[str] = None, + redundant_id: Optional[str] = None, + region: Optional[str] = None, + ssh_ip_address: Optional[str] = None, + ssh_ip_fqdn: Optional[str] = None, + ssh_keys: Optional[Sequence['outputs.GetDeviceSecondaryDeviceSshKeyResult']] = None, + status: Optional[str] = None, + uuid: Optional[str] = None, + vendor_configuration: Optional[Mapping[str, str]] = None, + wan_interface_id: Optional[str] = None, + zone_code: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'accountNumber' in kwargs: + if account_number is None and 'accountNumber' in kwargs: account_number = kwargs['accountNumber'] - if 'aclTemplateId' in kwargs: + if account_number is None: + raise TypeError("Missing 'account_number' argument") + if acl_template_id is None and 'aclTemplateId' in kwargs: acl_template_id = kwargs['aclTemplateId'] - if 'additionalBandwidth' in kwargs: + if acl_template_id is None: + raise TypeError("Missing 'acl_template_id' argument") + if additional_bandwidth is None and 'additionalBandwidth' in kwargs: additional_bandwidth = kwargs['additionalBandwidth'] - if 'cloudInitFileId' in kwargs: + if additional_bandwidth is None: + raise TypeError("Missing 'additional_bandwidth' argument") + if asn is None: + raise TypeError("Missing 'asn' argument") + if cloud_init_file_id is None and 'cloudInitFileId' in kwargs: cloud_init_file_id = kwargs['cloudInitFileId'] - if 'licenseFile' in kwargs: + if cloud_init_file_id is None: + raise TypeError("Missing 'cloud_init_file_id' argument") + if hostname is None: + raise TypeError("Missing 'hostname' argument") + if ibx is None: + raise TypeError("Missing 'ibx' argument") + if interfaces is None: + raise TypeError("Missing 'interfaces' argument") + if license_file is None and 'licenseFile' in kwargs: license_file = kwargs['licenseFile'] - if 'licenseFileId' in kwargs: + if license_file is None: + raise TypeError("Missing 'license_file' argument") + if license_file_id is None and 'licenseFileId' in kwargs: license_file_id = kwargs['licenseFileId'] - if 'licenseStatus' in kwargs: + if license_file_id is None: + raise TypeError("Missing 'license_file_id' argument") + if license_status is None and 'licenseStatus' in kwargs: license_status = kwargs['licenseStatus'] - if 'licenseToken' in kwargs: + if license_status is None: + raise TypeError("Missing 'license_status' argument") + if license_token is None and 'licenseToken' in kwargs: license_token = kwargs['licenseToken'] - if 'metroCode' in kwargs: + if license_token is None: + raise TypeError("Missing 'license_token' argument") + if metro_code is None and 'metroCode' in kwargs: metro_code = kwargs['metroCode'] - if 'mgmtAclTemplateUuid' in kwargs: + if metro_code is None: + raise TypeError("Missing 'metro_code' argument") + if mgmt_acl_template_uuid is None and 'mgmtAclTemplateUuid' in kwargs: mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] - if 'redundancyType' in kwargs: + if mgmt_acl_template_uuid is None: + raise TypeError("Missing 'mgmt_acl_template_uuid' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if notifications is None: + raise TypeError("Missing 'notifications' argument") + if redundancy_type is None and 'redundancyType' in kwargs: redundancy_type = kwargs['redundancyType'] - if 'redundantId' in kwargs: + if redundancy_type is None: + raise TypeError("Missing 'redundancy_type' argument") + if redundant_id is None and 'redundantId' in kwargs: redundant_id = kwargs['redundantId'] - if 'sshIpAddress' in kwargs: + if redundant_id is None: + raise TypeError("Missing 'redundant_id' argument") + if region is None: + raise TypeError("Missing 'region' argument") + if ssh_ip_address is None and 'sshIpAddress' in kwargs: ssh_ip_address = kwargs['sshIpAddress'] - if 'sshIpFqdn' in kwargs: + if ssh_ip_address is None: + raise TypeError("Missing 'ssh_ip_address' argument") + if ssh_ip_fqdn is None and 'sshIpFqdn' in kwargs: ssh_ip_fqdn = kwargs['sshIpFqdn'] - if 'sshKeys' in kwargs: + if ssh_ip_fqdn is None: + raise TypeError("Missing 'ssh_ip_fqdn' argument") + if ssh_keys is None and 'sshKeys' in kwargs: ssh_keys = kwargs['sshKeys'] - if 'vendorConfiguration' in kwargs: + if ssh_keys is None: + raise TypeError("Missing 'ssh_keys' argument") + if status is None: + raise TypeError("Missing 'status' argument") + if uuid is None: + raise TypeError("Missing 'uuid' argument") + if vendor_configuration is None and 'vendorConfiguration' in kwargs: vendor_configuration = kwargs['vendorConfiguration'] - if 'wanInterfaceId' in kwargs: + if vendor_configuration is None: + raise TypeError("Missing 'vendor_configuration' argument") + if wan_interface_id is None and 'wanInterfaceId' in kwargs: wan_interface_id = kwargs['wanInterfaceId'] - if 'zoneCode' in kwargs: + if wan_interface_id is None: + raise TypeError("Missing 'wan_interface_id' argument") + if zone_code is None and 'zoneCode' in kwargs: zone_code = kwargs['zoneCode'] + if zone_code is None: + raise TypeError("Missing 'zone_code' argument") _setter("account_number", account_number) _setter("acl_template_id", acl_template_id) @@ -3047,24 +3211,40 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - assigned_type: str, - id: int, - ip_address: str, - mac_address: str, - name: str, - operational_status: str, - status: str, - type: str, + assigned_type: Optional[str] = None, + id: Optional[int] = None, + ip_address: Optional[str] = None, + mac_address: Optional[str] = None, + name: Optional[str] = None, + operational_status: Optional[str] = None, + status: Optional[str] = None, + type: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'assignedType' in kwargs: + if assigned_type is None and 'assignedType' in kwargs: assigned_type = kwargs['assignedType'] - if 'ipAddress' in kwargs: + if assigned_type is None: + raise TypeError("Missing 'assigned_type' argument") + if id is None: + raise TypeError("Missing 'id' argument") + if ip_address is None and 'ipAddress' in kwargs: ip_address = kwargs['ipAddress'] - if 'macAddress' in kwargs: + if ip_address is None: + raise TypeError("Missing 'ip_address' argument") + if mac_address is None and 'macAddress' in kwargs: mac_address = kwargs['macAddress'] - if 'operationalStatus' in kwargs: + if mac_address is None: + raise TypeError("Missing 'mac_address' argument") + if name is None: + raise TypeError("Missing 'name' argument") + if operational_status is None and 'operationalStatus' in kwargs: operational_status = kwargs['operationalStatus'] + if operational_status is None: + raise TypeError("Missing 'operational_status' argument") + if status is None: + raise TypeError("Missing 'status' argument") + if type is None: + raise TypeError("Missing 'type' argument") _setter("assigned_type", assigned_type) _setter("id", id) @@ -3145,12 +3325,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - key_name: str, - username: str, + key_name: Optional[str] = None, + username: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'keyName' in kwargs: + if key_name is None and 'keyName' in kwargs: key_name = kwargs['keyName'] + if key_name is None: + raise TypeError("Missing 'key_name' argument") + if username is None: + raise TypeError("Missing 'username' argument") _setter("key_name", key_name) _setter("username", username) @@ -3179,12 +3363,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - key_name: str, - username: str, + key_name: Optional[str] = None, + username: Optional[str] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'keyName' in kwargs: + if key_name is None and 'keyName' in kwargs: key_name = kwargs['keyName'] + if key_name is None: + raise TypeError("Missing 'key_name' argument") + if username is None: + raise TypeError("Missing 'username' argument") _setter("key_name", key_name) _setter("username", username) diff --git a/sdk/python/pulumi_equinix/networkedge/ssh_key.py b/sdk/python/pulumi_equinix/networkedge/ssh_key.py index aa1d522a..075612e5 100644 --- a/sdk/python/pulumi_equinix/networkedge/ssh_key.py +++ b/sdk/python/pulumi_equinix/networkedge/ssh_key.py @@ -33,13 +33,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - public_key: pulumi.Input[str], + public_key: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'publicKey' in kwargs: + if public_key is None and 'publicKey' in kwargs: public_key = kwargs['publicKey'] + if public_key is None: + raise TypeError("Missing 'public_key' argument") _setter("public_key", public_key) if name is not None: @@ -116,7 +118,7 @@ def _configure( uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'publicKey' in kwargs: + if public_key is None and 'publicKey' in kwargs: public_key = kwargs['publicKey'] if name is not None: diff --git a/sdk/python/pulumi_equinix/networkedge/ssh_user.py b/sdk/python/pulumi_equinix/networkedge/ssh_user.py index 83730cea..e5b40b84 100644 --- a/sdk/python/pulumi_equinix/networkedge/ssh_user.py +++ b/sdk/python/pulumi_equinix/networkedge/ssh_user.py @@ -32,13 +32,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - device_ids: pulumi.Input[Sequence[pulumi.Input[str]]], - password: pulumi.Input[str], - username: pulumi.Input[str], + device_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + password: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deviceIds' in kwargs: + if device_ids is None and 'deviceIds' in kwargs: device_ids = kwargs['deviceIds'] + if device_ids is None: + raise TypeError("Missing 'device_ids' argument") + if password is None: + raise TypeError("Missing 'password' argument") + if username is None: + raise TypeError("Missing 'username' argument") _setter("device_ids", device_ids) _setter("password", password) @@ -111,7 +117,7 @@ def _configure( uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'deviceIds' in kwargs: + if device_ids is None and 'deviceIds' in kwargs: device_ids = kwargs['deviceIds'] if device_ids is not None: diff --git a/sdk/python/pulumi_equinix/provider.py b/sdk/python/pulumi_equinix/provider.py index 963f2fd3..3701522c 100644 --- a/sdk/python/pulumi_equinix/provider.py +++ b/sdk/python/pulumi_equinix/provider.py @@ -60,19 +60,19 @@ def _configure( token: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.ResourceOptions]=None, **kwargs): - if 'authToken' in kwargs: + if auth_token is None and 'authToken' in kwargs: auth_token = kwargs['authToken'] - if 'clientId' in kwargs: + if client_id is None and 'clientId' in kwargs: client_id = kwargs['clientId'] - if 'clientSecret' in kwargs: + if client_secret is None and 'clientSecret' in kwargs: client_secret = kwargs['clientSecret'] - if 'maxRetries' in kwargs: + if max_retries is None and 'maxRetries' in kwargs: max_retries = kwargs['maxRetries'] - if 'maxRetryWaitSeconds' in kwargs: + if max_retry_wait_seconds is None and 'maxRetryWaitSeconds' in kwargs: max_retry_wait_seconds = kwargs['maxRetryWaitSeconds'] - if 'requestTimeout' in kwargs: + if request_timeout is None and 'requestTimeout' in kwargs: request_timeout = kwargs['requestTimeout'] - if 'responseMaxPageSize' in kwargs: + if response_max_page_size is None and 'responseMaxPageSize' in kwargs: response_max_page_size = kwargs['responseMaxPageSize'] if auth_token is not None: